/* Rumy Portraits — tokens from Brand Guidelines v1.1 (08 · Website cheat sheet) */
:root {
  --cream: #F2ECE0;      /* background */
  --ink: #21201C;        /* text, dark sections */
  --taupe: #A38566;      /* secondary: bands, buttons, fills (not small text on cream) */
  --champagne: #E5D6C0;  /* cards, panels, soft sections */
  --deep-taupe: #7F6147; /* italic accent words on cream */
  --paper: #FAF6EE;      /* photo frames and cards only */
  --ink-soft: #5A554C;   /* secondary text on cream (6.3:1) */
  --cream-soft: #B8AD9C; /* secondary text on ink (7.4:1) */
  --error: #9E2F22;

  --font-head: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Lora', Georgia, serif;

  --h1: clamp(3.4rem, 1.2rem + 6.4vw, 7rem);
  --h2: clamp(2.4rem, 1.6rem + 3vw, 3.5rem);
  --h3: clamp(1.5rem, 1.3rem + 0.6vw, 1.9rem);
  --body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 22px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-frame: 0 1px 2px rgba(33, 32, 28, .08), 0 14px 32px -12px rgba(33, 32, 28, .28);
}

/* Desktop and tablet: the whole layout is shown 10% larger. Phones stay at 100%.
   Anything sized to the screen height divides by --zoom so it still fits exactly. */
:root { --zoom: 1; }
@media (min-width: 760px) {
  html { zoom: 1.1; }
  :root { --zoom: 1.1; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--taupe); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display, .h2, .h3 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}
.display { font-size: var(--h1); }
.h2 { font-size: var(--h2); line-height: 1.02; }
.h3 { font-size: var(--h3); letter-spacing: -0.03em; line-height: 1.08; }
/* One italic word or phrase per headline: the smile in the sentence */
.display em, .h2 em, .h3 em, .footer-line em, .studio-tagline em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--deep-taupe);
}
.display em { display: block; font-size: 1.04em; }
.label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 1.25rem;
}
.label--rule {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(33, 32, 28, .2);
  margin-bottom: 28px;
}
.label-aside { color: var(--ink-soft); }
.body-lg { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem); line-height: 1.5; }

