/* ==========================================================================
   Vivaweb Labs — global stylesheet
   Palette: cream #F8F4EC / near-black #0D0D0D / ink #1A1A1A / gold #D4AF37 / deep green #0B3D2E
   Type: Playfair Display (serif, display) + Montserrat (sans, body)
   ========================================================================== */

:root {
  --cream: #F8F4EC;
  --black: #0D0D0D;
  --ink: #1A1A1A;
  --gold: #D4AF37;
  --gold-soft: rgba(212, 175, 55, 0.35);
  --green: #0B3D2E;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 88px;
  --header-h-scrolled: 68px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; }
p { margin: 0; }
ul { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.bg-cream { background: var(--cream); color: var(--ink); }
.bg-black { background: var(--black); color: var(--cream); }
.bg-green { background: var(--green); color: var(--cream); }
.text-center { text-align: center; }
.eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 500;
  margin-bottom: 20px; display: block;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-green { color: var(--green); }
.gold-rule { width: 60px; height: 1px; background: var(--gold); border: none; margin: 0 0 48px 0; }
.italic-gold { font-style: italic; color: var(--gold); }
.italic-green { font-style: italic; color: var(--green); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: none;
  font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; padding: 16px 34px; transition: opacity .25s ease, transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { opacity: .85; transform: translateY(-2px); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline-gold:hover { background: rgba(212, 175, 55, .1); }
.btn-outline-ink { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline-ink:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-underline {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .25s ease;
}
.link-underline:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.scrolled { background: var(--black); border-bottom-color: var(--gold-soft); }
.header-inner {
  max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px); height: var(--header-h);
  transition: height .3s ease;
}
.site-header.scrolled .header-inner { height: var(--header-h-scrolled); }

.brand { display: flex; align-items: center; text-decoration: none; transform-origin: left center; transition: transform .3s ease; }
.site-header.scrolled .brand { transform: scale(0.88); }
.brand-logo { height: 24px; width: auto; display: block; }

.nav-desktop { display: none; align-items: center; gap: clamp(20px, 2.5vw, 34px); }
.nav-desktop a {
  font-size: 12.5px; letter-spacing: 1.5px; color: var(--cream); text-decoration: none;
  padding-bottom: 5px; border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { border-color: var(--gold); }
.header-book { display: none; margin-left: 28px; white-space: nowrap; }

.burger {
  background: none; border: none; padding: 8px; display: flex; flex-direction: column; gap: 5px; cursor: pointer;
}
.burger span { width: 22px; height: 1px; background: var(--cream); display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--black);
  display: none; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; justify-content: flex-end; padding: 20px clamp(20px, 4vw, 48px); }
.mobile-menu-close { background: none; border: none; color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; padding: 8px; }
.mobile-menu-close:hover { color: var(--gold); }
.mobile-nav { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; flex: 1; }
.mobile-nav a { font-family: var(--serif); font-size: 30px; color: var(--cream); text-decoration: none; }
.mobile-menu-cta { padding: 0 clamp(20px, 6vw, 64px) clamp(32px, 6vw, 48px); }

@media (min-width: 900px) {
  .nav-desktop, .header-book { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--black);
  border-top: 1px solid var(--gold-soft); display: none; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 28px); animation: fadeUp .35s ease both;
}
.sticky-cta.visible { display: flex; }
.sticky-cta p { font-size: 12.5px; color: var(--cream); opacity: .85; }
.sticky-cta .row { display: flex; align-items: center; gap: 14px; }
.sticky-cta .btn { padding: 9px 20px; font-size: 11px; }
.sticky-cta .dismiss { background: none; border: none; color: var(--cream); opacity: .5; font-size: 18px; line-height: 1; cursor: pointer; padding: 4px; }
.sticky-cta .dismiss:hover { opacity: 1; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative; min-height: 100vh; background: var(--black); display: flex; flex-direction: column;
}
@media (min-width: 800px) { .hero { flex-direction: row; align-items: stretch; } }
.hero-content {
  flex: 1 1 60%; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 5vw, 64px); min-width: 0;
}
.hero-copy { max-width: 640px; margin: 100px 0 48px; }
.hero h1 { font-size: clamp(40px, 6.5vw, 80px); line-height: 1.05; color: var(--cream); margin: 0 0 24px; }
.hero p.lede {
  font-size: clamp(15px, 1.6vw, 18px); font-weight: 300; color: var(--cream); opacity: .75;
  line-height: 1.6; max-width: 460px; margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 8px; width: fit-content; }
.scroll-indicator .label { font-size: 9px; letter-spacing: 2px; color: var(--cream); opacity: .4; text-transform: uppercase; }
.scroll-indicator .track { position: relative; width: 1px; height: 32px; background: rgba(212, 175, 55, .3); }
.scroll-indicator .dot { position: absolute; top: 0; left: -1.5px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); animation: scrollDot 1.8s ease-in-out infinite; }
.hero-media { flex: 1 1 40%; position: relative; min-width: 0; display: flex; min-height: 280px; }
.hero-media .divider { width: 1px; background: linear-gradient(180deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); margin: 64px 0; display: none; }
@media (min-width: 800px) { .hero-media .divider { display: block; } }
.hero-media .frame { flex: 1; position: relative; overflow: hidden; }
.hero-media .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); }
.hero-media .fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, transparent 30%); display: none; }
@media (min-width: 800px) { .hero-media .fade { display: block; } }

