/* ==========================================================================
   Paige Steele, photographer. Site-wide styles: tokens, fonts, reset, nav,
   menu, buttons, reveal, footer. Page sections live in their own file
   (css/home.css for the homepage).

   The look is read off velaaprivateisland.com (2026-10-24): paper and ink,
   a dark brown panel, a thin serif for headlines with one italic phrase, and
   Instrument Sans at 16px for everything else. Canela (Velaa's serif) is a
   paid face, so Cormorant Garamond at weight 300 stands in for it.
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/CormorantGaramond-wght.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/CormorantGaramond-Italic-wght.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/fonts/InstrumentSans-wght.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pinyon Script';
  src: url('../assets/fonts/PinyonScript.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Homemade Apple';
  src: url('../assets/fonts/HomemadeApple.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour, exact Velaa tokens */
  --paper: #e8e6df;
  --ink: #4b4335;
  --ink-60: rgba(75, 67, 53, 0.6);
  --ink-20: rgba(75, 67, 53, 0.2);
  --ink-10: rgba(75, 67, 53, 0.1);
  --brown: #1a130e; /* dark brown, same lightness as Velaa's navy #040326 */
  --black: #010101;
  --white: #ffffff;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);

  /* type ramp, Velaa's computed sizes. Serif headings sit on a line-height
     of 1; body is 16/24 */
  --fs-display: 80px;   /* the one big centred headline on a page */
  --fs-h2: 60px;        /* section headlines */
  --fs-tile: 40px;      /* titles on photo tiles */
  --fs-h3: 32px;        /* small serif, menu rows, footer */
  --fs-body: 16px;
  --fs-nav: 14px;
  --lh-head: 1;
  --lh-body: 1.5;
  --track-head: -0.02em;
  --track-nav: 0.04em;
  --serif-weight: 300;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text',
          'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --hand: 'Homemade Apple', 'Bradley Hand', cursive;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;   /* one flourished word in a headline */

  /* layout */
  --nav-h: 72px;
  --page-margin: 24px;   /* the same at every width, Evan 2026-10-24 */
  --tile-gap: 8px;
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 96px;
  --s-7: 160px;
  --measure: 680px;    /* one width for body copy columns and the contact form */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 1068px) {
  :root {
    --fs-display: 64px;
    --fs-h2: 48px;
    --fs-tile: 32px;
    --fs-h3: 28px;
  }
}
@media (max-width: 734px) {
  :root {
    --fs-display: 48px;
    --fs-h2: 40px;
    --fs-tile: 24px;
    --fs-h3: 28px;
    --nav-h: 64px;
    --s-7: 112px;
    --s-6: 80px;
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
}
h1 em, h2 em, h3 em, .serif em { font-style: italic; font-weight: var(--serif-weight); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* a text-only panel sits inside these margins */
.wrap { padding-inline: var(--page-margin); }

/* ---------- nav ----------
   Fixed and transparent over the hero; a soft black fade arrives once the
   page has moved under it, so the white type survives the paper panels.
   Retires on a downward scroll, returns on the way up (js/nav.js). */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  height: var(--nav-h);
  color: var(--white);
  transition: transform 0.45s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav:focus-within { transform: none; }
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -1;
  height: calc(var(--nav-h) * 2.2);
  background: rgba(1, 1, 1, 0.35);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.3) 80%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 40%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.3) 80%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav.is-stuck::before {
  opacity: 1;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
.nav.is-hidden::before, body.menu-open .nav::before { opacity: 0; }
.nav__inner {
  height: 100%;
  padding-inline: var(--page-margin);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.nav__left { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.nav__right { display: flex; justify-content: flex-end; }

/* hamburger + MENU */
.nav__menu {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  margin-left: -4px;
  padding-inline: 4px;
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  line-height: 1;
}
.nav__burger {
  position: relative;
  width: 20px;
  height: 12px;
  flex: none;
}
.nav__burger::before, .nav__burger::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out), bottom 0.35s var(--ease-out);
}
.nav__burger::before { top: 0; }
.nav__burger::after { bottom: 0; }
.nav__menu[aria-expanded="true"] .nav__burger::before { top: 5px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__burger::after { bottom: 5px; transform: rotate(-45deg); }
.nav__menu-label { transition: opacity 0.3s ease; }
.nav__divider { width: 1px; height: 18px; background: var(--white-20); flex: none; }
.nav__links { display: flex; gap: var(--s-3); }
.nav__links a, .nav__link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

/* centre logo */
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  transition: opacity 0.3s ease;
}
.nav__wordmark {
  display: grid;
  justify-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.nav__wordmark-name { font-size: 28px; letter-spacing: 0.155em; }
.nav__wordmark-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-right: -0.3em; /* so the tracked line centres on its glyphs */
}

/* right-hand button, Velaa's BOOK NOW box */
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding-inline: var(--s-3);
  background: var(--white-20);
  border-radius: 2px;
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}
@media (hover: hover) {
  .nav__links a:hover, .nav__logo:hover { opacity: 0.7; }
  .nav__cta:hover { background: rgba(255, 255, 255, 0.32); }
}
/* desktop shows the page links themselves, so the hamburger only appears
   once they fold away under 860px */
