/* ===========================================================
   HIGGINS GRAPHIX — site.css
   Old money: black, gold and cream. Tall engraved capitals for
   headings, a copperplate script for one word at a time, and a
   book serif for everything you read. Pages are built from a few
   solid panels, black then cream, and each cream panel carries a
   thin gold line set in from its edge like a picture frame.
   =========================================================== */

/* ══════════════════════════════
   1. TOKENS
════════════════════════════════ */
:root {
  /* Black panels */
  --ink:   #0A0908;
  --ink-2: #110F0B;
  --ink-3: #1A1711;
  --ivory: #F6F0E2;
  --text:  #E6DECD;
  --text-2: #C9C0AD;

  /* Gold */
  --gold:    #C9A557;
  --gold-hi: #E3CB8E;
  --gold-lo: #8A6E30;

  /* Cream panels */
  --cream:      #EFE7D4;
  --cream-2:    #F8F3E7;
  --cream-ink:  #15110B;
  --cream-text: #3B3426;
  --cream-gold: #7A5C16;
  --frame:      #B8974A;

  --line:       rgba(201, 165, 87, 0.30);
  --line-cream: rgba(21, 17, 11, 0.20);

  --display: 'Noto Serif Display', 'Bodoni MT', Didot, 'Times New Roman', serif;
  --script:  'Pinyon Script', 'Snell Roundhand', 'Apple Chancery', cursive;
  --serif:   'EB Garamond', Garamond, 'Times New Roman', serif;

  --nav-h: 80px;
  --gutter: clamp(26px, 5vw, 64px);
  --frame-inset: clamp(10px, 1.3vw, 18px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════
   1b. FONTS
════════════════════════════════
   Served from this site, not from Google, so the page makes no
   outside requests at all. Each file is the Latin subset. The
   display face is the extra-condensed cut only, weights 500 to 600.
   Licences are in fonts/LICENSE.txt. */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal; font-weight: 500 600; font-stretch: 62.5%;
  font-display: swap;
  src: url('fonts/noto-serif-display-condensed.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal; font-weight: 400 600;
  font-display: swap;
  src: url('fonts/eb-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic; font-weight: 400 600;
  font-display: swap;
  src: url('fonts/eb-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal; font-weight: 400;
  font-display: swap;
  src: url('fonts/pinyon-script.woff2') format('woff2');
}

/* ══════════════════════════════
   2. RESET + BASE
════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--gold-lo) var(--ink);
  scrollbar-width: thin;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(201, 165, 87, 0.2);
  caret-color: var(--gold);
  font-variant-numeric: lining-nums;
}
body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; touch-action: manipulation; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-lo); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 4px;
}
.panel-cream :focus-visible, .invite :focus-visible { outline-color: var(--cream-ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 14px 24px; z-index: 3000;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.skip-link:focus { left: 0; }

.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;
}

/* Anchor targets clear the fixed nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* ══════════════════════════════
   3. TYPE
════════════════════════════════
   Three voices and each has one job.
     Noto Serif Display, extra condensed, capitals: every heading.
     Pinyon Script: one word inside a heading, and the signature.
     EB Garamond: everything you read, set large enough to read.
════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 62.5%;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.018em;
  line-height: 1;
  color: var(--ivory);
  text-wrap: balance;
  /* This face has hairline-thin cross strokes: the middle bar of an E or F
     nearly vanishes at small sizes, worst on cream. A half-pixel outline in
     the text's own colour thickens every stroke by the same small amount,
     which is a lot for a hairline and almost nothing for a stem. The fill
     is painted over the outline so the letter shapes stay crisp. */
  -webkit-text-stroke: 0.5px currentColor;
  paint-order: stroke fill;
}
h1 { font-size: clamp(3.3rem, 10.5vw, 7.5rem); }
h2 { font-size: clamp(2.7rem, 6.2vw, 4.6rem); }
h3 { font-size: clamp(1.85rem, 2.9vw, 2.35rem); font-weight: 600; letter-spacing: 0.025em; line-height: 1.05; }

/* The script word. It is set larger than the capitals around it and
   allowed to lean out of its line, the way it would on an engraved card. */
h1 em, h2 em, .script {
  font-family: var(--script);
  font-style: normal; font-weight: 400; font-stretch: normal;
  text-transform: none; letter-spacing: 0;
  color: var(--gold);
  -webkit-text-stroke: 0;
}
h1 em, h2 em {
  display: inline-block;
  font-size: 1.22em; line-height: 0.6;
  padding: 0 0.1em 0 0.04em;
  transform: translateY(0.06em);
}

p { text-wrap: pretty; }
p strong, li strong { color: var(--ivory); font-weight: 600; }

.lede { font-size: clamp(1.25rem, 1.7vw, 1.45rem); line-height: 1.5; max-width: 58ch; }

/* Small capitals voice: nav, buttons, flags */
.label {
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-hi);
}

/* ══════════════════════════════
   4. PANELS + LAYOUT
════════════════════════════════ */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 900px; }

.panel { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.panel-tint { background: var(--ink-2); }

/* Cream panel with its frame: a thin gold line near the edge, not on it */
.panel-cream { background: var(--cream); color: var(--cream-text); }
.panel-cream::before {
  content: ''; position: absolute; inset: var(--frame-inset);
  border: 1px solid var(--frame);
  pointer-events: none;
}
.panel-cream h1, .panel-cream h2, .panel-cream h3 { color: var(--cream-ink); }
.panel-cream h2 em, .panel-cream .script { color: var(--cream-gold); }
.panel-cream p strong, .panel-cream li strong { color: var(--cream-ink); }
.panel-cream .label { color: var(--cream-gold); }
.panel-cream ::selection { background: var(--cream-ink); color: var(--cream); }

.head { text-align: center; max-width: 860px; margin: 0 auto clamp(36px, 4.6vw, 60px); }
.head .lede { margin: 32px auto 0; }

.two-col {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 6vw, 96px);
}
.two-col h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin-bottom: 20px; }
.two-col p + p { margin-top: 16px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.mt-lg { margin-top: clamp(34px, 4vw, 52px); }
.mt-md { margin-top: 26px; }
.center { text-align: center; }

/* Grain. Keeps flat black reading as lacquer rather than as an empty div. */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, footer { position: relative; z-index: 2; }

/* ══════════════════════════════
   5. BUTTONS + LINKS
════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--serif);
  font-size: 0.98rem; font-weight: 600; line-height: 1;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 19px 32px;
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn-outline { color: var(--ivory); border-color: var(--gold); }
.btn-outline:hover { color: var(--ink); background: var(--gold); }

/* On cream */
.btn-ink { background: var(--cream-ink); color: var(--cream); border-color: var(--cream-ink); }
.btn-ink:hover { background: #3A3122; border-color: #3A3122; }
.btn-ink-outline { color: var(--cream-ink); border-color: var(--cream-ink); }
.btn-ink-outline:hover { background: var(--cream-ink); color: var(--cream); }

.btn-sm { padding: 14px 22px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.is-centered { justify-content: center; }

/* The arrow is drawn, not typed */
.arw {
  position: relative; flex: none;
  display: inline-block; width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform .45s var(--ease-out);
}
.arw::after {
  content: ''; position: absolute; right: 0; top: -3.5px;
  width: 8px; height: 8px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
a:hover > .arw, button:hover > .arw { transform: translateX(6px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.98rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-hi);
  padding: 8px 0;
  transition: color .3s var(--ease);
}
.link-arrow:hover { color: var(--ivory); }
.panel-cream .link-arrow { color: var(--cream-gold); }
.panel-cream .link-arrow:hover { color: var(--cream-ink); }

/* Inline text links inside running copy */
.prose a, .answer a, .form-error a, .text-link {
  color: var(--gold-hi);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.panel-cream .prose a, .panel-cream .answer a, .panel-cream .text-link { color: var(--cream-gold); }

/* Diamond-marked list */
.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.45; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 0.56em;
  width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg);
}
.panel-cream .ticks li::before { background: var(--frame); }

/* ══════════════════════════════
   6. LOGO
════════════════════════════════
   Bishop's own artwork with the studio backdrop keyed out.
     logo-lockup.webp   mark + wordmark side by side, for the navbar
     logo-stacked.webp  the stacked lockup, for the footer */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 42px; width: auto; transition: opacity .3s var(--ease); }
.logo:hover img { opacity: 0.8; }
.logo-lg img { height: 104px; }
@media (max-width: 640px) {
  .logo img { height: 34px; }
  .logo-lg img { height: 88px; }
}

/* ══════════════════════════════
   7. NAV
════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--nav-h);
  display: flex; align-items: center;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
#navbar.scrolled { background: var(--ink); border-bottom-color: var(--line); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter);
}
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-links a {
  position: relative;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text);
  padding: 10px 0;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 3px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--gold-hi); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--gold-hi); }

.nav-cta { display: flex; align-items: center; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 7px;
  width: 44px; height: 44px; padding: 8px;
}
.hamburger span {
  display: block; width: 28px; height: 1.5px;
  background: var(--gold-hi);
  transition: transform .4s var(--ease-out);
}
.hamburger.open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.hamburger.open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0;
  width: 100%;
  height: calc(100vh - var(--nav-h));   /* older iPhones */
  height: calc(100dvh - var(--nav-h));
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink);
  z-index: 999;
  padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) {
  -webkit-text-stroke: 0.5px currentColor; paint-order: stroke fill;
  font-family: var(--display); font-stretch: 62.5%; font-weight: 500;
  font-size: 2.5rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--ivory);
  padding: 16px 0;
  transition: color .25s var(--ease);
}
.mobile-menu a:not(.btn):hover,
.mobile-menu a.is-active { color: var(--gold); }
.mobile-menu .btn { margin-top: 24px; }
body.no-scroll #navbar { background: var(--ink); border-bottom-color: var(--line); }

