/* Comtrade Trading — site styles. Hand-written, no framework. */

/* ---------- Fonts (served with the site, OFL) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 500 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-ext.woff2") format("woff2"); font-weight: 500 800; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0100-024F, U+20BA, U+2018-201E, U+2026; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+011E-011F, U+0130-0131, U+015E-015F; }

:root {
  --ink: #121a16;
  --ink-2: #1a2620;
  --forest: #1f3a2c;
  --gold: #e9c24a;
  --gold-2: #d9ab2a;
  --gold-ink: #7d5f0c;
  --cream: #f5f0e6;
  --sand: #e9dfcb;
  --white: #fff;
  --lentil: #c4532e;
  --text: #19201c;
  --muted: #555e58;
  --on-ink: rgba(255, 255, 255, .78);
  --line: rgba(18, 26, 22, .12);
  --line-ink: rgba(255, 255, 255, .14);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .22, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --wrap: 1240px;
  --radius: 18px;
  --hdr: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.i { flex: none; }

/* ---------- Type ---------- */
.h-xxl, .h-xl, .h-lg, .hero__title, .phead__title { font-family: var(--display); font-weight: 700; font-stretch: 82%; letter-spacing: -.012em; line-height: 1.02; text-wrap: balance; }
.h-xxl { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.h-xl  { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.05; }
.h-lg  { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; }
.label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gold-ink); font: 700 .75rem/1.2 var(--display); font-stretch: 100%; letter-spacing: .2em; text-transform: uppercase; }
.label::before { content: ""; width: 26px; height: 2px; background: var(--gold-2); border-radius: 2px; }
.label--light { color: var(--gold); }
.label--light::before { background: var(--gold); }

/* ---------- Buttons & links ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border: 1.5px solid transparent; border-radius: 999px; font: 700 .95rem/1.1 var(--display); font-stretch: 92%; letter-spacing: .02em; text-decoration: none; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s, background-color .35s, transform .35s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::after { transform: none; }
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::after { background: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink::after { background: var(--forest); }
.btn--line-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--line-light::after { background: var(--white); }
.btn--line-light:hover { color: var(--ink); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .88rem; }
.btn--wide { width: 100%; }
.link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; color: var(--text); font: 700 .92rem/1.2 var(--display); font-stretch: 92%; text-decoration: none; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-2); transform-origin: right; transition: transform .45s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.link--light { color: var(--white); }
.link--light::after { background: var(--gold); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--white); transition: transform .45s var(--ease); }
.hdr__bar { height: 38px; font-size: .82rem; color: rgba(255, 255, 255, .82); border-bottom: 1px solid var(--line-ink); transition: margin .45s var(--ease), opacity .3s; }
.hdr__bar-in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.hdr__bar p { display: flex; align-items: center; gap: 22px; }
.hdr__bar p:first-child { gap: 8px; }
.hdr__bar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.hdr__bar a:hover { color: var(--gold); }
.hdr__bar .i { color: var(--gold); }
.hdr__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; height: var(--hdr); transition: height .4s var(--ease); }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); opacity: 0; box-shadow: 0 1px 0 var(--line); transition: opacity .35s; }
.hdr.is-stuck::before, .menu-open .hdr::before { opacity: 1; }
.hdr.is-stuck { color: var(--text); }
.hdr.is-stuck .hdr__bar { margin-top: -38px; opacity: 0; }
.hdr.is-stuck .hdr__in { height: 72px; }
.menu-open .hdr { color: var(--text); }
.hdr.is-hidden { transform: translateY(-100%); }

.hdr__logo { position: relative; display: block; width: clamp(196px, 19vw, 248px); }
.hdr__logo img { width: 100%; height: auto; transition: opacity .35s; }
.hdr__logo-dark { position: absolute; inset: 0; opacity: 0; }
.hdr.is-stuck .hdr__logo-dark, .menu-open .hdr__logo-dark { opacity: 1; }
.hdr.is-stuck .hdr__logo-light, .menu-open .hdr__logo-light { opacity: 0; }
/* A band of light crosses the logo every few seconds; the mask keeps it on the logo shapes only. */
.hdr__logo::after, .hold__logo::after, .ftr__brand-logo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 42%, rgba(255, 248, 225, .95) 50%, rgba(255, 255, 255, 0) 58%) no-repeat; background-size: 260% 100%; background-position: 160% 0; -webkit-mask: url("../img/logo.svg") center / 100% 100% no-repeat; mask: url("../img/logo.svg") center / 100% 100% no-repeat; animation: logo-shine 6s ease-in-out 1.4s infinite; mix-blend-mode: overlay; }
.hdr.is-stuck .hdr__logo::after { mix-blend-mode: normal; background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 42%, rgba(255, 236, 170, .9) 50%, rgba(255, 255, 255, 0) 58%); }
@keyframes logo-shine { 0% { background-position: 160% 0; } 45%, 100% { background-position: -60% 0; } }

