@charset "UTF-8";
/* =========================================================================
   enmuseB / 株式会社えんむすび — TOP page renewal
   Scoped under .emb so it can live inside the Xeory Extension child theme
   without colliding with base.css.
   ========================================================================= */

/* ---------- tokens ---------- */
.emb {
  --bg:          #F6F4F1;
  --surface:     #FFFFFF;
  --surface-2:   #FAF9F6;
  --surface-3:   #F1EEE8;

  --ink:         #16160F;
  --ink-2:       #3D3D38;
  --ink-3:       #6E6E68;
  --muted:       #9A9A93;

  --line:        #E6E1D8;
  --line-soft:   #EFEBE4;

  --gold:        #C08A2E;
  --gold-deep:   #B4832A;
  --gold-soft:   #D2B16B;
  --gold-wash:   #F3EAD8;

  --blob-peach:  #FBF5ED;
  --blob-blue:   #F3F7FC;
  --blob-green:  #F3F9F2;

  /* System mincho first: Yu Mincho (Win) and Hiragino Mincho (mac) ship the
     "palt" feature, which is what keeps 「」。 from leaving full-width gaps.
     Noto Serif JP has no palt at all, so it only serves as the cross-platform
     safety net. */
  --serif: "Yu Mincho", YuMincho, "游明朝", "游明朝体", "Hiragino Mincho ProN",
           "Hiragino Mincho Pro", "Noto Serif JP", "HGS明朝E", serif;
  --sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;

  /* Fluid. The px values are fixed targets from the design, but a 40px sweep on a
     full-width section reads very differently at 430px than at 1199px — the same
     radius eats roughly 3× the proportion of the box. Each clamp hits its
     original value at 1024px and is capped there, so 1024px and up (including the
     1199px calibration canvas) is byte-for-byte what it was; below that it eases
     down to the mobile floor. */
  --r-sm: clamp(8px,  0.98vw, 10px);
  --r-md: clamp(12px, 1.56vw, 16px);
  --r-lg: clamp(18px, 2.54vw, 26px);
  --r-xl: clamp(24px, 3.90vw, 40px);

  --gut: clamp(20px, 4.5vw, 62px);
  --header-h: 92px;
  --header-h-stuck: 72px;
  --maxw: 1240px;
  --maxw-wide: 1440px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- scoped reset ---------- */
.emb, .emb *, .emb *::before, .emb *::after { box-sizing: border-box; }
.emb {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  /* NOTE: no "palt". Noto Serif JP (Google Fonts) ships without the feature, so
     enabling it compressed the sans body copy ~11% while leaving headings full
     width — the two faces drifted apart. Off matches the approved mockup. */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.emb :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, dl, dt, dd, blockquote) { margin: 0; padding: 0; }
.emb :where(ul, ol) { list-style: none; }
.emb :where(img, svg) { display: block; max-width: 100%; }
.emb :where(img) { height: auto; }
.emb :where(a) { color: inherit; text-decoration: none; }
.emb button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* SVG clip-path definitions live in the markup but must not take up space. */
.emb-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- shared bits ---------- */
.emb-wrap  { width: 100%; max-width: var(--maxw);      margin-inline: auto; padding-inline: var(--gut); }
.emb-wrap--wide { width: 100%; max-width: var(--maxw-wide); margin-inline: auto; padding-inline: var(--gut); }

.emb-eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1;
}
.emb-eyebrow--ruled { display: block; align-self: flex-start; }
.emb-eyebrow--ruled::after {
  content: ""; display: block; width: 30px; height: 1px;
  background: var(--gold-soft); margin-top: 14px;
}

.emb-h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 2.75vw, 36px);
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--ink);
}
.emb-h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.6;
  letter-spacing: .01em;
}
.emb-lead { font-size: 15px; line-height: 2.1; color: var(--ink-2); }

/* Proportional punctuation for the mincho headings only. Body copy stays
   full-width — Noto Sans JP's palt compressed it ~11% against the design. */
.emb-h2, .emb-h3, .emb-hero__title, .emb-concept__title, .emb-services__title,
.emb-panel__title, .emb-works__title, .emb-reason__title, .emb-reason__name,
.emb-approach__title, .emb-philosophy__title, .emb-philosophy__statement,
.emb-billboard__title, .emb-step__name, .emb-card__title, .emb-term__head,
.emb-card__num, .emb-reason__num, .emb-step__num {
  font-feature-settings: "palt" 1;
}
.emb-body { font-size: 14px; line-height: 2.1; color: var(--ink-3); }

/* text link with gold underline + arrow */
.emb-link {
  display: inline-flex; align-items: center; gap: 28px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-soft);
  color: var(--ink);
  transition: gap .35s var(--ease), color .35s var(--ease);
}
.emb-arrow {
  flex-shrink: 0; width: 26px; height: 1px; background: currentColor; position: relative;
  transition: background .35s var(--ease);
}
.emb-arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg); transition: border-color .35s var(--ease);
}
.emb-link:hover { gap: 36px; color: var(--gold-deep); }
.emb-link:hover .emb-arrow { background: var(--gold-deep); }
.emb-link:hover .emb-arrow::after { border-color: var(--gold-deep); }
.emb-link--gold { color: var(--gold-deep); }
.emb-link--gold .emb-arrow { background: var(--gold-deep); }
.emb-link--gold .emb-arrow::after { border-color: var(--gold-deep); }

/* round arrow chip */
.emb-chip {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-3); color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.emb-chip svg { width: 15px; height: 15px; }
.emb-chip--dark { background: var(--ink); color: #fff; }
.emb-chip--gold { background: var(--gold-deep); color: #fff; }

.emb-watermark {
  font-size: 11px; letter-spacing: .26em; line-height: 2.1;
  color: #C9C6BE; text-transform: uppercase; text-align: right; font-weight: 500;
}

/* section rhythm */
.emb-section { padding-block: clamp(64px, 8vw, 118px); }
/* in-page anchors must not land underneath the fixed header */
.emb [id] { scroll-margin-top: calc(var(--header-h-stuck) + 20px); }

/* ============================ HEADER ============================ */
/* Floats transparently over the hero photo; gains a surface once scrolled. */
.emb-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.emb-header.is-stuck {
  background: rgba(246, 244, 241, .94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 10px 30px -22px rgba(0,0,0,.4);
}
.emb-header__inner {
  display: flex; align-items: center; gap: clamp(24px, 4.75vw, 60px);
  height: var(--header-h);
  width: 100%; margin-inline: auto; padding-inline: var(--gut);
  transition: height .4s var(--ease);
}
.emb-header.is-stuck .emb-header__inner { height: var(--header-h-stuck); }

.emb-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.emb-brand img { width: 130px; transition: width .4s var(--ease); }
.emb-header.is-stuck .emb-brand img { width: 108px; }
.emb-brand__name { font-size: 10px; letter-spacing: 0; color: var(--ink-2); font-weight: 700; line-height: 1; white-space: nowrap; }

.emb-nav { margin-left: auto; }
/* direct child only — the service dropdown is a nested <ul> and must not be
   laid out as a second row of the top-level flex line */
.emb-nav > ul { display: flex; align-items: center; gap: clamp(20px, 3.55vw, 46px); }
.emb-nav a {
  position: relative; font-size: 13.5px; font-weight: 700; letter-spacing: 0; color: var(--ink);
  transition: color .3s var(--ease);
}
.emb-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px;
  height: 1px; background: var(--gold-deep); transition: right .35s var(--ease);
}
.emb-nav a:hover { color: var(--gold-deep); }
.emb-nav a:hover::after { right: 0; }

.emb-cta {
  display: inline-flex; align-items: center; gap: 12px;
  height: 43px; padding: 0 25px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500; letter-spacing: .06em;
  flex-shrink: 0;
  transition: background .35s var(--ease), gap .35s var(--ease);
}
.emb-cta svg { width: 19px; height: 10px; flex-shrink: 0; }
.emb-cta:hover { background: var(--gold-deep); gap: 18px; }

.emb-burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.emb-burger span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.emb-burger span:nth-child(1) { top: 16px; }
.emb-burger span:nth-child(2) { top: 22px; }
.emb-burger span:nth-child(3) { top: 28px; }
.emb-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.emb-burger.is-open span:nth-child(2) { opacity: 0; }
.emb-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* NOTE: rendered as a sibling of .emb-header, not a child — .emb-header uses
   backdrop-filter, which would make it the containing block for position:fixed. */
.emb-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 104px var(--gut) 60px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
  overflow-y: auto;
}
.emb-drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.emb-drawer ul { display: flex; flex-direction: column; }
.emb-drawer li { border-bottom: 1px solid var(--line); }
.emb-drawer li > a { display: block; padding: 20px 4px; font-size: 16px; font-weight: 700; }
.emb-drawer .emb-cta { margin-top: 32px; width: 100%; justify-content: center; }

/* ============================ HERO ============================ */
/* Geometry transcribed from the approved mockup (measured at a 1199px canvas):
   photo bleeds to the top-right corner behind the header, box x476..1199 / y0..609.
   All values below are expressed as ratios of that box so they scale. */
.emb-hero {
  position: relative;
  /* exactly the photo's height — CONCEPT overlaps upward from here by design */
  min-height: 50.8vw;
}

.emb-hero__media {
  position: absolute; top: 0; right: 0; z-index: 0;
  width: 60.3%;
  aspect-ratio: 723 / 609;
}
.emb-hero__fig {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 65% 0 0 69% / 52.5% 0 0 47.5%;
}
.emb-hero__fig img { width: 100%; height: 100%; object-fit: cover; }
.emb-hero__fig::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(225deg, rgba(0,0,0,.24) 0%, rgba(0,0,0,0) 46%);
}

