/* Hallmark · shape: Table spread (the work laid out beside the head, then what they make as one large list, four jobs set like prints on a table, the order terms as three sentences, the makers and their seal) · genre: editorial · theme: custom · job: buy · idea: "every piece is made for someone, so each one is signed 'made for ...' in a script like the one in the shop's logo" · vibe: "cozy, handmade, forest green and tulip rose"
 * paper: oklch(98% 0.018 92) · accent: oklch(79% 0.086 33) · display: Gloock · body: Figtree · hero: the head on six columns, three of their own photographs laid like prints across the other six, signed in script · nav: the seal and the name, two links and the phone · footer: one plain row on the deep green · imagery: the owner's photographs · signature: the script "made for ..." under each piece · brand: Holland House (spec 2026-11-16, windmill logo)
 * axes: dark/high-contrast-serif/warm · posture: full palette (field forest, signal rose, script peach, ink deep green) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: H, three photographs in the hero compete, so one is large and the other two are small and tucked behind and in front of it */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Gloock"; src: url("fonts/gloock-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gloock fallback"; src: local("Georgia"); size-adjust: 98%; ascent-override: 96%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Allura"; src: url("fonts/allura-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

body { font-size: var(--text-md); line-height: 1.6; }
h1, h2, h3 { font-weight: 400; letter-spacing: var(--tracking-display); }
:focus-visible { outline-width: 3px; outline-offset: 3px; }
.on-field { background: var(--color-field); color: var(--color-on-field); --cover: var(--color-field); }
.on-field :focus-visible { outline-color: var(--color-focus-on-field); }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: var(--z-toast); background: var(--color-paper); color: var(--color-ink); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-card); }
.skip-link:focus { top: var(--space-sm); }

/* ---------- The note that this is an example ---------- */
.example-banner { background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-sm); }
.example-banner p { max-width: none; padding-block: var(--space-sm); }
.example-banner a { font-weight: 600; }

/* ---------- Masthead: the seal, the name, two pages and the phone ---------- */
.masthead { background: var(--color-field); color: var(--color-on-field); }
.masthead-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-xl); padding-block: var(--space-md); }
.brand { display: flex; align-items: center; gap: var(--space-sm); margin-right: auto; text-decoration: none; }
.brand img { width: 56px; height: 56px; border-radius: 50%; }
.brand span { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; }
.site-nav ul { display: flex; gap: var(--space-xl); list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding-block: var(--space-xs); font-weight: 600; text-decoration: none; border-bottom: var(--rule-strong) solid transparent; transition: border-color var(--dur-short) ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--color-script-on-field); }
.masthead-call { font-weight: 700; white-space: nowrap; text-decoration-color: var(--color-script-on-field); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

/* ---------- Controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.7rem 1.75rem;
  border: var(--rule-strong) solid var(--color-accent-ink); border-radius: var(--radius-pill);
  background: var(--color-accent); color: var(--color-accent-ink);
  font-weight: 700; font-size: var(--text-md); line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) ease, transform var(--dur-micro) ease;
}
.btn:hover { background: var(--color-accent-hover); }
.btn:active { transform: translateY(2px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.on-field .btn { border-color: var(--color-accent); }
.btn--quiet { background: transparent; color: inherit; border-color: currentColor; }
.btn--quiet:hover { background: color-mix(in oklab, currentColor 14%, transparent); }
.on-field .btn--quiet { border-color: var(--color-on-field); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); }
.text-link { font-weight: 600; text-decoration-color: var(--color-rose); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.text-link:hover { text-decoration-thickness: 3px; }
.on-field .text-link { text-decoration-color: var(--color-script-on-field); }

/* The signature: "made for ..." in a script like the one in their own logo. */
.made-for { display: block; font-family: var(--font-outlier); font-size: var(--text-script); line-height: 1.05; color: var(--color-script-ink); padding-bottom: 0.12em; }
.on-field .made-for { color: var(--color-script-on-field); }

/* ---------- Hero: the head beside a batch laid out on the table ---------- */
.hero { padding-block: var(--space-xl) 0; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.hero-text { grid-column: 1 / span 6; }
.hero h1 { font-size: var(--text-display); line-height: 1.03; }
.lead { font-size: var(--text-lead); margin-top: var(--space-lg); max-width: 27em; }
.on-field .lead { color: var(--color-on-field-muted); }
.spread { grid-column: 7 / -1; position: relative; aspect-ratio: 10 / 8.2; margin: 0 calc(var(--space-lg) * -1) 0 calc(var(--space-xl) * -1); }
.print { position: absolute; margin: 0; border: var(--frame) solid var(--color-paper); background: var(--color-paper); box-shadow: 0 18px 40px var(--color-shadow); }
.print img { width: 100%; height: 100%; object-fit: cover; }
.print--shirt { left: 0; top: 13%; width: 75%; aspect-ratio: 4 / 3; rotate: -2.5deg; z-index: 2; }
.print--hoodies { right: 0; top: 0; width: 41%; aspect-ratio: 4 / 3; rotate: 3deg; z-index: 1; }
.print--tumblers { right: 3%; bottom: 0; width: 32%; aspect-ratio: 3 / 4; rotate: 4deg; z-index: 3; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); list-style: none; margin: var(--space-2xl) 0 0; padding: var(--space-lg) 0 var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule-on-field); }
.facts li { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; }
.facts a { text-decoration-color: var(--color-script-on-field); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-gap-s); }
.section--soft { background: var(--color-paper-2); --cover: var(--color-paper-2); }
.section-head h2 { font-size: var(--text-section); line-height: 1.06; max-width: 16em; }
.section-head p { font-size: var(--text-lead); color: var(--color-muted); margin-top: var(--space-md); max-width: 32em; }
.on-field .section-head p { color: var(--color-on-field-muted); }

