@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('./fonts/schibsted-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('./fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #faf6ee;
  --paper-2: #ffffff;
  --ink: #2a2622;
  --ink-soft: #4a453d;
  --muted: #6e665a;
  --line: rgba(42, 38, 34, 0.12);
  --gold: #c8901c;
  --gold-deep: #a8780f;
  --gold-soft: #f3e6c8;
  --display: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
  --body: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --wrap: min(1120px, calc(100% - 40px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

/* Keep the hidden attribute authoritative over component display rules (e.g. .button). */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
}

/* Avoid a lone word on the last line of any paragraph. */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--display);
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
  margin-bottom: 28px;
}

h2 {
  font-family: var(--display);
  font-size: clamp(31px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
  margin-bottom: 18px;
}

h3 {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.42;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 620px;
  margin-bottom: 18px;
}

.body-copy {
  color: var(--ink-soft);
  max-width: 680px;
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

/* Nav */

.nav {
  width: var(--wrap);
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--gold-deep);
}

.nav-cta {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--paper-2);
  transition: border-color 0.16s ease;
}

.nav-cta:hover {
  border-color: rgba(200, 144, 28, 0.55);
}

/* Buttons */

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(168, 120, 15, 0.28);
  touch-action: manipulation;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(168, 120, 15, 0.34);
}

.button:active {
  transform: translateY(0);
}

.button.secondary {
  background: var(--paper-2);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: rgba(200, 144, 28, 0.55);
  box-shadow: 0 8px 20px rgba(42, 38, 34, 0.08);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  padding: clamp(16px, 4vh, 72px) 0 clamp(64px, 11vh, 120px);
}

/* The illustration's background (#f9f5ec) is close to --paper but has a faint vignette,
   so the outer edge is feathered to melt into the page. */
.hero-art {
  width: 100%;
  max-width: 540px;
  margin: 0;
  justify-self: end;
}

.hero-art img {
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
  display: block;
  width: 100%;
  height: auto;
}

/* Bands */

.band {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.band > .wrap > .eyebrow {
  margin-bottom: 28px;
}

/* Principle band (the one dark moment on the page) */

.band.dark {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}

.principle h2 {
  max-width: 900px;
  font-size: clamp(34px, 4.8vw, 60px);
  margin-bottom: 18px;
}

.principle p {
  color: rgba(250, 246, 238, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 820px;
  text-wrap: balance;
  margin: 0;
}

/* Two paths */

/* Communities lead (60/40); companies are the second lane. */
.paths {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 18px;
}

.path-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px);
  /* Subgrid lines up tag, headline, text and signature across both cards. */
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-content: start;
}

/* Signature format line (parked 2026-09-29, not on the page; kept so it can return without new CSS). */
.path-card h3 + p:not(:last-child) {
  margin-bottom: 20px;
}

