/* Hurman — hurmangroup.com
   One 12-column grid. Labels in columns 1–3, everything readable in 4–12.
   Dark by default; the light palette is a token swap, so no rule below cares which is active.
   --ink is always the ground, --paper always the type. */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --soft: #c9cbcf;
  --muted: #7c7f85;
  --rule: #1b1d20;
  --rule-strong: #3a3d42;
  --display: "Bricolage Grotesque", "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 3vw, 48px);
  --col-gap: clamp(16px, 2vw, 32px);
  --header-h: 72px;
  --measure: 56ch;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 120px;
  --mark-invert: 0;
  color-scheme: dark;
}

/* Light palette. Declared twice on purpose: once for the system preference
   (unless the visitor has explicitly chosen dark) and once for an explicit choice.
   A media query can't be part of a selector list, so there is no way to share them. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ink: #ffffff;          /* ground */
    --paper: #0b0c0d;        /* type   */
    --soft: #4c5057;
    --muted: #74787e;
    --rule: #e3e4e6;
    --rule-strong: #bfc2c6;
    --mark-invert: 1;        /* the wordmark and glyph are white-on-transparent */
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ink: #ffffff;
  --paper: #0b0c0d;
  --soft: #4c5057;
  --muted: #74787e;
  --rule: #e3e4e6;
  --rule-strong: #bfc2c6;
  --mark-invert: 1;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
::selection { background: var(--paper); color: var(--ink); }
p { margin: 0; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 100;
  font-family: var(--mono); font-size: .8rem;
}
.skip-link:focus { top: 12px; }

/* grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  padding-left: var(--gutter); padding-right: var(--gutter);
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--gutter);
  background: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.wordmark { display: block; line-height: 0; }
.wordmark img, .hero-mark { filter: invert(var(--mark-invert)); }
.wordmark img { height: 40px; width: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-cta { padding: 4px 0; font-size: 1rem; color: var(--paper); }
.header-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
/* the overlay menu is a small-screen affordance only — the desktop header carries the links itself */
.site-header .menu-button { display: none; }
.menu-button--icon {
  padding: 4px; line-height: 0;
  color: var(--paper);
  transition: color 220ms cubic-bezier(.2,.7,.1,1);
}
.menu-button--icon svg { width: 18px; height: 18px; display: block; }
.menu-button--icon:hover { color: var(--soft); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .menu-button--icon { transition: none; } }
.menu-button {
  appearance: none; background: none; border: 0; padding: 4px 0;
  color: var(--paper); font: inherit; font-size: 1rem; cursor: pointer;
}
.theme-button {
  appearance: none; background: none; border: 0; padding: 4px; margin: 0;
  color: var(--paper); cursor: pointer;
  display: inline-flex; line-height: 0;
  transition: color 220ms cubic-bezier(.2,.7,.1,1);
}
.theme-button svg { width: 18px; height: 18px; display: block; }
.theme-button:hover { color: var(--soft); }
.theme-button .dial { transition: transform 420ms cubic-bezier(.2,.7,.1,1); transform-origin: 10px 10px; }
:root[data-theme="light"] .theme-button .dial { transform: rotate(180deg); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-button .dial { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .theme-button, .theme-button .dial { transition: none; }
}
.menu-button:hover { text-decoration: underline; text-underline-offset: 4px; }

/* menu */
.menu {
  position: fixed; inset: 0; z-index: 30;
  background: var(--ink); color: var(--paper);
  padding: 0 var(--gutter) var(--s4);
  display: grid; grid-template-rows: var(--header-h) 1fr auto;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); }
.menu-list { list-style: none; margin: 0; padding: 0; align-self: center; }
.menu-list a {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 6vw, 5.5rem); line-height: 1.05; letter-spacing: -.03em;
  padding: .12em 0;
  border-top: 1px solid var(--rule);
}
.menu-list li:first-child a { border-top: 0; }
.menu-list a:hover { color: var(--ink); background: var(--paper); }
.menu-foot { display: flex; gap: var(--s4); font-family: var(--mono); font-size: .85rem; color: var(--muted); }
body.menu-open { overflow: hidden; }