/* What they make: one large list, each line a way into the work. */
.makes { list-style: none; margin: var(--space-xl) 0 0; padding: 0; border-top: var(--rule-strong) solid var(--color-ink); }
.makes a { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-lg); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); text-decoration: none; }
.makes-name { display: inline-block; font-family: var(--font-display); font-size: var(--text-giant); line-height: 1.02; letter-spacing: var(--tracking-display); transition: translate var(--dur-long) var(--ease-out), color var(--dur-short) ease; }
/* The nudge is for a mouse only: on a touch screen a hover sticks after the tap and the line looks out of place. */
@media (hover: hover) and (pointer: fine) { .makes a:hover .makes-name { translate: 14px 0; color: var(--color-rose-ink); } }
.makes-go { font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--color-rose); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.makes-note { margin-top: var(--space-lg); color: var(--color-muted); }

/* Four jobs, set like prints on a table. */
.jobs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); align-items: start; margin-top: var(--space-2xl); }
.job { position: relative; margin: 0; }
.job-frame { display: block; border: var(--frame) solid var(--color-paper); background: var(--color-paper); box-shadow: 0 18px 40px var(--color-shadow); }
.job-frame img { width: 100%; }
.job figcaption { margin-top: var(--space-md); }
.job-what { display: block; color: var(--color-on-field-muted); }
.job--hoodies { grid-column: 1 / span 7; }
.job--magalia { grid-column: 8 / span 5; margin-top: var(--space-3xl); }
.job--party { grid-column: 2 / span 4; }
.job--anniversary { grid-column: 7 / span 4; margin-top: calc(var(--space-xl) * -1); }
.jobs-more { margin-top: var(--space-2xl); }

/* The order terms: three sentences, set large. */
.terms-lines { margin-top: var(--space-xl); font-family: var(--font-display); font-size: clamp(1.875rem, 4.4vw, 3.625rem); line-height: 1.1; letter-spacing: var(--tracking-display); }
.terms-lines span { display: block; }
.terms-lines span + span { margin-top: var(--space-sm); }
.terms-note { margin-top: var(--space-xl); font-size: var(--text-lead); color: var(--color-muted); max-width: 34em; }

