/* ============================================================
   Malama Massage and Bodywork — Spec Preview
   Design system: warm Hawaiian wellness, water-led editorial
   ============================================================ */

:root {
  /* Brand palette (from prospect + spa-calm extension) */
  --ocean:        #1f5b52;
  --ocean-deep:   #123f39;
  --ocean-mist:   #dfe9e5;
  --sand:         #efe7d8;
  --cream:        #f8f4ec;
  --paper:        #fdfbf6;
  --clay:         #c26b4c;
  --clay-soft:    #d98d70;
  --ink:          #23302d;
  --stone:        #55605c;
  --line:         rgba(35, 48, 45, 0.12);

  /* Type */
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.14rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.55rem, 1.35rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4:  clamp(2.6rem, 2rem + 3.2vw, 4.6rem);
  --step-5:  clamp(3.2rem, 2.2rem + 5vw, 6.4rem);

  /* Space + rhythm */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --measure: 62ch;
  --radius: 4px;
  --radius-lg: 14px;
  --shadow: 0 24px 60px -28px rgba(18, 63, 57, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Self-contained film grain (inline SVG, no external request) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

::selection { background: var(--clay); color: #fff; }

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

/* ---------- Layout helpers ---------- */
.wrap {
  width: min(1200px, 100% - 2.6rem);
  margin-inline: auto;
}
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow.on-dark { color: var(--clay-soft); }

.section-lead {
  max-width: 54ch;
  color: var(--stone);
  font-size: var(--step-1);
  line-height: 1.5;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ocean);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -14px rgba(18, 63, 57, 0.55);
}
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ocean); background: rgba(31, 91, 82, 0.05); }
.btn--clay { --btn-bg: var(--clay); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--ocean-deep); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(253, 251, 246, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.6rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  transition: color 0.4s var(--ease);
}
.scrolled .brand { color: var(--ink); }
.brand img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  padding: 3px;
  box-shadow: 0 6px 18px -8px rgba(6,24,21,0.6), inset 0 0 0 1px rgba(255,255,255,0.5);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.brand:hover img { transform: rotate(-4deg) scale(1.04); }
.scrolled .brand img { box-shadow: 0 4px 12px -6px rgba(6,24,21,0.4), inset 0 0 0 1px var(--line); }
.brand-text { line-height: 1.1; }
.brand-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  position: relative;
  transition: color 0.3s var(--ease);
}
.scrolled .main-nav a.nav-link { color: var(--stone); }
.main-nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a.nav-link:hover::after { transform: scaleX(1); }
.main-nav a.nav-link:hover { color: var(--clay-soft); }
.scrolled .main-nav a.nav-link:hover { color: var(--clay); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6em 1.25em;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease);
}
.header-cta:hover { background: #fff; color: var(--ocean-deep); transform: translateY(-2px); }
.scrolled .header-cta { border-color: var(--ocean); color: var(--ocean); }
.scrolled .header-cta:hover { background: var(--ocean); color: #fff; }

.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vw, 6rem);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.08) brightness(0.96);
}
.hero.ready .hero-media img {
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* cinematic vignette — pulls the eye off the muddy edges */
    radial-gradient(125% 118% at 50% 40%, rgba(6,24,21,0) 48%, rgba(6,24,21,0.30) 80%, rgba(5,20,18,0.62) 100%),
    /* warm grounding glow behind the headline, lower-left */
    radial-gradient(135% 95% at 8% 110%, rgba(194,107,76,0.32) 0%, rgba(18,63,57,0) 46%),
    /* directional cool wash to unify the muddy photo toward brand teal */
    linear-gradient(83deg, rgba(9,30,27,0.66) 0%, rgba(18,63,57,0.12) 52%, rgba(18,63,57,0) 72%),
    /* vertical structure: darken nav zone + strong footing for type */
    linear-gradient(180deg, rgba(11,36,32,0.62) 0%, rgba(18,63,57,0.08) 26%, rgba(18,63,57,0.04) 46%, rgba(11,36,32,0.62) 78%, rgba(6,24,21,0.96) 100%);
}
.hero-scrim::after {
  content: "";
  position: absolute;
  inset: -12%;
  background-image: var(--grain);
  background-size: 200px;
  opacity: 0.09;
  mix-blend-mode: overlay;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero.ready .hero-scrim::after { animation: grainShift 7s steps(6) infinite; }
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -2%); }
  60%  { transform: translate(-2%, -4%); }
  80%  { transform: translate(4%, 2%); }
  100% { transform: translate(0, 0); }
}
.hero-inner { max-width: 760px; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #edc4ae;
  font-weight: 800;
  text-shadow: 0 1px 22px rgba(8,28,25,0.7);
}
.hero .eyebrow::before {
  content: "";
  width: 34px; height: 1.5px;
  background: var(--clay-soft);
  display: inline-block;
}
.hero h1 {
  font-size: var(--step-5);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.4rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(6,24,21,0.35), 0 14px 40px rgba(6,24,21,0.45);
  max-width: 15ch;
}

