:root {
  color-scheme: dark;
  --ink: #141412;
  --paper: #f7f3eb;
  --soft: #d0cbc1;
  --red: #c41519;
  --red-hover: #e02326;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--paper); outline-offset: 5px; border-radius: 2px; }
::selection { background: var(--red); color: white; }

.site-shell { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(1.25rem, 2.5vw, 3rem) clamp(1.4rem, 4.6vw, 6.25rem) 1.6rem; }
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-image { background-image: url("/assets/kanjiru-photo.webp?v=b63a18702cf3"); background-size: cover; background-position: center center; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(12,12,11,.84) 0%, rgba(12,12,11,.65) 32%, rgba(12,12,11,.16) 62%, rgba(12,12,11,.05) 100%), linear-gradient(0deg, rgba(12,12,11,.82), transparent 26%); }

.site-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.brand { display: inline-flex; width: clamp(6.1rem, 8.8vw, 8.8rem); flex: 0 0 auto; filter: drop-shadow(0 9px 24px rgba(0,0,0,.28)); }
.brand img { display: block; width: 100%; height: auto; }
.header-info { display: flex; gap: clamp(1.5rem, 3vw, 4rem); align-items: center; padding-top: .45rem; }
.header-address { display: flex; flex-direction: column; gap: .35rem; font-size: clamp(.86rem, 1.05vw, 1rem); line-height: 1.4; font-weight: 600; transition: color .2s ease; }
.header-address:hover { color: white; }
.address-label { color: var(--soft); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.header-order { display: inline-flex; align-items: center; gap: .72rem; border: 1px solid rgba(255,255,255,.55); border-radius: 100px; padding: .86rem 1.05rem; background: rgba(12,12,11,.48); backdrop-filter: blur(12px); font-size: .88rem; font-weight: 700; white-space: nowrap; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.header-order:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.order-number { font-variant-numeric: tabular-nums; }
.order-dot { width: .48rem; height: .48rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(196,21,25,.2); }
.header-order:hover .order-dot { background: white; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.order-arrow { font-size: 1.15rem; line-height: 1; margin-left: .4rem; }

.main-content { align-self: center; max-width: 49rem; padding: clamp(3rem, 7vh, 7rem) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .9rem; color: var(--paper); font-size: clamp(.65rem, .8vw, .8rem); font-weight: 800; letter-spacing: .23em; }
.eyebrow-line { width: 2.5rem; height: 2px; background: var(--red); }
h1 { margin: 1.5rem 0 1.45rem; font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif; font-size: clamp(4rem, 8.6vw, 8.8rem); font-weight: 600; letter-spacing: -.075em; line-height: .91; text-wrap: balance; }
h1 em { color: var(--red); font-weight: 500; font-style: italic; }
.period { color: var(--red); }
.intro { max-width: 34rem; margin: 0; font-size: clamp(1.12rem, 1.65vw, 1.45rem); line-height: 1.55; color: #eee9df; text-wrap: pretty; }
.main-actions { display: flex; align-items: center; gap: 1.7rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.primary-action { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.8rem; min-height: 3.65rem; padding: .95rem 1.15rem .95rem 1.35rem; background: var(--red); color: white; font-size: .94rem; font-weight: 800; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.primary-action:hover { background: var(--red-hover); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.primary-action span { font-size: 1.3rem; font-weight: 400; }
.action-note { max-width: 12rem; color: var(--soft); font-size: .77rem; line-height: 1.4; }

.site-footer { display: flex; align-items: end; gap: 2.2rem; min-height: 4.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.3); font-size: .82rem; }
.footer-caption { color: var(--soft); white-space: nowrap; padding-bottom: .15rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.55rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; white-space: nowrap; transition: color .2s ease; }
.footer-links a:hover { color: #f56d65; }
.footer-links svg { width: 1.15rem; height: 1.15rem; }
.footer-links a span { font-weight: 400; }
.footer-mark { margin-left: auto; letter-spacing: .18em; font-size: .7rem; white-space: nowrap; font-weight: 800; }
.footer-mark span { color: var(--red); font-size: .85rem; letter-spacing: 0; margin-left: .2rem; }

@media (max-width: 900px) {
  .site-shell { min-height: 100svh; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(12,12,11,.9) 0%, rgba(12,12,11,.7) 48%, rgba(12,12,11,.2) 100%), linear-gradient(0deg, rgba(12,12,11,.85), transparent 30%); }
  .header-info { gap: 1rem; }
  .header-address { display: none; }
  .main-content { max-width: 42rem; }
  h1 { font-size: clamp(4.2rem, 10vw, 7rem); }
  .footer-mark { display: none; }
}

@media (max-width: 600px) {
  .site-shell { padding: 1.15rem 1.3rem 1.35rem; grid-template-rows: auto 1fr auto; }
  .hero-image { inset: 0 0 auto; height: 55%; background-size: auto 100%; background-position: 63% top; background-repeat: no-repeat; }
  .hero-shade { background: linear-gradient(0deg, var(--ink) 0%, rgba(20,20,18,.98) 29%, rgba(20,20,18,.72) 49%, rgba(20,20,18,.05) 80%), linear-gradient(90deg, rgba(20,20,18,.18), transparent 65%); }
  .brand { width: 6.3rem; }
  .header-info { padding-top: .2rem; }
  .header-order { padding: .65rem .72rem; font-size: .71rem; gap: .35rem; }
  .header-order .order-label { display: none; }
  .header-order .order-arrow { display: none; }
  .main-content { align-self: end; padding: clamp(7rem, 27vh, 14rem) 0 2.4rem; }
  .eyebrow { font-size: .61rem; letter-spacing: .17em; }
  .eyebrow-line { width: 1.5rem; }
  h1 { font-size: clamp(3.75rem, 14.5vw, 5.4rem); margin: 1.15rem 0 1rem; }
  .intro { max-width: 21rem; font-size: 1.03rem; }
  .main-actions { align-items: start; flex-direction: column; gap: .8rem; margin-top: 1.8rem; }
  .primary-action { min-height: 3.2rem; font-size: .85rem; }
  .action-note { max-width: none; }
  .site-footer { align-items: start; flex-direction: column; gap: .75rem; min-height: 0; padding-top: 1rem; }
  .footer-links { gap: .7rem 1.2rem; }
  .footer-links a { font-size: .75rem; }
}

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