/* ---------- Buttons: outline pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid var(--ink);
  font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  touch-action: manipulation;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .15s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 16px; height: 16px; flex: none; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--deep-taupe); border-color: var(--deep-taupe); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.sparkle { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 236, 224, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(33, 32, 28, .14); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: block; padding: 8px 0; border-radius: 8px; }
.brand img { width: 116px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a { text-decoration: none; font-weight: 500; font-size: .975rem; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s var(--ease-out); }
.site-nav ul a:hover { background-size: 100% 1.5px; }
.site-nav .btn { min-height: 44px; padding: 10px 18px; }
.menu-toggle { display: none; }

@media (max-width: 899px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 999px;
    background: transparent; border: 1.5px solid var(--ink); cursor: pointer;
  }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
    display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px;
    transition: transform .25s var(--ease-out), opacity .2s;
  }
  .menu-toggle-bars { position: relative; }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; }
  .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px var(--gutter) 28px;
    background: var(--cream);
    border-bottom: 1px solid rgba(33, 32, 28, .14);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; border-bottom: 1px solid rgba(33, 32, 28, .1); background: none; }
}

/* ---------- Paper frames ---------- */
.frame {
  margin: 0;
  background: var(--paper);
  padding: clamp(8px, 1.2vw, 14px) clamp(8px, 1.2vw, 14px) 0;
  box-shadow: var(--shadow-frame);
}
.frame img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--champagne); }
.frame figcaption, .frame-cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 4px 14px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
}
.frame--tilt-l { transform: rotate(-3deg); }
.frame--tilt-r { transform: rotate(2.5deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-head { display: grid; gap: 28px; align-items: end; }
.hero .label { color: var(--ink-soft); }
.hero-side { max-width: 420px; }
.lede { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem); margin-bottom: 28px; }
.hero-meta { margin: 20px 0 0; font-size: .9rem; color: var(--ink-soft); }
@media (min-width: 960px) {
  .hero-head { grid-template-columns: 1fr auto; gap: 56px; }
  .hero-side { padding-bottom: 10px; }
}

/* Carousel: a slow, endless drift from left to right */
.carousel { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.carousel-track {
  display: flex; align-items: flex-start;
  width: max-content;
  padding: 16px 0 36px;
  animation: drift 70s linear infinite;
}
/* Prints overlap their neighbour slightly; every item carries the same margin so the loop stays seamless */
.carousel-track li { position: relative; flex: 0 0 clamp(170px, 17vw, 250px); margin-right: clamp(-12.5px, -0.85vw, -8.5px); } /* ~5% of the print width */
.carousel-track li:hover { z-index: 10; }
/* Each portrait gets its own tilt, height and stacking from script.js, so clones match their originals */
.carousel-track li { z-index: var(--z, 1); }
.carousel-track .frame { transform: rotate(var(--tilt, 0deg)); margin-top: var(--lift, 0px); }
.carousel-track .frame { transition: transform .35s var(--ease-out); }
.carousel-track .frame { padding-bottom: clamp(26px, 2.6vw, 38px); } /* blank print border instead of a caption */
.carousel-track li:hover .frame { transform: rotate(0) scale(1.04); }
/* Track holds two identical sets; start shifted left by one set and move right */
@keyframes drift { from { transform: translateX(-50%); } to { transform: translateX(0); } }



/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--champagne { background: var(--champagne); }
.section--champagne .label-aside { color: var(--ink-soft); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .h2 em { color: var(--taupe); }
.section--ink .label--rule { border-bottom-color: rgba(242, 236, 224, .22); }
.label--light { color: var(--cream-soft); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h2 { max-width: 16ch; }
.section-intro { max-width: 46ch; margin-top: 24px; color: var(--ink-soft); }

/* Experience */
.experience-intro { display: grid; gap: 40px; align-items: center; margin-bottom: clamp(48px, 7vw, 88px); }
.experience-intro .body-lg { max-width: 34ch; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.4; letter-spacing: -0.01em; margin: 0; }
.experience-frame { width: min(320px, 72%); justify-self: center; padding-bottom: clamp(26px, 2.6vw, 38px); }
@media (min-width: 900px) {
  .experience-intro { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .experience-frame { justify-self: end; margin: -150px 6% 0 0; }
}

.steps { display: grid; gap: 16px; }
.step { background: var(--champagne); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.step-num { display: block; font-family: var(--font-accent); font-style: italic; font-size: 1.75rem; color: var(--deep-taupe); margin-bottom: 36px; }
.step .h3 { margin-bottom: 12px; }
.step p { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
/* Rise & settle: cards in a .rise-group lift up and settle with a soft spring, left to right, once */
.js .rise-group, .js .rise-group.is-in { opacity: 1; translate: none; }
.js .rise-group > * { opacity: 0; transform: translateY(40px) scale(.95); }
.js .rise-group.is-in > * { animation: rise-settle .95s cubic-bezier(.34, 1.4, .64, 1) forwards; }
.js .rise-group.is-in > :nth-child(2) { animation-delay: .18s; }
.js .rise-group.is-in > :nth-child(3) { animation-delay: .36s; }
@keyframes rise-settle { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }

/* Gallery: a pile of prints that deals itself out into a grid as you scroll (script.js) */
.pile-scroll { position: relative; height: 230vh; margin-top: clamp(16px, 3vw, 40px); }
.pile-stage {
  position: sticky; top: var(--header-h, 100px);
  height: calc(100vh / var(--zoom) - var(--header-h, 100px));
  display: grid; place-items: center;
}
.pile {
  /* Dealt out into two rows (five, then four), sized so both rows fit between the
     menu and the bottom of the screen while the section holds still */
  --print-w: min(
    calc((100vh / var(--zoom) - var(--header-h, 100px) - 110px) / 3),
    calc((100vw / var(--zoom) - 2 * var(--gutter) - 96px) / 5),
    270px
  );
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 24px;
  width: calc(5 * var(--print-w) + 4 * 24px);
}
.pile li { flex: 0 0 var(--print-w); }
.pile li { position: relative; z-index: var(--z, 1); }
.pile li:hover, .pile li:focus-within { z-index: 20; }
.frame--btn {
  padding-bottom: clamp(14px, 2.2vh, 28px); /* blank print border */
  display: block; width: 100%; border: 0; cursor: zoom-in; text-align: left;
  transform: rotate(var(--end, 0deg));
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.frame--btn.dealing { transition: none; will-change: transform; }
.pile .frame--btn:not(.dealing):hover, .pile .frame--btn:not(.dealing):focus-visible { transform: rotate(0) translateY(-6px) scale(1.04); box-shadow: 0 2px 4px rgba(33,32,28,.08), 0 26px 44px -16px rgba(33,32,28,.38); }
.swipe-dots { display: none; }

/* Phones: a simple swipe row instead of the pile, so the page stays short */
@media (max-width: 759px) {
  .pile-scroll { height: auto; margin-top: 0; }
  .pile-stage { position: static; height: auto; display: block; }
  .pile {
    display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 14px; width: auto;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: 18px 14% 26px;
    scrollbar-width: none;
  }
  .pile::-webkit-scrollbar { display: none; }
  .pile li { flex: 0 0 72%; scroll-snap-align: center; z-index: auto; }
  .frame--btn { padding-bottom: clamp(26px, 7vw, 34px); }
  .swipe-dots { display: flex; justify-content: center; gap: 8px; }
  .swipe-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .22; transition: opacity .25s, transform .25s; }
  .swipe-dots span.is-active { opacity: .85; transform: scale(1.25); }

}

/* Studios */
.studios { display: grid; gap: 16px; }
.studio {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
}
.studio .label { margin-bottom: 18px; font-size: 1rem; }
.studio-price { margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px; }
.price { font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.from { font-family: var(--font-accent); font-style: italic; font-size: 1.25rem; }
.studio-tagline { font-weight: 500; margin-bottom: 24px; }
.ticks { display: grid; gap: 12px; align-content: start; margin-bottom: 32px; flex: 1; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 13px; height: 13px;
  background: currentColor; opacity: .85;
  -webkit-mask: url("assets/sparkle.svg") center / contain no-repeat;
  mask: url("assets/sparkle.svg") center / contain no-repeat;
}
.studio .btn { align-self: flex-start; }
/* All three packages share the champagne card colour */
.studio { background: var(--champagne); color: var(--ink); }
.from { color: var(--deep-taupe); }
@media (min-width: 960px) { .studios { grid-template-columns: repeat(3, 1fr); } }
/* Phones: swipe between the package cards, edge to edge */
@media (max-width: 759px) {
  .studios {
    display: flex; gap: 14px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 8px 9vw 22px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .studios::-webkit-scrollbar { display: none; }
  .studios > .studio { flex: 0 0 82vw; scroll-snap-align: center; }
}

.travel {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 16px; padding: 22px clamp(22px, 3vw, 34px);
  border: 1.5px dashed rgba(33, 32, 28, .35); border-radius: var(--radius);
}
.travel .sparkle { width: 20px; height: 20px; margin-top: 3px; color: var(--deep-taupe); }
.travel p { margin: 0; max-width: 70ch; }

/* About */
.about-grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
.about-frame { width: min(440px, 88%); justify-self: center; }
.about-frame img { aspect-ratio: 4 / 5; }
.about-frame .sig { margin-left: auto; font-family: var(--font-accent); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.about-copy .h2 { margin-bottom: 28px; max-width: 14ch; }
.about-copy p { max-width: 58ch; }
.pull {
  margin: 32px 0; padding: 0 0 0 22px;
  border-left: 2px solid var(--taupe);
  font-family: var(--font-accent); font-style: italic; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.35;
  color: var(--ink);
}
.roles { display: grid; gap: 14px; margin-top: 36px; }
.role { background: var(--cream); border-radius: var(--radius); padding: 24px 26px; }
.role .label { margin-bottom: 10px; color: var(--ink-soft); }
.role .h3 { margin-bottom: 10px; }
.role p:last-child { margin: 0; color: var(--ink-soft); }
@media (min-width: 600px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .about-grid { grid-template-columns: .9fr 1.1fr; } }

/* Enquire */
.enquire-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
.enquire-copy .h2 { margin-bottom: 24px; }
.enquire-copy .body-lg { color: var(--cream-soft); max-width: 40ch; }
.contact-list { display: grid; gap: 18px; margin-top: 40px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list .label { margin: 0; font-size: .75rem; }
.contact-list a, .contact-list span:not(.label) { font-size: 1.125rem; font-weight: 500; }
@media (min-width: 960px) { .enquire-grid { grid-template-columns: .85fr 1.15fr; } .enquire-copy { position: sticky; top: 120px; } }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: .95rem; }
.req { color: var(--deep-taupe); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px;
  padding: 13px 16px;
  font-size: 1rem;
  background: var(--cream);
  border: 1.5px solid rgba(33, 32, 28, .28);
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input, .field select { height: 52px; line-height: 1.2; } /* identical boxes side by side */
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2321201C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 42px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(33, 32, 28, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff8ec; box-shadow: 0 0 0 3px rgba(163, 133, 102, .45); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-help { margin: 0; font-size: .875rem; color: var(--ink-soft); }
.field-error { margin: 0; font-size: .875rem; font-weight: 500; color: var(--error); display: flex; gap: 6px; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: var(--paper); font-size: .7rem; font-weight: 800; margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.error-summary { border: 2px solid var(--error); border-radius: 14px; padding: 16px 18px; background: #fbefe9; }
.error-summary:focus { outline: 3px solid var(--taupe); outline-offset: 2px; }
.error-summary-title { margin: 0 0 8px; font-weight: 600; color: var(--error); }
.error-summary ul { list-style: disc; padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 500; }

.btn-submit { justify-self: start; min-width: 200px; margin-top: 4px; }
.btn-submit[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn-submit[aria-busy="true"] .icon { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translate(3px, -3px); } }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; font-weight: 500; }
.form-status.is-error { color: var(--error); }

.form-success { text-align: left; padding: 12px 0; }
.form-success:focus { outline: none; }
.form-success .sparkle { width: 40px; height: 40px; color: var(--deep-taupe); margin-bottom: 20px; }
.form-success .h3 { margin-bottom: 14px; }
.preview-note { margin-top: 16px; font-size: .875rem; padding: 10px 14px; border-radius: 10px; background: var(--champagne); }

/* FAQs */
.faq-grid { display: grid; gap: 40px clamp(48px, 8vw, 120px); align-items: start; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.9fr 1.1fr; }
  .faq-head { position: sticky; top: 130px; }
}
.faq-list { border-top: 1px solid rgba(33, 32, 28, .2); }
.faq { border-bottom: 1px solid rgba(33, 32, 28, .2); overflow: hidden; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem); font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--deep-taupe); }
/* A plus that turns into a cross when open */
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 7.25px; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon { transform: rotate(45deg); }
.faq[open]:not(.is-open) .faq-icon { transform: none; } /* turns back as soon as a close starts */
.faq p { margin: -6px 0 0; padding: 0 40px 28px 0; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 8vw, 104px) 0 40px; text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: 20px; }
.footer-inner > img { width: 150px; }
.footer-line { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin: 12px 0 8px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer-links a { display: inline-block; padding: 8px 0; font-weight: 500; }
.footer-links .social { display: inline-flex; align-items: center; gap: 8px; }
.footer-links .social svg { width: 20px; height: 20px; flex: none; }
.footer-handle { margin: -8px 0 0; font-size: .9rem; color: var(--ink-soft); }
.footer-small { margin: 24px 0 0; font-size: .8125rem; color: var(--ink-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(33, 32, 28, .94); color: var(--cream);
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: fade .25s var(--ease-out); }
.lightbox::backdrop { background: transparent; }
@keyframes fade { from { opacity: 0; } }
.lb-figure { margin: 0 auto; background: var(--paper); padding: 10px; width: fit-content; max-width: 100%; }
.lb-figure img { max-height: calc(100dvh / var(--zoom) - 150px); width: auto; max-width: 100%; margin: 0 auto; }
.lb-btn {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 clamp(4px, 2vw, 24px);
  border-radius: 999px; border: 1.5px solid rgba(242, 236, 224, .5); background: transparent; color: var(--cream); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.lb-btn:hover { background: var(--cream); color: var(--ink); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; top: 12px; right: 4px; }
@media (max-width: 599px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 16px; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  .lb-figure { margin: 0 12px; }
  .lb-figure img { max-height: calc(100dvh - 220px); }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .7s var(--ease-out), translate .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
/* Slides in from the left instead of rising (used on the pull quote) */
.js .reveal--slide { translate: -48px 0; transition-duration: 1s; }
.js .reveal--slide.is-in { translate: 0 0; }
/* Develop: each word of a title fades in from a washed-out, slightly lifted state
   to its full colour, like a Polaroid developing. Only opacity, colour and a small
   transform are animated so scrolling stays smooth. script.js splits titles into
   words and numbers them (--i). Plays once. */
.js .reveal--words, .js .reveal--words.is-in { opacity: 1; translate: none; }
.js .reveal--words .w { display: inline-block; opacity: 0; }
.js .reveal--words.is-in .w { animation: develop .9s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: calc(var(--base, 0s) + var(--i, 0) * 70ms); }
.hero .reveal--words { --base: .5s; } /* the top headline waits a moment after the page opens */
@keyframes develop {
  0% { opacity: 0; color: #fffaf0; transform: translateY(.18em); }
  100% { opacity: 1; transform: none; } /* colour settles back to the word's own ink, taupe or cream */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .reveal--words .w { opacity: 1; animation: none; }
  .js .rise-group > * { opacity: 1; transform: none; animation: none; }
  .pile-scroll { height: auto; }
  .pile-stage { position: static; height: auto; }
  .pile { width: min(100%, 860px); }
  .carousel-track { animation: none; width: auto; overflow-x: auto; padding-left: var(--gutter); padding-right: var(--gutter); scroll-snap-type: x mandatory; }
  .carousel-track li { scroll-snap-align: start; margin-right: 12px; }
  .carousel-track [aria-hidden="true"] { display: none; }
}

/* ---------- Cursor: the sparkle from the logo ---------- */
/* Mouse and trackpad only. The colour follows the background underneath so it
   always stands out and switches the moment it crosses into a new area:
     light areas: near-black      dark areas: taupe
     clickable on light: taupe    clickable on dark: cream
   Typing boxes keep the usual text cursor. Each rule comes after (and is at least
   as specific as) the one it overrides; !important beats the component cursors above. */
@media (hover: hover) and (pointer: fine) {
  html, html * { cursor: url("assets/cursor.svg") 16 16, auto !important; }

  html :is(.section--ink, .lightbox),
  html :is(.section--ink, .lightbox) * { cursor: url("assets/cursor-dark.svg") 16 16, auto !important; }

  html .form-card, html .form-card * { cursor: url("assets/cursor.svg") 16 16, auto !important; }

  html :is(a, button, summary, select, .btn, .frame--btn, [role="button"]),
  html :is(a, button, summary, .btn, .frame--btn, [role="button"]) * { cursor: url("assets/cursor-pointer.svg") 16 16, pointer !important; }

  html :is(.section--ink, .lightbox) :is(a, button, select, .btn, [role="button"]),
  html :is(.section--ink, .lightbox) :is(a, button, .btn, [role="button"]) * { cursor: url("assets/cursor-pointer-dark.svg") 16 16, pointer !important; }

  html .form-card :is(button, select, .btn),
  html .form-card :is(button, .btn) * { cursor: url("assets/cursor-pointer.svg") 16 16, pointer !important; }

  html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="date"]), textarea) { cursor: text !important; }
}
