/* ==========================================================================
   SOIL+ — v4 (2026-10-04, after the first client meeting)
   Home / Mission / Works / Privacy. Loaded after style.css + pages.css.
   ========================================================================== */

/* brand mark: "SOIL+" — the plus sits small and high */
.plus { font-size: 0.5em; vertical-align: 0.62em; margin-left: 0.04em; letter-spacing: 0; }
.hero__title .plus { font-size: 0.4em; vertical-align: 1.1em; }

/* ---------- concept: EN lead + vertical JP ---------- */
.c3__body .concept__lead { margin-top: 26px; font-size: clamp(30px, 3vw, 44px); }
.c3__body .concept__text { margin-top: 32px; }
.c3__body .concept__text p { height: clamp(300px, 26vw, 380px); margin-top: 0; font-size: 15px; line-height: 2.4; max-width: none; }

/* ---------- services: five rows, in the client's order ---------- */
.svc5 { padding-block: clamp(80px, 10vw, 140px); }
.svc5 h2 { font-size: clamp(22px, 2.3vw, 30px); margin-top: 22px; }
.svc5__lead { margin-top: 18px; font-size: 14.5px; line-height: 2.1; max-width: 34em; }
.svc5__list { margin-top: clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.svc5__row {
  display: grid; grid-template-columns: 5fr 7fr; gap: 8px clamp(28px, 5vw, 80px); align-items: baseline;
  padding-block: clamp(22px, 2.6vw, 32px); border-top: 1px solid var(--line);
}
.svc5__row h3 { font-family: var(--en); font-weight: 400; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; }
.svc5__row h3 small { display: block; margin-top: 8px; font-family: var(--jp); font-size: 13px; letter-spacing: 0.2em; color: var(--rust); }
.svc5__row p { font-size: 14px; line-height: 2.05; max-width: 32em; }
.svc5__row p a { border-bottom: 1px solid currentColor; }
.svc5__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: clamp(32px, 4vw, 52px); }
.svc5__aside img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- three-up works preview ---------- */
.wgrid--3 { grid-template-columns: repeat(3, 1fr); }
.wgrid--3 img { aspect-ratio: 4 / 3.4; }

/* ---------- area band (olive) ---------- */
.mv__item dl { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; font-size: 13.5px; line-height: 1.9; }
.mv__item dt { opacity: 0.75; letter-spacing: 0.16em; }

/* ---------- flow note ---------- */
.steps__note { margin-top: 28px; font-size: 13px; color: var(--stone); letter-spacing: 0.08em; }

/* ---------- company on home ---------- */
.profile--home { background: var(--paper); }
.company a { border-bottom: 1px solid currentColor; }

/* ---------- inquiry form, made stronger ---------- */
.field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent;
  padding: 10px 0; font: inherit; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.field .opt { color: var(--stone); letter-spacing: 0.1em; }
.field .req { color: var(--rust); margin-left: 6px; letter-spacing: 0.1em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; border: 0; }
.chips legend { font-size: 12px; letter-spacing: 0.24em; color: var(--stone); margin-bottom: 10px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line); background: var(--white);
  font-size: 13px; letter-spacing: 0.08em; line-height: 1.4; transition: border-color 0.25s, background 0.25s;
}
.chips input:checked + span { border-color: var(--ink); background: var(--leaf); }
.chips input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.8; }
.agree input { margin-top: 5px; accent-color: var(--rust); }
.agree a { border-bottom: 1px solid currentColor; }
.inquiry__dm { margin-top: 28px; }
.inquiry__dm a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border: 1px solid var(--ink); font-size: 13px; letter-spacing: 0.14em; }
.inquiry__dm a:hover { background: var(--ink); color: var(--white); }
.inquiry__dm svg { width: 22px; height: 8px; }

/* ---------- mission page ---------- */
.mbody { padding-block: clamp(88px, 11vw, 150px); }
.mbody__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.mbody h2 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 26px; line-height: 1.7; }
.mbody__text p { margin-top: 24px; font-size: 15px; line-height: 2.3; max-width: 32em; }
.mbody__fig { position: sticky; top: 110px; }
.mbody__fig img { width: 100%; aspect-ratio: 1122 / 1402; object-fit: cover; }
.voice { padding-block: clamp(72px, 9vw, 120px); background: var(--paper); }
.voice__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.voice h2 { font-size: clamp(22px, 2.3vw, 30px); margin-top: 22px; }
.voice blockquote { font-family: var(--jp); font-size: clamp(18px, 1.8vw, 22px); letter-spacing: 0.1em; line-height: 2; padding-left: 24px; border-left: 2px solid var(--rust); }
.voice blockquote + blockquote { margin-top: 28px; }
.voice cite { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; color: var(--stone); letter-spacing: 0.12em; }
.wide-photo img { width: 100%; height: clamp(320px, 52vw, 720px); object-fit: cover; }
.rep__body p { font-size: 14.5px; line-height: 2.2; max-width: 34em; }
.rep__body .pending { color: var(--stone); }

