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

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --ink: #1A110C;
  --text: #2B1D15;
  --muted: #6B5040;
  --brand: #8C4B27;
  --line: #D8C0B2;
  --section-pad: clamp(4.25rem, 7.5vw, 7rem);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  scrollbar-gutter: stable both-edges;
  scrollbar-color: var(--line) var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--brand);
  color: var(--bg);
}

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

a {
  color: inherit;
}

button, input, select {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1.25rem;
  background: var(--brand);
  color: var(--bg);
  text-decoration: none;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.25rem);
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  color: var(--brand);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.site-nav a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding-inline: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--bg);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding-block: 0.5rem 1rem;
}

.mobile-menu-inner a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

/* Sections & Seam */
.section {
  position: relative;
  padding-block: var(--section-pad);
}

.seam-thread {
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  width: 1px;
  height: 3rem;
  background: var(--line);
  transform: translateX(-50%);
  transform-origin: top center;
  pointer-events: none;
  z-index: 2;
}

.seam-thread::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--brand);
  background: var(--bg);
  transform: translate(-50%, -50%) rotate(45deg);
}

.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.contact-section::after {
  display: none;
}

/* Typography */
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  max-width: 66ch;
}

.display-xl, .display-lg, .display-md {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 0.98;
}

.display-xl {
  font-size: clamp(2.35rem, 6.2vw, 4.5rem);
  margin-bottom: 1.25rem;
}

.display-lg {
  font-size: clamp(1.95rem, 4.4vw, 3.25rem);
  margin-bottom: 0.85rem;
}

.display-md {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  margin-bottom: 0.35rem;
}

p {
  margin: 0 0 0.85rem;
  max-width: 66ch;
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text);
}

.subnote {
  color: var(--muted);
  font-style: italic;
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-lead {
  color: var(--muted);
}

/* Buttons & Shiny Sweep */
.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.65rem;
  background: var(--brand);
  color: var(--bg);
  border: 1px solid var(--brand);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-primary:hover {
  background: #6B3618;
  border-color: #6B3618;
  transform: translateY(-1px);
}

.shiny-sweep::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 36%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.42) 50%, transparent 80%);
  transform: translateX(-160%) skewX(-18deg);
  animation: sweepGlow 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweepGlow {
  0%, 72% {
    transform: translateX(-160%) skewX(-18deg);
  }
  92%, 100% {
    transform: translateX(420%) skewX(-18deg);
  }
}

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding-inline: 0.25rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--brand);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.link-quiet:hover {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

/* Hero */
.hero {
  overflow: hidden;
}

#ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.hero-routes {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.route-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.route-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.route-pill {
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.route-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 1601;
}

figcaption {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Gallery & Niche Filter */
.niche-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.niche-tab {
  min-height: 48px;
  padding: 0.65rem 1.2rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.niche-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.niche-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--bg);
}

.gallery-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1.75rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}

.gallery-status p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.reset-filter {
  min-height: 48px;
  padding-inline: 0.9rem;
  background: transparent;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.875rem;
  cursor: pointer;
}

.niche-groups {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.niche-group[hidden] {
  display: none;
}

.niche-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: 1.5rem;
}

.niche-header p {
  margin: 0;
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.photo-item {
  margin: 0;
}

.photo-trigger {
  position: relative;
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
}

.photo-trigger img {
  width: 100%;
  height: auto;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-trigger:hover img,
.photo-trigger:focus-visible img {
  transform: scale(1.025);
}

.photo-zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.photo-trigger:hover .photo-zoom,
.photo-trigger:focus-visible .photo-zoom {
  border-color: var(--brand);
  transform: scale(1.08);
}

.other-niches {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.other-niches-text {
  color: var(--text);
  margin-bottom: 1rem;
}

.other-niches-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.niche-direct {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  color: var(--brand);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.niche-direct:hover {
  border-bottom-color: var(--brand);
  color: var(--ink);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-portrait {
  margin: 0;
}

.about-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.about-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.about-place {
  color: var(--brand);
  font-weight: 500;
  margin-top: 1.15rem;
}

.about-actions {
  margin-top: 1.25rem;
}

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem 2rem;
  align-items: start;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.process-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--brand);
}

.process-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.process-item p {
  margin: 0;
  color: var(--muted);
}

/* Contact & Form (no gray fills — bottom border only) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.wa-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select {
  min-height: 48px;
  width: 100%;
  padding: 0.65rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  transition: border-color 0.25s ease;
}

.field input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--brand);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  color: var(--muted);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 17, 12, 0.94);
}

.lightbox-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 64rem;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--bg);
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-counter {
  font-size: 0.875rem;
  letter-spacing: 0.14em;
}

.lightbox-close,
.lightbox-nav {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--bg);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--bg);
  background: var(--brand);
}

.lightbox-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lightbox-figure img {
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-figure figcaption {
  margin-top: 0.75rem;
  color: var(--bg);
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
  }
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about-grid {
    grid-template-columns: 0.88fr 1.12fr;
  }
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 639px) {
  .lightbox-stage {
    grid-template-columns: 1fr;
  }
  .lightbox-nav {
    position: fixed;
    bottom: 1.25rem;
    z-index: 2;
  }
  #lightbox-prev {
    left: 1.25rem;
  }
  #lightbox-next {
    right: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .shiny-sweep::after {
    animation: none;
    display: none;
  }
  .photo-trigger img,
  .btn-primary,
  .photo-zoom {
    transition: none;
  }
}
