/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg:      #fdfcfa;
  --surface: #f7f5f0;
  --s100: #f2f0ec;
  --s200: #e8e4de;
  --s300: #d4cec5;
  --s400: #b5ada1;
  --s500: #8f867a;
  --s600: #6b6358;
  --s700: #4a443c;
  --s800: #2d2923;
  --s900: #1a1714;
  --red:     #b8312f;
  --red-hov: #9a2826;
  --warm:    #9c8b74;
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'Outfit', system-ui, sans-serif;
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--s800);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── CONTAINER ───────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(253,252,250,0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--s200);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,0.055); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s600);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--s800); }
.nav-links a:hover::after { width: 100%; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.burger-line {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--s700);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.25s ease;
}
.burger.open .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer */
.nav-drawer {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(253,252,250,0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--s200);
  padding: 0.5rem 0 1.25rem;
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  z-index: 99;
}
.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.nav-drawer ul { list-style: none; padding: 0 1.5rem; }
.nav-drawer ul li a {
  display: block;
  padding: 1rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--s600);
  border-bottom: 1px solid var(--s200);
  transition: color 0.2s;
}
.nav-drawer ul li:last-child a { border-bottom: none; }
.nav-drawer ul li a:active,
.nav-drawer ul li a:hover { color: var(--red); }

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 90%, rgba(184,49,47,0.045) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 85% 10%, rgba(184,49,47,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }

/* Texture layer */
.hero-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--red);
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

.hero-logo-circle {
  width: clamp(160px, 28vw, 280px);
  height: clamp(160px, 28vw, 280px);
  margin: 0 auto 2.5rem;
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.06));
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--s500);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero h1 {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--s800);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero h1 em { font-style: italic; color: var(--s600); }
.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--s600);
  max-width: 440px;
  margin: 0 auto 2.5rem;
  line-height: 1.78;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}
.hero-cta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  background: var(--red);
  padding: 1rem 2.75rem;
  transition: background 0.3s, transform 0.2s;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}
.hero-cta:hover { background: var(--red-hov); transform: translateY(-2px); }

.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.3s;
}
.scroll-indicator span {
  display: block;
  width: 1px; height: 44px;
  background: var(--s200);
  margin: 0 auto;
  overflow: hidden;
}
.scroll-indicator span::after {
  content: '';
  display: block;
  width: 100%; height: 100%;
  background: var(--red);
  animation: scrollLine 2.2s ease infinite;
}

/* ── SECTION HEADER ──────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--s500);
  margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--s800);
}

/* ── GALLERY ─────────────────────────────────── */
.gallery-section {
  padding: 7rem 0;
  background: var(--bg);
}
.gallery-grid {
  columns: 3;
  column-gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.gallery-item-inner {
  overflow: hidden;
  position: relative;
}
.gallery-ph {
  width: 100%;
  background-color: var(--s100);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 9px,
    rgba(0,0,0,0.022) 9px,
    rgba(0,0,0,0.022) 18px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover .gallery-ph { transform: scale(1.03); }
.ph-tall   { aspect-ratio: 3/4; }
.ph-wide   { aspect-ratio: 4/3; }
.ph-square { aspect-ratio: 1/1; }
.ph-cinema { aspect-ratio: 16/10; }

.ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.ph-inner svg {
  width: 28px; height: 28px;
  stroke: var(--s300);
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ph-cat {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--s500);
  font-family: var(--fb);
}

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.48) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.overlay-label {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 300;
  color: white;
  letter-spacing: 0.03em;
}

/* ── ART NOUVEAU SECTION DIVIDERS ────────────── */
.art-nouveau-divider {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 3rem;
  overflow: visible;
  color: var(--s300);
}
.section-header .art-nouveau-divider {
  margin-top: 1.25rem;
}

/* ── GALLERY FRAMES ──────────────────────────── */
/* Each item gets a frame variant via nth-child */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  position: relative;
  cursor: pointer;
}

/* Frame 1: simple inset border */
.gallery-item:nth-child(1) .gallery-ph,
.gallery-item:nth-child(5) .gallery-ph,
.gallery-item:nth-child(9) .gallery-ph {
  outline: 3px solid rgba(184,49,47,0.12);
  outline-offset: -8px;
}

/* Frame 2: warm taupe double border */
.gallery-item:nth-child(2) .gallery-ph,
.gallery-item:nth-child(6) .gallery-ph {
  box-shadow: inset 0 0 0 6px var(--bg), inset 0 0 0 9px rgba(156,139,116,0.2);
}

/* Frame 3: corner marks via pseudo */
.gallery-item:nth-child(3) .gallery-ph,
.gallery-item:nth-child(7) .gallery-ph {
  position: relative;
}
.gallery-item:nth-child(3) .gallery-ph::before,
.gallery-item:nth-child(3) .gallery-ph::after,
.gallery-item:nth-child(7) .gallery-ph::before,
.gallery-item:nth-child(7) .gallery-ph::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(184,49,47,0.22);
  border-style: solid;
  z-index: 2;
}
.gallery-item:nth-child(3) .gallery-ph::before,
.gallery-item:nth-child(7) .gallery-ph::before {
  top: 8px; left: 8px;
  border-width: 2px 0 0 2px;
}
.gallery-item:nth-child(3) .gallery-ph::after,
.gallery-item:nth-child(7) .gallery-ph::after {
  bottom: 8px; right: 8px;
  border-width: 0 2px 2px 0;
}

