:root {
  color-scheme: light;
  --paper: #f8f4e9;
  --card: #fffcf4;
  --green: #19291d;
  --dark: #141913;
  --gold: #dbc183;
  --ink: #232b20;
  --muted: #566052;
  --border: #dcd6c5;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid #a17837; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1216px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; transform: translateY(-150%); background: var(--card); padding: 10px; }
.skip:focus { transform: none; }
.ribbon { background: var(--green); color: var(--gold); text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .25em; padding: 7px; }
.ribbon span { margin-inline: 8px; }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--border); }
.header-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 9px; font: 22px/.95 var(--serif); letter-spacing: .11em; }
.brand img { display: block; object-fit: contain; background: #141713; border-radius: 7px; padding: 4px; }
.brand small { display: block; padding-top: 5px; font: 700 9px/1 system-ui,sans-serif; letter-spacing: .27em; color: var(--muted); }
nav { display: flex; gap: 26px; font-size: 14px; font-weight: 650; }
nav a:hover, .footer > a:last-child:hover { text-decoration: underline; text-underline-offset: 4px; }
.inquiry, .close, .quantity button { background: transparent; border: 1px solid var(--border); border-radius: 100px; }
.inquiry { min-height: 44px; padding: 6px 8px 6px 13px; white-space: nowrap; font-size: 13px; font-weight: 700; }
.inquiry span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 5px; margin-left: 3px; border-radius: 100px; background: var(--green); color: white; }
.hero {
  display: grid;
  grid-template-columns: 1fr .92fr;
  min-height: 530px;
  margin-block: 23px 35px;
  overflow: hidden;
  border-radius: 12px;
  background: radial-gradient(ellipse at 80% 30%, #2c3923, var(--dark) 78%);
  color: var(--card);
}
.hero-copy { position: relative; align-self: center; padding: clamp(26px, 5.1vw, 73px); }
.eyebrow { margin: 0 0 11px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .19em; }
.hero .eyebrow { color: var(--gold); }
.eyebrow span { margin-inline: 2px 5px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
h1 { font-size: clamp(49px, 6.1vw, 92px); line-height: .96; }
h1 em { color: var(--gold); font-weight: 400; white-space: nowrap; }
h2 { font-size: clamp(38px, 5vw, 64px); }
.lede { max-width: 320px; margin: 20px 0 23px; color: #e5e1cf; font-size: 17px; }
.primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; border: 1px solid transparent; border-radius: 5px; background: var(--green); color: white; padding: 10px 16px; font-size: 14px; font-weight: 650; }
.primary:not(:disabled):hover { background: #344a34; }
.hero .primary { background: var(--gold); color: var(--dark); }
.hero .primary:hover { background: #eddaa7; }
.hero-photo { position: relative; margin: 0; min-height: 100%; }
.hero-photo img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.hero-photo figcaption { position: absolute; right: 15px; bottom: 15px; display: grid; padding: 11px 15px; border: 1px solid #e4ca9073; border-radius: 7px; color: var(--card); background: #162216f0; }
.hero-photo figcaption small { color: var(--gold); letter-spacing: .18em; font-size: 9px; }
.hero-photo figcaption strong { font: 22px/1.2 var(--serif); }
.hero-photo figcaption span { font-size: 12px; color: #e5e1cf; }
.collection, .ritual { scroll-margin-top: 86px; }
.collection { border-top: 1px solid var(--border); padding-block: 24px 37px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head > p { color: var(--muted); font-size: 14px; margin: 0; }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.product { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: 9px; }
.product > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #d8c7a9; }
.product-matcha > img { object-position: center 54%; }
.product-whisk > img { object-position: center 52%; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.product h3 { font-size: clamp(22px, 2.15vw, 30px); }
.product-summary { flex: 1; margin: 8px 0 13px; color: var(--muted); font-size: 14px; }
.product-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 0; border: 0; border-top: 1px solid var(--border); background: transparent; font-size: 13px; font-weight: 700; text-align: left; }
.product-link:hover { color: #735320; }
.product-link span { font-size: 17px; }
.ritual { display: grid; grid-template-columns: .85fr 1.15fr; margin-bottom: 38px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #eee9d9; }
.ritual img { width: 100%; height: 100%; max-height: 410px; object-fit: cover; }
.ritual-copy { align-self: center; padding: clamp(22px, 4.5vw, 61px); }
.ritual ol { display: grid; gap: 8px; margin: 18px 0 22px; padding-left: 22px; }
.ritual li::marker { color: #745722; }
.ritual li { padding-left: 4px; }
.ritual li span { display: block; color: var(--muted); font-size: 14px; }
.footer { border-top: 1px solid var(--border); padding-block: 20px; }
.footer > small, .footer > a:last-child { font-size: 12px; color: var(--muted); }
dialog { width: min(510px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--border); border-radius: 12px; padding: 19px; }
dialog::backdrop { background: #101a10ad; }
dialog h2 { font-size: 38px; }
.dialog-head, .inquiry-row, .quantity { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dialog-head { margin-bottom: 12px; }
.dialog-head p { margin: 0; }
.close, .quantity button { width: 44px; height: 44px; padding: 0; font-size: 21px; }
.close:hover, .quantity button:hover, .inquiry:hover { background: #e8e5d5; }
.detail-photo { display: block; width: 100%; height: min(30vh,260px); object-fit: cover; border-radius: 7px; margin-bottom: 14px; }
.detail-photo[data-product='whisk'] { object-fit: contain; background: #ded1bb; }
.muted { color: var(--muted); font-size: 14px; }
.inquiry-row { border-top: 1px solid var(--border); padding-block: 10px; }
.quantity { flex-shrink: 0; }
.wide { width: 100%; }
.whatsapp { margin-bottom: 8px; }
.secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; border: 1px solid var(--border); border-radius: 5px; background: transparent; color: var(--ink); padding: 10px 16px; font-size: 14px; font-weight: 650; }
.secondary:not(:disabled):hover { border-color: var(--green); background: #19291d0d; }
.copy-instead { display: block; width: 100%; margin-top: 10px; background: none; border: 0; padding: 4px; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.copy-instead:not(:disabled):hover { color: var(--ink); }
.fallback { display: grid; gap: 4px; margin-top: 10px; font-size: 14px; }
textarea { resize: vertical; padding: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 5px; }
#copy-status:empty { display: none; }
@media (max-width: 980px) {
  .shell { width: calc(100% - 48px); }
  .hero { min-height: 460px; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 30px); }
  .header-inner { min-height: 63px; gap: 9px; }
  .guide-link { display: none; }
  .brand { font-size: 18px; gap: 6px; }
  .brand img { width: 37px; height: 37px; }
  nav { font-size: 12px; }
  .hero { grid-template-columns: 1fr; margin-block: 15px 27px; }
  .hero-copy { padding: 24px 22px; }
  h1 { font-size: clamp(45px, 10vw, 65px); }
  .hero-photo { min-height: clamp(290px, 92vw, 460px); }
  .hero-photo img { object-position: center 52%; }
  .product-body { padding: 10px; }
  .product-summary { font-size: 13px; }
  .ritual { grid-template-columns: 1fr; }
  .ritual img { max-height: 275px; }
  .footer { flex-wrap: wrap; }
  .footer small { width: 100%; order: 1; }
}
@media (max-width: 360px) {
  .header-inner nav { display: none; }
  .products { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

[x-cloak] { display: none !important; }
