:root {
  color-scheme: light;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --ink: var(--nn-ink);
  --paper: var(--nn-paper);
  --rule: var(--nn-line);
  --quiet: var(--nn-muted);
  --display: var(--nn-font-sans);
  --serif: var(--nn-font-editorial);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--display); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .3em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--nn-olive); outline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { letter-spacing: -.072em; line-height: .99; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 8.4vw, 8rem); }
h2 { font-size: clamp(2.35rem, 5.35vw, 5.4rem); }
h3, .card-copy h2, .rows h2 { font-size: clamp(1.35rem, 2.2vw, 2.3rem); line-height: 1.1; letter-spacing: -.045em; }
.shell { width: min(100% - 2 * var(--gutter), 100rem); margin-inline: auto; }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; }
.intro { font-size: clamp(1.05rem, 1.55vw, 1.35rem); max-width: 56ch; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 5; padding: .75rem; background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--rule); }
.masthead, .mast-actions, .masthead nav { display: flex; align-items: center; gap: clamp(.75rem, 1.8vw, 2rem); }
.masthead { justify-content: space-between; min-height: 74px; }
.masthead a { text-decoration: none; }
.masthead nav a { display: grid; align-items: center; min-height: 44px; }
.masthead nav a:hover, .masthead nav [aria-current] { text-decoration: underline; }
.wordmark { font-weight: 900; letter-spacing: -.075em; line-height: 1; font-size: clamp(1.14rem, 2.2vw, 1.65rem); white-space: nowrap; text-decoration: none; }
.masthead nav .mobile-booking { display: none; }
.masthead nav, .mast-actions, .language { font-size: .875rem; }
.language { display: inline-grid; align-items: center; min-width: 44px; min-height: 44px; text-align: center; }
.mast-actions { gap: .5rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 47px; width: fit-content; padding: .7rem 1.1rem; font-size: .95rem; font-weight: 700; border: 1px solid transparent; text-decoration: none; background: var(--ink); color: var(--paper); transition: background-color .2s, color .2s; }
.button:hover { background: var(--nn-olive); }
.button.secondary { border-color: currentColor; background: transparent; color: inherit; }
.button.secondary:hover { background: var(--nn-accent); }
.masthead .button { min-height: 44px; white-space: nowrap; font-size: .875rem; }
.menu-toggle { display: none; border: 1px solid var(--rule); background: transparent; padding: .45rem .75rem; min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; align-items: start; gap: .6rem; }
.hero { background: var(--ink); color: var(--paper); }
.hero-inner { display: grid; align-content: center; min-height: min(88svh, 880px); padding-block: clamp(3.5rem, 9vh, 8rem); }
.hero .eyebrow { color: var(--paper); border-top: 1px solid color-mix(in srgb, var(--paper), transparent 55%); padding-top: 1rem; }
.hero h1 { margin: clamp(2rem, 6vh, 6rem) 0 clamp(2.25rem, 6vh, 5rem); font-size: clamp(3.65rem, 10vw, 10.2rem); line-height: .87; text-wrap: initial; }
.hero em { display: block; font-family: var(--serif); font-weight: 400; letter-spacing: -.048em; margin-left: clamp(0rem, 7vw, 8rem); padding-bottom: .1em; }
.hero-bottom { border-top: 1px solid color-mix(in srgb, var(--paper), transparent 55%); padding-top: 1.35rem; display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.5rem; }
.hero-bottom .intro { max-width: 43ch; color: var(--paper); }
.hero .button, .conversion .button { background: var(--nn-accent); color: var(--ink); }
.hero .button:hover, .conversion .button:hover { background: var(--paper); }
.hero .secondary { background: transparent; color: var(--paper); }
.hero .secondary:hover { background: var(--nn-olive); }
.section { padding-block: clamp(4rem, 8vw, 8rem); }
#selected { scroll-margin-top: 60px; }
.section-heading { margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-heading h2, .split h2 { max-width: 19ch; margin-top: .65rem; }
.section-heading .intro, .split .intro, .page-intro .intro { margin-top: 1.15rem; }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); margin-bottom: 2rem; }
.work-card { grid-column: span 4; min-width: 0; }
.featured .work-card { grid-column: span 6; }
.featured .work-card:nth-child(3n+1) { grid-column: span 7; }
.featured .work-card:nth-child(3n+2) { grid-column: span 5; }
.featured .work-card:nth-child(3n) { grid-column: 1 / -1; }
.featured .work-card:nth-child(3n) .project-image { aspect-ratio: 2.45; }
.work-card a { display: block; text-decoration: none; }
.work-card a:hover :is(h2, h3) { text-decoration: underline; text-underline-offset: .15em; }
.card-copy { padding: .8rem 0 .25rem; }
.card-copy .eyebrow { color: var(--quiet); font-size: .8rem; }
.card-copy :is(h2, h3) { margin: .2rem 0 .35rem; }
.project-image { aspect-ratio: 4 / 3; position: relative; margin: 0; overflow: hidden; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--crop-position, center); }
.placeholder { display: grid; place-items: center; padding: 1.6rem; background: var(--nn-surface); color: var(--ink); border: 1px solid var(--rule); text-align: center; font-size: .875rem; }
.work-card:nth-child(even) .placeholder { background: var(--paper); }
.crop-mark { position: absolute; inset: .6rem; border: 1px solid var(--rule); pointer-events: none; }
.band { background: var(--nn-surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1rem clamp(2rem, 6vw, 8rem); }
.split > .eyebrow { grid-column: 1 / -1; }
.split .intro { margin-bottom: 1rem; }
.rows { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--rule); }
.rows li { display: grid; gap: .65rem 1.3rem; padding-block: 1.4rem; border-bottom: 1px solid var(--rule); }
.section > .rows, .editorial > .rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1rem, 4vw, 4rem); }
.rows p, .chapter p, .prose p { max-width: 70ch; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.conversion { background: var(--nn-olive); color: var(--paper); padding-block: clamp(1.75rem, 3vw, 3rem); }
.conversion > .shell { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:1.25rem; }
.conversion .button { flex-shrink:0; }
.conversion h2 { max-width:none; margin:0; font-size:clamp(2rem, 3.5vw, 3.8rem); }
@media(max-width:760px) { .conversion > .shell { flex-direction:column; align-items:center; gap:1.25rem; } }
.page-intro { padding-block: clamp(3rem, 6.5vw, 7rem) clamp(1.9rem, 4vw, 4rem); }
.page-intro h1 { margin-top: .7rem; max-width: 19ch; }
.listing { padding-top: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; border-block: 1px solid var(--rule); padding-block: .8rem; }
.filters button { min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--rule); background: transparent; font-size: .9rem; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.result-count { margin-block: 1.15rem; font-size: .9rem; color: var(--quiet); }
.story .page-intro > a { margin-bottom: 1.5rem; }
.deck { margin-top: 1rem; font: italic clamp(1.6rem, 3vw, 3.2rem)/1.12 var(--serif); }
.story .hero.project-image { aspect-ratio: 16 / 9; }
.chapter { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem clamp(1rem, 6vw, 6rem); border-top: 1px solid var(--rule); padding-block: clamp(2rem, 5vw, 5rem); }
.story > .project-image + .chapter { margin-top: clamp(2rem, 6vw, 6rem); }
.chapter h2 { font-size: clamp(1.8rem, 4vw, 4rem); }
.chapter p, .prose { font-size: clamp(1.05rem, 1.65vw, 1.38rem); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: clamp(2rem, 5vw, 5rem); }
.gallery > :first-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.next { border-top: 1px solid var(--rule); padding-block: 2rem 4rem; }
.next a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.55rem, 3vw, 3rem); }
.editorial { padding-bottom: clamp(4rem, 8vw, 8rem); }
.prose { display: grid; gap: 1.1rem; }
.availability { margin-top: 1.25rem; }
.faq { margin-top: clamp(3rem, 7vw, 7rem); max-width: 56rem; }
.faq h2 { margin-bottom: 1.3rem; }
details { border-block-end: 1px solid var(--rule); }
details:first-of-type { border-block-start: 1px solid var(--rule); }
summary { padding-block: .85rem; cursor: pointer; font-weight: 700; }
details p { max-width: 68ch; margin: 0 0 1rem 1rem; }
.not-found .button { margin-top: 1.5rem; }
footer { border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-block: 2.5rem 1rem; }
.footer-grid p { margin-top: .6rem; }
.footer-grid nav { display: grid; gap: .35rem; }
.footer-end { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: .6rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
@media (max-width: 920px) {
  .work-card, .featured .work-card:nth-child(3n+1), .featured .work-card:nth-child(3n+2) { grid-column: span 6; }
}
@media (max-width: 650px) {
  .mast-actions .button { display: none; }
  .masthead nav .mobile-booking { display: grid; }
  .masthead { min-height: 61px; }
  .hero-inner { min-height: min(81svh, 700px); }
  .hero em { margin-left: 0; }
  .hero .eyebrow { font-size: .8rem; }
  .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work-grid .work-card:nth-child(n) { grid-column: 1 / -1; }
  .featured .work-card:nth-child(3n) .project-image { aspect-ratio: 4 / 3; }
  .split, .chapter, .section > .rows, .editorial > .rows, .footer-grid { grid-template-columns: 1fr; }
  .gallery { gap: .55rem; }
  .gallery .placeholder { font-size: .8rem; padding: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.language-entry { background: var(--ink); color: var(--paper); }
.language-panel { display: grid; align-content: center; min-height: 100svh; padding-block: 3rem; }
.language-panel .wordmark { border-top: 1px solid color-mix(in srgb, var(--paper), transparent 55%); padding-top: 1rem; }
.language-panel h1 { margin-block: 2rem; font-size: clamp(2.65rem, 7vw, 7rem); text-wrap: initial; }
.language-panel h1 span { display: block; font: italic 1em/.99 var(--serif); letter-spacing: -.045em; }
.language-panel .button:hover { background: var(--nn-olive); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); }
.portfolio-empty { padding: 1.25rem 0; border-block: 1px solid var(--rule); color: var(--quiet); }
@media (max-width: 920px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

.masthead { position: relative; flex-wrap: wrap; justify-content: start; gap: .5rem; padding-block: .55rem; }
.masthead .wordmark { margin-right: auto; }
.menu-toggle:not([hidden]) {
  display: grid; order: 2; place-content: center; gap: 5px;
  width: 44px; padding: 0;
}
.menu-toggle span {
  display: block; width: 19px; height: 1px; background: currentColor;
  transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.masthead nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0 1rem; }
.menu-open nav {
  display: grid; position: absolute; top: 100%; right: 0;
  width: min(24rem, 100%); max-height: calc(100vh - 76px); overflow: auto;
  background: var(--paper); border: 1px solid var(--rule);
  padding-inline: 1rem;
}
.masthead nav a + a { border-top: 1px solid var(--rule); }

.hero em, .language-panel h1 span { color: var(--nn-accent); }
:is(.hero, .conversion, .language-entry) :focus-visible { outline-color: var(--nn-accent); }

/* Editorial layout and interaction refinements */
.site-header { background: color-mix(in srgb, var(--paper) 96%, transparent); }
.menu-toggle { border-radius: 50%; }
.menu-toggle:hover { background: var(--nn-accent); border-color: var(--ink); }
.menu-open nav { padding: .55rem 1rem; box-shadow: 0 12px 25px color-mix(in srgb, var(--ink) 12%, transparent); }
.menu-open nav a { font-size: 1.06rem; }
.hero h1 { letter-spacing: -.059em; line-height: .94; }
.hero em { margin-left: clamp(0rem, 4vw, 4rem); }
.page-intro h1 { letter-spacing: -.058em; }
.page-intro .intro { color: var(--nn-muted); }
.filters { gap: .5rem; }
.filters button { border-radius: 999px; padding-inline: .95rem; }
.filters button[aria-pressed=true] { background: var(--nn-accent); color: var(--ink); border-color: var(--ink); }
.listing .work-grid { gap: clamp(1.75rem, 4vw, 4rem) clamp(1rem, 2.2vw, 2.5rem); }
.listing .card-copy { border-top: 1px solid var(--rule); margin-top: .6rem; }
.work-card img { transition: transform .35s ease; }
.work-card a:is(:hover, :focus-visible) img { transform: scale(1.035); }
@media (min-width: 921px) {
  .listing .work-card:nth-child(5n+1 of :not([hidden])), .listing .work-card:nth-child(5n+2 of :not([hidden])) { grid-column: span 6; }
  .listing .work-card:nth-child(5n+1 of :not([hidden])) .project-image,
  .listing .work-card:nth-child(5n+2 of :not([hidden])) .project-image { aspect-ratio: 16 / 10; }
}
@media (max-width: 650px) {
  .hero em { margin-left: 0; }
}

.offices { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 7vw, 7rem); }
.offices-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: clamp(1.5rem, 5vw, 6rem); }
.offices h2 { text-wrap: initial; }
.offices img { width: 100%; height: auto; }
.office-list { counter-reset: office; list-style: none; padding: 0; margin: 2rem 0 0; }
.office-list li { counter-increment: office; display: flex; align-items: center; gap: .9rem; padding: 1rem 0; border-top: 1px solid color-mix(in srgb, var(--paper), transparent 55%); }
.office-list li::before { content: counter(office); display: grid; place-items: center; width: 2rem; height: 2rem; flex: 0 0 2rem; border-radius: 50%; background: var(--nn-accent); color: var(--ink); font-weight: 700; }
.office-list p { margin-top: .25rem; }
@media (max-width: 700px) {
  .offices-layout { grid-template-columns: minmax(0, 1fr); }
}

.interactive-globe { display: block; width: 100%; height: auto; aspect-ratio: 1; cursor: grab; touch-action: none; }
.interactive-globe:active { cursor: grabbing; }
.globe-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .65rem 1rem; text-align: center; }
.globe-controls p { font-size: .875rem; }
.globe-controls .button:hover { background: var(--nn-olive); }
.offices :focus-visible { outline-color: var(--nn-accent); }

