/* ==========================================================================
   URMS — shared stylesheet
   Layout system: slim sticky header, left-aligned hero with fact strip,
   numbered section heads, tabbed panels, hairline list rows, text cards,
   closing band, column footer.
   Palette: unchanged URMS colours (orange / ink / off-white).
   ========================================================================== */

:root {
  /* Palette — carried over from the existing site */
  --orange:     #FF5102;
  --orange-dk:  #CC4100;
  --orange-lt:  #FF7333;
  --ink:        #111111;
  --ink-soft:   #444444;
  --muted:      #888888;
  --white:      #FFFFFF;
  --off-white:  #F8F8F6;
  --border:     #E5E5E3;
  --border-dk:  #CCCCCA;

  /* Type */
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Layout */
  --max: 1320px;
  --side: clamp(20px, 4.2vw, 60px);
  --header-h: 80px;
  --section: clamp(64px, 8vw, 120px);
  --gap: clamp(24px, 3vw, 48px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute; left: var(--side); top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; font-size: 14px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--side));
  margin: 0 auto;
  padding: 0 var(--side);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 { font-weight: 400; color: inherit; text-wrap: balance; }

h1 {
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h1 em, h2 em, h3 em { font-style: normal; color: var(--orange); }

p { text-wrap: pretty; }

.eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange-dk);
  margin-bottom: clamp(16px, 2vw, 26px);
}
.eyebrow-num { color: var(--ink); opacity: 0.55; }

.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink); }
.body-copy p { color: var(--ink-soft); }
.body-copy p + p { margin-top: 1.1em; }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.arr { display: inline-block; transition: transform 0.3s ease; }

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 52px; padding: 14px 24px;
  font-size: 15px; font-weight: 500; line-height: 1.2;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:hover .arr, .link-arrow:hover .arr { transform: translateX(5px); }

.btn-solid { background: var(--orange); color: var(--ink); }
.btn-solid:hover { background: var(--orange-lt); }

.btn-outline { border-color: var(--border-dk); color: var(--ink); min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-dk); }

.link-arrow {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 0;
  font-size: 15px; font-weight: 500; line-height: 1.2;
  border-bottom: 1px solid currentColor;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.link-arrow:hover { color: var(--orange-dk); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; }
.wordmark {
  font-size: 30px; font-weight: 600; letter-spacing: 0.02em; line-height: 1;
  color: var(--orange);
}
.brand-tag {
  padding-left: 16px; border-left: 1px solid var(--border-dk);
  font-size: 11px; line-height: 1.35; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(20px, 2.2vw, 34px); }
.primary-nav a {
  position: relative; display: block; padding: 28px 0;
  font-size: 14px; font-weight: 500; line-height: 24px;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-arr, .primary-nav .nav-contact { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.menu-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--border-dk);
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.3s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { background: var(--white); }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--gap); align-items: center;
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
  min-height: min(680px, calc(100vh - var(--header-h) - 110px));
}

.hero-lead {
  max-width: 30em; margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--ink-soft);
}

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  margin-top: clamp(28px, 3vw, 44px);
}
.hero-actions .btn-solid { min-width: 250px; }

.hero-media { aspect-ratio: 5 / 4; }

/* Fact strip */
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.fact {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 24px 26px 0;
}
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--border); }
.fact-num { font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.fact-label {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-dk); line-height: 1.4;
}
.fact-sub { display: block; font-size: 14px; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }

/* --------------------------------------------------------------------------
   Media (images with a visible fallback when the file is missing)
   -------------------------------------------------------------------------- */

.media { position: relative; overflow: hidden; background: var(--off-white); }
.media img { width: 100%; height: 100%; object-fit: cover; }

.media.is-missing {
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 81, 2, 0.10) 22px 23px),
    var(--off-white);
}
.media.is-missing img { display: none; }
.media.is-missing::after {
  content: 'Image: ' attr(data-file);
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-soft);
  background: var(--white); padding: 4px 8px; border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: var(--section) 0; border-top: 1px solid var(--border); }
.section-tint { background: var(--off-white); }
.section-dark { background: var(--ink); color: var(--white); border-top-color: var(--ink); }
.section-dark .eyebrow { color: var(--orange); }
.section-dark .eyebrow-num { color: var(--white); opacity: 0.6; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px var(--gap); align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.section-head h2 { max-width: 15em; }
.section-head .section-intro {
  max-width: 26em; font-size: 17px; line-height: 1.6; color: var(--ink-soft);
}
.section-dark .section-intro { color: rgba(255, 255, 255, 0.72); }

/* Image + text */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap) clamp(32px, 5vw, 88px); align-items: center;
}
.split .media { aspect-ratio: 4 / 3; }

/* Hairline list rows */
.rows { border-top: 1px solid var(--border-dk); }
.row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; align-items: center;
  padding: clamp(24px, 2.6vw, 36px) 0;
  border-bottom: 1px solid var(--border-dk);
  transition: background 0.3s ease;
}
.row-num {
  grid-column: span 1;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--orange-dk);
}
.row-title { grid-column: span 5; }
.row-title h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; }
.row-kicker {
  display: block; margin-bottom: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.row-desc { grid-column: span 6; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* Tabbed panels */
.tablist {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  border-top: 1px solid var(--border-dk);
}
.tab {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 22px 16px 22px 0; text-align: left;
  font-size: 16px; font-weight: 500; color: var(--ink-soft);
  transition: color 0.25s ease;
}
.tab::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.tab:hover, .tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::before { transform: scaleX(1); }
.tab-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--orange-dk); }

