/* Elaine Joseph — shared Scandinavian editorial art direction */
:root {
  --paper: #F2F2F0 !important;
  --paper-deep: #EAEAE7 !important;
  --deep: #EAEAE7 !important;
  --stone: #EAEAE7 !important;
  --ink: #151515 !important;
  --ink-deep: #151515 !important;
  --muted: #666665 !important;
  --line: #D7D7D4 !important;
  --soft-line: #E2E2DF !important;
  --black: #181818 !important;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  --mono: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

html { background: #F2F2F0; }
body {
  background: #F2F2F0 !important;
  color: #151515 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

::selection { background: #151515; color: #F2F2F0; }
img { border-radius: 0 !important; box-shadow: none !important; }
.container { width: min(1440px, calc(100% - 80px)) !important; }

/* Publication-style masthead */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242,242,240,.88);
  border-color: rgba(215,215,212,.78) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav { min-height: 72px !important; }
.brand,
.footer-name {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
  text-transform: uppercase;
}
.brand-sub,
.footer-sub {
  margin-top: 3px !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 400;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}
.nav-links,
.nav-cta,
.footer-nav {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 400;
  letter-spacing: .07em !important;
  text-transform: uppercase;
}
.nav-links { gap: 30px !important; }
.nav-links a,
.nav-cta { position: relative; border: 0 !important; padding-bottom: 4px !important; }
.nav-links a::after,
.nav-cta::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover::after,
.nav-links a.active::after,
.nav-cta:hover::after { transform: scaleX(1); transform-origin: left; }

/* Typographic system */
.eyebrow,
.label,
.project-meta,
.project-type,
.project-disciplines,
.service-number,
.number,
.num,
.fact span:first-child,
.direct-label,
.step-no,
.hero-number,
.image-caption,
.scroll-note {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
  color: #666665;
}
h1, h2, h3,
.hero h1,
.page-hero h1,
.case-hero h1,
.intro-hero h1,
.section-title,
.statement {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: -.05em !important;
}
main > section:first-of-type h1,
.hero h1,
.page-hero h1,
.case-hero h1,
.intro-hero h1 {
  font-size: clamp(64px, 8.2vw, 118px) !important;
  line-height: .92 !important;
  letter-spacing: -.06em !important;
}
h1 em, h2 em, h3 em { font-style: normal !important; }
p { font-weight: 400; }

/* Homepage opening: a controlled title composition followed by a media plate. */
body:has(.hero-image-block) .hero {
  min-height: calc(100svh - 72px) !important;
  padding-top: clamp(64px, 6.5vw, 96px) !important;
  padding-bottom: clamp(42px, 4.5vw, 66px) !important;
  align-items: stretch !important;
}
body:has(.hero-image-block) .hero-grid {
  grid-template-columns: minmax(0, 2.35fr) minmax(250px, .65fr) !important;
  grid-template-rows: auto 1fr auto !important;
  column-gap: clamp(60px, 8vw, 130px) !important;
  row-gap: 0 !important;
  align-items: start !important;
}
body:has(.hero-image-block) .hero-grid > :first-child {
  grid-column: 1 / -1;
  align-self: start;
}
body:has(.hero-image-block) .hero h1 {
  font-size: clamp(64px, 7.4vw, 112px) !important;
  line-height: .88 !important;
  letter-spacing: -.065em !important;
  max-width: 1080px !important;
  margin-top: 20px !important;
  margin-bottom: clamp(54px, 6vw, 84px) !important;
}
body:has(.hero-image-block) .hero-copy {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  max-width: 630px;
  padding: 0 !important;
}
body:has(.hero-image-block) .hero-copy p {
  max-width: 620px;
  margin: 14px 0 28px;
  font-size: 16px;
  line-height: 1.4;
  color: #151515;
}
body:has(.hero-image-block) .hero-foot {
  grid-column: 2;
  grid-row: 3;
  display: block;
  align-self: end;
  padding: 0 !important;
}
body:has(.hero-image-block) .hero-status {
  max-width: 310px;
  padding: 0 !important;
  border: 0 !important;
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #151515;
}
body:has(.hero-image-block) .scroll-note {
  margin-top: 28px;
  max-width: 250px;
  font-size: 9px !important;
  line-height: 1.35 !important;
}
.hero-image-block {
  margin-bottom: clamp(90px, 10vw, 145px) !important;
  background: #181818;
  overflow: hidden;
}
.hero-image-block img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Quiet rules, square media, and restrained links */
.site-header,
.rule,
.service-list,
.principle-list,
.process-list,
.facts,
.hero,
.intro-section,
.portfolio { border-color: #D7D7D4 !important; }
.service,
.principle,
.row,
.fact,
.project-row { border-color: #D7D7D4 !important; }
.text-link,
.project-link,
.case-link {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase;
  border: 0 !important;
  padding-bottom: 3px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .3s ease, transform .3s ease !important;
}
.text-link:hover,
.project-link:hover,
.case-link:hover { text-decoration-color: currentColor; }

.button,
button,
input[type="submit"] {
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase;
}
.button { min-width: 0 !important; min-height: 0 !important; padding: 0 0 5px !important; border: 0 !important; border-bottom: 1px solid currentColor !important; }

.project-image,
.project-visual,
.feature-image,
.concept-image,
.visual { overflow: hidden; border-radius: 0 !important; box-shadow: none !important; }
.project-image img,
.project-visual img,
.feature-image img,
.concept-image img,
.visual img { transition: transform .8s cubic-bezier(.22,1,.36,1) !important; }
a:hover .project-image img,
.project-row:hover .project-visual img,
.feature-project:hover .feature-image img,
.concept:hover .concept-image img { transform: scale(1.015); }

/* Dark passages remain print-like and neutral */
.services,
.principles,
.dark,
.next,
.cta,
.closing-cta,
.conversation-cta,
.next-conversation,
.next-conversation-section,
.next-steps,
.legacy { background: #181818 !important; color: #FFFFFF !important; }
.services .eyebrow,
.principles .eyebrow,
.dark .eyebrow,
.next .eyebrow,
.cta .eyebrow,
.next-steps .eyebrow { color: rgba(255,255,255,.72) !important; }
.services .service,
.principles .principle,
.dark .row,
.next-steps .step { border-color: rgba(255,255,255,.25) !important; }

footer {
  background: #F2F2F0 !important;
  color: #151515 !important;
  border-top: 1px solid #D7D7D4;
  padding: 54px 0 22px !important;
}
.footer-top { padding-bottom: 48px !important; }
.footer-sub,
.footer-nav,
.footer-bottom { color: #666665 !important; }
.footer-bottom { border-color: #D7D7D4 !important; }

/* Fields read as editorial forms, not interface chrome */
input, textarea, select {
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: #151515 !important;
  border-color: #D7D7D4 !important;
}

@media (max-width: 900px) {
  .container,
  .hero .container { width: calc(100% - 40px) !important; }
  .nav { min-height: 66px !important; }
  main > section:first-of-type h1,
  .hero h1,
  .page-hero h1,
  .case-hero h1,
  .intro-hero h1 { font-size: clamp(52px, 11vw, 76px) !important; }
  body:has(.hero-image-block) .hero { min-height: auto !important; }
  body:has(.hero-image-block) .hero-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    row-gap: 40px !important;
  }
  body:has(.hero-image-block) .hero h1 { font-size: clamp(50px, 10.2vw, 76px) !important; margin-bottom: 12px !important; }
  body:has(.hero-image-block) .hero-copy,
  body:has(.hero-image-block) .hero-foot { grid-column: 1; grid-row: auto; }
  body:has(.hero-image-block) .hero-status { max-width: 520px; font-size: 18px; line-height: 1.15; }
  body:has(.hero-image-block) .scroll-note { display: block; }
}

@media (max-width: 560px) {
  .container,
  .hero .container { width: calc(100% - 28px) !important; }
  main > section:first-of-type h1,
  .hero h1,
  .page-hero h1,
  .case-hero h1,
  .intro-hero h1 { font-size: clamp(44px, 14vw, 60px) !important; line-height: .96 !important; }
  body:has(.hero-image-block) .hero h1 { font-size: clamp(42px, 12.2vw, 58px) !important; }
  .hero-image-block { margin-bottom: 78px !important; }
  .brand { font-size: 12px !important; }
  .nav-cta { font-size: 9px !important; }
  footer { padding-top: 44px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
