/* ===========================================================
   Wild Hazel & Star japan ― concept site
   Palette: clean white / light grey base + new-leaf green + soil brown
=========================================================== */

:root{
  --c-bg:            #faf8f3;
  --c-bg-alt:        #f1ece1;
  --c-surface:       #ffffff;
  --c-text:          #2a2420;
  --c-text-soft:     #6b6258;
  --c-line:          #e3dccc;

  --c-green:         #46623f;
  --c-green-deep:    #2f4530;
  --c-green-soft:    #e7ede1;

  --c-brown:         #8a5a3c;
  --c-brown-deep:    #5c3a26;
  --c-brown-soft:    #f0e4d4;

  --c-gold:          #b8902f;

  --font-head: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --maxw: 1180px;
  --radius: 2px;
  --shadow: 0 10px 40px -18px rgba(42,36,32,0.25);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--c-bg);
  color:var(--c-text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.9;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-head); margin:0; line-height:1.4; }
p{ margin:0; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-weight:700;
  font-size:13px; letter-spacing:.18em; color:var(--c-green);
  text-transform:uppercase; margin-bottom:14px;
}
.eyebrow::before{ content:""; width:28px; height:2px; background:var(--c-brown); display:inline-block; }

.section{ padding:96px 0; position:relative; }
.section--alt{ background:var(--c-bg-alt); }
.section--brown{ background:var(--c-brown-deep); color:#f6efe4; }
.section--green{ background:var(--c-green-deep); color:#f1f3ea; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-title{ font-size:clamp(26px,3.4vw,38px); font-weight:800; }
.section-lead{ margin-top:16px; color:var(--c-text-soft); font-size:16px; }
.section--brown .section-lead, .section--green .section-lead{ color:rgba(255,255,255,.72); }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:16px 32px; border-radius:999px; font-family:var(--font-head);
  font-weight:700; font-size:15px; letter-spacing:.03em;
  border:1.5px solid var(--c-green); background:var(--c-green); color:#fff;
  transition:all .25s ease; cursor:pointer;
}
.btn:hover{ background:var(--c-green-deep); border-color:var(--c-green-deep); transform:translateY(-2px); }
.btn--ghost{ background:transparent; color:var(--c-green); }
.btn--ghost:hover{ background:var(--c-green); color:#fff; }
.btn--light{ border-color:#fff; background:#fff; color:var(--c-green-deep); }
.btn--light:hover{ background:transparent; color:#fff; }

/* ---------------- Header ---------------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(250,248,243,.86); backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .3s, background .3s;
}
.site-header.is-scrolled{ border-color:var(--c-line); }
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:82px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ width:38px; height:38px; flex:none; }
.brand-text{ font-family:var(--font-head); font-weight:800; line-height:1.15; }
.brand-text small{ display:block; font-weight:500; font-size:10.5px; letter-spacing:.14em; color:var(--c-text-soft); }
.brand-text span{ font-size:17px; letter-spacing:.02em; }

.nav-desktop{ display:flex; align-items:center; gap:34px; }
.nav-desktop a{
  font-family:var(--font-head); font-size:14.5px; font-weight:700;
  color:var(--c-text); position:relative; padding:6px 0;
}
.nav-desktop a.active, .nav-desktop a:hover{ color:var(--c-green); }
.nav-desktop a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--c-brown);
}
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-cta .btn{ padding:11px 22px; font-size:13.5px; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--c-text); margin:5px 0; transition:.25s; }

.nav-mobile{
  position:fixed; inset:82px 0 0 0; background:var(--c-bg); z-index:99;
  transform:translateX(100%); transition:transform .35s ease; overflow-y:auto;
}
.nav-mobile.is-open{ transform:translateX(0); }
.nav-mobile .wrap{ display:flex; flex-direction:column; padding:36px 24px; gap:4px; }
.nav-mobile a{
  font-family:var(--font-head); font-weight:700; font-size:19px;
  padding:16px 4px; border-bottom:1px solid var(--c-line);
}
.nav-mobile .btn{ margin-top:24px; justify-content:center; }

@media (max-width:980px){
  .nav-desktop{ display:none; }
  .nav-cta .btn--ghost{ display:none; }
  .nav-toggle{ display:block; }
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative; min-height:92vh; display:flex; align-items:flex-end;
  color:#fff; padding-top:82px; overflow:hidden;
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img{ width:100%; height:100%; object-fit:cover; }
.hero-bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(20,24,16,.35) 0%, rgba(20,20,14,.35) 45%, rgba(18,16,12,.88) 100%);
}
.hero-inner{ position:relative; z-index:1; padding-bottom:88px; width:100%; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px; padding:8px 16px;
  background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.35);
  border-radius:999px; font-size:12.5px; letter-spacing:.14em; font-weight:700;
  margin-bottom:26px; backdrop-filter:blur(6px);
}
.hero h1{
  font-size:clamp(32px,5.4vw,60px); font-weight:800; letter-spacing:.01em;
  max-width:880px; text-shadow:0 2px 24px rgba(0,0,0,.25);
}
.hero h1 em{ font-style:normal; color:#d9e6ce; }
.hero-sub{
  margin-top:22px; font-size:clamp(15px,1.6vw,18px); max-width:560px;
  color:rgba(255,255,255,.88); font-weight:500;
}
.hero-actions{ display:flex; gap:16px; margin-top:38px; flex-wrap:wrap; }
.hero-scroll{
  position:absolute; right:28px; bottom:28px; writing-mode:vertical-rl;
  font-size:11px; letter-spacing:.2em; color:rgba(255,255,255,.75); z-index:1;
  display:flex; align-items:center; gap:10px;
}
.hero-scroll::after{ content:""; width:1px; height:50px; background:rgba(255,255,255,.5); }

.page-hero{
  position:relative; padding:170px 0 90px; color:#fff; overflow:hidden;
}
.page-hero .hero-bg::after{ background:linear-gradient(180deg, rgba(20,20,14,.55) 0%, rgba(18,16,12,.78) 100%); }
.page-hero .wrap{ position:relative; z-index:1; }
.page-hero .eyebrow{ color:#d9e6ce; }
.page-hero .eyebrow::before{ background:var(--c-gold); }
.page-hero h1{ font-size:clamp(28px,4.4vw,46px); font-weight:800; }
.page-hero p{ margin-top:16px; max-width:600px; color:rgba(255,255,255,.85); }
.breadcrumb{ margin-top:24px; font-size:12.5px; color:rgba(255,255,255,.6); display:flex; gap:8px; }

/* ---------------- Stats / Numbers ---------------- */
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin-top:52px; }
.stat{ text-align:center; padding:28px 12px; border-left:1px solid var(--c-line); }
.stat:first-child{ border-left:none; }
.stat-num{ font-family:var(--font-head); font-size:38px; font-weight:800; color:var(--c-green); }
.stat-num sup{ font-size:16px; }
.stat-label{ margin-top:8px; font-size:12.5px; color:var(--c-text-soft); letter-spacing:.05em; }
@media (max-width:760px){
  .stat-row{ grid-template-columns:repeat(2,1fr); }
  .stat{ border-left:none; border-top:1px solid var(--c-line); }
}

/* ---------------- Cards / Grids ---------------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:30px; }
@media (max-width:900px){ .grid-3{ grid-template-columns:1fr; } .grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--c-surface); border:1px solid var(--c-line); border-radius:var(--radius);
  overflow:hidden; transition:transform .3s, box-shadow .3s;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.card-img{ aspect-ratio:4/3; overflow:hidden; }
.card-img img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.card:hover .card-img img{ transform:scale(1.07); }
.card-body{ padding:26px 26px 30px; }
.card-tag{ font-size:11.5px; font-weight:700; letter-spacing:.1em; color:var(--c-brown); text-transform:uppercase; }
.card-body h3{ margin-top:10px; font-size:19px; font-weight:800; }
.card-body p{ margin-top:10px; color:var(--c-text-soft); font-size:14.5px; }

.icon-box{
  width:52px; height:52px; border-radius:50%; background:var(--c-green-soft);
  display:flex; align-items:center; justify-content:center; color:var(--c-green); flex:none;
}

/* ---------------- Split layout ---------------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split.rev{ direction:rtl; } .split.rev > *{ direction:ltr; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:36px; } .split.rev{ direction:ltr; } }
.split-media{ position:relative; }
.split-media img{ width:100%; border-radius:var(--radius); box-shadow:var(--shadow); }
.split-media .tag-float{
  position:absolute; bottom:-22px; left:-22px; background:var(--c-brown);
  color:#fff; padding:18px 24px; border-radius:var(--radius); max-width:230px;
  font-family:var(--font-head); font-weight:700; font-size:13.5px; box-shadow:var(--shadow);
}
@media (max-width:560px){ .split-media .tag-float{ position:static; margin-top:14px; max-width:none; } }
.split h2{ font-size:clamp(24px,3vw,32px); font-weight:800; }
.split p{ margin-top:18px; color:var(--c-text-soft); }
.check-list{ margin-top:22px; display:flex; flex-direction:column; gap:12px; }
.check-list li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; }
.check-list svg{ color:var(--c-green); flex:none; margin-top:3px; }

/* ---------------- Timeline (growth story) ---------------- */
.timeline{ position:relative; margin-top:20px; }
.timeline::before{
  content:""; position:absolute; left:19px; top:6px; bottom:6px; width:2px;
  background:linear-gradient(var(--c-green), var(--c-brown)); opacity:.35;
}
.timeline-item{ position:relative; padding-left:58px; margin-bottom:44px; }
.timeline-item:last-child{ margin-bottom:0; }
.timeline-dot{
  position:absolute; left:0; top:0; width:40px; height:40px; border-radius:50%;
  background:var(--c-surface); border:2px solid var(--c-green); display:flex;
  align-items:center; justify-content:center; color:var(--c-green); font-weight:800; font-size:12px;
  z-index:1;
}
.timeline-item.is-future .timeline-dot{ border-style:dashed; color:var(--c-text-soft); border-color:var(--c-text-soft); }
.timeline-date{ font-family:var(--font-head); font-weight:700; color:var(--c-brown); font-size:13.5px; letter-spacing:.05em; }
.timeline-item h3{ margin-top:6px; font-size:19px; font-weight:800; }
.timeline-item p{ margin-top:8px; color:var(--c-text-soft); font-size:14.5px; max-width:620px; }
.timeline-media{ margin-top:14px; border-radius:var(--radius); overflow:hidden; max-width:420px; box-shadow:var(--shadow); }
.timeline-media img{ width:100%; }
.status-pill{
  display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700;
  padding:4px 12px; border-radius:999px; margin-top:10px;
}
.status-pill.ongoing{ background:var(--c-green-soft); color:var(--c-green); }
.status-pill.future{ background:var(--c-bg-alt); color:var(--c-text-soft); border:1px dashed var(--c-line); }

/* ---------------- Quote ---------------- */
.quote-block{
  max-width:760px; margin:0 auto; text-align:center;
}
.quote-block q{
  font-family:var(--font-head); font-size:clamp(20px,2.6vw,28px); font-weight:700; line-height:1.7;
  quotes:none;
}
.quote-block q::before, .quote-block q::after{ content:""; }
.quote-signee{ margin-top:28px; display:flex; align-items:center; justify-content:center; gap:14px; }
.quote-signee img{ width:52px; height:52px; border-radius:50%; object-fit:cover; }
.quote-signee div{ text-align:left; font-size:13.5px; }
.quote-signee strong{ display:block; font-family:var(--font-head); }

/* ---------------- Table (company info) ---------------- */
.info-table{ width:100%; border-collapse:collapse; }
.info-table tr{ border-bottom:1px solid var(--c-line); }
.info-table th,.info-table td{ padding:20px 10px; text-align:left; vertical-align:top; }
.info-table th{ width:200px; font-family:var(--font-head); font-weight:700; color:var(--c-brown); font-size:14.5px; }
.info-table td{ font-size:14.5px; color:var(--c-text); }
@media (max-width:640px){
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td{ display:block; width:auto; }
  .info-table th{ padding-bottom:4px; }
  .info-table td{ padding-top:0; padding-bottom:20px; }
}

/* ---------------- Form ---------------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-grid .full{ grid-column:1/-1; }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } }
.field label{ display:block; font-size:13.5px; font-weight:700; font-family:var(--font-head); margin-bottom:8px; }
.field label .req{ color:#b23b3b; font-size:11px; margin-left:6px; }
.field input, .field select, .field textarea{
  width:100%; padding:14px 16px; border:1.5px solid var(--c-line); border-radius:var(--radius);
  font-family:var(--font-body); font-size:14.5px; background:#fff; color:var(--c-text);
}
.field textarea{ min-height:140px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--c-green); }

/* ---------------- Map ---------------- */
.map-frame{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--c-line); }
.map-frame iframe{ width:100%; height:420px; border:0; display:block; }
.map-note{
  margin-top:14px; font-size:13px; color:var(--c-text-soft); background:var(--c-bg-alt);
  padding:14px 18px; border-radius:var(--radius); border:1px dashed var(--c-line);
}

/* ---------------- Footer ---------------- */
.site-footer{ background:var(--c-green-deep); color:rgba(255,255,255,.82); padding-top:72px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.12); }
@media (max-width:860px){ .footer-top{ grid-template-columns:1fr 1fr; } }
.footer-brand .brand-text, .footer-brand .brand-text small{ color:#fff; }
.footer-brand p{ margin-top:16px; font-size:13.5px; color:rgba(255,255,255,.65); max-width:280px; }
.footer-col h4{ font-size:13px; letter-spacing:.08em; color:var(--c-gold); margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; font-size:14px; }
.footer-col a:hover{ color:#fff; text-decoration:underline; }
.footer-social{ display:flex; gap:12px; margin-top:18px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.3);
  display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ background:#fff; color:var(--c-green-deep); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:24px 0; font-size:12.5px; color:rgba(255,255,255,.55); flex-wrap:wrap; gap:10px; }

/* ---------------- Reveal animation ---------------- */
[data-reveal]{ opacity:0; transform:translateY(26px); transition:opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible{ opacity:1; transform:none; }

/* ---------------- Misc ---------------- */
.divider{ height:1px; background:var(--c-line); margin:72px 0; }
.cta-banner{
  background:var(--c-brown-deep); color:#fff; border-radius:var(--radius);
  padding:60px 48px; display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap;
}
.cta-banner h3{ font-size:clamp(20px,2.6vw,28px); font-weight:800; max-width:520px; }
.cta-banner p{ margin-top:10px; color:rgba(255,255,255,.7); font-size:14.5px; }

.tag-cloud{ display:flex; flex-wrap:wrap; gap:10px; }
.tag-cloud span{
  font-size:12.5px; padding:7px 14px; border-radius:999px; background:var(--c-brown-soft);
  color:var(--c-brown-deep); font-weight:700;
}

.demo-badge{
  position:fixed; left:18px; bottom:18px; z-index:200;
  background:rgba(42,36,32,.92); color:#f6efe4; font-size:11.5px; font-weight:700;
  padding:10px 16px; border-radius:999px; letter-spacing:.04em; box-shadow:var(--shadow);
  display:flex; align-items:center; gap:8px;
}
.demo-badge svg{ color:var(--c-gold); }