@media (min-width: 861px) {
  .nav__menu, .nav__divider { display: none; }
}
@media (max-width: 860px) {
  .nav__divider, .nav__links { display: none; }
  .nav__cta { height: 36px; padding-inline: var(--s-2); font-size: 12px; }
  .nav__wordmark-name { font-size: 23px; letter-spacing: 0.135em; }
  .nav__wordmark-sub { font-size: 9px; }
}
/* the icon only shows on small phones, where the box folds to a square so
   it stops crowding the wordmark (Evan, 2026-11-02) */
.nav__cta-icon { display: none; }
@media (max-width: 480px) {
  .nav__menu-label { display: none; }
  .nav__cta { width: 40px; height: 40px; padding-inline: 0; }
  .nav__cta-label { display: none; }
  .nav__cta-icon { display: block; }
  .nav__wordmark-name { font-size: 20px; letter-spacing: 0.115em; }
}
@media (max-width: 400px) {
  /* the sides are no longer equal, so the logo centres in what is left
     rather than overlapping the button */
  .nav__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nav__logo { justify-self: center; }
  .nav__wordmark-name { font-size: 17px; letter-spacing: 0.10em; }
  .nav__wordmark-sub { font-size: 8px; }
}

/* ---------- nav on a light page ----------
   Pages without a hero sit on paper and set data-theme="light" on <body>:
   ink type, an ink-tinted button box, a paper-tinted backdrop, and the bar
   ships .is-stuck in the markup since there is no hero to fade over. */
body[data-theme="light"] .nav { color: var(--ink); }
body[data-theme="light"] .nav::before { background: rgba(232, 230, 223, 0.55); }
body[data-theme="light"] .nav__divider { background: var(--ink-20); }
body[data-theme="light"] .nav__cta { background: var(--ink-10); }
@media (hover: hover) {
  body[data-theme="light"] .nav__cta:hover { background: var(--ink-20); }
}
/* the open menu is dark brown, so the bar goes back to white over it */
body[data-theme="light"].menu-open .nav { color: var(--white); }
body[data-theme="light"].menu-open .nav__cta { background: var(--white-20); }

/* ---------- full-screen menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--brown);
  color: var(--white);
  padding: 0 var(--page-margin);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-soft), visibility 0s 0.5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease-soft); }
/* the five links sit at the left margin, centred vertically as a group on
   the whole screen; the Instagram and email links hang near the bottom
   (Evan) */
.menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0 var(--page-margin);
  display: grid;
  gap: var(--s-2);
  align-content: center;
  justify-content: start;
}
.menu__list a {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-3);
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: var(--track-head);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-soft), transform 0.6s var(--ease-out);
  transition-delay: calc(0.08s + var(--i, 0) * 0.07s);
}
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu__num {
  font-family: var(--sans);
  font-size: var(--fs-nav);
  letter-spacing: var(--track-nav);
  color: var(--white-60);
}
.menu__foot {
  position: absolute;
  left: var(--page-margin);
  right: var(--page-margin);
  bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  font-size: var(--fs-nav);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--white-60);
}
@media (hover: hover) {
  .menu__list a:hover { opacity: 0.75; }
  .menu__foot a:hover { color: var(--white); }
}