.emb-hero__caption { position: absolute; z-index: 2; left: 65.7%; top: 26.8%; color: #fff; }
.emb-hero__caption p {
  border-left: 1px solid rgba(255,255,255,.75);
  padding: 18px 0 18px 22px;
  font-size: clamp(13px, 1.42vw, 19px);
  line-height: 1.82;
  letter-spacing: .05em;
  font-weight: 500;
  text-shadow: 0 1px 16px rgba(0,0,0,.28);
  white-space: nowrap;
}
.emb-hero__caption::after {
  content: ""; display: block; width: 22px; height: 1px;
  background: rgba(255,255,255,.85); margin: 21px 0 0 23px;
}

.emb-hero__inner { position: relative; z-index: 1; padding-inline: var(--gut); }
/* The mockup blanks out the CTA link here but keeps this terminal accent mark. */
.emb-hero__rule { margin-top: 24px; width: 40px; height: 1px; background: var(--gold-soft); }
.emb-hero__copy { max-width: 470px; padding-top: 145px; }

.emb-hero__title {
  margin-top: 17px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.375;
  letter-spacing: 0;
}
.emb-hero__lead {
  margin-top: 12px;
  font-size: clamp(15px, 1.42vw, 19px);
  line-height: 1.647;
  color: var(--ink-2);
}
/* ============================ CONCEPT ============================ */
/* Geometry transcribed from the mockup (1199px canvas). Section top is pinned to
   y=569 so the left blob overlaps the hero exactly as in the design.
   Both photos are organic blobs — reproduced with SVG clip paths in
   objectBoundingBox units (see .emb-defs in the markup) so they scale. */
.emb-concept {
  position: relative;
  margin-top: -3.34vw;          /* hero ends at 50.8vw; blob starts at 47.46vw */
  min-height: 62vw;             /* 743 / 1199 */
  padding-bottom: clamp(24px, 3vw, 48px);
}

/* ---- left blob: regional landscape, bleeds off the left edge ---- */
.emb-concept__area {
  position: absolute; left: 0; top: 0; z-index: 0;
  width: 36.11vw;               /* 433 / 1199 */
  aspect-ratio: 433 / 627;
  clip-path: url(#embBlobL);
  overflow: hidden;
}
.emb-concept__area img { width: 100%; height: 100%; object-fit: cover; }

/* ---- right blob: handshake, bleeds off the right edge ---- */
.emb-concept__side {
  position: absolute; right: 0; top: 4.84vw; z-index: 0;
  width: 28.52vw;               /* 342 / 1199 */
  aspect-ratio: 342 / 436;
  clip-path: url(#embBlobR);
  overflow: hidden;
}
.emb-concept__side img { width: 100%; height: 100%; object-fit: cover; }

/* ---- the two gold captions ---- */
.emb-caption-rule {
  border-left: 1px solid var(--gold-soft); padding: 15px 0 15px 24px;
  font-size: clamp(13px, 1.42vw, 19px); line-height: 1.76; letter-spacing: .06em;
  font-weight: 500; color: var(--gold-deep); white-space: nowrap;
}
.emb-concept__area-caption {
  position: absolute; z-index: 2;
  left: 4.92vw;                 /* 59 */
  top: 11.59vw;                 /* 139 */
  text-shadow: 0 1px 14px rgba(255,255,255,.75);
}
.emb-concept__side-caption {
  position: absolute; z-index: 2;
  left: 80.65vw;                /* 967 */
  top: 38.70vw;                 /* 464 */
}
.emb-concept__watermark {
  position: absolute; z-index: 2;
  left: 82.74vw;                /* 992 */
  top: 54.30vw;                 /* 651 */
  text-align: left;
}

/* ---- text column ---- */
.emb-concept__main {
  position: relative; z-index: 1;
  margin-left: 39.12vw;         /* 469 */
  /* 37vw = 444: wide enough for the heading's longest line (432 advance when the
     mincho has no palt) and the longest body line (395). Text is left-aligned so
     the ink still stops well clear of the right blob. */
  width: 37vw;
  padding-top: 5.32vw;
}
.emb-concept__eyebrow {
  display: block; width: max-content;
  margin-left: 7.67vw;          /* ink lands at 561 */
  text-align: center;
}
.emb-concept__eyebrow::after {
  content: ""; display: block; width: 34px; height: 1px;
  background: var(--gold-soft); margin: 14px auto 0;
}
.emb-concept__title {
  max-width: 100%;
  margin-top: 3.42vw;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 4vw, 56px);
  line-height: 1.29;
  letter-spacing: .01em;
  /* Centred on x=618 of the 1199px canvas, as in the mockup — that axis is also
     what keeps line 3 clear of the right-hand blob. The box must be WIDER than the
     longest line (435px when the mincho has no palt), otherwise Chrome gives up on
     centring an overflowing line and flushes it left, which is what pushed 「ご縁」
     をつなぐ。 into the photo. 38vw box + the negative margin puts its centre on 618. */
  width: 38vw;
  margin-left: -6.57vw;
  text-align: center;
  white-space: nowrap;
}
.emb-concept__text { margin-top: 1.7vw; display: flex; flex-direction: column; gap: 18px; }
.emb-concept__text p {
  font-size: clamp(14px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  /* 長音符「ー」は既定(CJ)だと行頭に落ちて「Webマ／ーケティング」と割れる。
     strict なら禁則が効く。 */
  line-break: strict;
}

/* ============================ SERVICES ============================ */
.emb-services { background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.emb-services__head {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px); align-items: start;
  margin-bottom: clamp(40px, 4.6vw, 64px);
}
.emb-services__title { margin-top: 26px; }
.emb-services__head .emb-lead { padding-top: clamp(6px, 2.5vw, 32px); }

.emb-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.9vw, 30px); }
.emb-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.emb-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -30px rgba(40,34,20,.55); border-color: var(--line); }
.emb-card__fig { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-3); }
.emb-card__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.emb-card:hover .emb-card__fig img { transform: scale(1.06); }
.emb-card__body { padding: clamp(20px, 2.1vw, 30px) clamp(18px, 2vw, 28px) clamp(22px, 2.3vw, 30px); display: flex; flex-direction: column; flex: 1; gap: 8px; }
.emb-card__num { font-family: var(--serif); font-size: clamp(28px, 2.7vw, 34px); line-height: 1; color: var(--gold-soft); font-weight: 500; }
.emb-card__title { font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.emb-card__en { font-size: clamp(10.5px, 0.95vw, 12px); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.emb-card__desc { margin-top: 8px; font-size: clamp(13px, 1.18vw, 15px); line-height: 1.95; color: var(--ink-3); }
.emb-card__foot { margin-top: auto; padding-top: clamp(18px, 2vw, 26px); }
.emb-card:hover .emb-chip { background: var(--gold-deep); color: #fff; transform: translateX(4px); }

/* ============================ JOURNAL / RADIO ============================ */
.emb-media { background: var(--surface); }
.emb-media__grid { display: grid; grid-template-columns: minmax(0, 1.549fr) minmax(0, 1fr); gap: clamp(12px, 1.15vw, 20px); }
.emb-panel {
  background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 34px);
  display: flex; flex-direction: column;
}
.emb-panel__title { margin-top: 22px; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.75vw, 36px); line-height: 1.4; letter-spacing: .02em; }
.emb-panel__lead { margin-top: 20px; font-size: clamp(14px, 1.38vw, 18px); line-height: 1.61; color: var(--ink-2); }
.emb-panel__foot { margin-top: auto; padding-top: clamp(24px, 3vw, 40px); display: flex; }
.emb-panel__foot .emb-link { font-size: 15px; }
.emb-panel__foot--end { justify-content: flex-end; }

/* Row gap is deliberately much larger than the column gap. Cards carry a 14px
   internal gap, so the old uniform 10–18px grid gap put each card's date/
   category line CLOSER to the next card's photo than to its own headline — the
   meta read as a caption for the wrong card. Only matters once the grid wraps
   (≤1024px); on desktop both --3 and --2 are a single row, so nothing moves. */
.emb-posts {
  margin-top: clamp(22px, 2.6vw, 32px); display: grid;
  column-gap: clamp(10px, 1.17vw, 18px);
  row-gap: clamp(28px, 3vw, 36px);
}
.emb-posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.emb-posts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.emb-post { display: flex; flex-direction: column; gap: 14px; }
.emb-post__fig { aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-3); }
.emb-post__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.emb-post:hover .emb-post__fig img { transform: scale(1.06); }
.emb-post__title { font-size: clamp(14px, 1.33vw, 17px); font-weight: 700; line-height: 1.45; transition: color .3s var(--ease); }
.emb-post:hover .emb-post__title { color: var(--gold-deep); }
/* one line always — the mockup keeps date + category together; the chip
   shrinks with an ellipsis rather than dropping to a second row. */
