/* Scenecroft Advanced: the one-page site. Plain CSS, no build step.

   Poppins comes from Google Fonts (the two "fonts.g..." lines in index.html).
   To serve it from this site instead, save the four .woff2 files into fonts/,
   take the comment marks off these rules and delete those lines in index.html.

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

   Movement: the top picture drifts, the drawing draws itself, the strip of
   products slides, and sections fade up as they scroll in. All of it stops
   for anyone whose phone or computer is set to reduce motion.
*/

:root {
  --ground: #f6f6f4;
  --paper: #ffffff;
  --ink: #141414;
  --ink-2: #3b3b38;
  --muted: #6b6b65;
  --faint: #9c9c95;
  --line: #deded8;
  --line-2: #c9c9c2;
  --grid: #ecece6;
  --night: #131313;
  --night-2: #1c1c1b;
  --night-line: #2e2e2c;
  --night-muted: #a9a9a2;
  --error: #b3261e;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --space: clamp(64px, 9vw, 128px);
  --head: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-2);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.top :focus-visible, .hero :focus-visible, .band-night :focus-visible,
.hours-card :focus-visible, .foot :focus-visible { outline-color: #fff; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: #fff; color: var(--ink); }
.skip:focus { top: 12px; }

/* Outlined letters ("made to measure", "Your colour."). Plain letters where a browser can't draw outlines. */
@supports (-webkit-text-stroke: 1px #000) {
  .outline { color: transparent; -webkit-text-stroke: var(--stroke-w, 1.5px) var(--outline, var(--ink)); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1.5px solid var(--ink); border-radius: 2px;
  background: var(--ink); color: #fff;
  font-family: inherit; font-size: 0.95rem; font-weight: 500; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: #000; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgb(255 255 255 / 0.45); color: #fff; }
.btn-ghost-light:hover { background: rgb(255 255 255 / 0.08); border-color: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  color: var(--muted); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* ---------- Header: dark glass, over the top picture ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  margin-bottom: calc(-1 * var(--head)); /* the top picture runs up under it */
  color: #fff;
  background: rgb(19 19 19 / 0.84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.08);
}
.top-inner { display: flex; align-items: center; gap: 10px; height: var(--head); }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: auto; height: 44px; }
.top-nav { display: none; gap: 30px; margin-right: 22px; font-size: 0.9rem; font-weight: 500; }
.top-nav a { color: rgb(255 255 255 / 0.75); text-decoration: none; transition: color 0.2s; }
.top-nav a:hover { color: #fff; }
@media (min-width: 860px) { .top-nav { display: flex; } }
/* The phone: an icon button on smaller screens, the number itself on wide ones. */
.top-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 40px; min-height: 40px; padding: 0 10px;
  border: 1.5px solid rgb(255 255 255 / 0.35); border-radius: 2px;
  color: #fff; font-size: 0.9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: border-color 0.2s;
}
.top-phone:hover { border-color: #fff; }
.top-phone svg { width: 18px; height: 18px; flex: none; }
.top-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 1100px) {
  .top-phone { margin-right: 12px; padding: 0 4px; border-color: transparent; }
  .top-phone span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .top-phone:hover span { text-decoration: underline; }
}

/* Where the browser can tie styles to scrolling: the bar starts clear over the
   picture, fills in as the page moves, and a thin line shows how far down you are. */
@supports (animation-timeline: scroll()) {
  .top { animation: head-fill linear both; animation-timeline: scroll(root block); animation-range: 0 260px; }
  /* The big logo at the top of the page stands in for the small one until it scrolls away. */
  .brand { animation: brand-in linear both; animation-timeline: scroll(root block); animation-range: 140px 320px; }
  .brand:focus-visible { animation: none; }
  .top::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: #fff; transform-origin: 0 50%;
    animation: progress linear both; animation-timeline: scroll(root block);
  }
}
@keyframes head-fill {
  from { background-color: rgb(19 19 19 / 0); box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
}
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes brand-in { from { opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  --outline: #fff;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: min(100vh, 1040px);
  min-height: min(100svh, 1040px);
  padding-top: calc(var(--head) + clamp(28px, 6vh, 80px));
  overflow: hidden;
  background: var(--night);
  color: rgb(255 255 255 / 0.8);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(12 12 12 / 0.62) 0%, rgb(12 12 12 / 0.22) 18%, rgb(12 12 12 / 0) 32%),
    linear-gradient(0deg, rgb(12 12 12 / 0.86) 0%, rgb(12 12 12 / 0.3) 30%, rgb(12 12 12 / 0) 50%),
    linear-gradient(100deg, rgb(12 12 12 / 0.78) 0%, rgb(12 12 12 / 0.58) 42%, rgb(12 12 12 / 0.14) 75%, rgb(12 12 12 / 0) 100%);
}
@media (max-width: 759px) {
  /* Phones: the words sit across the whole picture, so all of it is dimmed. */
  .hero-media::after { background: linear-gradient(0deg, rgb(12 12 12 / 0.9) 0%, rgb(12 12 12 / 0.58) 45%, rgb(12 12 12 / 0.5) 100%); }
}
.hero-grid { flex: 1; display: grid; align-content: center; padding-bottom: clamp(36px, 6vh, 64px); }
.hero-text { max-width: 880px; }
/* The logo, as big as the old site had it. The white file is used as it is: a filter turning
   the black one white showed black first on iPhones while the logo rose in. */
.hero-logo { width: min(100%, clamp(300px, 46vw, 600px), 62vh); height: auto; }
.hero h1 { margin-top: clamp(24px, 3.6vh, 40px); color: #fff; font-size: clamp(2rem, 3.7vw, 3.4rem); line-height: 1; letter-spacing: -0.035em; }
.hero h1 .outline { display: block; --stroke-w: 1.4px; filter: drop-shadow(0 2px 10px rgb(0 0 0 / 0.45)); }
.lead { max-width: 50ch; margin: 24px 0 0; color: rgb(255 255 255 / 0.9); font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.6; }

.facts { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 0.16); }
.facts li { padding: 18px 0; }
.facts li + li { border-top: 1px solid rgb(255 255 255 / 0.1); }
.facts p { margin: 0; color: rgb(255 255 255 / 0.6); font-size: 0.9rem; }
.facts .fact-big { margin-bottom: 2px; color: #fff; font-size: clamp(1.35rem, 2.3vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 26px 28px 34px; }
  .facts li + li { border-top: 0; border-left: 1px solid rgb(255 255 255 / 0.16); }
  .facts li:first-child { padding-left: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: drift 26s var(--ease) both; }
  .hero-text > *, .facts li { animation: rise 1s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.1s; }
  .hero-text > :nth-child(3) { animation-delay: 0.25s; }
  .hero-text > :nth-child(4) { animation-delay: 0.35s; }
  .facts li:nth-child(1) { animation-delay: 0.5s; }
  .facts li:nth-child(2) { animation-delay: 0.6s; }
  .facts li:nth-child(3) { animation-delay: 0.7s; }
}
@keyframes drift { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- The moving strip of products ---------- */
.marquee { overflow: hidden; padding-block: clamp(20px, 2.8vw, 34px); background: var(--ground); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; flex-shrink: 0; margin: 0; padding: 0; list-style: none; }
.marquee li {
  display: flex; align-items: center; gap: clamp(22px, 3vw, 44px);
  padding-right: clamp(22px, 3vw, 44px);
  color: var(--ink); font-size: clamp(1.7rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15;
  white-space: nowrap;
}
@supports (-webkit-text-stroke: 1px #000) {
  .marquee li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.3px var(--ink); }
}
.marquee li::after { /* a small window between the names */
  content: ""; flex: none; width: 0.42em; height: 0.42em;
  border: 2px solid var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 60s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bands ---------- */
.band { padding-block: var(--space); }
.band-paper { background: var(--paper); }
.band-night { background: var(--night); color: var(--night-muted); }
.band-night h2, .band-night h3 { color: #fff; }
.band-night .eyebrow { color: var(--night-muted); }
.band h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.03; letter-spacing: -0.035em; }
.band h2 + p { margin-top: 22px; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { display: grid; gap: 18px; }
.section-head.split > p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 64px; }
  .section-head.split h2 { max-width: 20ch; }
  .section-head.split > p { max-width: 40ch; padding-bottom: 6px; }
}

/* ---------- What we make ---------- */
.products {
  display: grid; margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2);
}
@media (min-width: 560px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product {
  --card: var(--paper);
  position: relative; display: flex; flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--card);
  border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.num { position: absolute; top: 26px; left: 26px; color: var(--faint); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; transition: color 0.35s var(--ease); }
.product .icon { align-self: flex-end; width: 50px; height: 50px; margin-bottom: 44px; color: var(--ink); transition: color 0.35s var(--ease), transform 0.45s var(--ease); }
.product .icon .fill { fill: var(--card); transition: fill 0.35s var(--ease); }
.product h3 { margin-bottom: 10px; font-size: 1.16rem; letter-spacing: -0.015em; transition: color 0.35s var(--ease); }
.product p { margin: 0; font-size: 0.93rem; }
.product .links {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  margin-top: auto; padding-top: 20px;
  color: var(--ink); font-size: 0.88rem; font-weight: 500;
  transition: color 0.35s var(--ease);
}
.links a[target="_blank"]::after { content: "\2009\2197"; }
/* Pointing at a card turns it black. */
.product:focus-within { --card: var(--ink); color: rgb(255 255 255 / 0.72); }
.product:focus-within h3, .product:focus-within .icon, .product:focus-within .links { color: #fff; }
.product:focus-within :focus-visible { outline-color: #fff; }
@media (hover: hover) {
  .product:hover { --card: var(--ink); color: rgb(255 255 255 / 0.72); }
  .product:hover h3, .product:hover .icon, .product:hover .links { color: #fff; }
  .product:hover .num { color: rgb(255 255 255 / 0.5); }
  .product:hover .icon { transform: translateY(-4px); }
}
@media (max-width: 559px) {
  /* Phones: icon beside the name, so eight cards take less scrolling. */
  .product { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-content: start; padding: 22px 18px; }
  .product .icon { grid-row: 1 / span 3; align-self: start; width: 40px; height: 40px; margin: 0; }
  .product h3, .product p { grid-column: 2; }
  .product h3 { padding-right: 30px; }
  .product .links { padding-top: 10px; }
  .num { top: 24px; left: auto; right: 18px; }
}

/* ---------- Your sizes. Your colour. On squared paper, like the drawings. ---------- */
.sheet {
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  border-block: 1px solid var(--line);
}
.sheet-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .sheet-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(48px, 7vw, 104px); } }
.sheet h2 { font-size: clamp(2.8rem, 7.2vw, 6.2rem); line-height: 0.94; letter-spacing: -0.045em; }
.sheet h2 .outline { display: block; --stroke-w: 1.6px; --outline: var(--ink); }
.sheet-lead { max-width: 44ch; margin: 26px 0 0; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.swatches li { color: var(--muted); font-size: 0.74rem; line-height: 1.35; }
.swatches li::before { content: ""; display: block; height: clamp(40px, 5vw, 56px); margin-bottom: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); }
.swatches b { display: block; color: var(--ink); font-size: 0.78rem; font-weight: 600; }
.note { margin: 16px 0 0; color: var(--muted); font-size: 0.8rem; }

/* The drawing: ink on the squared paper. */
.drawing { margin: 0; color: var(--ink); }
.drawing svg { width: 100%; max-width: 480px; height: auto; margin-inline: auto; }
.drawing .faint { stroke: var(--faint); }
.drawing .dim { fill: var(--muted); font-family: inherit; font-size: 15px; font-weight: 500; }
.drawing figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  max-width: 480px; margin: 14px auto 0; padding-top: 10px;
  border-top: 1.5px solid var(--ink); color: var(--ink-2); font-size: 0.82rem;
}
.drawing figcaption span:last-child { color: var(--muted); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  /* Once site.js has marked the drawing as in view, its lines draw themselves. */
  .reveal-ready .drawing .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .reveal-ready .drawing .fade { opacity: 0; }
  .reveal-ready .drawing.is-in .draw { animation: draw 1.5s cubic-bezier(0.65, 0, 0.35, 1) forwards; animation-delay: calc(0.3s + var(--i, 0) * 0.13s); }
  .reveal-ready .drawing.is-in .fade { animation: fade 0.9s ease forwards; animation-delay: calc(0.3s + var(--i, 0) * 0.13s); }
}

/* ---------- For the trade ---------- */
.trade-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .trade-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); align-items: center; } }
.trade-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night-2); }
@media (min-width: 900px) { .trade-photo { aspect-ratio: 4 / 5; } }
.trade-photo img { width: 100%; height: 100%; object-fit: cover; }
.band-night p { max-width: 52ch; }
.ticks { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--night-line); }
.ticks li { position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--night-line); color: #fff; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 50%;
  width: 14px; height: 7px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-75%) rotate(-45deg);
}

