@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-variable.woff2') format('woff2');
}

/*
Page transition is currently disabled.
Uncomment this block and the matching HTML/JS comments to restore it.

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0, rgba(244, 241, 234, 0.86) 28%, rgba(205, 164, 96, 0.42) 65%, rgba(205, 164, 96, 0) 100%);
  mix-blend-mode: screen;
}

.page-transition.flash {
  animation: camera-flash 0.18s ease-out both;
}

@keyframes camera-flash {
  0% { opacity: 0; }
  22% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .page-transition.flash { animation-duration: 0.01ms; }
}
*/

:root {
  --black: #0b0b0c;
  --near-black: #171614;
  --cream: #f4f1ea;
  --cream-dim: #cfc9bf;
  --taupe: #b3aca0;
  --line: #4a463f;
  --gold: #cda460;
  --gold-bright: #e7c680;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-y: scroll; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 75px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

/* Mobile-first: nav links are hidden by default, shown only as a
   full-screen menu when opened. Desktop override further down turns
   this back into a normal horizontal row. This avoids relying on
   flex-wrap/shrink behavior, which is inconsistent across browsers. */
.nav-links {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--black);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright);
}

/* Mobile: "Portfolio" stays a plain nav item (same size/rhythm as Home,
   About, Contact) with a small toggle beside it. Tapping the toggle expands
   the category list in place — collapsed by default so it doesn't clutter
   the menu, and its links get full-size touch targets when open, rather
   than the cramped always-on row this replaced. */
.nav-has-dropdown {
  /* The <li> shrink-wraps to its widest child — usually the expanded
     category list (e.g. "Portraits"), not the shorter "Portfolio" text —
     so without this, .nav-portfolio-row would sit flush-left in that wider
     box instead of centered like Home/About/Contact. */
  text-align: center;
}

.nav-portfolio-row {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  /* Floated beside the link rather than laid out in-flow with it, so the
     "Portfolio" text itself stays centered like Home/About/Contact instead
     of the whole (text + button) group being centered as one wider unit. */
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: 14px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream-dim);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
}

.nav-has-dropdown.mobile-open .nav-dropdown-toggle {
  transform: translateY(-50%) rotate(180deg);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.nav-dropdown {
  display: none;
  flex-direction: column;
  align-items: center;
  list-style: none;
  gap: 14px;
  margin-top: 24px;
}

.nav-has-dropdown.mobile-open .nav-dropdown {
  display: flex;
}

.nav-dropdown a {
  display: block;
  padding: 4px 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--taupe);
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--gold-bright);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  z-index: 200;
  position: relative;
}

.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Desktop: show nav links as a normal horizontal row, hide the
   hamburger button. min-width guards against any narrower device
   (including tablets) ever getting the cramped horizontal layout. */