/* ---------- Generic page hero ---------- */
.page-hero { padding-top: clamp(56px, 8vw, 88px); }
.page-hero.dark { background: var(--black); color: var(--cream); }

/* ---------- Trust strip ---------- */
.trust-strip { text-align: center; }
.trust-strip .label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; opacity: .45; margin-bottom: 32px; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.trust-logos span { font-family: var(--serif); font-size: 22px; opacity: .3; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: clamp(32px, 4vw, 48px); }
.grid-auto-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-auto-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-auto-220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-auto-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

/* ---------- What we do cards ---------- */
.service-card h3 { font-size: 22px; margin: 0 0 10px; }
.service-card p { font-size: 14px; opacity: .7; line-height: 1.6; margin: 0 0 16px; }
.service-card svg { margin-bottom: 24px; }
.service-card a { color: var(--ink); }

/* ---------- Anatomy / mock browser frame ---------- */
.browser-frame {
  position: relative; max-width: 760px; margin: 0 auto 56px; border: 10px solid #1A1A1A; border-radius: 8px;
  overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
}
.browser-bar { background: #1A1A1A; padding: 8px 12px; display: flex; gap: 6px; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3a; display: block; }
.browser-shot { position: relative; width: 100%; padding-bottom: 60%; }
.browser-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.browser-shot .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 13, .15), rgba(13, 13, 13, .35)); }
.pin {
  position: absolute; width: 22px; height: 22px; border: 1px solid var(--gold); border-radius: 50%;
  background: rgba(13, 13, 13, .6); color: var(--gold); font-size: 11px; display: flex; align-items: center;
  justify-content: center; font-family: var(--serif);
}
.anatomy-item { display: flex; gap: 14px; }
.anatomy-badge {
  flex: none; width: 22px; height: 22px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold);
  font-size: 11px; display: flex; align-items: center; justify-content: center; font-family: var(--serif);
}
.anatomy-item .title { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.anatomy-item .desc { font-size: 14px; font-weight: 300; color: var(--cream); opacity: .75; line-height: 1.5; }

/* ---------- Steps / process ---------- */
.steps { display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: center; }
.step { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 140px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center;
  justify-content: center; font-family: var(--serif); font-size: 16px; color: var(--gold);
}
.step .label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-align: center; }
.step-connector { flex: 1 1 40px; min-width: 24px; height: 1px; background: var(--gold); margin-top: 21px; align-self: flex-start; }
.steps-small .step { width: 110px; }
.steps-small .num { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: none; }
.steps-small .label { font-size: 10px; letter-spacing: 1.5px; }
.steps-small .step-connector { margin-top: 6px; }

