/* Arthera site styles, V2: black background, deep-orange accents. All colour and type values come from tokens.css. */
.sec-orange { background: var(--orange); color: var(--on-orange); }
.sec-orange h2, .sec-orange h3 { color: var(--on-orange); }
.sec-orange .lead, .sec-orange .eyebrow { color: var(--on-orange-soft); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink-soft); font: 400 var(--fs-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; }
h1 { font-size: var(--fs-hero); text-wrap: balance; }
h2 { font-size: var(--fs-xl); text-wrap: balance; }
h3 { font-size: var(--fs-md); font-weight: 600; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 780px; } /* narrow measure, but aligned to the same left edge as everything else */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--on-orange); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.eyebrow { font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ash); margin: 0 0 14px; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.note { font-size: var(--fs-sm); color: var(--ash); }
.small { font-size: var(--fs-sm); }
.mt { margin-top: 28px; }
.ph { color: var(--stone); background: rgba(184, 178, 171, 0.1); border: 1px dashed rgba(184, 178, 171, 0.4);
  border-radius: 4px; padding: 0 5px; font-style: normal; }
.sec-dark .ph, .site-footer .ph { color: var(--stone); background: rgba(184, 178, 171, 0.1); border-color: rgba(184, 178, 171, 0.4); }

/* logo: Two leaves — left leaf, name and descriptor in the text colour; right leaf in signal orange */
.logo { height: 40px; width: auto; }
.logo .lg-fg { fill: var(--ink); }
.logo .lg-dc { fill: var(--ink); }
.logo .lg-ac { fill: var(--highlight); }
.logo-ft .lg-fg, .logo-ft .lg-dc { fill: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius-sm);
  font: 600 0.95rem/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn .ar { width: 16px; height: 16px; transition: transform .15s; }