@media (min-width: 1025px) {
  .nav-links {
    display: flex;
    position: static;
    inset: auto;
    background: none;
    flex-direction: row;
    gap: 40px;
  }
  .nav-links a {
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }
  .nav-toggle { display: none; }

  /* Portfolio's shortcuts become a hover panel instead of an inline row —
     the mobile toggle button/accordion isn't needed when hover works. */
  .nav-has-dropdown {
    position: relative;
  }

  .nav-dropdown-toggle {
    display: none;
  }

  .nav-dropdown {
    display: flex;
    position: absolute;
    /* top:100% is flush against the Portfolio link's own box, and the gap
       down to the options is padding (inside this element) rather than
       margin (outside it) — that keeps the cursor within .nav-dropdown,
       and therefore within .nav-has-dropdown:hover, the whole way down.
       A margin-based gap is empty space no element covers, so the hover
       chain breaks there and the menu closes before the cursor arrives. */
    top: 100%;
    left: 50%;
    margin-top: 0;
    transform: translateX(-50%) translateY(4px);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    min-width: 150px;
    padding: 16px 6px 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-has-dropdown:hover .nav-dropdown,
  .nav-has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown a {
    display: block;
    padding: 4px 8px;
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:focus-visible {
    color: var(--gold-bright);
    outline: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-ph {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #120f0b 0%, #0a0807 55%, #000000 100%);
}

.hero-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.55), rgba(11,11,12,0.88)),
    linear-gradient(135deg, rgba(18,15,11,0.35) 0%, rgba(10,8,7,0.35) 55%, rgba(0,0,0,0.5) 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 24px;
}

.hero .eyebrow { margin-bottom: 20px; }

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  margin-bottom: 20px;
}

.hero p {
  color: var(--cream-dim);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  max-width: 640px;
  margin: 0 auto 36px;
}

@media (min-width: 1100px) {
  .hero p { white-space: nowrap; }
}

/* ---------- Keyframe Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes borderGlow {
  0% {
    box-shadow: inset 0 0 0 0 rgba(231, 198, 128, 0), 0 0 0 0 rgba(231, 198, 128, 0.32);
  }
  50% {
    box-shadow: inset 0 0 0 2px rgba(231, 198, 128, 0.55), 0 0 20px 4px rgba(231, 198, 128, 0.2);
  }
  100% {
    box-shadow: inset 0 0 0 2px rgba(231, 198, 128, 0.32), 0 0 0 0 rgba(231, 198, 128, 0);
  }
}

/* Scroll-triggered animation class */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border: 1px solid var(--gold);
  color: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  background: none;
  cursor: pointer;
}

.btn:hover {
  background: none;
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 16px rgba(231, 198, 128, 0.24);
  transform: translateY(-2px);
}

/* ---------- Crop-tool hero button ---------- */
.btn-focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 17px 40px;
  position: relative;
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 0 18px rgba(205, 164, 96, 0.14);
  transition: color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.btn-focus::before,
.btn-focus::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold);
  border-style: solid;
  transition: inset 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.btn-focus::before {
  top: 0;
  left: 0;
  border-width: 1.5px 0 0 1.5px;
}

.btn-focus::after {
  right: 0;
  bottom: 0;
  border-width: 0 1.5px 1.5px 0;
}

.btn-focus .label {
  position: relative;
  z-index: 1;
  display: inline-block;
  line-height: 1;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn-focus:hover {
  color: var(--gold-bright);
  box-shadow: 0 0 24px rgba(205, 164, 96, 0.28);
  transform: translateY(-2px);
}

.btn-focus:hover::before {
  top: 8px;
  left: 8px;
  border-color: var(--gold-bright);
  filter: drop-shadow(0 0 6px rgba(231, 198, 128, 0.45));
}

.btn-focus:hover::after {
  right: 8px;
  bottom: 8px;
  border-color: var(--gold-bright);
  filter: drop-shadow(0 0 6px rgba(231, 198, 128, 0.45));
}

@media (max-width: 480px) {
  .btn-focus {
    min-height: 50px;
    padding: 16px 26px;
  }
}

/* ---------- Sections ---------- */
section {
  padding: 60px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.section-head .eyebrow { margin-bottom: 18px; }

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

/* ---------- Placeholder image blocks ---------- */
.ph-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, #2b271f, #171614 60%, #0b0b0c);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ph-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(205, 164, 96, 0.16);
  pointer-events: none;
}

.ph-image img,
.ph-image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-image svg {
  width: 34px;
  height: 34px;
  opacity: 0.28;
}

.ph-image.wide { aspect-ratio: 16 / 10; }
.ph-image.tile-3-2 { aspect-ratio: 3 / 2; }
.ph-image.tall { aspect-ratio: 3 / 4; }

/* Hover lift/pop effect for images */
.ph-image:hover {
  /* Scale only, no translateY — combining a lift with a scale made the top
     edge move noticeably more than the bottom (translate + half the scale
     expansion stack on top, partially cancel on the bottom), so the zoom
     looked uneven top-to-bottom. Pure scale expands evenly around center. */
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(205, 164, 96, 0.24), inset 0 0 0 2px rgba(231, 198, 128, 0.4);
}

/* ---------- Home teaser grid ---------- */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 720px) {
  .teaser-grid { grid-template-columns: 1fr; }
}

