/* =========================================================
   Wind & Waves Tattoo — main stylesheet
   ========================================================= */

:root {
  --bg: #070707;          /* near-black, neutral */
  --bg-2: #0e0e0d;
  --ink: #d8d5ce;         /* bone white, toned down */
  --ink-dim: #77746e;
  --line: rgba(216, 213, 206, .11);
  --accent: #b9471f;      /* burnt rust, used sparingly */
  --rgb-bg: 7, 7, 7;

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* never allow sideways scrolling of the whole page */
html, body { overflow-x: clip; }

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }

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

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: .5rem 1rem;
}
.skip:focus { top: 1rem; }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

h2 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.6rem;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  font: 600 .8rem/1 var(--f-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-sm { padding: .65rem 1.1rem; }
.btn-ghost { background: none; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.link-arrow {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 var(--pad);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(var(--rgb-bg), .85);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}

.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.logo:hover .logo-mark { transform: translateY(-2px); }
.logo-text {
  font: 400 1.05rem/1 var(--f-display);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.logo-text small {
  display: block; margin-top: .3rem;
  font: 400 .6rem/1 var(--f-mono); letter-spacing: .2em; color: var(--ink-dim);
}

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2rem; }
.nav a {
  position: relative;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover, .nav a.is-current { color: var(--ink); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.menu-toggle span:not(.sr) {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
  transition: transform .3s;
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  display: flex; align-items: center;
  padding: var(--pad);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: block;
  font: 400 clamp(2.5rem, 11vw, 4rem)/1.05 var(--f-display);
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--accent); }

/* ---------- Hero ----------
   Just the title. The hero is 85% of the screen so the next section peeks in. */
.hero {
  position: relative;
  min-height: 85svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) var(--pad) clamp(3rem, 11vh, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(.55);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--rgb-bg),.55) 0%, rgba(var(--rgb-bg),.7) 55%, var(--bg) 100%);
}

/* Each line is scaled by js/main.js to fill the hero width.
   The font-size here is only the fallback before fonts/JS load. */
.hero-title {
  width: 100%;
  font-family: var(--f-display);
  font-size: 15vw;
  line-height: .92;
  text-transform: uppercase;
}
.hero-title .line { display: block; width: max-content; white-space: nowrap;}
.hero-title .line + .line { margin-top: .1em; }
.hero-title .outline { -webkit-text-stroke: clamp(1.5px, .25vw, 3px) var(--accent); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--accent);
  color: var(--bg);
  padding: 1rem 0;
}
.marquee-track {
  display: flex; gap: 2rem; width: max-content;
  font: 400 clamp(1.4rem, 3vw, 2.2rem)/1 var(--f-display);
  text-transform: uppercase;
  animation: marquee 35s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 12vw, 10rem) var(--pad); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 3rem; }
.section-lede { max-width: 46ch; margin: 1.5rem 0 0; color: var(--ink-dim); }

/* ---------- Artists ---------- */
/* Small crew: one row of five on desktop, swipeable row on smaller screens */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.artist a { text-decoration: none; display: block; }
.artist h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); }