@media (max-width: 1060px) {
  .hamburger { display: flex; }
  .nav-links, .nav-cta { display: none; }
}

/* ══════════════════════════════
   8. VIDEO LAYERS
════════════════════════════════
   The coding footage is real and recorded, which is why it stays. It
   is graded to a single warm tone so its syntax colours stop fighting
   the gold. The poster paints first and the video fades in over it,
   so a slow connection or blocked autoplay leaves a still image.
   Only the layer on screen plays (see site.js). */
.vid-wrap { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.vid-wrap .poster, .vid-layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: grayscale(1) sepia(0.62) saturate(1.5) contrast(1.12) brightness(1.1);
}
.vid-wrap .poster { background: url('hero-poster.jpg') center/cover no-repeat; }
.vid-layer {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  pointer-events: none;
}
.vid-layer.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .vid-layer { display: none; } }

.vid-toggle {
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text);
  padding: 8px 0;
  display: inline-flex; align-items: center; gap: 12px;
  transition: color .3s var(--ease);
}
.vid-toggle::before {
  content: ''; width: 9px; height: 11px; flex: none;
  border-inline: 2.5px solid currentColor;
}
.vid-toggle[aria-pressed="true"]::before {
  width: 0; height: 0;
  border-block: 6px solid transparent;
  border-inline: 0; border-left: 10px solid currentColor;
}
.vid-toggle:hover { color: var(--gold-hi); }
.vid-toggle[hidden] { display: none; }

