/* Akasaki — first draft (Oct 2026).
   The logo's square with its arrow is a route, so the site is built on routes: supplier to shelf.
   Deep slate for the panels, the logo's red for accents, a warm sand behind; Inter Tight in two weights
   for headings (heavy against light, never italic), Inter for text. Pictures sit in .ph frames (an <img> inside; prepare_akasaki_photos.py makes them). */

:root {
  --ink: #16232C;
  --slate: #1E2E38;
  --slate-2: #2A3D49;
  --red: #A44549;
  --red-dk: #83363A;
  --red-soft: #F6E7E7;
  --sand: #F5F2EE;
  --line: #E6E1DA;
  --body: #4C5861;
  --muted: #7D878E;
  --tag-lilac: #C9BCFF;
  --tag-sun: #F6D44C;
  --tag-sky: #A9D2F5;
  --tag-mint: #AEE3C6;
  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
em, i { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.label::before { content: ""; width: 18px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; font-family: var(--head); color: var(--ink); letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; font-weight: 400; }
h2 b, h1 b { font-weight: 800; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.lede { font-size: clamp(15px, 1.2vw, 17.5px); color: var(--body); max-width: 52ch; }
.sec { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.sec-sand { background: var(--sand); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 14.5px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--red); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); }
.btn-line { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--red-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* placeholder: a quiet frame naming the picture that belongs there */
.ph { position: relative; display: grid; place-items: center; min-height: 140px; border-radius: var(--r); overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(22, 35, 44, .05) 0 12px, transparent 12px 24px), #EEEAE4; }
.ph::before { content: ""; position: absolute; top: calc(50% - 30px); left: 50%; width: 30px; height: 30px; transform: translateX(-50%); opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316232C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat; }
.ph::after { content: attr(data-ph); position: relative; top: 16px; max-width: 84%; text-align: center; font: 500 12px/1.4 var(--sans); color: var(--ink); opacity: .7; }
.ph-dark { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px), var(--slate-2); }
.ph-dark::before { filter: invert(1); }
.ph-dark::after { color: #fff; }
/* a photograph fills its frame; the placeholder's icon and label go */
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(> img) { background: var(--sand); }
.ph:has(> img)::before, .ph:has(> img)::after { display: none; }

/* tags, as in the reference: small coloured labels pinned to pictures */
.tag { position: absolute; z-index: 2; padding: 6px 10px; border-radius: 8px; font: 600 12px/1.2 var(--sans); color: var(--ink); white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(22, 35, 44, .5); }
.tag-lilac { background: var(--tag-lilac); } .tag-sun { background: var(--tag-sun); } .tag-sky { background: var(--tag-sky); } .tag-mint { background: var(--tag-mint); }

/* ---------- header: white, flush to the top; a route-red dot marks the page ---------- */
.head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 2.4vw, 40px); height: 78px; }
.logo { display: flex; align-items: center; justify-self: start; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav > a { position: relative; font: 500 15px/1 var(--sans); color: var(--body); text-decoration: none; padding: 10px 0; transition: color .2s; }
.nav > a::before { content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .25s var(--ease); }
.nav > a:hover, .nav > a[aria-current] { color: var(--ink); }
.nav > a[aria-current]::before { transform: scale(1); }
.nav-extra { display: none; }
.head-cta { justify-self: end; }
.menu-btn { display: none; grid-column: 3; justify-self: end; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 14px/1 var(--sans); }
.menu-btn b { font-weight: 600; }
.menu-btn .bars { position: relative; width: 18px; height: 12px; }
.menu-btn .bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn .bars span:first-child { top: 1px; }
.menu-btn .bars span:last-child { top: 9px; }
.menu-btn[aria-expanded="true"] .bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------- hero: one wide picture; the words and buttons across its foot, the promises beside them ---------- */
.hero { padding-top: 16px; }
.hero-frame { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: end; align-items: end; gap: 28px 40px; min-height: clamp(560px, 84svh, 860px); padding: clamp(22px, 3.4vw, 52px); border-radius: var(--r); overflow: hidden; background: var(--slate-2); color: #fff; isolation: isolate; }
.hero-frame > .ph { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.hero-frame > .ph img { object-position: 50% 85%; animation: settle 2.4s var(--ease) both; }
.hero-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 24, 31, .9) 0%, rgba(14, 24, 31, .62) 32%, rgba(14, 24, 31, .1) 62%, transparent 75%); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-copy > * { animation: lift .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.hero-eyebrow span { width: 22px; height: 2px; background: var(--red); }
.hero-lede { max-width: 22ch; margin: 14px 0 26px; font: 400 clamp(28px, 3vw, 44px)/1.08 var(--head); letter-spacing: -.035em; color: #fff; }
.hero-lede b { font-weight: 800; }
.badges { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: 0; list-style: none; font: 500 14px/1.2 var(--sans); animation: lift .9s .36s var(--ease) both; }
.badges li { display: flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.badges svg { width: 18px; height: 18px; }
@keyframes lift { from { opacity: 0; transform: translateY(22px); } }
@keyframes settle { from { transform: scale(1.08); } }

/* ---------- statement: a centred line ringed by drifting pictures, a dashed route turning behind ---------- */
.statement { position: relative; isolation: isolate; text-align: center; padding: clamp(170px, 16vw, 230px) 0 clamp(150px, 14vw, 205px); }
.statement h2 { max-width: 19ch; margin: 0 auto 30px; font-size: clamp(30px, 3.9vw, 56px); }
.statement .label { justify-content: center; }
.statement .btn { margin: 0 auto; }
.st-route { position: absolute; top: 7%; left: 3%; z-index: -1; width: 94%; height: 86%; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 7 11; opacity: .35; }
.st-route path { vector-effect: non-scaling-stroke; animation: march 40s linear infinite; }
.float { position: absolute; width: clamp(150px, 15vw, 230px); opacity: 0; scale: .82; translate: calc(var(--mx, 0) * var(--d, 14px)) calc(var(--my, 0) * var(--d, 14px)); transition: opacity 1s var(--ease) var(--t, 0s), scale 1.1s var(--ease) var(--t, 0s), translate .7s var(--ease); }
.statement.on .float { opacity: 1; scale: 1; }
.float .ph { aspect-ratio: 4 / 3; min-height: 0; border-radius: var(--r-sm); box-shadow: 0 28px 44px -26px rgba(22, 35, 44, .55); animation: bob 7s ease-in-out infinite; }
.float .ph::before { display: none; }
.float .ph::after { top: 0; font-size: 11px; }
.float .tag { top: -12px; left: 18px; }
.f1 { top: 10%; left: 5%; transform: rotate(-7deg); --d: 22px; --t: .05s; }
.f2 { top: 8%; right: 6%; transform: rotate(5deg); --d: -16px; --t: .18s; }
.f3 { bottom: 8%; left: 9%; transform: rotate(6deg); --d: 18px; --t: .3s; }
.f4 { bottom: 6%; right: 5%; transform: rotate(-5deg); --d: -24px; --t: .42s; }
.f2 .ph { animation-duration: 8.5s; animation-delay: -2s; }
.f3 .ph { animation-duration: 7.8s; animation-delay: -4s; }
.f4 .ph { animation-duration: 9s; animation-delay: -1s; }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes march { to { stroke-dashoffset: -360; } }

/* ---------- split: picture with a card that steps through the services; the slate panel beside ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--r); overflow: hidden; background: var(--slate); }
.split-pic { position: relative; min-height: 560px; }
.split-pic > .ph { position: absolute; inset: 0; border-radius: 0; }
.svc { position: absolute; left: clamp(12px, 1.6vw, 22px); bottom: clamp(12px, 1.6vw, 22px); width: min(300px, calc(100% - 24px)); padding: 16px 18px 14px; border-radius: var(--r-sm); background: #fff; box-shadow: 0 30px 50px -30px rgba(22, 35, 44, .6); }
.svc-num { font: 700 11px/1 var(--sans); letter-spacing: .12em; color: var(--red); }
.svc h3 { margin: 6px 0 6px; font-size: 19px; }
.svc p { font-size: 13.5px; line-height: 1.5; color: var(--body); min-height: 4.5em; }
.svc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.svc-foot a { font: 600 13px/1 var(--sans); color: var(--ink); }
.svc-arrows { display: flex; gap: 6px; }
.svc-arrows button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); transition: border-color .2s, background .2s; }
.svc-arrows button:hover { border-color: var(--ink); }
.svc-arrows svg { width: 15px; height: 15px; }
.split-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 56px); color: rgba(255, 255, 255, .78); }
.split-panel h2 { color: #fff; margin-bottom: 18px; }
.split-panel .label { color: var(--tag-sun); }
.split-panel .btn { margin-top: 26px; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumbs button { display: grid; gap: 8px; text-align: left; font: 600 12.5px/1.2 var(--sans); color: rgba(255, 255, 255, .7); transition: color .2s; }
.thumbs .ph { aspect-ratio: 1; min-height: 0; border-radius: 12px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.thumbs .ph::before { top: calc(50% - 11px); width: 22px; height: 22px; }
.thumbs .ph::after { display: none; }
.thumbs button[aria-pressed="true"] { color: #fff; }
.thumbs button[aria-pressed="true"] .ph { box-shadow: inset 0 0 0 2.5px var(--red), 0 0 0 0 transparent; outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- partner: two columns of pictures and words, figures beneath ---------- */
.partner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.partner-left h3 { font-family: var(--head); font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; max-width: 22ch; margin-bottom: 22px; }
.pic-tagged { position: relative; }
.pic-tagged { max-width: 360px; }
.pic-tagged .tag { top: 18px; right: 14px; }
.pic-tagged .tag-b { top: auto; right: auto; bottom: 22px; left: 14px; }
.ph-person { aspect-ratio: 4 / 5; min-height: 0; max-width: 360px; }
.ph-wide { aspect-ratio: 16 / 10; min-height: 0; margin-bottom: 28px; }
.partner-right h2 { margin-bottom: 14px; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.figures div { padding: 18px 18px 16px; border-radius: var(--r-sm); background: var(--sand); }
.figures dt { font: 800 clamp(30px, 3vw, 42px)/1 var(--head); letter-spacing: -.04em; color: var(--ink); }
.figures dd { margin: 8px 0 0; font-size: 13.5px; color: var(--body); }

/* ---------- categories ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat { display: flex; flex-direction: column; border-radius: var(--r); background: #fff; text-decoration: none; overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cat:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -30px rgba(22, 35, 44, .5); }
.cat .ph { aspect-ratio: 4 / 3; min-height: 0; border-radius: 0; }
.cat-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 18px 20px; }
.cat-body p { font-size: 14px; color: var(--body); }
.cat-go { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font: 600 13.5px/1 var(--sans); color: var(--red); }
.cat-go svg { width: 16px; height: 16px; }

/* ---------- closing band ---------- */
.closing { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; align-items: end; gap: 28px 48px; padding: clamp(32px, 5vw, 72px); border-radius: var(--r); background: var(--slate); color: rgba(255, 255, 255, .78); overflow: hidden; isolation: isolate; }
.closing::before { content: ""; position: absolute; right: -60px; top: -60px; z-index: -1; width: 300px; height: 300px; border: 34px solid rgba(255, 255, 255, .05); border-radius: 36px; }
.closing h2 { color: #fff; margin-bottom: 14px; max-width: 18ch; }
.closing .actions { justify-content: flex-end; }

.closing-wrap { margin-top: clamp(64px, 9vw, 120px); }
.sec + .closing-wrap { margin-top: 0; }

/* ---------- footer ---------- */
.foot { margin-top: clamp(64px, 9vw, 120px); background: var(--ink); color: rgba(255, 255, 255, .7); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: clamp(44px, 6vw, 72px); padding-bottom: 36px; }
.foot-logo { display: inline-block; padding: 10px 14px; border-radius: var(--r-sm); background: #fff; }
.foot-logo img { height: 64px; width: auto; }
.foot-brand p { margin-top: 16px; font-size: 14px; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.foot-col h3 { margin-bottom: 6px; font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tag-sun); }
.foot-col a { text-decoration: none; color: rgba(255, 255, 255, .82); }
.foot-col a:hover { color: #fff; }
.foot-base { padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .55); }
.foot-base a { color: rgba(255, 255, 255, .8); }

/* ---------- inner pages ---------- */
.page-head { padding-top: 16px; }
.page-head-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; padding: clamp(32px, 5vw, 72px); border-radius: var(--r); background: var(--slate); color: rgba(255, 255, 255, .78); overflow: hidden; isolation: isolate; }
.page-head-in::before { content: ""; position: absolute; right: -50px; bottom: -80px; z-index: -1; width: 280px; height: 280px; border: 30px solid rgba(255, 255, 255, .05); border-radius: 34px; }
.page-head .label { color: var(--tag-sun); }
.page-head h1 { color: #fff; font-size: clamp(44px, 7vw, 104px); line-height: .92; font-weight: 300; letter-spacing: -.05em; }

/* products */
.chips { position: sticky; top: 78px; z-index: 10; display: flex; gap: 8px; margin: 0 0 8px; padding: 14px 0; background: #fff; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font: 600 14px/1 var(--sans); color: var(--body); transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--ink); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.group { padding: 36px 0 12px; }
.group[hidden] { display: none; }
.group-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.group-head h2 { font-size: clamp(26px, 2.8vw, 38px); }
.group-head p { font-size: 14.5px; color: var(--body); max-width: 50ch; }
.items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.item { display: flex; flex-direction: column; border-radius: var(--r-sm); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.item .ph { aspect-ratio: 1; min-height: 0; border-radius: 0; }
.item .ph::after { font-size: 11.5px; }
.item-body { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; }
.item-body h3 { font-size: 16px; }
.ask { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: var(--ink); transition: background .2s, color .2s; }
.ask:hover { background: var(--red); color: #fff; }
.ask svg { width: 16px; height: 16px; }
.note { margin-top: 32px; padding: 20px 22px; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red-dk); font-size: 15px; }
.note a { font-weight: 600; }

/* about */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.story .lede + .lede { margin-top: 16px; }
.ph-story { aspect-ratio: 5 / 4; min-height: 0; }
.vision { max-width: 30ch; margin: 0 auto; text-align: center; font: 400 clamp(26px, 3.2vw, 44px)/1.15 var(--head); letter-spacing: -.03em; color: var(--ink); }
.vision b { font-weight: 800; }
.vision-wrap .label { display: flex; justify-content: center; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.value { padding: 26px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.value span { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; font: 800 15px/1 var(--head); color: var(--ink); }
.value h3 { margin-bottom: 8px; }
.value p { font-size: 14.5px; color: var(--body); }
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); }
.office { align-self: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--slate); color: rgba(255, 255, 255, .8); }
.office h3 { color: #fff; margin-bottom: 14px; }
.office p { margin-bottom: 18px; }
.office a { display: block; color: #fff; text-decoration: none; font-weight: 600; margin-bottom: 8px; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font: 600 13px/1.3 var(--sans); color: var(--ink); }
.form input, .form textarea { width: 100%; padding: 13px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--sand); }
.form .btn { justify-self: start; }
.form small { color: var(--muted); font-size: 13px; }

/* reveal on scroll */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* ---------- screen sizes ---------- */
@media (max-width: 1100px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; inset: 79px 0 0 0; margin: 0; padding: 10px var(--gut) 28px; background: var(--ink); overflow-y: auto; animation: drop .3s var(--ease); }
  .nav.open > a { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font: 300 clamp(26px, 6vw, 36px)/1 var(--head); letter-spacing: -.03em; color: rgba(255, 255, 255, .75); }
  .nav.open > a::before { display: none; }
  .nav.open > a::after { content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
  .nav.open > a[aria-current] { color: #fff; font-weight: 700; }
  .nav.open > a[aria-current]::after { border-color: var(--red); }
  .nav.open .nav-extra { display: grid; gap: 10px; margin-top: 28px; color: rgba(255, 255, 255, .7); font-size: 14px; }
  .nav-extra .btn { width: 100%; }
  .nav-extra p { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .nav-extra p a { color: #fff; text-decoration: none; }
  .cats, .items, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split-pic { min-height: 480px; }
  .float { width: clamp(110px, 16vw, 150px); }
}
@media (max-width: 860px) {
  .partner, .story, .contact, .page-head-in { grid-template-columns: 1fr; }
  .closing { grid-template-columns: 1fr; }
  .closing .actions { justify-content: flex-start; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  /* the tilted pictures come off the edges and sit as a row above the line */
  .statement { padding: 64px 0 clamp(72px, 10vw, 110px); }
  .st-route { display: none; }
  .floats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 44px; }
  .floats { padding: 0 14px; }
  .pic-tagged { max-width: none; }
  .ph-person { aspect-ratio: 16 / 10; max-width: none; }
  .float { position: relative; inset: auto; width: auto; translate: none; }
  .f1, .f3 { transform: rotate(-3deg); }
  .f2, .f4 { transform: rotate(3deg); }
}
@media (max-width: 600px) {
  .head-in { height: 68px; }
  .logo img { height: 48px; }
  .nav.open { top: 69px; }
  .chips { top: 68px; }
  html { scroll-padding-top: 80px; }
  .hero { padding-top: 10px; }
  .hero-frame { grid-template-columns: 1fr; gap: 18px; min-height: calc(100svh - 96px); padding: 22px 18px 20px; border-radius: 18px; }
  .hero-frame::after { background: linear-gradient(0deg, rgba(14, 24, 31, .92) 0%, rgba(14, 24, 31, .7) 42%, rgba(14, 24, 31, .1) 72%, transparent 85%); }
  .hero-lede { margin: 12px 0 20px; font-size: clamp(27px, 7.6vw, 34px); }
  .hero-eyebrow { gap: 8px; font-size: 10.5px; letter-spacing: .1em; }
  .hero-eyebrow span { width: 14px; }
  .hero-copy .actions { display: grid; grid-template-columns: 1fr; }
  .badges { flex-direction: row; flex-wrap: wrap; gap: 6px; font-size: 12px; }
  .badges li { gap: 6px; padding: 7px 11px 7px 9px; }
  .badges svg { width: 15px; height: 15px; }
  .floats { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding: 0 10px; }
  .foot { margin-top: 56px; }
  .foot-in { gap: 22px 18px; padding-top: 30px; padding-bottom: 20px; }
  .foot-brand { display: flex; align-items: center; }
  .foot-logo { padding: 6px 10px; border-radius: 10px; }
  .foot-logo img { height: 40px; }
  .foot-brand p, .foot-in > nav.foot-col { display: none; }
  .foot-col { gap: 6px; font-size: 13px; }
  .foot-col h3 { margin-bottom: 2px; font-size: 11px; }
  .foot-col p { font-size: 13px; line-height: 1.45; }
  .foot-base { padding-top: 14px; padding-bottom: 16px; font-size: 12px; }
  .split-pic { display: flex; flex-direction: column; min-height: 0; padding-bottom: 12px; }
  .split-pic > .ph { position: relative; aspect-ratio: 4 / 3; }
  .svc { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 12px 0; }
  .split-panel { padding: 24px 18px 26px; gap: 24px; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures { grid-template-columns: 1fr; }
  .figures div { display: flex; align-items: baseline; gap: 14px; }
  .figures dd { margin: 0; }
  .values { grid-template-columns: 1fr; }
  .cats { gap: 10px; }
  .cat-body { padding: 12px 12px 14px; gap: 6px; }
  .cat-body h3 { font-size: 15px; }
  .cat-body p { display: none; }
  .cat-go { font-size: 12.5px; }
  .items { grid-template-columns: 1fr 1fr; gap: 10px; }
  .item-body { padding: 12px; }
  .item-body h3 { font-size: 14.5px; }
  .closing .actions, .closing .btn { width: 100%; }
  .page-head-in::before, .closing::before { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .badges, .hero-frame > .ph img, .float .ph, .st-route path { animation: none; }
  .float { opacity: 1; scale: 1; transition: none; }
}

/* ---- Tablet: tighter, more per row ---- */
@media (min-width: 601px) and (max-width: 1100px) {
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-pic { min-height: 420px; }
  .partner-right .ph-wide { aspect-ratio: 16 / 8; }
  .ph-person { aspect-ratio: 16 / 8; }
  .figures dt { font-size: 30px; }
  .foot-in { padding-top: 44px; gap: 26px 32px; }
}

/* ---- Phones: same look, a step smaller, far less scrolling ---- */
@media (max-width: 600px) {
  .sec { padding-top: 52px; padding-bottom: 52px; }
  h2 { font-size: 27px; }
  .hero-frame { min-height: min(calc(100svh - 96px), 600px); }

  /* statement: the four pictures as one small row */
  .statement { padding: 44px 0 56px; }
  .floats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0; margin-bottom: 30px; }
  .float .tag { top: -9px; left: 6px; padding: 3px 6px; font-size: 9px; }
  .float .ph { border-radius: 10px; }
  .statement h2 { font-size: 25px; margin-bottom: 22px; }

  /* services: shorter picture, four small thumbnails in one row */
  .split-pic > .ph { aspect-ratio: 16 / 10; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .thumbs button { font-size: 11px; gap: 6px; }
  .thumbs .ph { border-radius: 9px; }
  .split-panel .btn { margin-top: 18px; }

  /* who we work with: wide, short pictures and the three figures side by side */
  .partner { gap: 28px; }
  .ph-person { aspect-ratio: 16 / 9; }
  .ph-wide { aspect-ratio: 16 / 9; margin-bottom: 20px; }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
  .figures div { display: block; padding: 12px 10px; text-align: center; }
  .figures dt { font-size: 24px; }
  .figures dd { margin-top: 5px; font-size: 11px; line-height: 1.25; }

  /* products and about */
  .page-head h1 { font-size: 46px; }
  .items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .item-body { padding: 8px 8px 10px; gap: 4px; }
  .item-body h3 { font-size: 12.5px; line-height: 1.2; }
  .item-body .ask { width: 26px; height: 26px; flex: none; }
  .values { grid-template-columns: 1fr 1fr; gap: 10px; }
  .value { padding: 16px 14px; }
  .value span { width: 32px; height: 32px; margin-bottom: 10px; font-size: 12px; border-radius: 9px; }
  .value p { font-size: 13.5px; }

  /* closing box */
  .closing { padding: 26px 20px; gap: 18px; }
  .closing h2 { font-size: 26px; }
}

/* ================= Second pass (Oct 2026): calmer type, one big title per section ================= */
:root { --body: #27333B; --muted: #4F5B63; --ink: #142028; }
h1, h2, h3 { letter-spacing: -.025em; }
h2, .page-head h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; font-weight: 600; }
h2 b, h1 b, .vision b { font-weight: inherit; }
h3 { font-weight: 600; }
.lede, .sec-head .lede { max-width: 60ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--body); }
.sec-head { align-items: flex-end; }
.sec-head > div, .sec-head > h2 + .lede { display: grid; gap: 14px; }
.sec-head:has(> h2) { flex-direction: column; align-items: flex-start; gap: 14px; }

/* header: email and number instead of a quote button */
.head-contact { display: flex; justify-content: flex-end; align-items: center; gap: 22px; font: 600 14.5px/1 var(--sans); }
.head-contact a { color: var(--ink); text-decoration: none; }
.head-contact a:hover { color: var(--red); }
@media (max-width: 1100px) { .head-contact { display: none; } }

/* hero: the words centred on the picture, the three assurances in one row beneath */
.hero-frame { grid-template-columns: 1fr; align-content: center; justify-items: center; text-align: center; }
.hero-frame::after { background: linear-gradient(0deg, rgba(14, 24, 31, .78), rgba(14, 24, 31, .55) 50%, rgba(14, 24, 31, .7)); }
.hero-copy { display: grid; justify-items: center; max-width: 820px; }
.hero-eyebrow { justify-content: center; letter-spacing: .2em; }
.hero-eyebrow span { display: none; }
.hero-title { margin: 18px 0 30px; font: 500 clamp(34px, 4.6vw, 64px)/1.06 var(--head); letter-spacing: -.035em; color: #fff; }
.hero-copy .actions { justify-content: center; }
.badges { flex-direction: row; justify-content: center; flex-wrap: nowrap; gap: 12px; margin: 14px 0 0; padding: 0; animation: none; }
.badges li { flex: 1 1 0; justify-content: center; padding: 16px 18px; border-radius: var(--r-sm); background: var(--sand); border: 0; color: var(--ink); font: 600 14.5px/1.3 var(--sans); text-align: left; }
.badges svg { flex: none; width: 20px; height: 20px; color: var(--red); }

/* what we do */
.statement h2 { max-width: none; margin: 0 auto 18px; }
.statement-text { max-width: 54ch; margin: 0 auto 30px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--body); }

/* our services: picture with arrows, the service beneath it, the summary beside */
.split-pic { display: flex; flex-direction: column; min-height: 0; background: #fff; }
.split-pic > .ph.svc-pic { position: relative; inset: auto; aspect-ratio: 16 / 11; }
.svc-pic img { transition: opacity .3s; }
.svc-arrows { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: flex; gap: 8px; }
.svc-arrows button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transition: background .2s, color .2s; }
.svc-arrows button:hover { background: var(--red); color: #fff; }
.svc-arrows svg { width: 18px; height: 18px; }
.svc-dots { position: absolute; left: 18px; bottom: 32px; z-index: 2; display: flex; gap: 6px; }
.svc-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .55); transition: width .3s, background .3s; }
.svc-dots i.on { width: 24px; background: #fff; }
.svc { position: static; width: auto; margin: 0; padding: clamp(22px, 2.6vw, 32px); border-radius: 0; background: #fff; box-shadow: none; }
.svc h3 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 28px); }
.svc p { min-height: 0; font-size: clamp(15.5px, 1.15vw, 17px); line-height: 1.6; color: var(--body); }
.split-panel { justify-content: center; gap: 22px; color: rgba(255, 255, 255, .86); }
.split-panel h2 { margin: 0; }
.split-panel p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; }
.split-panel .btn { justify-self: start; align-self: flex-start; margin-top: 6px; }

/* who we work with */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair .ph { aspect-ratio: 4 / 3; min-height: 0; }
.assure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: center; margin-top: 28px; }
.assure h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 8px; }
.assure p { font-size: clamp(15.5px, 1.15vw, 17px); color: var(--body); }
.assure .figures { margin: 0; }
.figures dd { color: var(--body); }

/* about */
.page-head-in { grid-template-columns: 1fr; gap: 14px; }
.page-head h1 { font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.page-head-in p { max-width: 56ch; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .86); }
.story .lede { margin-top: 18px; }
.story .figures { margin-top: 28px; }
.vision-wrap h2 { text-align: center; margin-bottom: 18px; }
.vision { max-width: 36ch; font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; color: var(--ink); }
.value { border-top: 4px solid var(--c, var(--red)); }
.value h3 { font-size: 21px; margin-bottom: 10px; }
.value p { color: var(--body); font-size: 15.5px; }
.cat-body p, .item-body h3 { color: var(--ink); }
.cat-body p { color: var(--body); }

@media (max-width: 860px) {
  .assure { grid-template-columns: 1fr; }
  .badges { flex-wrap: wrap; }
  .badges li { flex: 1 1 100%; justify-content: flex-start; }
}
@media (max-width: 600px) {
  h2, .page-head h1 { font-size: 30px; }
  .hero-frame { padding: 28px 18px; min-height: 480px; }
  .hero-title { font-size: 30px; margin: 14px 0 22px; }
  .hero-copy .actions { width: 100%; }
  .badges { gap: 8px; margin-top: 10px; }
  .badges li { padding: 12px 14px; font-size: 13.5px; }
  .statement-text { font-size: 16px; margin-bottom: 22px; }
  .split-pic > .ph.svc-pic { aspect-ratio: 4 / 3; }
  .svc-arrows button { width: 40px; height: 40px; }
  .svc { padding: 18px 18px 6px; }
  .svc h3 { font-size: 21px; }
  .split-panel { padding: 24px 18px 28px; }
  .pair { gap: 8px; }
  .assure { margin-top: 18px; }
  .vision { font-size: 21px; }
}
.item .ph { background: #fff; } .item .ph::before, .item .ph::after { display: none; } .item .ph img { object-fit: contain; }
.cat .ph { background: #fff; } .cat .ph::before, .cat .ph::after { display: none; } .cat .ph img { object-fit: contain; padding: 6px 10px 0; }