/* ---------- Find us ---------- */
.find-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .find-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(48px, 7vw, 104px); align-items: center; } }
address { margin: 0; color: var(--ink-2); font-size: 1.05rem; font-style: normal; line-height: 1.7; }
.addr-big { display: block; margin-bottom: 12px; color: var(--ink); font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.find-phone { margin: 16px 0 0; }
.find-phone a { color: var(--ink); font-weight: 600; text-decoration: none; }
.find-phone a:hover { text-decoration: underline; }
.hours-card { padding: clamp(26px, 3.4vw, 44px); background: var(--night); color: var(--night-muted); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours caption { padding-bottom: 16px; color: #fff; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; text-align: left; }
.hours th, .hours td { padding: 15px 0; border-top: 1px solid var(--night-line); font-weight: 400; text-align: left; }
.hours td { text-align: right; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(56px, 7vw, 104px); align-items: start; }
  .contact-side { position: sticky; top: calc(var(--head) + 32px); }
}
.steps { margin: 36px 0 40px; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: clamp(56px, 15vw, 72px) 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line-2); }
.steps li:last-child { border-bottom: 1px solid var(--line-2); }
.step-num { color: var(--ink); font-size: 2.6rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
@supports (-webkit-text-stroke: 1px #000) { .step-num { color: transparent; -webkit-text-stroke: 1.2px var(--ink); } }
.steps p { margin: 0; }
.steps strong { color: var(--ink); font-weight: 600; }
.reach { display: grid; gap: 14px; margin: 0; }
.reach div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.reach dt { color: var(--ink); font-weight: 600; }
.reach dd { margin: 0; overflow-wrap: anywhere; }

.form { padding: clamp(22px, 3.2vw, 40px); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 40px 80px -48px rgb(0 0 0 / 0.35); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 0.92rem; font-weight: 500; }
.field-row { display: grid; gap: 0 16px; }
.field-row .field { margin-bottom: 12px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
input, select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-2); border-radius: 2px;
  background: var(--ground); color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 150px; line-height: 1.5; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 3px rgb(20 20 20 / 0.12); }
input:user-invalid, textarea:user-invalid { border-color: var(--error); }
.hint { margin: 0 0 18px; color: var(--muted); font-size: 0.84rem; }
.field .hint { margin: 6px 0 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha:not(:empty) { margin-bottom: 16px; }
.small { color: var(--muted); font-size: 0.84rem; }
.btn-send { min-width: 160px; }
.form-status { min-height: 1.5em; margin: 14px 0 0; color: var(--error); font-weight: 500; }
.form-status:empty { margin: 0; }
.form-done svg { width: 40px; height: 40px; margin-bottom: 16px; color: var(--ink); }
.form-done h3 { margin-bottom: 8px; font-size: 1.4rem; }
.form-done p { margin: 0; }
.form-done:focus { outline: none; }

/* ---------- Footer ---------- */
.foot { overflow: hidden; padding-top: clamp(56px, 7vw, 96px); background: var(--night); color: var(--night-muted); font-size: 0.9rem; }
.foot a { color: #fff; }
.foot p { margin: 0 0 6px; }
.foot-grid { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--night-line); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot-brand img { width: auto; height: 46px; }
.privacy { padding-top: 20px; }
.privacy summary { color: #fff; font-weight: 500; cursor: pointer; }
.privacy p { max-width: 70ch; margin-top: 12px; }
.foot-word { /* the name, as big as the page is wide */
  margin: clamp(36px, 6vw, 72px) 0 0; padding-bottom: 0.03em;
  color: #2a2a28; font-size: 19.4vw; font-weight: 700; line-height: 0.74; letter-spacing: -0.06em;
  text-align: center; white-space: nowrap;
  user-select: none; -webkit-user-select: none; pointer-events: none;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .foot-word { color: transparent; background: linear-gradient(180deg, #383835 0%, #1c1c1b 100%); -webkit-background-clip: text; background-clip: text; }
}

/* ---------- Fade up on scroll (site.js marks each one as it comes into view) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .product[data-reveal] { transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), background-color 0.35s var(--ease), color 0.35s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* The trade photo opens out instead. */
.js .trade-photo[data-reveal] { opacity: 1; transform: none; clip-path: inset(10% 10% 10% 10%); transition: clip-path 1.3s var(--ease); }
.js .trade-photo[data-reveal] img { transform: scale(1.18); transition: transform 1.6s var(--ease); }
.js .trade-photo[data-reveal].is-in { clip-path: inset(0 0 0 0); }
.js .trade-photo[data-reveal].is-in img { transform: none; }
/* If site.js never runs, show everything after a moment rather than leave it hidden. */
html.js:not(.reveal-ready) [data-reveal] { animation: reveal-anyway 0s 2.5s forwards; }
html.js:not(.reveal-ready) .trade-photo[data-reveal] { clip-path: none; }
@keyframes reveal-anyway { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .trade-photo[data-reveal], .js .trade-photo[data-reveal] img { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* ---------- Thanks page from contact.php (no JavaScript) ---------- */
.plain { max-width: 560px; margin: 0 auto; padding: 80px var(--gutter); }
.plain h1 { margin-bottom: 14px; font-size: 2rem; }