/* ---- v2: deliverables as small print under each outcome ---- */
.deliverable { font-size: .8rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: color-mix(in srgb, var(--ink), transparent 40%); margin-top: -.2rem; }

/* ---- v2: intentional placeholders until approved mockups arrive ---- */
.placeholder { display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); background: var(--nn-olive); color: var(--nn-paper); border: 0; text-align: center; }
.work-card:nth-child(even) .placeholder { background: var(--nn-olive); }
.work-card:nth-child(3n+2) .placeholder { background: var(--ink); }
.work-card:nth-child(3n) .placeholder { background: var(--nn-surface); color: var(--ink); }
.placeholder .crop-mark { border-color: color-mix(in srgb, currentColor, transparent 78%); }
.ph-name { font: italic clamp(1.8rem, 4.2vw, 4.4rem)/1 var(--serif); letter-spacing: -.03em; max-width: 14ch; text-wrap: balance; }
.story .hero.placeholder .ph-name { font-size: clamp(2.6rem, 8vw, 8rem); }
.gallery .placeholder .ph-name { font-size: clamp(1.3rem, 2.6vw, 2.4rem); }
.ph-label { position: absolute; top: 1.3rem; left: 1.4rem; font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; opacity: .75; }
.ph-note { position: absolute; bottom: 1.2rem; left: 1.4rem; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; opacity: .55; }
.work-card a:hover .placeholder .ph-name { color: var(--nn-accent); }
.work-card:nth-child(3n) a:hover .placeholder .ph-name { color: var(--nn-olive); }
.ph-name { transition: color .3s; }
@media (max-width: 650px) { .ph-note { bottom: .9rem; left: 1rem; } .ph-label { top: .9rem; left: 1rem; } }

