@font-face {
  font-family: "Fraunces Variable";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: "Figtree Variable";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
  font-style: normal;
}

:root {
  --cream: #f7f1ea;
  --paper: #fffcf8;
  --sand: #efe4d8;
  --line: #e4d5c8;
  --ink: #3a2a22;
  --ink-soft: #5c4a40;
  --muted: #7a6458;
  --brand: #94624b;
  --brand-deep: #6f4736;
  --brand-soft: #c4a494;
  --on-brand: #fbf7f1;
  --page-x: clamp(1.25rem, 4.5vw, 3.75rem);
  --section-y: clamp(4.25rem, 11vw, 8.75rem);
  --font-display: "Fraunces Variable", Fraunces, Georgia, serif;
  --font-sans: "Figtree Variable", Figtree, system-ui, sans-serif;
  --shadow: 0 18px 40px -24px rgb(58 42 34 / 0.28);
}

* { box-sizing: border-box; }
html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  background: var(--cream);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
  .photo-btn img { transition: none; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.6;
  background: var(--cream);
  color: var(--ink);
  text-wrap: pretty;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: color-mix(in oklab, var(--brand) 28%, white); }

.skip-link {
  position: absolute; left: 1rem; top: -40px; z-index: 80;
  background: var(--brand); color: var(--on-brand);
  padding: 0.5rem 0.9rem; border-radius: 6px; font-size: 0.875rem; font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.page-x { padding-inline: var(--page-x); }
.section { padding-block: var(--section-y); }
.kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 1rem;
}
.lede { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem); line-height: 1.65; color: var(--ink-soft); max-width: 38rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.7rem 1.35rem; border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color 180ms cubic-bezier(0.22,1,0.36,1), color 180ms, border-color 180ms, transform 180ms;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in oklab, var(--ink) 18%, transparent); }
.btn-ghost:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); }
.btn-on-brand { background: var(--on-brand); color: var(--brand-deep); }
.btn-on-brand:hover { background: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--cream) 88%, white);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 80%, transparent);
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 4.5rem; max-width: 80rem; margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { height: 2.75rem; width: auto; }
.brand-kicker { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.28em; color: var(--brand); }
.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-link {
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-soft);
}
.nav-link:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.cta-long { display: none; }
.cta-short { display: inline; }
.header-cta { padding-inline: 0.9rem; font-size: 0.84rem; }
.desktop-only { display: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
  background: var(--paper); color: var(--ink);
}
.mobile-drawer {
  position: fixed; inset: 4.5rem 0 0 0; z-index: 35;
  background: var(--cream); overflow: auto; padding: 1.25rem var(--page-x) 2rem;
}
.mobile-drawer a {
  display: block; padding: 1rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: 1.125rem; font-weight: 500;
}