.panel {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap) clamp(32px, 5vw, 88px); align-items: center;
  padding-top: clamp(24px, 3vw, 40px);
}
.panel[hidden] { display: none; }
.panel + .panel { margin-top: var(--gap); }      /* only seen without JavaScript */
.js .panel + .panel { margin-top: 0; }
.panel .media { aspect-ratio: 4 / 3; }
.panel-copy .eyebrow { margin-bottom: 16px; }
.panel-copy p:not(.eyebrow) { margin-top: 18px; max-width: 32em; color: var(--ink-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  padding: 6px 12px; border: 1px solid var(--border-dk);
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-soft);
}

/* Text cards */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) var(--gap);
}
.card { padding-top: 26px; border-top: 1px solid var(--border-dk); }
.section-dark .card { border-top-color: rgba(255, 255, 255, 0.24); }
.card-num {
  display: block; margin-bottom: 20px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--orange-dk);
}
.section-dark .card-num { color: var(--orange); }
.card h3 { font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; }
.card p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.section-dark .card p { color: rgba(255, 255, 255, 0.78); }

/* Closing band */
.closing { background: var(--off-white); padding: clamp(56px, 6.5vw, 96px) 0; border-top: 1px solid var(--border); }
.closing-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap) clamp(32px, 5vw, 88px); align-items: center;
}
.closing-copy p:not(.eyebrow) { margin-top: 18px; max-width: 28em; color: var(--ink-soft); }
.action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; align-items: center; }
.action-grid .link-arrow { white-space: normal; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--white); padding: clamp(56px, 6vw, 88px) 0 28px; }

.footer-main {
  display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  gap: 48px var(--gap);
}
.footer-brand .brand-logo { height: 44px; filter: brightness(0) invert(1); }
.footer-brand .wordmark { color: var(--white); }
.footer-brand .brand-tag { color: rgba(255, 255, 255, 0.72); border-left-color: rgba(255, 255, 255, 0.28); }
.footer-brand p { margin-top: 24px; max-width: 30em; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }

.footer-col h2 {
  margin-bottom: 18px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1.4; color: var(--orange);
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 15px; color: rgba(255, 255, 255, 0.82); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--orange-lt); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: clamp(40px, 5vw, 72px); padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px; color: rgba(255, 255, 255, 0.62);
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Scroll reveal (only when JavaScript is running)
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0, 0.1, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .arr, .tab::before, .primary-nav a::after { transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .menu-toggle { display: flex; }
  .header-actions { margin-left: auto; }

  .primary-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    margin: 0; padding: 8px var(--side) 28px;
    background: var(--white); border-bottom: 1px solid var(--border);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; font-size: 20px; color: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  .primary-nav a::after { display: none; }
  .primary-nav a[aria-current="page"] { color: var(--orange-dk); }
  .primary-nav .nav-arr { display: inline; color: var(--orange-dk); }
  .primary-nav .nav-contact { display: block; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-media { aspect-ratio: 16 / 10; }

  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--border); }

  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-head .link-arrow { justify-self: start; }

  .split, .panel, .closing-inner { grid-template-columns: minmax(0, 1fr); }

  .row { row-gap: 12px; align-items: start; }
  .row-num { grid-column: span 2; padding-top: 4px; }
  .row-title { grid-column: span 10; }
  .row-desc { grid-column: 3 / -1; }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }

  .brand-tag { display: none; }
  .header-actions .btn-outline { display: none; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-solid { min-width: 0; }
  .hero-actions .link-arrow { align-self: flex-start; }

  .fact { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 12px 20px 0; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(odd) { padding-left: 0; }

  .tab { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 8px 16px 0; font-size: 15px; }

  .row-num { grid-column: 1 / -1; padding-top: 0; }
  .row-title, .row-desc { grid-column: 1 / -1; }

  .cards { grid-template-columns: minmax(0, 1fr); }
  .action-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Components added for Services, Industries and Contact
   ========================================================================== */

/* Deep links to a tab (services.html#finance) stop with the tab bar still in view */
[role="tabpanel"] { scroll-margin-top: calc(var(--header-h) + 96px); }

/* Tab panels with long copy: align to the top, add an action under the text */
.panel-top { align-items: start; }
.panel-copy .link-arrow, .panel-copy .btn { margin-top: 30px; }

/* Linked chips */
a.chip { transition: border-color 0.25s ease, color 0.25s ease; }
a.chip:hover { border-color: var(--orange); color: var(--orange-dk); }

/* Large quote */
.quote blockquote {
  max-width: 24em;
  font-size: clamp(26px, 3.2vw, 44px); line-height: 1.22; letter-spacing: -0.02em;
  text-wrap: balance;
}
.quote-attr {
  margin-top: 28px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange);
}

/* Fact strip on a dark band */
.section-dark .facts { border-top-color: rgba(255, 255, 255, 0.24); border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
.section-dark .fact + .fact { border-left-color: rgba(255, 255, 255, 0.24); }
.section-dark .fact-num { color: var(--orange); }
.section-dark .fact-label { color: rgba(255, 255, 255, 0.92); }
.section-dark .fact-sub { color: rgba(255, 255, 255, 0.72); }

/* Expanding rows */
.accordion { border-top: 1px solid var(--border-dk); }
.acc-item { border-bottom: 1px solid var(--border-dk); }
.acc-item summary {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  padding: clamp(22px, 2.4vw, 32px) 0;
  list-style: none; cursor: pointer;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-num {
  grid-column: 1 / span 1;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--orange-dk);
}
.acc-title { grid-column: 2 / span 5; }
.acc-title h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; transition: color 0.25s ease; }
.acc-desc { grid-column: 7 / span 5; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.acc-icon { grid-column: 12 / span 1; justify-self: end; position: relative; width: 18px; height: 18px; }
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px;
  background: var(--ink); transition: transform 0.3s ease;
}
.acc-icon::after { transform: rotate(90deg); }
.acc-item[open] .acc-icon::after { transform: rotate(0deg); }
.acc-item summary:hover h3, .acc-item[open] summary h3 { color: var(--orange-dk); }

.acc-body {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap) clamp(32px, 5vw, 88px); align-items: start;
  padding: 8px 0 clamp(36px, 4vw, 60px);
}
.acc-body .media { aspect-ratio: 4 / 3; }
.acc-copy p { color: var(--ink-soft); }
.acc-copy p + p { margin-top: 1.1em; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--gap) clamp(32px, 5vw, 88px); align-items: start;
}
.info-list { margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--border-dk); }
.info-item {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--border-dk);
}
.info-label, .help-label {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.6; color: var(--orange-dk);
}
.info-value { font-size: 16px; line-height: 1.6; }
.info-value a { border-bottom: 1px solid var(--border-dk); transition: color 0.25s ease, border-color 0.25s ease; }
.info-value a:hover { color: var(--orange-dk); border-color: var(--orange); }
.help { margin-top: 32px; }
.help .chips { margin-top: 14px; }
.help .chip { padding: 8px 16px; font-size: 13px; color: var(--ink); }