.emb-post__meta { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; min-width: 0; }
.emb-post__date { font-size: 12px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.emb-post__cat { font-size: 11px; letter-spacing: 0; color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; line-height: 1.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ============================ WORKS ============================ */
.emb-works { background: var(--surface); padding-bottom: clamp(64px, 8vw, 118px); }
.emb-works__title { margin-top: 22px; }
.emb-works__grid { margin-top: clamp(26px, 2.9vw, 40px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
/* 271 x 145 in the mockup — a touch wider than 16:9 */
.emb-work__fig { aspect-ratio: 271 / 145; border-radius: var(--r-md); overflow: hidden; background: var(--surface-3); }
.emb-work__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.emb-work:hover .emb-work__fig img { transform: scale(1.06); }
.emb-work { display: flex; flex-direction: column; }
.emb-work__row { margin-top: auto; padding-top: clamp(16px, 1.9vw, 24px); display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
/* slightly under the mockup's 11px: our gutter leaves the card ~13px narrower,
   and the longest tag string has to clear the arrow chip on the same row. */
.emb-work__tags { font-size: clamp(10px, 0.85vw, 11.5px); letter-spacing: .02em; color: var(--muted); }
.emb-work__name { margin-top: 6px; font-size: clamp(15px, 1.35vw, 18px); font-weight: 700; line-height: 1.5; transition: color .3s var(--ease); }
.emb-work:hover .emb-work__name { color: var(--gold-deep); }
.emb-work:hover .emb-chip { background: var(--gold-deep); color: #fff; transform: translateX(4px); }
.emb-work .emb-chip { background: var(--gold-wash); flex-shrink: 0; width: 38px; height: 38px; }

/* ============================ REASON ============================ */
.emb-reason-approach { background: var(--bg); padding-block: clamp(20px, 3vw, 40px) clamp(64px, 8vw, 110px); }
.emb-reason {
  background: var(--surface); border-radius: var(--r-lg);
  padding: clamp(24px, 2.4vw, 36px);
  /* mockup: text column 304 : items 787. Our card is ~8% narrower (we keep the
     page gutter at 54px where the mockup runs almost full-bleed), so the text
     column gets a little extra share and the type is scaled to match. */
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.45fr); gap: clamp(22px, 2.5vw, 34px);
}
.emb-reason__title { margin-top: 24px; font-family: var(--serif); font-weight: 600; font-size: clamp(23px, 2.6vw, 34px); line-height: 1.54; }
.emb-reason__sub { margin-top: 24px; font-size: clamp(15px, 1.55vw, 20px); line-height: 1.59; font-weight: 500; color: var(--ink-2); }
.emb-reason__desc { margin-top: 22px; font-size: clamp(13px, 1.3vw, 17px); line-height: 1.72; color: var(--ink-3); }
.emb-reason__link { margin-top: clamp(26px, 3.4vw, 44px); }
.emb-reason__link .emb-link { font-size: 15px; gap: 20px; }
.emb-reason__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.65vw, 24px); }
.emb-reason__item { position: relative; }
.emb-reason__item + .emb-reason__item::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(clamp(14px, 1.65vw, 24px) / -2);
  width: 1px; background: var(--line-soft);
}
/* 250 x 209 in the mockup */
.emb-reason__item figure { aspect-ratio: 250 / 209; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-3); }
.emb-reason__item img { width: 100%; height: 100%; object-fit: cover; }
.emb-reason__num { margin-top: 20px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1; color: var(--gold-soft); }
.emb-reason__name { margin-top: 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 1.61vw, 21px); line-height: 1.5; }
.emb-reason__text { margin-top: 20px; font-size: clamp(12.5px, 1.13vw, 15px); line-height: 1.86; color: var(--ink-3); }

/* ============================ APPROACH ============================ */
.emb-approach {
  position: relative; margin-top: clamp(20px, 2.5vw, 34px);
  background: linear-gradient(160deg, #FAF7F3 0%, #F3EFE9 100%);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.1vw, 44px);
  overflow: hidden;
}
/* The visual block spans from the photo's left edge to the card's right edge
   (599..1204 of an 1182-wide card) and is as tall as the photo (241). Positioning
   the photo and the caption inside it keeps both in step at any width. */
.emb-approach__visual {
  position: absolute; top: 0; left: 46.9%; right: 0; z-index: 1;
  aspect-ratio: 628 / 247;
}
/* In the mockup everything to the right of the blob is a white panel, not the
   card's warm gradient. The blob is painted on top of it, so the panel only has
   to start at the blob's leftmost right-edge. */
.emb-approach__panel {
  /* same top and bottom as the photo so the two read as one shape, not two */
  position: absolute; top: 4.86%; height: 95.14%; left: 60.2%; right: 0; z-index: 0;
  background: #fff;
}
.emb-approach__media {
  position: absolute; top: 4.86%; left: 0; width: 66.6%; height: 95.14%; z-index: 1;
  clip-path: url(#embBlobA);
  overflow: hidden;
}
.emb-approach__media picture { display: block; width: 100%; height: 100%; }
.emb-approach__media img { width: 100%; height: 100%; object-fit: cover; }

/* Sits in the clear area to the RIGHT of the blob, not on top of it. */
/* Spans exactly the panel's vertical extent and centres the text inside it, so
   it stays optically centred at any width instead of drifting low. */
.emb-approach__caption {
  position: absolute; left: 70.2%; top: 4.86%; height: 95.14%; z-index: 2;
  display: flex; align-items: center;
  color: var(--gold-deep);
}
.emb-approach__caption .emb-caption-rule {
  border-left-color: var(--gold-soft);
  font-size: clamp(14px, 1.54vw, 21px);
  line-height: 1.9;
  padding: 11px 0 11px 19px;
  white-space: nowrap;
}

.emb-approach__head { position: relative; z-index: 2; max-width: 51%; }
.emb-approach__title { margin-top: 26px; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 40px); line-height: 1.4; }
.emb-approach__lead { margin-top: 24px; font-size: clamp(13.5px, 1.42vw, 19px); line-height: 1.59; color: var(--ink-2); }

.emb-steps { position: relative; z-index: 2; margin-top: clamp(32px, 3.8vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); }
.emb-step { position: relative; }
/* The mockup puts the arrow at the RIGHT edge of each step's own column — inside
   it, past the label — not floating in the gap between columns. */
.emb-step:not(:last-child)::after {
  content: ""; position: absolute; right: 1px; top: 33px;
  width: 22px; height: 1px; background: var(--gold-soft);
}
.emb-step:not(:last-child)::before {
  content: ""; position: absolute; right: 1px; top: 29px;
  width: 7px; height: 7px; border-top: 1.5px solid var(--gold-soft); border-right: 1.5px solid var(--gold-soft);
  transform: rotate(45deg);
}
.emb-step__head { display: flex; align-items: center; gap: 16px; }
.emb-step__icon { width: 68px; height: 68px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 10px 24px -18px rgba(40,34,20,.6); }
.emb-step__icon svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 1.4; }
.emb-step__num { font-family: var(--serif); font-size: clamp(20px, 1.92vw, 25px); line-height: 1; color: var(--gold-soft); }
.emb-step__name { margin-top: 9px; font-family: var(--serif); font-weight: 700; font-size: clamp(15px, 1.42vw, 19px); line-height: 1.5; }
.emb-step__text { margin-top: 26px; font-size: clamp(12px, 1.09vw, 15px); line-height: 1.75; color: var(--ink-3); }