/* ---- v2: tracking retuned for DM Sans (the old values were set for Arial) ---- */
h1, h2 { letter-spacing: -.035em; }
.hero h1 { letter-spacing: -.035em; line-height: .96; }
h3, .card-copy h2, .rows h2 { letter-spacing: -.02em; }
.wordmark { letter-spacing: -.035em; }
.hero em, .language-panel h1 span { letter-spacing: -.01em; }

/* ================= v3 ================= */
.page-intro h1 em, .section-heading h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem clamp(1rem, 4vw, 4rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.stat { border-top: 1px solid var(--rule); padding-top: 1rem; display: grid; gap: .35rem; }
.stat strong { font-size: clamp(2.6rem, 6vw, 5.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .95rem; max-width: 22ch; }
.home-stats { padding-bottom: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.testimonial { margin: 0; border-top: 1px solid var(--rule); padding-top: 1.4rem; display: grid; gap: 1.2rem; align-content: start; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font: italic clamp(1.45rem, 2.4vw, 2.3rem)/1.18 var(--serif); letter-spacing: -.01em; max-width: 30ch; }
.testimonial figcaption { display: grid; gap: .1rem; font-size: .95rem; }
.testimonial figcaption span { color: color-mix(in srgb, var(--ink), transparent 35%); }
.testimonials .quotes .testimonial:first-child { grid-column: 1 / -1; }
.testimonials .quotes .testimonial:first-child blockquote p { font-size: clamp(1.9rem, 3.6vw, 3.6rem); max-width: 34ch; }
.quotes-note { margin-top: 2rem; font-size: .85rem; color: color-mix(in srgb, var(--ink), transparent 40%); }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.5rem); align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.5rem, 2.6vw, 2.4rem); background: var(--nn-surface); border: 1px solid var(--rule); border-radius: var(--nn-radius-card); transition: transform .35s ease; }
.package:hover { transform: translateY(-4px); }
.package h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.package .for { font-size: 1rem; }
.package .outcome { font: italic clamp(1.3rem, 1.9vw, 1.75rem)/1.2 var(--serif); padding-block: 1rem; border-block: 1px solid var(--rule); }
.package .deliverable { margin-top: auto; }
.package .button { margin-top: .4rem; }
.package.featured { background: var(--nn-olive); color: var(--nn-paper); border-color: var(--nn-olive); }
.package.featured .outcome { color: var(--nn-accent); border-color: color-mix(in srgb, var(--nn-paper), transparent 75%); }
.package.featured .deliverable { color: color-mix(in srgb, var(--nn-paper), transparent 30%); }
.package.featured .button { background: var(--nn-accent); color: var(--ink); }
.package.featured .button:hover { background: var(--nn-paper); }
.badge { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--nn-accent); color: var(--ink); padding: .3rem .6rem; border-radius: 99px; }
.level { display: flex; gap: .3rem; }
.level i, .level b { width: 1.6rem; height: .3rem; border-radius: 2px; background: currentColor; }
.level b { opacity: .2; }
.package-note { padding-block: 1.5rem 0; font-size: .95rem; color: color-mix(in srgb, var(--ink), transparent 30%); }

