:root {
  --ink: #1a2330;
  --ink-soft: #565f6c;
  --navy-deep: #10161f;
  --paper: #f7f4ec;
  --paper-2: #efe8d9;
  --line: rgba(26, 35, 48, 0.12);
  --accent: #8a6a34;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Shippori Mincho', serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #d9c48a; }

a { color: inherit; }

.wrap {
  max-width: 1164px;
  margin: 0 auto;
  padding-inline: 32px;
}

.section { padding-block: 118px; }
.section-band { background: var(--paper-2); }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow--onphoto { color: #e3d6b4; }

.subtitle-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: #7c705a;
  margin-top: 16px;
}

.subtitle-en--onphoto { color: #e8e2d2; }

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

.section-title--light { color: #f7f4ec; }

.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }

.title-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 22px auto 0;
}

.lede {
  font-size: 15.5px;
  line-height: 2;
  color: #4a4536;
  margin: 22px 0 30px;
  max-width: 46ch;
}

.lede--onphoto { color: #e5decb; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-primary { background: var(--ink); color: #f7f4ec; }
.btn-outline { background: transparent; color: var(--ink); border: none; padding-inline: 0; }
.btn-outline--onphoto { color: #fff; }
.btn-small { padding: 11px 22px; }
.arrow { font-family: 'Cormorant Garamond', serif; font-size: 17px; }

.section-cta { text-align: center; margin-top: 56px; }

.ph {
  background: repeating-linear-gradient(135deg, #e4dcc4 0 14px, #dcd2b3 14px 28px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph span {
  font-family: 'Jost', monospace;
  font-size: 11px;
  color: #857a5f;
}

/* SAMPLE NAV (persistent link back to the sample index; reused across sample sites) */
.sample-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 36px;
  display: flex;
  align-items: center;
  padding-inline: 20px;
  background: rgba(16, 22, 31, 0.55);
  backdrop-filter: blur(6px);
}

.sample-nav a {
  color: #f7f4ec;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: var(--paper);
  border-bottom-color: var(--line);
}

.header-inner {
  padding-block: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark { display: flex; }

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.logo-en {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-top: 3px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.nav a { text-decoration: none; color: var(--ink); }

/* HERO */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 640px 460px at 20% 30%, rgba(247, 244, 236, 0.5) 0%, rgba(247, 244, 236, 0) 70%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.1) 0%, rgba(10, 14, 20, 0.02) 30%, rgba(10, 14, 20, 0.3) 65%, rgba(10, 14, 20, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 204px;
  color: var(--ink);
  text-shadow: 0 0 20px rgba(247, 244, 236, 0.95), 0 0 8px rgba(247, 244, 236, 0.95), 0 0 2px rgba(247, 244, 236, 0.95);
}

.hero-title {
  font-size: 54px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink);
}

.hero-content .lede { max-width: 44ch; }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-arrow { font-size: 14px; }

/* PRODUCTS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
}

.product-photo {
  aspect-ratio: 3 / 4;
  margin-bottom: 26px;
  width: 100%;
  object-fit: cover;
}

.product-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 12px;
}

.product-name .brand {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.product-name .name {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}

.product-desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 34ch;
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  color: var(--ink);
}

/* CRAFT */
.craft-section {
  position: relative;
  min-height: 32vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-2);
  overflow: hidden;
}

.craft-section::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 360px;
  height: 100%;
  background-image: url('img/rice-motif.jpg');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 360px auto;
  opacity: 0.45;
  pointer-events: none;
}

.craft-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.craft-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 64px 48px 72px;
}

.craft-text .lede { max-width: 42ch; }

/* ABOUT */
.about-section {
  position: relative;
  min-height: 32vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 20, 0.8) 0%, rgba(10, 14, 20, 0.4) 55%, rgba(10, 14, 20, 0.05) 100%);
}

.about-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 48px;
}

.about-content .lede { max-width: 42ch; }

/* NEWS */
.news-section { background: var(--navy-deep); padding-block: 108px; }

.news-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 64px;
}

.news-body { display: flex; flex-direction: column; align-items: flex-start; }

.news-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 40px;
}

.news-item {
  display: flex;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(247, 244, 236, 0.14);
}

.news-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: #a79c85;
  min-width: 104px;
}

.news-title { font-size: 15.5px; color: #f0ece0; line-height: 1.7; }

/* FOOTER */
.site-footer { background: var(--paper); }

.footer-grid {
  padding: 72px 6vw 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.footer-logo-en {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-top: 3px;
}

.footer-info p {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: #4a4536;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.02em;
}

.social-row { display: flex; gap: 14px; margin-top: 16px; }
.social-row a { color: var(--ink); text-decoration: none; }

.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; align-items: flex-start; }
.footer-links a { text-decoration: none; color: #3d4552; }

.footer-bottom { border-top: 1px solid var(--line); }

.footer-bottom-inner {
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .craft-section,
  .product-grid { grid-template-columns: 1fr; }
  .craft-section { min-height: 0; }
  .craft-photo { aspect-ratio: 4 / 3; height: auto; }
  .product-grid { gap: 48px; }
  .news-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: 38px; }
  .section-title { font-size: 30px; }
  .header-inner { padding-block: 14px; }
  .header-right { flex-wrap: wrap; justify-content: flex-end; row-gap: 12px; }
  .nav { gap: 12px 18px; flex-wrap: wrap; order: 3; width: 100%; justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; gap: 6px; }
  .news-date { min-width: 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .hero-content { padding-bottom: 64px; }
  .hero-content .lede { max-width: 26ch; }
}
