:root {
  --night: #070907;   /* page: the field at night */
  --turf: #101511;    /* raised surfaces */
  --moss: #222b24;    /* lines */
  --bone: #ece5d3;    /* text */
  --stone: #9ba091;   /* secondary text */
  --signal: #e23a2c;  /* logo red, actions only */
  --signal-hi: #f0503f;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h3 { font-size: 1.9rem; }
p { margin: 0 0 1em; max-width: 62ch; }
:focus-visible { outline: 3px solid var(--signal-hi); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--bone); color: var(--night); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 700 1rem/1 var(--body); text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn-signal { background: var(--signal); color: #fff; }
.btn-signal:hover { background: var(--signal-hi); }
.btn-ghost { border-color: var(--moss); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--bone); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.link { color: var(--bone); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

/* Logo sits on a white disc: the JPEG has a white ground and a black dog */
.brand-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden;
}
.brand-badge img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.brand-badge-sm { width: 36px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: rgb(7 9 7 / .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--moss);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-name { font: 800 1.45rem/1 var(--display); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--stone); font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--bone); }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(48px, 7vw, 96px);
  align-items: center;
}
.hero-badge { display: inline-grid; place-items: center; width: 96px; aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden; margin-bottom: 28px; }
.hero-badge img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-title {
  font-size: clamp(4.2rem, 13vw, 10.5rem);
  font-weight: 900; line-height: .84; text-transform: none;
  display: flex; flex-direction: column;
  margin-bottom: 32px;
}
.hero-title span { display: block; }
.hero-title-sub { color: var(--stone); font-weight: 800; font-size: .52em; line-height: 1.1; margin-top: .25em; }
.lead { font-size: 1.15rem; color: var(--bone); max-width: 52ch; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0; border-top: 1px solid var(--moss); }
.facts div { padding: 16px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--moss); }
.facts div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font-size: .85rem; color: var(--stone); }
.facts dd { margin: 2px 0 0; font: 800 1.6rem/1.1 var(--display); }
.hero-photo { margin: 0; align-self: stretch; }
.hero-photo img {
  width: 100%; height: 100%; max-height: 82vh; min-height: 520px;
  object-fit: cover; object-position: 50% 35%;
  border-radius: 220px 220px 12px 12px; /* arch: echoes the logo's curved name */
}

/* Hero entrance: the single orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-title span { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-title span:nth-child(2) { animation-delay: .08s; }
  .hero-title span:nth-child(3) { animation-delay: .16s; }
  .hero-title span:nth-child(4) { animation-delay: .3s; }
  .hero-photo img { animation: fade 1s .2s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } }
@keyframes fade { from { opacity: 0; } }

/* Full-bleed band */
.band { margin: 0; position: relative; }
.band img { width: 100%; height: clamp(280px, 52vw, 640px); object-fit: cover; object-position: 50% 60%; }
.band figcaption {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 4vw, 48px);
  font: 800 clamp(1.8rem, 4.5vw, 3.6rem)/1 var(--display);
  max-width: 14ch; text-shadow: 0 2px 24px rgb(0 0 0 / .6);
}
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--night) 0%, rgb(7 9 7 / .55) 40%, rgb(7 9 7 / .25) 100%), linear-gradient(to bottom, var(--night), transparent 18%); pointer-events: none; }
.band figcaption { z-index: 1; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gutter); }
.section + .section { border-top: 1px solid var(--moss); }

/* Services */
.services { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.services-intro h2 { margin-bottom: 24px; }
.services-intro > p { color: var(--stone); }
.dgav { margin-top: 36px; padding: 4px 0 4px 20px; border-left: 4px solid var(--signal); }
.dgav-title { font: 800 1.7rem/1.05 var(--display); margin-bottom: 8px; }
.dgav p:last-child { color: var(--stone); margin: 0; }
.service-list { margin: 0; }
.service-list div { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--moss); }
.service-list div:first-child { padding-top: 0; }
.service-list dt { font: 800 1.55rem/1.05 var(--display); }
.service-list dd { margin: 0; color: var(--stone); }

/* Formats */
.formats h2 { margin-bottom: 40px; }
.format { display: flex; flex-direction: column; gap: 20px; }
.format img { width: 100%; border-radius: 10px; object-fit: cover; }
.format-text p { color: var(--stone); }
.format-text h3 { margin-bottom: 10px; }
.format-wide { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.format-wide img { aspect-ratio: 2 / 1; }
.format-natural img { aspect-ratio: auto; }
.format-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.format-pair img { aspect-ratio: 1 / 1; object-position: 50% 72%; }
.format-panel { justify-content: flex-end; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--moss); border-radius: 10px; background: var(--turf); min-height: 100%; }
.format-panel h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.format-panel .btn { margin-top: 8px; }