/* ---------- arrow button ----------
   Velaa's "Find your home": a 40px square box with an arrow, then a plain
   16px label. --btn-box is the box colour: ink-10 on paper, white-20 on dark. */
.btn {
  --btn-box: var(--ink-10);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  font-size: var(--fs-body);
  line-height: 1;
  white-space: nowrap;
}
.btn__box {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--btn-box);
  border-radius: 2px;
  overflow: hidden;
  transition: background 0.3s ease;
}
.btn__box svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out); }
.btn--light { --btn-box: var(--white-20); color: var(--white); }
/* filled variant, the nav's "Let's chat" box with the arrow inside after the
   label; the form's Send button. Light type on dark panels by default. */
.btn--fill {
  --btn-fill: var(--white-20);
  --btn-fill-hover: rgba(255, 255, 255, 0.32);
  height: 48px;
  padding-inline: var(--s-3);
  gap: 12px;
  background: var(--btn-fill);
  border-radius: 2px;
  color: var(--white);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn__arrow { width: 18px; height: 18px; flex: none; transition: transform 0.45s var(--ease-out); }
@media (hover: hover) {
  .btn:hover .btn__box svg, .btn:hover .btn__arrow { transform: translateX(3px); }
  .btn:hover .btn__box { background: var(--ink-20); }
  .btn--light:hover .btn__box { background: rgba(255, 255, 255, 0.32); }
  .btn--fill:hover { background: var(--btn-fill-hover); }
}

/* ---------- reveal ----------
   Apple's arrival, same as the portfolio: 30px low and transparent until
   the group's container crosses a line 17% up the window (js/reveal.js). */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.4, 1) var(--reveal-delay, 0s),
    transform 0.7s cubic-bezier(0.42, 0, 0.58, 1) var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; transition: opacity 0.6s ease; }
}

/* ---------- handwritten note figure ----------
   The slot for Paige's note: live type in a handwriting face for now; when
   the scan arrives it holds one <img class="note__img"> instead. Tilted
   like a card on a table. --wide spreads it so it runs shorter. */
.note__figure {
  width: min(100%, 760px);
  transform: rotate(-2deg);
}
.note__figure--wide { width: min(100%, 1040px); }
.note__figure--wide .note__text { font-size: clamp(16px, 1.8vw, 24px); line-height: 1.8; }
.note__text {
  font-family: var(--hand);
  font-size: clamp(17px, 2.1vw, 27px);
  line-height: 1.9;
  text-align: center;
  text-wrap: balance;
}
.note__text + .note__text { margin-top: 1.2em; }
.note__sign {
  margin-top: 1.4em;
  padding-right: 8%;
  font-family: var(--hand);
  font-size: clamp(20px, 2.6vw, 34px);
  text-align: right;
}
.note__img { width: 100%; height: auto; }

/* ---------- "the heart behind my business" (about page) ----------
   A centred portrait with a handwritten line across its top-left corner,
   a serif headline with one word in script, and a short centred paragraph. */
.heart {
  background: var(--paper);
  color: var(--ink);
  padding: calc(var(--nav-h) + var(--s-6)) var(--page-margin) var(--s-6);
  display: grid;
  justify-items: center;
  text-align: center;
}
.heart__figure {
  position: relative;
  width: min(100%, 400px);
  margin: 0;
}
/* white frame like the scrapbook snapshots (same border in proportion to the
   photo, no shadow); it sits on the img, which carries the reveal, so both rise together */
.heart__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  padding: 4.3%;
  background: #fff;
}
.heart__line {
  position: absolute;
  left: 0;   /* anchored on the photo's top-left corner; the line's middle */
  top: 0;    /* sits on it, so the writing crosses the corner (Evan, 2026-11-22) */
  z-index: 1;
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.6;
  text-align: center;
  white-space: nowrap;
  transform: translate(calc(-36% + 6px), 15%) rotate(-18deg); /* the reveal is on the span inside, so the tilt is static */
}
.heart__line > span { display: block; }
.heart__head {
  margin-top: var(--s-5);
  font-size: var(--fs-h2);
  white-space: nowrap; /* the break is hand-set: "The Heart behind / my business." */
}
.heart__head .script {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.18em;
  letter-spacing: 0;
  margin-inline: 0.04em;
}
.heart__copy {
  margin-top: var(--s-4);
  max-width: var(--measure);
  color: var(--ink);
}
@media (max-width: 734px) {
  .heart__figure { width: min(100%, 300px); }
  .heart__line { transform: translate(calc(-20% + 6px), 15%) rotate(-18deg); } /* less overhang: the photo sits near the screen edge */
  .heart__head { white-space: normal; }
}

