/* ============================================================
   Release — Yayoi Enoki  ·  shared stylesheet
   Elegant Japanese wellness / beauty brand recreation.
   Revision build for yayoi-enoki.com (WordPress/Elementor spec).
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #FAF7F2;   /* warm cream */
  --bg-2:      #F2ECE3;   /* deeper sand */
  --bg-3:      #EBE3D8;
  --card:      #FFFFFF;

  /* ink */
  --ink:       #2B2520;   /* warm charcoal */
  --ink-soft:  #5A5149;
  --muted:     #8A8077;
  --faint:     #B6ADA2;

  /* accent — warm taupe-gold, used sparingly */
  --accent:    #A98E6F;
  --accent-deep:#8C7150;
  --rose:      #C8A99B;   /* soft secondary, rare */

  /* lines */
  --line:      rgba(43,37,32,0.14);
  --line-soft: rgba(43,37,32,0.08);

  /* type */
  --serif: "Cormorant Garamond", "Zen Old Mincho", serif;
  --jp:    "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --jp-mincho: "Shippori Mincho", "Zen Old Mincho", serif;
  --label: "Jost", "Zen Kaku Gothic New", sans-serif;

  /* layout */
  --container: 1120px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--jp);
  font-weight: 400;
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* safety net only — real overflow is fixed at source */
}

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

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

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

p {
  margin: 0;
  text-wrap: pretty;
  line-break: strict;
  word-break: normal;
}

.pc-br { display: inline; }
.sp-br { display: none; }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: 110px 0; }
.section--tight { padding: 72px 0; }
.bg-sand { background: var(--bg-2); }
.center { text-align: center; }

/* ---------- eyebrow label  ( ABOUT ) ---------- */
.eyebrow {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}
.eyebrow::before { content: "( "; }
.eyebrow::after  { content: " )"; }

/* English display heading */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ink);
}
.display--xl { font-size: clamp(34px, 6vw, 60px); }
.display--lg { font-size: clamp(28px, 4.5vw, 44px); }
.display--md { font-size: clamp(22px, 3vw, 30px); letter-spacing: 0.18em; }

/* section header block */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { display: inline-block; margin-bottom: 18px; }
.section-head__lead {
  margin-top: 18px;
  font-family: var(--jp-mincho);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  line-break: strict;
}

/* ---------- SEO helpers: breadcrumb / related pages ---------- */
.breadcrumb {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto 38px;
  padding-inline: var(--gutter);
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--faint);
}
.breadcrumb a {
  color: var(--accent-deep);
  transition: color .3s ease;
}
.breadcrumb a:hover { color: var(--ink); }
.related-pages {
  margin-top: 76px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.related-pages__title {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 22px;
  text-align: center;
}
.related-pages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card {
  display: block;
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(250,247,242,0.46);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.related-card:hover {
  border-color: var(--accent);
  background: rgba(250,247,242,0.72);
  transform: translateY(-2px);
}
.related-card__label {
  display: block;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.related-card__title {
  display: block;
  font-family: var(--jp-mincho);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-break: strict;
}

/* Japanese running copy */
.jp-body {
  font-family: var(--jp);
  font-weight: 400;
  line-height: 2.15;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-size: 15px;
  line-break: strict;
  word-break: normal;
}
.jp-lead {
  font-family: var(--jp-mincho);
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-size: 16px;
  line-break: strict;
  word-break: normal;
}

/* thin rule */
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--accent { border-color: var(--accent-deep); color: var(--accent-deep); }
.btn--accent:hover { background: var(--accent-deep); color: #fff; }
.btn .arrow { font-size: 13px; }

/* text link with arrow (VIEW MORE) */
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: color .3s ease, border-color .3s ease;
}
.more:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ============================================================
   DUMMY IMAGE PLACEHOLDER
   On-brand, clearly labelled, names the intended final asset.
   ============================================================ */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    repeating-linear-gradient(135deg, rgba(169,142,111,0.04) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, #EEE6DA 0%, #E4D9C8 100%);
  color: var(--accent-deep);
  border: 1px solid rgba(140,113,80,0.28);
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.ph__icon { width: 40px; height: 40px; opacity: 0.7; }
.ph__icon svg { width: 100%; height: 100%; stroke: var(--accent-deep); fill: none; stroke-width: 1.4; }
.ph__desc {
  font-family: var(--jp-mincho);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  line-height: 1.5;
}
.ph__file {
  font-family: "Jost", monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(140,113,80,0.78);
  background: rgba(255,255,255,0.5);
  padding: 4px 10px;
  border-radius: 2px;
}
.ph__tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: "Jost", sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-deep);
  padding: 3px 9px;
  border-radius: 2px;
}

.image-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid rgba(140,113,80,0.20);
}
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(250,247,242,0.04), rgba(43,37,32,0.05));
}

