/* ============================================================
   ABOUT · 工房 — page styles. Layered on /styles.css globals.
   All NEW classes prefixed .ab-* so they never collide with the
   home or inner-page styles. Editorial Japanese register.

   Sections (post-rewrite):
     .ab-dateline   — top mono caption line
     .ab-founder    — Section 壱 "The Studio" — H1 + photo + body
     .ab-work       — Section 弐 "The Work" — body + motto
     .ab-contact    — Section 参 "Reaching Us" — body + WhatsApp link

   Layout for Section 壱 mirrors the prior 2-column grid: photo
   placeholder left, prose right. Aspect ratio of the photo plate
   is now 1:1 (was 4:5) per the 800×800 portrait target.
   ============================================================ */

.page-about {
  background: var(--bone);
  color: var(--sumi);
  position: relative;
  overflow-x: clip;
}

/* ============================================================
   SUBPAGE CHROME — shared header/footer with /commission and
   /specify. Inlined here so /about doesn't have to pull those
   per-page stylesheets. Values intentionally match.
   ============================================================ */
.sp-top {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(239, 231, 214, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 0.5px solid var(--rule-soft);
}
.sp-top__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-style: italic; font-weight: 700; font-size: 19px;
  letter-spacing: -0.01em; color: var(--sumi);
}
.sp-top__brand a {
  display: flex; align-items: center; gap: 12px;
  color: inherit; text-decoration: none;
  transition: opacity .25s ease;
}
.sp-top__brand a:hover { opacity: 0.7; }
.sp-top__cat { width: 30px; height: 30px; object-fit: contain; display: block; }
.sp-top__back {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pencil); text-decoration: none;
  transition: color .2s ease;
}
.sp-top__back:hover { color: var(--akane); }
@media (max-width: 600px) {
  .sp-top { padding: 12px var(--gutter); }
  .sp-top__brand { font-size: 16px; }
  .sp-top__cat { width: 26px; height: 26px; }
  .sp-top__back { font-size: 10px; letter-spacing: 0.2em; }
}

.sp-foot {
  margin-top: 0;
  padding: 48px var(--gutter) 32px;
  border-top: 0.5px solid var(--rule-soft);
  background: var(--bone);
}
.sp-foot__top {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 32px; align-items: start;
  padding-bottom: 24px;
  border-bottom: 0.5px dotted var(--rule-soft);
}
@media (min-width: 760px) {
  .sp-foot__top { grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
}
.sp-foot__brand { display: flex; align-items: center; gap: 12px; }
.sp-foot__brand img { width: 36px; height: 36px; object-fit: contain; display: block; }
.sp-foot__name {
  font-family: var(--display); font-style: italic; font-weight: 700;
  font-size: 19px; color: var(--sumi); letter-spacing: -0.015em; line-height: 1.1;
}
.sp-foot__tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pencil); margin-top: 4px;
}
.sp-foot__nav {
  display: flex; flex-wrap: wrap; gap: 24px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
@media (min-width: 760px) { .sp-foot__nav { justify-content: center; } }
.sp-foot__nav a {
  color: var(--sumi); text-decoration: none;
  border-bottom: 0.5px dotted transparent; padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.sp-foot__nav a:hover,
.sp-foot__nav a[aria-current="page"] {
  color: var(--akane); border-bottom-color: var(--akane);
}
.sp-foot__social { display: flex; gap: 6px; }
.sp-foot__social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--sumi); border: 0.5px solid var(--rule-soft);
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}
.sp-foot__social a:hover {
  color: var(--bone); background: var(--akane); border-color: var(--akane);
  transform: translateY(-2px);
}
.sp-foot__close {
  max-width: 1280px; margin: 0 auto; padding-top: 24px;
  display: flex; align-items: baseline; gap: 12px;
}
.sp-foot__close-jp {
  font-family: var(--jp); font-size: 16px;
  color: var(--akane); letter-spacing: 0.08em;
}
.sp-foot__close-en {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pencil);
}

/* The shell — page max + outer padding */
.ab-page {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(80px, 12vh, 140px);
}

/* ---------- DATELINE ---------- */
.ab-dateline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0 0 clamp(56px, 8vh, 96px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sumi-soft);
}
.ab-dateline__num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--sumi);
  letter-spacing: -0.01em;
  text-transform: none;
}
.ab-dateline__sep { color: var(--rule); }
.ab-dateline__jp {
  font-family: var(--jp);
  color: var(--akane);
  letter-spacing: 0.14em;
  text-transform: none;
}

/* ============================================================
   SECTION 壱 · THE STUDIO — atelier intro + team line.
   Two-column grid: photo placeholder left, body right.
   Photo plate is 1:1 (800×800 target) and intentionally minimal
   when empty — the visible content is "PORTRAIT · 写真" + a small
   印 mark + a "Portrait pending" caption.
   ============================================================ */