/* Portfolio */
.portfolio-note { margin-bottom: 1.5rem; color: color-mix(in srgb, var(--ink), transparent 35%); }
.portfolio-grid { margin-bottom: 2rem; }
.portfolio-item { margin: 0; }
.portfolio-item:nth-child(3n+2) .placeholder { background: var(--ink); }
.portfolio-item:nth-child(3n) .placeholder { background: var(--nn-surface); color: var(--ink); }
.portfolio-item .ph-name { font-size: clamp(1.4rem, 2.6vw, 2.5rem); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.brief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.2rem; }
.brief .full { grid-column: 1 / -1; }
.field { display: grid; gap: .5rem; min-width: 0; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: .95rem; font-weight: 700; padding: 0; }
.req { color: var(--nn-olive); margin-left: .15rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: color-mix(in srgb, var(--paper), white 35%); border: 1px solid var(--rule); border-radius: var(--nn-radius-card); padding: .85rem .9rem; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--nn-olive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nn-olive), transparent 78%); }
.choices { display: grid; gap: .5rem; margin-top: .5rem; }
.choice { display: flex; align-items: center; gap: .75rem; font-weight: 400 !important; padding: .8rem .9rem; border: 1px solid var(--rule); border-radius: var(--nn-radius-card); background: color-mix(in srgb, var(--paper), white 35%); cursor: pointer; }
.choice input { width: 1.1rem; height: 1.1rem; min-height: 0; margin: 0; accent-color: var(--nn-olive); }
.choice:has(input:checked) { border-color: var(--nn-olive); background: var(--nn-surface); }
.field.invalid input, .field.invalid textarea, .field.invalid .choice { border-color: #9a3b26; }
.form-error { color: #9a3b26; font-weight: 700; }
.brief .button { justify-self: start; }
.brief-done { display: grid; gap: 1rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--nn-olive); color: var(--nn-paper); }
.brief-done .button { background: var(--nn-accent); color: var(--ink); }
.contact-side { display: grid; gap: 1rem; align-content: start; border-top: 1px solid var(--rule); padding-top: 1.2rem; }
.contact-side h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.contact-side .actions { flex-direction: column; }
.contact-email { user-select: all; font-size: .95rem; }

/* Motion: content settles into focus as it arrives (below-the-fold only) */
@keyframes nn-focus { from { opacity: 0; filter: blur(12px); transform: translateY(14px); } to { opacity: 1; filter: none; transform: none; } }
.hero h1 { animation: nn-focus 1.3s cubic-bezier(.2,.7,.1,1) both; }
.hero .eyebrow { animation: nn-focus 1s cubic-bezier(.2,.7,.1,1) both; }
.hero-bottom { animation: nn-focus 1.3s .35s cubic-bezier(.2,.7,.1,1) both; }
.page-intro > * { animation: nn-focus 1.1s cubic-bezier(.2,.7,.1,1) both; }
.page-intro > *:nth-child(2) { animation-delay: .12s; }
.page-intro > *:nth-child(n+3) { animation-delay: .24s; }
.pre { opacity: 0; filter: blur(10px); transform: translateY(24px); }
.rev { transition: opacity .9s cubic-bezier(.2,.7,.1,1), filter 1s cubic-bezier(.2,.7,.1,1), transform 1s cubic-bezier(.2,.7,.1,1); }
.work-card .project-image { transition: transform .6s cubic-bezier(.2,.7,.1,1); }
.work-card a:hover .project-image { transform: scale(.985); }

@media (max-width: 920px) {
  .packages, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .brief { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .eyebrow, .hero-bottom, .page-intro > * { animation: none; }
  .pre { opacity: 1; filter: none; transform: none; }
  .package:hover, .work-card a:hover .project-image { transform: none; }
}

/* ---- Globe centered: offices on the left, cities on the right ---- */
.offices-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 3.5vw, 4rem); }
.offices-layout h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.cities { display: grid; gap: 1.1rem; align-self: center; }
.cities-sub { font-size: .9rem; color: color-mix(in srgb, var(--paper), transparent 35%); }
.city-group { display: grid; gap: .5rem; border-top: 1px solid color-mix(in srgb, var(--paper), transparent 55%); padding-top: .8rem; }
.city-group .eyebrow { font-size: .75rem; color: var(--nn-accent); }
.city-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.2rem; }
.city-list li { break-inside: avoid; }
.city { display: block; width: 100%; text-align: left; background: none; border: 0; padding: .2rem 0; min-height: 28px; font-size: .88rem; line-height: 1.25; color: color-mix(in srgb, var(--paper), transparent 15%); transition: color .2s; }
.city:hover, .city.active, .city[aria-pressed="true"] { color: var(--nn-accent); }
.city[aria-pressed="true"]::before { content: "● "; font-size: .6em; vertical-align: .2em; }
@media (max-width: 1100px) {
  .offices-layout { grid-template-columns: minmax(0, 1fr); }
  .offices-layout .globe-wrap { max-width: 520px; width: 100%; justify-self: center; }
  .city-list { columns: 3; }
}
@media (max-width: 650px) { .city-list { columns: 2; } }