.btn:hover .ar { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--on-orange); }
.btn-primary:hover { background: var(--ember); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-orange { background: var(--orange); color: var(--on-orange); }
.btn-orange:hover { background: var(--ember); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); }
.nav-cta { min-height: 42px; }
.sec-dark :focus-visible, .site-footer :focus-visible, .sec-orange :focus-visible { outline-color: #fff; }
.sec-orange :focus-visible { outline-color: var(--on-orange); }
.nw { white-space: nowrap; }
p, h3, li { text-wrap: pretty; }
.ph { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
::placeholder { color: var(--ash); opacity: 1; }
.sec-dark ::placeholder, .site-footer ::placeholder { color: var(--stone); }

/* header */
/* translucent, so the hero's Direction 03 glow runs up under it, as on the brand-directions board */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: block; line-height: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-weight: 500; font-size: 0.95rem; }
.nav-links > a, .nav-dd-btn { color: var(--ink); text-decoration: none; padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; }
.nav-links a[aria-current], .nav-dd-btn[aria-current] { box-shadow: inset 0 -2px 0 var(--ink); }
.nav-dd { position: relative; }
.nav-dd-btn svg { width: 12px; height: 12px; }
.nav-dd-menu { position: absolute; top: 100%; left: -16px; min-width: 280px; list-style: none; margin: 8px 0 0; padding: 8px;
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); display: none; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.nav-dd-menu a:hover, .nav-dd-menu a[aria-current] { background: var(--graphite); }
.menu-toggle, .menu-btn, .mobile-menu { display: none; }

/* hero */
/* the hero starts under the 77px header (76 + hairline) and carries the Direction 03 ground */
.hero { margin-top: -77px; padding: calc(77px + clamp(56px, 8vw, 104px)) 0 clamp(56px, 7vw, 96px);
  background: var(--ground-d03); border-bottom: 1px solid var(--hairline); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-sub h1 { font-size: var(--fs-hero-sm); }
.hero + .sec-cards { padding-top: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { background: rgba(18, 18, 18, 0.82); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px; }
.art-cap { margin: 12px 0 0; font-size: var(--fs-sm); color: var(--ash); }
/* growth chart: one plot box — gridlines, baseline, columns, dots and labels share its edges */
.growth { width: 100%; height: auto; overflow: visible; }
.growth .gc-grid { stroke: var(--hairline); stroke-width: 1; stroke-dasharray: 2 5; }
.growth .gc-base { stroke: var(--ash); stroke-width: 1.5; opacity: .7; }
.growth .gc-bar { stroke: var(--stone); stroke-width: 1.2; opacity: .28; }
.growth .gc-fade-top { stop-color: var(--orange); stop-opacity: .26; }
.growth .gc-fade-bot { stop-color: var(--orange); stop-opacity: 0; }
.growth .gc-line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.growth .gc-dot { fill: var(--ink); stroke: #121212; stroke-width: 2; }
.growth .gc-hi { fill: var(--highlight); } /* the one highlight, signal orange: 6.4:1 on a card */
.growth .gc-halo { fill: var(--highlight); opacity: .2; }
.growth .gc-lab { font: 500 12px var(--font); fill: var(--ash); text-anchor: middle; letter-spacing: .04em; }
.growth-sm { max-width: 420px; margin-left: auto; }
.crumbs { padding-top: 22px; font-size: var(--fs-sm); color: var(--ash); }
.crumbs a { color: var(--ash); }

/* sections */
.sec { padding: var(--sec-y) 0; position: relative; }
.sec-white { background: var(--card); }
/* two paper sections in a row read as one band: don't double the gap */
.sec:not(.sec-white):not(.sec-dark):not(.sec-orange) + .sec:not(.sec-white):not(.sec-dark):not(.sec-orange) { padding-top: 0; }
h2 + .lead { margin-top: 18px; }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.statement h2 { margin-bottom: 18px; }
.sec-dark { background: var(--ground-d03); color: var(--stone); overflow: hidden; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .eyebrow { color: var(--stone); }
.sec-dark .lead { color: var(--stone); }
.band-mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 420px; height: 420px;
  fill: #fff; opacity: .04; pointer-events: none; }
.sec-dark .wrap { position: relative; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--ink-soft); transition: border-color .15s, transform .15s; }
.svc-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { flex: 1; }
.svc-card .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); margin-top: 8px; }
.svc-card .more .ar { width: 16px; height: 16px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 12px; }
.ticks li { position: relative; padding-left: 22px; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 6px; border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.ticks-lg { font-size: 1.06rem; columns: 2; column-gap: 40px; }
.ticks-lg li { break-inside: avoid; margin: 0 0 14px; }

/* how we work (on black) */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.how-3 { grid-template-columns: repeat(3, 1fr); }
.how li { border-top: 1px solid var(--hairline-dark); padding-top: 22px; }
.how h3 { margin: 10px 0 8px; }
.how p { color: var(--stone); margin: 0; }
.step { font-size: var(--fs-sm); font-weight: 600; letter-spacing: .08em; color: var(--orange); }
.how li:not(:first-child) .step { color: var(--stone); } /* orange once per section */
.sec-white .how li { border-top-color: var(--hairline); }
.sec-white .how p { color: var(--ink-soft); }
.sec-white .how h3 { color: var(--ink); }

/* why */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); }
.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.why-3 { grid-template-columns: repeat(3, 1fr); }
.why-4 { grid-template-columns: repeat(4, 1fr); }
.why li { border-top: 2px solid var(--ink); padding-top: 18px; }
.why h3 { margin-bottom: 8px; }
.why p { margin: 0; }

/* faq */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); }
.faq-list details { border-top: 1px solid var(--hairline); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--hairline); }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.08rem; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--ash); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 12px 0 0; max-width: 64ch; }

