:root {
  color-scheme: light;
  --ink: #20231f;
  --muted: #697069;
  --paper: #f5f0e6;
  --cream: #ebe2d1;
  --green: #27332a;
  --line: rgba(32, 35, 31, 0.18);
  --white: #fffdf8;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.25em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a45737; outline-offset: 4px; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(245, 240, 230, .96); }
.nav { min-height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; letter-spacing: .18em; font-family: Georgia, serif; }
.brand span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--paper); background: var(--green); font-family: serif; }
.nav nav { display: flex; gap: 2rem; font-size: .84rem; }
.nav nav a, .bag { text-decoration: none; }
.bag { justify-self: end; display: inline-flex; gap: .55rem; align-items: center; font-size: .84rem; }
.bag span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--ink); border-radius: 50%; }
.demo-note { padding: .45rem 1rem; text-align: center; color: var(--paper); background: var(--green); font-size: .76rem; letter-spacing: .08em; }

.hero { min-height: 680px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; padding-block: 64px 80px; }
.eyebrow { margin: 0 0 1.4rem; color: #66705e; font-family: Georgia, serif; font-size: .75rem; letter-spacing: .2em; }
.hero h1, .section-heading h2, .story h2, .detail-copy h1, .content-page h1, .checkout h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-weight: 500; line-height: 1.28; letter-spacing: .02em; }
.hero h1 { font-size: clamp(2.7rem, 5.3vw, 5.4rem); }
.hero h1 em { color: #7e583f; font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 34rem; margin: 2rem 0; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 48% 48% 2px 2px; }
.hero-visual span { position: absolute; right: 1rem; bottom: 1rem; padding: .35rem .65rem; background: var(--paper); font: .7rem Georgia, serif; letter-spacing: .15em; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 52px; padding: .8rem 1.2rem; border: 1px solid var(--green); color: var(--paper); background: var(--green); text-decoration: none; font-weight: 700; cursor: pointer; }
.button:hover { color: var(--green); background: transparent; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button.full { width: 100%; }

.promise { border-block: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.promise p { margin: 0; padding: 1.15rem; text-align: center; font-size: .78rem; letter-spacing: .08em; }
.promise p + p { border-left: 1px solid var(--line); }
.products { padding-block: 110px; scroll-margin-top: 2rem; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2, .story h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.section-heading > p { max-width: 30rem; justify-self: end; margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card a { text-decoration: none; }
.product-image { display: block; overflow: hidden; background: var(--cream); }
.product-image img { aspect-ratio: 1; object-fit: cover; transition: transform .45s ease; }
.product-image:hover img { transform: scale(1.025); }
.product-card-copy { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding-top: 1rem; }
.product-card-copy p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .72rem; letter-spacing: .12em; }
.product-card-copy h3 { margin: 0; font-family: "Yu Mincho", serif; font-size: 1.1rem; font-weight: 600; }
.product-card-copy span { white-space: nowrap; font-size: .9rem; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding-block: 90px; border-top: 1px solid var(--line); }
.story > div:last-child { align-self: end; max-width: 34rem; color: var(--muted); }
.text-link { display: inline-block; margin-top: 1rem; color: var(--ink); font-weight: 700; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; padding-block: 2rem; color: var(--muted); font-size: .75rem; }
.product-detail { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(2rem, 7vw, 7rem); padding-bottom: 110px; }
.detail-image img { position: sticky; top: 1rem; aspect-ratio: 1; object-fit: cover; }
.detail-copy { padding-top: clamp(1rem, 5vw, 5rem); }
.detail-copy h1 { font-size: clamp(2.4rem, 4vw, 4rem); }
.detail-price { margin: 1rem 0 1.6rem; font-family: Georgia, serif; font-size: 1.4rem; }
.detail-price small { font-family: sans-serif; font-size: .7rem; }
.lead { color: var(--muted); font-size: 1.05rem; line-height: 2; }
.variants { margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.variants li { display: flex; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.fine-print { color: var(--muted); font-size: .72rem; text-align: center; }
.detail-copy dl { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.detail-copy dl div, .company-list div { display: grid; grid-template-columns: 7rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.detail-copy dt, .company-list dt { font-weight: 700; }
.detail-copy dd, .company-list dd { margin: 0; color: var(--muted); }

.page-main { min-height: 60vh; padding-block: 80px 120px; }
.content-page { max-width: 760px; }
.content-page h1, .checkout h1 { margin-bottom: 2rem; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.content-page .lead { margin-bottom: 4rem; }
.prose { max-width: 650px; }
.prose h2 { margin-top: 3rem; font-family: "Yu Mincho", serif; font-size: 1.55rem; }
.prose aside { margin-top: 3rem; padding: 1.2rem; border: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.faq details { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { max-width: 620px; color: var(--muted); }
.checkout { max-width: 680px; margin-inline: auto; }
.warning { display: grid; gap: .25rem; padding: 1rem 1.2rem; border-left: 4px solid #a45737; background: #f8e9df; }
.checkout-item { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 1rem; margin: 2rem 0; padding-block: 1rem; border-block: 1px solid var(--line); }
.checkout-item img { aspect-ratio: 1; object-fit: cover; }
.checkout-item h2, .checkout-item p { margin: 0; }
.empty { margin-block: 3rem; color: var(--muted); }
.checkout > .text-link { display: block; text-align: center; }

footer { padding-block: 70px 24px; color: #e9e5dc; background: var(--green); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 5rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer-grid p { max-width: 28rem; margin: 0; color: #bbc2b8; }
.footer-brand { color: var(--white) !important; font-family: "Yu Mincho", serif; font-size: 1.6rem; }
.footer-grid h2 { margin: 0 0 .5rem; font-size: .78rem; letter-spacing: .12em; }
.footer-grid a, .footer-grid span { color: #bbc2b8; font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.2); color: #bbc2b8; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { min-height: 72px; grid-template-columns: 1fr auto; }
  .nav nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 52px; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .promise-grid, .product-grid, .section-heading, .story, .product-detail, .footer-grid { grid-template-columns: 1fr; }
  .promise p + p { border-left: 0; border-top: 1px solid var(--line); }
  .products { padding-block: 72px; }
  .section-heading > p { justify-self: start; }
  .story { gap: 2rem; padding-block: 64px; }
  .detail-image img { position: static; }
  .product-detail { padding-bottom: 72px; }
  .page-main { padding-block: 56px 80px; }
  .footer-grid { gap: 2.5rem; }
  .footer-bottom { flex-direction: column; }
  .checkout-item { grid-template-columns: 72px 1fr; }
  .checkout-item strong { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-image img { transition: none; }
}