.nav > ul { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
.nav a { position: relative; display: block; padding: 12px 2px; font: 600 .95rem/1 var(--display); font-stretch: 92%; letter-spacing: .01em; text-decoration: none; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current]::after { transform: scaleX(1); }
.nav__has-sub { position: relative; }
.nav__has-sub > a { padding-right: 16px; }
.nav__has-sub > a::before { content: ""; position: absolute; right: 2px; top: 50%; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); }
.nav__sub { position: absolute; left: 50%; top: 100%; display: none; width: 600px; padding-top: 14px; transform: translateX(-50%); }
.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub { display: block; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translate(-50%, 10px); } }
.nav__sub ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; background: var(--white); color: var(--text); border-radius: 16px; box-shadow: 0 24px 60px -18px rgba(18, 26, 22, .35), 0 0 0 1px var(--line); }
.nav__sub a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; transition: background-color .25s; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--cream); }
.nav__sub b { display: block; font-weight: 700; font-size: .95rem; }
.nav__sub small { display: block; margin-top: 4px; color: var(--muted); font: 400 .8rem/1.3 var(--body); letter-spacing: 0; }
.nav__thumb { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--sand); }
.nav__thumb img { width: 100%; height: 100%; object-fit: cover; }

.hdr__actions { display: flex; align-items: center; gap: 18px; }
.hdr__cat { display: inline-flex; align-items: center; gap: 8px; font: 600 .9rem/1 var(--display); font-stretch: 92%; text-decoration: none; }
.hdr__cat .i { color: var(--gold); }
.hdr.is-stuck .hdr__cat .i { color: var(--gold-ink); }
.hdr__cat:hover span { text-decoration: underline; text-decoration-color: var(--gold); }