/* ================= v4: quieter, less "generated" ================= */
/* No blur-in motion: content is simply there. */
.hero h1, .hero .eyebrow, .hero-bottom, .page-intro > * { animation: none; }
.pre { opacity: 1; filter: none; transform: none; }

/* One typeface does the work; no decorative italics in headings. */
.hero h1 { font-size: clamp(3.2rem, 8.2vw, 8.6rem); line-height: .95; max-width: 14ch; }

/* Image placeholders: plain tiles with a file-style caption, like a contact sheet. */
.placeholder { background: color-mix(in srgb, var(--paper), var(--nn-olive) 12%); color: var(--ink); place-items: end start; }
.work-card:nth-child(even) .placeholder,
.work-card:nth-child(3n+2) .placeholder,
.work-card:nth-child(3n) .placeholder,
.portfolio-item:nth-child(3n+2) .placeholder,
.portfolio-item:nth-child(3n) .placeholder { background: color-mix(in srgb, var(--paper), var(--nn-olive) 12%); color: var(--ink); }
.placeholder .crop-mark, .ph-note { display: none; }
.ph-name, .story .hero.placeholder .ph-name, .gallery .placeholder .ph-name, .portfolio-item .ph-name {
  position: absolute; left: 1rem; bottom: .9rem; max-width: calc(100% - 2rem);
  font: 500 .85rem/1.3 var(--display); letter-spacing: 0; text-align: left; color: color-mix(in srgb, var(--ink), transparent 35%);
}
.ph-label { font-weight: 500; letter-spacing: 0; text-transform: none; top: .9rem; left: 1rem; font-size: .85rem; }
.work-card a:hover .placeholder .ph-name, .work-card:nth-child(3n) a:hover .placeholder .ph-name { color: var(--ink); }
.work-card a:hover .project-image { transform: none; }