.teaser-cta {
  text-align: center;
  margin-top: 56px;
}

/* ---------- Intro split (home) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 24px; }
.split p { color: var(--cream-dim); margin-bottom: 20px; }

/* ---------- Portfolio category tiles + gallery ---------- */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

@media (max-width: 560px) {
  .category-tiles { grid-template-columns: 1fr; }
}

.category-tiles[hidden],
.gallery-view[hidden] {
  display: none;
}

.category-tile {
  display: block;
  text-decoration: none;
}

/* A soft, localized dark pool behind the label instead of a full-image scrim
   — keeps the corners/edges of the photo at full color, only dimming the
   patch directly behind the text where contrast is actually needed. */
.category-tile .ph-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 40% at center, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.category-tile-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  /* On top of the pool above, this shadow adds extra edge contrast so the
     text stays readable right up to the pool's soft fade-out. */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 28px rgba(0, 0, 0, 0.75);
  transition: color 0.3s ease;
}

.category-tile:hover .category-tile-label,
.category-tile:focus-visible .category-tile-label {
  /* A richer, more saturated take on --gold-bright (hsl(41, 68%, 70%)) just
     for this hover state, rather than changing the shared variable. */
  color: hsl(41, 82%, 66%);
}

.category-tile:focus-visible .ph-image {
  box-shadow: 0 0 0 1px var(--gold);
}

.gallery-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.back-to-categories {
  padding: 0;
  border: none;
  background: none;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  cursor: pointer;
  transition: color 0.25s ease;
}

.back-to-categories:hover,
.back-to-categories:focus-visible {
  color: var(--gold-bright);
}

.gallery-view-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* Masonry via CSS columns instead of a row/column grid: a strict grid gives
   every item in the same row the row's full height (the tallest item in that
   row), so shorter neighbors leave a blank gap below them even with
   align-items: start. Columns avoid that entirely — each column just stacks
   its items back-to-back, so a short photo is immediately followed by the
   next one with no leftover space. This also means filtering by category
   (which hides items) reflows and repacks automatically, no gaps left behind. */
.gallery-grid {
  columns: 3;
  column-gap: 20px;
}

@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
}

@media (max-width: 560px) {
  .gallery-grid { columns: 1; }
}

.gallery-item {
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 20px;
}
.gallery-item.hidden { display: none; }

/* Size each thumbnail's box to the photo's own proportions instead of forcing
   every photo into the same fixed-aspect-ratio box (which either cropped
   photos or letterboxed them with blank bars). The img's width/height HTML
   attributes (set by build-gallery.js) give the browser the real aspect
   ratio up front, so lazy-loaded photos still reserve the right space and
   don't cause layout jumps as they load in. */
.gallery-grid .ph-image {
  aspect-ratio: auto;
}

.gallery-grid .ph-image img {
  position: static;
  width: 100%;
  height: auto;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,5,6,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 32px;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.lightbox .ph-image {
  aspect-ratio: auto;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  flex: 0 0 auto;
}

.lightbox .ph-image img {
  position: static;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.2s ease;
  cursor: zoom-in;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.lightbox-inner.zoomed .ph-image img {
  cursor: grab;
  transition: transform 0.1s ease;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 32px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gold);
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 26px;
  height: 26px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold-bright);
  filter: drop-shadow(0 0 8px rgba(231, 198, 128, 0.5));
  transform: translateY(-50%) scale(1.12);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 640px) {
  /* Leave a dedicated side gutter for the prev/next buttons so they never
     sit on top of the photo — that's what made them hard to see/tap and
     caused mis-taps landing on the image instead of the button. */
  .lightbox-inner {
    max-width: 74vw;
  }
  .lightbox .ph-image {
    max-width: 74vw;
  }
  .lightbox-prev, .lightbox-next {
    width: 44px;
    height: 44px;
    background: rgba(11, 11, 12, 0.55);
    border-radius: 50%;
  }
  .lightbox-prev svg, .lightbox-next svg {
    width: 20px;
    height: 20px;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

/* ---------- About page ---------- */
.about-hero {
  padding: 24px 0 24px;
  text-align: center;
}

.about-hero .container { max-width: 1400px; }

.about-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); white-space: normal; }

