@import url("source.css");

:root {
  --ink: #26211c;
  --night: #1e1a15;
  --paper: #f4efe6;
  --gold: #c9a968;
  --cream: #f5efe4;
  --content: 1360px;
}

* { box-sizing: border-box; }
body { min-width: 320px; overflow-x: hidden; }
img { display: block; max-width: 100%; }

/* Native (instant) scrolling: smooth anchor/CSSOM jumps fly past sections faster
   than the reveal observer samples them, stranding content at opacity:0 (#5). */
html { scroll-behavior: auto; }
/* Sections the reveal safety net catches (fast scroll, anchor jump, stacked
   collage tiles) appear immediately — there is nothing to animate in on a skip. */
.rv.in-now, .rv2.in-now { transition: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.honeypot { position: absolute; left: -10000px; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 48px;
  animation: fadeIn 1.4s ease both;
}
.site-logo img { width: auto; height: 52px; filter: brightness(1.3); }
.site-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 14px 30px;
  border: 1px solid rgba(201,169,104,.35);
  border-radius: 100px;
  background: rgba(30,26,20,.72);
  backdrop-filter: blur(14px);
}
.site-menu a { color: #f0e8d8; font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.site-menu .nav-cta { padding: 10px 22px; color: var(--ink); border-radius: 100px; background: var(--gold); font-weight: 500; }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 11px; border: 1px solid rgba(201,169,104,.6); border-radius: 50%; background: rgba(30,26,20,.85); }
.nav-toggle span[aria-hidden] { display: block; height: 2px; margin: 5px 0; background: var(--cream); transition: transform .2s, opacity .2s; }

.contact-form { padding: 42px 38px; border: 1px solid rgba(201,169,104,.32); background: rgba(24,20,15,.82); backdrop-filter: blur(14px); color: var(--cream); }
.contact-form h3 { margin: 0 0 24px; font: 600 32px/1 "Cormorant Garamond", serif; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; color: #e4daca; font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid rgba(201,169,104,.42);
  border-radius: 2px;
  background: rgba(20,17,13,.65);
  color: var(--cream);
}
.field textarea { min-height: 112px; resize: vertical; }
.field-error { display: block; min-height: 18px; padding-top: 4px; color: #ffd1cb; font-size: 12px; }
.field [aria-invalid="true"] { border-color: #ff9f92; }
.submit-button { min-height: 50px; padding: 14px 30px; border: 0; border-radius: 100px; background: var(--gold); color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-status { min-height: 24px; margin: 14px 0 0; color: #f0e8d8; font-size: 14px; }
.form-status.error { color: #ffd1cb; }
.form-note { margin: 0; color: #a6987f; font-size: 12.5px; line-height: 1.5; }
.product-collage { aspect-ratio: 1133 / 692; }

@media (max-width: 1024px) {
  .site-nav { padding: 16px 28px; }
  .site-menu { gap: 18px; padding: 12px 20px; }
  .site-menu a { font-size: 11px; }
  [style*="repeat(5, 1fr)"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  [style*="grid-template-columns: 1fr 520px"] { grid-template-columns: minmax(0, 1fr) minmax(380px, 46%) !important; gap: 42px !important; }
}

@media (max-width: 768px) {
  .site-nav { padding: 12px 18px; }
  .site-logo img { height: 42px; }
  .nav-toggle { display: block; }
  .site-menu {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border-radius: 12px;
  }
  .site-menu.open { display: flex; }
  .site-menu a { padding: 14px 16px; font-size: 13px; }
  .site-menu .nav-cta { text-align: center; }
  .nav-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span[aria-hidden]:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  header#top { min-height: 620px !important; }
  [style*="repeat(5, 1fr)"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [style*="grid-template-columns: 1fr 520px"] { grid-template-columns: minmax(0, 1fr) !important; }
  .contact-form { padding: 32px 26px; }
}

@media (max-width: 430px) {
  header#top { min-height: 560px !important; }
  header h1 br { display: none; }
  [style*="repeat(5, 1fr)"], [style*="repeat(4, 1fr)"], .form-grid { grid-template-columns: minmax(0, 1fr) !important; }
  footer [style*="display: flex; gap: 26px"] { flex-wrap: wrap; justify-content: center; gap: 14px 20px !important; }
  .contact-form { padding: 28px 20px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  header#top { min-height: 500px !important; }
  header [style*="padding: 0px 48px 120px"] { padding-bottom: 36px !important; }
  .site-menu { max-height: calc(100vh - 82px); overflow: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .rv, .rv2 { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
