@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&family=Oswald:wght@400;600&display=swap");

:root {
  --page: #f5f4f1;
  --well: #ebeae6;
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #5a5a57;
  --rule: rgba(17, 17, 17, 0.14);
  --red: #a82f42;
  --red-ink: #7a1d2e;
  --on-red: #ffffff;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --t-sm: 13px;
  --t-md: 16px;
  --t-lg: 20px;
  --t-xl: 28px;
  --t-2xl: clamp(32px, 3.2vw, 60px);
  --t-hero: clamp(42px, 6.2vw, 132px);
  --t-num: clamp(48px, 5.4vw, 108px);

  --gutter: clamp(20px, 3vw, 64px);
  --radius: 6px;
}

* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 var(--t-md)/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { padding: 0 var(--gutter); max-width: 1840px; margin-left: auto; margin-right: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-sm); font-weight: 500; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--red); }

/* header */
/* Solid, no frosted blur: Safari's backdrop blur also picked up the Home vision band's hidden red layer (a pink header) and redrew every scroll frame. */
.site-head { position: sticky; top: 0; z-index: 10; background: var(--page); }
.site-head .wrap { display: flex; align-items: center; gap: 40px; height: 76px; }
.wordmark { display: block; height: 34px; width: auto; color: var(--red); }
.site-head nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; padding: 0 18px; border-radius: var(--radius); background: var(--ink); color: #fff; font: 500 15px/1 var(--sans); border: 1px solid var(--ink); cursor: pointer; }
.btn .ar { transition: transform .2s ease; }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
@media (hover: hover) {
  .site-head nav a:hover, .list a:hover { color: var(--red); }
  .btn:hover .ar, .list a:hover .ar { transform: translateX(3px); }
  .card:hover img { transform: scale(1.02); }
}
@media (hover: none) { .btn:active { filter: brightness(.9); transition: none; } }