.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.9rem, 2.4vw, 1.7rem);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--gold-bright);
  line-height: 1.6;
}

@media (min-width: 1100px) {
  .pull-quote.one-line { white-space: nowrap; }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

@media (max-width: 720px) {
  .values-grid { grid-template-columns: 1fr; }
}

.values-grid h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--gold-bright);
}

.values-grid p {
  color: var(--cream-dim);
  font-size: 0.95rem;
}

/* ---------- Contact page ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.contact-wrap > div { min-width: 0; }

@media (max-width: 1024px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info p { color: var(--cream-dim); margin-bottom: 28px; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.contact-detail > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-detail span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
}

.contact-detail a {
  font-size: 1rem;
  color: var(--cream);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-link svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 10px;
}

.required-marker {
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  background: var(--near-black);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--cream);
  padding: 14px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: linear-gradient(45deg, transparent 50%, var(--taupe) 50%),
    linear-gradient(135deg, var(--taupe) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.date-input-wrap { position: relative; }

.date-input-wrap input[type="date"] { color: transparent; }

.date-input-wrap input[type="date"]:focus,
.date-input-wrap input[type="date"].has-value {
  color: var(--cream);
}

.date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(80%) sepia(15%) saturate(1372%) hue-rotate(351deg) brightness(86%) contrast(85%);
}

.date-placeholder {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--taupe);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  pointer-events: none;
}

.date-input-wrap input[type="date"]:focus ~ .date-placeholder,
.date-input-wrap input[type="date"].has-value ~ .date-placeholder {
  display: none;
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #e08a7d;
  margin-top: 8px;
  min-height: 1em;
}

.form-note {
  font-size: 0.8rem;
  color: var(--taupe);
  margin-top: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
}

.form-group .checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--cream);
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  opacity: 0;
}

.checkbox-box {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  position: relative;
  background: var(--near-black);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.checkbox-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--gold);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0.5);
  opacity: 0;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-box {
  border-color: var(--gold);
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-box::after {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

.checkbox-option input[type="checkbox"]:focus-visible ~ .checkbox-box {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0 20px;
  text-align: center;
}

.footer-logo img {
  height: 52px;
  width: auto;
  max-width: none;
  object-fit: contain;
  margin: 0 auto 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin-bottom: 28px;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-links a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream-dim);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 16px rgba(231, 198, 128, 0.3), inset 0 0 12px rgba(231, 198, 128, 0.1);
  transform: translateY(-3px) scale(1.08);
}

.social-link svg { width: 18px; height: 18px; }

.share-wrap {
  position: relative;
  display: inline-flex;
}

button.share-btn {
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.share-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 200px;
  background: var(--near-black);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  z-index: 20;
}

.share-wrap.open .share-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Narrow screens: centering under the button can push the menu past the
   viewport edge, so anchor it to the button's right edge instead. */
@media (max-width: 420px) {
  .share-menu {
    left: auto;
    right: -14px;
    transform: translateY(6px);
  }

  .share-wrap.open .share-menu {
    transform: translateY(0);
  }
}

.share-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: none;
  background: none;
  color: var(--cream-dim);
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.share-option:hover,
.share-option:focus-visible {
  background: rgba(231, 198, 128, 0.1);
  color: var(--gold-bright);
  outline: none;
}

.share-option svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
}

/* ---------- Spacing / layout utilities ---------- */
.pt-0 { padding-top: 0; }
.pt-20 { padding-top: 20px; }
.pt-24 { padding-top: 24px; }
.pt-50 { padding-top: 50px; }
.pb-20 { padding-bottom: 20px; }
.pb-24 { padding-bottom: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-18 { margin-bottom: 18px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.max-w-700 { max-width: 700px; }
.text-center { text-align: center; }
.text-dim { color: var(--cream-dim); }
.text-gold { color: var(--gold); }
.btn-block { width: 100%; }