/* ══════════════════════════════
   9. HERO — HOME
════════════════════════════════ */
#hero {
  position: relative; isolation: isolate;
  min-height: min(100vh, 1000px);   /* older iPhones */
  min-height: min(100svh, 1000px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 clamp(56px, 8vh, 88px);
  overflow: hidden;
  text-align: center;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 75% 70% at 50% 46%, rgba(10,9,8,0.82) 0%, rgba(10,9,8,0.55) 62%, rgba(10,9,8,0.35) 100%),
    linear-gradient(to top, var(--ink) 0%, rgba(10,9,8,0) 26%);
}
.hero-frame {
  position: absolute; z-index: -1; pointer-events: none;
  inset: var(--nav-h) var(--frame-inset) var(--frame-inset);
  border: 1px solid var(--gold);
  opacity: 0.75;
}
#hero h1 { font-size: clamp(2.9rem, 9.4vw, 6.8rem); }
#hero h1 .ln { display: block; }
#hero .lede { margin: clamp(22px, 3.4vh, 34px) auto 0; max-width: 46ch; color: var(--ivory); }
#hero .btn-row { margin-top: clamp(26px, 3.6vh, 38px); }
.hero-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 34px;
  margin-top: clamp(28px, 4vh, 44px);
}
.hero-meta a, .hero-meta span {
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text); padding: 8px 0;
}
.hero-meta a { color: var(--gold-hi); transition: color .25s var(--ease); }
.hero-meta a:hover { color: var(--ivory); }