/* Testimonials and packages in plain type. */
.testimonial blockquote p { font: 400 clamp(1.15rem, 1.7vw, 1.5rem)/1.45 var(--display); letter-spacing: -.01em; max-width: 46ch; }
.testimonials .quotes .testimonial:first-child blockquote p { font: 500 clamp(1.5rem, 2.6vw, 2.4rem)/1.25 var(--display); letter-spacing: -.02em; max-width: 38ch; }
.package .outcome { font: 400 1.05rem/1.5 var(--display); padding-block: 0; border: 0; }
.package.featured .outcome { color: var(--nn-paper); }
.package:hover { transform: none; }
.deliverable { font-size: .9rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.stat strong { font-weight: 600; letter-spacing: -.03em; }
.city-group .eyebrow { letter-spacing: .04em; }

/* ---- Globe: zoom controls, cities as a short statement ---- */
.globe-wrap { position: relative; }
.globe-zoom { position: absolute; top: .4rem; right: .4rem; display: grid; gap: .35rem; z-index: 1; }
.globe-zoom button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--paper), transparent 55%); background: color-mix(in srgb, var(--ink), transparent 20%); color: var(--paper); font-size: 1.3rem; line-height: 1; display: grid; place-items: center; }
.globe-zoom button:hover:not(:disabled) { background: var(--nn-olive); }
.globe-zoom button:disabled { opacity: .35; cursor: default; }
.cities { display: grid; gap: 1rem; align-self: center; }
.cities p { font-size: 1.05rem; max-width: 34ch; color: color-mix(in srgb, var(--paper), transparent 15%); }