/* ---------- scrapbook (about page) ----------
   A page from a scrapbook: a big photo in the middle, two black-and-white
   stamp-edged snapshots overlapping it, handwritten captions and quotes on
   grained paper. Every length inside the board is a percentage or cqw, so
   the composition keeps its shape from 320px up. Geometry read off Evan's
   reference screenshot (878 x 916). */
.scrap {
  background: var(--paper);
  color: var(--ink);
  padding: 0 var(--page-margin) var(--s-4);
}
.scrap__board {
  position: relative;
  width: min(100%, 900px);
  aspect-ratio: 878 / 916;
  margin: 0 auto;
  container-type: inline-size;
  font-family: var(--hand);
}
.scrap__board > * { position: absolute; margin: 0; }
.scrap__photo {
  left: 11%; top: 22%; width: 78%;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}
.scrap__photo img { width: 100%; height: auto; display: block; }
.scrap__pin { width: 28%; z-index: 3; }
/* the frame (figure) carries the reveal, so frame and photo rise together;
   the wrapper above it carries the position, tilt and drift */
.scrap__stamp {
  position: relative;
  margin: 0;
  padding: 1.2cqw;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.scrap__stamp img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
}
/* the wedding snapshot stays in colour and at its own proportions, uncropped */
.scrap__stamp--colour img { aspect-ratio: auto; filter: none; }
/* the reveal is on the img inside, so the tilt is static. The snapshots
   drift a little against the scroll (--p from js/parallax.js, 0 as the board
   enters, 1 as it leaves), one up and one down, so the page feels layered */
.scrap__stamp--tr { left: 68%; top: 12%; transform: translateY(calc((0.5 - var(--p, 0.5)) * 5cqw)); }
.scrap__stamp--bl { left: 4%; top: 56%; transform: rotate(-3deg) translateY(calc((var(--p, 0.5) - 0.5) * 7cqw)); }
@media (prefers-reduced-motion: reduce) {
  .scrap__stamp--tr { transform: none; }
  .scrap__stamp--bl { transform: rotate(-3deg); }
}
.scrap__caption {
  z-index: 4;
  font-size: clamp(13px, 2.8cqw, 26px);
  line-height: 1.3;
  white-space: nowrap;
}
/* centred over the top-right snapshot (left 68% + half its 28% width), no tilt */
.scrap__caption--tr { left: 82%; top: 6.5%; transform: translateX(-50%); }
.scrap__caption--bl { left: 7%; top: 93%; transform: rotate(-3deg); }
.scrap__quote > span, .scrap__caption > span { display: block; }
.scrap__quote {
  z-index: 1;
  font-size: clamp(10px, 2.4cqw, 22px);
  line-height: 1.75;
  color: var(--ink);
  white-space: nowrap; /* the line breaks are hand-set */
}
/* same -2deg tilt as the homepage note; the reveal is on the inner span */
.scrap__quote--tl { left: 7%; top: 10%; width: 48%; transform: rotate(-2deg); }
.scrap__quote--br { left: 60%; top: 78%; width: 36%; transform: rotate(-2deg); }
@media (max-width: 734px) {
  /* the board runs nearly edge to edge so the handwriting has room, and
     sits close to the paragraph above and the heading below (was 80px
     either side) */
  .scrap { padding: 0 8px; }
  .heart:not(.heart--text) { padding-bottom: var(--s-2); }
  .heart--text { padding-top: var(--s-3); }
}