@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } }
#hero h1 { animation: rise-in 1.3s var(--ease-out) both; }
#hero .lede { animation: rise-in 1.3s var(--ease-out) .18s both; }
#hero .btn-row, .hero-meta { animation: rise-in 1.3s var(--ease-out) .32s both; }
.hero-frame { animation: fade-in 2s var(--ease) .2s both; }

/* ══════════════════════════════
   10. HERO — INTERIOR PAGES
════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + clamp(44px, 6.5vw, 88px)) 0 clamp(44px, 5.5vw, 72px);
  text-align: center;
}
.page-hero h1 { font-size: clamp(3rem, 8.6vw, 6.25rem); max-width: 14ch; margin: 0 auto; animation: rise-in 1.2s var(--ease-out) both; }
.page-hero .lede { margin: clamp(20px, 2.6vw, 30px) auto 0; max-width: 54ch; color: var(--ivory); animation: rise-in 1.2s var(--ease-out) .15s both; }
.page-hero .btn-row { margin-top: 32px; justify-content: center; }

/* ══════════════════════════════
   11. SERVICE TRIO (home)
════════════════════════════════ */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px); }
.trio-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.from {
  font-style: italic; font-size: 1.4rem; line-height: 1.2;
  color: var(--gold-hi); margin-top: 10px;
}
.panel-cream .from { color: var(--cream-gold); }
.trio-item > p:not(.from) { margin: 18px 0 22px; max-width: 34ch; }
.trio-item .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }

/* ══════════════════════════════
   12. PLANS (pricing blocks)
════════════════════════════════
   Solid blocks instead of ruled rows. On a cream panel the plans are
   lighter cream, and the one to look at first is black. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 42px) clamp(24px, 2.6vw, 38px);
  background: var(--cream-2);
  color: var(--cream-text);
}
.plan h3 { color: var(--cream-ink); }
.plan .tagline { font-style: italic; font-size: 1.3rem; line-height: 1.25; color: var(--cream-gold); margin-top: 6px; }
.plan .price {
  -webkit-text-stroke: 0.5px currentColor; paint-order: stroke fill;
  font-family: var(--display); font-stretch: 62.5%; font-weight: 500;
  font-size: clamp(3.4rem, 5.4vw, 4.6rem); line-height: 1;
  color: var(--cream-ink);
  margin: 22px 0 6px;
}
.plan .price small {
  -webkit-text-stroke: 0;
  font-family: var(--serif); font-stretch: normal; font-weight: 400; font-style: italic;
  font-size: 1.25rem; letter-spacing: 0; margin-left: 6px;
}
.plan > p:not(.tagline):not(.price):not(.fine) { margin: 14px 0 20px; }
.plan .ticks { margin-bottom: 26px; }
.plan .fine { margin-top: auto; font-size: 1.08rem; line-height: 1.45; }
.plan .fine strong { color: var(--cream-ink); }

.plan.is-featured { background: var(--ink); color: var(--text); }
.plan.is-featured h3, .plan.is-featured .price, .plan.is-featured .fine strong { color: var(--ivory); }
.plan.is-featured .tagline { color: var(--gold-hi); }
.plan.is-featured .ticks li::before { background: var(--gold); }
.plan .flag {
  align-self: flex-start; margin-bottom: 16px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  padding: 6px 12px;
}
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* Black block set into a cream panel: the founding rate, notes */
.offer {
  margin-top: clamp(14px, 1.6vw, 22px);
  background: var(--ink); color: var(--text);
  padding: clamp(26px, 3vw, 40px) clamp(24px, 3.4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 14px clamp(24px, 4vw, 56px); align-items: center;
}
.panel-cream .offer h3 { color: var(--ivory); }
.panel-cream .offer h3 .script { color: var(--gold); }
.offer h3 .script { font-size: 1.5em; line-height: 0.6; display: inline-block; padding-right: 0.08em; }
.panel-cream .offer p strong { color: var(--ivory); }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }

