@font-face {
  font-family: "Brand Script";
  src: url("assets/GreatVibes-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --cocoa: #52382c;
  --ink: #3f3532;
  --cream: #fffaf6;
  --paper: #ffffff;
  --lavender: #c1a4d4;
  --pink: #f1a7af;
  --orange: #fb8244;
  --yellow: #f2ac39;
  --sage: #afc194;
  --teal: #42b1bb;
  --line: #eadfda;
  --shadow: 0 18px 60px rgba(82, 56, 44, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.demo-bar { padding: .5rem 1rem; background: var(--cocoa); color: white; text-align: center; font-size: .78rem; letter-spacing: .03em; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 176px; padding: .5rem clamp(1rem, 5vw, 5rem); background: rgba(255,250,246,.94); border-bottom: 1px solid rgba(82,56,44,.08); backdrop-filter: blur(16px); }
.brand { display: flex; flex: none; align-items: center; gap: 1.35rem; text-decoration: none; }
.brand > img { width: 154px; height: 154px; background: white; border: 1px solid rgba(82,56,44,.08); border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 8px 26px rgba(82,56,44,.09); }
.brand-name { display: block; width: clamp(310px, 29vw, 410px); overflow: hidden; }
.brand-name img { width: 100%; height: auto; background: transparent; object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem); }
nav a { font-size: .92rem; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--teal); }
.nav-cta {
  padding: .75rem 1rem;
  border: 1px solid var(--cocoa);
  border-radius: 999px;
  background: var(--cocoa);
  color: white;
}
.nav-cta:hover { background: white; color: var(--cocoa); }
.menu-button { display: none; border: 0; background: transparent; color: var(--cocoa); font-weight: 700; }

.hero { position: relative; display: grid; min-height: min(760px, calc(100vh - 120px)); overflow: hidden; background: white; }
.hero-photo { grid-area: 1 / 1; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.78) 31%, rgba(255,255,255,.08) 62%), url("assets/hero-oro-valley-mother-daughter-v4-two-braids.png") center/cover no-repeat; }
.hero-copy { position: relative; grid-area: 1 / 1; align-self: center; width: min(620px, 50%); margin-left: clamp(1.2rem, 8vw, 8rem); padding: 5rem 0; }
.eyebrow { margin: 0 0 .7rem; color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.3rem; color: var(--cocoa); font-size: clamp(3rem, 6vw, 6.2rem); line-height: .92; letter-spacing: -.05em; }
h1 span { color: #9d789a; font-family: "Brand Script", cursive; font-weight: 400; letter-spacing: -.02em; }
.hero-text { max-width: 540px; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .85rem 1.25rem; border: 1px solid var(--cocoa); border-radius: 999px; cursor: pointer; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(82,56,44,.16); }
.button.primary { color: white; background: var(--cocoa); }
.button.secondary { background: rgba(255,255,255,.75); }
.button.full { width: 100%; }
.microcopy { font-size: .82rem; color: #756965; }
.trust-strip { display: flex; justify-content: center; gap: clamp(1rem, 6vw, 6rem); padding: 1.2rem; color: var(--cocoa); background: #f5e9ef; font-size: .88rem; font-weight: 600; }
.trust-strip p { margin: 0; }
.trust-strip span { margin-right: .4rem; color: #d5697d; }

.section { max-width: 1240px; margin: 0 auto; padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; }
.section-heading > p { max-width: 470px; color: #756965; }
.section-heading.centered { display: block; max-width: 700px; margin-right: auto; margin-left: auto; text-align: center; }
h2 { color: var(--cocoa); font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }
h3 { color: var(--cocoa); font-size: 1.35rem; line-height: 1.2; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.product-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-image { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-content { padding: clamp(1.3rem, 3vw, 2rem); }
.product-title-row { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.product-title-row span { flex: none; padding: .35rem .65rem; color: var(--cocoa); background: #f7e5eb; border-radius: 999px; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.product-content > p { color: #756965; }
.product-meta { display: flex; justify-content: space-between; gap: 1rem; margin: 1.3rem 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .86rem; }
.product-meta span { color: #8a7670; }
.text-button { padding: 0; color: var(--teal); background: none; border: 0; cursor: pointer; font-weight: 700; }
.coming-soon { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 1.4rem; margin-top: 1.5rem; padding: 1.5rem 2rem; background: #f3ecf7; border-radius: 22px; }
.coming-soon p, .coming-soon h3 { margin-bottom: 0; }
.coming-soon > p { color: #756965; }
.sprinkle-icon { display: grid; width: 56px; height: 56px; place-items: center; color: white; background: var(--lavender); border-radius: 50%; font-size: 1.5rem; }

.delivery-section { max-width: none; background: #f3eee6; }
.delivery-section > * { max-width: 1180px; margin-right: auto; margin-left: auto; }
.delivery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.delivery-card { position: relative; padding: clamp(1.5rem, 4vw, 3rem); background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.delivery-card.featured { border: 2px solid var(--teal); }
.delivery-price { position: absolute; top: 1.5rem; right: 1.5rem; padding: .4rem .7rem; color: var(--cocoa); background: #e7f3ee; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.delivery-icon { display: grid; width: 58px; height: 58px; margin-bottom: 1.5rem; place-items: center; color: white; background: var(--cocoa); border-radius: 18px; font-size: 1.5rem; }
.delivery-card p, .delivery-card small { color: #756965; }
.delivery-card ul { padding-left: 1.2rem; }
.delivery-card li { margin-bottom: .9rem; }

.story-section { display: grid; grid-template-columns: .8fr 1.2fr; max-width: 1180px; margin: 0 auto; padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 2.5rem); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.story-art { overflow: hidden; background: white; border-radius: 50% 50% 46% 54%; box-shadow: var(--shadow); }
.story-copy p { max-width: 620px; color: #756965; font-size: 1.05rem; }
.signature { color: #9d789a; font-family: "Brand Script", cursive; font-size: 2.6rem; }

.order-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 6rem); }
.order-intro { padding-top: 1rem; }
.order-intro > p { color: #756965; }
.order-intro ol { padding: 0; list-style: none; }
.order-intro li { display: flex; gap: 1rem; margin: 1.4rem 0; }
.order-intro li > span { display: grid; flex: none; width: 36px; height: 36px; place-items: center; color: white; background: var(--teal); border-radius: 50%; font-weight: 700; }
.order-form { padding: clamp(1.25rem, 4vw, 2.5rem); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-note { margin: -2.5rem -2.5rem 2rem; padding: .65rem 1rem; color: var(--cocoa); background: #f6e5eb; border-radius: var(--radius) var(--radius) 0 0; text-align: center; font-size: .75rem; font-weight: 700; }
.order-form label, .order-form legend { display: block; color: var(--cocoa); font-size: .86rem; font-weight: 700; }
.order-form input, .order-form select, .order-form textarea { width: 100%; margin-top: .4rem; margin-bottom: 1rem; padding: .85rem 1rem; color: var(--ink); background: #fffdfb; border: 1px solid #d9ccc6; border-radius: 12px; outline: none; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(66,177,187,.13); }
.field-help { display: block; margin: -.65rem 0 1rem; color: #8a7b76; font-size: .74rem; font-weight: 400; }
.order-items { display: grid; gap: 1rem; margin-bottom: .8rem; }
.order-item { padding: 1rem; background: #fffaf7; border: 1px solid var(--line); border-radius: 16px; }
.item-fields { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(110px, .4fr); align-items: start; gap: 1rem; }
.item-fields label { display: flex; min-width: 0; height: 100%; flex-direction: column; }
.item-fields select, .item-fields input { height: 52px; margin-bottom: .35rem; }
.item-footer { display: flex; min-height: 26px; align-items: center; justify-content: space-between; gap: 1rem; }
.item-unit { color: #8a7b76; font-size: .74rem; }
.item-description-label { margin-top: .6rem; }
.remove-item, .add-item-button { color: var(--teal); background: transparent; border: 0; cursor: pointer; font-weight: 700; }
.remove-item { color: #b85f70; }
.add-item-button { margin: 0 0 1.4rem; padding: .55rem 0; }
.product-picker-fieldset { margin: 0 0 1.4rem !important; }
.product-picker-fieldset > legend { font-size: 1rem; }
.field-intro { margin: .25rem 0 1rem; color: #756965; font-size: .82rem; }
.order-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.order-product { overflow: hidden; padding: .8rem; background: white; border: 2px solid var(--line); border-radius: 18px; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.order-product.selected { border-color: var(--teal); box-shadow: 0 10px 28px rgba(66,177,187,.15); transform: translateY(-2px); }
.product-stepper { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: .45rem; }
.product-stepper img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; }
.quantity-button { display: grid; width: 42px; height: 42px; place-items: center; color: white; background: var(--cocoa); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.quantity-button.minus { color: var(--cocoa); background: #f3e8e3; }
.quantity-button:hover { box-shadow: 0 7px 18px rgba(82,56,44,.2); transform: translateY(-1px); }
.order-product h4 { min-height: 2.5em; margin: .75rem 0 .25rem; color: var(--cocoa); font-size: 1rem; line-height: 1.2; }
.order-product .order-quantity { margin: 0; color: var(--cocoa); }
.order-product .order-quantity strong { font-size: 1.25rem; }
.order-product > small { display: block; min-height: 2.7em; color: #8a7b76; font-size: .7rem; }
.order-product .item-description-label { margin-top: .75rem; text-align: left; }
.product-picker-error { margin: .8rem 0 0; color: #9f3f55; font-weight: 700; }
.form-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem; }
.order-form fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.radio-card { display: flex !important; align-items: center; gap: .8rem; margin-top: .5rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.radio-card input { width: auto; margin: 0; accent-color: var(--teal); }
.radio-card small { display: block; color: #83736d; font-weight: 400; }
.optional { color: #94837d; font-size: .75rem; font-weight: 400; }
.privacy-note { margin: .8rem 0 0; color: #8a7b76; text-align: center; font-size: .74rem; }

.faq-section { padding-top: 3rem; }
.faq-list { max-width: 850px; margin: 0 auto; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 1.35rem .3rem; color: var(--cocoa); cursor: pointer; font-weight: 700; list-style: none; }
summary::after { content: "+"; float: right; color: var(--teal); font-size: 1.3rem; }
details[open] summary::after { content: "–"; }
details p { padding: 0 2rem 1.3rem .3rem; color: #756965; }

footer { padding: 3rem 1rem; background: var(--cocoa); color: white; text-align: center; }
footer img { width: 160px; height: 160px; margin: 0 auto 1rem; background: white; border-radius: 50%; object-fit: cover; object-position: center; }
footer p { margin-bottom: .35rem; }
.footer-note { opacity: .65; font-size: .78rem; }

dialog { width: min(520px, calc(100% - 2rem)); padding: 2rem; color: var(--ink); background: white; border: 0; border-radius: 24px; box-shadow: 0 30px 90px rgba(40,28,22,.28); }
dialog::backdrop { background: rgba(48,35,30,.58); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: .8rem; right: 1rem; background: none; border: 0; cursor: pointer; font-size: 1.6rem; }
.summary-row { display: flex; justify-content: space-between; gap: 2rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.summary-row span { color: #7d6f69; }
.summary-row strong { text-align: right; }
.dialog-note { margin: 1.3rem 0; padding: .8rem; color: #765d49; background: #fff3d6; border-radius: 12px; font-size: .82rem; }
.test-orders-page { max-width: 920px; }
.test-orders-page > h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.orders-list { display: grid; gap: 1.25rem; margin-top: 2rem; }
.test-order-card { box-shadow: var(--shadow); }
.order-item-summary { margin: 1rem 0; padding-left: 1.25rem; }
.order-item-summary span { color: #756965; }
.admin-login-page { display: grid; min-height: calc(100vh - 40px); place-items: center; }
.admin-login-page .order-form { width: min(480px, 100%); }
.login-error { color: #9f3f55; font-weight: 700; }

@media (max-width: 860px) {
  .site-header { min-height: 112px; gap: .7rem; }
  .brand { gap: .75rem; }
  .brand > img { width: 92px; height: 92px; }
  .brand-name { width: clamp(190px, 36vw, 280px); }
  .menu-button { display: block; }
  nav { position: absolute; top: 100%; right: 1rem; left: 1rem; display: none; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  nav.open { display: grid; }
  nav a { padding: .55rem; }
  .hero { display: flex; min-height: 0; flex-direction: column; background: var(--cream); }
  .hero-photo { flex: none; width: 100%; aspect-ratio: 3 / 2; background: url("assets/hero-oro-valley-mother-daughter-v4-two-braids.png") center/cover no-repeat; }
  .hero-copy { width: auto; margin: 0; padding: 2.4rem 1.2rem 2.6rem; background: var(--cream); }
  .hero-copy h1 { font-size: clamp(2.8rem, 12vw, 5rem); }
  .section-heading { display: block; }
  .product-grid, .delivery-grid, .story-section, .order-section { grid-template-columns: 1fr; }
  .story-art { max-width: 520px; margin: auto; }
  .coming-soon { grid-template-columns: auto 1fr; }
  .coming-soon > p, .coming-soon > a { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .demo-bar { font-size: .68rem; }
  .site-header { min-height: 94px; padding-right: .8rem; padding-left: .8rem; }
  .brand { gap: .55rem; }
  .brand > img { width: 76px; height: 76px; }
  .brand-name { width: 180px; }
  .hero-copy { padding-top: 2rem; }
  .hero-copy h1 { font-size: clamp(2.65rem, 13vw, 3.75rem); }
  .hero-text { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .trust-strip { justify-content: flex-start; overflow-x: auto; }
  .trust-strip p { flex: none; }
  .product-title-row, .product-meta { display: block; }
  .product-title-row span { display: inline-block; margin-bottom: .8rem; }
  .product-meta span { display: block; margin-top: .25rem; }
  .coming-soon { padding: 1.2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .item-fields { grid-template-columns: minmax(0, 1fr) 105px; gap: .7rem; }
  .order-product-grid { grid-template-columns: 1fr; }
  .product-stepper { grid-template-columns: 48px minmax(0, 1fr) 48px; max-width: 330px; margin: auto; }
  .quantity-button { width: 48px; height: 48px; }
  .form-note { margin: -1.25rem -1.25rem 1.4rem; }
  .order-section { padding-bottom: 8rem; }
}

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