/* type */
.statement {
  margin: 0;
  font-family: var(--display); font-weight: 800;
  letter-spacing: -.03em; line-height: 1;
  text-wrap: balance;
}
.statement--hero    {
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 5.5rem); line-height: 1.02; letter-spacing: -.035em;
}
.statement--section { font-size: clamp(1.6rem, 2.6vw, 3rem); line-height: 1.08; font-variation-settings: "opsz" 48; }
.eyebrow {
  margin: 0;
  font-family: var(--mono); font-weight: 400; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); line-height: 1.5;
}
.lede { max-width: var(--measure); font-size: clamp(1.05rem, 1.25vw, 1.3rem); line-height: 1.55; color: var(--soft); }

/* hero */
.hero {
  min-height: min(calc(100svh - var(--header-h)), 860px);
  grid-template-rows: 1fr auto auto auto auto;   /* space · mark · name · statement · audience */
  align-content: end;
  row-gap: var(--s3);
  padding-top: var(--s4); padding-bottom: var(--s4);
}
.hero-mark {
  grid-column: 4 / -1; grid-row: 2;
  height: clamp(56px, 5.5vw, 88px); width: auto;
  display: block; margin-bottom: var(--s1);
}
.hero-eyebrow {
  grid-column: 4 / -1; grid-row: 3;
  font-size: clamp(1rem, 1.35vw, 1.5rem); letter-spacing: .1em; color: var(--soft);
}
.statement--hero { grid-column: 4 / 12; grid-row: 4; }
.hero-audience {
  grid-column: 4 / -1; grid-row: 5; margin-top: var(--s3);
  display: flex; gap: var(--s5);
  font-family: var(--mono); font-size: .95rem; letter-spacing: .02em;
}
.hero-audience a { display: inline-flex; align-items: center; gap: .7em; padding-bottom: 6px; border-bottom: 1px solid var(--rule-strong); }
.hero-audience .ico {
  width: 1.25em; height: 1.25em; flex: none;
  color: var(--soft);
  transition: color 220ms cubic-bezier(.2,.7,.1,1);
}
.hero-audience a:hover .ico { color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .hero-audience .ico { transition: none; } }
.hero-audience a:hover { border-color: var(--paper); }
.hero-audience .arrow { display: inline-block; transition: transform 220ms cubic-bezier(.2,.7,.1,1); }
.hero-audience a:hover .arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .hero-audience .arrow { transition: none; } }

/* sections */
.section {
  padding-top: var(--s6); padding-bottom: var(--s6);
  border-top: 1px solid var(--rule);
}
.section > .eyebrow { grid-column: 1 / 4; position: sticky; top: calc(var(--header-h) + var(--s3)); align-self: start; }
.section-body { grid-column: 4 / -1; display: grid; gap: var(--s5); align-content: start; }

/* contact */
.contact .statement { font-family: var(--mono); font-weight: 400; letter-spacing: 0; font-size: clamp(1.1rem, 1.9vw, 2rem); }
.contact .statement a { border-bottom: 1px solid var(--rule-strong); padding-bottom: 4px; overflow-wrap: anywhere; }
.contact .statement a:hover { border-color: var(--paper); }
.channels { display: grid; gap: var(--s3); }
.channel-row {
  display: flex; flex-wrap: wrap; gap: var(--s5);
  font-family: var(--mono); font-size: .95rem; letter-spacing: .02em;
}
.channel-row a { display: inline-flex; align-items: center; gap: .7em; padding-bottom: 6px; border-bottom: 1px solid var(--rule-strong); }
.channel-row a:hover { border-color: var(--paper); }
.channel-row .ico {
  width: 1.25em; height: 1.25em; flex: none;
  color: var(--soft);
  transition: color 220ms cubic-bezier(.2,.7,.1,1);
}
.channel-row a:hover .ico { color: var(--paper); }
.channel-row .arrow { display: inline-block; transition: transform 220ms cubic-bezier(.2,.7,.1,1); }
.channel-row a:hover .arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .channel-row .ico, .channel-row .arrow { transition: none; }
}