/* ============================================================
   HEADER (injected by release.js)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
  background: rgba(250,247,242,0.0);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.site-header.scrolled {
  background: rgba(250,247,242,0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  line-height: 0.92;
}
.brand__word {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: 0.105em;
  color: var(--ink);
  transform: translateY(-1px);
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav a, .nav button {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: color .3s ease;
}
.nav a:hover, .nav button:hover { color: var(--accent-deep); }
.nav .nav-contact {
  border: 1px solid var(--ink);
  padding: 10px 20px;
  color: var(--ink);
}
.nav .nav-contact:hover { background: var(--ink); color: var(--bg); }

.nav-toggle { display: none; }

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(250,247,242,0.98);
  backdrop-filter: blur(8px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  display: none;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button {
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  background: none; border: 0; cursor: pointer;
}
.mobile-menu .mm-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 26px; letter-spacing: 0;
}
.mobile-menu .mm-sub {
  font-family: var(--jp);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: -14px;
}

/* ============================================================
   SERVICES popup (Elementor popup recreation)
   ============================================================ */
.svc-popup {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(43,37,32,0.55);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.svc-popup.open { display: flex; }
.svc-popup__panel {
  background: var(--bg);
  max-width: 520px; width: 100%;
  padding: 48px 40px;
  text-align: center;
  position: relative;
}
.svc-popup__panel .display { margin-bottom: 28px; }
.svc-popup__links { display: flex; flex-direction: column; gap: 4px; }
.svc-popup__links a {
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px;
  border-top: 1px solid var(--line);
  transition: color .3s ease, background .3s ease;
}
.svc-popup__links a:last-child { border-bottom: 1px solid var(--line); }
.svc-popup__links a:hover { color: var(--accent-deep); background: var(--bg-2); }
.svc-popup__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-popup__soon {
  font-family: var(--label);
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 3px 9px; line-height: 1;
  white-space: nowrap;
}
.svc-popup__close {
  position: absolute; top: 16px; right: 20px;
  font-size: 22px; cursor: pointer; color: var(--muted);
  background: none; border: 0;
}

/* ============================================================
   FOOTER (injected by release.js)
   ============================================================ */
.site-footer {
  background: var(--bg-2);
  padding: 72px 0 36px;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand .brand { display: inline-flex; margin-bottom: 18px; }
.footer-addr {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.footer-social { display: flex; gap: 18px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: border-color .3s, color .3s;
}
.footer-social a:hover { border-color: var(--accent-deep); color: var(--accent-deep); }
.footer-social svg { width: 17px; height: 17px; }
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.footer-nav a {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .3s ease;
}
.footer-nav a:hover { color: var(--accent-deep); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* page hero spacer so fixed header doesn't overlap */
.page-top { padding-top: 132px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav .nav-link, .nav .nav-contact, .nav .nav-services { display: none; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 6px;
  }
  .nav-toggle span { width: 26px; height: 1.5px; background: var(--ink); display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .related-pages__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section--tight { padding: 52px 0; }
  :root { --gutter: 20px; }
  .section-head { margin-bottom: 40px; }
  .breadcrumb { margin-bottom: 28px; }
  .related-pages { margin-top: 54px; padding-top: 32px; }
  body { font-size: 15px; }
  .pc-br { display: none; }
  .sp-br { display: inline; }
  .jp-body {
    font-size: 14.5px;
    line-height: 2.05;
    letter-spacing: 0.025em;
  }
  .jp-lead {
    font-size: 15px;
    line-height: 2.05;
    letter-spacing: 0.035em;
  }
  .section-head__lead,
  .related-card__title {
    line-height: 1.85;
    letter-spacing: 0.035em;
  }
}
