/* =========================================================
   Flock & Tide — quiet, muted, generous whitespace.
   Palette: cream / warm ink / muted sage / wool grey
   ========================================================= */

:root{
  --cream: #FCFBF9;
  --cream-deep: #F9FAF9;
  --ink: #33352F;
  --ink-soft: #6E7268;
  --sage: #0C7A57;
  --sage-deep: #1B2A22;
  --mint: #CDEFDB;
  --mint-deep: #A9E2C3;
  --wool: #A9B3A5;
  --wool-pale: #E7EAE4;
  --line: #E9E7DE;
  --shadow: 0 10px 30px rgba(38,48,43,0.06);
  --footer: #101522;
  --footer-text: #B7BAC2;

  --font-display: "Inter", "Noto Sans JP", sans-serif;
  --font-body: "Inter", "Noto Sans JP", -apple-system, sans-serif;

  --radius: 20px;
  --wrap: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

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

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}

p{ margin: 0 0 1.1em; color: var(--ink-soft); }
p:last-child{ margin-bottom: 0; }

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

/* ---------- header ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(247,244,238,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 20px; padding-bottom: 20px;
}
.logo{
  font-family: var(--font-body);
  font-size: 17px;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.logo-amp{ color: var(--sage); }
.main-nav{ display:flex; gap: 40px; }
.main-nav a{
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: color .25s ease;
}
.main-nav a:hover{ color: var(--sage); }

.lang-toggle{
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  width: 34px; height: 34px;
  background: var(--sage-deep);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background .25s ease;
}
.lang-toggle:hover{ background: var(--sage); }

.nav-toggle{ display:none; }

/* ---------- buttons ---------- */
.btn{
  display:inline-block;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-primary{ background: var(--sage-deep); color: #fff; }
.btn-primary:hover{ background: var(--sage); }
.btn-outline{ border-color: var(--sage-deep); color: var(--sage-deep); background: #fff; }
.btn-outline:hover{ background: var(--wool-pale); }

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding: 130px 0 120px;
  overflow: hidden;
  text-align:center;
}
.hero-motif-top{
  position:absolute; top:0; right:0;
  width: 56%; max-width: 900px; aspect-ratio: 1020/440;
  background-image: url("images/motif-top.png");
  background-size: contain; background-repeat: no-repeat; background-position: top right;
  pointer-events:none;
}
.hero-motif-wave{
  position:absolute; left:0; bottom:0;
  width: 52%; max-width: 780px; aspect-ratio: 1000/512;
  background-image: url("images/motif-wave.png");
  background-size: contain; background-repeat: no-repeat; background-position: bottom left;
  pointer-events:none;
}
.hero-motif-leaf{
  position:absolute; right:0; bottom:0;
  width: 17%; max-width: 250px; aspect-ratio: 510/525;
  background-image: url("images/motif-leaf.png");
  background-size: contain; background-repeat: no-repeat; background-position: bottom right;
  pointer-events:none;
}

.hero-inner{ position:relative; }
.hero-title{
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.05;
  display:flex; flex-direction:column; gap: 4px;
  margin-bottom: 28px;
}
.hero-title-en{ color: var(--ink); font-weight: 300; }
.hero-title-accent{ color: var(--sage); font-style: normal; font-weight: 700; }

.hero-lead{
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 44px;
}
.hero-cta{ display:flex; gap: 16px; justify-content:center; }

/* ---------- section shared ---------- */
section{ padding: 110px 0; }
.section-head{ text-align:center; max-width: 560px; margin: 0 auto 64px; }
.section-head h2{ font-size: 32px; margin-bottom: 14px; font-weight: 700; font-family: var(--font-body); }
.section-head p{ font-size: 15px; }
.section-eyebrow{
  font-size: 26px; margin-bottom: 22px; font-weight: 700; font-family: var(--font-body);
}

/* ---------- about ---------- */
.about{ background: var(--cream-deep); }
.about-grid{
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items:center;
}
.about-text p{ font-size: 15px; }
.about-note{
  display:flex; gap: 14px; align-items:flex-start;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-note-icon{ color: var(--wool); font-size: 18px; }
.about-note strong{ display:block; font-size: 14px; margin-bottom: 4px; }
.about-note span{ font-size: 13px; color: var(--ink-soft); }

.img-placeholder{
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(135deg, var(--wool-pale), var(--wool-pale) 12px, var(--cream-deep) 12px, var(--cream-deep) 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-soft); font-size: 12px; letter-spacing: 0.02em;
  text-align:center; padding: 20px;
}

/* photography: shared warm, slightly muted grade so sourced photos read as one set */
.site-photo{
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  filter: saturate(0.92) brightness(1.03) sepia(0.06) contrast(0.98);
}
/* cooler source photos (e.g. white-wall interiors) need extra warmth to match the set */
.site-photo-warm{
  filter: saturate(0.85) brightness(0.99) sepia(0.16) contrast(0.97);
}
.about-photo{
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- business ---------- */
.business-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.business-card{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.business-card-media{ margin-bottom: 24px; }
.business-card-media .img-placeholder{ aspect-ratio: 16/10; border-radius: 14px; }
.business-card-media .business-photo{ aspect-ratio: 16/10; border-radius: 14px; }
.business-card h3{ font-size: 20px; margin-bottom: 12px; font-weight: 600; font-family: var(--font-body); }
.business-card p{ font-size: 14.5px; }
.business-tag{
  display:inline-flex; align-items:center; gap:6px; margin-top: 20px;
  font-size: 13px; color: var(--sage); font-weight: 600;
}
.business-tag::before{ content:"●"; font-size: 8px; color: var(--sage); }
.business-tag-quiet{ color: var(--ink-soft); }

/* ---------- vision ---------- */
.vision{ background: var(--cream-deep); }
.vision-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 56px;
  text-align:center;
}
.vision-icon{
  width: 60px; height: 60px; margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--wool-pale);
  display:flex; align-items:center; justify-content:center;
}
.vision-icon svg{
  width: 26px; height: 26px;
  fill: none; stroke: var(--sage-deep); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.vision-item h3{ font-size: 18px; margin-bottom: 12px; font-weight: 600; font-family: var(--font-body); }
.vision-item p{ font-size: 14px; }

/* ---------- company ---------- */
.company-card{
  display:grid; grid-template-columns: 1fr 1fr; gap: 60px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 56px;
}
.company-col h3{ font-size: 17px; margin-bottom: 22px; font-weight: 600; font-family: var(--font-body); }
.company-col dl{ margin:0; }
.company-col dt{
  font-size: 12px; color: var(--ink-soft);
  letter-spacing: 0.04em; margin-top: 18px;
}
.company-col dt:first-child{ margin-top:0; }
.company-col dd{
  margin: 4px 0 0; font-size: 15px; color: var(--ink);
}
.company-col p{ font-size: 14.5px; }

/* ---------- contact ---------- */
.contact-form{
  max-width: 560px; margin: 0 auto 56px;
  display:flex; flex-direction:column; gap: 22px;
}
.form-row{ display:flex; flex-direction:column; gap: 8px; text-align:left; }
.form-row label{ font-size: 13px; color: var(--ink-soft); }
.form-row input, .form-row textarea{
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus{
  outline: none; border-color: var(--sage);
}
.contact-form .btn{ align-self:center; border:none; cursor:pointer; margin-top: 8px; }
.form-privacy-note{
  text-align:center; font-size: 12.5px; color: var(--ink-soft);
  margin: 4px 0 0;
}

/* honeypot: off-screen, never shown to real visitors */
.hp-field{ position:absolute; left:-9999px; top:-9999px; }

.form-status{
  max-width: 560px; margin: 0 auto 28px;
  padding: 14px 20px; border-radius: 12px;
  font-size: 14px; text-align:center;
}
.form-status.is-ok{ background: var(--mint); color: var(--sage-deep); }
.form-status.is-error{ background: #FBEAEA; color: #9A3B3B; }

.contact-meta{
  display:flex; justify-content:center; gap: 80px;
  text-align:center;
}
.contact-meta-label{
  display:block; font-size: 12px; color: var(--ink-soft);
  letter-spacing: 0.04em; margin-bottom: 6px;
}

/* ---------- footer ---------- */
.site-footer{ background: var(--footer); color: var(--footer-text); padding: 72px 0 0; }
.footer-inner{
  display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid #35382F;
}
.logo-light{ color: var(--cream); margin-bottom: 18px; }
.footer-brand p{ color: var(--footer-text); font-size: 13.5px; max-width: 320px; }
.footer-links h4{
  font-family: var(--font-body); font-size: 13px; letter-spacing: 0.05em;
  color: var(--cream); margin-bottom: 16px; font-weight: 500;
}
.footer-links a{
  display:block; font-size: 13.5px; color: var(--footer-text);
  margin-bottom: 10px;
}
.footer-links a:hover{ color: var(--wool); }
.footer-bottom{
  padding: 24px 32px; font-size: 12px; color: #8B8A80;
}

/* ---------- reveal-on-scroll (quiet fade, no motion by default) ---------- */
.reveal{ opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px){
  .main-nav{ display:none; }
  .main-nav.is-open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background: var(--cream);
    border-bottom:1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 4px 32px 16px;
  }
  .main-nav.is-open a{
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open a:last-child{ border-bottom: none; }
  .nav-toggle{
    display:flex; flex-direction:column; gap:5px;
    background:none; border:none; cursor:pointer; padding:4px;
  }
  .nav-toggle span{ width:20px; height:1px; background: var(--ink); }

  .about-grid, .business-grid, .company-card{
    grid-template-columns: 1fr;
  }
  .vision-grid{ grid-template-columns: 1fr; gap: 40px; }
  .footer-inner{ grid-template-columns: 1fr; }
  section{ padding: 76px 0; }
  .hero{ padding: 96px 0 80px; }
}

/* phones: the motif is sized/positioned by width%, which shrinks it too
   short (aspect-ratio) to still reach the heading text like it does on
   desktop, so give it a phone-specific size that keeps the overlap */
@media (max-width: 480px){
  .hero-motif-top{ width: 120%; max-width: none; }
}
