/* ============================================================
   Reuben Oliver, Photography
   Cormorant Garamond (headlines) + Inter (body) + Roboto Mono (labels, buttons)
   Type scale, label tracking and the button system after shortstache.com
   ============================================================ */

:root {
  --bg:        #e5e6e0;   /* warm off-white */
  --bg-deep:   #dcdcd5;
  --ink:       #111111;
  --ink-soft:  #555550;
  --rule:      rgba(17,17,17,.16);
  --white:     #ffffff;
  --paper:     #f7f7f5;   /* the cream that sits on ink, never pure white */
  --field:     #f1f2ec;   /* form fill, one step lighter than the page */

  /* Three faces, three jobs.
     Cormorant Garamond: headlines only, the wedding half, left alone.
     Inter: body copy and anything else a sans has to carry.
     Roboto Mono: every small label, eyebrow, caption and button. */
  --sans:  "Inter", system-ui, "Helvetica Neue", sans-serif;
  --disp:  "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --mono:  "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Labels are monospaced now, so they carry their own rhythm and need far
     less tracking than Jost did. Anything near .3em reads as a different era
     of website. */
  --track: .12em;

  --pad:   clamp(20px, 5vw, 64px);
  --ease:  cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.22,1,.36,1);

  /* Buttons read these two. Any dark container flips the pair. */
  --btn-ink:      var(--ink);
  --btn-contrast: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ---------- Display type ---------- */

/* Display headings in Cormorant, light and airy. Mixed case, gentle tracking:
   this is the half that should feel like a wedding invitation. */
h1, h2 {
  font-family: var(--disp);
  font-weight: 300;
  letter-spacing: .06em;
  line-height: 1.12;
  text-transform: none;
  margin: 0;
}
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(25px, 3.4vw, 40px); }

/* Small labels in Roboto Mono, uppercase, lightly tracked. This layer is what
   makes the page read as a gallery rather than a wedding blog, and it is the
   half that carries the whole shortstache feel. */
.eyebrow,
.nav a,
.btn,
h3,
.caption-label {
  font-family: var(--mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track);
}

h3 { font-size: 11.5px; margin: 0; font-weight: 500; letter-spacing: var(--track); }

.eyebrow {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.lede {
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 58ch;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */

/* The shortstache button, measured off their own stylesheet: a 3rem block
   with an 8px radius, mono caps, and a single pixel of lift on hover. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: var(--track);
  padding: .85rem 1.4rem;
  border: 1px solid var(--btn-ink);
  border-radius: 8px;
  background: var(--btn-ink);
  color: var(--btn-contrast);
  cursor: pointer;
  transition: transform .32s var(--ease-out),
              background .32s var(--ease),
              border-color .32s var(--ease),
              color .32s var(--ease);
}

/* One pixel. Any more and it stops feeling like paper and starts feeling
   like a toy. */
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--btn-ink); outline-offset: 3px; }

/* Ghost: an outline at 28 percent that comes up to full strength on hover.
   Pair it with a solid button, never use it alone. */
.btn--ghost {
  background: transparent;
  color: var(--btn-ink);
  border-color: color-mix(in srgb, var(--btn-ink) 28%, transparent);
}
.btn--ghost:hover { border-color: var(--btn-ink); }

/* Anything sitting on ink flips the pair, so a solid button on a dark band
   fills cream and a ghost outlines cream. .btn--light is the old name for the
   same idea and still works wherever it is already in the markup. */
.band,
.hero,
.price--featured,
.btn--light {
  --btn-ink:      var(--paper);
  --btn-contrast: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-row--center { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; transition: none; }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(229,230,224,.94);
  backdrop-filter: blur(10px);
  padding-block: 14px;
}
/* header sitting over a dark hero */
.site-header.is-over-hero:not(.is-scrolled) { color: var(--white); }

.brand {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -.01em;
  text-transform: lowercase;
  white-space: nowrap;
}