.path-card .signature {
  align-self: start;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.path-card .signature strong {
  color: var(--ink);
}

/* Primary path: warm tint + gold border so the eye lands here first. */
.path-card.is-primary {
  background: linear-gradient(180deg, #fffdf8, #fbf1d9);
  border: 2px solid var(--gold);
}

.path-card .tag {
  justify-self: start;
  align-self: start;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-size: 13px;
  padding: 7px 15px;
  margin-bottom: 20px;
}

.path-card .tag::before {
  display: none;
}

.path-card p {
  margin: 0;
  color: var(--ink-soft);
}

.path-card h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.12;
  margin-bottom: 12px;
  text-wrap: balance;
}

/* Why it works: now three columns inside the dark band. */

.principle .reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.reason {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

.reason h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.principle .reason p {
  color: rgba(250, 246, 238, 0.72);
  font-size: 16px;
  max-width: none;
  text-wrap: pretty;
}

/* What I create: a soft gold band so it reads as its own "menu". */

.band.tint {
  background: var(--gold-soft);
  border-top: 0;
}

.blocks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.block {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.block h3 {
  font-size: 28px;
}

.block p {
  color: var(--ink-soft);
  margin: 0;
}

.start-small {
  margin: 44px 0 0;
}

.start-small span {
  display: inline-block;
  background: var(--paper-2);
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 600;
  color: var(--ink);
}

/* Numbers: a calm, centered strip. */

.band.stats-band {
  padding: 72px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 84px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.stat span {
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
}

/* Selected work: a real heading and three cards. */

#work h2 {
  margin-bottom: 32px;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.work h3 {
  margin-bottom: 2px;
}

.work-meta {
  color: var(--gold-deep);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

.work p:last-child {
  color: var(--ink-soft);
  margin: 0;
}

/* Pull quote: centered, large, no card. */

.pull-quote {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.pull-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.pull-quote blockquote::before {
  content: "\201C";
  display: block;
  font-size: clamp(72px, 9vw, 110px);
  line-height: 0.7;
  color: var(--gold);
  margin-bottom: 8px;
}

.pull-quote figcaption {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

/* Quote card (About section). */

.quote {
  margin: 0;
  max-width: 760px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.quote blockquote {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
}

.quote figcaption {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  filter: sepia(0.08);
}

.about-copy p {
  color: var(--ink-soft);
  max-width: 660px;
}

.about-copy .quote {
  margin-top: 30px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(200, 144, 28, 0.4);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Contact */

.contact {
  text-align: center;
  padding: 140px 0 150px;
}

.contact h2,
.contact .lead {
  margin-left: auto;
  margin-right: auto;
}

.contact h2 {
  max-width: 760px;
}

.contact .button-row {
  justify-content: center;
  margin-top: 36px;
}

.contact-meta {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
}

.meta-list span + span::before {
  content: "·";
  margin: 0 10px;
}

.contact-meta a {
  color: var(--gold-deep);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.site-footer a {
  color: var(--gold-deep);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin: 0;
  font-size: 12px;
  color: rgba(110, 102, 90, 0.85);
}

/* Legal pages */

.legal-content {
  max-width: 820px;
  padding: 48px 0 80px;
}

.legal-content h1 {
  font-size: clamp(40px, 6vw, 62px);
}

.legal-content h2 {
  font-size: 23px;
  line-height: 1.2;
  margin-top: 36px;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 16px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.legal-content a {
  color: var(--gold-deep);
  font-weight: 700;
}

.legal-updated {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* Upward reveal ("UPLFT = up"). Gated on html.js so nothing hides without JS. */

html.js .rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

html.js .rise.is-in {
  opacity: 1;
  transform: none;
}

html.js .rise-d1 {
  transition-delay: 0.08s;
}

html.js .rise-d2 {
  transition-delay: 0.16s;
}

/* Sideline Scan page */

.scan-page {
  max-width: 780px;
  padding: 24px 0 80px;
}

.scan-head {
  margin-bottom: 44px;
}

.scan-head h1 {
  font-size: clamp(38px, 5.6vw, 64px);
}

.scan-head .lead {
  margin: 0;
}

.scan-form .q {
  border: 0;
  margin: 0 0 36px;
  padding: 0;
  min-width: 0;
}

.scan-form legend {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 4px 12px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 14px;
  padding: 0;
}

.scan-form legend small {
  grid-column: 2;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.q-num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-grid;
  place-items: center;
  font-family: var(--body);
  font-size: 13px;
  margin-top: 1px;
}

.q-sub {
  margin: 16px 0 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips label {
  position: relative;
  cursor: pointer;
}

.chips input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chips span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.chips label:hover span {
  border-color: rgba(200, 144, 28, 0.6);
}

.chips input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.chips input:focus-visible + span {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.field {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid rgba(42, 38, 34, 0.2);
  border-radius: var(--radius);
  padding: 13px 14px;
  margin-top: 10px;
}

.field:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

textarea.field {
  resize: vertical;
  min-height: 92px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}

.field-row .field {
  margin-top: 0;
}

.is-hidden,
.honeypot {
  display: none !important;
}

.scan-block {
  background: var(--gold-soft);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  margin: 0 0 36px;
}

.scan-block .q:last-child {
  margin-bottom: 0;
}

.scan-block-title {
  margin: 0 0 20px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-error {
  background: #fbe9e4;
  border: 1px solid rgba(168, 60, 30, 0.25);
  color: #7a2e17;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 600;
}

.send-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.send-row .button {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.send-row .button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.form-note a {
  color: var(--gold-deep);
}

.scan-thanks {
  padding: 40px 0 20px;
}

.scan-thanks:focus {
  outline: none;
}

.scan-thanks .lead {
  margin: 0 0 28px;
}

/* Accessibility */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover {
    transform: none;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-art {
    justify-self: center;
    max-width: 460px;
    margin-top: 28px;
  }

  .blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .paths,
  .principle .reasons,
  .work-list {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 680px) {
  :root {
    --wrap: calc(100% - 32px);
  }

  .nav {
    padding: 20px 0;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .nav-links .hide-mobile {
    display: none;
  }

  .band {
    padding: 64px 0;
  }

  .blocks,
  .stats {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 28px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-photo {
    width: 160px;
  }

  .contact {
    padding: 80px 0 90px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .meta-list {
    flex-direction: column;
    align-items: center;
  }

  .meta-list span + span::before {
    content: none;
  }

  .field-row .field + .field {
    margin-top: 10px;
  }

  .send-row .button {
    width: 100%;
  }

  .button-row .button {
    width: 100%;
  }
}
