:root {
  --blue: #a82361;
  --blue-dark: #531633;
  --sky: #e85d93;
  --orange: #d83f78;
  --yellow: #f8b6cf;
  --cream: #fff1f6;
  --paper: #fce4ed;
  --ink: #321827;
  --muted: #7b5b69;
  --line: rgba(83, 22, 51, 0.14);
  --radius: 24px;
  --shadow: 0 22px 70px rgba(122, 32, 72, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.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; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 10px 14px; background: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-space { padding-block: 112px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 78px;
  padding: 14px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 241, 246, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(20,32,42,.05); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; font-size: 1.35rem; letter-spacing: -.04em; }
.brand-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sky); box-shadow: 8px 0 0 var(--orange), 16px 0 0 var(--yellow); margin-right: 14px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .92rem; font-weight: 650; }
.site-nav a:not(.nav-pill) { position: relative; }
.site-nav a:not(.nav-pill)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange); transition: width .2s; }
.site-nav a:hover::after { width: 100%; }
.nav-pill { padding: 10px 18px; color: white; background: var(--blue); border-radius: 999px; }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.hero { min-height: 730px; padding-block: 74px 88px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 2px; background: var(--orange); }
.hero h1, .section-heading h2, .story h2, .contact-inner h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero h1 { font-size: clamp(3.8rem, 7vw, 6.8rem); }
.hero h1 em { color: var(--blue); font-weight: 500; }
.hero-lead { max-width: 570px; margin: 28px 0 30px; color: #725464; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 760; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 26px rgba(168,35,97,.22); }
.button-primary:hover { box-shadow: 0 16px 32px rgba(168,35,97,.3); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.45); }
.hero-notes { display: flex; gap: 22px; flex-wrap: wrap; padding: 0; margin: 34px 0 0; list-style: none; color: var(--muted); font-size: .78rem; }
.hero-notes span { color: var(--orange); margin-right: 5px; }
.hero-art { position: relative; min-height: 510px; display: grid; place-items: center; isolation: isolate; }
.hero-art img { position: relative; z-index: 3; width: min(680px, 108%); filter: drop-shadow(0 18px 18px rgba(122,32,72,.16)); transform: rotate(-3deg); }
.hero-art p { position: absolute; right: 7%; bottom: 5%; z-index: 4; margin: 0; color: var(--blue-dark); font-family: Georgia, serif; font-style: italic; }
.sun-shape { position: absolute; top: 8%; right: 3%; width: 270px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); opacity: .8; z-index: -1; }
.fjord-shape { position: absolute; inset: 26% 4% 12% 3%; border-radius: 58% 42% 50% 40% / 55% 46% 54% 45%; background: #f9cfe0; z-index: -2; transform: rotate(5deg); }
.floating-bead { position: absolute; width: 24px; aspect-ratio: 1; border-radius: 50%; box-shadow: inset -4px -4px 5px rgba(0,0,0,.12), inset 4px 4px 4px rgba(255,255,255,.5); }
.bead-one { top: 18%; left: 13%; background: var(--orange); }
.bead-two { right: 4%; bottom: 24%; width: 18px; background: var(--blue); }
.bead-three { left: 23%; bottom: 11%; width: 14px; background: var(--yellow); }

.ticker { overflow: hidden; padding: 14px 0; color: white; background: var(--blue); transform: rotate(-.7deg) scale(1.01); }
.ticker > div { display: flex; justify-content: center; gap: 30px; white-space: nowrap; font-size: .78rem; font-weight: 850; letter-spacing: .16em; }
.ticker i { color: var(--yellow); font-style: normal; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-heading h2, .story h2 { font-size: clamp(3rem, 5vw, 5rem); }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); line-height: 1.7; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.62); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-image { position: relative; min-height: 310px; display: grid; place-items: center; overflow: hidden; }
.preview-fjord { background: #f7c9da; }
.preview-sunrise { background: #ffdbe6; }
.preview-custom { background: #f3bfd1; }
.product-image::before, .product-image::after { content: ""; position: absolute; width: 230px; aspect-ratio: 1; border-radius: 50%; opacity: .48; }
.product-image::before { top: -100px; right: -50px; background: white; }
.product-image::after { bottom: -130px; left: -45px; background: var(--sky); }
.preview-sunrise::after { background: var(--orange); }
.preview-custom::after { background: #e6007e; }
.status { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 7px 11px; border-radius: 999px; color: var(--blue-dark); background: rgba(255,255,255,.82); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.photo-note { position: absolute; z-index: 3; bottom: 18px; color: rgba(20,32,42,.6); font-size: .72rem; }
.product-photo { background: #e7e1d4; }
.product-photo::before { z-index: 2; width: 150px; top: -86px; right: -60px; background: var(--yellow); opacity: .76; }
.product-photo::after { display: none; }
.product-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-photo img { transform: scale(1.035); }
.preview-pastel img { object-position: 50% 39%; }
.preview-pink img { object-position: 50% 43%; }
.preview-pair img { object-position: 50% 36%; }
.product-photo .photo-note { left: 16px; bottom: 16px; padding: 7px 10px; color: var(--ink); background: rgba(255,241,246,.9); border-radius: 999px; backdrop-filter: blur(8px); }
.mini-bracelet { position: relative; z-index: 2; width: 88%; height: 72px; display: grid; place-items: center; color: var(--cream); background: repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 6px, transparent 6px 10px), var(--blue); border: 7px solid var(--sky); box-shadow: 0 16px 30px rgba(122,32,72,.2); transform: rotate(-5deg); font-weight: 900; letter-spacing: .25em; }
.preview-sunrise .mini-bracelet { background-color: var(--orange); border-color: var(--yellow); transform: rotate(4deg); }
.preview-custom .mini-bracelet { background-color: var(--cream); color: var(--blue); border-color: var(--orange); }
.product-info { padding: 20px; display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.product-info h3 { margin: 0 0 4px; font-size: 1.08rem; }
.product-info p { margin: 0; color: var(--muted); font-size: .78rem; }
.product-info strong { color: var(--blue); font-size: .82rem; white-space: nowrap; }

.designer-section { scroll-margin-top: 72px; color: white; background: var(--blue-dark); }
.designer-heading h2 { color: white; }
.designer-heading > p { color: #edbfd1; }
.eyebrow-light { color: #f4a6c4; }
.designer-layout { display: grid; grid-template-columns: 330px 1fr; gap: 30px; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: rgba(255,255,255,.06); }
.designer-controls { padding: 12px; }
.designer-controls label, .designer-controls legend { display: block; margin-bottom: 10px; color: #f4dbe5; font-size: .77rem; font-weight: 750; letter-spacing: .04em; }
.designer-controls > label:not(:first-child) { margin-top: 24px; }
.theme-select { width: 100%; height: 50px; padding: 0 40px 0 14px; color: white; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; outline: none; cursor: pointer; }
.theme-select option { color: var(--ink); background: var(--cream); }
.designer-controls > .theme-select + label { margin-top: 18px; }
.range-heading { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.range-heading label { margin: 0; }
.range-heading output { color: #f7b5cf; font-size: .74rem; font-weight: 800; }
.width-range { width: 100%; accent-color: var(--sky); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; color: #b98b9f; font-size: .64rem; }
.designer-controls fieldset { padding: 0; margin: 24px 0 0; border: 0; }
.input-wrap { position: relative; }
.input-wrap input { width: 100%; height: 54px; padding: 0 58px 0 16px; color: white; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; outline: none; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.input-wrap input:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(232,93,147,.16); }
.input-wrap span { position: absolute; top: 17px; right: 14px; color: #c597aa; font-size: .72rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 3px solid transparent; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; transition: transform .2s; }
.swatch:hover { transform: scale(1.1); }
.swatch.selected { border-color: white; box-shadow: 0 0 0 2px var(--sky); }
.control-actions { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.button-light { color: var(--blue-dark); background: var(--cream); }
.text-button { color: #e5b8ca; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.text-button:disabled { opacity: .4; cursor: default; }
.designer-status { margin: 16px 0 0; color: #cfa5b6; font-size: .7rem; line-height: 1.5; }
.paint-fieldset { padding-top: 18px !important; border-top: 1px solid rgba(255,255,255,.12) !important; }
.paint-fieldset small { color: #cfa5b6; font-weight: 500; }
.control-help { margin: 8px 0 0; color: #cfa5b6; font-size: .68rem; line-height: 1.45; }
.custom-color { width: fit-content; margin: 14px 0 0 !important; display: flex !important; align-items: center; gap: 10px; color: white !important; cursor: pointer; }
.custom-color input { width: 42px; height: 34px; padding: 2px; border: 1px solid rgba(255,255,255,.35); border-radius: 9px; background: transparent; cursor: pointer; }
.custom-color span { font-size: .72rem; }
.paint-mode { margin: 16px 0 8px !important; }
.compact-select { height: 44px; font-size: .75rem; }
.designer-preview { min-width: 0; overflow: hidden; border-radius: 22px; background: #f9eaf0; }
.canvas-wrap { min-height: 330px; padding: 28px; display: grid; place-items: center; overflow: auto; background: radial-gradient(circle at 50% 0, white, #f6dce6); }
.canvas-wrap canvas { display: block; max-width: none; height: auto; filter: drop-shadow(0 16px 14px rgba(122,32,72,.15)); cursor: crosshair; touch-action: none; }
.preview-toolbar { min-height: 64px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); background: white; border-top: 1px solid var(--line); }
.preview-toolbar p { margin: 0; color: var(--muted); font-size: .75rem; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--sky); }
.download-button { padding: 8px 12px; color: var(--blue); background: #fde6ef; border: 0; border-radius: 9px; font-size: .74rem; font-weight: 760; cursor: pointer; }
.bead-counts { min-height: 48px; padding: 10px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); background: #fff8fb; border-top: 1px solid var(--line); font-size: .7rem; }
.bead-counts span { display: inline-flex; align-items: center; gap: 5px; }
.bead-counts i { width: 10px; height: 10px; border-radius: 50%; background: var(--count-color); }

.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.story-visual { min-height: 570px; position: relative; margin: 0; overflow: hidden; color: var(--blue-dark); background: #ccebf9; border-radius: 48% 48% 12px 12px; box-shadow: var(--shadow); }
.story-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 50%; }
.story-visual::after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, rgba(83,22,51,.72)); }
.story-visual figcaption { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; color: white; font-size: .8rem; }
.story-visual figcaption span { display: block; margin-bottom: 4px; color: var(--yellow); font-family: Georgia, serif; font-size: 1.8rem; font-style: italic; }
.story-copy > p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.story-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border-top: 1px solid var(--line); }
.story-facts > div { padding: 20px 14px 0 0; display: flex; flex-direction: column; gap: 5px; }
.story-facts strong { color: var(--orange); font-family: Georgia, serif; font-size: 1.6rem; }
.story-facts span { color: var(--muted); font-size: .75rem; }

.faq { padding-top: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-weight: 720; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--blue); font-size: 1.4rem; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 740px; margin: -8px 0 24px; color: var(--muted); line-height: 1.7; }

.contact-section { position: relative; overflow: hidden; padding-block: 110px; color: white; background: var(--blue); }
.contact-section::before { content: ""; position: absolute; right: -8%; top: -50%; width: 560px; aspect-ratio: 1; border-radius: 50%; background: var(--sky); opacity: .6; }
.contact-section::after { content: ""; position: absolute; right: 18%; bottom: -130px; width: 250px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); opacity: .95; }
.contact-inner { position: relative; z-index: 2; }
.contact-inner h2 { font-size: clamp(4rem, 7vw, 7rem); }
.contact-inner > p:not(.eyebrow) { max-width: 520px; color: #f3ccdc; }
.button-accent { margin-top: 18px; color: var(--blue-dark); background: var(--yellow); }
.button:disabled { cursor: default; opacity: .8; }
.site-footer { color: white; background: #361020; }
.footer-inner { min-height: 120px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; }
.brand-footer .brand-dot { transform: scale(.72); transform-origin: left center; }
.footer-inner p { margin: 0; color: #d4a9ba; font-size: .75rem; }

@media (max-width: 900px) {
  .section-space { padding-block: 82px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy { max-width: 720px; }
  .hero-art { min-height: 390px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: 1 / -1; }
  .designer-layout { grid-template-columns: 1fr; }
  .story { gap: 42px; }
  .story-visual { min-height: 480px; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 68px; padding-inline: 16px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 67px; left: 0; right: 0; display: none; padding: 22px; flex-direction: column; align-items: stretch; gap: 8px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(20,32,42,.1); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 8px; }
  .nav-pill { text-align: center; }
  .hero { gap: 24px; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-art { min-height: 300px; }
  .hero-art img { width: 112%; max-width: none; }
  .hero-art p { right: 0; bottom: 0; }
  .sun-shape { width: 180px; }
  .hero-notes { gap: 10px 18px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .section-heading h2, .story h2 { font-size: 3.25rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card:last-child { grid-column: auto; }
  .product-image { min-height: 270px; }
  .designer-layout { padding: 14px; }
  .canvas-wrap { min-height: 250px; padding: 14px 8px; }
  .preview-toolbar { align-items: flex-start; flex-direction: column; }
  .story { grid-template-columns: 1fr; }
  .story-visual { min-height: 410px; order: 2; }
  .story-facts { grid-template-columns: 1fr; }
  .story-facts > div { flex-direction: row; align-items: center; }
  .contact-section { padding-block: 80px; }
  .contact-inner h2 { font-size: 4.2rem; }
  .footer-inner { padding-block: 30px; grid-template-columns: 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
