:root {
  --paper: #f6f2ea;
  --paper-strong: #fffdf7;
  --ink: #162319;
  --muted: #687060;
  --line: #ddd5c6;
  --tea: #426f38;
  --tea-dark: #294b28;
  --tea-soft: #dfe9d7;
  --clay: #9f7251;
  --brass: #b99a5c;
  --shadow: 0 18px 44px rgba(42, 48, 36, 0.12);
  --serif: "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 18%, rgba(185, 154, 92, 0.14), transparent 24rem),
    linear-gradient(135deg, #fbfaf5 0%, var(--paper) 56%, #f1eee6 100%);
  font-family: var(--sans);
  line-height: 1.8;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--tea), var(--brass));
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(221, 213, 198, 0.82);
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 26px;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 18px;
  border-radius: 10px 0 10px 0;
  background: var(--tea);
  transform-origin: 50% 100%;
}

.brand-mark::before {
  left: 4px;
  top: 4px;
  transform: rotate(42deg);
}

.brand-mark::after {
  right: 4px;
  top: 0;
  transform: rotate(-32deg);
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 44px);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.94rem;
}

.global-nav a {
  position: relative;
  padding: 18px 0;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--tea);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.icon-button,
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.icon-button {
  position: relative;
}

.search-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  width: 9px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: translate(11px, 13px) rotate(45deg);
}

.cart-icon {
  width: 22px;
  height: 18px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.cart-icon::before {
  position: absolute;
  width: 12px;
  height: 8px;
  content: "";
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  transform: translate(3px, -9px);
}

.cart-count {
  position: absolute;
  right: 0;
  bottom: 2px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--tea);
  font-size: 0.68rem;
  line-height: 1;
}

.nav-toggle {
  display: none;
  gap: 4px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: calc(100svh - 64px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.hero-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0 -1px 0 auto;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, rgba(255, 253, 247, 0), var(--paper-strong) 78%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 40%;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero-copy::after,
.site-footer::after {
  position: absolute;
  right: 5vw;
  bottom: 26px;
  width: 132px;
  height: 160px;
  content: "";
  border-right: 2px solid rgba(66, 111, 56, 0.16);
  border-radius: 50%;
  transform: rotate(28deg);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--tea);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.7vw, 4.6rem);
  line-height: 1.45;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.5;
}

h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.45;
}

.hero-lead {
  max-width: 27rem;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.9;
}

.hero-actions,
.section-heading,
.site-footer,
.site-footer nav,
.socials {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 16px;
  flex-wrap: wrap;
}

.button,
.add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--tea);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.reveal-target {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.button:hover,
.add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(41, 75, 40, 0.14);
}

.primary,
.add-cart {
  color: #fff;
  background: var(--tea);
}

.secondary {
  color: var(--tea-dark);
  background: rgba(255, 253, 247, 0.72);
}

.compact {
  min-height: 42px;
  padding: 0 18px;
}

.profile-strip,
.lineup-section,
.film-section,
.lifestyle,
.journal-section {
  scroll-margin-top: 76px;
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.profile-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  background: rgba(255, 253, 247, 0.86);
}

.profile-photo {
  overflow: hidden;
  max-width: 380px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-photo img {
  aspect-ratio: 526 / 357;
  width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.profile-copy {
  max-width: 650px;
}

.profile-meta {
  color: var(--tea-dark);
  font-weight: 700;
}

.section-heading {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.text-link {
  flex: 0 0 auto;
  color: var(--tea-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link::after {
  content: "  >";
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 10px 28px rgba(42, 48, 36, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.product-card:hover {
  border-color: rgba(66, 111, 56, 0.38);
  box-shadow: 0 20px 44px rgba(42, 48, 36, 0.13);
  transform: translateY(-4px);
}

.product-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.product-visual {
  position: relative;
  min-height: 0;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 6px;
  background: #eee8dc;
}

.product-visual img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.035);
}

.price {
  margin-top: auto;
  color: var(--ink) !important;
  font-weight: 700;
}

.add-cart {
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
}

.film-section {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  background: #101b12;
  color: #f8f2e5;
}

.film-frame {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #101b12;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
  cursor: pointer;
}

.film-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(16, 27, 18, 0.02), rgba(16, 27, 18, 0.24)),
    radial-gradient(circle at 50% 50%, rgba(255, 253, 247, 0.12), transparent 32%);
  pointer-events: none;
}

.film-video {
  aspect-ratio: 16 / 8.4;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: filter 240ms ease;
}

.film-frame:not(.is-playing) .film-video {
  filter: brightness(0.78) saturate(0.88);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 253, 247, 0.58);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.2);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
}

.play-badge::before {
  width: 0;
  height: 0;
  margin-left: 5px;
  content: "";
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fffdf7;
}

.film-frame.is-playing .play-badge {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
}

.film-frame:not(.is-playing) .play-badge {
  opacity: 1;
}

.film-copy {
  max-width: 440px;
}

.film-copy .section-kicker {
  color: #c5d8a9;
}

.film-copy h2 {
  color: #fffdf7;
}

.film-copy p {
  color: rgba(248, 242, 229, 0.78);
}

.film-status {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.lifestyle {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: rgba(255, 253, 247, 0.72);
}

.lifestyle-copy {
  max-width: 520px;
  padding-left: clamp(0px, 4vw, 40px);
}

.lifestyle-photo {
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  box-shadow: var(--shadow);
}

.lifestyle-photo img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.journal-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.journal-track {
  display: grid;
  grid-auto-columns: minmax(250px, 0.25fr);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--tea) transparent;
}

.journal-card {
  min-width: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 10px 26px rgba(42, 48, 36, 0.08);
  scroll-snap-align: start;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.journal-card:hover {
  box-shadow: 0 20px 46px rgba(42, 48, 36, 0.14);
  transform: translateY(-4px);
}

.journal-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.journal-card img {
  aspect-ratio: 1122 / 1402;
  width: 100%;
  object-fit: cover;
}

.journal-card time {
  display: block;
  padding: 12px 14px 14px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.82rem;
}

.carousel-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.9);
  cursor: pointer;
}