/* Frame 4: cinema wide gets a film-strip top/bottom rule */
.gallery-item:nth-child(4) .gallery-ph,
.gallery-item:nth-child(8) .gallery-ph {
  border-top: 3px solid rgba(156,139,116,0.18);
  border-bottom: 3px solid rgba(156,139,116,0.18);
}

/* ── SERVICES ────────────────────────────────── */
.services-section {
  padding: 6rem 0;
  background: var(--surface);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.service-icon {
  width: 52px; height: 52px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg {
  width: 30px; height: 30px;
  stroke: var(--warm);
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-family: var(--fd);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--s800);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--s600);
  line-height: 1.78;
  font-weight: 300;
}

/* ── ABOUT ───────────────────────────────────── */
.about-section {
  padding: 7rem 0;
  background: var(--bg);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img {
  aspect-ratio: 4/5;
  background-color: var(--s100);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 9px,
    rgba(0,0,0,0.022) 9px,
    rgba(0,0,0,0.022) 18px
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.about-img svg {
  width: 36px; height: 36px;
  stroke: var(--s300);
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
}
.about-img-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--s500);
}

.about-content .section-eyebrow { text-align: left; }
.about-content .section-title   { text-align: left; margin-bottom: 1.5rem; }
.about-text {
  font-size: 0.95rem;
  color: var(--s600);
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* ── CONTACT ─────────────────────────────────── */
.contact-section {
  padding: 7rem 0;
  background: var(--surface);
}
.contact-wrap { max-width: 580px; margin: 0 auto; }

/* Direct email line — sits under the section divider, above the form */
.contact-email-note {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--s600);
  margin-top: -1.75rem;
  margin-bottom: 0;
  line-height: 1.6;
}
.contact-email-note a {
  color: var(--s800);
  border-bottom: 1px solid var(--s300);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}
.contact-email-note a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.contact-form { margin-top: 2.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--s500);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--fb);
  font-size: 1rem;
  font-weight: 300;
  border: 1px solid var(--s200);
  background: var(--bg);
  color: var(--s800);
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--s500); font-size: 0.9rem; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--red); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238f867a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  color: var(--s800);
}
.submit-btn {
  width: 100%;
  padding: 1rem;
  font-family: var(--fb);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  background: var(--red);
  border: none;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: background 0.3s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.submit-btn:hover { background: var(--red-hov); transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.ohnohoney {
  position: absolute; left: -9999px;
  opacity: 0; height: 0; width: 0; overflow: hidden;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  padding: 3rem 0;
  background: var(--s900);
  text-align: center;
}
.footer-logo {
  font-family: var(--fd);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--s200);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s500);
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--s200); }
.footer-copy { font-size: 0.75rem; color: var(--s400); }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   TABLET  (≤ 900px)
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Nav */
  .nav-links { display: none; }
  .burger    { display: flex; }

  /* Hero */
  .hero { padding: 110px 2rem 70px; }

  /* Gallery */
  .gallery-grid { columns: 2; }

  /* Services — 2-col on tablet */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* About — stack */
  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img { max-width: 380px; margin: 0 auto; aspect-ratio: 1/1; }
  .about-content .section-eyebrow,
  .about-content .section-title,
  .about-text { text-align: center; }

  /* Reduce section padding */
  .gallery-section, .services-section,
  .about-section, .contact-section { padding: 5rem 0; }
  .section-header { margin-bottom: 3rem; }
}

/* ══════════════════════════════════════════════
   MOBILE  (≤ 640px)
══════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Nav */
  .nav-inner { height: 64px; padding: 0 1.25rem; }
  .nav-logo { width: 36px; height: 36px; }
  .nav-drawer { top: 64px; }

  /* Hero */
  .hero { padding: 92px 1.5rem 56px; }
  .hero-logo-circle {
    width: clamp(120px, 40vw, 180px);
    height: clamp(120px, 40vw, 180px);
    margin-bottom: 1.75rem;
  }
  .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.22em; margin-bottom: 1.25rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 1.25rem; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 2rem; }
  .hero-cta {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    text-align: center;
  }

  /* Gallery */
  .gallery-grid { columns: 1; padding: 0 1.25rem; }

  /* Services — horizontal card layout on mobile */
  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--s200);
  }
  .service-card:last-child { border-bottom: none; }
  .service-icon { margin: 0; flex-shrink: 0; }
  .service-body { flex: 1; }
  .service-body h3 { font-size: 1.2rem; }
  .service-body p  { font-size: 0.88rem; }

  /* About */
  .about-img { max-width: 100%; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }

  /* Sections */
  .gallery-section, .services-section,
  .about-section, .contact-section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.25rem; }
  .footer-links { gap: 1.5rem; }
}