/* ---------- Booking teaser (home) ---------- */
.book-teaser-grid { display: flex; gap: clamp(32px, 6vw, 64px); flex-wrap: wrap; margin-bottom: 44px; }
.book-teaser-copy { flex: 2 1 380px; min-width: 280px; }
.book-teaser-copy h2 { font-size: clamp(28px, 4.5vw, 44px); color: var(--cream); line-height: 1.15; margin: 0 0 20px; }
.book-teaser-copy p { font-size: 15px; font-weight: 300; color: var(--cream); opacity: .75; line-height: 1.7; max-width: 420px; }
.book-teaser-list { flex: 1 1 280px; min-width: 260px; }
.book-teaser-row {
  display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gold-soft);
}
.book-teaser-row:last-child { border-bottom: none; }
.book-teaser-row .name { flex: 1; font-size: 14px; color: var(--cream); }
.book-teaser-row .dur { font-size: 12px; color: var(--cream); opacity: .55; }
.helper-note { font-size: 12px; color: var(--cream); opacity: .5; margin-top: 14px; }

/* ---------- Work teaser gallery (home) ---------- */
.gallery-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); grid-auto-rows: 260px; gap: 20px; margin-bottom: 40px; }
.gallery-tile { position: relative; overflow: hidden; display: block; min-height: 260px; text-decoration: none; }
.gallery-tile.big { grid-column: span 2; grid-row: span 2; min-height: 280px; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: transform .5s ease, filter .5s ease; }
.gallery-tile:hover img { transform: scale(1.04); filter: brightness(.55); }
.gallery-tile .cap { position: absolute; left: 24px; bottom: 24px; color: var(--cream); }
.gallery-tile .cap .name { font-family: var(--serif); font-size: 24px; }
.gallery-tile .cap .kind { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.gallery-tile.small .cap { left: 20px; bottom: 20px; }
.gallery-tile.small .cap .name { font-size: 19px; }
.gallery-tile.small .cap .kind { font-size: 10px; }

/* ---------- Closing CTA band ---------- */
.cta-band h2 { font-size: clamp(28px, 4.5vw, 46px); color: var(--cream); margin: 0 0 36px; }

/* ---------- About: story ---------- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(32px, 5vw, 64px); font-size: 15px; font-weight: 300; line-height: 1.85; opacity: .85; }
.pull-quote { margin: 56px 0 0; padding: 0 0 0 28px; border-left: 1px solid var(--gold); max-width: 640px; }
.pull-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); color: var(--green); line-height: 1.5; }

/* ---------- Values in practice ---------- */
.value-row { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(212, 175, 55, .25); padding: 36px 0; gap: 24px; }
.value-row:last-child { border-bottom: 1px solid rgba(212, 175, 55, .25); }
.value-row.reverse { flex-wrap: wrap-reverse; }
.value-title { flex: 1 1 260px; min-width: 220px; }
.value-title h3 { font-size: 24px; color: var(--gold); margin: 0 0 10px; }
.value-title p { font-size: 14px; font-weight: 300; color: var(--cream); opacity: .7; line-height: 1.6; }
.value-example { flex: 1 1 320px; min-width: 240px; }
.value-example .tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream); opacity: .4; margin-bottom: 10px; }
.value-example p { font-size: 14px; font-weight: 300; color: var(--cream); opacity: .85; line-height: 1.7; }