/* ══════════════════════════════
   13. PRICE LISTS
════════════════════════════════
   Name, dotted leader, figure. */
.pricelist { display: flex; flex-direction: column; gap: 4px; }
.row { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; }
.row .n { flex: 1; display: flex; align-items: baseline; gap: 12px; min-width: 0; color: inherit; }
.row .n::after {
  content: ''; flex: 1; min-width: 20px;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-5px);
}
.panel-cream .row .n::after { border-bottom-color: var(--line-cream); }
.row .v {
  font-weight: 600; font-size: 1.4rem; line-height: 1; white-space: nowrap;
  color: var(--gold-hi);
  font-variant-numeric: lining-nums tabular-nums;
}
.panel-cream .row .v { color: var(--cream-ink); }
.row-desc { font-size: 1.08rem; line-height: 1.45; margin: -4px 0 10px; max-width: 52ch; color: var(--text-2); }
.footnote { font-size: 1.08rem; line-height: 1.45; margin-top: 18px; }

.price-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); }
.price-cols h3 { margin-bottom: 6px; }
.price-cols .from { margin: 0 0 18px; }
.price-cols .link-arrow { margin-top: 18px; }
@media (max-width: 860px) { .price-cols { grid-template-columns: 1fr; } }

/* ══════════════════════════════
   14. COLUMNS + STEPS
════════════════════════════════ */
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px); }
.cols-3 .sub { font-style: italic; font-size: 1.3rem; line-height: 1.25; color: var(--gold-hi); margin-top: 8px; }
.panel-cream .cols-3 .sub { color: var(--cream-gold); }
.cols-3 h3 + p:not(.sub), .cols-3 .sub + p { margin-top: 16px; }
.cols-3 .fine { margin-top: 16px; font-size: 1.08rem; line-height: 1.45; }
@media (max-width: 900px) { .cols-3 { grid-template-columns: 1fr; } }

/* Numbered because the order is the information */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 48px);
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step);
  display: block;
  -webkit-text-stroke: 0.5px currentColor; paint-order: stroke fill;
  font-family: var(--display); font-stretch: 62.5%; font-weight: 500;
  font-size: 4.4rem; line-height: 0.9; color: var(--gold);
  margin-bottom: 14px;
}
.panel-cream .step::before { color: var(--frame); }
.step h3 { font-size: clamp(1.7rem, 2.4vw, 2.05rem); margin-bottom: 10px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ══════════════════════════════
   15. WORK
════════════════════════════════ */
.projects { display: grid; gap: clamp(52px, 7vw, 96px); }
.project {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px clamp(32px, 5vw, 72px); align-items: center;
}
.project:nth-child(even) .frame { order: 2; }

/* Screenshot in a mat and a gold frame */
.frame {
  display: block; padding: clamp(8px, 1vw, 12px);
  border: 1px solid var(--gold);
  transition: border-color .4s var(--ease);
}
.frame > span { display: block; overflow: hidden; background: var(--ink-3); }
.frame img {
  width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top center;
  transition: transform 1.2s var(--ease-out);
}
a.frame:hover { border-color: var(--gold-hi); }
a.frame:hover img { transform: scale(1.035); }

.project-body .label { display: block; margin-top: 12px; }
.project-body p { margin: 18px 0 20px; max-width: 46ch; }

@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) .frame { order: 0; }
}

