/* ==========================================================================
   We Were Invited — design system (direction 5.1 "Par Avion", pastel)
   Layout idea: soft airmail stationery. Envelope-white pages, pastel
   airmail-blue bands, postcards and stamps as quiet texture; the photos
   and the words do the work. One shared stylesheet for every page.
   Maps 1:1 to WordPress theme.json tokens later.
   ========================================================================== */

:root {
  /* Colour */
  --paper:      #FAFAF7;   /* envelope white — page ground */
  --airmail:    #E8EEF6;   /* pastel airmail-paper blue — bands */
  --powder:     #C9D6EA;   /* powder blue — fills, stamp art */
  --blue:       #4C6193;   /* muted airmail blue — buttons, links */
  --blue-deep:  #2F3E63;   /* headings, logo, strong text */
  --rose:       #EFCFC9;   /* pastel airmail red — fills, chevron */
  --rose-deep:  #B86D63;   /* numerals, quote marks, small accents — 3:1+ for large text, not body text */
  --sand:       #F1E8DA;   /* pastel kraft — tags, notes */
  --sage:       #DFE7DD;   /* pastel sage — occasional fill */
  --ink:        #262A33;   /* body text */
  --muted:      #646A78;   /* secondary text */
  --line:       #D8DEE8;   /* hairlines, borders */
  --white:      #FFFFFF;

  --chevron: repeating-linear-gradient(135deg,
      var(--rose) 0 11px, var(--paper) 11px 17px,
      var(--powder) 17px 28px, var(--paper) 28px 34px);

  /* Type */
  --f-display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body:    "Work Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-label:   "Big Shoulders Text", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-typed:   "Special Elite", "Courier New", ui-monospace, monospace;

  --fs-hero:  clamp(46px, 6.6vw, 92px);
  --fs-h1:    clamp(40px, 5.2vw, 70px);
  --fs-h2:    clamp(32px, 3.8vw, 50px);
  --fs-h3:    clamp(22px, 2vw, 27px);
  --fs-lead:  clamp(18px, 1.5vw, 21px);
  --fs-body:  17px;
  --fs-small: 14.5px;
  --fs-label: 13px;

  /* Space & shape */
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --container: 1200px;
  --narrow: 760px;
  --section: clamp(64px, 9vw, 124px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(38, 42, 51, .06), 0 14px 34px -18px rgba(47, 62, 99, .32);
  --shadow-lift: 0 2px 4px rgba(38, 42, 51, .06), 0 30px 60px -30px rgba(47, 62, 99, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/1.65 var(--f-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--powder); color: var(--blue-deep); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; color: var(--blue-deep); line-height: 1.08; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 20px; line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue-deep); color: var(--paper); padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--paper); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.container--narrow { max-width: calc(var(--narrow) + 40px); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--airmail { background: var(--airmail); }
.section--sand { background: var(--sand); }
.section--sage { background: var(--sage); }
.section--white { background: var(--white); }
.section--deep { background: var(--blue-deep); color: var(--paper); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--paper); }
.section--deep .lead, .section--deep .muted { color: #D2D9E8; }
.stack { display: flex; flex-direction: column; gap: var(--stack, 18px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, 12px); }
.grid { display: grid; gap: var(--grid-gap, clamp(18px, 2.4vw, 32px)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .grid--2, .grid--3, .split, .split--wide-left, .split--wide-right { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 var(--fs-label)/1.2 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--chevron); background-size: 34px 2px; }
.eyebrow--plain::before { display: none; }
.label { font: 700 var(--fs-label)/1.2 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.typed { font-family: var(--f-typed); font-size: 15px; line-height: 1.55; color: var(--ink); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--powder); font-family: var(--f-display); font-size: 24px; line-height: 1.35; color: var(--blue-deep); }
.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; }
@media (max-width: 760px) { .section-head--row { grid-template-columns: minmax(0, 1fr); } }
.num { font-variant-numeric: tabular-nums; }
.price { font-family: var(--f-display); color: var(--blue-deep); font-variant-numeric: lining-nums tabular-nums; }
.price s { color: var(--muted); font-size: .6em; margin-right: .3em; text-decoration-thickness: 1.5px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: var(--white); --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 700 15px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--blue-deep); --btn-bd: var(--blue-deep); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--blue-deep); --btn-bd: var(--blue-deep); }
.btn--ghost:hover { --btn-bg: var(--blue-deep); --btn-fg: var(--paper); }
.btn--soft { --btn-bg: var(--rose); --btn-fg: var(--blue-deep); --btn-bd: var(--rose); }
.btn--soft:hover { --btn-bg: #E7BDB5; --btn-bd: #E7BDB5; --btn-fg: var(--blue-deep); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--blue-deep); --btn-bd: var(--paper); }
.btn--light:hover { --btn-bg: var(--airmail); --btn-bd: var(--airmail); --btn-fg: var(--blue-deep); }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 13.5px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { font: 700 14px/1.2 var(--f-label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--blue); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(250, 250, 247, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; display: block; height: 4px; background: var(--chevron); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-deep); flex-shrink: 0; }
.brand__mark { width: 40px; height: auto; }
.brand__name { font: 400 23px/1 var(--f-display); letter-spacing: -.01em; color: var(--blue-deep); white-space: nowrap; }
.brand__sub { display: block; margin-top: 5px; font: 700 10.5px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); list-style: none; }
.nav__list a { position: relative; display: inline-block; padding: 8px 0; text-decoration: none; color: var(--ink); font: 500 15.5px/1 var(--f-body); }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--chevron); background-size: 34px 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--blue-deep); }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--blue-deep); border-radius: 999px; background: transparent; color: var(--blue-deep); font: 700 14px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.nav-toggle__bars { width: 18px; height: 10px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s var(--ease), top .2s var(--ease); }
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }
.nav-open .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: calc(76px + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter-r) 26px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift); max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav:not(.is-open) { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: 15px 0; font: 400 26px/1.1 var(--f-display); color: var(--blue-deep); border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav .btn { margin-top: 18px; }
}
@media (max-width: 420px) { .brand__name { font-size: 20px; } .brand__mark { width: 34px; } .brand__sub { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); }
.page-hero__in { display: grid; gap: 18px; max-width: 820px; }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero--center .page-hero__in { margin-inline: auto; text-align: center; justify-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font: 700 12.5px/1.2 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); list-style: none; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* ---------- Media (photo containers) ---------- */
.media { position: relative; overflow: hidden; background: var(--powder); border-radius: 2px; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media--rose { background: var(--rose); }
.media--sand { background: var(--sand); }
.media--sage { background: var(--sage); }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-21x9 { aspect-ratio: 21 / 9; }
a.media:hover img, .card:hover .media img { transform: scale(1.03); }

/* ---------- Chevron (airmail) edge & frame ---------- */
.chevron-edge { height: 6px; background: var(--chevron); }
.chevron-frame { padding: 12px; background: var(--chevron); box-shadow: var(--shadow-lift); }
.chevron-frame > * { background: var(--paper); }

/* ---------- Postcard ---------- */
.postcard { --tilt: 0deg; position: relative; display: block; padding: 12px 12px 16px; background: var(--white); box-shadow: var(--shadow); transform: rotate(var(--tilt)); transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: inherit; text-decoration: none; }
a.postcard:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.postcard__cap { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: 12px; }
.postcard__title { font: 400 21px/1.2 var(--f-display); color: var(--blue-deep); }
.postcard__note { font-family: var(--f-typed); font-size: 14px; color: var(--muted); }
.postcard .postcard__stamp { position: absolute; top: 22px; right: 22px; z-index: 2; }
.tilt-l { --tilt: -1.6deg; }
.tilt-r { --tilt: 1.4deg; }

/* ---------- Stamp (perforated) ---------- */
.stamp {
  --perf: 4px; position: relative; display: inline-grid; place-items: center;
  padding: calc(var(--perf) + 3px); background: var(--white);
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle, transparent 2.4px, #000 2.8px) calc(var(--perf) * -1) calc(var(--perf) * -1) / 8px 8px round;
          mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle, transparent 2.4px, #000 2.8px) calc(var(--perf) * -1) calc(var(--perf) * -1) / 8px 8px round;
  filter: drop-shadow(0 2px 3px rgba(47, 62, 99, .18));
}
.stamp__art { display: grid; place-items: center; align-content: center; gap: 2px; min-width: 64px; min-height: 76px; padding: 8px 10px; background: var(--powder); color: var(--blue-deep); text-align: center; }
.stamp__art b { font: 400 26px/1 var(--f-display); }
.stamp__art span { font: 700 10px/1.1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; }
.stamp--rose .stamp__art { background: var(--rose); }
.stamp--sand .stamp__art { background: var(--sand); }
.stamp--sage .stamp__art { background: var(--sage); }

/* ---------- Postmark ---------- */
.postmark { width: 120px; height: 120px; color: var(--blue); opacity: .75; pointer-events: none; }
.postmark text { font: 700 11px var(--f-label); letter-spacing: .2em; fill: currentColor; text-transform: uppercase; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.card__body { display: grid; gap: 8px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 700 12.5px/1.2 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__title { font: 400 var(--fs-h3)/1.2 var(--f-display); color: var(--blue-deep); }
a.card:hover .card__title { color: var(--blue); }
.card--panel { padding: clamp(22px, 2.6vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 11px; border-radius: 999px; background: var(--airmail); color: var(--blue-deep); font: 700 12px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.tag--rose { background: var(--rose); }
.tag--sand { background: var(--sand); }
a.tag:hover, .tag.is-active { background: var(--blue-deep); color: var(--paper); }

/* ---------- Luggage-tag style article label (sparingly) ---------- */
.note-tag { position: relative; display: inline-block; padding: 6px 12px 6px 22px; background: var(--sand); font: 700 12px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.note-tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--paper); }

/* ---------- Quote / testimonial ---------- */
.quote { display: grid; gap: 22px; }
.quote__text { font: 400 clamp(24px, 2.6vw, 34px)/1.32 var(--f-display); color: var(--blue-deep); text-wrap: pretty; }
.quote__text::before { content: "“"; display: block; font-size: 1.9em; line-height: .6; color: var(--rose-deep); }
.quote__by { font: 700 14px/1.2 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Steps (real sequences) ---------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 20px; padding-block: 22px; border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: 400 32px/1 var(--f-display); color: var(--rose-deep); }
.steps h3 { font-size: 23px; }

/* ---------- Check list ---------- */
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 400 21px/1.3 var(--f-display); color: var(--blue-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--airmail); font: 400 22px/1 var(--f-body); color: var(--blue-deep); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 52px 22px 0; color: var(--muted); max-width: 70ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; align-content: start; }
.field > label, .fieldset > legend { font: 700 13px/1.2 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); }
.field .hint { font-size: 13.5px; color: var(--muted); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="date"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #C5CEDC; border-radius: var(--radius);
  background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--f-body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(76, 97, 147, .18); }
.field--lined input, .field--lined textarea { border: 0; border-bottom: 1.5px solid #B9C4D6; border-radius: 0; background: transparent; padding-inline: 0; font-family: var(--f-typed); }
.field--lined input:focus, .field--lined textarea:focus { box-shadow: none; border-color: var(--blue); }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border: 1px solid #C5CEDC; border-radius: 999px; background: var(--white); font-size: 15px; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.choice input:checked + span { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.check-inline { display: inline-flex; gap: 8px; align-items: center; font-size: 14.5px; color: var(--muted); }
.check-inline input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-note { font-size: 14px; color: var(--muted); }
.form-success { display: none; padding: 16px 18px; border-radius: var(--radius); background: var(--sage); color: var(--blue-deep); }
.form.is-sent .form-success { display: block; }

/* ---------- CTA postcard (shared bottom-of-page invite) ---------- */
.cta-card { padding: 12px; background: var(--chevron); box-shadow: var(--shadow-lift); }
.cta-card__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 4vw, 56px); background: var(--paper); }
.cta-card__in h2 { font-size: clamp(30px, 3.6vw, 48px); }
.cta-card__side { display: grid; gap: 14px; justify-items: start; padding-left: clamp(0px, 3vw, 40px); border-left: 1px dashed #B9C4D6; }
.cta-card__lines { display: grid; gap: 12px; width: 100%; }
.cta-card__lines span { display: block; border-bottom: 1.5px solid #C5CEDC; padding-bottom: 6px; font-family: var(--f-typed); font-size: 15px; color: var(--muted); }
@media (max-width: 760px) {
  .cta-card__in { grid-template-columns: minmax(0, 1fr); }
  .cta-card__side { border-left: 0; border-top: 1px dashed #B9C4D6; padding-left: 0; padding-top: 22px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--airmail); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px) 28px; }
.site-footer::before { content: ""; display: block; height: 4px; margin-top: calc(-1 * clamp(56px, 7vw, 88px)); margin-bottom: clamp(56px, 7vw, 88px); background: var(--chevron); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-grid h2 { font: 700 13px/1.2 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--blue); text-decoration: underline; }
.footer-about { display: grid; gap: 16px; align-content: start; max-width: 36ch; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #CAD5E5; font-size: 13.5px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Modal (showreel demo etc.) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(38, 42, 51, .55); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(860px, 100%); padding: 12px; background: var(--chevron); box-shadow: var(--shadow-lift); }
.modal__in { display: grid; gap: 14px; padding: clamp(22px, 4vw, 40px); background: var(--paper); }
.modal__close { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--airmail); color: var(--blue-deep); font-size: 22px; cursor: pointer; }

/* ---------- Play button ---------- */
.play { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 0; border-radius: 999px; background: rgba(250, 250, 247, .92); color: var(--blue-deep); font: 700 14px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; box-shadow: var(--shadow); }
.play::before { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23FAFAF7'/%3E%3C/svg%3E") center / 22px no-repeat; }
.play:hover { background: var(--white); }

/* ---------- Prototype note (remove in WordPress) ---------- */
.proto-note { font-size: 13px; color: var(--muted); }

/* Inline components never stretch inside flex/grid stacks */
.eyebrow, .tag, .note-tag, .stamp, .link-arrow { width: fit-content; }
:is(.stack, .card, .card__body, .section-head, .page-hero__in) > :is(.eyebrow, .tag, .note-tag, .stamp, .btn, .link-arrow, .play) { justify-self: start; align-self: flex-start; }
:is(.text-center, .section-head--center, .page-hero--center) :is(.stack, .section-head, .page-hero__in) > :is(.eyebrow, .tag, .btn),
.section-head--center > :is(.eyebrow, .tag, .btn) { justify-self: center; align-self: center; }
.align-start { align-items: start; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .postcard, a.postcard:hover { transform: none; }
}