/* ---------- Founder ---------- */
.founder { max-width: 900px; margin: 0 auto; display: flex; gap: clamp(28px, 4vw, 48px); align-items: flex-start; flex-wrap: wrap; }
.founder-photo { flex: none; width: 140px; height: 140px; overflow: hidden; border-radius: 50%; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-copy { flex: 1 1 320px; min-width: 0; }
.founder-copy h3 { font-size: 26px; margin: 0 0 16px; }
.founder-copy p { font-size: 15px; font-weight: 300; line-height: 1.8; opacity: .8; max-width: 520px; }

/* ---------- Differentiators ---------- */
.diff-item .title { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.diff-item .rule { width: 24px; height: 1px; background: var(--gold); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: stretch; }
.price-card { border: 1px solid rgba(26, 26, 26, .15); padding: 36px 28px; display: flex; flex-direction: column; }
.price-card .kicker { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.price-card h3 { font-size: 26px; margin: 0 0 6px; }
.price-card .price { font-size: 13px; opacity: .6; margin-bottom: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; font-weight: 300; line-height: 1.5; flex: 1; }
.price-card li { padding-left: 16px; position: relative; }
.price-card li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.price-card.featured {
  border: 1px solid var(--gold); padding: 40px 28px; position: relative; background: var(--black); color: var(--cream);
}
.price-card.featured .kicker { color: var(--gold); }
.price-card.featured .price { color: var(--cream); }
.price-badge {
  position: absolute; top: -12px; left: 28px; background: var(--gold); color: var(--black); font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 600; padding: 5px 12px;
}

/* ---------- Pricing quiz ---------- */
.quiz-q { margin-bottom: 32px; }
.quiz-q .prompt { font-size: 13px; color: var(--cream); opacity: .75; margin-bottom: 14px; }
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  padding: 10px 22px; border: 1px solid var(--gold-soft); background: transparent; color: var(--cream);
  font-size: 13px; cursor: pointer; transition: all .2s ease; font-family: var(--sans);
}
.pill:hover { border-color: var(--gold); }
.pill[aria-pressed="true"] { border: 1px solid var(--gold); background: var(--gold); color: var(--green); }
.quiz-result { border-top: 1px solid var(--gold-soft); padding-top: 32px; text-align: center; display: none; }
.quiz-result.visible { display: block; }
.quiz-result .tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream); opacity: .6; margin-bottom: 10px; }
.quiz-result .tier { font-family: var(--serif); font-weight: 500; font-size: 32px; color: var(--gold); margin-bottom: 16px; }

/* ---------- Add-ons grid ---------- */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: rgba(26, 26, 26, .12); border: 1px solid rgba(26, 26, 26, .12); }
.addon-cell { background: var(--cream); padding: 28px 24px; }
.addon-cell .title { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.addon-cell .desc { font-size: 13px; opacity: .6; font-weight: 300; }

/* ---------- Beyond websites ---------- */
.beyond-card { text-decoration: none; color: inherit; background: var(--black); padding: 32px; display: block; transition: transform .25s ease; }
.beyond-card:hover { transform: translateY(-3px); }
.beyond-card .title { font-family: var(--serif); font-size: 22px; color: var(--cream); margin-bottom: 10px; }
.beyond-card p { font-size: 14px; font-weight: 300; color: var(--cream); opacity: .7; line-height: 1.6; margin: 0 0 16px; }
.beyond-card span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }

/* ---------- Filter bar (work) ---------- */
.filter-bar { display: flex; gap: clamp(20px, 3vw, 36px); padding-bottom: 16px; flex-wrap: wrap; border-bottom: 1px solid rgba(26, 26, 26, .1); }
.filter-pill {
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; color: var(--ink); opacity: .5;
  border: none; background: none; border-bottom: 1px solid transparent; padding: 0 0 4px; font-family: var(--sans);
  transition: opacity .25s ease;
}
.filter-pill[aria-pressed="true"] { opacity: 1; border-color: var(--gold); }

