/* =========================================================
   wayside.view — Stylesheet
   ========================================================= */
:root {
  --paper: #f1f0ee;
  --paper-2: #e9e8e5;
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --night: #101011;
  --night-2: #171718;
  --white: #f5f4f2;
  --muted: #8b8a87;
  --line-dark: rgba(20, 20, 20, .35);
  --line-light: rgba(245, 244, 242, .55);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --header-h: 110px;
  --gutter: clamp(16px, 5.5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 400; margin: 0; }

/* Shared text styles ------------------------------------ */
.eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-size: 10px; letter-spacing: .38em; text-transform: uppercase;
  font-weight: 500; margin: 0 0 22px;
}
.eyebrow-line { width: 80px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow.light { color: var(--white); }

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  background: var(--ink); color: var(--white);
  padding: 13px 16px 13px 18px; min-width: 190px;
  font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  border: 1px solid var(--ink); cursor: pointer;
  transition: background .3s, color .3s;
}
.btn svg { transition: transform .3s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn:hover svg { transform: translateX(4px); }
.btn.light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.light:hover { background: transparent; color: var(--white); }

/* Image placeholders (shown until a real photo is in /img) */
[data-img] {
  background-size: cover;
  background-position: center;
  background-color: #1b1b1c;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px 0 var(--gutter);
  background: var(--paper);
  transition: height .35s, box-shadow .35s;
}
.site-header.is-compact { height: 70px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }

.logo { display: flex; align-items: center; line-height: 1; }
.logo img { mix-blend-mode: multiply; width: auto; transition: height .35s, opacity .35s; }
.logo-full { height: 88px; }
.logo-small { height: 0; opacity: 0; }
.site-header.is-compact .logo-full { height: 0; opacity: 0; }
.site-header.is-compact .logo-small { height: 42px; opacity: 1; }
.logo-mark {
  position: relative;
  font-family: var(--serif); font-weight: 500;
  font-size: 58px; letter-spacing: -.06em;
  transition: font-size .35s;
}
.logo-mark::after { /* diagonal stroke through the W */
  content: ""; position: absolute;
  left: 82%; top: -22%;
  width: 1px; height: 135%;
  background: var(--ink);
  transform: rotate(28deg); transform-origin: top;
}
.logo-dot { font-size: .8em; margin-left: .04em; }
.logo-word {
  font-family: var(--serif); font-size: 12px; letter-spacing: .32em;
  margin-top: 4px; transition: opacity .3s, height .3s;
}
.site-header.is-compact .logo-mark { font-size: 40px; }
.site-header.is-compact .logo-word { opacity: 0; height: 0; margin: 0; overflow: hidden; }

.header-slash {
  position: absolute; z-index: 5; pointer-events: none;
  left: 29.7%; top: 0;
  width: 1px; height: 320px;
  background: linear-gradient(to bottom, var(--ink) 0 34%, var(--line-light) 34% 100%);
  transform: rotate(28deg); transform-origin: top center;
  transition: opacity .35s;
}
.site-header.is-compact .header-slash { opacity: 0; }

.main-nav { display: flex; gap: 36px; margin-left: 6%; }
.main-nav a {
  position: relative;
  font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  padding: 8px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: .26em; bottom: -4px;
  height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 48px; padding-left: 26px; border-left: 1px solid rgba(0,0,0,.2); height: 28px; }
.gallery-link { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.icon-link:hover, .gallery-link:hover { opacity: .6; }

.menu-toggle { display: none; }
.nav-mobile-only { display: none; }
@media (max-width: 860px) { .main-nav .nav-mobile-only { display: block; } }

/* ============ CLIENT AREA ============ */
.client-page { background: var(--night-2); color: var(--white); min-height: calc(100vh - var(--header-h) - 90px); }
.client-login {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: calc(100vh - var(--header-h) - 90px); padding: 80px 16px;
}
.client-login h1, .client-gallery h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.5vw, 54px); letter-spacing: .04em; margin-bottom: 18px; }
.client-login > p { max-width: 420px; font-size: 13px; line-height: 1.7; letter-spacing: .06em; color: #bdbcb8; margin: 0 0 40px; }
.login-form { display: flex; flex-direction: column; align-items: center; gap: 22px; width: min(340px, 100%); }
.login-form input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.35);
  color: var(--white); font: 400 16px var(--sans); letter-spacing: .12em; text-align: center;
  padding: 10px 0; outline: none; border-radius: 0;
}
.login-form input:focus { border-color: var(--white); }
.login-error { min-height: 1.4em; margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #e3a29a; }

.client-gallery { padding: 80px var(--gutter) 100px; }
.client-gallery[hidden], .client-login[hidden] { display: none; }
.cg-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.cg-head p { margin: 0; font-size: 13px; line-height: 1.7; letter-spacing: .06em; color: #bdbcb8; max-width: 520px; }
.cg-meta { font-size: 10px !important; letter-spacing: .3em !important; text-transform: uppercase; color: var(--muted) !important; margin-bottom: 10px !important; }
.cg-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn.ghost:hover { border-color: var(--white); }
.cg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cg-item { position: relative; margin: 0; background: #1f1f20; aspect-ratio: 4 / 5; overflow: hidden; }
.cg-item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .6s; }
.cg-item:hover img { transform: scale(1.04); }
.cg-item a.dl {
  position: absolute; right: 10px; bottom: 10px;
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: rgba(16,16,17,.8); color: var(--white);
  font-size: 9px; letter-spacing: .25em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s;
}
.cg-item:hover a.dl, .cg-item a.dl:focus { opacity: 1; }
@media (hover: none) { .cg-item a.dl { opacity: 1; } }
.cg-note { margin-top: 40px; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 860px) {
  .client-gallery { padding: 50px 16px 70px; }
  .cg-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: clamp(520px, calc(100vh - var(--header-h) - 200px), 780px);
  min-height: 500px;
  color: var(--white);
  overflow: hidden;
  background: var(--night);
}
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s ease-out;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }

/* placeholder moods */
.hero-slide[data-tone="dusk"]   { background-image: radial-gradient(ellipse at 30% 32%, rgba(230,140,80,.55), transparent 45%), linear-gradient(180deg, #2a2b33 0%, #5e4a48 22%, #b2714a 36%, #3a2d28 48%, #141313 68%, #0b0b0b 100%); }
.hero-slide[data-tone="alpine"] { background-image: linear-gradient(180deg, #384056 0%, #a87a78 30%, #d9a58f 38%, #6c7380 48%, #24282f 70%, #0c0d10 100%); }
.hero-slide[data-tone="night"]  { background-image: radial-gradient(circle at 70% 60%, rgba(200,40,40,.35), transparent 25%), linear-gradient(180deg, #0f1420 0%, #1c2433 40%, #0d0e12 100%); }
.hero-slide[data-tone="forest"] { background-image: radial-gradient(ellipse at 60% 40%, rgba(150,170,120,.3), transparent 50%), linear-gradient(180deg, #1d2420 0%, #2f3a30 40%, #0f1210 100%); }
.hero-slide[data-tone="ember"]  { background-image: radial-gradient(ellipse at 50% 70%, rgba(240,150,60,.45), transparent 40%), linear-gradient(180deg, #19171a 0%, #3d2a22 50%, #0c0b0b 100%); }

.hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(0,0,0,.45), transparent 35%); }

.hero-content {
  position: absolute; left: var(--gutter); top: 50%;
  transform: translateY(-48%);
  max-width: 560px;
}
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 4.4vw, 60px);
  letter-spacing: .32em; line-height: 1;
  margin-bottom: 26px;
}
.hero-sub { font-size: clamp(11px, 1vw, 13px); letter-spacing: .42em; text-transform: uppercase; margin: 0; }
.rule { display: block; width: 60px; height: 1px; background: var(--white); margin: 38px 0 32px; opacity: .8; }
.hero-text {
  max-width: 290px; margin: 0;
  font-size: 11px; line-height: 1.6; letter-spacing: .3em; text-transform: uppercase;
}

.hero-counter {
  position: absolute; left: var(--gutter); bottom: 0;
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 0 50px 16px; border-left: 1px solid var(--line-light);
  font-size: 11px; letter-spacing: .25em;
}
.hero-counter .sep { width: 16px; height: 1px; background: var(--line-light); }
.hero-counter .total { font-size: 10px; opacity: .75; }

.scroll-cue {
  position: absolute; right: 48px; bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 9px; letter-spacing: .35em; text-transform: uppercase;
}
.scroll-cue svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ============ CATEGORIES ============ */
.categories {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  padding: 14px 12px; background: var(--night-2);
}
/* on phones (2 columns) an odd last tile spans the full row */
@media (max-width: 860px) { .categories .cat:last-child:nth-child(odd) { grid-column: span 2; } }
.cat {
  position: relative; height: 180px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 16px 20px; color: var(--white);
  isolation: isolate;
}
.cat::before { /* zoom layer */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: inherit; transition: transform .8s ease;
}
.cat::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.25) 100%);
  transition: background .4s;
}
.cat:hover::before { transform: scale(1.08); }
.cat:hover::after { background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.05)); }
.cat .num { font-size: 11px; letter-spacing: .25em; margin-bottom: 8px; }
.cat .name { font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.cat .line { width: 34px; height: 1px; background: var(--white); margin-top: 14px; transition: width .4s; }
.cat:hover .line { width: 70px; }

.cat:nth-child(1) { background-image: radial-gradient(circle at 60% 35%, #5d5d63, transparent 50%), linear-gradient(135deg, #1c1c1f, #2e2e33 50%, #0d0d0f); }
.cat:nth-child(2) { background-image: radial-gradient(circle at 55% 40%, rgba(190,40,40,.55), transparent 22%), linear-gradient(160deg, #3a3b3f, #1b1b1d 70%); }
.cat:nth-child(3) { background-image: linear-gradient(115deg, #4a4f58 0 45%, #2a2b2e 45% 70%, #5b616b 70%); }
.cat:nth-child(4) { background-image: radial-gradient(circle at 62% 28%, rgba(240,180,40,.55), transparent 14%), linear-gradient(180deg, #2d2a27, #120f0e); }
.cat:nth-child(5) { background-image: radial-gradient(ellipse at 55% 45%, #4f4a3c, transparent 45%), linear-gradient(180deg, #1c211c, #0d0f0d); }
.cat:nth-child(6) { background-image: radial-gradient(ellipse at 45% 40%, #6b5649, transparent 40%), linear-gradient(180deg, #2a2523, #121010); }

/* ============ ABOUT ============ */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.about-image {
  position: relative; overflow: hidden; min-height: 380px;
  background-image: linear-gradient(180deg, #2b2e3c 0%, #8a6070 22%, #c0897c 32%, #3c3e48 46%, #e9e7ea 47%, #5b5f68 56%, #1a1c22 63%, #8a6770 74%, #1c1d22 100%);
}
.about-image .frame {
  position: absolute; inset: 30px 40px 30px 36px;
  border: 1px solid var(--line-light); border-top: 0; border-right: 0;
}
.about-image .frame::before { /* top-left tick */
  content: ""; position: absolute; left: -1px; top: 0; width: 16px; height: 1px; background: var(--line-light);
}
.about-image .frame::after { /* right line rising from bottom */
  content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 64%; background: var(--line-light);
}
.about-slash {
  position: absolute; right: 22%; top: 0; width: 1px; height: 75%;
  background: var(--line-light); transform: rotate(-28deg); transform-origin: top;
}
.coords {
  position: absolute; left: 51px; top: 44px; margin: 0;
  color: var(--white); font-size: 10px; line-height: 1.6; letter-spacing: .28em;
}

.about-text {
  position: relative; overflow: hidden;
  padding: 38px 120px 46px 62px;
  background: var(--paper);
}
.about-text h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 2.9vw, 40px); line-height: 1.05; letter-spacing: .03em;
  margin-bottom: 30px;
}
.about-text p:not(.eyebrow):not(.location) {
  max-width: 470px; margin: 0 0 12px;
  font-size: 12px; line-height: 1.5; letter-spacing: .1em; color: var(--ink-soft);
}
.about-text .btn { margin-top: 20px; }
.watermark {
  position: absolute; right: 30px; top: 34px;
  width: 170px; height: auto;
  opacity: .1; mix-blend-mode: multiply; pointer-events: none;
}
.vline { position: absolute; right: 86px; top: 56%; width: 1px; height: 72px; background: var(--line-dark); }
.location {
  position: absolute; right: 30px; bottom: 50px; margin: 0;
  display: flex; align-items: center; gap: 12px;
  font-size: 8px; letter-spacing: .4em; text-transform: uppercase; color: var(--ink-soft);
}
.location span { width: 34px; height: 1px; background: var(--line-dark); }

/* ============ SECTION HEAD ============ */
.section-head { padding: 0 var(--gutter); margin-bottom: 44px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(32px, 3.2vw, 46px); letter-spacing: .04em; }

/* ============ GALLERY ============ */
.gallery { background: var(--night); color: var(--white); padding: 100px 0 110px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px; }
.filters button {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  color: var(--muted); font: 500 10px var(--sans); letter-spacing: .3em; text-transform: uppercase;
  border-bottom: 1px solid transparent; transition: color .3s, border-color .3s;
}
.filters button:hover { color: var(--white); }
.filters button.is-active { color: var(--white); border-color: var(--white); }

.grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense;
  gap: 14px; padding: 0 var(--gutter);
}
.tile {
  position: relative; margin: 0; overflow: hidden; cursor: zoom-in;
  transition: opacity .5s, transform .5s;
}
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.is-hidden { display: none; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.tile figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 1;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s;
}
.tile:hover::after, .tile:hover figcaption { opacity: 1; }
.tile:hover figcaption { transform: none; }

.tile:nth-child(1) { background-image: radial-gradient(circle at 70% 40%, rgba(200,60,50,.4), transparent 20%), linear-gradient(180deg, #1d2230, #0c0d10); }
.tile:nth-child(2) { background-image: linear-gradient(120deg, #5a5f68 0 50%, #2c2e33 50%); }
.tile:nth-child(3) { background-image: radial-gradient(circle at 40% 55%, rgba(200,40,40,.5), transparent 12%), radial-gradient(circle at 58% 55%, rgba(200,40,40,.5), transparent 12%), linear-gradient(180deg, #3b3c41, #151517); }
.tile:nth-child(4) { background-image: radial-gradient(ellipse at 50% 45%, #555041, transparent 50%), linear-gradient(180deg, #1c211c, #0d0f0d); }
.tile:nth-child(5) { background-image: radial-gradient(ellipse at 45% 35%, #7a6253, transparent 40%), linear-gradient(180deg, #2a2523, #0f0d0c); }
.tile:nth-child(6) { background-image: radial-gradient(circle at 60% 30%, rgba(240,180,40,.55), transparent 16%), linear-gradient(180deg, #2b2826, #100e0d); }
.tile:nth-child(7) { background-image: linear-gradient(180deg, #3a4155 0%, #b07a62 40%, #2a2626 60%, #0d0d0d); }
.tile:nth-child(8) { background-image: repeating-linear-gradient(90deg, #3e4148 0 30px, #2a2c30 30px 34px); }
.tile:nth-child(9) { background-image: linear-gradient(180deg, #cfd3d8, #8d939b 50%, #2e3237); }

/* ============ SERVICES ============ */
.services { padding: 110px 0; background: var(--paper); }
.service-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 var(--gutter); border-top: 1px solid var(--line-dark);
}
.service { padding: 34px 28px 10px 0; border-right: 1px solid rgba(0,0,0,.12); }
.service + .service { padding-left: 28px; }
.service:last-child { border-right: 0; }
.service .num { font-size: 11px; letter-spacing: .25em; color: var(--muted); }
.service h3 { font-family: var(--serif); font-size: 24px; margin: 18px 0 14px; letter-spacing: .02em; }
.service p { margin: 0; font-size: 12px; line-height: 1.6; letter-spacing: .06em; color: var(--ink-soft); }

/* ============ CONTACT ============ */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  padding: 110px var(--gutter); background: var(--night-2); color: var(--white);
}
.contact h2 { font-family: var(--serif); font-size: clamp(32px, 3.2vw, 46px); line-height: 1.08; letter-spacing: .03em; margin-bottom: 26px; }
.contact-intro > p:not(.eyebrow) { color: #bdbcb8; font-size: 13px; line-height: 1.6; letter-spacing: .06em; max-width: 420px; }
.contact-meta { list-style: none; padding: 0; margin: 40px 0 0; }
.contact-meta li {
  display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px; letter-spacing: .1em;
}
.contact-meta span { width: 110px; flex: none; color: var(--muted); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; padding-top: 2px; }
.contact-meta a:hover { opacity: .7; }

.contact-form { display: flex; flex-direction: column; gap: 26px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.contact-form input, .contact-form select, .contact-form textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3);
  color: var(--white); font: 400 14px var(--sans); letter-spacing: .04em;
  padding: 8px 0; outline: none; border-radius: 0; resize: vertical;
  transition: border-color .3s;
}
.contact-form select option { background: var(--night-2); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--white); }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: -6px 0 0; font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.form-note a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.3); }

/* ============ ABOUT PAGE ============ */
.about-page { background: var(--paper); }
.ap-intro {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px);
  align-items: center; padding: 80px var(--gutter) 90px;
}
.ap-portrait { position: relative; margin: 0; }
.ap-portrait img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.ap-frame {
  position: absolute; inset: 22px -22px -22px 22px; z-index: -0;
  border: 1px solid var(--line-dark); pointer-events: none;
}
.ap-portrait img { position: relative; z-index: 1; }
.ap-intro-text h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 64px); letter-spacing: .03em; line-height: 1; margin-bottom: 26px; }
.ap-lead { font-size: 15px; line-height: 1.7; letter-spacing: .05em; color: var(--ink-soft); max-width: 520px; margin: 0 0 40px; }
.ap-facts { margin: 0; border-top: 1px solid rgba(0,0,0,.14); max-width: 560px; }
.ap-facts div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.14); }
.ap-facts dt { font-size: 10px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.ap-facts dd { margin: 0; font-size: 13px; line-height: 1.6; letter-spacing: .05em; }

.ap-story {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin: 0 var(--gutter); border-top: 1px solid var(--line-dark);
}
.ap-col { padding: 40px 36px 50px 0; }
.ap-col + .ap-col { padding-left: 36px; border-left: 1px solid rgba(0,0,0,.12); }
.ap-col h2 { font-family: var(--serif); font-size: 26px; letter-spacing: .02em; margin-bottom: 18px; }
.ap-col p { font-size: 13px; line-height: 1.75; letter-spacing: .05em; color: var(--ink-soft); margin: 0 0 14px; }

.ap-quote { padding: 90px var(--gutter); text-align: center; }
.ap-quote blockquote { margin: 0; }
.ap-quote p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; letter-spacing: .02em; margin: 0 0 20px; }
.ap-quote cite { font-style: normal; font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }

.ap-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 14px; background: var(--night-2); }
.ap-strip a { aspect-ratio: 4 / 5; background-size: cover; background-position: center; transition: opacity .4s; }
.ap-strip a:hover { opacity: .8; }

.ap-cta { padding: 90px var(--gutter) 100px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ap-cta .eyebrow { justify-content: center; }
.ap-cta h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); letter-spacing: .03em; margin-bottom: 34px; }
.ap-cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--white); }

@media (max-width: 860px) {
  .ap-intro { grid-template-columns: 1fr; padding: 40px 16px 60px; gap: 50px; }
  .ap-portrait { margin-right: 22px; }
  .ap-facts div { grid-template-columns: 1fr; gap: 4px; }
  .ap-story { grid-template-columns: 1fr; margin: 0 16px; }
  .ap-col, .ap-col + .ap-col { padding: 34px 0; border-left: 0; }
  .ap-col + .ap-col { border-top: 1px solid rgba(0,0,0,.12); }
  .ap-quote { padding: 60px 16px; }
  .ap-strip { gap: 6px; padding: 6px; }
  .ap-cta { padding: 60px 16px 70px; }
}

/* ============ THANKS PAGE ============ */
.thanks {
  min-height: calc(100vh - var(--header-h) - 90px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 80px 16px; background: var(--night-2); color: var(--white);
}
.thanks h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5vw, 58px); letter-spacing: .04em; margin-bottom: 20px; }
.thanks p { max-width: 440px; font-size: 13px; line-height: 1.7; letter-spacing: .08em; color: #bdbcb8; margin: 0 0 40px; }

/* ============ FOOTER ============ */
.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px var(--gutter); background: var(--night); color: var(--muted);
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
}
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }

/* ============ LEGAL PAGE ============ */
.legal { max-width: 760px; margin: 0 auto; padding: 90px 16px 110px; }
.legal section { scroll-margin-top: 90px; }
.legal section + section { margin-top: 80px; padding-top: 60px; border-top: 1px solid rgba(0,0,0,.12); }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); letter-spacing: .03em; margin-bottom: 30px; }
.legal h2 { font-family: var(--serif); font-size: 22px; letter-spacing: .02em; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 14px; line-height: 1.7; letter-spacing: .03em; color: var(--ink-soft); }
.legal ul { padding-left: 18px; }
.legal a { border-bottom: 1px solid rgba(0,0,0,.3); }
.legal a:hover { border-color: var(--ink); }
.legal address { font-style: normal; font-size: 15px; line-height: 1.8; letter-spacing: .04em; }
.legal .updated { margin-top: 40px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.site-footer a:hover { color: var(--white); }
.footer-logo { height: 34px; width: auto; filter: invert(1); mix-blend-mode: screen; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: rgba(8,8,9,.94); padding: 40px 16px;
  animation: fade .3s;
}
.lightbox[hidden] { display: none; }
.lb-img { width: min(1100px, 92vw); height: min(72vh, 700px); background-size: contain; background-repeat: no-repeat; background-position: center; }
.lb-img.placeholder { background-size: cover; }
.lb-caption { color: var(--white); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; margin: 0; }
.lb-close { position: absolute; top: 18px; right: 26px; background: none; border: 0; color: var(--white); font-size: 40px; font-weight: 300; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .main-nav { gap: 22px; margin-left: 0; }
  .header-tools { gap: 24px; }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .about-text { padding-right: 60px; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(3) { padding-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid rgba(0,0,0,.12); margin-top: 24px; }
}

@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .site-header { padding: 0 16px; }
  .logo-full { height: 62px; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.2) 100%); }
  .watermark { width: 120px; right: 12px; top: 24px; }
  .header-slash { display: none; }
  .header-tools { display: none; }

  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 40px; height: 40px; background: none; border: 0; cursor: pointer; z-index: 60;
  }
  .menu-toggle span { display: block; height: 1px; background: var(--ink); transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .main-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    background: var(--paper);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 14px; }

  .hero { height: calc(100svh - var(--header-h)); max-height: 720px; }
  .hero-content { left: 16px; right: 16px; }
  .hero-title { letter-spacing: .2em; }
  .hero-counter { left: 16px; }
  .scroll-cue { right: 16px; }

  .categories { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px; }
  .cat { height: 150px; }

  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 320px; }
  .about-text { padding: 50px 16px 90px; }
  .vline { display: none; }
  .location { right: 16px; bottom: 34px; }

  .gallery, .services { padding: 70px 0; }
  .section-head { padding: 0 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; padding: 0 16px; }
  .service-list { grid-template-columns: 1fr; margin: 0 16px; }
  .service, .service + .service { padding: 26px 0; border-right: 0; margin: 0; }
  .service + .service { border-top: 1px solid rgba(0,0,0,.12); }

  .contact { grid-template-columns: 1fr; gap: 50px; padding: 70px 16px; }
  .site-footer { flex-direction: column; text-align: center; padding: 30px 16px; }
}