/* hero */
.hero { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; padding: 40px 0 48px; }
.hero h1 { font: 500 var(--t-hero)/0.98 var(--sans); letter-spacing: -0.04em; margin: 0; max-width: 12ch; }
.hero .side p { font-size: clamp(18px, 1.35vw, 26px); line-height: 1.4; margin: 0 0 28px; max-width: 30ch; letter-spacing: -0.005em; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.strip a { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: #fff; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), scale .7s var(--ease); }
/* Hover: the photo leans in a touch and the caption turns into a link with an arrow. Uses `scale`, not `transform`,
   so it never fights the entrance zoom. Pointer devices only; keyboard focus gets the same. */
.strip .cap { display: inline-flex; align-items: center; gap: 0; transition: background-color .25s ease, gap .3s var(--ease); }
.strip .cap::after { content: "→"; display: inline-block; width: 0; overflow: hidden; opacity: 0; color: var(--red); transform: translateX(-4px);
  transition: width .3s var(--ease), opacity .2s ease, transform .3s var(--ease); }
@media (hover: hover) {
  .strip > a:hover img { scale: 1.04; }
  .strip > a:hover .cap { background: #fff; gap: 6px; }
  .strip > a:hover .cap::after { width: 1em; opacity: 1; transform: none; }
}
.strip > a:focus-visible { outline: none; }
html[data-keyboard] .strip > a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
html[data-keyboard] .strip > a:focus-visible img { scale: 1.04; }
html[data-keyboard] .strip > a:focus-visible .cap { background: #fff; gap: 6px; }
html[data-keyboard] .strip > a:focus-visible .cap::after { width: 1em; opacity: 1; transform: none; }
@media (hover: none) { .strip > a:active img { scale: .985; transition: none; } }
.strip .big { aspect-ratio: 16 / 10; }
.strip .tall img { aspect-ratio: auto; }
.strip .cap { position: absolute; left: 14px; bottom: 12px; font-size: var(--t-sm); font-weight: 500; background: rgba(255,255,255,.88); padding: 6px 10px; border-radius: 4px; }

/* sections */
.sec { padding: 120px 0; }
.sec-head { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; margin-bottom: 48px; align-items: start; }
.sec-head h2 { font: 500 var(--t-2xl)/1.05 var(--sans); letter-spacing: -0.03em; margin: 0; max-width: 18ch; }

.family { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--rule); }
.family figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: #fff; }
.family figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.family h3 { font: 500 var(--t-xl)/1.1 var(--sans); letter-spacing: -0.02em; margin: 14px 0 12px; }
.family p { margin: 0 0 28px; color: var(--ink); max-width: 40ch; }
.list { border-top: 1px solid var(--rule); }
.list a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule); font-size: 17px; }
.list .ar { color: var(--red); transition: transform .2s ease; }
.also { display: flex; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid var(--rule); }
.also img { width: 120px; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; }

/* figures */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.fig { border-top: 2px solid var(--red); padding-top: 20px; }
.fig .num { font: 500 var(--t-num)/1 var(--sans); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; margin-bottom: 16px; }
.fig .num sup { font-size: .42em; vertical-align: 1.15em; letter-spacing: 0; }
.fig p { margin: 0; max-width: 28ch; }

/* about */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.about p { font: 400 var(--t-2xl)/1.15 var(--sans); letter-spacing: -0.025em; margin: 0; }

/* contact */
.contact { background: var(--well); border-radius: var(--radius); padding: 56px; display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 40px; }
.contact h2 { font: 500 var(--t-2xl)/1.05 var(--sans); letter-spacing: -0.03em; margin: 0 0 28px; max-width: 14ch; }
.contact .k { color: var(--ink-2); font-size: var(--t-sm); margin-bottom: 8px; }
.contact address { font-style: normal; font-size: 18px; line-height: 1.45; }
.contact .phone { font-size: 18px; }

.foot { display: flex; justify-content: space-between; padding-top: 32px; padding-bottom: 40px; font-size: var(--t-sm); color: var(--ink-2); }

/* product page */
.crumbs { padding: 28px 0 0; font-size: var(--t-sm); color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.prod { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; padding: 28px 0 96px; align-items: start; }
.gallery .main { border-radius: var(--radius); overflow: hidden; background: #fff; aspect-ratio: 3 / 2; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.prod-info { position: sticky; top: 100px; }
.prod h1 { font: 500 clamp(40px, 4.6vw, 68px)/1 var(--sans); letter-spacing: -0.04em; margin: 16px 0 18px; }
.prod .lede { font-size: var(--t-lg); line-height: 1.4; margin: 0 0 36px; }
.specs { margin: 0 0 32px; border-top: 1px solid var(--rule); }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.specs dt { color: var(--ink-2); font-size: 15px; }
.specs dd { margin: 0; }
.prod .ctas .btn { flex: 1; }

.goes h2 { font: 500 var(--t-xl)/1.1 var(--sans); letter-spacing: -0.02em; margin: 0 0 24px; }
.goes-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.card figure { margin: 0 0 12px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #fff; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card .t { display: flex; justify-content: space-between; font-weight: 500; }
.card .t .ar { color: var(--red); }

/* enquiry */
/* The dialog is a full-screen layer that scrolls; the card inside is the visible panel, so a long form is never cut off. */
dialog.enq { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 48px 16px; background: transparent; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
dialog.enq[open] { display: flex; flex-direction: column; }
.enq-card { width: min(560px, 100%); margin: auto; background: var(--surface); border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.18); }
html.enq-open { overflow: hidden; }
html { scrollbar-gutter: stable; }
dialog.enq::backdrop { background: rgba(17,17,17,.28); }
.enq .head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 0 24px; }
.enq .head h2 { font: 500 var(--t-xl)/1.1 var(--sans); letter-spacing: -0.02em; margin: 0; }
.enq .x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--page); font-size: 20px; cursor: pointer; color: var(--ink); }
.enq form { padding: 20px 24px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.enq .full { grid-column: 1 / -1; }
.enq form[hidden] { display: none; }
.enq label { display: grid; gap: 6px; font-size: var(--t-sm); color: var(--ink-2); }
.enq input, .enq textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--page); border: 1px solid transparent; border-radius: var(--radius); padding: 11px 12px; min-height: 46px; width: 100%; }
.enq input:focus, .enq textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.enq textarea { min-height: 96px; resize: vertical; }
.enq .chip { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius); background: var(--page); }
.enq .chip img { width: 64px; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; }
.enq .chip small { display: block; color: var(--ink-2); }
.enq .drop { position: relative; display: grid; gap: 2px; border: 1px dashed rgba(17,17,17,.3); border-radius: var(--radius); padding: 14px; text-align: center; color: var(--ink-2); cursor: pointer; }
.enq .drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; padding: 0; }
.enq .drop .drop-label { color: var(--ink); font-size: 15px; }
.enq .drop.has-file { border-style: solid; border-color: var(--ink); }
.enq .drop:focus-within { border-color: var(--ink); }
.enq .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq-error { margin: 0; padding: 10px 12px; border-radius: var(--radius); background: color-mix(in srgb, var(--red) 9%, transparent); color: var(--red); font-size: 15px; }
.enq .btn.busy { opacity: .6; pointer-events: none; }
.enq-done { padding: 28px 24px 24px; outline: none; }
.enq-done h3 { font: 500 var(--t-xl)/1.15 var(--sans); letter-spacing: -0.02em; margin: 16px 0 10px; }
.enq-done p { margin: 0 0 12px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.enq-done .enq-done-note { color: var(--ink-2); font-size: 14px; }
.enq-done .btn { margin-top: 12px; }
.enq-tick { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--red); position: relative; }
.enq-tick::after { content: ""; position: absolute; left: 15px; top: 12px; width: 10px; height: 17px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.enq-done:not([hidden]) { animation: enq-in .38s var(--ease); }
.enq .btn { width: 100%; }

/* phone */
@media (max-width: 760px) {
  .site-head .wrap { height: 60px; gap: 12px; }
  .wordmark { height: 26px; }
  .site-head nav { display: none; }
  .site-head .btn { margin-left: auto; min-height: 40px; gap: 12px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 32px; }
  .hero .side p { font-size: 18px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip .big { grid-column: 1 / -1; }
  .strip .tall { aspect-ratio: 1; }
  .sec { padding: 72px 0; }
  .sec-head, .family, .about { grid-template-columns: 1fr; gap: 20px; }
  .family { padding: 28px 0; }
  .figures { grid-template-columns: 1fr; gap: 28px; }
  .contact { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
  .prod { grid-template-columns: 1fr; gap: 28px; padding-bottom: 64px; }
  .prod-info { position: static; }
  .prod .ctas { flex-direction: column; }
  .card .t .ar { display: none; }
  .about p { font-size: 26px; }
  .gallery { margin: 0 calc(-1 * var(--gutter)); }
  .gallery .main { border-radius: 0; }
  .goes-row { grid-template-columns: 1fr 1fr; gap: 16px 8px; }
  .foot { flex-direction: column; gap: 6px; }
  /* phone: a bottom sheet that scrolls inside itself */
  dialog.enq { padding: 0; overflow: hidden; }
  .enq-card { width: 100%; margin: auto 0 0; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; border-radius: 14px 14px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .enq form { grid-template-columns: 1fr; }
}

/* round 3: more red, nav state, catalogue, about, contact */
.site-head nav a { position: relative; padding: 6px 0; }
.site-head nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); }
.red-text { color: var(--red); }
.fam-no { font: 500 var(--t-sm)/1 var(--sans); color: var(--red); font-variant-numeric: tabular-nums; }
.family .count { color: var(--red); font-weight: 500; }
.family .more { display: inline-flex; gap: 8px; margin-top: 20px; font-weight: 500; color: var(--red); }

.page-head { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; padding: 40px 0 40px; }
.page-head h1 { font: 500 clamp(44px, 6vw, 120px)/0.98 var(--sans); letter-spacing: -0.04em; margin: 0; }
.page-head p { font-size: clamp(18px, 1.35vw, 26px); line-height: 1.4; margin: 0; max-width: 34ch; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 32px; position: sticky; top: 76px; z-index: 5; background: var(--page); padding-top: 12px; }
.chip-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; font: 500 15px/1 var(--sans); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip-btn .n { color: var(--red); font-variant-numeric: tabular-nums; }
.chip-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.chip-btn[aria-pressed="true"] .n { color: rgba(255,255,255,.8); }
.chip-btn { transition: background-color .2s ease; }
/* Hover is a soft fill, not a dark outline; the selected chip stays as it is. */
@media (hover: hover) { .chip-btn:not([aria-pressed="true"]):hover { background: var(--well); } }
@media (hover: none) { .chip-btn:not([aria-pressed="true"]):active { background: var(--well); transition: none; } }
.chip-btn:focus-visible { outline: none; }
html[data-keyboard] .chip-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.group-block { padding: 8px 0 64px; }
.group-block > header { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; padding: 20px 0 28px; border-top: 2px solid var(--red); }
.group-block h2 { font: 500 var(--t-xl)/1.1 var(--sans); letter-spacing: -0.02em; margin: 8px 0 0; }
.group-block header p { margin: 0; max-width: 46ch; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 12px; }
.card p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.4; }

.prod .body { margin: -16px 0 32px; }

.about-hero { margin: 0 0 8px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; }
.about-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.timeline { border-top: 1px solid var(--rule); }
.timeline div { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.timeline .y { font: 500 var(--t-2xl)/1 var(--sans); letter-spacing: -0.03em; color: var(--red); font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; font-size: 18px; max-width: 46ch; }
.group-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.group-map > div { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.group-map h3 { font: 500 var(--t-lg)/1.2 var(--sans); margin: 12px 0 8px; }
.group-map p { margin: 0; color: var(--ink-2); }

.contact-page { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding: 8px 0 96px; align-items: start; }
.contact-page .info > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-page .info > div:first-child { border-top: 2px solid var(--red); }
.contact-page .k { color: var(--ink-2); font-size: var(--t-sm); margin-bottom: 6px; }
.contact-page .v { font-size: 20px; line-height: 1.4; }
.contact-page .v a { color: var(--ink); }
.form-card { background: var(--surface); border-radius: 10px; padding: 8px 0 0; }
.form-card select { font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--page); border: 1px solid transparent; border-radius: var(--radius); padding: 11px 12px; min-height: 46px; width: 100%; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

.foot-big { border-top: 1px solid var(--rule); margin-top: 96px; padding-top: 40px; padding-bottom: 32px; display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 40px; font-size: 15px; }
.foot-big h4 { font: 500 var(--t-sm)/1 var(--sans); color: var(--ink-2); margin: 0 0 14px; }
.foot-big a { display: block; padding: 4px 0; }
/* Footer links: an underline draws in under the text on hover, line by line when a name wraps; the logo is left alone. */
.foot-big h4 ~ a span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .35s var(--ease); }
.foot-big a:focus-visible { outline: none; }
@media (hover: hover) { .foot-big h4 ~ a:hover span { background-size: 100% 1px; } }
@media (hover: none) { .foot-big a:active { opacity: .6; transition: none; } }
html[data-keyboard] .foot-big h4 ~ a:focus-visible span { background-size: 100% 1px; }
html[data-keyboard] .foot-big a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.foot-big .fine { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--ink-2); font-size: var(--t-sm); padding-top: 24px; border-top: 1px solid var(--rule); }

@media (max-width: 760px) {
  .page-head { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 24px; }
  .page-head p { font-size: 18px; }
  .chips { top: 60px; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .chip-btn { flex: none; }
  .group-block > header { grid-template-columns: 1fr; gap: 8px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 24px 8px; }
  .card p { display: none; }
  .about-hero { aspect-ratio: 4 / 3; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; }
  .timeline div { grid-template-columns: 1fr; gap: 8px; }
  .group-map { grid-template-columns: 1fr; }
  .contact-page { grid-template-columns: 1fr; gap: 32px; }
  .foot-big { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; }
  .foot-big > :first-child { grid-column: 1 / -1; }
  .foot-big .fine { flex-direction: column; gap: 6px; }
}

/* wide screens: use the width, then cap at 1840px */
@media (min-width: 1600px) {
  body { font-size: 17px; }
  .site-head .wrap { height: 88px; }
  .wordmark { height: 40px; }
  .chips { top: 88px; }
  .grid { grid-template-columns: repeat(5, 1fr); gap: 40px 16px; }
  .strip, .goes-row { gap: 12px; }
  .family p, .list a { font-size: 18px; }
  .prod .lede, .specs dd, .timeline p { font-size: 22px; }
  .prod h1 { font-size: clamp(68px, 4.4vw, 96px); }
}

/* round 4: on wider screens the hero title runs across 3 lines instead of 4 */
.hero h1 { text-wrap: balance; }
@media (min-width: 1200px) {
  .hero { grid-template-columns: 8fr 4fr; }
  .hero h1 { max-width: 17ch; font-size: clamp(72px, 5.6vw, 132px); }
}
.group-map.how { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .group-map.how { grid-template-columns: 1fr; } }

/* round 8: grey contact card, products laid flat across the right side and cropped by the card */
.contact.brand { position: relative; overflow: hidden; background: var(--well); color: var(--ink); grid-template-columns: 5fr 7fr; min-height: 500px; align-items: center; padding: 64px; isolation: isolate; }
.contact.brand .copy { position: relative; z-index: 2; }
.contact.brand h2 { font-size: clamp(36px, 3.6vw, 68px); max-width: 13ch; margin: 18px 0 32px; }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--rule); }
/* one light, from the top left: every shadow falls down and to the right by the same angle */
/* Flatlay: products laid apart on the card (none on top of another), cropped only by the card's edge. Each one is
   placed by its centre (--x, --y, as a share of the pile) and sized from the tighter of the pile's width and height
   (--w), so the arrangement keeps its shape at any window size. --ar is the image's height / width. */