.hero { border-bottom: 1px solid var(--line); }
.hero-grid { max-width: 80rem; margin-inline: auto; display: grid; }
.hero-photo { height: min(56vh, 28rem); overflow: hidden; background: var(--sand); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-copy { padding: 2.5rem var(--page-x); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: 2.05rem; max-width: 16ch; }
.hero .lede { margin-top: 1.25rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-brand { background: var(--brand); color: var(--on-brand); }
.center { text-align: center; margin-inline: auto; }
.narrow { max-width: 46rem; }
.section h2 { font-size: 1.9rem; }
.section .intro { margin-top: 1.25rem; color: var(--ink-soft); }

.gallery {
  margin: 2.5rem auto 0; max-width: 56rem;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
.featured {
  margin: 3.5rem auto 0; max-width: 56rem;
}
.photo-frame { overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.photo-frame.ratio-4-5 { aspect-ratio: 4/5; }
.photo-frame.ratio-4-3 { aspect-ratio: 4/3; }
.photo-frame.ratio-1-1 { aspect-ratio: 1/1; }
.photo-frame img, .photo-btn img { width: 100%; height: 100%; object-fit: cover; }
.photo-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
}
.photo-btn img { transition: transform 700ms cubic-bezier(0.22,1,0.36,1); }
.photo-btn:hover img { transform: scale(1.025); }

.atelier-top, .atelier-bottom, .about-grid {
  max-width: 72rem; margin-inline: auto; display: grid; gap: 3rem;
}
.details-grid {
  margin: 3.5rem auto 0; max-width: 72rem;
  display: grid; gap: 1.5rem;
}
.about-copy p { color: var(--ink-soft); max-width: 36rem; }
.contact-inner { max-width: 40rem; margin-inline: auto; text-align: center; padding-inline: var(--page-x); }
.contact-inner h2 { color: var(--on-brand); }
.contact-inner p { color: rgb(251 247 241 / 0.85); margin-top: 1.25rem; }
.contact-kicker { color: var(--brand-soft); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); }
.footer-top {
  max-width: 72rem; margin-inline: auto;
  display: flex; flex-direction: column; gap: 2rem;
  padding-block: 3rem;
}
.footer-bottom {
  max-width: 72rem; margin-inline: auto;
  border-top: 1px solid var(--line); padding-block: 1.5rem;
  color: var(--muted); font-size: 0.9rem;
}

.lightbox {
  width: min(94vw, 72rem); max-width: 94vw; max-height: 94vh;
  padding: 1.25rem 0.75rem 1.5rem; border: 0; background: transparent; margin: auto;
}
.lightbox::backdrop { background: rgb(32 22 18 / 0.9); }
.lightbox-stage { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.lightbox-stage img {
  width: auto; height: auto; max-width: min(92vw, 70rem); max-height: 74vh;
  object-fit: contain; box-shadow: 0 24px 80px rgb(0 0 0 / 0.35);
}
.lightbox-bar { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 0.75rem; }
.lightbox-bar p { color: rgb(251 247 241 / 0.8); font-size: 0.9rem; margin: 0; }
.icon-btn-dark { background: rgb(255 255 255 / 0.12); color: var(--on-brand); border-color: rgb(255 255 255 / 0.22); }
.lightbox-nav { display: flex; align-items: center; gap: 0.75rem; color: rgb(251 247 241 / 0.7); }

.not-found { max-width: 36rem; margin: 0 auto; padding: 6rem var(--page-x); }

@media (min-width: 640px) {
  .brand-kicker { display: inline; }
  .cta-short { display: none; }
  .cta-long { display: inline; }
  .header-cta { padding-inline: 1.35rem; font-size: 0.92rem; }
  .hero-photo { height: min(64vh, 36rem); }
  .hero h1 { font-size: 3rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 2rem 2rem; }
  .gallery figure:nth-child(even) { margin-top: 3rem; }
  .details-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .desktop-only { display: inline-flex; }
  .menu-toggle { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo { height: auto; min-height: calc(100svh - 4.5rem); }
  .hero-copy { padding-block: 5rem; }
  .hero h1 { font-size: 3.35rem; }
  .section h2 { font-size: 2.25rem; }
  .atelier-top { grid-template-columns: 5fr 7fr; align-items: end; }
  .atelier-bottom { grid-template-columns: 5fr 7fr; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
}

@media (max-width: 639px) {
  .brand-kicker { display: none; }
}

/* Production utilities: avoid inline styles so CSP can remain strict. */
body.menu-open { overflow: hidden; }
.spacer-top-2 { margin-top: 2rem; }
.btn-block { width: 100%; }
.atelier-bottom-spaced { margin-top: 3rem; }
.photo-frame-fill { height: 100%; min-height: 16rem; }
.details-heading { max-width: 40rem; }
.about-photo { max-width: 32rem; margin-inline: auto; }
.contact-action { margin-top: 2.25rem; }
.icon-mirror { transform: scaleX(-1); }
.not-found-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
[data-whatsapp][aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