.burger { display: none; width: 48px; height: 48px; border: 1.5px solid currentColor; border-radius: 50%; background: none; place-items: center; }
.burger__icon { display: grid; gap: 5px; width: 20px; }
.burger__icon i { display: block; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 55; overflow-y: auto; padding: calc(var(--hdr) + 60px) var(--gutter) 40px; background: var(--cream); color: var(--text); animation: menu-in .45s var(--ease); }
.menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
.menu__main a { display: block; padding: 6px 0; font: 700 clamp(2rem, 9vw, 2.8rem)/1.15 var(--display); font-stretch: 80%; text-decoration: none; }
.menu__main li { opacity: 0; animation: rise .5s var(--ease) forwards; }
.menu__main li:nth-child(2) { animation-delay: .05s; } .menu__main li:nth-child(3) { animation-delay: .1s; } .menu__main li:nth-child(4) { animation-delay: .15s; } .menu__main li:nth-child(5) { animation-delay: .2s; }
.menu__main a[aria-current] { color: var(--gold-ink); }
.menu__sub { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.menu__sub a { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; text-decoration: none; }
.menu__foot { display: grid; gap: 12px; margin-top: 30px; }
.menu__foot .btn--line-light { color: var(--text); border-color: var(--text); }
.menu__foot p { margin-top: 10px; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
@property --cut { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1000px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__slides, .hero__slide, .hero__media { position: absolute; inset: 0; }
.hero__slide { visibility: hidden; z-index: 1; }
.hero__slide.is-active { visibility: visible; z-index: 3; }
.hero__slide.is-leaving { visibility: visible; z-index: 2; }
.hero__media { overflow: hidden; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; transform-origin: 60% 50%; }
.hero__slide.is-active .hero__media img { animation: drift 9s var(--ease) both; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
/* Readability: a soft scrim from the left and the bottom, no heavy text shadows */
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(12, 18, 15, .86) 0%, rgba(12, 18, 15, .62) 34%, rgba(12, 18, 15, .12) 70%, rgba(12, 18, 15, 0) 100%),
  linear-gradient(0deg, rgba(12, 18, 15, .7) 0%, rgba(12, 18, 15, 0) 42%),
  linear-gradient(180deg, rgba(12, 18, 15, .5) 0%, rgba(12, 18, 15, 0) 24%); }
/* Slide change: the new photo opens in vertical strips, like grain falling through sorter chutes */
.hero.is-moving .hero__slide.is-active .hero__media { -webkit-mask: linear-gradient(90deg, #000 var(--cut), transparent var(--cut)) 0 0 / 12.5% 100% repeat-x; mask: linear-gradient(90deg, #000 var(--cut), transparent var(--cut)) 0 0 / 12.5% 100% repeat-x; animation: strips 1.25s var(--ease-io) both; }
@keyframes strips { from { --cut: 0%; } to { --cut: 100%; } }

.hero__copy { position: absolute; inset: auto 0 0 0; z-index: 4; padding-bottom: clamp(150px, 21vh, 220px); }
.hero__kicker { margin-bottom: 22px; overflow: hidden; }
.hero__kicker span { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font: 700 .8rem/1.2 var(--display); font-stretch: 100%; letter-spacing: .22em; text-transform: uppercase; }
.hero__kicker span::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero__title { max-width: 10.5em; font-size: clamp(2.7rem, 6.6vw, 6rem); line-height: .98; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.hero__text { max-width: 36em; margin-top: 24px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .9); }
.hero__actions { margin-top: 34px; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .08em; margin: -.04em -.02em -.08em; }
.w > span { display: inline-block; }
.js .hero__slide .w > span { transform: translateY(110%); }
.js .hero__slide .hero__kicker span, .js .hero__slide .hero__text, .js .hero__slide .hero__actions { opacity: 0; transform: translateY(18px); }
.js .hero__slide.is-active .w > span { transform: none; transition: transform 1s var(--ease) calc(.25s + var(--i) * .07s); }
.js .hero__slide.is-active .hero__kicker span { opacity: 1; transform: none; transition: opacity .7s .15s, transform .9s var(--ease) .15s; }
.js .hero__slide.is-active .hero__text { opacity: 1; transform: none; transition: opacity .8s .6s, transform 1s var(--ease) .6s; }
.js .hero__slide.is-active .hero__actions { opacity: 1; transform: none; transition: opacity .8s .75s, transform 1s var(--ease) .75s; }

.hero__ctrl { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; display: flex; align-items: flex-end; gap: 30px; }
.hero__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; flex: 1; gap: 18px; }
.hero__tabs button { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; width: 100%; padding: 8px 0 0; border: 0; background: none; color: rgba(255, 255, 255, .62); text-align: left; transition: color .3s; }
.hero__tabs button:hover, .hero__tabs button[aria-current] { color: var(--white); }
.hero__tab-n { font: 700 .78rem/1 var(--display); color: var(--gold); letter-spacing: .1em; }
.hero__tab-label { font: 600 .92rem/1.2 var(--display); font-stretch: 92%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__tab-bar { grid-column: 1 / -1; order: -1; position: relative; height: 2px; margin-bottom: 12px; background: rgba(255, 255, 255, .25); overflow: hidden; border-radius: 2px; }
.hero__tab-bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hero__tabs button[aria-current] .hero__tab-bar i { transform: scaleX(var(--p, 0)); }
.hero__tabs button:not([aria-current]) .hero__tab-bar i { transform: scaleX(0); }
.hero__btns { display: flex; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(12, 18, 15, .25); color: var(--white); transition: background-color .3s, border-color .3s, color .3s; }
.icon-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
[data-pause] .i-play, [data-pause][aria-pressed="true"] .i-pause { display: none; }
[data-pause][aria-pressed="true"] .i-play { display: block; }
.hero__scroll { position: absolute; right: var(--gutter); top: 50%; z-index: 5; display: grid; place-items: center; width: 46px; height: 76px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 999px; color: var(--white); }
.hero__scroll .i { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-6px); opacity: .4; } 50% { transform: translateY(6px); opacity: 1; } }

/* ---------- Page header ---------- */
.phead { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 62vh, 620px); padding: calc(var(--hdr) + 80px) 0 clamp(48px, 7vw, 86px); background: var(--ink); color: var(--white); overflow: hidden; }
.phead__media { position: absolute; inset: 0; }
.phead__media img { width: 100%; height: 100%; object-fit: cover; animation: drift 7s var(--ease) both; }
.phead__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 18, 15, .84) 0%, rgba(12, 18, 15, .5) 45%, rgba(12, 18, 15, .15) 100%), linear-gradient(0deg, rgba(12, 18, 15, .65), rgba(12, 18, 15, 0) 55%), linear-gradient(180deg, rgba(12, 18, 15, .55), rgba(12, 18, 15, 0) 30%); }
.phead__inner { position: relative; z-index: 2; }
.phead__title { max-width: 14em; font-size: clamp(2.6rem, 6vw, 5.2rem); }
.phead__lead { max-width: 34em; margin-top: 20px; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, .88); }
.js .phead__title .w > span { transform: translateY(110%); animation: word-up 1s var(--ease) forwards; animation-delay: calc(.12s + var(--i) * .06s); }
@keyframes word-up { to { transform: none; } }
.phead__mark { position: absolute; right: clamp(-120px, -6vw, -40px); bottom: clamp(-160px, -10vw, -60px); z-index: 1; width: clamp(260px, 34vw, 520px); aspect-ratio: 1; background: url("../img/mark.svg") center / contain no-repeat; opacity: .07; animation: turn 60s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.crumbs { margin-bottom: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; font: 600 .8rem/1.2 var(--display); font-stretch: 100%; letter-spacing: .14em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-inline: 12px; color: var(--gold); }
.crumbs a { text-decoration: none; color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--gold); }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(76px, 10vw, 140px); }
.sec--white { background: var(--white); }
.sec--cream { background: var(--cream); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--ink p { color: var(--on-ink); }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 60px; margin-bottom: clamp(38px, 5vw, 64px); }
.sec__head > p { max-width: 30em; color: var(--muted); }
.sec--ink .sec__head > p { color: var(--on-ink); }
.sec__head--center { flex-direction: column; align-items: center; text-align: center; }
.sec__head--center .h-xl { max-width: 15em; }
.sec__head--center > p { max-width: 40em; }