.interactive-globe { border-radius: 50%; }

/* ---- 3D globe (Three.js) ---- */
.globe-stage { position: relative; width: 100%; aspect-ratio: 1; outline-offset: 6px; border-radius: 50%; }
.globe-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.globe-stage canvas:active { cursor: grabbing; }
.globe-label, .globe-tip { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; white-space: nowrap; font: 600 12px/1 var(--nn-font-sans, "DM Sans", Arial, sans-serif); border-radius: 99px; padding: 5px 9px; }
.globe-label { color: var(--nn-ink); background: var(--nn-accent); border: 1.5px solid var(--nn-ink); }
.globe-tip { color: var(--nn-ink); background: var(--nn-paper); z-index: 2; }
.globe-label[hidden], .globe-tip[hidden] { display: none; }
.globe-wrap .globe-zoom { z-index: 3; }
.globe-stage canvas { -webkit-mask-image: radial-gradient(circle closest-side, #000 99%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 99%, transparent 100%); }

/* ---- Capsule buttons ---- */
:root { --nn-radius-button: 999px; }
.button, .filters button, button[type="submit"] { border-radius: var(--nn-radius-button); }

/* ==== Brand guidelines: logo, isotipo and type ==== */
/* Headings in the display serif (stand-in for Eugusto), body in Montserrat, italics in Cormorant (stand-in for Manier). */
h1, h2, h3, .card-copy h2, .rows h2 { font-family: var(--nn-font-display); font-weight: 400; }
h1, h2 { letter-spacing: -.012em; line-height: 1.02; }
.hero h1 { letter-spacing: -.015em; line-height: 1; }
h3, .card-copy h2, .rows h2 { letter-spacing: -.005em; line-height: 1.12; }
.page-intro h1 em, .section-heading h2 em, .hero em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: 0; }
body { font-weight: 400; letter-spacing: .005em; }
.intro { font-weight: 300; }
.eyebrow { font-weight: 600; letter-spacing: .14em; }
.button { font-weight: 600; letter-spacing: .02em; }
.testimonial blockquote p { font-weight: 300; }
.testimonials .quotes .testimonial:first-child blockquote p { font: italic 300 clamp(1.7rem, 3vw, 2.8rem)/1.2 var(--serif); letter-spacing: 0; }

/* Logo: the official wordmark, coloured by the surrounding text colour. */
.wordmark { display: inline-flex; align-items: center; line-height: 0; letter-spacing: 0; }
.logo { display: block; aspect-ratio: 640 / 166; height: 34px; background: currentColor;
  -webkit-mask: url(logo.png) center / contain no-repeat; mask: url(logo.png) center / contain no-repeat; }
.masthead .logo { height: clamp(28px, 3.2vw, 36px); }
footer .logo { height: 46px; margin-bottom: 1rem; }
.language-panel .logo { height: 48px; }
.masthead .wordmark { color: var(--nn-ink); }

/* Isotipo as a large, quiet mark in the hero, like the guidelines cover. */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: var(--gutter); bottom: clamp(1.5rem, 4vw, 4rem); width: min(48vw, 760px); max-height: calc(100% - 3rem); aspect-ratio: 1377 / 900;
  background: color-mix(in srgb, var(--nn-ink), var(--nn-paper) 11%);
  -webkit-mask: url(isotipo.png) center / contain no-repeat; mask: url(isotipo.png) center / contain no-repeat; }
