@font-face {
  font-family: "Cormorant Garamond";
  src: url("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("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --bg: #f5f1ea;
  --bg-alt: #ece6dc;
  --ink: #221e19;
  --ink-soft: #5a5248;
  --accent: #7a5a2e;        /* the warm gold-brown of the words in the pieces */
  --line: #d9d0c2;
  --dark: #1d1a16;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

section { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--gutter); }
.section-lead { color: var(--ink-soft); max-width: 40em; margin-bottom: 2rem; }
.center { text-align: center; margin-top: 2.5rem; }

/* buttons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: .95em 1.7em;
  border-radius: 999px;
  transition: background .2s;
}
.btn:hover, .btn:focus-visible { background: var(--accent); }
.btn-small { padding: .55em 1.15em; font-size: .9rem; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.link-arrow::after { content: " ↓"; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: none; padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.brand img { width: 128px; height: auto; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: .92rem; }
.top nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); }
.top nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 720px) {
  .top nav a:not(.btn) { display: none; }
  .brand img { width: 110px; }
}

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  padding-top: clamp(32px, 6vw, 80px);
}
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 2rem 0 1.2rem; }
.fine { font-size: .85rem; color: var(--ink-soft); }
.hero-media video {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 30px 60px -25px rgba(34, 30, 25, .45);
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: min(460px, 34vh); margin: 0 auto; width: 100%; }
}

/* how it works */
.how { border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps .num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--serif); font-size: 1.35rem; margin-bottom: 14px;
}
.steps p { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 20px; } }

/* full-bleed bands */
.compare, .colorbw { max-width: none; background: var(--bg-alt); }
.compare > *, .colorbw > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.compare-text { max-width: 40em; text-align: center; margin-bottom: 2.5rem; }
.compare-text p { color: var(--ink-soft); }
figure { margin: 0; }
figure img { border-radius: 4px; }

.detail { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.detail-text p { color: var(--ink-soft); }
@media (max-width: 820px) {
  .detail { grid-template-columns: 1fr; }
  .detail figure { max-width: 420px; margin: 0 auto; }
}

.colorbw { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 70px); align-items: center; }
.colorbw p { color: var(--ink-soft); }
.colorbw > * { margin: 0; max-width: none; }
.colorbw { padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); padding-right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
@media (max-width: 820px) { .colorbw { grid-template-columns: 1fr; } }

/* gallery */
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid li { margin: 0; }
.grid a { display: block; overflow: hidden; border-radius: 3px; }
.grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s ease; }
.grid a:hover img { transform: scale(1.03); }
.grid span { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

dialog#lightbox {
  border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible;
}
dialog#lightbox::backdrop { background: rgba(20, 17, 14, .88); }
dialog#lightbox img { max-height: 90vh; width: auto; border-radius: 3px; }
dialog#lightbox .close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--bg); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
}

/* formats */
.format-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 2.5rem; }
.format-cards img { border-radius: 4px; margin-bottom: 18px; aspect-ratio: 1; object-fit: cover; }
.format-cards img.flat { object-position: center 70%; }
.format-cards p { color: var(--ink-soft); font-size: .97rem; }
.format-cards .sizes { color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: .6em; }
@media (max-width: 820px) { .format-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* occasions */
.occasions { text-align: center; border-top: 1px solid var(--line); }
.tags { list-style: none; padding: 0; margin: 2rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.1em; font-size: .95rem; background: #fbf9f5; }

/* faq */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.4rem; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--accent); font-family: var(--sans); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); margin: .8rem 0 0; }

/* about + final */
.about { max-width: 760px; text-align: center; }
.about p { color: var(--ink-soft); font-size: 1.08rem; }
.final-cta { max-width: none; background: var(--dark); color: var(--bg); text-align: center; }
.final-cta .btn { background: var(--bg); color: var(--ink); }
.final-cta .btn:hover { background: #e7d6b8; }

/* footer */
footer {
  background: var(--dark); color: #bdb3a5; border-top: 1px solid #333;
  padding: 40px var(--gutter) 48px; text-align: center; font-size: .9rem;
}
.footer-logo { margin: 0 auto 20px; width: 110px; filter: invert(1) opacity(.8); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-bottom: 12px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer .legal { font-size: .8rem; opacity: .8; margin: 0; }

/* legal pages */
.legal-page { max-width: 760px; }
.legal-page h1 { font-size: 2.6rem; }
.legal-page h2 { font-size: 1.6rem; margin-top: 2rem; }
.legal-page .note { background: #fff4d6; border: 1px solid #e8cf88; padding: 1rem 1.2rem; border-radius: 6px; }
.legal-page h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.legal-page h4 { font: 600 1rem/1.4 var(--sans); margin: 1.2rem 0 .4rem; }
.legal-page a { overflow-wrap: anywhere; }