/* ============================ PHILOSOPHY ============================ */
.emb-philosophy { background: var(--surface); padding-block: clamp(64px, 8vw, 112px); }
.emb-philosophy__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 0; }
.emb-philosophy__intro { padding-right: clamp(16px, 2.2vw, 32px); }
.emb-philosophy__title { margin-top: 22px; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.95vw, 38px); letter-spacing: 0; line-height: 1.4; }
.emb-philosophy__rule { width: 60px; height: 1px; background: var(--gold-soft); margin: 30px 0 26px; }
.emb-philosophy__statement { font-family: var(--serif); font-size: clamp(15px, 1.7vw, 22px); line-height: 1.59; color: var(--ink); }
.emb-philosophy__logo { margin-top: clamp(26px, 2.9vw, 42px); width: min(306px, 92%); }

.emb-term { position: relative; /* heads line up with the section title, not with the eyebrow above it */
  padding-top: clamp(26px, 3vw, 40px); padding-left: clamp(20px, 3vw, 40px); padding-right: clamp(6px, 0.8vw, 14px); border-left: 1px solid var(--line-soft); }
/* Measured per term in the mockup: ~80% of the column wide, taller than it is
   wide (w/h ≈ 0.85), and inset ~11.5% from the divider — it does not touch it. */
.emb-term__blob {
  position: absolute; z-index: 0;
  width: 80%; aspect-ratio: 339 / 400;
  border-radius: 52% 48% 44% 56% / 48% 42% 58% 52%;
  top: 10px; left: 11.5%;
}
.emb-term__blob--peach { background: var(--blob-peach); }
.emb-term__blob--blue  { background: var(--blob-blue); }
.emb-term__blob--green { background: var(--blob-green); }
.emb-term__head { position: relative; z-index: 1; font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.67vw, 34px); letter-spacing: .04em; line-height: 1.4; }
.emb-term__head span { color: var(--muted); margin-inline: 8px; font-weight: 400; }
.emb-term__text { position: relative; z-index: 1; margin-top: 38px; font-size: clamp(12.5px, 1.2vw, 15.5px); line-height: 1.96; color: var(--ink-2); }