.nav { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; }
.nav a {
  font-size: 11px;
  letter-spacing: .12em;
  position: relative;
  padding-block: 4px;
  opacity: .85;
  transition: opacity .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { opacity: 1; }

.nav-toggle {
  display: none;
  background: none; border: 0; color: inherit;
  padding: 6px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: currentColor; margin: 5px 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 120px var(--pad) 80px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img,
.hero__media .ph {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroDrift 24s var(--ease) forwards;
}
@keyframes heroDrift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.55) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__inner h1 {
  font-size: clamp(38px, 6.6vw, 82px);
  letter-spacing: .03em;
  font-weight: 300;
  max-width: 14ch;
  margin-inline: auto;
}
.hero__inner .eyebrow { color: rgba(255,255,255,.8); }
.hero__sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin: 18px 0 32px;
}
.hero__scroll {
  position: absolute; z-index: 2;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--mono); font-weight: 500;
  color: rgba(255,255,255,.75);
}
.hero__scroll::after {
  content: ""; display: block; width: 1px; height: 34px;
  background: currentColor; margin: 10px auto 0;
  transform-origin: top;
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(.35); opacity: .4; }
  50%     { transform: scaleY(1);   opacity: 1; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(70px, 9vw, 130px) var(--pad); }
.section--tight { padding-block: clamp(50px, 6vw, 80px); }
.section-head { text-align: center; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head .rule {
  width: 34px; height: 1px; background: var(--ink);
  margin: 18px auto 0; opacity: .4;
}

.page-head {
  padding: clamp(130px, 16vw, 200px) var(--pad) clamp(34px, 5vw, 60px);
  text-align: center;
}

/* ---------- Grids ---------- */

.grid {
  display: grid;
  gap: clamp(10px, 1.4vw, 18px);
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); }
.grid--flush { gap: 4px; }

/* Card / gallery tile.
   The photograph is the whole point: no overlay, no text, until you hover.
   On hover the frame darkens and the name fades up over it. */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 4 / 5;
}
.tile--wide { aspect-ratio: 3 / 2; }
.tile img, .tile .ph {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile:hover img, .tile:hover .ph { transform: scale(1.04); }

.tile__veil {
  position: absolute; inset: 0;
  background: rgba(10,10,9,.48);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.tile:hover .tile__veil,
.tile:focus-visible .tile__veil { opacity: 1; }

.tile__label {
  position: absolute; inset: 0;
  display: grid;
  place-content: center;
  padding: 24px;
  color: var(--white);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.tile:hover .tile__label,
.tile:focus-visible .tile__label { opacity: 1; transform: none; }
.tile__label h3 { letter-spacing: .14em; font-size: 13px; }

/* Photo grid inside a gallery */
.photos {
  display: grid;
  gap: clamp(8px, 1vw, 14px);
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  grid-auto-flow: dense;
}
.photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  cursor: zoom-in;
  aspect-ratio: 3 / 2;
}
.photo--portrait { aspect-ratio: 2 / 3; grid-row: span 2; }
.photo--wide     { grid-column: span 2; aspect-ratio: 3 / 2; }
.photo--full     { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.photo img, .photo .ph {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity .8s var(--ease);
}
.photo:hover img { transform: scale(1.04); }

/* Placeholder block shown until a real photo exists */
.ph {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(17,17,17,.045) 0 12px, transparent 12px 24px),
    linear-gradient(140deg, #cfd0c8, #b9bab1 55%, #a7a89f);
  color: rgba(17,17,17,.42);
  font-family: var(--mono); font-weight: 500;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  text-align: center; padding: 12px;
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .hero__media img, .hero__media .ph { animation: none; }
  .hero__scroll::after { animation: none; }
}

/* ---------- Split / about ---------- */

.split {
  display: grid;
  gap: clamp(28px, 4vw, 60px);
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: center;
  /* Without a cap the columns keep growing on a 27 inch monitor and the
     measure runs past 120 characters a line. */
  max-width: 1180px;
  margin-inline: auto;
}
.split__media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-deep);
  max-width: 520px;
  width: 100%;
}
.split__media img, .split__media .ph { width: 100%; height: 100%; object-fit: cover; }
.prose p { margin: 0 0 16px; color: var(--ink-soft); max-width: 62ch; }
.prose p.first { color: var(--ink); }

/* Below this the two columns get too narrow to read, so stack them and let
   the portrait sit centred above the copy. Covers iPad portrait. */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { margin-inline: auto; }
}

/* Centred prose blocks keep their measure and stay centred. */
.prose--center { max-width: 640px; margin-inline: auto; text-align: center; }
.prose--center p { margin-inline: auto; }

/* ---------- Large desktop readability ----------
   On a 27 inch screen the viewer sits further back, so nudge body copy up a
   step rather than leaving it at the laptop size. */