/* ══════════════════════════════
   16. FILM PANEL (websites page)
════════════════════════════════ */
.film-frame { padding: clamp(8px, 1vw, 12px); border: 1px solid var(--gold); }
.film {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(440px, 50vw, 640px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(32px, 5vw, 72px) clamp(24px, 5vw, 72px);
  text-align: center;
}
.film-shade {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(10,9,8,0.84) 0%, rgba(10,9,8,0.5) 70%, rgba(10,9,8,0.3) 100%);
}
.film-body { max-width: 720px; }
.film-body .lede { margin: 22px auto 0; color: var(--ivory); }
.film-meta {
  display: flex; gap: 6px 32px; flex-wrap: wrap; align-items: center; justify-content: center;
  margin-top: 26px;
}

/* ══════════════════════════════
   17. FAQ
════════════════════════════════ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.panel-cream .faq, .panel-cream .faq details { border-color: var(--line-cream); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-size: clamp(1.35rem, 2vw, 1.55rem); font-weight: 500; line-height: 1.3;
  color: var(--ivory);
  transition: color .3s var(--ease);
}
.panel-cream .faq summary { color: var(--cream-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.panel-cream .faq summary:hover { color: var(--cream-gold); }
.faq summary .ind { flex: none; position: relative; width: 18px; height: 18px; }
.faq summary .ind::before, .faq summary .ind::after {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 18px; height: 2px; background: var(--gold);
  transition: transform .45s var(--ease-out);
}
.panel-cream .faq summary .ind::before, .panel-cream .faq summary .ind::after { background: var(--cream-gold); }
.faq summary .ind::after { transform: rotate(90deg); }
.faq details[open] summary .ind::after { transform: rotate(0deg); }
.faq .answer { padding: 0 0 26px; max-width: 66ch; }
.faq .answer p + p { margin-top: 12px; }

/* ══════════════════════════════
   18. PROSE
════════════════════════════════ */
.split-prose {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(40px, 6vw, 96px); align-items: start;
}
.split-prose > h2 { position: sticky; top: calc(var(--nav-h) + 36px); }
.prose p { max-width: 60ch; }
.prose p + p { margin-top: 16px; }
.prose h3 { margin: 44px 0 14px; }
.prose .pull {
  font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1.25;
  color: var(--ivory);
  margin: 28px 0;
  max-width: 24ch;
}
.panel-cream .prose .pull { color: var(--cream-ink); }
.prose .btn-row { margin-top: 30px; }
.signoff { font-family: var(--script); font-size: 3rem; line-height: 1; color: var(--gold); margin-top: 28px; }
.panel-cream .signoff { color: var(--cream-gold); }
@media (max-width: 860px) {
  .split-prose { grid-template-columns: 1fr; }
  .split-prose > h2 { position: static; }
}

.callout { background: var(--ink-3); padding: 28px 32px; }
.callout h3 { font-size: 1.7rem; margin-bottom: 10px; color: var(--gold-hi); }
.panel-cream .callout { background: var(--cream-2); }
.panel-cream .callout h3 { color: var(--cream-ink); }

/* ══════════════════════════════
   19. THE INVITATION (closing card)
════════════════════════════════
   A cream card with the same inset gold line, set down on the black.
   It is where every page ends. */
.invite-wrap { padding: clamp(64px, 8vw, 112px) 0; }
.invite {
  position: relative;
  max-width: 920px; margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) clamp(28px, 7vw, 96px);
  background: var(--cream);
  color: var(--cream-text);
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 30px 70px rgba(0,0,0,0.7);
}
.invite::before {
  content: ''; position: absolute; inset: clamp(9px, 1.2vw, 14px);
  border: 1px solid var(--frame); pointer-events: none;
}
.invite > * { position: relative; }
.invite h2 { color: var(--cream-ink); }
.invite h2 em { color: var(--cream-gold); }
.invite .lede { margin: 32px auto 34px; max-width: 48ch; }
.invite ::selection { background: var(--cream-ink); color: var(--cream); }