@media (max-width: 760px) { .hero::after { width: calc(100% - 2 * var(--gutter)); right: var(--gutter); bottom: 1.5rem; max-height: 42%; } }


/* ==== White base with brand colour pops ==== */
/* Page, header, footer and the hero sit on white; hueso, olive, ink and yellow appear as accents and full-bleed bands. */
:root { --nn-white: #FFFFFF; --rule: color-mix(in srgb, var(--nn-ink) 16%, white); --nn-surface: var(--nn-paper); }
body, .skip { background: var(--nn-white); }
.site-header { background: color-mix(in srgb, white 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.menu-open nav { background: var(--nn-white); box-shadow: 0 18px 40px -24px rgba(57,52,41,.35); }

/* Hero on white: ink type, hueso isotipo behind, yellow call to action. */
.hero { background: var(--nn-white); color: var(--nn-ink); border-bottom: 1px solid var(--rule); }
.hero .eyebrow, .hero-bottom .intro { color: var(--nn-ink); }
.hero .eyebrow, .hero-bottom { border-top-color: var(--rule); }
.hero::after { background: var(--nn-paper); }
.hero .actions .button { background: var(--nn-accent); color: var(--nn-ink); opacity: 1; }
.hero .actions .button.secondary { background: var(--nn-ink); color: var(--nn-white); border-color: var(--nn-ink); }
.hero .actions .button.secondary:hover { background: var(--nn-olive); color: var(--nn-white); border-color: var(--nn-olive); }
.hero .button:not(.secondary):hover { background: var(--nn-ink); color: var(--nn-paper); }

/* Cards and placeholders pick up the hueso as their colour pop. */
.placeholder, .work-card:nth-child(even) .placeholder, .work-card:nth-child(3n) .placeholder, .portfolio-item:nth-child(3n) .placeholder { background: var(--nn-paper); color: var(--nn-ink); border-color: transparent; }
.package { background: var(--nn-white); }
.package:not(.featured) { border-color: var(--rule); }
.band { background: var(--nn-paper); }
.field input, .field textarea, .field select, .choice { background: var(--nn-white); }
.choice:has(input:checked) { background: var(--nn-paper); }
.filters button[aria-pressed="true"], .filters button.active { background: var(--nn-accent); border-color: var(--nn-accent); }
footer { background: var(--nn-white); }
body .placeholder.placeholder.placeholder { background: var(--nn-paper); color: var(--nn-ink); }

.offices#presencia { scroll-margin-top: 74px; }
.globe-city-label { position:absolute; left:0; top:0; z-index:1; pointer-events:none; white-space:nowrap; padding:4px 7px; border-radius:3px; background:var(--nn-ink); color:var(--nn-white); border:1px solid #e5dfcd66; font:500 12px/1.25 var(--nn-font-sans); }
.globe-city-label[hidden] { display:none; }
.globe-client-cities { flex-basis:100%; text-align:left; font-size:.875rem; }
.globe-client-cities summary { cursor:pointer; padding:.75rem 0; text-align:center; }
.globe-client-cities ul { list-style:none; margin:1rem 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.6rem 1rem; }
@media(max-width:600px) { .globe-client-cities ul { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Consistent button shape across pages and responsive layouts. */
:root body :is(button,.button,[role="button"],input[type="submit"],input[type="button"],input[type="reset"]){border-radius:var(--nn-radius-button)}