/* ---------- Home: intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 7vw, 110px); }
.intro__copy .h-xl { margin-bottom: 26px; }
.intro__copy > p { color: var(--muted); }
.intro__copy > p + p { margin-top: 16px; }
.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks .i { margin-top: 3px; padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.intro__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 38px; }
.intro__art { position: relative; padding: 0 0 70px 40px; }
/* The "C" of the monogram: photos framed by a half-round left edge */
.dframe { position: relative; overflow: hidden; border-radius: 50% 24px 24px 50% / 50% 24px 24px 50%; background: var(--sand); transform: translateY(var(--py, 0)); }
.dframe img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dframe--right { border-radius: 24px 50% 50% 24px / 24px 50% 50% 24px; }
.intro__inset { position: absolute; left: -10px; bottom: 0; width: 46%; border: 8px solid var(--cream); border-radius: 20px; overflow: hidden; transform: translateY(var(--py, 0)); box-shadow: 0 30px 60px -30px rgba(18, 26, 22, .5); }
.intro__inset img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; }
.seal { position: absolute; right: -14px; top: -10px; width: 138px; height: 138px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); box-shadow: 0 20px 40px -18px rgba(18, 26, 22, .6); }
.seal__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: turn 24s linear infinite; }
.seal__text text { fill: var(--gold); font: 700 15.5px var(--display); letter-spacing: .2em; }
.seal__mark { width: 44px; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-ink); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: clamp(34px, 4vw, 56px) clamp(10px, 2vw, 28px); border-left: 1px solid var(--line-ink); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { color: var(--gold); font: 800 clamp(2.2rem, 3.8vw, 3.4rem)/1 var(--display); font-stretch: 75%; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat__label { margin-top: 12px; max-width: 13em; color: var(--on-ink); font-size: .95rem; line-height: 1.45; }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: clamp(14px, 1.8vw, 24px); }
.pcard { position: relative; display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.pcard__img { position: relative; display: block; overflow: hidden; border-radius: 160px 160px var(--radius) var(--radius); background: var(--sand); }
.pcard__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.07); }
.pcard__body { position: relative; display: grid; gap: 4px; padding: 18px 54px 0 0; }
.pcard__n { color: var(--gold-ink); font: 700 .75rem/1 var(--display); letter-spacing: .14em; }
.pcard__name { font: 700 1.3rem/1.15 var(--display); font-stretch: 85%; }
.pcard__tag { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.pcard__go { position: absolute; right: 0; top: 16px; display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 50%; transition: background-color .35s, border-color .35s, transform .45s var(--ease); }
.pcard:hover .pcard__go { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }
.pcard--cat { justify-content: flex-end; min-height: 100%; padding: 28px; border-radius: 160px 160px var(--radius) var(--radius); background: var(--ink); color: var(--white); overflow: hidden; }
.pcard--cat::before { content: ""; position: absolute; right: -18%; top: -6%; width: 78%; aspect-ratio: 1; background: url("../img/mark.svg") center / contain no-repeat; opacity: .16; transition: transform 1.2s var(--ease); }
.pcard--cat:hover::before { transform: rotate(-20deg) scale(1.05); }
.pcard__cat-icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: auto; border-radius: 50%; background: var(--gold); color: var(--ink); }
.pcard--cat .pcard__name { position: relative; margin-top: 30px; font-size: 1.5rem; }
.pcard--cat .pcard__tag { position: relative; color: var(--on-ink); }
.pcard--cat .pcard__go { top: auto; bottom: 28px; right: 28px; border-color: var(--line-ink); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--gold); color: var(--ink); padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker__set { display: flex; align-items: center; }
.ticker span { padding-inline: 26px; font: 700 clamp(1.1rem, 1.8vw, 1.5rem)/1 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.svc__card { position: relative; padding: clamp(28px, 3vw, 42px); border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.svc__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc__card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(18, 26, 22, .45), 0 0 0 1px var(--line); }
.svc__card:hover::after { transform: scaleX(1); }
.svc__icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 30px; border-radius: 50% 0 0 50%; background: var(--forest); color: var(--gold); }
.svc__n { position: absolute; right: 28px; top: 26px; color: var(--sand); font: 800 3.2rem/1 var(--display); font-stretch: 75%; }
.svc__card h3 { margin-bottom: 12px; font: 700 1.35rem/1.2 var(--display); font-stretch: 85%; }
.svc__card p { color: var(--muted); }

/* ---------- Process ---------- */
.process__list { position: relative; display: grid; grid-template-columns: repeat(var(--steps), 1fr); gap: 22px; }
.process__list::before, .process__list::after { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--line-ink); }
.process__list::after { background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(var(--line, 0)); transform-origin: left; transition: transform .2s linear; }
.process__step { position: relative; z-index: 1; }
.process__dot { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: var(--ink-2); color: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1.5px var(--line-ink), 0 0 0 8px var(--ink); transition: background-color .5s, color .5s, box-shadow .5s; }
.process__step.is-lit .process__dot { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 1.5px var(--gold), 0 0 0 8px var(--ink), 0 0 0 14px rgba(233, 194, 74, .12); }
.process__step h3 { margin-bottom: 8px; font: 700 1.15rem/1.2 var(--display); font-stretch: 85%; }
.process__step h3 span { display: block; margin-bottom: 6px; color: var(--gold); font-size: .78rem; letter-spacing: .14em; }
.process__step p { font-size: .94rem; line-height: 1.5; }

/* ---------- Photo strip ---------- */
.strip { padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.strip__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 40px; }
.strip__scroller { display: flex; gap: 20px; padding: 0 var(--gutter) 22px max(var(--gutter), (100% - var(--wrap)) / 2); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--gold-2) transparent; cursor: grab; }
.strip__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip__item { flex: none; position: relative; width: clamp(260px, 36vw, 520px); scroll-snap-align: start; }
.strip__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); user-select: none; }
.strip__item--1 { margin-top: 46px; }
.strip__item--1 img { aspect-ratio: 4 / 3; }
.strip__item figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; }

/* ---------- Press ---------- */
.press__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.press__card { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.press__img { display: block; overflow: hidden; border-radius: 10px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); transform: rotate(-2.5deg); transition: transform .5s var(--ease); }
.press__card:hover .press__img { transform: rotate(0) scale(1.04); }
.press__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.press__card blockquote p { font: 700 1.18rem/1.25 var(--display); font-stretch: 85%; }
.press__card blockquote p::before { content: "“"; color: var(--gold-2); }
.press__card blockquote p::after { content: "”"; color: var(--gold-2); }
.press__card figcaption { display: grid; gap: 2px; margin-top: 14px; font-size: .88rem; }
.press__card figcaption span { color: var(--muted); }