@media (min-width: 1600px) {
  body { font-size: 17px; }
  .prose p { margin-bottom: 18px; }
}

/* ---------- Splash landing ----------
   The home page is a door, not a scroll: one photograph, one line, one way in.
   Left half image, right half a quiet panel. */

.is-splash { overflow: hidden; }

.splash {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  height: 100dvh;
}
.splash__media { position: relative; overflow: hidden; background: var(--bg-deep); }
.splash__media img, .splash__media .ph {
  width: 100%; height: 100%; object-fit: cover;
}
/* Stacked slides, cross fading. Only the one with .is-on is visible. */
.splash__media .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* Slow on purpose: the photographs should dissolve into each other. */
  transition: opacity 2.8s var(--ease);
}
.splash__media .slide.is-on { opacity: 1; }

.splash__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: clamp(26px, 3.4vw, 46px) var(--pad);
  background: var(--bg);
}
.splash__brand {
  font-family: var(--disp);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.01em;
}

/* Sits a little below centre, the way the eye expects a title card to. */
.splash__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 2.8vw, 36px);
  margin-block: auto;
  padding-top: 6vh;
  max-width: 34ch;
}
.splash__center h1 {
  font-family: var(--sans);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 400;
  text-transform: uppercase;
  /* Inter caps sit wider than Jost caps did, so the same line needs less
     tracking to hold the same shape. */
  letter-spacing: .18em;
  line-height: 1.5;
  /* Stops the last word dropping to a line of its own. */
  text-wrap: balance;
}
.splash__role {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-soft);
}
.splash__center .btn-row { margin-top: clamp(8px, 1.4vw, 18px); }

@media (max-width: 860px) {
  /* Phones get the photograph first and the panel under it, still one screen. */
  .is-splash { overflow: auto; }
  .splash {
    grid-template-columns: 1fr;
    grid-template-rows: 52dvh auto;
    height: auto;
    min-height: 100dvh;
  }
  .splash__panel { gap: 34px; padding-block: 34px 42px; }
  .splash__center { margin-block: 0; padding-top: 0; gap: 26px; }
}

/* A flush page starts with full bleed media, so push it clear of the pinned
   header. --header-h is measured in main.js; the clamp is the fallback. */
.page-flush main { padding-top: var(--header-h, clamp(88px, 10vw, 112px)); }

/* ---------- Shoot index (shoots page) ----------
   Covers sit two across in named groups, so the page can be scanned at a
   glance instead of scrolled through one screen at a time. */

.shoot-group + .shoot-group { margin-top: clamp(48px, 6vw, 88px); }

.shoot { display: block; color: inherit; text-decoration: none; }

.shoot__frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 4 / 3;
}
.shoot__frame img, .shoot__frame .ph {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.shoot:hover .shoot__frame img { transform: scale(1.04); }

.shoot__meta { display: block; padding: 16px 2px 0; }
.shoot__meta h3 {
  /* A shoot name is a title, not one of the mono labels used elsewhere. */
  font-family: var(--disp);
  font-weight: 400;
  text-transform: none;
  font-size: clamp(21px, 1.7vw, 27px);
  letter-spacing: .01em;
  line-height: 1.2;
}
.shoot__meta p {
  margin-top: 6px;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .shoot__frame { aspect-ratio: 3 / 2; }
}

/* ---------- Dark band ---------- */

.band {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: clamp(56px, 7vw, 96px) var(--pad);
}
.band .lede { color: rgba(229,230,224,.72); margin-inline: auto; }
.band .eyebrow { color: rgba(229,230,224,.6); }

/* ---------- Contact / form ---------- */

.form {
  display: grid;
  gap: 18px;
  max-width: 620px;
  margin-inline: auto;
  grid-template-columns: repeat(2, 1fr);
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-weight: 500;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
/* Fields are built from the same parts as the buttons: an 8px radius, a 3rem
   block, and a fill light enough to read as a box without a heavy border.
   .75rem of padding against a 1.4 line height lands the input on exactly 48px,
   so a field and a button line up to the pixel. */
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background-color: var(--field);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 8px;
  min-height: 3rem;
  padding: .75rem 1rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 9%, transparent);
}
.field textarea {
  resize: vertical;
  min-height: 132px;
  line-height: 1.6;
}