/* ============================ ABOUT / CONTACT ============================ */
.emb-outro { background: var(--surface); padding-bottom: clamp(48px, 6vw, 80px); }
.emb-billboard {
  background: var(--surface-2); border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 56px) clamp(26px, 4vw, 50px);
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) auto;
  gap: clamp(20px, 2.4vw, 36px); align-items: center;
}
.emb-billboard + .emb-billboard { margin-top: clamp(20px, 2.6vw, 34px); }
.emb-billboard__title { margin-top: 30px; font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 2.72vw, 37px); letter-spacing: .03em; line-height: 1.4; }
.emb-billboard__text { border-left: 1px solid var(--gold-soft); padding-left: clamp(26px, 4.5vw, 60px); font-size: clamp(14px, 1.34vw, 18px); line-height: 2; color: var(--ink-2); }
.emb-billboard__action { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.emb-billboard__note { font-size: clamp(12.5px, 1.17vw, 15px); color: var(--ink-3); }
.emb-billboard__action .emb-link { font-size: clamp(15px, 1.42vw, 18px); }

.emb-btn-gold {
  display: inline-flex; align-items: center; gap: 18px;
  background: var(--gold-deep); color: #fff; border-radius: 999px;
  min-height: 62px; padding: 8px 30px; font-size: clamp(14px, 1.34vw, 17px);
  font-weight: 700; letter-spacing: .04em;
  transition: background .35s var(--ease), gap .35s var(--ease), box-shadow .35s var(--ease);
}
.emb-btn-gold svg { width: 20px; height: 15px; }
.emb-btn-gold .emb-arrow { background: #fff; }
.emb-btn-gold .emb-arrow::after { border-color: #fff; }
.emb-btn-gold:hover { background: #9E721F; gap: 24px; box-shadow: 0 18px 34px -24px rgba(160,116,30,.9); }

/* ============================ FOOTER ============================ */
.emb-footer { background: var(--surface); padding-bottom: 30px; }
.emb-footer__inner { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); flex-wrap: wrap; padding-block: clamp(30px, 4vw, 48px); }
.emb-footer__nav ul { display: flex; flex-wrap: wrap; gap: clamp(18px, 3.75vw, 48px); }
.emb-footer__nav a { font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: color .3s var(--ease); }
.emb-footer__nav a:hover { color: var(--gold-deep); }
/* Pinned to the viewport, not parked at the end of the footer row. z-index sits
   BELOW the drawer (99) and the header (100) on purpose — it must not float over
   the open mobile menu. `margin-left: auto` is gone with the flex row: the button
   is out of flow now, so there is nothing left for it to push against. */
.emb-totop {
  position: fixed;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  z-index: 90;
  width: 45px; height: 45px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -12px rgba(22, 22, 15, .55);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.emb-totop svg { width: 16px; height: 16px; }
.emb-totop:hover { background: var(--gold-deep); transform: translateY(-4px); }
.emb-footer__bar { border-top: 1px solid var(--line-soft); padding-top: 24px; text-align: center; font-size: 13.5px; letter-spacing: .06em; color: var(--muted); }

/* ============================ reveal ============================ */
/* Opt-in: JS adds .js-reveal to .emb, so content stays visible if JS never runs. */
.emb.js-reveal .emb-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.emb.js-reveal .emb-reveal.is-in { opacity: 1; transform: none; }
/* Above-the-fold copy comes in immediately — no scroll trigger, no LCP penalty. */
.emb.js-reveal .emb-hero__copy { transition-duration: .7s; }
@media (prefers-reduced-motion: reduce) {
  .emb *, .emb *::before, .emb *::after { animation: none !important; transition-duration: .01ms !important; }
  .emb.js-reveal .emb-reveal { opacity: 1; transform: none; }
}

/* ============================ responsive ============================ */
@media (max-width: 1100px) {
  .emb-nav, .emb-header .emb-cta { display: none; }
  .emb-burger { display: block; }
  .emb-hero__copy { padding-top: 120px; }
  .emb-services__head { grid-template-columns: 1fr 1fr; }
  .emb-reason { grid-template-columns: 1fr; }
  .emb-philosophy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emb-philosophy__intro { grid-column: 1 / -1; }
  /* Below 1100px the intro stops being the narrow 1.3fr column and spans the
     full grid, but the logo stayed pinned at 240px — so it went from 85% of its
     column on desktop to 91% of a full-width column at 320px, and read as a
     banner rather than a signature. The vw term holds it at ~50% of the column
     across the whole phone range; the 240px ceiling keeps tablets as they were. */
  .emb-philosophy__logo { width: clamp(130px, 42vw, 240px); }
  .emb-works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .emb-step:nth-child(2)::after, .emb-step:nth-child(2)::before { display: none; }
}
@media (max-width: 900px) {
  /* Stacked — but the two blobs pair off into ONE interlocking band instead of
     two full-width banners stacked end to end. The old treatment ran the section
     ~1470px tall on a 430px phone with ~1040px of that pure decoration, and left
     ~40% of each photo's row empty. Two columns: each blob bleeds off its own
     edge, its caption sits in the facing column, and the right blob is lifted
     into the previous row so the silhouettes interlock diagonally. */
  .emb-concept {
    margin-top: 0; min-height: 0;
    padding-bottom: clamp(32px, 6vw, 64px);
    display: grid;
    /* Column 1 is sized to the left blob rather than a flat 50%, so each caption
       keeps hugging its photo instead of drifting half a screen away as the
       viewport grows toward the 900px breakpoint. */
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas:
      "copy  copy"
      "blobA capA"
      "capB  blobB"
      "mark  mark";
    align-items: center;
    column-gap: clamp(16px, 5vw, 40px);
    row-gap: clamp(14px, 4vw, 30px);
  }
  .emb-concept__main {
    grid-area: copy;
    margin-left: 0; margin-right: 0; width: auto;
    padding: 0 var(--gut) clamp(20px, 4vw, 36px);
  }
  /* keep the blob silhouettes — they are the section's signature — but let each
     one bleed off its own edge instead of overlapping the copy */
  .emb-concept__area, .emb-concept__side {
    position: relative; left: auto; right: auto; top: auto;
  }
  .emb-concept__area { grid-area: blobA; justify-self: start; width: clamp(150px, 42vw, 272px); }
  .emb-concept__side {
    grid-area: blobB; justify-self: end; width: min(100%, clamp(135px, 37vw, 240px));
    /* lift into the row above so the two blobs read as one composition */
    margin-top: calc(-1 * clamp(18px, 7vw, 56px));
  }
  .emb-concept__area-caption, .emb-concept__side-caption {
    position: static; margin: 0; text-shadow: none;
    width: max-content; max-width: 100%;
    padding-block: 10px;
  }
  .emb-concept__area-caption { grid-area: capA; justify-self: start; }
  .emb-concept__side-caption { grid-area: capB; justify-self: end; }
  .emb-concept__watermark { position: static; grid-area: mark; margin: 0 var(--gut); }
  /* The eyebrow is `width: max-content` + `text-align: center`, so zeroing the
     desktop offset flushed it LEFT while its own heading stayed centred.
     Centre the box instead — CONCEPT is the one centred section by design. */
  .emb-concept__eyebrow { margin-inline: auto; }
  .emb-concept__title { width: auto; margin-left: 0; white-space: normal; }
  /* Desktop's 1.7vw is 20px at 1199 but collapses to 7px on a phone — tighter
     than the 18px gap BETWEEN the body paragraphs, so the heading read as
     just another paragraph. The heading also loses its leading here: it
     bottoms out at the 26px clamp floor while desktop runs 48px. */
  .emb-concept__text { margin-top: clamp(24px, 6vw, 32px); }
  .emb-hero { min-height: 0; padding-top: var(--header-h); padding-bottom: clamp(32px, 6vw, 56px); }
  .emb-hero__media { position: relative; width: calc(100% - var(--gut)); margin-left: auto; aspect-ratio: 16 / 10; }
  .emb-hero__fig { border-radius: 40% 0 0 40% / 50% 0 0 50%; }
  .emb-hero__fig img { object-position: 60% 64%; }
  .emb-hero__fig::after { background: linear-gradient(215deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.05) 48%, rgba(0,0,0,0) 70%); }
  .emb-hero__caption { left: auto; right: 6%; top: 14%; }
  .emb-hero__caption p { font-size: 14px; padding: 12px 0 12px 16px; text-shadow: 0 1px 16px rgba(0,0,0,.6), 0 0 32px rgba(0,0,0,.4); }
  .emb-hero__caption::after { margin: 14px 0 0 17px; }
  .emb-hero__inner { order: -1; }
  .emb-hero__copy { padding-top: clamp(20px, 5vw, 46px); padding-bottom: clamp(28px, 5vw, 48px); max-width: none; }
  .emb-hero { display: flex; flex-direction: column; }
  .emb-media__grid { grid-template-columns: 1fr; }
  .emb-billboard { grid-template-columns: 1fr; }
  .emb-billboard__text { border-left: 0; border-top: 1px solid var(--gold-soft); padding-left: 0; padding-top: 24px; }
  .emb-billboard__action { align-items: flex-start; }
  /* Desktop sets the blob INTO a white panel and floats the gold caption on that
     white — that pairing is the section's signature, and the blob's organic right
     edge only reads as carved because there is white behind it. The old mobile
     rule hid the panel outright, which left the photo and the caption floating on
     the card's warm gradient and made the crop look unfinished.
     Stacked, the panel becomes the backdrop for the whole visual instead: one
     white block, photo inset at the top, caption on the white below it. */
  /* The card's own padding is dropped here so the photo bleeds to the card edge,
     the way it does on desktop. Only the text blocks keep an inset — the padding
     was wrapped around everything, which left the photo floating in the middle of
     the card with ~41px of dead space on each side on a 430px screen. */
  .emb-approach { padding: 0 0 clamp(24px, 6vw, 40px); }
  .emb-approach__head,
  .emb-approach .emb-steps { padding-inline: clamp(18px, 5vw, 32px); }

  /* Blob stays: `approach.jpg` is a crop from the mockup whose area OUTSIDE the
     blob is mockup background with caption text baked in (29% of the file), so the
     clip path is the only thing hiding it — it is not an optional flourish here.
     Desktop keeps the blob on the warm gradient and lets only its right edge bite
     into the white block that carries the caption. Stacked, the same relationship
     is rotated a quarter turn: blob on the gradient, white block below it, blob's
     bottom edge biting in. The overlap is what reads as one composition. */
  .emb-approach__visual {
    position: relative; left: auto; right: auto; width: 100%; aspect-ratio: auto;
    margin-bottom: clamp(20px, 5vw, 30px); display: flex; flex-direction: column;
  }
  .emb-approach__panel { display: none; }
  .emb-approach__media { position: relative; width: 100%; height: auto; aspect-ratio: 418 / 235; z-index: 1; }
  .emb-approach__caption {
    /* Still NOT static. The photo above is positioned, and a positioned element
       is painted over a static sibling whatever the source order — this block
       disappeared completely that way once. */
    position: relative; left: auto; top: auto; height: auto; display: block; z-index: 0;
    /* No white block any more: the caption now reads straight off the card's warm
       gradient. The pull-up and the deep top padding went with it — both existed
       only so the blob's bottom edge could bite into that white rectangle, and
       with nothing to bite into they just push the text up under the photo. A
       plain gap replaces them. */
    background: none;
    /* Same inset as .emb-approach__head below, so the gold rule lines up with the
       heading. Dropping the white block's own side padding is also what buys the
       width the single line needs. */
    margin-inline: clamp(18px, 5vw, 32px);
    margin-top: clamp(14px, 4vw, 24px);
    padding: 0;
  }
  /* One line, not three. The hard breaks are measured for the desktop column;
     stacked under a full-bleed photo, three gold lines read as a paragraph of
     copy rather than as a caption. Hiding the <br>s is the same trick the 720px
     block below uses on every other hard-broken string. */
  .emb-approach__caption br { display: none; }
  .emb-approach__caption .emb-caption-rule {
    white-space: nowrap;
    /* Sized to FIT rather than to a comfortable reading size. The joined string is
       20 full-width characters, and at .06em tracking that is ~21.2em, so it only
       clears a 320px screen below ~12.7px. The vw term is what keeps it on one
       line all the way down; the 19px ceiling is the desktop size. */
    font-size: clamp(11.5px, 3.6vw, 19px);
    padding: 7px 0 7px 14px;
  }
  .emb-approach__head { max-width: none; }
}
/* Japanese line breaking: let phrases break cleanly where supported */
.emb-hero__title, .emb-concept__title, .emb-h2, .emb-services__title,
.emb-panel__title, .emb-reason__title, .emb-reason__name, .emb-approach__title,
.emb-philosophy__title, .emb-billboard__title, .emb-step__name, .emb-card__title,
.emb-post__title, .emb-work__name {
  word-break: auto-phrase;
}

/* Hard line breaks are tuned for wide columns — drop them on narrow screens */
@media (max-width: 720px) {
  .emb-hero__title br, .emb-hero__lead br,
  .emb-services__title br, .emb-lead br, .emb-card__desc br,
  .emb-panel__lead br, .emb-post__title br,
  .emb-reason__title br, .emb-reason__sub br, .emb-reason__name br, .emb-reason__text br,
  .emb-approach__lead br, .emb-step__text br,
  .emb-term__text br, .emb-philosophy__statement br,
  .emb-billboard__text br,
  /* CONCEPT: keep the four-line list in the first paragraph — it reads as a
     list — but let the prose paragraphs reflow, otherwise the hard breaks
     leave orphans like 「手段で / す。」 at 360px. */
  .emb-concept__text p:not(:first-child) br {
    display: none;
  }
}

@media (max-width: 720px) {
  .emb-services__head { grid-template-columns: 1fr; }
  .emb-posts--3, .emb-posts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emb-works__grid { grid-template-columns: 1fr; }
  .emb-reason__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .emb-reason__item + .emb-reason__item::before { display: none; }
  .emb-steps { grid-template-columns: 1fr; }
  .emb-step::after, .emb-step::before { display: none; }
  .emb-philosophy__grid { grid-template-columns: 1fr; }
  /* stacked: clip the tint to its own term so consecutive blobs cannot overlap */
  .emb-term { border-left: 0; border-top: 1px solid var(--line-soft); padding-left: 0; padding-top: 30px; padding-right: 0; overflow: hidden; }
  .emb-term__blob { left: auto; right: -4%; width: min(34%, 175px); top: 10px; }
  .emb-footer__inner { flex-direction: column; align-items: flex-start; }
  /* Scoped to the footer — .emb-brand is shared with the header, which must stay
     pinned left next to the burger. align-self on the column flex child, not
     text-align: the brand is itself a flex column (logo over the company name). */
  .emb-footer .emb-brand { align-self: center; }
}
@media (max-width: 480px) {
  .emb-posts--3, .emb-posts--2 { grid-template-columns: 1fr; }
  /* One card per row here, so the meta's `margin-top: auto` has no sibling to
     bottom-align against — that alignment was the only reason it sat last.
     Promoted to a kicker above the headline: the category lands before the
     title, and the bold title becomes the last thing before the next card's
     photo, which makes the card boundary unambiguous. Visual order only — the
     DOM keeps title-then-meta, which is also the better screen-reader order. */
  .emb-post__meta { order: 1; margin-top: 0; padding-top: 0; }
  .emb-post__title { order: 2; }
  .emb-hero__media { width: 100%; aspect-ratio: 4 / 3; }
  .emb-hero__fig { border-radius: 0 0 0 var(--r-lg); }
  .emb-hero__caption { right: 5%; top: 8%; }
  .emb-hero__caption p { font-size: 13px; white-space: normal; }
}

/* ---------- mobile: centred section headers ----------------------------
   Below 720px the eyebrow + heading of every section centres, so each header
   reads as one unit. Before this the CONCEPT eyebrow sat flush left under a
   centred heading — the mismatch that started this.

   Body copy, leads, cards and lists stay LEFT. Centring Japanese prose leaves
   the last line floating mid-column (「な施策をご提案します。」,
   「が、えんむすびの強みです。」), and the cards under each header are
   left-aligned regardless — a centred paragraph wedged between the two reads
   as a mistake rather than a choice.

   HERO and PHILOSOPHY are the exceptions: each is a self-contained statement
   block (eyebrow → heading → rule → statement → logo) with no list under it,
   so the whole block centres. Centring only their headings would leave the
   gold rule and the logo hanging off to one side. */
@media (max-width: 720px) {
  .emb-services__head .emb-eyebrow, .emb-services__title,
  .emb-panel > .emb-eyebrow, .emb-panel__title,
  .emb-works .emb-eyebrow, .emb-works__title,
  .emb-reason .emb-eyebrow, .emb-reason__title,
  .emb-approach__head .emb-eyebrow, .emb-approach__title,
  .emb-billboard .emb-eyebrow, .emb-billboard__title,
  .emb-hero__copy, .emb-philosophy__intro {
    text-align: center;
  }
  /* Keeps a centred heading from dropping a one-word last line dead centre —
     「えんむすびの考え・仕事・ / 人。」 is far more conspicuous centred. */
  .emb-hero__title, .emb-services__title, .emb-panel__title, .emb-works__title,
  .emb-reason__title, .emb-approach__title, .emb-philosophy__title,
  .emb-billboard__title { text-wrap: balance; }
  /* Rules and the logo are blocks — text-align does not move them. */
  /* .emb-panel is a flex column, where the --ruled eyebrow's `align-self:
     flex-start` shrink-wraps its box to the left; text-align inside that
     narrow box then has nothing to centre. Journal and Radio were the only
     two still flush left for this reason. */
  .emb-eyebrow--ruled { align-self: center; }
  .emb-eyebrow--ruled::after { margin-inline: auto; }
  .emb-hero__rule, .emb-philosophy__rule, .emb-philosophy__logo { margin-inline: auto; }
  /* 「すべての記事を見る」/「すべての放送を見る」: JOURNAL's foot is right-aligned and
     RADIO's is left-aligned per the mockup, which only reads as a pair while the
     two panels sit side by side. Stacked under a centred header they just look
     misaligned, so both centre here. Both selectors are named because
     --end carries the same specificity. */
  .emb-panel__foot, .emb-panel__foot--end { justify-content: center; }
  /* REASON's link sits under a centred heading and a full-width paragraph, so
     flush-left left it stranded. `.emb-reason__link` is a <p>, and `.emb-link`
     is inline-flex — so text-align on the block centres it. Size comes down a
     step too: 15px was set against the desktop two-column layout. */
  .emb-reason__link { text-align: center; }
  /* Scales with the viewport rather than sitting at a flat 13px: the column is
     only 217px wide at 320, and 13px + the 26px arrow + the gap needs 235 — the
     label wrapped to two lines under a single underline. */
  .emb-reason__link .emb-link {
    font-size: clamp(11px, 3.3vw, 13px);
    gap: clamp(10px, 3.3vw, 16px);
  }
  /* ABOUT / CONTACT: both billboards stack here, so the action column no longer
     balances a text column beside it — centre it under the centred heading.
     Sizes come down a step as well; the gold button in particular was built for
     the desktop row (62px tall, 30px side padding) and needs ~296px at its
     desktop metrics, which does not fit a 320px screen. */
  .emb-billboard__action { align-items: center; text-align: center; }
  .emb-billboard__action .emb-link { font-size: clamp(12px, 3.3vw, 15px); gap: clamp(14px, 4vw, 22px); }
  .emb-btn-gold {
    min-height: clamp(48px, 13vw, 58px);
    padding: 8px clamp(10px, 4vw, 26px);
    font-size: clamp(11px, 3.3vw, 14px);
    gap: clamp(7px, 2.5vw, 16px);
  }
  .emb-btn-gold svg { width: clamp(14px, 4.3vw, 20px); height: auto; }
  /* the trailing arrow is a fixed 26px rule — the last few pixels needed to keep
     「お問い合わせフォームへ」 on one line at 320px */
  .emb-btn-gold .emb-arrow { width: clamp(14px, 4.5vw, 26px); }
}

/* ---------- SERVICES grid steps ---------------------------------------
   The mockup puts 6 cards in one row, but at a readable type size that is
   too tight — so the row is split into 2 × 3 and steps down from there. */
@media (max-width: 1024px) {
  .emb-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .emb-services__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .emb-reason__items { grid-template-columns: 1fr; gap: 30px; }
}

/* =========================================================================
   ABOUT / 会社案内 — second page of the renewal.
   Lives in the same stylesheet because it reuses the whole TOP system:
   tokens, header, drawer, footer, .emb-eyebrow, .emb-reveal, .emb-billboard.
   Only the five sections below are new.
   Geometry transcribed from 会社案内ページ.xlsx (canvas 1414px, gutter 64).
   ========================================================================= */

/* ---------- breadcrumb ---------- */
.emb-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 12.5px; letter-spacing: .04em; color: var(--ink-3); line-height: 1.6; }
.emb-crumb li + li::before { content: ">"; margin-right: 12px; color: var(--muted); }
.emb-crumb a { transition: color .3s var(--ease); }
.emb-crumb a:hover { color: var(--gold-deep); }

/* ---------- ABOUT hero ---------- */
/* Photo bleeds off the right edge, top-aligned just under the fixed header:
   box x662..1414 / y101..697 on the 1414 canvas -> 53.2% wide, 752:596. */
.emb-abouthero {
  position: relative; background: var(--bg);
  padding-bottom: clamp(48px, 6vw, 86px);
  min-height: calc(var(--header-h) + 9px + 42.2vw);
}
.emb-abouthero__media {
  position: absolute; top: calc(var(--header-h) + 9px); right: 0; z-index: 0;
  width: 53.2%; aspect-ratio: 752 / 596;
}
.emb-abouthero__media > img { width: 100%; height: 100%; object-fit: cover; }
/* inherits type, rule and the short tail mark from .emb-hero__caption */
.emb-abouthero__caption { left: 60.9%; top: 21%; }

.emb-abouthero__inner { position: relative; z-index: 1; }
.emb-crumb { padding-top: calc(var(--header-h) + 26px); }
.emb-abouthero__copy { padding-top: clamp(40px, 5vw, 66px); }
/* No max-width here: the <br>s set the line breaks, so the only thing that can
   push the heading under the photo is its own size. The photo's left edge sits
   at 46.8vw, which leaves 46.8vw − gutter for 14 palt-compressed characters —
   3.1vw is the largest size that still clears it (it lands flush against the
   photo at the mockup's 1414px canvas, exactly as drawn). */
.emb-abouthero__title {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3.1vw, 46px); line-height: 1.44; letter-spacing: .01em;
}
.emb-abouthero__lead {
  margin-top: clamp(26px, 3.2vw, 46px);
  font-size: clamp(13.5px, 1.2vw, 17px); line-height: 2.1; color: var(--ink-2);
}

/* ---------- MESSAGE ---------- */
.emb-message { background: var(--surface); }
.emb-message__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr) minmax(0, .52fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}
/* all four section headings use the shared .emb-h2 — only the offset is local */
.emb-message__title { margin-top: 20px; }
/* the mockup sets this sub-headline in gothic, not mincho — deliberate contrast */
.emb-message__sub { margin-top: clamp(22px, 2.6vw, 36px);
  font-size: clamp(18px, 2.1vw, 30px); font-weight: 500; line-height: 1.53; color: var(--ink); }