/* ---------- Closing call to action ---------- */
.cta { position: relative; padding-block: clamp(110px, 15vw, 200px); color: var(--white); background: var(--ink); overflow: hidden; }
.cta__bg { position: absolute; inset: -12% 0; transform: translateY(var(--py, 0)); }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 18, 15, .9), rgba(12, 18, 15, .62) 55%, rgba(12, 18, 15, .4)); }
.cta__inner { position: relative; }
.cta .h-xxl { max-width: 12em; }
.cta__text { max-width: 34em; margin-top: 22px; font-size: 1.15rem; color: rgba(255, 255, 255, .88); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.cta__call { margin-top: 22px; color: rgba(255, 255, 255, .78); }
.cta__call a { color: var(--white); font-weight: 700; text-decoration-color: var(--gold); }

/* ---------- Split (about, product) ---------- */
.split__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(40px, 7vw, 110px); }
.split__copy .h-xl { margin-bottom: 26px; }
.split__copy > p { color: var(--muted); }
.split__copy > p + p { margin-top: 16px; }
.split__intro { color: var(--text) !important; font: 600 clamp(1.25rem, 2vw, 1.55rem)/1.4 var(--display); font-stretch: 90%; margin-bottom: 22px; }
.row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.specs { align-self: start; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); background: var(--ink); color: var(--white); }
.specs__title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--gold); font: 700 .8rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.specs dl > div { padding: 16px 0; border-top: 1px solid var(--line-ink); }
.specs dt { color: rgba(255, 255, 255, .62); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.specs dd { margin-top: 4px; font-weight: 600; }

/* ---------- Varieties ---------- */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.vcard { display: block; color: var(--text); text-decoration: none; }
.vcard__img { position: relative; display: block; overflow: hidden; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 6px var(--white), 0 18px 40px -24px rgba(18, 26, 22, .6); }
.vcard__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1s var(--ease); }
.vcard:hover .vcard__img img { transform: scale(1.1) rotate(3deg); }
.vcard__zoom, .gal__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18, 26, 22, .4); color: var(--white); opacity: 0; transition: opacity .35s; }
.vcard:hover .vcard__zoom, .vcard:focus-visible .vcard__zoom { opacity: 1; }
.vcard__name { display: block; margin-top: 20px; text-align: center; font: 700 1.12rem/1.2 var(--display); font-stretch: 85%; }
.vcard__note { display: block; margin-top: 4px; text-align: center; color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* ---------- Products list ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 96px); }
.row + .row { margin-top: clamp(70px, 9vw, 130px); }
.row--flip .row__media { order: 2; }
.row__media { position: relative; display: block; overflow: hidden; border-radius: 50% 24px 24px 50% / 50% 24px 24px 50%; background: var(--sand); }
.row--flip .row__media { border-radius: 24px 50% 50% 24px / 24px 50% 50% 24px; }
.row__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.row__media:hover img { transform: scale(1.05); }
.row__n { position: absolute; right: 24px; bottom: 18px; color: var(--white); font: 800 4rem/1 var(--display); font-stretch: 75%; opacity: .9; }
.row--flip .row__n { right: auto; left: 24px; }
.row__copy .h-xl a { text-decoration: none; }
.row__copy .h-xl a:hover { color: var(--gold-ink); }
.row__copy > p:not(.label):not(.row__actions) { margin-top: 18px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--cream); font-size: .86rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq__grid > div:first-child p:not(.label) { margin-top: 20px; color: var(--muted); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; cursor: pointer; font: 700 1.15rem/1.3 var(--display); font-stretch: 88%; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: background-color .3s, transform .4s var(--ease); }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq__list details[open] summary i { background: var(--gold); transform: rotate(180deg); }
.faq__list details[open] summary i::after { transform: translate(-50%, -50%); }
.faq__a { padding: 0 56px 26px 0; color: var(--muted); }

