:root {
  color-scheme: light;
  --ink: #202918;
  --green: #233619;
  --cream: #f8f6f0;
  --muted: #555b4f;
  --line: #d7d9ce;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid #798f36; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--serif); font-weight: 400; line-height: 1.03; }
h1 { font-size: clamp(3.45rem, 7vw, 7rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.3rem, 4.3vw, 4.2rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.4rem, 2.3vw, 2.2rem); letter-spacing: -.035em; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-200%); z-index: 20; background: white; padding: .6rem 1rem; }
.skip:focus { transform: none; }
.notice { padding: .37rem .75rem; text-align: center; background: var(--green); color: #fff; font-size: .76rem; }
.header {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem; align-items: center; min-height: 78px; padding: 0 clamp(1.2rem, 5vw, 5rem);
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.wordmark { text-decoration: none; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.05em; width: fit-content; }
.header nav { display: flex; gap: clamp(1rem, 3.2vw, 3.2rem); }
.header nav a { text-decoration: none; white-space: nowrap; font-size: .88rem; }
.header nav a:hover, .header nav a[aria-current] { text-decoration: underline; text-underline-offset: .36em; }
.search-link { justify-self: end; display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.search-icon { display: block; width: 16px; height: 16px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { position: absolute; content: ""; width: 7px; height: 1.6px; background: currentColor; right: -5px; bottom: -3px; transform: rotate(48deg); }
.menu-toggle { background: transparent; border: 1px solid var(--line); color: inherit; padding: .45rem .65rem; cursor: pointer; }
.wrap { width: min(100% - 3rem, 1340px); margin-inline: auto; }
.section { padding-block: clamp(2.9rem, 6.5vw, 6.6rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: .85rem 2rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: .2rem; font-size: .9rem; }
.text-link:hover { opacity: .75; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; width: fit-content;
  padding: .7rem 1.35rem; background: var(--green); color: #fff; border: 1px solid transparent;
  text-decoration: none; font-size: .85rem; cursor: pointer; transition: background .18s ease;
}
.button:hover { background: #3d522b; }
.button.light { background: #faf7ee; color: var(--green); }
.button.light:hover { background: #e2e8cb; }
.photo { overflow: hidden; position: relative; container-type: size; background: #dfdece; }
.photo img {
  width: max(var(--asset-width, 202%), 455cqh); max-width: none; height: auto; position: absolute; left: 50%; top: 50%;
  transform: translate(var(--asset-x, -25%), var(--asset-y, -50%)); display: block;
}
.photo-landscape { --asset-width: 101%; --asset-x: -50%; --asset-y: -16.6%; }
.photo-whisking { --asset-x: -75%; }
.photo-matcha, .photo-teaware { --asset-y: -83.4%; }
.photo-teaware { --asset-x: -75%; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(450px, 43vw, 660px); color: #fff; background: #354032; }
.hero .photo { position: absolute; inset: 0; z-index: -2; }
.hero .photo img { left: 57%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #142410e0, #15250e72 45%, transparent 96%); }
.hero-content { padding: 4rem max(1.5rem, calc((100% - 1340px) / 2)); padding-left: max(6vw, calc((100% - 1340px) / 2)); }
.hero-content p { max-width: 31ch; margin: 1.1rem 0 1.65rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.7rem); }
.card { min-width: 0; }
.card a { display: block; text-decoration: none; }
.card .photo { aspect-ratio: 5 / 4; }
.card .photo img { transition: scale .3s ease; transform-origin: left top; }
.card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.card-copy { padding: .9rem 0 .25rem; }
.card-copy h3 { margin: .22rem 0 .35rem; }
.card-copy > p:last-child { font-size: .89rem; }
.size { color: var(--muted); font-size: .78rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: clamp(340px, 36vw, 550px); }
.split > div:not(.photo) { display: grid; align-content: center; padding: clamp(2rem, 7vw, 7rem); }
.split p { margin: 1rem 0 1.4rem; max-width: 38ch; }
.split-green { background: #e7eadb; }
.split-cream { background: #eee7da; }
.journal-card { display: block; padding: 1.3rem 0; text-decoration: none; border-top: 1px solid var(--line); }
.journal-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.journal-card p { margin-top: .65rem; color: var(--muted); }
.catalog-intro { padding: clamp(2.8rem, 7.2vw, 7rem) 0; background: #e6eadc; }
.catalog-intro p { margin-top: 1rem; }
.catalog { padding-top: clamp(1.8rem, 4vw, 3.6rem); }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; }
.filters label { display: grid; gap: .25rem; font-size: .85rem; }
.filters input, .filters select { max-width: 100%; min-height: 46px; padding: .6rem .75rem; border: 1px solid var(--line); color: var(--ink); background: #fffdf7; border-radius: 0; }
.results { margin: 1.5rem 0 .9rem; color: var(--muted); font-size: .9rem; }
.catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2rem; }
.preview-caption { margin: 1.4rem 0 0; font-size: .8rem; color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.1rem; }
.detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); }
.detail .photo { min-height: 330px; }
.detail h1 { font-size: clamp(2.65rem, 5.5vw, 5.15rem); margin-top: .3rem; }
.detail-price { margin-top: 1rem; font-size: 1.14rem; }
.detail dl { margin-block: 1.4rem; border-block: 1px solid var(--line); padding-block: .75rem; display: flex; gap: 1rem; }
.detail dt { color: var(--muted); }
.detail dd { margin: 0; }
.detail-copy .button { margin-top: 1.4rem; }
.availability { font-size: .87rem; }
.prose { max-width: 780px; }
.prose article + article { border-top: 1px solid var(--line); padding-top: 1.75rem; margin-top: 2.3rem; }
.prose article p { margin-top: .75rem; }
.prose .photo { aspect-ratio: 2 / 1; margin-bottom: 1.3rem; }
.footer {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.8rem 2rem;
  padding: 3rem max(1.5rem, calc((100% - 1340px) / 2)); background: var(--green); color: #f4f3e8;
}
.footer h2 { font: 600 .9rem var(--sans); letter-spacing: 0; margin-bottom: .6rem; }
.footer a { display: block; }
.footer a:not(.wordmark) { text-decoration: none; font-size: .85rem; margin-block: .3rem; }
.footer a:hover { text-decoration: underline; }
.footer p { color: #dce1d4; margin-top: .6rem; font-size: .9rem; }

@media (max-width: 760px) {
  .header { grid-template-columns: auto 1fr auto; gap: .65rem; min-height: 62px; }
  .header .wordmark { grid-column: 2; grid-row: 1; justify-self: center; text-align: center; }
  .menu-toggle { grid-column: 1; grid-row: 1; }
  .search-link { grid-column: 3; grid-row: 1; }
  .header nav { grid-column: 1 / -1; align-items: center; justify-content: center; flex-wrap: wrap; padding-bottom: .8rem; }
  .header:has(.menu-toggle:not([hidden])) nav { position: absolute; inset: 100% 0 auto; background: var(--cream); border-block: 1px solid var(--line); padding: .8rem 1rem; }
  .hero-content { padding: 3rem 1.5rem; }
  .hero .photo img { left: 50%; }
  .hero::after { background: linear-gradient(90deg, #162610cf, #18271044); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal .grid { grid-template-columns: 1fr; }
  .split, .detail { grid-template-columns: 1fr; }
  .split .photo { min-height: 245px; }
  .split-cream .photo { grid-row: 1; }
  .detail .photo { min-height: 275px; }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 2rem); }
  .filters { display: grid; grid-template-columns: 1fr; }
  .filters input, .filters select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