/* ---------- privacy page ---------- */
.policy { padding-block: clamp(72px, 9vw, 120px); }
.policy__body { max-width: 44em; }
.policy__body h2 { font-family: var(--jp); font-weight: 500; font-size: 18px; letter-spacing: 0.12em; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.policy__body h2:first-child { margin-top: 0; }
.policy__body p, .policy__body li { margin-top: 14px; font-size: 14px; line-height: 2.1; }
.policy__body ul { list-style: disc; padding-left: 1.4em; }
.policy__date { margin-top: 48px; font-size: 13px; color: var(--stone); }
.phead--short { min-height: clamp(300px, 40vh, 400px); }

/* footer privacy link */
.footer__bottom a { border-bottom: 1px solid currentColor; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .c3__body .concept__text p { writing-mode: horizontal-tb; height: auto; line-height: 2.2; }
  .svc5__row { grid-template-columns: 1fr; }
  .wgrid--3 { grid-template-columns: 1fr; gap: 28px; }
  .mbody__grid, .voice__grid { grid-template-columns: 1fr; }
  .mbody__fig { position: static; }
  .field-row { grid-template-columns: 1fr; }
}

/* fix: the hero title's inner span is display:block for the mask animation — keep the plus inline */
.hero__title span.plus { display: inline; transform: none; transition: none; }
@media (max-width: 600px) {
  .mbody h2 { font-size: 19px; letter-spacing: 0.06em; }
}

/* ---------- real logo (mask images, so it takes the text colour) ---------- */
.lg { display: block; flex: none; object-fit: contain; transition: filter 0.5s var(--ease); }
/* the PNGs are black; flip to white wherever the logo sits on a dark ground */
.header.is-light .lg, .header.is-open .lg, .footer .lg { filter: invert(1); }
.lg-mark { width: 30px; height: 30px; }
.lg-word { width: 64px; height: 23px; }
.brand { gap: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.splash__logo { gap: 22px; }
.splash__logo .lg-mark { width: 76px; height: 76px; }
.splash__logo .lg-word { width: 96px; height: 35px; }
.footer__line .lg-mark { width: 34px; height: 34px; }
.footer__line .lg-word { width: 72px; height: 26px; }
@media (max-width: 600px) {
  .brand .lg-mark { width: 26px; height: 26px; }
  .brand .lg-word { width: 56px; height: 20px; }
}
.rep__name { font-family: var(--jp); font-size: 22px; letter-spacing: 0.16em; margin-bottom: 14px; }
.rep__name span { margin-left: 16px; font-family: var(--en); font-size: 15px; letter-spacing: 0.12em; color: var(--stone); }
.rep__body p + p { margin-top: 10px; }
.policy__body a { border-bottom: 1px solid currentColor; }

/* ---------- brand notation "SOIL ＋": the plus is a full letter, evenly tracked (2026-10-05) ---------- */
.plus, .hero__title .plus, .hero__title span.plus {
  font-size: 1em; vertical-align: baseline; margin-left: 0; letter-spacing: inherit;
  font-weight: 400;
}
.hero__title { letter-spacing: 0.16em; }
.phead h1 { letter-spacing: 0.14em; }
/* L has a long foot, so the plus needs a hair more room to look evenly spaced */
.hero__title .plus, .phead h1 .plus, .splash__logo .plus { margin-left: 0.08em; }

/* ---------- 2026-10-05: wordmark now carries the plus; Instagram mark ---------- */
.lg-word { width: 78px; height: 23px; }
.splash__logo .lg-word { width: 118px; height: 35px; }
.footer__line .lg-word { width: 88px; height: 26px; }
@media (max-width: 600px) { .brand .lg-word { width: 67px; height: 20px; } }
/* the plus in Cormorant sits below the cap centre; lift it to the middle of the capitals */
.hero__title .plus, .phead h1 .plus, .splash__logo .plus { position: relative; top: -0.11em; }

.ig-link { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-left: auto; color: inherit; transition: opacity 0.3s; }
.ig-link svg { width: 21px; height: 21px; }
.ig-link:hover { opacity: 0.7; }
.header .ig-link + .cta { margin-left: 4px; }
@media (min-width: 1025px) { .ig-link { margin-left: 0; } }
.ig-text { display: inline-flex; align-items: center; gap: 8px; }
.ig-text svg { width: 15px; height: 15px; flex: none; }
.inquiry__dm .ig-text svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .ig-link { margin-left: auto; } }

/* footer Instagram: Instagram's own gradient on hover */
.footer .ig-text { transition: color 0.3s; }
.footer .ig-text:hover {
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 78%, #4f5bd5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer .ig-text:hover svg { color: #d62976; }