/* The makers and their seal. */
.makers { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.makers-seal { grid-column: 1 / span 5; margin: 0; }
.makers-seal img { width: 100%; max-width: 30rem; }
.makers-text { grid-column: 7 / -1; }
.makers-text h2 { font-size: var(--text-section); line-height: 1.06; }
.makers-text p { font-size: var(--text-lead); color: var(--color-muted); margin-top: var(--space-md); max-width: 28em; }
.makers-text .made-for { margin-top: var(--space-xl); font-size: clamp(2.5rem, 3.4vw + 1.25rem, 4rem); color: var(--color-script-ink); }

/* The close. */
.close { padding-block: var(--section-gap-s); overflow: clip; }
.close-script { font-family: var(--font-outlier); font-size: var(--text-script-giant); line-height: 0.9; color: var(--color-script-on-field); rotate: -3deg; transform-origin: left bottom; margin-bottom: var(--space-lg); padding-bottom: 0.1em; }
.close h2 { font-size: var(--text-display); line-height: 1.03; max-width: 12em; }

/* ---------- Footer: one plain row ---------- */
.site-footer { background: var(--color-field-deep); color: var(--color-on-field-muted); font-size: var(--text-sm); padding-block: var(--space-xl); --cover: var(--color-field-deep); }
.site-footer :focus-visible { outline-color: var(--color-focus-on-field); }
.footer-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-sm) var(--space-xl); }
.footer-row p { max-width: none; }
.footer-name { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-on-field); margin-right: auto; }
.footer-row ul { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); list-style: none; margin: 0; padding: 0; }
.footer-note { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-on-field); max-width: none; }

/* ---------- Inner pages ---------- */
.page-head { padding-block: var(--space-2xl) var(--space-3xl); }
.page-head h1 { font-size: var(--text-display); line-height: 1.03; max-width: 12em; }
.jump { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); list-style: none; margin: var(--space-xl) 0 0; padding: 0; }

/* Our work: prints on the table, each opening at full size. */
.shelf + .shelf { margin-top: var(--section-gap-s); }
.shelf h2 { font-size: var(--text-section); line-height: 1.06; }
.shelf > p { color: var(--color-muted); margin-top: var(--space-md); }
/* A batch: who it was made for, in script, then its photos. */
.batch { margin-top: var(--space-xl); }
.batch + .batch { margin-top: var(--space-2xl); }
.batch .made-for { font-size: clamp(2.125rem, 1.8vw + 1.5rem, 3.125rem); }
.batch .gallery { margin-top: var(--space-md); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: start; list-style: none; margin: var(--space-xl) 0 0; padding: 0; }
.gallery li { position: relative; grid-column: span 3; }
.gallery li.is-wide { grid-column: span 6; }
.gallery li.is-note { grid-column: span 6; align-self: center; }
.gallery a[data-pswp-width] { display: block; padding: var(--frame); background: var(--color-paper-2); box-shadow: 0 12px 28px var(--color-shadow-soft); transition: translate var(--dur-short) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery a[data-pswp-width]:hover { translate: 0 -4px; } }
.gallery img { width: 100%; }
.gallery-what { display: block; margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }
.gallery-note .note-head { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.1; color: var(--color-ink); }
.gallery-note p { color: var(--color-muted); margin-top: var(--space-sm); }
.placeholder { margin-top: var(--space-xl); padding: var(--space-xl); border: var(--rule-strong) dashed var(--color-rule); border-radius: var(--radius-card); color: var(--color-muted); }
.pswp__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-sm) var(--space-md); background: var(--color-scrim); color: var(--color-on-field); font-size: var(--text-sm); text-align: center; }