/* forms */
.cb-grid, .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.card-form { display: grid; gap: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--hairline-dark);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.card-form label { display: grid; gap: 6px; font-size: var(--fs-sm); font-weight: 500; color: var(--stone); }
.card-form input, .card-form select, .card-form textarea { font: 400 1rem/1.4 var(--font); padding: 12px 14px;
  border-radius: var(--radius-sm); border: 1px solid rgba(184, 178, 171, 0.6); /* ≥3:1 on black */ background: rgba(0, 0, 0, 0.12); color: #fff; width: 100%; }
.card-form select option { color: #000; }
.card-form-light { background: var(--card); border-color: var(--hairline); }
.card-form-light label { color: var(--ink); }
.card-form-light input, .card-form-light select, .card-form-light textarea { background: var(--page); color: var(--ink); border-color: rgba(184, 178, 171, 0.6); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: var(--fs-sm); min-height: 1.2em; }

/* about / careers / service */
.story, .two { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person .avatar { aspect-ratio: 1; border-radius: var(--radius); background: var(--graphite); display: grid; place-items: center; margin-bottom: 14px; }
.av-mark { width: 30%; fill: #fff; opacity: .5; }
.person p { margin: 0 0 4px; }
.person .role { color: var(--ash); }
.rels { display: flex; flex-wrap: wrap; gap: 10px; }
.rel { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 500; }
.rel .ar { width: 14px; height: 14px; }
.rel:hover { background: var(--card); }
.roles { display: grid; gap: 12px; }
.role-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--card);
  border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px 24px; }
.role-row h3 { margin-bottom: 4px; }
.role-row p { margin: 0; }
.next { padding-left: 0; list-style: none; counter-reset: n; display: grid; gap: 10px; }
.next li { display: flex; gap: 12px; align-items: baseline; }
.next .step { color: var(--ash); } /* the Send button carries the orange */
.next-dark .step { color: var(--stone); }
.next-dark p { color: var(--stone); }
.sec-dark h3.eyebrow { color: var(--stone); font-size: var(--fs-eyebrow); }
.sec-head .note { margin-top: 14px; }
.next p { margin: 0; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 28px 0 0; }
.details dt { font-weight: 600; color: var(--ink); }
.details dd { margin: 0; justify-self: start; }

/* footer */
.site-footer { position: relative; background: var(--ground-d03); color: var(--stone); padding: 72px 0 28px; overflow: hidden;
  border-top: 1px solid var(--hairline-dark); }
.ft-mark { position: absolute; right: -60px; bottom: -80px; width: 380px; height: 380px; fill: #fff; opacity: .035; }
.ft-top { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr 1.3fr; gap: 40px; position: relative; }
.ft-tag { margin: 14px 0 0; }
.ft-h { color: #fff; font-weight: 600; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--stone); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.ft-news p { font-size: var(--fs-sm); }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; font: 400 1rem var(--font); padding: 11px 12px; border-radius: var(--radius-sm);
  border: 1px solid rgba(184, 178, 171, 0.6); background: rgba(0, 0, 0, 0.15); color: #fff; }
.ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--hairline-dark);
  margin-top: 56px; padding-top: 22px; font-size: var(--fs-sm); position: relative; }
.ft-bottom p { margin: 0; }

#ph-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--orange); color: var(--on-orange);
  padding: 12px 18px; border-radius: var(--radius-sm); font-size: var(--fs-sm); opacity: 0; pointer-events: none; transition: .2s; z-index: 40; }
#ph-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* responsive */
@media (max-width: 1040px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: repeat(2, 1fr); }
  .why-4 { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; gap: 6px; margin-left: auto; width: 44px; height: 44px; place-content: center; cursor: pointer; }
  .menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); }
  .mobile-menu { position: absolute; top: 76px; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--hairline);
    padding: 16px var(--gutter) 24px; }
  .menu-toggle { position: absolute; opacity: 0; width: 44px; height: 44px; right: var(--gutter); margin: 0; cursor: pointer; }
  .menu-toggle:checked ~ .mobile-menu { display: block; }
  .mobile-menu ul { list-style: none; margin: 0 0 12px; padding: 0; }
  .mobile-menu a:not(.btn) { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; }
  .mm-label { font-size: var(--fs-eyebrow); letter-spacing: .16em; text-transform: uppercase; color: var(--ash); margin: 8px 0 4px; }
  .hero-grid, .why-grid, .faq, .cb-grid, .contact-grid, .story, .two { grid-template-columns: 1fr; }
  .growth-sm { margin-left: 0; }
  .ticks-lg { columns: 1; }
  .why-3, .how-3 { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .svc-grid, .how, .why, .why-4 { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .logo { height: 34px; }
  .role-row { flex-direction: column; align-items: flex-start; }
  .band-mark { width: 260px; height: 260px; right: -80px; }
}