.emb-message__text { margin-top: clamp(22px, 2.6vw, 38px);
  font-size: clamp(13.5px, 1.2vw, 17px); line-height: 2.1; color: var(--ink-2); }

.emb-message__fig img { width: 100%; aspect-ratio: 417 / 506; object-fit: cover; }

.emb-message__meta { padding-top: clamp(40px, 9vw, 134px); }
.emb-message__company { font-size: clamp(12.5px, 1.1vw, 15px); font-weight: 700; color: var(--ink); }
.emb-message__role { margin-top: 10px; font-size: clamp(11.5px, 1vw, 13.5px); color: var(--ink-3); }
.emb-message__name { margin-top: 12px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(19px, 1.9vw, 27px); letter-spacing: .08em; line-height: 1.4; }
.emb-message__rule { width: 56px; height: 1px; background: var(--gold-soft);
  margin: clamp(22px, 2.6vw, 36px) 0; }
.emb-message__quote { font-size: clamp(12.5px, 1.15vw, 16px); line-height: 2; color: var(--ink-2); }

/* ---------- HISTORY ---------- */
.emb-history { background: var(--surface-2); }
.emb-history__title { margin-top: 20px; }

/* Dot centre sits 43px left of the year column (mockup: dot x=111, year x=154,
   container x=64). --pad is that 90px indent; --dot-x keeps the ratio as it
   scales down. */