/* The order page. */
.order { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.order-form { grid-column: 1 / span 7; }
.order-side { grid-column: 9 / -1; position: sticky; top: var(--space-xl); }
.order-side h2 { font-size: var(--text-2xl); line-height: 1.1; }
.order-side ol { margin: var(--space-md) 0 0; padding-left: 1.25em; }
.order-side li { padding-left: var(--space-2xs); }
.order-side li + li { margin-top: var(--space-sm); }
.order-side .phone { display: block; width: fit-content; margin-top: var(--space-xs); font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.1; text-decoration-color: var(--color-rose); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.order-side p { margin-top: var(--space-xl); color: var(--color-muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-part + .form-part, .form-part + details, details + details { margin-top: var(--space-xl); }
legend, .form-part > h2 { padding: 0; font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.1; margin-bottom: var(--space-md); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); }
.field-grid .is-full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin-bottom: var(--space-2xs); }
.req { color: var(--color-rose-ink); }
input, select, textarea { display: block; width: 100%; padding: 0.7rem 0.85rem; background: var(--color-paper); color: var(--color-ink); border: var(--rule-strong) solid var(--color-muted); border-radius: var(--radius-card); transition: border-color var(--dur-short) ease; }
input:hover, select:hover, textarea:hover { border-color: var(--color-ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--color-ink); outline-offset: 1px; }
input:disabled, select:disabled, textarea:disabled { opacity: 0.55; cursor: not-allowed; }
textarea { min-height: 7rem; resize: vertical; }
details > summary { width: fit-content; cursor: pointer; font-weight: 700; padding-block: var(--space-xs); text-decoration: underline; text-decoration-color: var(--color-rose); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
details[open] > summary { margin-bottom: var(--space-md); }
.notice { margin-top: var(--space-xl); padding: var(--space-md) var(--space-lg); background: var(--color-paper-2); border-left: var(--frame) solid var(--color-rose); }
.send { margin-top: var(--space-xl); }
.send-note { margin-top: var(--space-md); color: var(--color-muted); }
.send-note.is-shown { color: var(--color-ink); font-weight: 600; }

/* ---------- Motion: one entrance, then each block arrives as it is reached. The page is whole without any of it. ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(44px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes lay-down { from { opacity: 0; translate: 0 -46px; scale: 1.06; } }
@keyframes write { from { clip-path: inset(-0.3em 100% -0.4em -0.1em); } to { clip-path: inset(-0.3em -0.3em -0.4em -0.1em); } }

@media (prefers-reduced-motion: no-preference) {
  /* The entrance: the words rise in turn, the three prints are laid down one after another, then the script is written under them. */
  .hero h1, .page-head h1 { animation: rise 800ms var(--ease-reveal) both; }
  .hero .lead, .page-head .lead { animation: rise 800ms var(--ease-reveal) 130ms both; }
  .hero .actions, .page-head .jump { animation: rise 800ms var(--ease-reveal) 260ms both; }
  .print--hoodies { animation: lay-down 700ms var(--ease-out) var(--start, 350ms) both; }
  .print--shirt { animation: lay-down 700ms var(--ease-out) calc(var(--start, 350ms) + 220ms) both; }
  .print--tumblers { animation: lay-down 700ms var(--ease-out) calc(var(--start, 350ms) + 440ms) both; }
  .facts li { animation: rise 700ms var(--ease-reveal) var(--start, 900ms) both; }
  .facts li:nth-child(2) { animation-delay: calc(var(--start, 900ms) + 90ms); }
  .facts li:nth-child(3) { animation-delay: calc(var(--start, 900ms) + 180ms); }
  /* Where the prints or the facts sit below the first screen (a phone), reveal.js holds their entrance until they are reached. */
  .js [data-reveal="hold"]:not(.is-in), .js [data-reveal="hold"]:not(.is-in) * { animation-play-state: paused; }

  /* Reveals: reveal.js sets .js only when it is running, so nothing below is hidden without it. */
  .js [data-reveal="rise"] { opacity: 0; transform: translateY(48px); transition: opacity 650ms ease-out var(--reveal-delay, 0ms), transform 900ms var(--ease-reveal) var(--reveal-delay, 0ms); }
  .js [data-reveal="rise"].is-in { opacity: 1; transform: none; }
  /* Large words rise out of their own line. */
  .js [data-reveal="lift"] { clip-path: inset(-0.1em -0.1em 100% -0.1em); transform: translateY(100%); transition: clip-path 850ms var(--ease-reveal) var(--reveal-delay, 0ms), transform 850ms var(--ease-reveal) var(--reveal-delay, 0ms); }
  .js [data-reveal="lift"].is-in { clip-path: inset(-0.1em -0.1em -0.3em -0.1em); transform: none; }
  /* The script is written from left to right. */
  .js [data-reveal="write"] { clip-path: inset(-0.3em 100% -0.4em -0.1em); transition: clip-path 1000ms var(--ease-in-out) calc(var(--reveal-delay, 0ms) + 250ms); }
  .js [data-reveal="write"].is-in { clip-path: inset(-0.3em -0.3em -0.4em -0.1em); }
  /* Photographs: a cover in the section's colour is drawn back. The picture itself is never clipped or faded, so a lazy picture still loads. */
  .js [data-reveal="wipe"] { transform: translateY(32px); transition: transform 1000ms var(--ease-reveal) var(--reveal-delay, 0ms); }
  .js [data-reveal="wipe"]::after { content: ""; position: absolute; inset: -8px -28px -8px -8px; z-index: 2; background: var(--cover, var(--color-paper)); transform-origin: right center; pointer-events: none; transition: transform 1000ms var(--ease-in-out) var(--reveal-delay, 0ms); }
  .js [data-reveal="wipe"].is-in { transform: none; }
  .js [data-reveal="wipe"].is-in::after { transform: scaleX(0); }
}
@media print {
  .js [data-reveal]:not([data-reveal="hold"]) { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="wipe"]::after { display: none; }
  .call-bar, .example-banner { display: none; }
}

/* ---------- Phone: a call bar that stays in reach ---------- */
.call-bar { display: none; }

@media (max-width: 62rem) {
  .hero-text, .spread, .makers-seal, .makers-text, .order-form, .order-side { grid-column: 1 / -1; }
  .spread { margin: var(--space-2xl) auto 0; width: 94%; max-width: 40rem; }
  .makers-seal img { max-width: 20rem; margin: 0 auto var(--space-xl); }
  .order-side { position: static; }
  .job--hoodies, .job--magalia, .job--party, .job--anniversary { margin-top: 0; }
  .job--hoodies { grid-column: 1 / span 12; }
  .job--magalia { grid-column: 1 / span 7; }
  .job--party { grid-column: 8 / span 5; }
  .job--anniversary { grid-column: 4 / span 6; }
  .gallery li { grid-column: span 6; }
  .gallery li.is-wide, .gallery li.is-note { grid-column: span 12; }
}
@media (max-width: 40rem) {
  body { padding-bottom: var(--bar); }
  html { scroll-padding-bottom: var(--bar); }
  .masthead-call { display: none; }
  .site-nav { flex-basis: 100%; }
  .brand span { font-size: var(--text-lg); }
  .actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .makes a { flex-direction: column; align-items: flex-start; }
  .jobs { row-gap: var(--space-xl); }
  .job--magalia, .job--party, .job--anniversary { grid-column: 1 / -1; }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-name { flex-basis: 100%; }
  .call-bar { position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); display: flex; align-items: center; justify-content: center; min-height: var(--bar); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; font-size: var(--text-lg); text-decoration: none; border-top: var(--rule-strong) solid var(--color-accent-ink); }
  .call-bar:focus-visible { outline-offset: -5px; }
}