.carousel-button::before {
  display: block;
  color: var(--tea-dark);
  font-size: 1.25rem;
  line-height: 1;
}

.carousel-button.prev::before {
  content: "<";
}

.carousel-button.next::before {
  content: ">";
}

.site-footer {
  position: relative;
  justify-content: space-between;
  gap: 32px;
  padding: 42px clamp(20px, 5vw, 56px);
  overflow: hidden;
  background: #f1eee6;
}

.site-footer p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  gap: clamp(16px, 4vw, 42px);
  color: var(--muted);
  font-size: 0.86rem;
}

.socials {
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 253, 247, 0.58);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.socials a:hover {
  background: #fffdf7;
  transform: translateY(-2px);
}

.socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid rgba(41, 75, 40, 0.22);
  border-radius: 8px;
  color: var(--tea-dark);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.journal-modal {
  width: min(860px, calc(100vw - 32px));
  max-height: min(92svh, 920px);
  padding: 18px;
  border: 1px solid rgba(221, 213, 198, 0.8);
  border-radius: 10px;
  background: var(--paper-strong);
  box-shadow: 0 28px 80px rgba(16, 27, 18, 0.3);
}

.journal-modal::backdrop {
  background: rgba(16, 27, 18, 0.64);
  backdrop-filter: blur(4px);
}

.journal-modal h2 {
  margin: 0 52px 14px 0;
  font-size: 1.2rem;
}

.modal-image {
  width: 100%;
  max-height: calc(92svh - 92px);
  border-radius: 8px;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffdf7;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 16px;
  }

  .brand {
    max-width: 74vw;
    font-size: 1.08rem;
  }

  .nav-toggle {
    display: inline-grid;
    order: 3;
  }

  .header-actions {
    justify-content: flex-end;
    margin-left: auto;
  }

  .global-nav {
    position: fixed;
    inset: 64px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 247, 0.98);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 14px 0;
  }

  .hero,
  .profile-strip,
  .lifestyle {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 54svh;
  }

  .hero-media::after {
    inset: auto 0 -1px 0;
    width: 100%;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 253, 247, 0), var(--paper-strong) 78%);
  }

  .hero-copy {
    padding: 36px 22px 48px;
  }

  .profile-photo {
    max-width: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .film-section {
    grid-template-columns: 1fr;
  }

  .lifestyle-copy {
    padding-left: 0;
  }

  .site-footer,
  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 62px;
  }

  .site-header {
    min-height: 58px;
    padding: 0 12px;
  }

  .global-nav {
    top: 58px;
    padding: 8px 18px 18px;
  }

  .header-actions {
    gap: 2px;
  }

  .icon-button,
  .nav-toggle {
    width: 34px;
    height: 34px;
  }

  .brand {
    max-width: calc(100vw - 116px);
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .brand-mark,
  .search-icon {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 0;
    height: min(58svh, 390px);
  }

  .hero-media img {
    object-position: 48% 28%;
  }

  .hero-media::after {
    height: 34%;
  }

  .hero-copy {
    padding: 28px 18px 36px;
  }

  .hero-copy::after {
    right: -12px;
    bottom: 10px;
    width: 100px;
    height: 122px;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  h1 {
    margin-bottom: 16px;
    font-size: 2.05rem;
    line-height: 1.42;
  }

  h2 {
    margin-bottom: 14px;
    font-size: 1.55rem;
  }

  h3 {
    font-size: 1.03rem;
  }

  .hero-lead {
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button,
  .add-cart {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
  }

  .profile-strip,
  .lineup-section,
  .film-section,
  .lifestyle,
  .journal-section {
    scroll-margin-top: 62px;
    padding: 34px 16px;
  }

  .profile-strip,
  .lifestyle {
    gap: 22px;
  }

  .profile-photo img {
    aspect-ratio: 526 / 357;
    object-position: 50% 50%;
  }

  .product-grid {
    gap: 16px;
  }

  .product-card {
    padding: 10px;
  }

  .product-visual {
    margin-bottom: 12px;
  }

  .product-visual img {
    aspect-ratio: 4 / 3;
  }

  .product-card p {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .film-section {
    gap: 20px;
  }

  .film-video {
    aspect-ratio: 4 / 3;
    object-position: 50% 50%;
  }

  .play-badge {
    width: 52px;
    height: 52px;
  }

  .lifestyle-photo {
    border-radius: 8px;
  }

  .lifestyle-photo img {
    aspect-ratio: 4 / 3;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .journal-wrap {
    grid-template-columns: 1fr;
  }

  .journal-track {
    grid-auto-columns: minmax(248px, 78vw);
    gap: 14px;
    margin-right: -16px;
    padding-right: 16px;
  }

  .carousel-button {
    display: none;
  }

  .site-footer {
    gap: 22px;
    padding: 32px 16px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }

  .journal-modal {
    width: calc(100vw - 20px);
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-target {
    opacity: 1;
    transform: none;
  }
}