/* second centred block on the about page: same type as .heart, no portrait */
/* the story paragraph sits close above the scrapbook */
.heart:not(.heart--text) { padding-bottom: var(--s-4); }
.heart--text { padding-top: var(--s-5); }
.heart--text .heart__head { margin-top: 0; }
/* "Life outside the lens" stays on one line, easing down on narrow phones */
.heart--text .heart__head { white-space: nowrap; font-size: min(var(--fs-h2), 10vw); }

/* ---------- photo strip (about page) ----------
   A row of white-framed portraits, the size of the scrapbook snapshots,
   gliding right to left on a loop. The track holds the eight frames twice
   and slides by half its width, so the join is seamless. 90s a lap. */
.strip {
  background: var(--paper);
  padding: 0 0 var(--s-7);
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 0; /* frames touch, so the row reads as one continuous strip */
  width: max-content;
  margin-block: 16px; /* room for the shadow */
  animation: strip-glide 90s linear infinite;
}
.strip__frame {
  flex: none;
  width: 252px;
  margin: 0;
  padding: 11px;
  background: #fff;
}
/* one shadow under the whole strip, not one per frame */
.strip__track { box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18); }
.strip__frame img,
.strip__frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--ink-10);
  filter: grayscale(1) contrast(1.05);
}
@keyframes strip-glide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 734px) {
  .strip__frame { width: 200px; padding: 9px; }
  .strip { padding-bottom: var(--s-6); }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
}

/* ---------- info page: services and pricing ---------- */
.eyebrow {
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ink-60);
}
.info-head {
  background: var(--paper);
  color: var(--ink);
  padding: calc(var(--nav-h) + var(--s-6)) var(--page-margin) var(--s-5);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--s-2);
}
.info-head__title { font-size: var(--fs-display); }
.info-head__lead { max-width: var(--measure); margin-top: var(--s-2); }
.services {
  background: var(--paper);
  color: var(--ink);
  padding: var(--s-4) var(--page-margin) var(--s-7);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  max-width: 1200px;
  margin: 0 auto;
}
.service {
  padding-top: var(--s-3);
  border-top: 1px solid var(--ink-20);
}
.service__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.service p + p { margin-top: var(--s-2); }
.service__from {
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ink-60);
}
.pricing {
  background: var(--brown);
  color: var(--white);
  padding: var(--s-7) var(--page-margin);
  display: grid;
  justify-items: center;
  gap: var(--s-5);
}
.pricing__head { font-size: var(--fs-h2); text-align: center; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  width: min(100%, 1100px);
  align-items: start;
}
.plan {
  padding: var(--s-4) var(--s-3);
  border: 1px solid var(--white-20);
  display: grid;
  gap: var(--s-2);
}
.plan--featured { background: var(--white-10); border-color: var(--white-60); }
.plan__name { font-size: var(--fs-h3); }
.plan__price { font-size: var(--fs-h2); font-family: var(--serif); font-weight: var(--serif-weight); line-height: 1; letter-spacing: var(--track-head); }
.plan__list { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; gap: 8px; color: var(--white-80); }
.plan__list li { padding-top: 8px; border-top: 1px solid var(--white-10); }
.pricing__note { max-width: var(--measure); text-align: center; color: var(--white-60); font-size: var(--fs-nav); line-height: 1.5; }
@media (max-width: 860px) {
  .services__grid, .pricing__grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ accordion (info page) ----------
   After tatianabraoun.com/about: a small heading on the left, the questions
   down the right two thirds as serif caps with a hairline under each and a
   plus at the right that turns to a cross when open. */
.faq {
  background: var(--paper);
  color: var(--ink);
  padding: var(--s-7) var(--page-margin);
  display: grid;
  justify-items: center;
  gap: var(--s-5);
}
.faq__head { font-size: var(--fs-h2); text-align: center; }
.faq__list { width: min(100%, 880px); border-top: 1px solid var(--ink-20); }
.faq__item { border-bottom: 1px solid var(--ink-20); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  text-align: left;
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: var(--track-head);
  color: var(--ink);
}
@media (max-width: 734px) {
  .faq__q { font-size: 24px; }
}
.faq__plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out);
}
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__plus::before { transform: translate(-50%, -50%) rotate(45deg); }
.faq__item.is-open .faq__plus::after { transform: translate(-50%, -50%) rotate(-45deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { max-width: var(--measure); color: var(--ink); }
.faq__a p + p { margin-top: 1em; }
.faq__a > div > :last-child { padding-bottom: var(--s-3); }
@media (hover: hover) { .faq__q:hover { opacity: 0.7; } }
@media (max-width: 860px) {
  .faq { gap: var(--s-4); }
}
@media (prefers-reduced-motion: reduce) {
  .faq__a, .faq__plus::before, .faq__plus::after { transition: none; }
}

/* ---------- stories: the four category tiles (home and /galleries) ----------
   Paper. A centred display headline, four staggered portrait tiles that
   each open a gallery, then a paragraph and a button on the right half. */
.stories {
  background: var(--paper);
  color: var(--ink);
  padding: var(--s-7) var(--page-margin) var(--s-7);
}
/* as a page of its own (galleries.html) it starts under the fixed nav */
.stories--page { padding-top: calc(var(--nav-h) + 10vh); }
/* the galleries headline is hand-set on two lines and never wraps further */
.stories--page .stories__head { max-width: none; white-space: nowrap; font-size: min(var(--fs-display), 10.5vw); }
.stories__head {
  text-align: center;
  font-size: var(--fs-display);
  max-width: 16ch;
  margin: 0 auto var(--s-6);
  text-wrap: balance;
}
.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Weddings tile hidden for now; repeat(4, 1fr) with it */
  gap: var(--tile-gap);
  align-items: start;
  max-width: 1040px; /* tiles about the size they were at four across */
  margin: 0 auto;
}
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-10);
  color: var(--white);
}
.tile:nth-child(even) { margin-top: var(--s-4); }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 1, 1, 0.45), rgba(1, 1, 1, 0) 55%);
  pointer-events: none;
}
.tile__title {
  position: absolute;
  z-index: 1;
  left: var(--s-3);
  bottom: var(--s-3);
  right: var(--s-3);
  font-size: var(--fs-tile);
  font-weight: var(--serif-weight);
  letter-spacing: 0;
}
@media (hover: hover) {
  .tile:hover img { transform: scale(1.04); }
}
@media (max-width: 734px) {
  /* three across on phones too while Weddings is hidden, like the More
     stories row on the gallery pages; 1fr 1fr once it is back */
  .stories__grid { grid-template-columns: repeat(3, 1fr); }
  .stories__grid .tile__title { font-size: 18px; }
  .tile__title { left: var(--s-2); bottom: var(--s-2); right: var(--s-2); }
}