.emb-timeline { --dot: 13px; --pad: clamp(56px, 6.4vw, 90px);
  --dot-x: calc(var(--pad) * -0.478); --row-gap: clamp(26px, 3.4vw, 48px);
  position: relative; margin-top: clamp(30px, 3.6vw, 52px); padding-left: var(--pad); }
.emb-timeline__item { position: relative;
  display: grid; grid-template-columns: clamp(74px, 7.4vw, 104px) minmax(0, 1.05fr) minmax(0, 1.95fr);
  gap: clamp(14px, 2.4vw, 36px); align-items: start; }
.emb-timeline__item + .emb-timeline__item { margin-top: var(--row-gap); }
.emb-timeline__item::before {
  content: ""; position: absolute; left: var(--dot-x); top: .55em;
  width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--gold-soft); transform: translate(-50%, -50%);
}
/* The rail is drawn per item so it starts at the first dot and stops at the
   last one, exactly as in the mockup — no line hanging past either end. */
.emb-timeline__item:not(:last-child)::after {
  content: ""; position: absolute; left: var(--dot-x); top: .55em;
  width: 1px; height: calc(100% + var(--row-gap)); background: var(--gold-soft);
  transform: translateX(-50%);
}
.emb-timeline__year { font-family: var(--serif); font-weight: 600;
  font-size: clamp(17px, 1.76vw, 25px); line-height: 1.4; letter-spacing: .02em; color: var(--gold-deep); }
.emb-timeline__name { font-size: clamp(13.5px, 1.2vw, 17px); font-weight: 700;
  line-height: 1.65; color: var(--ink); }
.emb-timeline__text { font-size: clamp(12.5px, 1.1vw, 15.5px); line-height: 1.95; color: var(--ink-3); }

/* ---------- EXPERIENCE ---------- */
.emb-experience { background: var(--surface); }
.emb-experience__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px); align-items: end; }
.emb-experience__title { margin-top: 20px; }
/* one line in the mockup, ending flush with the container's right edge */
.emb-experience__lead { font-size: clamp(13px, 1.17vw, 16px); line-height: 2; color: var(--ink-2);
  text-align: right; }

.emb-exps { margin-top: clamp(34px, 4.4vw, 64px);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 26px); }
.emb-exp { text-align: center; }
.emb-exp__icon { width: clamp(64px, 7vw, 99px); aspect-ratio: 1; margin-inline: auto;
  border-radius: 50%; background: var(--gold-wash); display: grid; place-items: center; }
.emb-exp__icon svg { width: 44%; height: 44%; stroke: var(--ink); fill: none;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.emb-exp__name { margin-top: clamp(16px, 1.9vw, 26px);
  font-size: clamp(12.5px, 1.17vw, 16px); font-weight: 700; line-height: 1.5; }
/* capped at 13px: the longest caption is 「楽天ショップの立ち上げ・運営」 at 14
   characters, and a 6-column row leaves it ~195px — 14px wrapped a single
   trailing 「営」 onto a third line. */
.emb-exp__text { margin-top: clamp(10px, 1.2vw, 16px);
  font-size: clamp(11px, .92vw, 13px); line-height: 1.85; color: var(--ink-3); }

/* ---------- COMPANY PROFILE ---------- */
/* Plain text in the brief — given the same treatment as the sections above:
   the section header pattern, gold labels and hairline rows. */
.emb-profile { background: var(--bg); }
/* .emb-outro only carries a padding-BOTTOM: on the TOP page it follows
   PHILOSOPHY, which is the same --surface, so the billboard inherits its
   breathing room from the section above. Here the background changes at the
   boundary, so the white band started flush against the card. Scoped to this
   adjacency — the TOP page spacing is calibrated and must not move. */
.emb-profile + .emb-outro { padding-top: clamp(48px, 6vw, 80px); }
.emb-profile__title { margin-top: 20px; }
.emb-spec { margin-top: clamp(30px, 3.6vw, 52px); border-top: 1px solid var(--line); }
.emb-spec__row { display: grid; grid-template-columns: clamp(110px, 15vw, 212px) minmax(0, 1fr);
  gap: clamp(14px, 2.6vw, 40px);
  padding-block: clamp(18px, 2.2vw, 30px); border-bottom: 1px solid var(--line); }
.emb-spec__key { font-size: clamp(12.5px, 1.1vw, 15px); font-weight: 700;
  letter-spacing: .06em; line-height: 2; color: var(--gold-deep); }
.emb-spec__val { font-size: clamp(13px, 1.17vw, 16px); line-height: 2; color: var(--ink-2); }
.emb-spec__val a { border-bottom: 1px solid var(--line); transition: color .3s var(--ease), border-color .3s var(--ease); }
.emb-spec__val a:hover { color: var(--gold-deep); border-color: var(--gold-soft); }
.emb-spec__note { margin-top: 4px; font-size: clamp(11px, 1vw, 13px); color: var(--muted); line-height: 1.8; }

/* CSS columns, not a grid: the list flows DOWN the first column before the
   second, which is how a list of services is scanned — and it rebalances by
   itself when items are added or removed. */
.emb-biz { columns: 2; column-gap: clamp(16px, 2.6vw, 40px); }
.emb-biz li { break-inside: avoid; }
.emb-biz li { position: relative; padding-left: 20px;
  font-size: clamp(13px, 1.17vw, 16px); line-height: 2; color: var(--ink-2); }
.emb-biz li::before { content: ""; position: absolute; left: 2px; top: .92em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); }

/* ---------- about: line breaking + mobile ---------- */
.emb-abouthero__title, .emb-message__title, .emb-message__sub,
.emb-timeline__name, .emb-exp__name, .emb-profile__title,
.emb-history__title, .emb-experience__title { font-feature-settings: "palt" 1; }
.emb-abouthero__title, .emb-message__title, .emb-message__sub,
.emb-timeline__name, .emb-exp__name { word-break: auto-phrase; }