.artist-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.artist-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.01);
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s;
}
.artist-num {
  position: absolute; top: .9rem; left: .9rem;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; color: var(--ink);
}
.artist-book {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .9rem;
  background: var(--accent);
  font: 600 .75rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  display: flex; justify-content: space-between;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.artist a:hover .artist-photo img,
.artist a:focus-visible .artist-photo img { transform: scale(1.06); filter: grayscale(0) contrast(1.05); }
.artist a:hover .artist-book,
.artist a:focus-visible .artist-book { transform: translateY(0); }

.artist-info { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .9rem; }
.artist h3 { font: 400 1.9rem/1 var(--f-display); text-transform: uppercase; }
.artist-style { margin: .35rem 0 0; color: var(--ink-dim); font-size: .85rem; }
.artist-tag {
  flex-shrink: 0;
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Studio ---------- */
.studio-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; margin-bottom: 5rem; }
.studio-copy p { color: var(--ink-dim); max-width: 58ch; }
.studio-copy .big { color: var(--ink); font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.3; margin-top: 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem 0 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.stats dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.stats dd { margin: .3rem 0 0; font: 400 clamp(2.5rem, 5vw, 4rem)/1 var(--f-display); }

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(140px, 18vw, 260px);
  gap: 1rem;
}
.gallery figure { margin: 0; overflow: hidden; background: var(--bg-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform .8s; }
.gallery figure:hover img { filter: grayscale(0); transform: scale(1.04); }
.g1 { grid-column: span 4; grid-row: span 2; }
.g2 { grid-column: span 2; }
.g3 { grid-column: span 2; grid-row: span 2; }
.g4 { grid-column: span 2; grid-row: span 1; }
.g5 { grid-column: span 2; }

/* ---------- Location ---------- */
.location { background: var(--bg-2); }

.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.location-info { display: grid; gap: 2.5rem; align-content: start; }
.info-block { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.info-block h3 { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: .6rem; }
.info-block p { margin: 0 0 1rem; font-size: 1.15rem; }

.socials { display: flex; gap: 1.5rem; }
.socials a { font: 400 1.6rem/1 var(--f-display); text-transform: uppercase; text-decoration: none; }
.socials a:hover { color: var(--accent); }

/* ---------- Shop rules ---------- */
.rules-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end;
  margin-bottom: 3.5rem;
}
.rules-head .section-lede { margin: 0; justify-self: end; }

.rule-grid {
  counter-reset: r;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.rule {
  counter-increment: r;
  position: relative;
  padding: 2rem 2rem 2.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.rule::before {
  content: counter(r, decimal-leading-zero);
  display: block;
  margin-bottom: 2.5rem;
  font: 400 clamp(3rem, 5vw, 4.5rem)/1 var(--f-display);
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-dim);
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.rule h3 { font: 400 1.6rem/1.05 var(--f-display); text-transform: uppercase; margin-bottom: .75rem; }
.rule p { margin: 0; color: var(--ink-dim); font-size: .95rem; max-width: 38ch; }
.rule:hover { background: var(--bg-2); }
.rule:hover::before { color: var(--accent); -webkit-text-stroke-color: var(--accent); }

/* ---------- Aftercare timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.timeline > li { position: relative; padding-top: 2rem; border-top: 1px solid var(--line); }
.timeline > li::before {
  content: ""; position: absolute; top: -6px; left: 0;
  width: 10px; height: 10px; transform: rotate(45deg);
  background: var(--accent);
}
.t-when {
  display: block; margin-bottom: 1.1rem;
  font: 400 1.7rem/1 var(--f-display); text-transform: uppercase;
}
.timeline ul li {
  position: relative; padding-left: 1.1rem; margin-bottom: .6rem;
  color: var(--ink-dim); font-size: .95rem;
}
.timeline ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ---------- Booking ---------- */
.booking { background: var(--bg-2); }
.booking-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.booking-side { position: sticky; top: calc(var(--header-h) + 2rem); }

.steps { counter-reset: s; margin: 2.5rem 0; }
.steps li {
  counter-increment: s;
  display: flex; gap: 1rem; align-items: baseline;
  padding: .8rem 0; border-top: 1px solid var(--line);
  font-size: .95rem;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: .75rem; color: var(--accent); }

.picked {
  display: flex; gap: 1rem; align-items: center;
  padding: .75rem; border: 1px solid var(--line);
  animation: pop .4s cubic-bezier(.2,.7,.2,1);
}
.picked[hidden] { display: none; }
.picked img { width: 64px; height: 80px; object-fit: cover; filter: grayscale(1); }
.picked div { display: grid; gap: .15rem; }
.picked-label { font-family: var(--f-mono); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); }
.picked strong { font: 400 1.6rem/1 var(--f-display); text-transform: uppercase; font-weight: 400; }
.picked span:last-child { font-size: .85rem; color: var(--ink-dim); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }

.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; }
.field-full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.book-form legend,
.book-form .field > label:first-child {
  display: block; margin-bottom: .5rem; padding: 0;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim);
}
.book-form em { font-style: normal; opacity: .6; text-transform: none; letter-spacing: .04em; }

.book-form input[type="text"],
.book-form input[type="email"],
.book-form input[type="tel"],
.book-form textarea,
.book-form select {
  width: 100%;
  background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: var(--ink); font: 400 1.1rem/1.4 var(--f-body);
  padding: .55rem 0;
  transition: border-color .2s;
}
.book-form textarea { resize: vertical; border: 1px solid var(--line); padding: .8rem; }
.book-form input::placeholder, .book-form textarea::placeholder { color: var(--ink-dim); opacity: .55; }
.book-form input:focus, .book-form textarea:focus, .book-form select:focus { outline: none; border-color: var(--ink); }

.book-form select {
  appearance: none; cursor: pointer;
  font: 400 clamp(1.6rem, 3vw, 2.4rem)/1.1 var(--f-display); text-transform: uppercase;
  padding-right: 2.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23d8d5ce' stroke-width='1.5'/%3E%3C/svg%3E") right .5rem center no-repeat;
}
.book-form select option, .book-form select optgroup { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1rem; text-transform: none; }
.book-form select.is-flash { animation: flash 1s ease; }
@keyframes flash { 0%, 40% { border-color: var(--accent); color: var(--accent); } }

/* segmented radio buttons */
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.seg span {
  display: grid; gap: .15rem;
  padding: .7rem 1.1rem;
  border: 1px solid var(--line);
  font: 500 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim);
  transition: all .2s;
}
.seg small { font: 400 .68rem/1 var(--f-mono); letter-spacing: .04em; text-transform: none; opacity: .7; }
.seg label:hover span { border-color: var(--ink); color: var(--ink); }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.file { position: relative; display: block; cursor: pointer; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-text {
  display: block; padding: .55rem 0; border-bottom: 1px dashed var(--line);
  color: var(--ink-dim); font-size: 1.1rem;
}
.file:hover .file-text { color: var(--ink); border-color: var(--ink); }

.book-form .check a { color: var(--ink); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.form-msg { margin: 0; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.form-msg.is-error { color: var(--accent); }
.form-msg.is-ok { color: var(--ink); }
.book-form .is-invalid { border-color: var(--accent) !important; }
.book-form fieldset.is-invalid .seg span { border-color: var(--accent); }

/* ---------- Guests ---------- */
.guest-list li {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 1fr auto;
  align-items: center; gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  transition: padding .3s, background .3s;
}
.guest-list li:last-child { border-bottom: 1px solid var(--line); }
.guest-list li:hover { padding-inline: 1rem; background: var(--bg-2); }
.g-date, .g-from, .g-style { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.g-name { font: 400 clamp(1.6rem, 3vw, 2.4rem)/1 var(--f-display); text-transform: uppercase; }
.guest-cta { margin: 2.5rem 0 0; color: var(--ink-dim); }
.guest-cta a { color: var(--ink); }

/* ---------- Newsletter ---------- */
.newsletter { border-bottom: 0; padding-bottom: clamp(9rem, 18vw, 14rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; }
.news-title { font-size: clamp(3rem, 7vw, 6.5rem); }
.news-form { display: grid; gap: 1.25rem; }
.field label { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: .3rem; }
.field input {
  width: 100%;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font: 400 1.2rem/1 var(--f-body);
  padding: .6rem 0; border-radius: 0;
  transition: border-color .2s;
}
.field input:focus { outline: none; border-color: var(--ink); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .85rem; color: var(--ink-dim); cursor: pointer; }
.check input { accent-color: var(--accent); margin-top: .25rem; }
.news-form .btn { justify-self: start; }
.sent-msg { display: none; margin: 0; color: var(--accent); font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.news-form.is-sent .sent-msg { display: block; }

/* ---------- Footer ---------- */

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 1100px) {
  /* crew becomes a swipeable row */
  .artist-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 38%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--pad) * -1);
    padding: 0 var(--pad) 1rem;
    scroll-padding-inline: var(--pad);
    scrollbar-width: thin;
  }
  .artist { scroll-snap-align: start; }
  .rule-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-side { position: static; }
}
@media (max-width: 860px) {
  .studio-grid, .location-grid, .newsletter, .rules-head { grid-template-columns: 1fr; }
  .rules-head .section-lede { justify-self: start; }
  .artist-grid { grid-auto-columns: 72%; }
  .rule-grid, .timeline, .book-form { grid-template-columns: 1fr; }
  .rule::before { margin-bottom: 1.25rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g1 { grid-column: span 2; grid-row: span 1; }
  .g2, .g3, .g4, .g5 { grid-column: span 1; grid-row: span 1; }
  .guest-list li { grid-template-columns: 1fr auto; row-gap: .4rem; }
  .g-name { grid-column: 1 / -1; order: -1; }
  .g-style { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Coastal details — sharp shark-fin waves, thin clean lines
   ========================================================= */

/* single fin before every eyebrow label */
.eyebrow { display: flex; align-items: center; gap: .75rem; }
.eyebrow::before {
  content: ""; flex-shrink: 0;
  width: 26px; height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 12%27%3E%3Cpath d=%27M0 11.4 C7 11.6 12.5 7.5 15.5 0.6 C15.6 5.5 16.6 9.6 20 11.4 L24 11.4%27 fill=%27none%27 stroke=%27%23b9471f%27 stroke-width=%271.6%27 stroke-linejoin=%27miter%27 stroke-miterlimit=%2710%27/%3E%3C/svg%3E") 0 100% / 26px 13px no-repeat;
}

/* marquee separator */
.marquee-track .star { color: var(--bg); opacity: .55; }

/* swell lines: a row of sharp fins as a horizon */
.fin-rule {
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 12%27%3E%3Cpath d=%27M0 11.4 C7 11.6 12.5 7.5 15.5 0.6 C15.6 5.5 16.6 9.6 20 11.4 L24 11.4%27 fill=%27none%27 stroke=%27rgba(216,213,206,.28)%27 stroke-width=%271.2%27 stroke-linejoin=%27miter%27 stroke-miterlimit=%2710%27/%3E%3C/svg%3E") 0 100% / 32px 16px repeat-x;
}

/* location: framed by hairlines, closed by a horizon strip */
.location { border-block: 1px solid var(--line); }
.horizon {
  display: flex; align-items: flex-end; gap: 1.25rem;
  margin-top: clamp(4rem, 8vw, 6.5rem);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-dim);
}
.horizon span { flex-shrink: 0; line-height: 1; padding-bottom: 1px; }
.horizon .fin-rule { flex: 1; min-width: 0; }
/* whole fins only, never a half fin cut off at the edge */
.fin-rule { background-repeat: round no-repeat !important; }
@media (max-width: 640px) {
  .horizon span:nth-of-type(2), .horizon .fin-rule:nth-of-type(2) { display: none; }
}


/* fin underline on hover for text links */
.link-arrow, .guest-cta a, .book-form .check a, .socials a { background-repeat: repeat-x; background-position: 0 100%; background-size: 16px 8px; }
.link-arrow:hover,
.guest-cta a:hover,
.book-form .check a:hover,
.socials a:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 12%27%3E%3Cpath d=%27M0 11.4 C7 11.6 12.5 7.5 15.5 0.6 C15.6 5.5 16.6 9.6 20 11.4 L24 11.4%27 fill=%27none%27 stroke=%27%23b9471f%27 stroke-width=%271.8%27 stroke-linejoin=%27miter%27 stroke-miterlimit=%2710%27/%3E%3C/svg%3E");
  border-color: transparent;
  text-decoration: none;
  padding-bottom: 8px;
}
.socials a { padding-bottom: 8px; }


/* grid/flex children may shrink instead of pushing the page wider */
.booking-grid > *, .book-form > *, .studio-grid > *, .location-grid > *, .rules-head > *, .stats > *, .newsletter > * { min-width: 0; }
.book-form select { max-width: 100%; text-overflow: ellipsis; }


/* ---------- Footer ----------
   Bold rust block. Its top edge is a row of solid shark-fin crests rising
   into the dark page; the shop name sits in solid black across the full width. */
.site-footer {
  position: relative;
  background: var(--accent);
  color: var(--bg);
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 1.75rem;
}
.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  height: clamp(22px, 3vw, 38px);
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12 C4 10.5 10 5 17 0 C15.2 4.5 16.2 9.5 21 12 Z'/%3E%3C/svg%3E") 0 100% / clamp(44px, 6vw, 76px) 100% round no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' preserveAspectRatio='none'%3E%3Cpath d='M0 12 C4 10.5 10 5 17 0 C15.2 4.5 16.2 9.5 21 12 Z'/%3E%3C/svg%3E") 0 100% / clamp(44px, 6vw, 76px) 100% round no-repeat;
}
.footer-word {
  margin: 0;
  font: 400 13vw/.82 var(--f-display);
  text-transform: uppercase;
  color: var(--bg);
  overflow: hidden;           /* belt and braces: never past the margin */
}
.footer-word .line { display: block; width: max-content; white-space: nowrap; }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem); padding-top: 1.25rem;
  border-top: 1.5px solid rgba(var(--rgb-bg), .35);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600;
}
.footer-row a { text-decoration: none; }
.footer-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer ::selection { background: var(--bg); color: var(--accent); }