/* enquiry form — hairline fields, mono labels, no boxes */
.interest { display: grid; gap: var(--s4); max-width: 760px; }
.interest-kind { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.interest-kind legend { padding: 0; margin-bottom: var(--s2); }
.interest-kind label { cursor: pointer; }
.interest-kind input { position: absolute; opacity: 0; pointer-events: none; }
.interest-kind span {
  display: inline-block; padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  font-family: var(--mono); font-size: .85rem; letter-spacing: .02em; color: var(--soft);
  transition: color 220ms cubic-bezier(.2,.7,.1,1), background 220ms cubic-bezier(.2,.7,.1,1), border-color 220ms cubic-bezier(.2,.7,.1,1);
}
.interest-kind label:hover span { border-color: var(--paper); color: var(--paper); }
.interest-kind input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.interest-kind input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 4px; }
.interest-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); row-gap: var(--s3); }
.field { display: grid; gap: var(--s1); }
.field--wide { grid-column: 1 / -1; }
.field em { font-style: normal; color: var(--rule-strong); }
.field input, .field textarea {
  width: 100%; margin: 0; padding: 10px 0;
  background: transparent; color: var(--paper);
  border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  font-family: var(--body); font-size: 1.05rem; line-height: 1.5;
  transition: border-color 220ms cubic-bezier(.2,.7,.1,1);
}
.field textarea { resize: vertical; min-height: 7.5em; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--paper); }
.field ::placeholder { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.interest-send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.interest-send button {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .7em;
  padding: 14px 22px; border: 1px solid var(--paper);
  background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: .95rem; letter-spacing: .02em;
  transition: background 220ms cubic-bezier(.2,.7,.1,1), color 220ms cubic-bezier(.2,.7,.1,1);
}
.interest-send button:hover { background: transparent; color: var(--paper); }
.interest-send button:disabled { opacity: .5; cursor: progress; }
.interest-send .arrow { display: inline-block; transition: transform 220ms cubic-bezier(.2,.7,.1,1); }
.interest-send button:hover .arrow { transform: translateX(4px); }
.interest-status { color: var(--soft); }
/* Google allows hiding the floating badge when the form carries this notice instead */
.grecaptcha-badge { visibility: hidden; }
.interest-legal { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.interest-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.interest-legal a:hover { color: var(--paper); }
@media (prefers-reduced-motion: reduce) {
  .interest-kind span, .field input, .field textarea, .interest-send button, .interest-send .arrow { transition: none; }
}
@media (max-width: 900px) {
  .interest-fields { grid-template-columns: 1fr; }
}

/* footer */
.site-footer {
  padding: var(--s3) var(--gutter) var(--s4);
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: var(--s4);
  font-family: var(--mono); font-size: .8rem; color: var(--muted);
}

/* responsive */
@media (max-width: 900px) {
  /* the hero owns the first screen exactly — nothing from Company peeks above the fold.
     svh, not vh, so a mobile browser's collapsing URL bar can't push the next section in. */
  .hero {
    min-height: calc(100svh - var(--header-h));
    row-gap: var(--s3);
    grid-template-rows: 1fr auto auto auto auto;   /* space · mark · name · statement · audience */
    align-content: end;
    padding-top: var(--s5); padding-bottom: var(--s5);
  }
  .hero-mark { grid-column: 1 / -1; grid-row: 2; height: 48px; }
  .hero-eyebrow { grid-column: 1 / -1; grid-row: 3; }
  .statement--hero { grid-column: 1 / -1; grid-row: 4; }
  .hero-audience { grid-column: 1 / -1; grid-row: 5; flex-direction: column; gap: var(--s2); align-items: start; }
  .section { padding-top: var(--s5); padding-bottom: var(--s5); row-gap: var(--s3); }
  .section > .eyebrow { grid-column: 1 / -1; position: static; }
  .section-body { grid-column: 1 / -1; gap: var(--s4); }
  .header-cta { display: none; }
  .site-header .menu-button { display: inline-flex; }
  .channel-row { flex-direction: column; gap: var(--s2); align-items: start; }
}


/* short phones — compress so the whole hero still fits the first screen */
@media (max-width: 900px) and (max-height: 700px) {
  .hero { padding-top: var(--s3); padding-bottom: var(--s3); row-gap: var(--s2); }
  .hero-mark { height: 36px; }
  .hero-eyebrow { font-size: .95rem; }
  .statement--hero { font-size: clamp(1.75rem, 7.2vw, 2.3rem); }
  .hero-audience { gap: var(--s1); }
}

/* motion — one entrance, from a visible resting state */
@media (prefers-reduced-motion: no-preference) {
  .hero-mark, .hero-eyebrow, .statement--hero, .hero-audience { animation: rise .9s cubic-bezier(.16,.84,.24,1) both; }
  .hero-mark { animation-delay: 0ms; }
  .hero-eyebrow  { animation-delay: 140ms; }
  .statement--hero { animation-delay: 260ms; }
  .hero-audience { animation-delay: 420ms; }
  @keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ===========================================================================
   Interior pages — breadcrumbs, prose, steps, facts, questions, footer nav.
   Same tokens, same restraint as the homepage. Nothing new is introduced.
   =========================================================================== */

.crumbs {
  padding-top: var(--s4);
  padding-bottom: 0;
}
.crumbs ol {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "/";
  margin-right: var(--s1);
  color: var(--soft);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--paper); }

/* body prose inside a section */
.section-body p:not(.lede):not(.eyebrow) {
  max-width: var(--measure);
  margin: var(--s3) 0 0;
  font-family: var(--body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--soft);
}
.section-body p a,
.section-body li a,
.section-body dd a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
}
.section-body p a:hover,
.section-body li a:hover,
.section-body dd a:hover { border-bottom-color: var(--paper); }
.section-body strong { color: var(--paper); font-weight: 700; }

/* numbered process */
.steps {
  list-style: none;
  counter-reset: step;
  margin: var(--s4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s4);
}
.steps > li {
  counter-increment: step;
  border-top: 1px solid var(--rule);
  padding-top: var(--s2);
  max-width: var(--measure);
}
.steps > li h3 {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--paper);
}
.steps > li h3::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-bottom: var(--s1);
}