.pile { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; pointer-events: none; container-type: size; }
.pile .pi { position: absolute; will-change: transform; width: var(--w); left: calc(var(--x) - var(--w) / 2); top: calc(var(--y) - var(--w) * var(--ar) / 2); }
.pile img { width: 100%; display: block; transform: rotate(var(--rot, 0deg));
  filter: drop-shadow(3px 4px 3px rgba(48, 38, 28, .22)) drop-shadow(16px 22px 22px rgba(48, 38, 28, .14)); }
.pile .p1 { --w: min(62cqw, 98cqh); --ar: .764; --x: 52%; --y: 50%; z-index: 2; --rot: -6deg; }
.pile .p2 { --w: min(44cqw, 70cqh); --ar: .773; --x: 93%; --y: 15%; z-index: 1; --rot: 14deg; }
.pile .p3 { --w: min(32cqw, 50cqh); --ar: .604; --x: 90%; --y: 86%; z-index: 3; --rot: -10deg; }
.pile .p4 { --w: min(30cqw, 46cqh); --ar: .744; --x: 15%; --y: 85%; z-index: 3; --rot: 8deg; }
.pile .p5 { --w: min(32cqw, 50cqh); --ar: .583; --x: 13%; --y: 13%; z-index: 1; --rot: -4deg; }
@media (max-width: 760px) {
  .contact.brand { grid-template-columns: 1fr; padding: 32px 20px 0; min-height: 0; align-items: start; }
  .contact.brand h2 { font-size: 34px; }
  .pile { position: relative; width: auto; height: 260px; margin: 28px -20px 0; }
  .pile .p1 { --w: min(62cqw, 96cqh); --x: 50%; }
  .pile .p2 { --w: min(44cqw, 68cqh); }
  .pile .p3 { --y: 88%; }
  .pile .p4 { --x: 12%; --y: 87%; }
  .pile .p5 { --x: 11%; }
}