/* ---------- Project gallery grid ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 18px; grid-auto-flow: dense; }
@media (min-width: 700px) { .project-grid { grid-template-columns: repeat(6, 1fr); } }
.project-tile { position: relative; overflow: hidden; display: block; text-decoration: none; color: inherit; grid-column: span 2; grid-row: span 1; }
@media (min-width: 700px) {
  .project-tile.tile-1 { grid-column: span 4; grid-row: span 2; }
  .project-tile.tile-2 { grid-column: span 2; grid-row: span 2; }
  .project-tile.tile-5 { grid-column: span 3; grid-row: span 2; }
  .project-tile.tile-6 { grid-column: span 3; grid-row: span 1; }
  .project-tile.tile-7 { grid-column: span 3; grid-row: span 1; }
}
.project-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85); transition: transform .5s ease, filter .5s ease; }
.project-tile:hover img { transform: scale(1.04); filter: brightness(.5); }
.project-tile .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 13, 13, .75) 100%); opacity: 0; transition: opacity .35s ease;
}
.project-tile:hover .overlay { opacity: 1; }
.project-tile .name { font-family: var(--serif); font-size: 19px; color: var(--cream); }
.project-tile .kind { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin: 4px 0 8px; }
.project-tile .cta { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream); border-bottom: 1px solid var(--gold); width: fit-content; padding-bottom: 2px; }

/* ---------- Before/after slider ---------- */
.baf-wrap { position: relative; width: 100%; padding-bottom: 62%; overflow: hidden; border: 1px solid var(--gold-soft); }
.baf-wrap img.base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.baf-before { position: absolute; inset: 0; overflow: hidden; }
.baf-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.7); }
.baf-tag { position: absolute; top: 16px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream); background: rgba(13, 13, 13, .6); padding: 6px 10px; }
.baf-tag.before { left: 16px; }
.baf-tag.after { right: 16px; background: rgba(13, 13, 13, .5); }
.baf-handle { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--gold); transform: translateX(-.5px); pointer-events: none; }
.baf-handle .knob {
  position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; border-radius: 50%; background: var(--gold);
  transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--black);
}
.baf-slider {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; z-index: 5;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.baf-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 1px; height: 1px; opacity: 0; }
.baf-slider::-moz-range-thumb { width: 1px; height: 1px; opacity: 0; border: none; }
.baf-caption { font-size: 13px; font-weight: 300; letter-spacing: .5px; color: var(--cream); opacity: .65; margin-top: 24px; }

/* ---------- Featured case ---------- */
.case-grid { display: flex; gap: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.case-copy { flex: 1 1 340px; min-width: 280px; }
.case-block { margin-bottom: 28px; }
.case-block .tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.case-block p { font-size: 14px; font-weight: 300; line-height: 1.7; opacity: .8; }
.case-media { flex: 1 1 380px; min-width: 280px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.case-media .a { position: relative; padding-bottom: 130%; }
.case-media .b { position: relative; padding-bottom: 130%; margin-top: 40px; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: clamp(40px, 6vw, 72px); }
.quote-mark { font-family: var(--serif); font-size: 48px; color: var(--gold); line-height: .5; margin-bottom: 8px; }
.quote-grid blockquote { font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); line-height: 1.6; margin: 0 0 20px; }
.quote-grid cite { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .6; font-style: normal; }

/* ---------- Journal ---------- */
.featured-post {
  display: flex; gap: clamp(28px, 5vw, 56px); flex-wrap: wrap; text-decoration: none; color: inherit;
}
.featured-post .media { flex: 1 1 400px; min-width: 280px; position: relative; padding-bottom: 56%; overflow: hidden; }
.featured-post .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.featured-post:hover .media img { transform: scale(1.03); }
.featured-post .copy { flex: 1 1 320px; min-width: 260px; display: flex; flex-direction: column; justify-content: center; }
.featured-post .tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.featured-post h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 0 0 16px; }
.featured-post p { font-size: 14px; font-weight: 300; opacity: .75; line-height: 1.7; margin: 0 0 20px; }
.featured-post .meta { font-size: 12px; opacity: .5; }

.path-item { display: flex; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(212, 175, 55, .25); }
.path-item .dot-wrap { flex: none; display: flex; flex-direction: column; align-items: center; }
.path-item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.path-item .num { font-size: 10px; letter-spacing: 2px; color: var(--gold); margin-bottom: 6px; }
.path-item .title { font-family: var(--serif); font-size: 19px; color: var(--cream); margin-bottom: 6px; }
.path-item p { font-size: 13px; font-weight: 300; color: var(--cream); opacity: .65; line-height: 1.6; }