/* ---------- footer ---------- */
.footer {
  position: relative; /* over the pinned hero, like .page */
  z-index: 1;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--ink-10); /* the seam after a paper page, invisible after the brown contact panel */
  padding: var(--s-6) var(--page-margin) var(--s-4);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-4);
  align-items: start;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--ink-10);
}
.footer__logo { display: inline-flex; align-items: center; }
/* the footer wordmark runs bigger than the nav's at every width */
.footer__logo .nav__wordmark { justify-items: start; gap: 9px; }
.footer__logo .nav__wordmark-name { font-size: 34px; letter-spacing: 0.155em; }
.footer__logo .nav__wordmark-sub { font-size: 12px; margin-right: 0; }
@media (max-width: 734px) {
  .footer__logo .nav__wordmark-name { font-size: 28px; letter-spacing: 0.14em; }
  .footer__logo .nav__wordmark-sub { font-size: 11px; }
}
.footer__contact { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: 6px; }
.footer__contact a { transition: opacity 0.3s ease; }
/* the personal note: a small serif lead, a line of copy, a link */
.footer__note-head {
  margin: 0 0 var(--s-2);
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: var(--track-head);
}
.footer__note-copy { margin: 0 0 var(--s-2); color: var(--ink-60); max-width: 34ch; }
.footer__note-link { transition: opacity 0.3s ease; }
.footer__col h4 {
  margin: 0 0 var(--s-2);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ink-60);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__col a { transition: opacity 0.3s ease; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2);
  padding-top: var(--s-3);
  font-size: var(--fs-nav);
  color: var(--ink-60);
}
@media (hover: hover) { .footer__col a:hover, .footer__contact a:hover { opacity: 0.7; } }
@media (max-width: 734px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__note { grid-column: 1 / -1; }
}