@media (max-width: 1100px) {
  .emb-exps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(28px, 4vw, 44px); }
  .emb-message__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  /* the signature block moves under the portrait once the third column goes */
  .emb-message__meta { padding-top: clamp(18px, 2.4vw, 30px); grid-column: 2; }
}
@media (max-width: 900px) {
  .emb-abouthero { min-height: 0; padding-bottom: clamp(32px, 5vw, 56px); }
  /* relative, not static: the caption is absolute and must keep anchoring to
     the photo — against the section it lands on the breadcrumb instead. */
  .emb-abouthero__media { position: relative; top: auto; width: 100%; aspect-ratio: 16 / 10;
    margin-top: clamp(26px, 5vw, 44px); }
  .emb-abouthero__caption { left: auto; right: 6%; top: 12%; }
  .emb-abouthero__copy { padding-top: clamp(28px, 5vw, 44px); }
  .emb-message__grid { grid-template-columns: 1fr; }
  .emb-message__fig { max-width: 340px; }
  .emb-message__meta { grid-column: auto; padding-top: 0; }
  .emb-timeline { --pad: clamp(34px, 7vw, 62px); }
  .emb-timeline__item { grid-template-columns: clamp(66px, 11vw, 104px) minmax(0, 1fr);
    row-gap: clamp(8px, 1.6vw, 14px); }
  .emb-timeline__text { grid-column: 2; }
  .emb-experience__head { grid-template-columns: 1fr; align-items: start; }
  .emb-experience__lead { text-align: left; }
}
@media (max-width: 720px) {
  .emb-abouthero__copy, .emb-message__head,
  .emb-history__head, .emb-experience__head > div, .emb-profile__head { text-align: center; }
  .emb-abouthero__title, .emb-message__title, .emb-history__title,
  .emb-experience__title, .emb-profile__title { text-wrap: balance; }
  /* The H1 is 34 characters. At the 26px floor it needed four lines and left
     a two-character orphan on the last one; neither balance nor pretty can fix
     a line that simply does not fit. 5.6vw holds ~14 characters per line down
     to 320px, so it balances into three. */
  .emb-abouthero__title { font-size: clamp(20px, 5.6vw, 26px); }
  .emb-abouthero__title br, .emb-abouthero__lead br, .emb-message__sub br, .emb-message__text br,
  .emb-timeline__text br, .emb-message__quote br, .emb-experience__lead br { display: none; }
  .emb-abouthero__caption p { font-size: 13px; white-space: normal; }
  .emb-exps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emb-spec__row { grid-template-columns: 1fr; gap: 6px; padding-block: clamp(14px, 3.4vw, 22px); }
  .emb-biz { columns: 1; }
}

/* =========================================================================
   GLOBAL NAV — service dropdown (desktop) + drawer accordion (mobile)
   Every selector keys off a nested <ul>, never off a bespoke class, so the
   same rules cover the templates' fallback markup AND the <ul class="sub-menu">
   that wp_nav_menu() emits once a menu is set in 外観 → メニュー.
   ========================================================================= */

/* ---------- desktop dropdown ---------- */
.emb-nav > ul > li { position: relative; }
/* The panel opens at top:100%, so the trigger has to reach down to it — a gap
   drops :hover while the pointer crosses. The link grows vertically instead of
   the panel moving up; .emb-header__inner has a fixed height, so the row does
   not shift. 22px keeps the box inside the 72px stuck header too. */
.emb-nav > ul > li > a { display: block; padding-block: 22px; }
.emb-nav > ul > li > a::after { bottom: 15px; }   /* 22 − 7: same 7px under the text as before */

/* caret: marked in markup (fallback) and by WordPress (menu-item-has-children)
   rather than with :has(), so it does not depend on selector support */
.emb-nav > ul > li.emb-has-sub > a,
.emb-nav > ul > li.menu-item-has-children > a { padding-right: 16px; }
.emb-nav > ul > li.emb-has-sub > a::before,
.emb-nav > ul > li.menu-item-has-children > a::before {
  content: ""; position: absolute; right: 1px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor;
  transform: translateY(-75%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.emb-nav > ul > li.emb-has-sub:hover > a::before,
.emb-nav > ul > li.menu-item-has-children:hover > a::before {
  transform: translateY(-25%) rotate(225deg);
}

.emb-nav li > ul {
  position: absolute; top: 100%; left: 50%; z-index: 10;
  min-width: 236px; padding: 10px 0;
  background: var(--surface);
  border-radius: var(--r-sm);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 44px -28px rgba(22, 22, 15, .5);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.emb-nav li:hover > ul,
.emb-nav li:focus-within > ul {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.emb-nav li > ul a {
  display: block; padding: 11px 24px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  color: var(--ink-2); white-space: nowrap;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.emb-nav li > ul a::after { display: none; }   /* no sliding underline in the panel */
.emb-nav li > ul a:hover { color: var(--gold-deep); background: var(--surface-3); }

/* ---------- mobile drawer accordion ---------- */
/* The toggle button is injected by enmusubi-top.js for any drawer item that
   has a nested <ul>, so neither template nor a WordPress walker has to emit it. */
.emb-drawer > ul > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.emb-drawer__toggle {
  width: 48px; align-self: stretch;
  display: grid; place-items: center; color: var(--ink-3);
}
.emb-drawer__toggle svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.emb-drawer > ul > li.is-open > .emb-drawer__toggle svg { transform: rotate(180deg); }

.emb-drawer > ul > li > ul {
  grid-column: 1 / -1; display: none;
  border-top: 1px solid var(--line-soft); padding-bottom: 6px;
}
.emb-drawer > ul > li.is-open > ul { display: flex; }
.emb-drawer > ul > li > ul > li { border-bottom: 0; }
.emb-drawer > ul > li > ul > li > a {
  padding: 13px 4px 13px 18px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}

/* A bare `hidden` attribute has to beat a component's own display rule. (0,2,0)
   here, so no !important needed. Used by the sections parked until the client
   has content/links for them — see README bagian 22. */
.emb [hidden] { display: none; }

/* =========================================================================
   Perbaikan 18 Nov 2026 — lihat README bagian 23
   ========================================================================= */

/* ---------- header: scrim supaya nav terbaca di atas foto hero ----------
   Header-nya transparan di posisi paling atas, dan sejak 制作実績 dicabut
   menu-nya bergeser ke kanan — tepat ke area foto hero. Teks nav warnanya
   --ink (nyaris hitam), jadi di bagian foto yang gelap dia hilang.
   Scrim tipis sewarna --bg: di atas area teks (yang memang --bg) dia tak
   terlihat sama sekali, di atas foto dia mengembalikan dasar terang.
   z-index -1 menaruhnya di belakang isi header tapi tetap di dalam stacking
   context header, jadi tetap di atas konten halaman. */
.emb-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom,
              rgba(246, 244, 241, .92) 0%,
              rgba(246, 244, 241, .78) 52%,
              rgba(246, 244, 241, 0) 100%);
  transition: opacity .4s var(--ease);
}
/* begitu ter-stuck, header punya permukaannya sendiri — scrim tidak perlu */
.emb-header.is-stuck::before { opacity: 0; }

/* ---------- jarak JOURNAL -> REASON saat WORKS disembunyikan ----------
   .emb-media sama sekali tidak punya padding-bottom: dulu tidak perlu, karena
   di bawahnya ada WORKS yang latarnya sama-sama --surface dan punya padding
   sendiri, jadi pita putihnya menyambung. Begitu WORKS diberi `hidden`, pita
   putih itu berhenti PERSIS di tepi bawah panel JOURNAL lalu langsung berganti
   ke --bg milik REASON — panelnya jadi terlihat menempel ke batas warna.

   Jadi jaraknya dibagi dua, bukan ditumpuk di satu sisi:
     5vw  pita putih di bawah panel (punya .emb-media)
     3vw  padding-top bawaan .emb-reason-approach
     ---- +
     8vw  = persis ritme antar section (.emb-section)

   Keduanya mengikat ke `[hidden]`, jadi begitu WORKS ditampilkan lagi aturan
   ini berhenti berlaku sendiri dan kalibrasi lama kembali. */
.emb-media:has(+ .emb-works[hidden]) { padding-bottom: clamp(40px, 5vw, 74px); }
