:root {
  /* Official palette */
  --rose: #DCA6AE;
  --cream: #EADCC9;
  --ivory: #F6F0E6;
  --sage: #879079;
  --coffee: #725443;
  --fuchsia: #ED278B;
  /* Support tones for readable text */
  --fuchsia-strong: #C81E73;
  --coffee-deep: #4A3329;
  --sage-deep: #5E6853;
  --line: #DCCBB5;
  --white: #FFFFFF;
  --wood: repeating-linear-gradient(100deg, #D9B48F 0 7px, #D2AB84 7px 12px, #DDBA97 12px 20px);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--coffee-deep);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--coffee); margin: 0; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--fuchsia-strong); }
h2 em.plain, h3 em.plain { color: inherit; }
p { margin: 0; }
a { color: var(--coffee); }
a:hover { color: var(--coffee-deep); }
:focus-visible { outline: 3px solid var(--fuchsia-strong); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--coffee); color: var(--ivory); padding: 10px 16px; border-radius: 999px; z-index: 20; }
.skip:focus { top: 12px; }
.honeypot { position: absolute; left: -9999px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow-line { width: 28px; height: 2px; background: var(--sage); }
.section-lead { font-size: 17px; max-width: 560px; }
.muted { color: var(--coffee); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--fuchsia-strong); color: var(--white); }
.btn-primary:hover { background: #A8155F; color: var(--white); }
.btn-ghost { background: transparent; color: var(--coffee); border-color: var(--coffee); }
.btn-ghost:hover { background: var(--coffee); color: var(--ivory); }
.btn-small { min-height: 46px; padding: 0 20px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246, 240, 230, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cream); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--coffee); }
.brand-leaf { width: 36px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.brand-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--sage-deep); margin-top: 5px; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; color: var(--coffee-deep); font-weight: 500; font-size: 15px; padding: 12px 14px; border-radius: 999px; }
.nav a:hover { background: var(--cream); }
@media (max-width: 900px) {
  .nav { display: none; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .btn-small { padding: 0 16px; }
}

/* Hero */
.hero { padding: clamp(36px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.03; letter-spacing: -0.02em; }
.hero h1 em { font-weight: 600; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; max-width: 500px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 400px; min-width: 0; position: relative; height: clamp(400px, 46vw, 560px); }
.arch { position: absolute; border-radius: 999px 999px 28px 28px; }
.arch-back { left: 14%; right: 4%; top: 0; bottom: 6%; background: var(--sage); }
.arch-mid { left: 9%; right: 9%; top: 5%; bottom: 3%; background: var(--rose); }
.arch-front { left: 4%; right: 14%; top: 10%; bottom: 0; background: var(--cream); padding: 12px; box-shadow: 0 18px 40px rgba(74, 51, 41, .14); }
.arch-front img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; border-radius: 999px 999px 18px 18px; }
.tag {
  position: absolute; background: var(--ivory); color: var(--coffee);
  font-size: 14px; font-weight: 700; line-height: 1.2; padding: 12px 18px 12px 30px; white-space: nowrap;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
  box-shadow: 0 6px 16px rgba(74, 51, 41, .12);
}
.tag::before { content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 999px; background: var(--coffee); }
.hero-art .tag-1 { right: 0; top: 22%; transform: rotate(8deg); }
.hero-art .tag-2 { left: -2%; top: 46%; transform: rotate(-7deg); }
.hero-art .tag-3 { right: 6%; bottom: 10%; transform: rotate(-4deg); }

/* Bands and section heads */
.band { padding: clamp(56px, 7vw, 104px) 0; }
.band-cream { background: var(--cream); }
.band-white { background: var(--white); }
.band-brown { background: var(--coffee); color: var(--ivory); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.section-head h2, .who h2, .order h2, .about h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.06; }

/* Kit explorer */
.kit { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.kit-stage { flex: 1 1 420px; min-width: 0; position: relative; height: 520px; border-radius: 32px; overflow: hidden; background: radial-gradient(circle at 50% 70%, var(--white) 0, var(--ivory) 62%); }
.kit-hint { position: absolute; left: 0; right: 0; top: 34%; text-align: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--coffee); transition: opacity .3s; }
.kit.is-open .kit-hint { opacity: 0; }
.kit-items { position: absolute; inset: 0; }
.kit-item {
  position: absolute; z-index: 2; left: 50%; top: 80%; opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg) scale(.3);
  transition: left .7s var(--ease), top .7s var(--ease), transform .7s var(--ease), opacity .35s var(--ease);
}
.kit.is-open .kit-item {
  left: var(--x); top: var(--y); opacity: 1;
  transform: translate(-50%, -50%) rotate(var(--r)) scale(1);
  transition-delay: var(--d);
}
.keychain { display: flex; align-items: center; }
.keychain-ring { width: 18px; height: 18px; border-radius: 999px; border: 3px solid #B9B2A6; margin-right: -5px; }
.keychain-body { position: relative; width: 104px; height: 42px; border-radius: 12px; background: var(--wood); display: flex; align-items: center; justify-content: center; padding-left: 10px; box-shadow: 0 6px 14px rgba(74, 51, 41, .18); }
.keychain-body::before { content: ""; position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 999px; background: var(--ivory); }
.keychain-name { font-family: var(--serif); font-weight: 600; font-size: 17px; color: #5A3B28; max-width: 80px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.coaster { width: 72px; height: 72px; border-radius: 999px; background: var(--wood); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(74, 51, 41, .18); }
.coaster-ring { width: 56px; height: 56px; border-radius: 999px; border: 1.5px solid #8A6346; display: flex; align-items: center; justify-content: center; }
.coaster-ring svg { width: 28px; height: 30px; fill: #7A5638; }
.sticker { width: 56px; height: 56px; border-radius: 16px; background: var(--white); display: flex; align-items: center; justify-content: center; gap: 1px; box-shadow: 0 4px 10px rgba(74, 51, 41, .18); font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1; color: var(--coffee); }
.sticker svg { width: 16px; height: 18px; }

.kit-box { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(260px, 72%); height: 172px; background: none; border: 0; padding: 0; cursor: pointer; z-index: 3; }
.kit-box:focus-visible { outline-offset: 8px; border-radius: 16px; }
.kit-box-body { position: absolute; left: 4%; right: 4%; bottom: 0; height: 122px; background: var(--rose); border-radius: 4px 4px 16px 16px; box-shadow: 0 18px 30px rgba(74, 51, 41, .18); overflow: hidden; }
.kit-inside { position: absolute; left: 0; right: 0; top: 0; height: 18px; background: #B98A91; opacity: 0; transition: opacity .3s; }
.kit.is-open .kit-inside { opacity: 1; }
.kit-ribbon { position: absolute; left: 50%; top: 0; bottom: 0; width: 24px; margin-left: -12px; background: var(--fuchsia); }
.kit-lid { position: absolute; left: 0; right: 0; top: 0; height: 56px; background: var(--coffee); border-radius: 12px; z-index: 2; box-shadow: 0 8px 16px rgba(74, 51, 41, .22); transition: transform .65s var(--ease); }
.kit.is-open .kit-lid { transform: translate(-6%, -44px) rotate(-10deg); }
.kit-bow { position: absolute; left: 50%; top: -22px; width: 34px; height: 26px; border: 6px solid var(--fuchsia); }
.kit-bow-left { margin-left: -36px; border-radius: 999px 999px 4px 999px; }
.kit-bow-right { margin-left: 2px; border-radius: 999px 999px 999px 4px; }
.kit-tag { position: absolute; right: -6px; bottom: 26px; z-index: 3; background: var(--ivory); color: var(--coffee); font-family: var(--serif); font-style: italic; font-size: 14px; padding: 6px 12px 6px 22px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); transform: rotate(6deg); transition: transform .6s var(--ease); max-width: 150px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kit.is-open .kit-tag { transform: rotate(-4deg); }

.kit-panel { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.kit-title { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; }
.kit.is-open .kit-open-btn { display: none; }
.kit-details { width: 100%; display: flex; flex-direction: column; gap: 18px; }
.kit-details[hidden] { display: none; }
.kit-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kit-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kit-list strong { display: block; font-size: 16px; }
.kit-list .muted { display: block; font-size: 14px; }
.qty { width: 56px; height: 56px; flex: none; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; color: var(--coffee-deep); }
.qty-wood { background: var(--cream); }
.qty-rose { background: #F3DDE0; }
.qty-sage { background: #E3E6DD; }
.add-more { min-height: 56px; border: 2px dashed var(--fuchsia-strong); background: var(--white); color: var(--fuchsia-strong); border-radius: 16px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.add-more svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.add-more[aria-expanded="true"] { display: none; }
.kit-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field[hidden] { display: none; }
.field label { font-size: 14px; font-weight: 700; }
.optional { font-weight: 500; color: var(--coffee); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--coffee); border-radius: 14px;
  font: inherit; font-size: 16px; color: var(--coffee-deep); background: var(--white);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #8C7464; }
.hint { font-size: 13px; color: var(--coffee); }

/* Ready kits */
.kit-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
.kit-card { display: flex; flex-direction: column; gap: 10px; }
.kit-card h3 { font-size: 23px; line-height: 1.2; margin-top: 6px; }
.kit-card p { font-size: 15px; }
.card-link { font-weight: 700; font-size: 15px; margin-top: 2px; }
.kit-card-art { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; display: flex; align-items: center; justify-content: center; }
.kit-card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.kit-card-art svg { width: 64px; height: 64px; fill: none; stroke: var(--coffee); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.kit-card-art .tag { top: 18%; left: 50%; transform: translateX(-50%); font-size: 13px; padding: 8px 14px 8px 26px; z-index: 1; }
.tint-rose { background: #F3DDE0; }
.tint-cream { background: #EFE5D6; }
.tint-sage { background: #E3E6DD; }

/* Who */
.who { display: flex; flex-wrap: wrap; gap: 48px; padding-block: clamp(64px, 8vw, 112px); }
.who-head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.who-list { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.who-list li { border-bottom: 1px solid var(--line); }
.who-list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding: 20px 4px; text-decoration: none; color: var(--coffee); }
.who-list a:hover .who-name { color: var(--fuchsia-strong); }
.num { font-size: 13px; font-weight: 700; color: var(--sage-deep); width: 28px; }
.who-name { flex: 1 1 220px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; transition: color .2s; }
.who-note { font-size: 14px; color: var(--coffee-deep); }
.arrow { color: var(--fuchsia-strong); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 38px; border-top: 2px dashed #C9A0A6; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.steps h3 { font-weight: 600; font-size: 22px; }
.steps p { font-size: 15px; max-width: 250px; }
.step-num { width: 76px; height: 76px; border-radius: 999px; background: var(--ivory); border: 2px solid var(--rose); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 30px; font-style: italic; color: var(--fuchsia-strong); }
@media (max-width: 560px) {
  .steps::before { display: none; }
}

/* Order form */
.order { display: flex; flex-wrap: wrap; gap: 48px; padding-block: clamp(64px, 8vw, 112px); }
.order-head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.order-form { flex: 2 1 560px; min-width: 0; background: var(--white); border-radius: 28px; padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.form-grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Single pieces */
.single { padding-bottom: clamp(56px, 7vw, 96px); }
.single[hidden] { display: none; }
.single-box { border: 1.5px solid var(--rose); border-radius: 32px; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.single-box h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 8px 0 10px; }
.single-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* About */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.about-photo { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.about-frame { width: min(380px, 100%); aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; border: 2px solid var(--rose); padding: 12px; }
.about-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 70%; border-radius: 999px 999px 16px 16px; }
.about-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about .eyebrow { color: var(--rose); }
.about h2 { color: var(--ivory); }
.about h2 em { color: var(--rose); }
.about p { font-size: 18px; line-height: 1.7; }
.tools { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tools li { border: 1px solid rgba(246, 240, 230, .3); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.tools span { font-family: var(--serif); font-size: 20px; }
.tools small { font-size: 13px; color: var(--cream); }
@media (max-width: 480px) {
  .tools { grid-template-columns: minmax(0, 1fr); }
}

/* Newsletter */
.news { padding-block: clamp(64px, 8vw, 112px); }
.news-box { background: var(--rose); border-radius: 999px 999px 32px 32px; padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(36px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.news-box h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; color: var(--coffee-deep); }
.news-box p { max-width: 480px; }
.news-form { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 12px; margin-top: 8px; width: 100%; max-width: 520px; text-align: left; }
.news-form .field { flex: 1 1 240px; }
.news-form input { border-color: var(--coffee-deep); background: var(--ivory); border-radius: 999px; }
.news-form .btn { min-height: 50px; }

/* Footer */
.site-footer { background: var(--coffee-deep); color: var(--ivory); padding-top: 56px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { font-family: var(--serif); font-weight: 600; font-size: 28px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--rose); margin-top: 6px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.footer-col[hidden] { display: none; }
.footer-col a { color: var(--ivory); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--rose); }
.footer-title { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); }
.footer-bottom { margin-top: 40px; padding-block: 20px 28px; border-top: 1px solid rgba(246, 240, 230, .18); font-size: 13px; color: var(--cream); }

/* Thank-you pages */
.thanks { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding-block: 80px; }
.thanks h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.thanks p { max-width: 480px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
