/* Layout: one-screen gallery. Header, an infinite skewing strip of service
   cards, a camera-style HUD. Tapping a card expands it into a detail view. */
:root {
  --bg: #0f0d0b;
  --panel: #171410;
  --line: #2e2721;
  --fg: #f3ede4;
  --muted: #9c9083;
  --accent: #e8ad5c;
  --accent-ink: #1a1209;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.app {
  height: 100%;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
}

/* ---------- Header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px 0;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.wordmark {
  font-family: var(--font-display); font-weight: 900; font-size: 1.7rem;
  text-transform: uppercase; text-decoration: none; letter-spacing: .02em; color: var(--fg);
}
.wordmark span { color: var(--accent); margin-left: .16em; }
.tagline {
  margin: 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.top-btn {
  background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer;
  font-weight: 600; padding: 9px 16px; border-radius: 5px;
}
.top-btn:hover { filter: brightness(1.08); }
@media (max-width: 640px) { .tagline { display: none; } }

/* ---------- Strip ---------- */
.stage {
  position: relative; overflow: hidden; min-height: 0;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.stage.dragging { cursor: grabbing; }
.strip { position: absolute; inset: 0; }

.card {
  position: absolute; top: 50%; left: 0;
  width: var(--card-w, 340px); height: var(--card-h, 470px);
  margin-top: calc(var(--card-h, 470px) / -2);
  padding: 0; border: 0; border-radius: 8px; overflow: hidden;
  background: var(--card-bg);
  cursor: inherit; text-align: left;
  will-change: transform;
  transform-origin: 50% 50%;
}
.card .media {
  position: absolute; inset: 0 -12%;
  will-change: transform;
}
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card img.failed, .detail-media img.failed { display: none; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,6,4,.85), rgba(8,6,4,.1) 45%, rgba(8,6,4,0) 70%);
}
.card .num {
  position: absolute; top: 14px; left: 16px; z-index: 1;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: rgba(243,237,228,.75);
}
.card .label {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.card .title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: .95; color: #fff; text-wrap: balance;
}
.card .from {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: #f2c98e;
}
.card .ghost { /* giant initial, visible when photos can't load */
  position: absolute; right: -6%; top: 6%;
  font-family: var(--font-display); font-weight: 900; font-size: calc(var(--card-h, 470px) * .62);
  line-height: .8; color: rgba(255,255,255,.07); pointer-events: none;
}
.card:focus-visible { outline-offset: 4px; }

/* ---------- HUD ---------- */
.hud {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px;
  padding-block: 0 calc(18px + env(safe-area-inset-bottom, 0px));
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  font-family: var(--font-mono); font-size: .75rem;
}
.hud-left, .hud-right { display: flex; flex-direction: column; gap: 2px; }
.hud-right { align-items: flex-end; }
.hud-k { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; }
.hud-v { font-variant-numeric: tabular-nums; font-size: .85rem; letter-spacing: .06em; }
.hud-center { text-align: center; }
.hud-center p { margin: 0; }
.hud-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1; letter-spacing: .01em;
}
.hud-sub { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; margin-top: 6px !important; }
@media (max-width: 520px) {
  .hud { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .hud-left, .hud-right { flex-direction: row; justify-content: center; gap: 10px; align-items: baseline; }
  .hud-left { order: 2; } .hud-right { order: 3; } .hud-center { order: 1; }
}

/* ---------- Detail ---------- */
.detail {
  position: fixed; inset: 0; z-index: 50;
  background: var(--bg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  clip-path: inset(0 0 0 0 round 0);
  transition: clip-path .62s cubic-bezier(.7, 0, .2, 1);
}
.detail-media { position: relative; overflow: hidden; background: var(--detail-bg); }
.detail-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,6,4,.75), rgba(8,6,4,0) 55%);
}
.detail-media .ghost {
  position: absolute; right: -4%; top: 4%;
  font-family: var(--font-display); font-weight: 900; font-size: 60vh; line-height: .8;
  color: rgba(255,255,255,.06);
}
.detail-media h2 {
  position: absolute; z-index: 1; margin: 0;
  left: max(28px, env(safe-area-inset-left, 0px)); right: 28px; bottom: 28px;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 6.5vw, 5.6rem); line-height: .9; color: #fff; text-wrap: balance;
}
.detail-body {
  overflow-y: auto; overscroll-behavior: contain;
  padding-block: 84px 48px;
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: max(clamp(24px, 4vw, 56px), env(safe-area-inset-right, 0px));
}
.detail .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.detail.shown .reveal { opacity: 1; transform: none; }
.detail.shown .reveal:nth-child(2) { transition-delay: .06s; }
.detail.shown .reveal:nth-child(3) { transition-delay: .12s; }
.detail.shown .reveal:nth-child(4) { transition-delay: .18s; }
.detail.shown .reveal:nth-child(5) { transition-delay: .24s; }