/* Top editorial rail — fills the upper void, adds top/bottom tension */
.hero-topline {
  position: absolute;
  top: clamp(5.2rem, 8vw, 7rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.js .hero-topline, .js .hero-scroll { opacity: 0; }
.hero.ready .hero-topline { animation: fadeSoft 1.1s var(--ease) 0.5s forwards; }
.hero.ready .hero-scroll { animation: fadeSoft 1.1s var(--ease) 1s forwards; }
@keyframes fadeSoft { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-topline, .js .hero-scroll { opacity: 1; }
}
.hero-place {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 14px rgba(6,24,21,0.6);
}
.hero-place--r { color: rgba(255,255,255,0.5); font-weight: 600; }
.hero-place .hp-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay-soft);
  box-shadow: 0 0 0 4px rgba(217,141,112,0.22);
  flex: none;
}

/* Scroll cue — left-center, mirrors the right vertical label */
.hero-scroll {
  position: absolute;
  left: clamp(1.1rem, 2.6vw, 2.4rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s var(--ease);
}
.hero-scroll:hover { color: #fff; }
.hero-scroll .hs-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.hero-scroll .hs-line {
  width: 1.5px; height: 62px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.7));
  overflow: hidden;
  position: relative;
}
.hero-scroll .hs-line::after {
  content: "";
  position: absolute;
  left: 0; top: -60%;
  width: 100%; height: 60%;
  background: var(--clay-soft);
}
@media (prefers-reduced-motion: no-preference) {
  .hero.ready .hero-scroll .hs-line::after { animation: scrollDrop 2.4s var(--ease) infinite; }
}
@keyframes scrollDrop {
  0%   { top: -60%; opacity: 0; }
  35%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.hero-sub {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 46ch;
  color: rgba(255,255,255,0.94);
  font-weight: 400;
  text-shadow: 0 1px 26px rgba(8,28,25,0.5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}
.hero-actions .btn--light:hover { box-shadow: 0 18px 34px -14px rgba(0,0,0,0.5); }
.hero-actions .btn--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,0.6);
}
.hero-actions .btn--outline:hover { background: rgba(255,255,255,0.12); }

.hero-vertical {
  position: absolute;
  top: 50%;
  right: clamp(1.1rem, 2.6vw, 2.4rem);
  transform: translateY(-50%);
  z-index: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.hero-vertical::before {
  content: "";
  width: 1.5px;
  height: 66px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--clay-soft));
}

.hero-meta {
  position: absolute;
  right: clamp(1.3rem, 4vw, 3rem);
  bottom: clamp(3rem, 6vw, 6rem);
  z-index: 1;
  text-align: right;
  border-right: 2px solid var(--clay-soft);
  padding-right: 1rem;
  line-height: 1.4;
}
.hero-meta .m-big {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #fff;
  display: block;
}
.hero-meta .m-small {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* Hero on-load reveal (hidden only when JS is present) */
.js .reveal-hero > * {
  opacity: 0;
  transform: translateY(26px);
}
.hero.ready .reveal-hero > * {
  animation: heroUp 0.9s var(--ease) forwards;
}
.hero.ready .reveal-hero > *:nth-child(1) { animation-delay: 0.15s; }
.hero.ready .reveal-hero > *:nth-child(2) { animation-delay: 0.30s; }
.hero.ready .reveal-hero > *:nth-child(3) { animation-delay: 0.45s; }
.hero.ready .reveal-hero > *:nth-child(4) { animation-delay: 0.60s; }
@keyframes heroUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Reveal-on-scroll (base visible if no JS)
   ============================================================ */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.1s; }
