/* =========================================================
   SATO KANKO GROUP — demo proposal site
   Design tokens
   ========================================================= */
:root {
  --bg: #0e0c0a;
  --bg-2: #17140f;
  --panel: #1c1712;
  --line: rgba(244, 239, 230, 0.14);
  --line-strong: rgba(244, 239, 230, 0.28);
  --ink: #f4efe4;
  --ink-dim: #cdc3b2;
  --ink-faint: #96897a;
  --accent: #c08a4e;       /* saddle leather amber */
  --accent-soft: #e3c396;
  --pasture: #6f7c5c;      /* muted pasture green */
  --cream: #f7f2e8;
  --ink-on-cream: #201b14;
  --ink-on-cream-dim: #5b5347;
  --line-on-cream: rgba(32, 27, 20, 0.12);
  --radius: 2px;
  --maxw: 1180px;
  --serif: "Shippori Mincho", "Cormorant Garamond", "Noto Serif JP", serif;
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --dur: 0.45s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: 0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.on-cream { background: var(--cream); color: var(--ink-on-cream); }
.on-cream .eyebrow { color: var(--accent); }
.on-cream .section-title { color: var(--ink-on-cream); }
.on-cream .lead { color: var(--ink-on-cream-dim); }

.eyebrow {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.4; }
.lead { color: var(--ink-dim); font-size: 15px; max-width: 640px; margin-top: 14px; }

.divider-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}
.divider-mark svg { width: 18px; height: 18px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: background var(--dur), color var(--dur), border-color var(--dur);
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: #1a1208; }
.btn-solid:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: #1a1208; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-dark { border-color: #201b14; color: #201b14; }
.btn-dark:hover { background: #201b14; color: var(--cream); }

/* =========================================================
   Site header / hamburger panel (mirrors reference nav pattern)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  mix-blend-mode: normal;
}
.site-header .brandmark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.brandmark .name { font-family: var(--serif); font-size: 20px; letter-spacing: 0.1em; }
.brandmark .sub { font-size: 10px; letter-spacing: 0.2em; opacity: 0.85; }

.menu-btn {
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.menu-btn span { width: 18px; height: 1px; background: #fff; display: block; }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(8,6,4,0.55);
  z-index: 150; opacity: 0; pointer-events: none; transition: opacity var(--dur);
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.nav-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw);
  background: #14110d;
  border-left: 1px solid var(--line);
  z-index: 160;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur) ease;
}
.nav-panel.is-open { transform: translateX(0); }
.nav-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid var(--line);
}
.nav-panel-head .name { font-family: var(--serif); font-size: 18px; letter-spacing: 0.08em; }
.nav-close {
  width: 34px; height: 34px; border: 1px solid var(--line-strong);
  background: none; color: var(--ink); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.nav-panel-body { flex: 1; overflow-y: auto; padding: 10px 0; }
.nav-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 28px; font-size: 14.5px; letter-spacing: 0.03em;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur), padding-left var(--dur);
}
.nav-list a:hover { background: rgba(192,138,78,0.1); padding-left: 34px; color: var(--accent-soft); }
.nav-list a .arrow { opacity: 0.5; }
.nav-list.secondary a { font-size: 13px; color: var(--ink-dim); }
.nav-divider { height: 1px; background: var(--line); margin: 8px 28px; }
.nav-accordion-btn {
  width: 100%; text-align: left; background: none; border: none; color: var(--ink-dim);
  padding: 15px 28px; font-size: 13px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
}
.nav-accordion-panel {
  max-height: 0; overflow: hidden; transition: max-height var(--dur) ease;
  background: rgba(0,0,0,0.2);
}
.nav-accordion-panel.is-open { max-height: 400px; }
.nav-accordion-panel a {
  padding: 12px 28px 12px 40px; font-size: 12.5px; color: var(--ink-faint); border-bottom: 1px solid var(--line);
}
.nav-panel-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.nav-panel-foot .socials { display: flex; gap: 16px; margin-top: 18px; justify-content: center; color: var(--ink-dim); font-size: 12px; letter-spacing: 0.08em; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.35) 0%, rgba(10,8,6,0.15) 40%, rgba(10,8,6,0.85) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 0 32px 90px; width: 100%; }
.hero-inner .tagline { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 18px; }
.hero-inner h1 { font-size: clamp(34px, 6vw, 66px); line-height: 1.25; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.hero-inner .desc { margin-top: 18px; max-width: 520px; color: rgba(244,239,230,0.88); font-size: 15px; }
.hero-inner .hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.7); text-align: center; }
.scroll-cue .line { width: 1px; height: 30px; background: rgba(255,255,255,0.5); margin: 8px auto 0; }

.hero-small { min-height: 56vh; }
.hero-small .hero-inner { padding-bottom: 56px; }

/* =========================================================
   Sections
   ========================================================= */
section { position: relative; }
.sec { padding: 96px 0; }
.sec-tight { padding: 64px 0; }
.sec-dark { background: var(--bg-2); }
.sec-black { background: #0a0908; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 46px; }

/* room / property card grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }

.prop-card { background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.prop-card .img { aspect-ratio: 4/3; overflow: hidden; }
.prop-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.prop-card:hover .img img { transform: scale(1.06); }
.prop-card .body { padding: 26px 26px 30px; }
.prop-card .tag { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-soft); }
.prop-card h3 { font-size: 21px; margin-top: 10px; }
.prop-card .body p.desc { color: var(--ink-dim); font-size: 13.5px; margin-top: 12px; }
.prop-card .foot-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-soft); }

.room-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
  padding: 40px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.room-card .img { aspect-ratio: 16/11; overflow: hidden; background: #000; }
.room-card .img img { width: 100%; height: 100%; object-fit: cover; }
.room-card .thumbs { display: flex; gap: 8px; margin-top: 10px; }
.room-card .thumbs span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: block; }
.room-card .thumbs span.active { background: var(--accent); }
.room-card h3 { font-size: 24px; }
.room-card .meta { margin-top: 20px; }
.room-card .meta-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.room-card .meta-row span:first-child { color: var(--ink-faint); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .img { aspect-ratio: 4/3; overflow: hidden; }
.split .img img { width: 100%; height: 100%; object-fit: cover; }
.split.reverse .img { order: 2; }
.info-list { margin-top: 24px; }
.info-list li { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-dim); }
.info-list li b { color: var(--ink); min-width: 96px; font-weight: 500; }

.gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 4px; overflow-x: auto; padding-bottom: 4px; }
.gallery-strip img { width: 100%; height: 360px; object-fit: cover; }

.info-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.info-table tr { border-top: 1px solid var(--line-on-cream); }
.info-table th, .info-table td { text-align: left; padding: 16px 10px; font-size: 13.5px; vertical-align: top; }
.info-table th { width: 150px; color: var(--ink-on-cream-dim); font-weight: 500; }

.map-embed { border: 1px solid var(--line-on-cream); aspect-ratio: 4/3; overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15); }

.cta-banner { background: var(--accent); color: #1a1208; padding: 22px 0; }
.cta-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-banner ul { display: flex; gap: 24px; font-size: 12px; flex-wrap: wrap; }
.cta-banner ul li::before { content: "・"; }

.site-footer { background: #0a0908; padding: 70px 0 30px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-brand .name { font-family: var(--serif); font-size: 24px; letter-spacing: 0.08em; }
.footer-brand .socials { display: flex; gap: 16px; margin-top: 20px; color: var(--ink-dim); font-size: 12px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 13px; color: var(--ink-dim); }
.footer-col ul li a:hover { color: var(--ink); }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: var(--ink-faint); }
.brand-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-top: 30px; opacity: 0.8; font-size: 11px; letter-spacing: 0.08em; color: var(--ink-faint); }
.brand-row span { border: 1px solid var(--line); padding: 8px 14px; }

.breadcrumb { position: fixed; top: 96px; left: 32px; z-index: 60; font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.75); display: flex; gap: 8px; }

.subnav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(14,12,10,0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.subnav .wrap { display: flex; gap: 2px; overflow-x: auto; }
.subnav a {
  padding: 16px 18px; font-size: 12.5px; letter-spacing: 0.08em; white-space: nowrap;
  color: var(--ink-dim); border-bottom: 2px solid transparent;
}
.subnav a:hover, .subnav a.is-active { color: var(--ink); border-color: var(--accent); }

/* horseshoe motif divider */
.motif-divider { display: flex; align-items: center; gap: 16px; color: var(--accent); margin: 8px 0 30px; }
.motif-divider::before, .motif-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }

@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .room-card { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split .img { order: -1 !important; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 32px; }
  .cta-banner .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .site-header { padding: 18px 20px; }
  .hero-inner { padding: 0 20px 60px; }
  .sec { padding: 64px 0; }
}