.close {
  position: fixed; z-index: 2;
  top: calc(18px + env(safe-area-inset-top, 0px));
  right: max(20px, env(safe-area-inset-right, 0px));
  background: rgba(15,13,11,.7); border: 1px solid var(--line); color: var(--fg);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 5px; cursor: pointer;
}
.close:hover { border-color: var(--accent); }

.eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.intro { font-size: 1.15rem; margin: 0 0 28px; max-width: 52ch; }

.plans { display: grid; gap: 12px; margin-bottom: 28px; }
.plan {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline;
  border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; background: var(--panel);
}
.plan.featured { border-color: var(--accent); }
.plan h3 { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; letter-spacing: .01em; }
.plan h3 small { font-family: var(--font-mono); font-weight: 400; font-size: .65rem; letter-spacing: .12em; color: var(--accent); margin-left: 8px; vertical-align: middle; }
.plan .price { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.plan ul { grid-column: 1 / -1; margin: 6px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.plan li::before { content: "· "; color: var(--accent); }

.re-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 28px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .92rem; }
th, td { padding: 8px 14px; border-bottom: 1px solid var(--line); text-align: left; }
th { font-family: var(--font-mono); font-weight: 400; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
td:last-child, th:last-child { text-align: right; }
td:last-child { font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
.feature-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; align-content: start; }
.feature-list li { border-left: 2px solid var(--accent); padding-left: 12px; }
.feature-list strong { display: block; }
.feature-list span { color: var(--muted); font-size: .92rem; }
.note { color: var(--muted); font-size: .88rem; margin: -12px 0 28px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 36px; }
.btn {
  display: inline-flex; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 600; padding: 12px 20px; border-radius: 5px; border: 0; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.contact { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 16px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-item.wide { grid-column: 1 / -1; }
.contact-item.wide .v { white-space: nowrap; overflow-wrap: normal; }
.contact-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-item .k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { font-weight: 600; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.contact-item a { color: var(--fg); text-decoration: none; }
.contact-item a:hover { color: var(--accent); }
.copy { align-self: flex-start; margin-top: 4px; background: none; border: 1px solid var(--line); color: var(--muted); font-size: .72rem; padding: 2px 8px; border-radius: 4px; cursor: pointer; }
.copy:hover { color: var(--fg); }

@media (max-width: 820px) {
  .detail { grid-template-columns: minmax(0, 1fr); grid-template-rows: 40vh auto; overflow-y: auto; overscroll-behavior: contain; }
  .detail-body { overflow: visible; padding-block: 28px 48px; }
  .detail-media h2 { bottom: 18px; left: max(20px, env(safe-area-inset-left, 0px)); }
  .re-grid { grid-template-columns: minmax(0, 1fr); }
}

.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 60;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--fg); color: var(--bg); font-weight: 600; font-size: .9rem;
  padding: 10px 16px; border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .detail { transition: none; }
  .detail .reveal { transition: none; }
}

/* ---------- Booking form sheet ---------- */
.form-sheet { position: fixed; inset: 0; z-index: 80; }
.form-scrim { position: absolute; inset: 0; background: rgba(6,5,4,.6); opacity: 0; transition: opacity .3s ease; }
.form-sheet.open .form-scrim { opacity: 1; }
.form-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(600px, 100%);
  background: var(--panel); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .38s cubic-bezier(.7, 0, .2, 1);
}
.form-sheet.open .form-panel { transform: none; }
.form-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding-block: calc(20px + env(safe-area-inset-top, 0px)) 16px;
  padding-left: 28px; padding-right: max(28px, env(safe-area-inset-right, 0px));
  border-bottom: 1px solid var(--line);
}
.form-head h2 { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 2.2rem; line-height: .95; }
.form-eyebrow { margin: 0 0 6px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.form-x { background: none; border: 1px solid var(--line); border-radius: 5px; padding: 6px 10px; cursor: pointer; color: var(--muted); }
.form-x:hover { color: var(--fg); border-color: var(--muted); }

#booking-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
#booking-form[hidden] { display: none; }
.form-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-block: 8px 24px; padding-left: 28px; padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.f-section { padding-block: 20px 4px; }
.f-section + .f-section { border-top: 1px solid var(--line); }
.f-section h3 {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .02em;
}
.f-section h3 span {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500; color: var(--accent-ink); background: var(--accent);
  width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center;
}
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field.half { grid-column: span 1; }
.field legend { padding: 0; margin-bottom: 6px; }
.f-label { font-size: .9rem; font-weight: 600; }
.f-label em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .78rem; margin-left: 4px; }
.f-hint { font-size: .8rem; color: var(--muted); }
.f-error { font-size: .8rem; color: #ff8f7a; min-height: 0; }
.f-error:empty { display: none; }

.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder, .field textarea::placeholder { color: #6f655a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,173,92,.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff8f7a; }
.field input[type=date] { color-scheme: dark; min-height: 46px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill, .choice { position: relative; cursor: pointer; }
.pill input, .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill .c-box {
  display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); font-size: .92rem; transition: border-color .15s, background .15s;
}
.pill:hover .c-box { border-color: var(--muted); }
.pill input:checked + .c-box { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.pill input:focus-visible + .c-box, .choice input:focus-visible + .c-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.field.invalid .pill .c-box, .field.invalid .choice .c-box { border-color: #ff8f7a; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice .c-box {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; height: 100%;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg);
  transition: border-color .15s, background .15s;
}
.choice:hover .c-box { border-color: var(--muted); }
.c-tick { grid-row: span 2; width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--muted); position: relative; }
.choice input:checked + .c-box { border-color: var(--accent); background: rgba(232,173,92,.08); }
.choice input:checked + .c-box .c-tick { background: var(--accent); border-color: var(--accent); }
.choice input:checked + .c-box .c-tick::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.choice.wide { grid-column: 1 / -1; }
.c-label { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.c-note { grid-column: 2; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-shrink: 0; flex-wrap: wrap;
  padding-block: 14px calc(14px + env(safe-area-inset-bottom, 0px));
  padding-left: 28px; padding-right: max(28px, env(safe-area-inset-right, 0px));
  border-top: 1px solid var(--line); background: var(--panel);
}
.estimate { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; min-width: 0; }
.est-k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.est-v { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.est-v.muted { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--muted); }
.est-v small { font-family: var(--font-body); font-size: .8rem; font-weight: 600; }
.est-lines { grid-column: 1 / -1; font-size: .75rem; color: var(--muted); margin-top: 2px; }
.est-error { font-size: .85rem; color: #ff8f7a; }
.form-foot .btn { flex: none; }
.form-foot .btn:disabled { opacity: .6; cursor: progress; }

.form-status { flex: 1; overflow-y: auto; padding-block: 28px; padding-left: 28px; padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.form-status h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 2rem; outline: none; }
.form-status p { margin: 0 0 18px; max-width: 52ch; }
.summary {
  white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: .8rem; line-height: 1.6;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 16px; margin: 0 0 18px;
  user-select: all; -webkit-user-select: all;
}
.status-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.text-btn { background: none; border: 0; color: var(--accent); font-weight: 600; cursor: pointer; padding: 0; }

@media (max-width: 600px) {
  .form-panel { top: calc(24px + env(safe-area-inset-top, 0px)); border-left: 0; border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; transform: translateY(100%); }
  .form-head, .form-body, .form-foot, .form-status { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .form-head { padding-top: 18px; }
  .f-grid { grid-template-columns: minmax(0, 1fr); }
  .field.half { grid-column: 1 / -1; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .form-head h2 { font-size: 1.8rem; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .form-panel, .form-scrim { transition: none; } }

/* ---------- Gallery ---------- */
.gallery {
  position: fixed; inset: 0; z-index: 70; background: var(--bg);
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  transition: clip-path .56s cubic-bezier(.7, 0, .2, 1);
}
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; }
.g-bar {
  display: flex; align-items: center; gap: 16px;
  padding-block: calc(16px + env(safe-area-inset-top, 0px)) 14px;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
  border-bottom: 1px solid var(--line);
}
.g-eyebrow { margin: 0; flex: 1; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.g-speed { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.g-speed b { color: var(--fg); font-weight: 500; font-variant-numeric: tabular-nums; margin-left: 4px; }
.g-close {
  background: none; border: 1px solid var(--line); color: var(--fg); cursor: pointer; border-radius: 5px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px;
}
.g-close:hover { border-color: var(--accent); }
@media (max-width: 520px) { .g-speed { display: none; } }

.g-scroll {
  overflow-y: auto; overscroll-behavior: contain; --g-skew: 0deg;
  padding-block: 0 calc(40px + env(safe-area-inset-bottom, 0px));
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.g-scroll > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.g-hero { padding-block: clamp(32px, 6vw, 72px) 8px; }
.g-hero h2 {
  margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 7.5rem); line-height: .86; max-width: 11ch; text-wrap: balance;
}
.g-meta { margin: 16px 0 0; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.g-section { padding-block: 36px 0; }
.g-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 14px;
}
.g-head h3 { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1; }
.g-head span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.g-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-grid.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.g-grid.n3 .g-tile:first-child { grid-row: span 2; aspect-ratio: auto; }
.g-grid.wide, .g-grid.n1 { grid-template-columns: minmax(0, 1fr); }
.g-grid.wide .g-tile { aspect-ratio: 21 / 9; }

.g-tile {
  position: relative; display: block; overflow: hidden; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 3 / 2; max-width: 100%; border-radius: 6px;
  background: var(--g-tint);
  transform: skewY(var(--g-skew)); transform-origin: 50% 50%;
}
.g-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-tile img.failed { display: none; }
.g-tile:hover img { transform: scale(1.035); }
.g-ph {
  position: absolute; left: 12px; bottom: 10px; z-index: 1;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; color: rgba(255,255,255,.8);
  background: rgba(10,8,6,.45); padding: 2px 6px; border-radius: 3px;
}
@media (max-width: 640px) {
  .g-grid, .g-grid.n3 { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .g-grid.n3 .g-tile:first-child { grid-row: auto; aspect-ratio: 3 / 2; }
  .g-grid.wide .g-tile { aspect-ratio: 3 / 2; }
}

/* before / after */
.compare {
  position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 9; max-width: 100%;
  background: var(--g-tint); user-select: none; -webkit-user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare img.failed { display: none; }
.c-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); background: linear-gradient(160deg,#2c3c4b,#0e1317); }
.c-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,.4);
}
.c-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #111;
  display: grid; place-items: center; font-weight: 700; letter-spacing: .1em; font-size: 1rem;
}
.c-tag {
  position: absolute; top: 12px; z-index: 1; pointer-events: none;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(10,8,6,.55); padding: 4px 8px; border-radius: 3px;
}
.c-tag-l { left: 12px; } .c-tag-r { right: 12px; }
.c-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.c-range:focus-visible + .c-handle, .compare:focus-within .c-handle::after { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) { .compare { aspect-ratio: 4 / 3; } }

.g-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
}
.g-foot p { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 3.5vw, 2.2rem); line-height: 1; }

/* viewer */
.viewer {
  position: fixed; inset: 0; z-index: 75; background: #070605;
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  transition: clip-path .42s cubic-bezier(.7, 0, .2, 1);
  touch-action: pan-y;
}
.v-stage { position: relative; min-height: 0; overflow: hidden; }
.v-stage img {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top, 0px)); bottom: 0;
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  width: calc(100% - 2 * max(16px, env(safe-area-inset-left, 0px))); height: calc(100% - 16px - env(safe-area-inset-top, 0px));
  object-fit: contain; user-select: none; -webkit-user-drag: none;
}
.v-stage img.failed { display: none; }
.v-fallback {
  position: absolute; inset: calc(16px + env(safe-area-inset-top, 0px)) 16px 0; border-radius: 4px; z-index: -1;
  background: var(--g-tint); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.v-stage img:not(.failed) ~ .v-fallback, .v-stage:has(img:not(.failed)) .v-fallback { display: none; }
.v-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(10,8,6,.55); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
  backdrop-filter: blur(6px);
}
.v-nav:hover { border-color: var(--accent); }
.v-prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.v-next { right: max(16px, env(safe-area-inset-right, 0px)); }
.v-bar {
  display: flex; align-items: center; gap: 16px;
  padding-block: 14px calc(14px + env(safe-area-inset-bottom, 0px));
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #cfc6ba;
}
#v-cap { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#v-count { font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .v-nav { top: auto; bottom: 64px; transform: none; } }

@media (prefers-reduced-motion: reduce) { .gallery, .viewer { transition: none; } .g-tile { transform: none; } }

/* gallery: larger shoots, portrait sessions, empty slots */
.g-grid.many { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.g-grid.many .g-tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-scroll.portrait .g-tile { aspect-ratio: 4 / 5; }
.g-scroll.portrait .g-grid.many { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.g-scroll.portrait .g-grid.many .g-tile:first-child { aspect-ratio: auto; }
.g-empty {
  cursor: default; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(255,255,255,.03) 10px 20px), var(--panel);
  border: 1px dashed var(--line);
}
.g-empty span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .g-grid.many, .g-scroll.portrait .g-grid.many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-grid.many .g-tile:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .g-scroll.portrait .g-grid.many .g-tile:first-child { aspect-ratio: 4 / 5; }
}
/* round markers for single-choice cards */
.choice input[type=radio] + .c-box .c-tick { border-radius: 50%; }
.choice input[type=radio]:checked + .c-box .c-tick::after {
  left: 50%; top: 50%; width: 8px; height: 8px; border: 0; border-radius: 50%;
  background: var(--accent-ink); transform: translate(-50%, -50%);
}
.f-note { margin: -6px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- Aperture scroll meter ---------- */
.aperture {
  --ap-blade: #2d261f; --ap-seam: #0f0d0b; --ap-rim: #7d7064; --ap-light: var(--accent);
  display: inline-flex; align-items: center; gap: 8px; flex: none;
}
.aperture canvas { display: block; }
.ap-stop {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; color: var(--fg);
  font-variant-numeric: tabular-nums; min-width: 3.6ch;
}
.detail-ap {
  position: fixed; z-index: 2;
  top: calc(16px + env(safe-area-inset-top, 0px));
  left: max(20px, env(safe-area-inset-left, 0px));
  background: rgba(15,13,11,.7); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px 4px 4px; backdrop-filter: blur(8px);
}
.g-bar .aperture { margin-right: 4px; }

/* starting-at prices and pricing callout */
.plan .price small { font-family: var(--font-mono); font-weight: 400; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; vertical-align: middle; }
.plan-blurb { grid-column: 1 / -1; margin: 2px 0 0; font-size: .92rem; font-style: italic; color: var(--fg); }
.callout { border: 1px solid var(--accent); border-radius: 6px; padding: 14px 16px; margin: -8px 0 20px; background: rgba(232,173,92,.06); }
.callout strong { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.callout p { margin: 0; font-size: .95rem; }

/* contact message form */
.mini-form { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 20px; margin-bottom: 28px; }
.mini-title { margin: 0 0 14px; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.mini-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.mini-actions .btn:disabled { opacity: .6; cursor: progress; }
.mini-error { font-size: .85rem; color: #ff8f7a; }
.mini-done p { margin: 0 0 14px; }
@media (max-width: 600px) { .mini-form .f-grid { grid-template-columns: minmax(0, 1fr); } .mini-form .field.half { grid-column: 1 / -1; } }

/* ---------- Cards are links to each service page ---------- */
a.card { display: block; text-decoration: none; color: inherit; -webkit-user-drag: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0; }

/* ---------- FAQ (detail views and readable pages) ---------- */
.faq { margin: 0 0 32px; }
.faq h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 14px 32px 14px 0; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); color: var(--accent); font-size: 1.1rem; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); max-width: 60ch; }

/* ---------- Readable page (no JavaScript, search engines, AI tools) ---------- */
html.js .seo { display: none; }
html:not(.js) .app { display: none; }
html:not(.js), html:not(.js) body { height: auto; overflow: auto; }
.seo {
  max-width: 860px; margin: 0 auto;
  padding-block: 24px 72px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.seo h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: .92; margin: 24px 0 16px; text-wrap: balance; }
.seo h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin: 40px 0 14px; }
.seo h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; }
.seo .lede { font-size: 1.15rem; max-width: 60ch; }
.seo a { color: var(--accent); }
.seo-top { display: grid; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.seo-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .95rem; }
.seo-top .wordmark { color: var(--fg); }
.crumbs { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.seo-hero { width: 100%; max-height: 520px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; background: var(--panel); }
.seo-hero.portrait { max-width: 360px; aspect-ratio: 4 / 5; }
.seo-services { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.seo-services article { min-width: 0; }
.seo-services img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--panel); }
.seo-services h3 { margin: 10px 0 2px; font-size: 1.5rem; line-height: 1; }
.seo-services .from { margin: 0; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.seo-photos { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-bottom: 32px; }
.seo-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--panel); }
.seo-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.seo-more span { color: var(--muted); font-size: .9rem; margin-left: 6px; }
.seo .contact { margin-bottom: 24px; }
.seo .copy { display: none; }