.article-card { text-decoration: none; color: inherit; display: block; }
.article-card .media { position: relative; padding-bottom: 66%; overflow: hidden; margin-bottom: 18px; }
.article-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card:hover .media img { transform: scale(1.04); }
.article-card .tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.article-card .title { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; border-bottom: 1px solid transparent; width: fit-content; transition: border-color .25s ease; }
.article-card:hover .title { border-color: var(--gold); }
.article-card p { font-size: 13px; font-weight: 300; opacity: .7; line-height: 1.6; margin: 0 0 10px; }
.article-card .meta { font-size: 11px; opacity: .5; }

.category-pills { display: flex; gap: 14px; flex-wrap: wrap; }
.category-pill {
  padding: 9px 20px; border: 1px solid rgba(26, 26, 26, .25); font-size: 12px; letter-spacing: 1px; cursor: pointer;
  transition: border-color .25s ease, color .25s ease; background: none; font-family: var(--sans); color: var(--ink); text-decoration: none; display: inline-block;
}
.category-pill:hover { border-color: var(--gold); color: var(--green); }

.newsletter-form { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 18px; border: 1px solid var(--gold-soft); background: transparent; color: var(--cream);
  font-family: var(--sans); font-size: 14px; min-width: 220px; outline: none;
}
.newsletter-form input::placeholder { color: rgba(248, 244, 236, .5); }
.form-success { font-size: 13px; color: var(--gold); margin: 24px 0 0; display: none; }
.form-success.visible { display: block; }
.hidden { display: none !important; }
.form-error { font-size: 13px; color: #e2867a; margin-top: 12px; display: none; }
.form-error.visible { display: block; }

/* ---------- Contact form ---------- */
.contact-layout { display: flex; gap: clamp(32px, 5vw, 64px); flex-wrap: wrap-reverse; align-items: flex-start; }
.contact-form-col { flex: 2 1 480px; min-width: 300px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .6; }
.field input, .field select, .field textarea {
  width: 100%; border: none; border-bottom: 1px solid rgba(26, 26, 26, .25); background: transparent;
  padding: 10px 0; font-family: var(--sans); font-size: 15px; outline: none; color: var(--ink); transition: border-color .25s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 26px; }
.thank-you { padding: 48px 8px; display: none; }
.thank-you.visible { display: block; }
.thank-you .title { font-family: var(--serif); font-size: 26px; margin-bottom: 12px; }
.thank-you p { font-size: 14px; font-weight: 300; opacity: .75; line-height: 1.7; max-width: 400px; }

.contact-side { flex: 1 1 280px; min-width: 260px; background: var(--black); padding: 36px 30px; color: var(--cream); }
.contact-side .heading { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.contact-side .block { margin-bottom: 22px; }
.contact-side .block:last-child { margin-bottom: 0; padding-top: 22px; border-top: 1px solid rgba(212, 175, 55, .2); }
.contact-side .block .k { font-size: 12px; opacity: .55; margin-bottom: 6px; }
.contact-side .block .v { font-size: 14px; font-weight: 300; }
.contact-side a.v { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--gold-soft); }

/* ---------- Booking (Cal.com) ---------- */
.booking-intro { text-align: center; margin-bottom: 48px; }
.booking-intro h2 { font-size: clamp(28px, 4.5vw, 42px); color: var(--cream); margin: 0 0 14px; }
.booking-intro p { font-size: 14px; font-weight: 300; color: var(--cream); opacity: .7; }
.booking-step-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.meeting-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.meeting-card {
  position: relative; display: block; cursor: pointer; padding: 24px 20px; border: 1px solid var(--gold-soft);
  transition: all .25s ease; background: transparent; text-align: left; color: var(--cream); font-family: var(--sans); width: 100%;
}
.meeting-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.meeting-card svg { margin-bottom: 14px; }
.meeting-card .name { font-size: 15px; color: var(--cream); margin-bottom: 6px; }
.meeting-card .desc { font-size: 12.5px; color: var(--cream); opacity: .65; line-height: 1.5; margin-bottom: 10px; }
.meeting-card .dur { font-size: 11px; color: var(--gold); letter-spacing: 1px; }
.cal-embed-wrap { margin-top: 40px; animation: fadeIn .4s ease both; }
.cal-inline { width: 100%; min-height: 600px; overflow: hidden; }
.cal-fallback { text-align: center; padding: 32px; border: 1px dashed var(--gold-soft); }
.cal-fallback p { font-size: 13px; color: var(--cream); opacity: .7; margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--gold-soft); }
.faq-item { border-bottom: 1px solid var(--gold-soft); }
.faq-q {
  width: 100%; text-align: left; padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; background: none; border: none; font-family: var(--sans); color: inherit;
}
.faq-q .q-text { font-size: 15px; font-weight: 500; }
.faq-q .sym { color: var(--gold); font-size: 18px; }
.faq-a { font-size: 14px; font-weight: 300; opacity: .75; line-height: 1.7; margin: 0 0 22px; max-width: 640px; display: none; }
.faq-a.open { display: block; }

