:root {
  --base: #fbfaf7;
  --surface: #ffffff;
  --greige: #e8e1d7;
  --line: #d7d0c5;
  --accent: #8a9a82;
  --accent-dark: #64715f;
  --text: #2f302d;
  --muted: #77736b;
  --soft: #f2eee8;
  --shadow: 0 18px 50px rgba(47, 48, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  color: var(--text);
  background: var(--base);
  line-height: 1.75;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

p {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(215, 208, 197, 0.72);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: grid;
  gap: 2px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 7px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--accent-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  background: var(--text);
  border-color: var(--text);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn.secondary:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 36px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 400;
  line-height: 1.08;
}

.hero-lead,
.lead {
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 2;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-image {
  aspect-ratio: 1780 / 883;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hero-image img {
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 96px 0;
  border-top: 1px solid rgba(215, 208, 197, 0.58);
}

.section.compact {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 44px;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.22;
}

.intro-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-item {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-item .num {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-size: 13px;
}

.feature-item h3,
.menu-row h3,
.note h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 400;
}

.feature-item p,
.menu-row p,
.note p,
.caption {
  color: var(--muted);
}

.trouble-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trouble-list span {
  min-height: 108px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--surface);
  text-align: center;
  font-size: 15px;
}

.photo {
  overflow: hidden;
  border: 1px solid var(--line);
}

.photo.tall {
  aspect-ratio: 3 / 4.25;
}

.photo.wide {
  aspect-ratio: 3 / 2;
}

.photo img {
  height: 100%;
  object-fit: cover;
}

.style-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.style-card {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.style-card .photo {
  margin-bottom: 18px;
}

.style-card h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 400;
}

.page-hero {
  padding: 84px 0 72px;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 56px;
  align-items: end;
}

.page-hero .lead {
  max-width: 640px;
}

.origin-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.large-copy {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.28;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.flow-step {
  min-height: 180px;
  padding: 28px;
  background: var(--surface);
}

.flow-step span {
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.flow-step h3 {
  margin: 24px 0 10px;
  font-weight: 400;
}

.menu-list {
  border-top: 1px solid var(--line);
}

.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.price {
  white-space: nowrap;
  color: var(--accent-dark);
  font-size: 18px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.note {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  display: block;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item .photo {
  aspect-ratio: 3 / 4;
}

.gallery-item.large .photo {
  aspect-ratio: 1 / 1;
}

.gallery-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.info-table {
  border-top: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.info-row dt {
  color: var(--muted);
}

.info-row dd {
  margin: 0;
}

.cta-band {
  padding: 70px 0;
  background: var(--text);
  color: #fff;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.25;
}

.cta-band p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-band .btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  color: var(--text);
  font-size: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, 680px);
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px 24px 28px;
    background: rgba(251, 250, 247, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.24s ease;
  }

  .menu-open .site-nav {
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
    padding: 34px 0 66px;
  }

  .hero-grid,
  .intro-grid,
  .split-grid,
  .page-hero-inner,
  .origin-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }

  .feature-list,
  .flow,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .trouble-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .style-strip,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .brand {
    font-size: 20px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .trouble-list,
  .style-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .menu-row,
  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    display: grid;
  }
}