.ab-founder {
  position: relative;
  margin: 0 0 clamp(48px, 7vh, 96px);
}
.ab-founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 28px;
}
@media (max-width: 800px) {
  .ab-founder__grid { grid-template-columns: 1fr; gap: 28px; }
}

.ab-founder__plate {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ab-founder__plate-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1.5px solid var(--akane);
  background: var(--bone-soft);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ab-founder__plate-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--akane);
  margin: 0;
  opacity: 0.65;
}
.ab-founder__plate-mark {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: var(--jp);
  font-size: 14px;
  color: var(--akane);
  background: var(--bone);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--akane);
  font-weight: 700;
}
.ab-founder__plate-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sumi-soft);
}
.ab-founder__plate-caption em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sumi);
}

/* Body column */
.ab-founder__body { padding-top: 4px; }
.ab-founder__name {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--sumi);
}
.ab-founder__lede {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--sumi);
  max-width: 56ch;
}
.ab-founder__lede em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  color: var(--akane);
}

/* Roster — italic line listing the team. Sits below the lede.
   Reads as a colophon block: italic Bodoni, akane left rail. */
.ab-founder__roster {
  margin: 22px 0 0;
  padding: 14px 18px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sumi);
  background: var(--bone-soft);
  border-left: 2px solid var(--akane);
  max-width: 60ch;
}
.ab-founder__roster em {
  font-family: inherit;
  font-style: inherit;
  color: var(--sumi);
}

/* ============================================================
   SECTION 弐 · THE BENCH — two-card grid (Joash + Trevis).
   Same plate language as the founder photo but smaller (1:1 cards)
   with kanji eyebrow + "Never the face" italic note in each plate.
   ============================================================ */
.ab-team {
  position: relative;
  margin: clamp(48px, 7vh, 96px) 0 clamp(48px, 7vh, 96px);
}
.ab-team__heading {
  margin: 16px 0 14px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  color: var(--sumi);
}
.ab-team__heading em { color: var(--akane); }
.ab-team__lede {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sumi);
  max-width: 64ch;
}
.ab-team__lede em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  color: var(--akane);
}
.ab-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.ab-team__card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ab-team__plate {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bone-soft);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
}
.ab-team__plate-eyebrow {
  font-family: var(--jp);
  font-size: 28px;
  font-weight: 500;
  color: var(--akane);
  margin: 0 0 12px;
  line-height: 1;
}
.ab-team__plate-brief {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  line-height: 1.5;
  color: var(--sumi-soft);
  margin: 0;
}
.ab-team__caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ab-team__name {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--sumi);
}
.ab-team__role {
  margin: 2px 0 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--akane);
}
.ab-team__note {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.5;
  color: var(--sumi);
}
.ab-team__ledger {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 12px;
  font-size: 11px;
}
.ab-team__ledger dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sumi-soft);
  padding-top: 2px;
}
.ab-team__ledger dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--sumi);
}
.ab-team__ledger dd em {
  font-style: italic;
  color: var(--akane);
}

/* ============================================================
   SECTION 参 · THE WORK — what we do, plainly.
   ============================================================ */
.ab-work {
  position: relative;
  margin: clamp(36px, 6vh, 72px) 0;
}
.ab-work__body {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--sumi);
  max-width: 60ch;
}
.ab-work__body em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  color: var(--akane);
  font-feature-settings: "onum" 1;
}
.ab-work__motto {
  margin: 22px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.005em;
  color: var(--akane);
}

/* ============================================================
   SECTION 参 · REACHING US — single, real path to a conversation.
   ============================================================ */
.ab-contact {
  position: relative;
  margin: clamp(36px, 6vh, 72px) 0 0;
}
.ab-contact__body {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--sumi);
  max-width: 60ch;
}
.ab-contact__body em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  color: var(--sumi);
}
.ab-contact__link {
  color: var(--akane);
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-thickness .2s ease;
}
.ab-contact__link:hover {
  color: var(--akane-deep);
  text-decoration-thickness: 1.5px;
}
.ab-contact__link:focus-visible {
  outline: 2px solid var(--akane);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   FOLD RULE BETWEEN SECTIONS — global .fold-rule from styles.css.
   Local override for spacing margins on the about page only.
   ============================================================ */
.ab-page > .fold-rule {
  margin-top: clamp(40px, 6vh, 72px);
  margin-bottom: clamp(40px, 6vh, 72px);
}

/* ============================================================
   A11Y — reduced-motion block kills subtle transitions.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .ab-page * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----- Footer type — dialled smaller across the board ----- */
.sp-foot__name { font-size: 15px; }
.sp-foot__tag  { font-size: 8.5px; }
.sp-foot__nav  { font-size: 9.5px; }
.sp-foot__base { font-size: 8.5px; }