.form-card { background: var(--off-white); padding: clamp(24px, 3.4vw, 48px); }
.form-card h3 { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink);
  background: var(--white); border: 1px solid var(--border-dk); border-radius: 0;
  transition: border-color 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--orange); outline-offset: 1px; }
.field ::placeholder { color: var(--muted); opacity: 1; }
.form-card .btn { width: 100%; cursor: pointer; }
.form-status {
  margin-top: 16px; padding: 14px 16px;
  background: var(--white); border-left: 3px solid var(--orange);
  font-size: 15px; line-height: 1.5;
}
.form-status[hidden] { display: none; }

@media (max-width: 960px) {
  .section-dark .fact:nth-child(n + 3) { border-top-color: rgba(255, 255, 255, 0.24); }

  .acc-item summary { row-gap: 8px; }
  .acc-num { grid-column: 1 / span 2; grid-row: 1; }
  .acc-title { grid-column: 3 / span 8; grid-row: 1; }
  .acc-icon { grid-column: 11 / span 2; grid-row: 1; }
  .acc-desc { grid-column: 3 / -1; grid-row: 2; }
  .acc-body, .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .acc-num { grid-column: 1 / -1; grid-row: 1; }
  .acc-title { grid-column: 1 / span 10; grid-row: 2; }
  .acc-icon { grid-row: 2; }
  .acc-desc { grid-column: 1 / -1; grid-row: 3; }
  .info-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .acc-icon::before, .acc-icon::after { transition: none; }
}

/* ==========================================================================
   Components added for the home page
   ========================================================================== */

/* List rows that are links */
.row-link { transition: background 0.3s ease; }
.row-link .row-desc { grid-column: span 5; }
.row-arr { grid-column: span 1; justify-self: end; font-size: 18px; }
.row-link:hover h3 { color: var(--orange-dk); }
.row-link:hover .row-arr { transform: translateX(5px); color: var(--orange-dk); }
.row-link h3 { transition: color 0.25s ease; }

@media (max-width: 960px) {
  .row-link .row-title { grid-column: span 8; }
  .row-link .row-arr { grid-column: span 2; grid-row: 1; }
  .row-link .row-desc { grid-column: 3 / -1; }

  /* Many tabs: wrap into rows of three instead of squeezing into one line */
  .tablist-wrap { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .tablist-wrap .tab { border-top: 1px solid var(--border-dk); }
  .tablist-wrap .tab::before { top: -1px; }
}

@media (max-width: 600px) {
  .row-link .row-num { grid-column: 1 / span 10; grid-row: 1; }
  .row-link .row-arr { grid-column: 11 / span 2; grid-row: 1; }
  .row-link .row-title, .row-link .row-desc { grid-column: 1 / -1; grid-row: auto; }
}