/* Training */
.training { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.training h2 { margin-bottom: 24px; }
.training-text p { color: var(--stone); }
.training-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.training-shots img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; border-radius: 10px; width: 100%; }
.course { margin: 32px 0; padding: 24px 0 8px; border-top: 1px solid var(--moss); }
.course h3 { font-size: 1.9rem; margin-bottom: 18px; }
.course-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0 0 22px; }
.course-facts dt { font-size: .85rem; color: var(--stone); }
.course-facts dd { margin: 2px 0 0; font-weight: 600; }
.course-lead { color: var(--bone); font-weight: 600; margin-bottom: 8px; }
.course-topics { columns: 2 220px; column-gap: 28px; margin: 0 0 18px; padding: 0; list-style: none; color: var(--stone); font-size: .97rem; }
.course-topics li { break-inside: avoid; padding: 4px 0 4px 18px; position: relative; }
.course-topics li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 2px; background: var(--signal); }
.course-note { font-size: .95rem; }
.course-note a { color: var(--bone); text-decoration-color: var(--signal); text-underline-offset: 3px; }
.training > .poster { position: sticky; top: 96px; }
.poster { margin: 0; background: #fff; padding: 12px; border-radius: 10px; transform: rotate(1.2deg); }
.poster img { border-radius: 4px; }
.poster figcaption { color: #3a3a3a; font-size: .9rem; padding: 10px 4px 2px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: auto 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.reviews .link { grid-column: 2; }
.score { display: flex; flex-direction: column; gap: 16px; max-width: none; margin: 0; grid-row: span 2; }
.score-num { font: 900 clamp(6rem, 18vw, 13rem)/.8 var(--display); color: var(--bone); }
.score-text { font-size: 1.2rem; color: var(--stone); max-width: 22ch; }
.quote { margin: 0 0 28px; max-width: 34ch; }
.quote p { font: 700 clamp(1.7rem, 3.4vw, 2.5rem)/1.15 var(--display); max-width: none; margin-bottom: 14px; }
.quote footer { color: var(--stone); }

/* Gallery */
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 36px; }
.gallery-head p { color: var(--stone); margin: 0; }
.albums { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 20px; }
.album-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  padding: 14px 16px; border-radius: 10px; cursor: pointer;
  background: var(--turf); color: var(--bone); border: 1px solid var(--moss);
  font: inherit; transition: border-color .15s;
}
.album-tab:hover { border-color: var(--stone); }
.album-tab[aria-selected="true"] { border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }
.album-title { font: 800 1.35rem/1.05 var(--display); }
.album-meta { font-size: .88rem; color: var(--stone); }
.album-note { color: var(--stone); margin: 0 0 16px; font-size: .95rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.grid button {
  display: block; width: 100%; padding: 0; margin: 0; border: 0; background: var(--turf);
  border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 4;
}
.grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: opacity .2s; }
.grid button:hover img { opacity: .85; }
.more { display: flex; margin: 28px auto 0; }
.more[hidden] { display: none; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; }
.contact h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--stone); }
.contact-list { margin: 28px 0 0; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--moss); }
.contact-list dt { color: var(--stone); font-size: .95rem; padding-top: 2px; }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--signal); text-underline-offset: 3px; }
.map { min-height: 420px; border-radius: 12px; overflow: hidden; border: 1px solid var(--moss); background: var(--turf); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: invert(.92) hue-rotate(180deg) saturate(.5) brightness(.8) contrast(1.1); }

/* Footer */
.site-footer { display: flex; align-items: center; gap: 14px; padding: 32px var(--gutter); border-top: 1px solid var(--moss); color: var(--stone); font-size: .95rem; }
.site-footer p { margin: 0; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(4 5 4 / .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto; border-radius: 6px; }
.lb-count { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--stone); margin: 0; font-size: .95rem; }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--moss); background: rgb(27 36 29 / .85); color: var(--bone); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { border-color: var(--bone); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Scroll animations (only when anim.js adds .anim, i.e. motion is allowed) */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); z-index: 50; pointer-events: none; }
.site-header { transition: background-color .3s, border-color .3s; }
.anim .site-header:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.anim .hero-photo img, .anim .band img { will-change: transform; }
.band { overflow: hidden; }

.anim [data-anim="rise"] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms);
}
.anim [data-anim="rise"].in { opacity: 1; transform: none; }

.anim [data-anim="wipe"] {
  clip-path: inset(18% 0 18% 0 round 10px); opacity: .2; transform: scale(1.06);
  transition: clip-path 1.1s cubic-bezier(.7,0,.2,1) var(--d, 0ms), opacity .8s ease var(--d, 0ms), transform 1.4s cubic-bezier(.2,.7,.2,1) var(--d, 0ms);
}
.anim [data-anim="wipe"].in { clip-path: inset(0 0 0 0 round 10px); opacity: 1; transform: none; }
.anim .poster[data-anim="wipe"].in { transform: rotate(1.2deg); }

.anim .section h2[data-anim="rise"] { transform: translateY(56px); }
.anim .section h2[data-anim="rise"].in { transform: none; }

.anim .grid button { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s ease var(--d, 0ms), transform .5s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.anim .grid button.in { opacity: 1; transform: none; }

.anim .band figcaption { animation: none; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero, .services, .training, .contact { grid-template-columns: 1fr; }
  .hero-photo img { min-height: 0; max-height: 70vh; aspect-ratio: 4 / 5; }
  .format-wide { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .reviews .link { grid-column: 1; }
  .score { grid-row: auto; }
  .poster { max-width: 460px; }
}
@media (max-width: 600px) {
  .brand-name { font-size: 1.2rem; }
  .hero-badge { width: 76px; margin-bottom: 20px; }
  .facts div { padding-right: 16px; margin-right: 16px; }
  .facts dd { font-size: 1.3rem; }
  .service-list div { grid-template-columns: 1fr; gap: 6px; }
  .format-pair { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}
@media (max-width: 380px) { .brand-name { display: none; } }

/* Empty photo slot, waiting for the customer's picture */
.photo-slot { width: 100%; aspect-ratio: 2 / 1; border-radius: 10px; border: 2px dashed var(--moss); background: var(--turf); }