/* unadorned lists */
.plain {
  list-style: none;
  margin: var(--s3) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s2);
  max-width: var(--measure);
}
.plain > li {
  font-family: var(--body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  color: var(--soft);
  border-top: 1px solid var(--rule);
  padding-top: var(--s2);
}

/* company facts */
.facts {
  margin: var(--s4) 0 0;
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 0;
  max-width: 640px;
}
.facts dt,
.facts dd {
  border-top: 1px solid var(--rule);
  padding: var(--s2) 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.facts dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: var(--s2);
}
.facts dd { font-family: var(--body); color: var(--paper); }

/* questions — visible text, mirrored exactly by FAQPage schema */
.qa {
  border-top: 1px solid var(--rule);
  padding-top: var(--s2);
  margin-top: var(--s3);
  max-width: var(--measure);
}
.qa h3 {
  font-family: var(--display);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--paper);
}
.qa p { margin-top: var(--s1) !important; }

/* footer navigation */
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s2);
}
.foot-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.foot-nav a:hover { color: var(--paper); }

@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { border-top: 0; padding-top: var(--s1); }
}

/* domains — named projects with a description beside each */
.domains { margin: 0; border-top: 1px solid var(--rule); }
.domains > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--col-gap);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--rule);
}
.domains dt {
  font-family: var(--display); font-weight: 800;
  font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.3;
}
.domains dt a { border-bottom: 1px solid var(--rule-strong); }
.domains dt a:hover { border-color: var(--paper); }
.domains dd { margin: 0; color: var(--soft); max-width: var(--measure); }
@media (max-width: 900px) {
  .domains > div { grid-template-columns: 1fr; gap: var(--s1); }
}