/* ══════════════════════════════
   20. FORMS
════════════════════════════════
   The form sits on a cream panel, so fields are light boxes with dark
   text: the most readable thing on the site. */
.form-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 52px clamp(40px, 6vw, 88px); align-items: start;
}
@media (max-width: 960px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin-bottom: 28px; }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--cream-ink); margin-bottom: 8px;
}
.field label .req { color: var(--cream-gold); }
.field input, .field select, .field textarea {
  width: 100%;
  background-color: var(--cream-2);
  border: 1px solid #A39676;
  border-radius: 0;
  padding: 15px 16px;
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.3;
  color: var(--cream-ink);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6B6350; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--cream-ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--cream-ink); outline-offset: 2px;
  border-color: var(--cream-ink); background-color: #FFFDF6;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2315110B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.field select option { background: var(--cream-2); color: var(--cream-ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Inline validation — only shows after a failed submit attempt */
.field .err { display: none; font-size: 1.05rem; font-weight: 500; color: #8E1F14; margin-top: 6px; }
.field.has-error .err { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #8E1F14; border-width: 2px; }

.btn-submit { width: 100%; margin-top: 6px; padding-block: 22px; }
.btn-submit:disabled { opacity: 0.55; cursor: progress; }

.form-note { font-size: 1.08rem; line-height: 1.45; margin-top: 16px; }

/* Netlify honeypot — off-screen, invisible to people, tempting to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  display: none;
  background: var(--ink); color: var(--text);
  padding: clamp(40px, 5vw, 60px) clamp(26px, 4vw, 48px);
  text-align: center;
}
.form-success.show { display: block; }
.form-success .tick {
  position: relative;
  width: 56px; height: 56px; margin: 0 auto 22px;
  border: 1.5px solid var(--gold); border-radius: 50%;
}
.form-success .tick::after {
  content: ''; position: absolute; left: 21px; top: 12px;
  width: 12px; height: 23px;
  border-right: 2px solid var(--gold-hi); border-bottom: 2px solid var(--gold-hi);
  transform: rotate(42deg);
}
.panel-cream .form-success h3 { color: var(--ivory); margin-bottom: 14px; }
.form-success p { max-width: 44ch; margin: 0 auto 8px; }
.panel-cream .form-success .signoff { color: var(--gold); margin-top: 20px; }
.form-error {
  display: none;
  border: 2px solid #8E1F14; background: #F6E3DC; color: #5C150D;
  padding: 16px 20px; margin-bottom: 26px;
}
.form-error.show { display: block; }
.panel-cream .form-error a { color: #5C150D; }

/* Contact details column */
.info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.info-row .k { display: block; margin-bottom: 2px; }
.info-row .v { font-size: 1.4rem; font-weight: 500; line-height: 1.3; color: var(--cream-ink); overflow-wrap: anywhere; }
.info-row a.v { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.info-row a.v:hover { color: var(--cream-gold); }

/* ══════════════════════════════
   21. FOOTER
════════════════════════════════ */
#footer {
  border-top: 1px solid var(--line);
  padding: clamp(52px, 6vw, 80px) 0 calc(30px + env(safe-area-inset-bottom));
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px; margin-bottom: clamp(40px, 5vw, 64px);
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { max-width: 32ch; color: var(--text-2); }
.footer-h {
  -webkit-text-stroke: 0;
  font-family: var(--serif); font-stretch: normal;
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; line-height: 1.4;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text); transition: color .25s var(--ease); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap;
  font-size: 1.02rem; color: var(--text-2);
}
.footer-bottom a { transition: color .25s var(--ease); }
.footer-bottom a:hover { color: var(--gold-hi); }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ══════════════════════════════
   22. BACK TO TOP
════════════════════════════════ */
#back-to-top {
  position: fixed; z-index: 900;
  right: calc(26px + env(safe-area-inset-right)); bottom: calc(26px + env(safe-area-inset-bottom));
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  background: var(--ink);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s var(--ease), visibility .35s var(--ease),
              transform .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
#back-to-top.show { opacity: 1; visibility: visible; transform: none; }
#back-to-top:hover { background: var(--gold); color: var(--ink); }

/* ══════════════════════════════
   23. REVEAL
════════════════════════════════
   .reveal is applied by JS only, so with JS off everything stays
   visible. Framed images are uncovered from the top; the closing
   card settles into place. Text is never hidden. */
[data-reveal="wipe"].reveal > * { clip-path: inset(0 0 100% 0); }
[data-reveal="wipe"].reveal.visible > * {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.4s var(--ease-out);
}
[data-reveal="rise"].reveal { opacity: 0; transform: translateY(28px); }
[data-reveal="rise"].reveal.visible {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal].reveal, [data-reveal].reveal > * { opacity: 1; transform: none; clip-path: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
}

/* ══════════════════════════════
   24. SMALL SCREENS
════════════════════════════════ */
@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  body { font-size: 1.19rem; }
  .btn { padding: 18px 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  #hero { padding-top: calc(var(--nav-h) + 40px); }
  .callout { padding: 24px 22px; }
}

/* ══════════════════════════════
   25. HEADING SIZES IN CONTEXT
════════════════════════════════ */
.project-body :is(h2, h3) { font-size: clamp(2.2rem, 3.8vw, 3.1rem); }
.trio-item h2 { font-size: clamp(1.85rem, 2.9vw, 2.35rem); letter-spacing: 0.025em; line-height: 1.05; }
.trio-item h2 + p { margin-top: 14px; }
.price-cols h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin-bottom: 6px; }
.panel-cream .row-desc { color: var(--cream-text); }
.panel-cream .footnote strong { color: var(--cream-ink); }
.prose a.link-arrow, .prose a.btn { text-decoration: none; }
.panel-cream .prose a.btn-ink { color: var(--cream); }
.panel-cream .prose a.btn-ink-outline { color: var(--cream-ink); }
.panel-cream .prose a.btn-ink-outline:hover { color: var(--cream); }

/* ══════════════════════════════
   26. PHONES
════════════════════════════════ */
/* Touch screens have no hover, and a tapped button should not stay
   stuck in its hover colours afterwards. */
@media (hover: none) {
  .btn-outline:hover { color: var(--ivory); background: transparent; }
  .btn-ink-outline:hover { color: var(--cream-ink); background: transparent; }
  .panel-cream .prose a.btn-ink-outline:hover { color: var(--cream-ink); }
  a:hover > .arw, button:hover > .arw { transform: none; }
  a.frame:hover img { transform: none; }
}
@media (max-width: 640px) {
  /* Comfortable thumb targets in the footer */
  .footer-col ul { gap: 2px; }
  .footer-col a { display: inline-block; padding: 9px 0; }
  .hero-meta { flex-direction: column; align-items: center; gap: 0; }
  .plan .price { font-size: 3.6rem; }
  .signoff { font-size: 2.6rem; }
}

/* ══════════════════════════════
   27. LEGAL PAGES
════════════════════════════════
   Long reading text, so everything here favours being read: a narrow
   column, and clause headings in the reading face rather than capitals. */
.legal { max-width: 780px; margin: 0 auto; }
.legal .updated { font-style: italic; margin-bottom: 26px; }
.legal h2 { font-size: clamp(2.1rem, 3.6vw, 2.8rem); margin: 56px 0 16px; }
.legal .updated + h2, .legal .updated + p { margin-top: 0; }
.legal h3 {
  font-family: var(--serif); font-stretch: normal;
  font-size: 1.42rem; font-weight: 600; line-height: 1.25;
  text-transform: none; letter-spacing: 0;
  -webkit-text-stroke: 0;
  margin: 30px 0 8px;
}
.legal p { max-width: none; }
.legal ul { margin-top: 12px; }
.legal ul + p { margin-top: 16px; }

.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 4px 22px; }
