/* ---------- Fonts (variable woff2, self-hosted) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('assets/fonts/cormorant-garamond.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('assets/fonts/cormorant-garamond-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('assets/fonts/manrope.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('assets/fonts/playfair-display-italic.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --cream: #F7F1E7;
  --white: #FFFFFF;
  --sand: #DED1BC;
  --green: #17352E;
  --gold: #B58A49;            /* decorative only: rules, marks, borders */
  --gold-text: #8A6630;       /* gold for text on cream/white (4.6:1+) */
  --gold-on-green: #C9A066;   /* gold for text on green (5.5:1) */
  --rose: #B97878;
  --ink: #252522;
  --muted: #4A463F;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(37, 37, 34, .12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--green); transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.band-green :focus-visible, .footer :focus-visible { outline-color: var(--cream); }
::selection { background: var(--sand); }
h1, h2, h3, p, ul { margin: 0; }
img { max-width: 100%; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 96px 32px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: center; }
.band-white { background: var(--white); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.band-green { background: var(--green); color: var(--cream); }
.stack { display: flex; flex-direction: column; gap: 22px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }

/* ---------- Type ---------- */
.display { font: italic 500 clamp(36px, 5vw, 52px)/1 var(--serif); color: var(--green); text-wrap: balance; }
.band-green .display { color: var(--cream); }
.title { font: 600 21px/1.2 var(--serif); color: var(--green); }
.body { font-size: 15px; line-height: 1.65; color: var(--ink); max-width: 48ch; }
.lede { font-size: 15px; line-height: 1.6; color: var(--muted); }
.rule { width: 46px; height: 1px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { padding: 15px 26px; border: 1px solid var(--green); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-decoration: none; }
.btn:hover { border-color: var(--gold-text); }
.btn-solid { background: var(--green); color: var(--cream); }
.btn-solid:hover { background: var(--gold-text); border-color: var(--gold-text); color: var(--white); }

/* ---------- Photo slots ----------
   Each .photo shows its data-placeholder caption until a matching file is
   added to assets/photos/. Missing images remove themselves (see onerror). */
.photo { position: relative; width: 100%; aspect-ratio: 4 / 5; background: #EFE7DA; overflow: hidden; }
.photo.square { aspect-ratio: 1 / 1; }
.photo.shadow { box-shadow: var(--shadow); }
.photo::before {
  content: attr(data-placeholder);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center;
  font-size: 12px; letter-spacing: .04em; color: #8B8273;
  outline: 1.5px dashed rgba(181, 138, 73, .45); outline-offset: -1.5px;
}
a.photo { display: block; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: var(--cream); border-bottom: 1px solid var(--sand); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; }
.nav-logo img { height: 34px; display: block; }
.nav-links { display: flex; gap: 4px 28px; flex-wrap: wrap; margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.nav-links a { text-decoration: none; padding: 7px 0; }

/* ---------- Hero ---------- */
.hero { padding-top: 72px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-mark { display: block; overflow: visible; }
.hero h1 { font: italic 500 clamp(48px, 7vw, 84px)/1 var(--serif); color: var(--green); text-wrap: balance; }
.hero .lede { font-size: 16px; max-width: 42ch; }

/* ---------- Clips ---------- */
.clips { display: flex; flex-direction: column; gap: 48px; }
.clips .lede { max-width: 52ch; }
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 28px; margin: 0; padding: 0; list-style: none; }

/* Each clip is a keepsake tag, drawn like the 10/6 card: gold edge, hairline inner rule */
.clip { position: relative; display: flex; flex-direction: column; padding: 12px 12px 16px; background: var(--cream); border: 1px solid var(--gold); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.clip::after { content: ''; position: absolute; inset: 4px; border: 1px solid rgba(181, 138, 73, .35); pointer-events: none; }
.clip:hover, .clip:focus-within { transform: rotate(-1.2deg); }
.clip:nth-child(even):hover, .clip:nth-child(even):focus-within { transform: rotate(1.2deg); }
.clip-no { margin-top: 14px; font: italic 500 17px/1 'Playfair Display', Georgia, serif; color: var(--gold-text); }
.clip .title { margin: 4px 0 0; }
.clip-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.clip-actions a { padding: 14px 0; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.clips-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; text-align: center; }

/* ---------- How to order ---------- */
.steps-wrap { display: flex; flex-direction: column; gap: 56px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 0 12px; }
.step-card { width: 58px; height: 80px; border-radius: 6px; border: 1.5px dashed var(--gold); display: grid; place-items: center; font: 500 18px/1 var(--sans); color: var(--cream); }
.step-card.filled { border: 0; background: var(--rose); color: var(--white); font-size: 22px; }
.step .title { color: var(--cream); margin-top: 8px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--sand); max-width: 30ch; }

/* ---------- About ---------- */
.about .photo { max-width: 440px; justify-self: end; }

/* ---------- Care ---------- */
.care { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; }
.care-head { display: flex; align-items: center; gap: 14px; }
.care-head svg { display: block; flex: none; }
.care-head h2 { font: 600 24px/1.2 var(--serif); letter-spacing: .08em; color: var(--green); }
.care ul { padding-left: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.55; }
.care .care-symbols { display: grid; grid-template-columns: repeat(4, minmax(0, 72px)); gap: 20px 24px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--sand); color: var(--green); list-style: none; }
.care-symbols li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 72px; text-align: center; font-size: 12px; line-height: 1.3; color: var(--muted); }
.care-symbols svg { display: block; }

/* ---------- Instagram ---------- */
.insta { display: flex; flex-direction: column; gap: 40px; }
.insta-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.insta-head .display { font-size: clamp(32px, 4.5vw, 46px); }
.link-underline { display: inline-block; padding: 14px 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-decoration: underline; text-underline-offset: 6px; }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }

/* ---------- Contact ---------- */
.contact { background: var(--white); border-top: 1px solid var(--sand); }
.contact .container { max-width: 760px; padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.contact .display { font-size: clamp(40px, 6vw, 64px); }
.contact .lede { max-width: 44ch; }
.contact .btn-row { justify-content: center; margin-top: 8px; }
.contact-email { display: inline-block; padding: 12px 0; font-size: 14px; text-decoration: none; }

/* ---------- Footer ---------- */
.footer { background: var(--green); }
.footer .container { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.footer img { width: 180px; display: block; }
.footer-links { display: flex; gap: 8px 28px; flex-wrap: wrap; justify-content: center; font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.footer-links a { color: var(--cream); text-decoration: none; padding: 14px 0; }
.footer-links a:hover { color: var(--gold-on-green); }
.footer small { font-size: 12px; color: var(--sand); }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .container { padding: 48px 20px; }
  /* Photo first, shorter crop, so the product is on the first screen */
  .hero { padding-top: 20px; gap: 28px; }
  .hero .photo { order: -1; aspect-ratio: 4 / 3; }
  .hero-copy { gap: 20px; }
  .hero-mark { width: 52px; height: 72px; }
  .nav-inner { padding: 12px 20px; }
  .nav-links { margin-left: 0; gap: 0 20px; }
  .nav { position: static; }
  .nav-links a { padding: 14px 0; }
  .clip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .clip { padding: 8px 8px 10px; }
  .clip-actions { flex-direction: column; gap: 0; letter-spacing: .1em; }
  .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .care .care-symbols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; }
  .care-symbols li { width: auto; }
  .about .photo { justify-self: stretch; max-width: none; }
}