.js .reveal.d2 { transition-delay: 0.2s; }
.js .reveal.d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero.ready .reveal-hero > *,
  .hero.ready .hero-media img { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Intro / Mahalo strip
   ============================================================ */
.intro {
  background: var(--ocean);
  color: var(--cream);
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.intro-word {
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 6rem);
  color: #fff;
  line-height: 0.95;
}
.intro-word small {
  display: block;
  position: relative;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay-soft);
  margin-top: 1.4rem;
  padding-top: 1.3rem;
}
.intro-word small::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 52px; height: 2px;
  background: var(--clay);
}
.intro p {
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgba(248,244,236,0.92);
}

/* ============================================================
   About
   ============================================================ */
.about { padding: var(--space-section) 0; background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media .a-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.about-media .a-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .a-badge {
  position: absolute;
  right: -1rem;
  bottom: -1.6rem;
  background: var(--clay);
  color: #fff;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 220px;
  line-height: 1.15;
}
.about-media .a-badge b {
  font-family: var(--display);
  font-size: 2.4rem;
  display: block;
}
.about-media .a-badge span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.92;
}
.about-body h2 {
  font-size: var(--step-3);
  margin: 0.9rem 0 1.4rem;
}
.about-body p { color: var(--stone); margin-bottom: 1.1rem; max-width: var(--measure); }
.about-quote {
  border-left: 3px solid var(--clay);
  padding-left: 1.3rem;
  margin: 1.8rem 0;
  font-family: var(--display);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ocean-deep);
}
.credential {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ocean);
  background: var(--ocean-mist);
  padding: 0.5em 1em;
  border-radius: 999px;
}

/* ============================================================
   Services
   ============================================================ */
.services {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, var(--cream), var(--sand));
}
.services-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}
.services-head h2 { font-size: var(--step-3); margin-top: 0.7rem; max-width: 16ch; }

.svc-list { display: grid; gap: clamp(1.2rem, 2vw, 2rem); }
.svc {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 340px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 44px -30px rgba(18,63,57,0.4);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(18,63,57,0.5); }
.svc:nth-child(even) { grid-template-columns: 1.1fr 0.9fr; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; overflow: hidden; }
.svc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.svc:hover .svc-media img { transform: scale(1.06); }
.svc-body {
  padding: clamp(1.6rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-num {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--clay);
  letter-spacing: 0.1em;
}
.svc-body h3 { font-size: var(--step-2); margin: 0.5rem 0 0.9rem; }
.svc-body p { color: var(--stone); max-width: 42ch; }
.svc-tag {
  align-self: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean);
}

/* ============================================================
   Feature band — Aquatic Bodywork
   ============================================================ */