/* The native select arrow is the one piece of browser chrome that would give
   the form away, so it goes and a chevron comes in as a background mark. */
.field select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='%23111111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* Chrome paints a pale blue of its own over an autofilled field, which undoes
   the fill. A tall inset shadow in the field colour puts it back, and the
   focus ring is repeated here so it survives on an autofilled input too. */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover {
  box-shadow: 0 0 0 100px var(--field) inset;
  -webkit-text-fill-color: var(--ink);
}
.field input:-webkit-autofill:focus {
  box-shadow: 0 0 0 100px var(--field) inset,
              0 0 0 3px color-mix(in srgb, var(--ink) 9%, transparent);
  -webkit-text-fill-color: var(--ink);
}
.form-note { font-size: 13px; color: var(--ink-soft); text-align: center; }

/* Honeypot. Off screen rather than display:none, so bots still fill it in. */
.field--trap {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.form-status { font-size: 13px; text-align: center; margin-top: 12px; min-height: 1em; }
.form-status[data-kind="error"] { color: #a4453a; }

.form button[type="submit"][disabled] { opacity: .55; pointer-events: none; }

.detail-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 22px;
}
.detail-list .k {
  font-family: var(--mono); font-weight: 500;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 4px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,12,11,.96);
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: 100%; max-height: 82svh;
  object-fit: contain;
  margin-inline: auto;
}
.lightbox__cap {
  color: rgba(255,255,255,.7);
  font-family: var(--mono); font-weight: 500;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  text-align: center; margin-top: 16px;
}
.lightbox__btn {
  position: absolute;
  background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.8);
  font-size: 26px; line-height: 1;
  padding: 16px;
}
.lightbox__btn:hover { color: #fff; }
.lb-prev  { left: 4px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 8px; top: 8px; font-size: 22px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: clamp(40px, 5vw, 64px) var(--pad) 34px;
  display: grid;
  gap: 26px;
  text-align: center;
}
.social { display: flex; gap: 22px; justify-content: center; }
.social a {
  font-family: var(--mono); font-weight: 500;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.social a:hover { color: var(--ink); }
.colophon { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-soft); text-transform: uppercase; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav-toggle { display: block; position: relative; z-index: 45; }
  .brand { position: relative; z-index: 45; }
  /* with the light menu panel open, the header must read dark even over a hero */
  body.nav-open .site-header,
  body.nav-open .site-header.is-over-hero { color: var(--ink); }
  /* Fade only. A transform slide here could desync from the open class and
     leave the panel stuck half open, so the panel never moves. */
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--bg);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
    z-index: 40;
  }
  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s var(--ease), visibility 0s;
  }
  .nav a { font-size: 12px; letter-spacing: .14em; opacity: 1; }
  .form { grid-template-columns: 1fr; }
  .photo--portrait { grid-row: auto; }
  .photo--wide { grid-column: span 1; }
}

/* ---------- Pricing ---------- */

/* Four packages: one column on phones, a clean 2x2 on tablets and small
   laptops, four across only when there is genuinely room, never 3+1. */
.prices {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: 1fr;
  align-items: stretch;
  max-width: 1240px;
  margin-inline: auto;
}
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); } }

.price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.34);
  text-align: center;
}
.price--featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.price--featured .price__duration,
.price--featured .price__items { color: rgba(229,230,224,.72); }
.price--featured .price__items li { border-color: rgba(229,230,224,.18); }

.price__flag {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--mono); font-weight: 500;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px;
  white-space: nowrap;
}

.price h3 { letter-spacing: .12em; }

.price__figure {
  font-family: var(--disp);
  font-weight: 300;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  margin: 6px 0 0;
}
.price__duration {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.price__items {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}
.price__items li { padding-top: 9px; border-top: 1px solid var(--rule); }
.price__items li:first-child { border-top: 0; padding-top: 0; }

.price .btn { margin-top: auto; align-self: center; }

.notes {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  text-align: left;
}
.notes li { color: var(--ink-soft); font-size: 14.5px; }

/* required-field marker on the enquiry form */
.field label .req { color: var(--ink); opacity: .45; margin-left: 2px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(17,17,17,.3); }

/* iOS Safari zooms the whole page when you focus an input under 16px, which
   throws the layout off mid enquiry. Keep form text at 16px on phones. */
@media (max-width: 860px) {
  .field input, .field textarea, .field select { font-size: 16px; }
}



