/* Treasured Locks — tokens from the Figma "Home-FINAL" frame */
:root {
  --primary: #281e3a;
  --light: #f7f6f3;
  --accent-bg: #efede7;
  --orange: #f0b49c;
  --orange-btn: #eea182;
  --orange-muted: #f4e1da;
  --violet: #ddbad8;
  --accent: #bb6bb0;
  --secondary: rgba(119, 104, 124, 0.8);
  --stroke: #d4d2d6;
  --line: #e2e1e4;
  --stroke-dark: #3a3345;
  --input-dark: #666070;
  --r-l: 32px;
  --r-m: 24px;
  --r-s: 16px;
  --pad: 64px;
  --serif: 'Prata', Georgia, 'Times New Roman', serif;
  --sans: 'Assistant', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--light); color: var(--primary); font: 400 18px/1.55 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.h-section { font: 400 52px/58px var(--serif); }
.h-small { font: 400 32px/40px var(--serif); margin-bottom: 32px; }
.eyebrow { font: 400 16px/24px var(--sans); letter-spacing: 1px; text-transform: uppercase; }
.lead { font-size: 20px; line-height: 28px; }
.muted-text { color: var(--secondary); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 32px; border: 1px solid var(--primary); border-radius: 999px; background: var(--light); color: var(--primary); font: 700 16px/24px var(--sans); text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.btn:hover { background: var(--primary); color: var(--light); }
.btn-sm { height: 40px; padding: 0 22px; font-size: 15px; white-space: nowrap; }
.btn-lg { width: 100%; padding: 18px 32px; font-size: 20px; line-height: 26px; }
.btn-orange { background: var(--orange-btn); border-color: var(--orange-btn); }
.btn-orange:hover { background: var(--primary); border-color: var(--primary); }
.btn-light { background: var(--light); }
.btn-light:hover { background: var(--violet); color: var(--primary); }
.icon-btn { display: inline-flex; padding: 12px; border-radius: 999px; background: rgba(136, 127, 127, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tag { display: inline-block; padding: 4px 8px; border-radius: 6px; background: var(--orange-muted); color: var(--secondary); font: 600 14px/16px var(--sans); letter-spacing: .14px; }

/* marquee */
.marquee { overflow: hidden; padding: 8px 0; font: 700 13px/16px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--primary); white-space: nowrap; }
.marquee-orange { background: var(--orange); }
.marquee-violet { background: var(--violet); }
.marquee-track { display: inline-flex; gap: 32px; padding-left: 32px; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; gap: 32px; align-items: center; }
.marquee-track span::after { content: '✦'; font-size: 10px; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* header */
.site-header { position: relative; z-index: 10; }
.site-header.is-overlay { position: absolute; top: 0; left: 0; right: 0; }
.nav-row { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px var(--pad); }
.nav-left, .nav-right { display: flex; gap: 8px; width: 300px; }
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right a { padding: 12px; font: 700 15px/20px var(--sans); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.nav-left a:hover, .nav-right a:hover { text-decoration: underline; text-underline-offset: 4px; }
.is-overlay .nav-left a, .is-overlay .nav-right a { color: var(--light); }
.logo img { width: 100px; height: 52px; }
.site-header:not(.is-overlay) { border-bottom: 1px solid var(--line); }
.menu-btn { display: none; }
.mobile-menu { display: none; }

/* hero */
.hero { position: relative; height: 835px; min-height: 560px; max-height: 100vh; overflow: hidden; background: #3a3040; color: var(--light); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(40, 30, 58, .45), rgba(28, 28, 28, 0) 55%), linear-gradient(to bottom, rgba(40, 30, 58, .25), rgba(28, 28, 28, 0) 30%); }
.hero-content { position: absolute; left: 67px; right: 67px; bottom: 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { font: 400 52px/52px var(--serif); max-width: 420px; }
.hero-sub { margin: 16px 0 44px; font: 400 24px/1.04 'IBM Plex Sans Condensed', var(--sans); }
.hero-card { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: 1fr auto; width: 336px; background: #f4efe6; color: var(--primary); border-radius: 8px; overflow: hidden; text-decoration: none; font-size: 13px; line-height: 1.25; box-shadow: 0 6px 24px rgba(0, 0, 0, .15); }
.hero-card-img { grid-row: 1 / 3; position: relative; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-img em { position: absolute; top: 8px; left: 8px; background: var(--light); padding: 2px 6px; border-radius: 3px; font: 700 10px/14px var(--sans); text-transform: uppercase; letter-spacing: .5px; font-style: normal; }
.hero-card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-left: 1px solid var(--stroke); }
.hero-card-title { font: 400 15px/1.3 var(--serif); }
.hero-card-sub { color: var(--secondary); }
.hero-card-cta { border-top: 1px solid var(--stroke); border-left: 1px solid var(--stroke); padding: 8px 14px; font: 700 11px/14px var(--sans); text-transform: uppercase; letter-spacing: .5px; }
.hero-card:hover .hero-card-cta { background: var(--primary); color: var(--light); }

/* featured product */
.featured { position: relative; display: flex; justify-content: space-between; align-items: stretch; gap: 48px; padding: 64px var(--pad) 112px; }
.featured-media { position: relative; flex: 0 0 644px; height: 783px; }
.featured-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-l); }
.featured-tags { position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.featured-tags span { padding: 8px 16px; border-radius: 999px; background: rgba(248, 248, 248, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--light); font-size: 20px; line-height: 1.26; }
.featured-bottle { position: absolute; width: 285px; right: -141px; top: 181px; filter: drop-shadow(0 18px 28px rgba(40, 30, 58, .25)); }
.featured-info { flex: 0 1 533px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 16px 0; }
.featured-text { display: flex; flex-direction: column; gap: 16px; }
.featured-buy { display: flex; flex-direction: column; gap: 29px; }
.options { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; border: 0; }
.option { display: flex; align-items: center; gap: 16px; padding: 8px 20px; border: 2px solid var(--stroke); border-radius: var(--r-m); cursor: pointer; transition: border-color .15s, background .15s; }
.option:has(input:checked) { border-color: var(--primary); background: var(--light); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.radio { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--stroke); background: var(--light); position: relative; }
.option input:checked + .radio { background: var(--primary); border: 1.5px solid var(--primary); }
.option input:checked + .radio::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; background: var(--light); }
.option input:focus-visible + .radio { outline: 2px solid var(--accent); outline-offset: 3px; }
.option-img { flex: none; width: 98px; height: 92px; border-radius: var(--r-s); background: var(--accent-bg); display: flex; align-items: center; justify-content: center; }
.option-img img { width: 30px; margin: 0 -4px; }
.option-text { display: flex; flex-direction: column; gap: 2px; font: 700 15px/20px var(--sans); letter-spacing: .15px; text-transform: uppercase; }
.option-text em { font-style: normal; color: var(--accent); }

/* mission */
.mission { display: flex; justify-content: space-between; gap: 48px; padding: var(--pad); }
.mission-text { flex: 0 1 644px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.mission-lines { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.mission-lines li { padding: 8px; font: 400 52px/1 var(--serif); }
.mission-lines li.muted { color: rgba(40, 30, 58, .4); }
.mission-img { flex: 0 0 644px; height: 716px; border-radius: var(--r-l); overflow: hidden; }
.mission-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* products */
.products { padding: 64px var(--pad) 112px; }
.section-note { margin: 12px 0 32px; color: var(--secondary); font-size: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 447px; padding: 20px; border-radius: var(--r-m); background: var(--accent-bg); }
.badge-new { position: absolute; top: 19px; right: 20px; padding: 2px 10px; border-radius: 999px; background: var(--orange); font: 700 13px/16px var(--sans); letter-spacing: 1px; text-transform: uppercase; z-index: 1; }
.product-img { position: relative; height: 273px; display: flex; align-items: center; justify-content: center; }
.product-circle { position: absolute; width: 228px; height: 228px; border-radius: 50%; background: var(--light); mix-blend-mode: multiply; }
.product-img img { position: relative; }
.product-img .fit-tall { height: 214px; width: auto; }
.product-img .fit-wide { width: 212px; }
.product-info { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.product-name { font: 600 20px/26px var(--sans); }
.product-price { margin-top: 4px; font: 700 16px/24px var(--sans); text-transform: uppercase; color: var(--accent); letter-spacing: .5px; }

/* bundle (dark) */
.bundle { background: var(--primary); color: var(--light); }
.bundle-inner { display: flex; justify-content: space-between; gap: 48px; min-height: 688px; padding: var(--pad); }
.bundle-text { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: 8px; }
.bundle-text .eyebrow { margin-bottom: 12px; }
.bundle .h-section { max-width: 779px; }
.pill { display: inline-flex; align-items: baseline; padding: 0 14px; margin-left: 4px; border-radius: 50px; background: var(--violet); color: var(--primary); font: 600 52px/52px var(--sans); }
.pill small { font-size: 34px; }
.bundle-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 474px; }
.bundle-bottom p { font-size: 20px; line-height: 29px; }
.bundle-img { flex: 0 0 533px; border-radius: var(--r-l); overflow: hidden; background: var(--violet); display: flex; align-items: center; justify-content: center; }
.bundle-img img { width: 78%; }

/* guides */
.guides { padding: 112px var(--pad) 64px; background: var(--accent-bg); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.guide-list a { display: grid; grid-template-columns: 48px 1fr auto; align-items: baseline; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--stroke); text-decoration: none; }
.guide-list a:hover .guide-t { text-decoration: underline; text-underline-offset: 4px; }
.guide-n { font: 400 20px/1 var(--serif); color: var(--accent); }
.guide-t { font: 600 20px/26px var(--sans); }
.guide-m { font-size: 15px; color: var(--secondary); white-space: nowrap; }

/* articles */
.resources { padding: 48px var(--pad) 112px; background: var(--accent-bg); }
.resources > .btn { margin-top: 40px; }
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.article-card { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); text-decoration: none; }
.article-img { height: 188px; border-radius: var(--r-m); overflow: hidden; background: #d9d9d9; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-img img { transform: scale(1.04); }
.article-info { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; flex: 1; padding: 0 8px; }
.article-info h3 { margin-top: 8px; font: 600 20px/26px var(--sans); }
.article-meta { font-size: 16px; line-height: 24px; letter-spacing: .16px; }
.article-meta span { color: var(--secondary); }

/* gallery strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 486px; }
.strip-item { position: relative; overflow: hidden; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; }
.strip-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(44, 38, 55, 0) 80%, rgba(44, 38, 55, .4)); }

/* footer */
.site-footer { background: var(--primary); color: var(--light); padding: 0 var(--pad); }
.footer-grid { display: flex; justify-content: space-between; border-bottom: 1px solid var(--stroke-dark); }
.footer-sub { flex: 0 0 776px; padding: 64px 280px 64px 0; border-right: 1px solid var(--stroke-dark); }
.footer-tagline { font: 600 24px/30px var(--sans); margin-bottom: 52px; }
.sub-field { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 8px; border: 1px solid var(--input-dark); border-radius: 999px; }
.sub-field input { width: 348px; padding: 4px 16px; border: 0; background: transparent; color: var(--light); font: 400 16px/24px var(--sans); letter-spacing: .16px; outline: none; }
.sub-field input::placeholder { color: var(--light); opacity: .85; }
.sub-field:focus-within { border-color: var(--violet); }
.sub-field button { display: flex; padding: 16px; border: 0; border-radius: 999px; background: var(--violet); cursor: pointer; }
.sub-field button:hover { background: var(--orange); }
.sub-msg { min-height: 20px; margin: 10px 0 8px; font-size: 15px; }
.sub-legal { font: 500 14px/20px var(--sans); opacity: .85; }
.footer-links { flex: 0 0 533px; display: flex; gap: 24px; padding: 64px 0 64px 64px; }
.footer-col { display: flex; flex-direction: column; }
.footer-guides { flex: 1; gap: 12px; }
.footer-guides a { font: 600 20px/26px var(--sans); text-decoration: none; }
.footer-care { width: 198px; gap: 8px; }
.footer-col-title { font: 600 20px/26px var(--sans); margin-bottom: 8px; }
.footer-care a { padding: 4px 0; font: 600 14px/16px var(--sans); letter-spacing: .14px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { overflow: hidden; }
.wordmark { padding: 32px 0 8px; font: 400 clamp(24px, 8.2vw, 124px)/1.1 var(--serif); text-transform: uppercase; text-align: center; white-space: nowrap; }
.copyright { padding: 0 0 24px; text-align: center; font-size: 14px; opacity: .6; }

/* inner pages */
.page-intro { padding: 64px var(--pad) 48px; display: flex; flex-direction: column; gap: 16px; }
.page-intro.narrow { max-width: 900px; }
.page-intro .lead { max-width: 720px; }
.listing { padding: 16px var(--pad) 80px; }
.link-columns { columns: 3; column-gap: 40px; padding: 0; margin: 0; list-style: none; }
.link-columns li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); }
.link-columns a { text-decoration: none; font-weight: 600; }
.link-columns a:hover { text-decoration: underline; }
.page-intro .link-columns { columns: 2; margin: 16px 0 24px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.contact-card { background: var(--accent-bg); border-radius: var(--r-m); padding: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 20px; }
.contact-card .muted-text { font-size: 16px; }

.article { max-width: 760px; margin: 0 auto; padding: 40px 24px 64px; }
.crumbs { display: flex; gap: 8px; font-size: 15px; color: var(--secondary); margin-bottom: 32px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
.article-head h1 { font: 400 48px/1.15 var(--serif); }
.article-head .article-meta { color: var(--secondary); }
.article-hero { margin: 0 0 32px; }
.article-hero img { width: 100%; border-radius: var(--r-m); }
.prose { font-size: 19px; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4, .prose h5 { font-family: var(--serif); font-weight: 400; line-height: 1.25; margin-top: 1.6em; }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 26px; }
.prose h4, .prose h5 { font-size: 21px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose img { border-radius: var(--r-s); margin: 8px auto; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--orange); font-style: italic; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-s); }
.table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose td, .prose th { border: 1px solid var(--stroke); padding: 8px 10px; vertical-align: top; }
.related { padding: 64px var(--pad) 96px; background: var(--accent-bg); }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  :root { --pad: 40px; }
  .featured-media { flex-basis: 52%; }
  .featured-bottle { width: 220px; right: -90px; }
  .mission-img { flex-basis: 48%; }
  .footer-sub { flex: 1; padding-right: 64px; }
  .footer-links { flex: 0 0 auto; }
  .product-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --pad: 24px; }
  body { font-size: 17px; }
  .h-section { font-size: 38px; line-height: 44px; }
  .nav-left, .nav-right { display: none; }
  .nav-row { align-items: center; padding: 12px var(--pad); }
  .logo { order: 0; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; background: var(--primary); border-radius: 2px; }
  .is-overlay .menu-btn span { background: var(--light); }
  .mobile-menu:not([hidden]) { display: flex; flex-direction: column; padding: 8px var(--pad) 20px; background: var(--light); border-bottom: 1px solid var(--line); }
  .mobile-menu a { padding: 12px 0; font: 700 16px/20px var(--sans); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line); }
  .hero { height: 88vh; min-height: 560px; }
  .hero-img { object-position: 35% 30%; }
  .hero-content { left: var(--pad); right: var(--pad); bottom: 28px; flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 42px; line-height: 44px; }
  .hero-sub { margin-bottom: 24px; }
  .hero-card { width: min(336px, 100%); }
  .featured, .mission, .bundle-inner { flex-direction: column; padding-bottom: 64px; }
  .featured-media { flex: none; height: auto; aspect-ratio: 644 / 783; max-height: 640px; margin-right: 96px; }
  .featured-bottle { width: 150px; right: -96px; top: 22%; }
  .featured-info { flex: none; }
  .mission-img { flex: none; height: 520px; }
  .mission-lines li { font-size: 40px; }
  .bundle-inner { min-height: 0; }
  .bundle-img { flex: none; aspect-ratio: 4 / 3; }
  .pill { font-size: 38px; line-height: 40px; }
  .pill small { font-size: 26px; }
  .guide-list { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); height: auto; }
  .strip-item { aspect-ratio: 3 / 4; }
  .footer-grid { flex-direction: column; }
  .footer-sub { border-right: 0; border-bottom: 1px solid var(--stroke-dark); padding: 48px 0; }
  .footer-links { padding: 40px 0; }
  .link-columns { columns: 2; }
  .contact-cards { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 38px; }
}
@media (max-width: 600px) {
  .h-section { font-size: 32px; line-height: 38px; }
  .product-grid, .article-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .featured-media { margin-right: 64px; }
  .featured-bottle { width: 110px; right: -72px; }
  .featured-tags span { font-size: 16px; }
  .option { padding: 8px 12px; gap: 12px; }
  .option-img { width: 72px; height: 72px; }
  .option-img img { width: 22px; }
  .btn-lg { font-size: 16px; padding: 16px 20px; }
  .mission-lines li { font-size: 32px; }
  .mission-img { height: 420px; }
  .guide-list a { grid-template-columns: 36px 1fr; }
  .guide-m { display: none; }
  .sub-field { display: flex; width: 100%; }
  .sub-field input { width: auto; flex: 1; min-width: 0; }
  .footer-links { flex-direction: column; gap: 32px; }
  .link-columns, .page-intro .link-columns { columns: 1; }
  .article { padding-top: 24px; }
  .article-head h1 { font-size: 32px; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 26px; }
  .prose h3 { font-size: 22px; }
}