/* round 7: motion. One settle curve, three durations. */
:root { --ease: cubic-bezier(.2, .7, .2, 1); --ease-pop: cubic-bezier(.25, 1.25, .4, 1); --dur-1: .18s; --dur-2: .7s; --dur-3: 1.1s; }
.site-head { transition: box-shadow var(--dur-1) ease; }
.site-head.scrolled { box-shadow: 0 1px 0 var(--rule); }
.btn { transition: transform var(--dur-1) var(--ease), background-color var(--dur-1) ease, border-color var(--dur-1) ease; }
.btn:active { transform: scale(.98); }

.js-motion [data-rv] { opacity: 0; transform: translateY(18px); }
.js-motion [data-rv].in { opacity: 1; transform: none; transition: opacity var(--dur-2) var(--ease) var(--d, 0ms), transform var(--dur-3) var(--ease) var(--d, 0ms); }
.js-motion .hero h1[data-rv] { transform: translateY(32px); }
.js-motion .strip > a[data-rv] { transform: translateY(28px); --d: 0ms; }
.js-motion .strip > a[data-rv] img { transform: scale(1.08); }
.js-motion .strip > a[data-rv].in img { transform: scale(1); transition: transform 1.6s var(--ease) var(--d, 0ms), scale .7s var(--ease); }
.js-motion .hero .side[data-rv] { --d: 120ms !important; }
.js-motion .strip > a:nth-child(1) { --d: 220ms !important; }
.js-motion .strip > a:nth-child(2) { --d: 320ms !important; }
.js-motion .strip > a:nth-child(3) { --d: 420ms !important; }

.js-motion .pile .pi { opacity: 0; transform: translateY(24px) scale(.98); }
.js-motion .pile.in .pi { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--d), transform 1.2s var(--ease) var(--d); }

dialog.enq[open] .enq-card { animation: enq-in .38s var(--ease); }
dialog.enq[open]::backdrop { animation: fade-in .3s ease; }
@keyframes enq-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
@media (max-width: 760px) { dialog.enq[open] .enq-card { animation: sheet-in .42s var(--ease); } @keyframes sheet-in { from { transform: translateY(100%); } } }
@media (prefers-reduced-motion: reduce) {
  dialog.enq[open] .enq-card, dialog.enq[open]::backdrop, .enq-done:not([hidden]) { animation: none; }
  .btn:active { transform: none; }
}

/* round 10: the hero's start offsets out-ranked the arrived state, leaving the title 32px low. */
.js-motion .hero h1[data-rv].in, .js-motion .strip > a[data-rv].in { transform: none; }
@media (max-width: 760px) {
  .hero { gap: 28px; padding-top: 32px; }
  .hero h1 { line-height: 1.02; }
  .page-head { gap: 20px; }
  .page-head h1 { line-height: 1.02; }
}