/* ---------- What happens next ---------- */
.next-steps .row { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--gold-soft); }
.next-steps .row:last-child { border-bottom: 1px solid var(--gold-soft); }
.next-steps .row .n { font-family: var(--serif); font-size: 20px; color: var(--gold); flex: none; width: 28px; }
.next-steps .row p { font-size: 14px; font-weight: 300; padding-top: 2px; }

/* ---------- Alt contact ---------- */
.alt-contact {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  border-top: 1px solid rgba(26, 26, 26, .1); padding-top: clamp(48px, 7vw, 64px);
}
.alt-contact .social-links { display: flex; gap: 24px; }
.alt-contact .social-links a { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; opacity: .7; transition: opacity .25s ease, color .25s ease; }
.alt-contact .social-links a:hover { opacity: 1; color: var(--green); }
.alt-contact .browse-link { font-size: 13px; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.alt-contact .browse-link:hover { border-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--cream); }
.footer-top { padding-top: clamp(56px, 7vw, 80px); padding-bottom: clamp(32px, 4vw, 40px); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(36px, 5vw, 48px); }
.footer-col .kicker { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: .5; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a {
  font-size: 13px; font-weight: 300; color: var(--cream); text-decoration: none; border-bottom: 1px solid transparent;
  width: fit-content; transition: border-color .25s ease;
}
.footer-links a:hover { border-color: var(--gold); }
.footer-brand-row { display: flex; align-items: center; margin-bottom: 20px; }
.footer-logo { height: 30px; width: auto; display: block; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--gold); margin: 0 0 12px; }
.footer-desc { font-size: 12.5px; font-weight: 300; opacity: .6; line-height: 1.6; max-width: 220px; }
.footer-location { font-size: 13px; font-weight: 300; opacity: .6; }
.social-row { display: flex; gap: 16px; margin-top: 4px; }
.social-row a { color: var(--cream); transition: color .25s ease; }
.social-row a:hover { color: var(--gold); }
.footer-rule { height: 1px; background: var(--gold); opacity: .3; margin: clamp(36px, 5vw, 48px) 0 24px; border: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 32px; }
.footer-bottom .copyright { font-size: 12px; font-weight: 300; opacity: .5; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; font-weight: 300; color: var(--cream); opacity: .5; text-decoration: none; transition: opacity .25s ease; }
.footer-legal a:hover { opacity: 1; }

/* ---------- Legal pages ---------- */
.legal-body h2 { font-size: 22px; margin: 40px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 14px; font-weight: 300; line-height: 1.8; opacity: .8; }
.legal-body ul { padding-left: 20px; margin: 10px 0; }