.feature {
  position: relative;
  color: #fff;
  padding: clamp(5rem, 10vw, 9rem) 0;
  isolation: isolate;
  overflow: hidden;
}
.feature-media { position: absolute; inset: 0; z-index: -2; }
.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.feature-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 130% at 20% 50%, rgba(6,24,21,0) 40%, rgba(6,24,21,0.35) 100%),
    linear-gradient(105deg, rgba(18,63,57,0.92) 0%, rgba(18,63,57,0.62) 45%, rgba(18,63,57,0.14) 100%);
}
.feature-scrim::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  background-size: 190px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.feature-inner { max-width: 620px; }
.feature h2 { font-size: var(--step-4); color: #fff; margin: 1rem 0 1.3rem; }
.feature p { font-size: var(--step-1); color: rgba(255,255,255,0.92); line-height: 1.55; margin-bottom: 1.4rem; }
.feature .btn--clay:hover { box-shadow: 0 18px 34px -14px rgba(0,0,0,0.5); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { padding: var(--space-section) 0; background: var(--paper); }
.gallery-head { text-align: center; max-width: 44ch; margin: 0 auto clamp(2.5rem, 4vw, 3.5rem); }
.gallery-head h2 { font-size: var(--step-3); margin-top: 0.7rem; }
.gallery-head p { color: var(--stone); margin-top: 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 1rem;
}
.g-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.g-item:hover img { transform: scale(1.07); }
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18,63,57,0.28));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.g-item:hover::after { opacity: 1; }
.g-a { grid-column: span 3; grid-row: span 2; }
.g-b { grid-column: span 3; grid-row: span 2; }
.g-c { grid-column: span 2; grid-row: span 2; }
.g-d { grid-column: span 2; grid-row: span 2; }
.g-e { grid-column: span 2; grid-row: span 2; }

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: var(--space-section) 0; background: var(--ocean-deep); color: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.contact h2 { font-size: var(--step-4); color: #fff; margin: 1rem 0 1.4rem; }
.contact-lead { font-size: var(--step-1); color: rgba(248,244,236,0.9); max-width: 42ch; margin-bottom: 2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.contact-phone {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  display: inline-block;
  transition: color 0.3s var(--ease);
}
.contact-phone:hover { color: var(--clay-soft); }

.info-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  backdrop-filter: blur(4px);
}
.info-row { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-row .k {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-soft);
  margin-bottom: 0.4rem;
}
.info-row .v { color: #fff; line-height: 1.5; }
.hours-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.hours-line span:last-child { color: rgba(248,244,236,0.75); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0e2f2a;
  color: rgba(248,244,236,0.72);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 0.8rem; color: #fff; }
.footer-brand img { height: 48px; border-radius: 50%; background: rgba(255,255,255,0.92); padding: 3px; }
.footer-brand .brand-name { font-size: 1.25rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--clay-soft); }
.footer-bottom {
  margin-top: 2rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* Spec footer (mandatory) */
.spec-footer {
  background: #0a2420;
  color: rgba(248,244,236,0.6);
  text-align: center;
  font-size: 0.82rem;
  padding: 1.3rem 1.4rem;
  line-height: 1.6;
}
.spec-footer a { color: var(--clay-soft); text-decoration: underline; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .about-grid, .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 1.6rem; }
  .about-media .a-badge { right: 1rem; }
  .svc, .svc:nth-child(even) { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .svc-media { min-height: 240px; }
  .gallery-grid { grid-auto-rows: 120px; }
  .hero-vertical, .hero-scroll { display: none; }
  .hero-topline { top: 5.6rem; justify-content: flex-start; }
  .hero-place--r { display: none; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem;
    background: var(--ocean-deep);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a.nav-link { color: #fff; font-size: 1.2rem; }
  .scrolled .main-nav a.nav-link { color: #fff; }
  .main-nav .header-cta { color: #fff; border-color: rgba(255,255,255,0.5); }
  .scrolled .main-nav .header-cta { color: #fff; border-color: rgba(255,255,255,0.5); }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px; height: 46px;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 120;
    padding: 10px;
  }
  .nav-toggle span {
    height: 2px; width: 100%;
    background: #fff;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background 0.35s var(--ease);
  }
  .scrolled .nav-toggle span { background: var(--ink); }
  .nav-toggle.open span { background: #fff; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-meta { display: none; }
  .services-head { grid-template-columns: 1fr; align-items: start; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 46vw;
  }
  .g-a, .g-b, .g-c, .g-d, .g-e { grid-column: span 1; grid-row: span 1; }
  .g-a { grid-column: span 2; }
  .hero h1 { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.4rem, 8.6vw, 3.1rem); }
}

@media (max-width: 420px) {
  .wrap { width: min(1200px, 100% - 1.8rem); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: clamp(2.35rem, 9vw, 2.9rem); letter-spacing: -0.02em; }
}