/* ---------- About ---------- */
.facts .h-xl { margin-bottom: clamp(38px, 5vw, 60px); }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-ink); }
.facts__grid > div { padding: 34px 28px 34px 0; border-bottom: 1px solid var(--line-ink); }
.facts__grid > div:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line-ink); }
.facts dt { color: var(--gold); font: 800 clamp(2.4rem, 4.4vw, 3.8rem)/1 var(--display); font-stretch: 75%; font-variant-numeric: tabular-nums; }
.facts dd { margin-top: 12px; color: var(--on-ink); }
.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.5vw, 50px) clamp(20px, 3vw, 44px); }
.cap__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 50% 0 0 50%; background: var(--ink); color: var(--gold); }
.cap h3 { margin-bottom: 8px; font: 700 1.25rem/1.2 var(--display); font-stretch: 85%; }
.cap p { color: var(--muted); }
.wide { overflow: hidden; height: clamp(300px, 52vw, 680px); }
.wide > div { height: 120%; margin-top: -10%; transform: translateY(var(--py, 0)); }
.wide img { width: 100%; height: 100%; object-fit: cover; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.duo__item { padding: clamp(30px, 4vw, 54px); border-radius: var(--radius); background: var(--cream); }
.duo__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.duo__item .h-lg { margin-bottom: 16px; }
.duo__item > p { color: var(--muted); }
.markets > div { display: grid; grid-template-columns: 11em 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.markets dt { font-weight: 700; }
.markets dd { color: var(--muted); }
.brands__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.brand { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.brand::before { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; border: 22px solid var(--cream); }
.brand h3 { position: relative; margin-bottom: 12px; font: 800 1.6rem/1.1 var(--display); font-stretch: 80%; }
.brand p { position: relative; color: var(--muted); }

/* ---------- Offices ---------- */
.offices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.office { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.sec--white .office { background: var(--cream); box-shadow: none; }
.office__n { color: var(--gold-ink); font: 800 .8rem/1 var(--display); letter-spacing: .16em; }
.office h3 { font: 700 1.25rem/1.2 var(--display); font-stretch: 85%; }
.office__note { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.office ul { display: grid; gap: 10px; margin-bottom: auto; font-size: .95rem; }
.office li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.office li .i { margin-top: 3px; color: var(--gold-ink); }
.office li a { text-decoration: none; }
.office li a:hover { text-decoration: underline; }
.office .link { align-self: flex-start; margin-top: 8px; }

/* ---------- Gallery ---------- */
.gal__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 999px; background: none; font: 600 .92rem/1 var(--display); font-stretch: 92%; transition: background-color .3s, border-color .3s, color .3s; }
.chip small { color: var(--muted); font-size: .78rem; }
.chip:hover { border-color: var(--text); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.is-on small { color: var(--gold); }
.gal__grid:not(.vgrid) { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 14px; }
.gal__grid:not(.vgrid) li { animation: pop .5s var(--ease) both; }
.gal__grid:not(.vgrid) li:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gal__grid li.is-out { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.gal__grid:not(.vgrid) a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 14px; background: var(--sand); }
.gal__grid:not(.vgrid) img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1s var(--ease); }
.gal__grid:not(.vgrid) a:hover img { transform: scale(1.06); }
.gal__grid a:hover .gal__zoom, .gal__grid a:focus-visible .gal__zoom { opacity: 1; }
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 15, 12, .96); color: var(--white); }
.lightbox[open] { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; animation: fade .3s; }
.lightbox::backdrop { background: transparent; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { grid-column: 2; display: grid; justify-items: center; gap: 16px; max-height: 100%; padding: 60px 0 30px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 8px; object-fit: contain; animation: fade .35s; }
.lightbox figcaption { display: flex; gap: 18px; align-items: baseline; color: rgba(255, 255, 255, .85); text-align: center; }
.lightbox figcaption b { color: var(--gold); font: 700 .8rem/1 var(--display); letter-spacing: .12em; }
.lightbox__close { position: absolute; right: 20px; top: 20px; }
.lightbox__prev { grid-column: 1; justify-self: center; }
.lightbox__next { grid-column: 3; justify-self: center; }

/* ---------- Quote form ---------- */
.enq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.enq__side .h-xl { margin-bottom: 18px; }
.enq__side > p:not(.label) { color: var(--muted); }
.enq__direct { display: grid; gap: 10px; margin-top: 26px; font-weight: 600; }
.enq__direct li { display: flex; gap: 12px; align-items: center; }
.enq__direct .i { color: var(--gold-ink); }
.details { display: grid; gap: 0; margin-top: 30px; }
.details > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.details dt { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.details dt .i { margin-top: 3px; color: var(--gold-ink); }
.details a { text-decoration-color: var(--gold-2); }
.form-wrap { padding: clamp(24px, 3.5vw, 46px); border-radius: 24px; background: var(--cream); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form__trap { position: absolute; left: -9999px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font: 700 .88rem/1.2 var(--display); font-stretch: 92%; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid transparent; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(233, 194, 74, .25); }
.field [aria-invalid="true"] { border-color: var(--lentil); }
.field ::placeholder { color: #8b928d; }
.field__err { color: #a63c1c; font-size: .88rem; font-weight: 600; }
.field--check label { display: flex; gap: 12px; align-items: flex-start; font: 400 .92rem/1.5 var(--body); }
.field--check input { flex: none; width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--ink); box-shadow: none; }
.notice { margin-bottom: 22px; padding: 18px 22px; border-radius: 14px; }
.notice:focus { outline: none; }
.notice--err { background: #f7e1d8; color: #7d2b12; font-weight: 600; }
.notice--ok { padding: 34px; background: var(--ink); color: var(--white); }
.notice--ok h3 { margin: 14px 0 8px; font: 700 1.6rem/1.1 var(--display); font-stretch: 85%; }
.notice--ok a { color: var(--gold); }
.notice__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.preview-note { margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: var(--ink); color: var(--white); }

/* ---------- Map ---------- */
.map { position: relative; min-height: 520px; display: grid; background: var(--ink) url("../img/page/contact@1280.webp") center / cover; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__cover { position: relative; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 80px var(--gutter); text-align: center; color: var(--white); background: rgba(12, 18, 15, .78); }
.map__cover[hidden] { display: none; }
.map__cover > p { color: rgba(255, 255, 255, .85); max-width: 40em; }
.map__pin { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: var(--gold); color: var(--ink); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(233, 194, 74, .55); } 70%, 100% { box-shadow: 0 0 0 26px rgba(233, 194, 74, 0); } }
.map__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; margin-top: 12px; }
.map__note { font-size: .88rem; color: rgba(255, 255, 255, .7) !important; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose__lead { font: 600 1.3rem/1.5 var(--display); font-stretch: 92%; }
.prose h2 { margin: 42px 0 12px; font: 700 1.5rem/1.2 var(--display); font-stretch: 85%; }
.prose p { color: var(--muted); }
.prose a { color: var(--text); text-decoration-color: var(--gold-2); }

/* ---------- Pager ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-bottom: 1px solid var(--line-ink); }
.pager a { display: grid; gap: 6px; padding: clamp(34px, 5vw, 60px) var(--gutter); color: var(--white); text-decoration: none; transition: background-color .35s; }
.pager a + a { text-align: right; border-left: 1px solid var(--line-ink); }
.pager a:hover { background: var(--forest); }
.pager small { color: var(--gold); font: 700 .78rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.pager span { font: 700 clamp(1.5rem, 3vw, 2.4rem)/1.1 var(--display); font-stretch: 82%; }

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: grid; align-items: center; padding-top: calc(var(--hdr) + 100px); overflow: hidden; }
.notfound .wrap { position: relative; }
.notfound__mark { position: absolute; right: -60px; top: -40px; width: clamp(200px, 30vw, 420px); opacity: .12; animation: turn 60s linear infinite; }
.notfound .h-xxl { max-width: 11em; }
.notfound .wrap > p:not(.label) { margin-top: 20px; max-width: 34em; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px !important; }
.is-dark-top .hdr::before { opacity: 0; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--on-ink); padding-top: clamp(70px, 9vw, 120px); }
.ftr__top { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.ftr__brand img { width: min(300px, 100%); }
.ftr__brand p { max-width: 24em; margin-top: 24px; }
.ftr h2 { margin-bottom: 18px; color: var(--white); font: 700 .8rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.ftr ul { display: grid; gap: 8px; }
.ftr a { color: var(--on-ink); text-decoration: none; transition: color .25s; }
.ftr a:hover { color: var(--gold); }
.ftr__contact p { margin-top: 14px; }
.ftr .link--light { color: var(--white); }
.social { display: flex !important; gap: 10px !important; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-ink); }
.social a:hover { background: var(--gold); color: var(--ink); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding: 26px 0 30px; border-top: 1px solid var(--line-ink); font-size: .88rem; }
.ftr__base { padding-bottom: 100px; } /* keeps the last line clear of the floating buttons */

/* ---------- Floating buttons ---------- */
.fab { position: fixed; z-index: 50; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; text-decoration: none; }
.fab--wa { left: max(22px, env(safe-area-inset-left, 0px)); background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(18, 26, 22, .55); transition: transform .35s var(--ease); }
.fab--wa::before, .fab--wa::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; border: 2px solid #25d366; opacity: 0; animation: fab-ring 3s ease-out infinite; }
.fab--wa::after { animation-delay: 1s; }
@keyframes fab-ring { 0% { transform: scale(1); opacity: .8; } 60%, 100% { transform: scale(1.9); opacity: 0; } }
.fab--wa svg { animation: fab-nudge 6s ease-in-out 2.5s infinite; }
@keyframes fab-nudge { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 95% { transform: rotate(-8deg); } 98% { transform: rotate(4deg); } }
.fab--wa:hover { transform: translateY(-3px) scale(1.04); }
.fab__label { position: absolute; left: calc(100% + 12px); top: 50%; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font: 600 .85rem/1 var(--display); white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(-8px, -50%); transition: opacity .3s, transform .35s var(--ease), visibility .3s; pointer-events: none; }
.fab--wa:hover .fab__label, .fab--wa:focus-visible .fab__label { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.fab--top { right: max(22px, env(safe-area-inset-right, 0px)); background: var(--ink); color: var(--gold); box-shadow: 0 12px 30px -8px rgba(18, 26, 22, .5); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s, transform .45s var(--ease), visibility .4s, background-color .3s, color .3s; }
.fab--top.is-on { opacity: 1; visibility: visible; transform: none; }
.fab--top:hover { background: var(--gold); color: var(--ink); }
.fab__progress { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab__progress circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: var(--left, 1); }
.fab--top:hover .fab__progress circle { stroke: var(--ink); }
.menu-open .fab { visibility: hidden; }

/* ---------- Holding page ---------- */
.is-hold { background: var(--ink); }
.hold { position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 40px var(--gutter); color: var(--white); text-align: center; overflow: hidden; }
.hold__bg { position: absolute; inset: 0; }
.hold__bg img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s var(--ease) both; }
.hold__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(12, 18, 15, .62), rgba(12, 18, 15, .86)); }
.hold__inner { position: relative; display: grid; justify-items: center; gap: 24px; max-width: 760px; }
.hold__logo { position: relative; width: min(420px, 82vw); }
.hold__title { margin-top: 12px; font: 700 clamp(2.2rem, 5.6vw, 4rem)/1.02 var(--display); font-stretch: 82%; text-wrap: balance; }
.hold__text { max-width: 32em; font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: rgba(255, 255, 255, .88); }
.hold__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.preview-bar { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 70; width: min(680px, calc(100% - 180px)); padding: 12px 18px; transform: translateX(-50%); border-radius: 14px; background: var(--lentil); color: var(--white); font-size: .9rem; line-height: 1.4; text-align: center; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.preview-bar a { color: var(--white); font-weight: 700; }

/* ---------- Scroll reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * .09s); }
/* Wipes clip the contents, not the element itself, so the element stays measurable for the observer */
.js [data-reveal="wipe"] { opacity: 1; transform: translateY(var(--py, 0)); }
.js [data-reveal="wipe"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-io) calc(var(--d, 0) * .09s); }
.js [data-reveal].is-in { opacity: 1; transform: translateY(var(--py, 0)); }
.js [data-reveal="wipe"].is-in > * { clip-path: inset(0 0 0 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hdr__cat span { display: none; }
  .nav > ul { gap: 18px; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 4) { border-top: 1px solid var(--line-ink); }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .process__list { grid-template-columns: repeat(3, 1fr); row-gap: 46px; }
  .process__list::before, .process__list::after { display: none; }
}
@media (max-width: 1040px) {
  :root { --hdr: 74px; }
  .nav, .hdr__bar { display: none; }
  .hdr.is-stuck .hdr__in { height: 66px; }
  .burger { display: grid; }
  .hdr__in { grid-template-columns: 1fr auto; }
  .press__grid { grid-template-columns: 1fr; }
  .press__card { grid-template-columns: 90px 1fr; }
  .offices__grid, .brands__grid { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
}
@media (max-width: 860px) {
  .sec { padding-block: clamp(64px, 14vw, 96px); }
  .intro__grid, .split__grid, .enq__grid, .faq__grid, .row { grid-template-columns: 1fr; }
  .intro__art { max-width: 460px; margin-inline: auto; width: 100%; padding-left: 24px; }
  .split .dframe { max-width: 440px; margin-inline: auto; width: 100%; }
  .row--flip .row__media { order: 0; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .svc__grid { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .gal__grid:not(.vgrid) { grid-template-columns: 1fr 1fr; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .facts__grid > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .facts__grid > div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line-ink); }
  .caps__grid { grid-template-columns: 1fr 1fr; }
  .duo__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 150px; }
  .hero__media::after { background: linear-gradient(0deg, rgba(12, 18, 15, .92) 0%, rgba(12, 18, 15, .6) 45%, rgba(12, 18, 15, .15) 75%), linear-gradient(180deg, rgba(12, 18, 15, .5) 0%, rgba(12, 18, 15, 0) 25%); }
  .hero__tab-label { display: none; }
  .hero__tabs { gap: 10px; }
  .hero__ctrl { bottom: 26px; align-items: center; }
  .icon-btn { width: 42px; height: 42px; }
  .hero__btns [data-prev], .hero__btns [data-next] { display: none; }
}
@media (max-width: 640px) {
  .hdr__cta { display: none; }
  .hdr__in { gap: 12px; }
  .hdr__actions { gap: 14px; }
  .hdr__logo { width: 190px; }
  .offices__grid, .brands__grid, .caps__grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .pcard__img { border-radius: 90px 90px 14px 14px; }
  .pcard__body { padding: 12px 0 0; }
  .pcard__go { display: none; }
  .pcard__name { font-size: 1.08rem; }
  .pcard__tag { font-size: .84rem; }
  .pcard--cat { padding: 20px; border-radius: 90px 90px 14px 14px; }
  .pcard__cat-icon { width: 50px; height: 50px; }
  .pcard--cat .pcard__name { font-size: 1.15rem; }
  .hero__tabs { margin-left: 62px; }
  .facts dt { font-size: 2rem; }
  .facts__grid > div { padding-block: 24px; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat, .stat:first-child, .stat:nth-child(4) { padding: 26px 0 26px 18px; border-left: 0; border-top: 1px solid var(--line-ink); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line-ink); }
  .stat:first-child { grid-column: 1 / -1; border-top: 0; }
  .stat:first-child .stat__label { max-width: none; }
  .stat:nth-child(2) { border-left: 0; padding-left: 0; }
  .stat:nth-child(3) { border-left: 1px solid var(--line-ink); padding-left: 18px; }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(5) { border-left: 1px solid var(--line-ink); padding-left: 18px; }
  .process__list { grid-template-columns: 1fr; gap: 0; }
  .process__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 30px; }
  .process__step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line-ink); }
  .process__step:last-child::before { display: none; }
  .process__dot { grid-row: span 2; margin: 0; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .details > div, .markets > div { grid-template-columns: 1fr; gap: 4px; }
  .gal__grid:not(.vgrid) { gap: 8px; }
  .pager span { font-size: 1.25rem; }
  .ftr__top { grid-template-columns: 1fr; }
  .fab { width: 52px; height: 52px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .fab--wa { left: max(16px, env(safe-area-inset-left, 0px)); }
  .fab--top { right: max(16px, env(safe-area-inset-right, 0px)); }
  .fab__label { display: none; }
  .preview-bar { width: calc(100% - 150px); font-size: .8rem; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .seal { width: 112px; height: 112px; right: -6px; }
  .seal__mark { width: 36px; }
  .press__card { grid-template-columns: 76px 1fr; gap: 16px; padding: 18px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; padding: 64px 12px 0; }
  .lightbox__prev, .lightbox__next { grid-row: 2; margin-bottom: 24px; }
  .lightbox__prev { grid-column: 1; } .lightbox__next { grid-column: 2; }
  .lightbox img { max-height: calc(100dvh - 200px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__track, .seal__text, .phead__mark, .notfound__mark { animation: none !important; }
}