/* ---------- contact (partials/contact.html, used on several pages) ---------- */
.contact {
  background: var(--brown);
  color: var(--white);
  padding: var(--s-7) var(--page-margin);
}
/* headline and lead centred, the form in one column beneath them */
.contact__inner {
  display: grid;
  justify-items: center;
  gap: var(--s-6);
}
.contact__intro { text-align: center; display: grid; justify-items: center; }
.contact__body { width: 100%; max-width: var(--measure); }
/* hand-set break after "something"; the size eases down on narrow phones so line one never wraps */
.contact__head { font-size: min(var(--fs-h2), 10vw); max-width: 20ch; text-wrap: balance; }
.contact__lead { margin-top: var(--s-3); max-width: var(--measure); color: var(--white-80); }
/* hard return on desktop only; on phones the copy just wraps */
@media (max-width: 860px) { .br-desk { display: none; } }
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 10px; }
.field__label {
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--white-60);
}
.field__input {
  width: 100%;
  padding: 12px 0 14px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--white-20);
  border-radius: 0;
  color: var(--white);
  font: inherit;
  font-size: max(16px, var(--fs-body)); /* 16px floor stops iOS zooming the field */
  line-height: 1.4;
  transition: border-color 0.3s ease;
}
.field__input::placeholder { color: var(--white-60); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field__hint { font-size: var(--fs-nav); color: var(--white-60); margin-top: -4px; }
/* the select keeps the hairline look; the browser's arrow is replaced by ours */
.field__select { position: relative; display: block; }
.field__select select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 32px;
  cursor: pointer;
}
.field__select select:invalid { color: var(--white-60); }
.field__select select option { color: var(--ink); background: var(--paper); }
.field__select::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: var(--s-4); }
}
.field__input:focus { outline: none; border-bottom-color: var(--white); }
textarea.field__input { resize: vertical; min-height: 96px; }
.form__hp { position: absolute; left: -9999px; }
/* the Send box sits at the right edge, the status line to its left */
.form__foot { display: flex; flex-direction: row-reverse; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.form__status { color: var(--white-60); }
.form__status.is-error { color: #ffb4a8; }
.form[hidden], .form__done[hidden] { display: none; } /* both set display, which would beat the hidden attribute */
.form__done {
  display: grid;
  gap: var(--s-2);
  max-width: var(--measure);
}
.form__done h3 { font-size: var(--fs-h3); }
.form__done p { color: var(--white-80); }

/* ---------- contact page (contact.html, was chat.html) ----------
   Paper head: eyebrow, centred display headline and two centred lines of
   copy, then the shared contact panel with its own intro hidden so the
   form sits straight under the copy. */
.chat-head {
  background: var(--paper);
  color: var(--ink);
  padding: calc(var(--nav-h) + 10vh) var(--page-margin) var(--s-6);
  display: grid;
  justify-items: center;
  text-align: center;
}
.chat-head__title {
  font-size: var(--fs-display);
  max-width: 16ch;
  text-wrap: balance;
  margin-bottom: var(--s-4);
}
.chat-head__copy { max-width: var(--measure); color: var(--ink-60); text-wrap: pretty; }
.chat-head__copy + .chat-head__copy { margin-top: var(--s-2); }
.is-chat .contact__intro { display: none; }
/* inverted here: the form stays on paper in ink, head and form one surface */
.is-chat .contact { background: var(--paper); color: var(--ink); padding-top: 0; }
.is-chat .field__label,
.is-chat .field__hint,
.is-chat .field__input::placeholder,
.is-chat .field__select select:invalid,
.is-chat .form__status { color: var(--ink-60); }
.is-chat .field__input { color: var(--ink); border-bottom-color: var(--ink-20); }
.is-chat .field__input:focus { border-bottom-color: var(--ink); }
.is-chat .field__select::after { border-color: var(--ink); }
.is-chat .form__status.is-error { color: #a8402e; }
.is-chat .form__done p { color: var(--ink-60); }
.is-chat .btn--fill { --btn-fill: var(--ink-10); --btn-fill-hover: var(--ink-20); color: var(--ink); }
