/* ==========================================================================
   03 · ABOUT  (#about)  +  "Our story" reader (#reader-story)
   The split day / night circle is the hero of the section.

   Art: floral-spray.webp is an RGBA ink plate (alpha, veins knocked out) so it
   needs no blend mode; great-wave-night.webp is an opaque --night duotone that
   sits in the night half with `lighten` so stars / cloud show through its sky.
   ========================================================================== */
.about {
  /* inner width of .container, so the composition scales with the grid, not the raw viewport */
  --cw: calc(min(100vw, var(--maxw)) - var(--gutter) * 2 - var(--rail-w));
  --about-pt: clamp(4.75rem, 8.4vw, 9.5rem);
  --about-pb: clamp(4rem, 6.2vw, 7.5rem);
  --d: calc(var(--cw) * .38);                  /* disc diameter */
  --gap: calc(var(--cw) * .03);                /* column gap */
  --floral-x: calc(var(--d) * .17);            /* how far the florals overflow the disc's left rim */
  --stage-drop: calc(var(--d) * .02);          /* how far the disc sits below the label line */
  --day: #F6EBCF;                              /* sun-warmed paper (cream + 15% ochre) */
  padding-block: var(--about-pt) var(--about-pb);
  overflow: hidden;
  overflow: clip;
}
@supports (background: color-mix(in srgb, red 10%, blue)) {
  .about { --day: color-mix(in srgb, var(--ochre) 15%, var(--cream)); }
}

/* giant ghost kanji: bleeds off the right edge, behind the ornament column — the disc eclipses most of it */
.about .about__ghost {
  z-index: -1;
  right: -5vw; top: 3%;
  font-size: clamp(15rem, 40vw, 44rem);
}

/* ---- grid ---------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(var(--d) * 1.16) auto;
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "intro stage side"
    "body  stage side"
    "stats stage side";
  column-gap: var(--gap);
}
.about__intro { grid-area: intro; }
.about__body  { grid-area: body; }
.about__stats { grid-area: stats; }
.about__side  { grid-area: side; }
.about__stage { grid-area: stage; }

/* ---- heading --------------------------------------------------------------- */
.about__label { display: flex; align-items: center; gap: 1.1em; color: var(--ink-80); }
.about__label-tick { display: block; width: 2.2rem; height: 1px; background: var(--line-strong); }
.about__title {
  margin-top: clamp(1.1rem, 1.9vw, 2rem);
  font-size: clamp(2.3rem, calc(var(--cw) * .046), 4.75rem);
  line-height: 1.04; letter-spacing: -.03em;
  font-optical-sizing: none; font-variation-settings: "opsz" 40;   /* sturdier hairlines at sentence-case sizes (same cut as the featured title) */
  text-wrap: initial;
  max-width: 9.2em;
}
.about__title em { color: var(--vermillion); letter-spacing: -.025em; padding-right: .04em; }

/* ---- copy ------------------------------------------------------------------ */
/* the florals reach (--floral-x − --gap) into this column: the copy stops short of them */
.about__body { margin-top: clamp(1.5rem, 2.4vw, 2.6rem); max-width: min(30rem, calc(100% - var(--floral-x) + var(--gap) - 1.25rem)); }
.about__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.about__copy { margin-top: .9em; color: var(--ink-60); }
.about__actions { margin-top: clamp(1.75rem, 2.6vw, 2.75rem); }
.about__story-btn { min-width: 12.5rem; justify-content: space-between; }

/* ---- stats ----------------------------------------------------------------- */
.about__stats {
  align-self: end;
  display: flex; align-items: stretch;
  margin-top: clamp(2.5rem, 4.6vw, 5rem);
}
.about__stat {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .7rem;
  padding-inline: clamp(1.25rem, 2.6vw, 3rem);
  border-left: 1px solid var(--line-strong);
}
.about__stat:first-child { padding-left: 0; border-left: 0; }
.about__stat-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, calc(var(--cw) * .034), 3.6rem); line-height: .9; letter-spacing: -.035em;
  font-variant-numeric: lining-nums tabular-nums;
  font-optical-sizing: none; font-variation-settings: "opsz" 48;
  white-space: nowrap;
}
.about__stat-plus { font-size: .62em; font-weight: 500; color: var(--vermillion); margin-left: .08em; vertical-align: .42em; font-variation-settings: "opsz" 18; }
.about__stat-label { color: var(--ink-60); white-space: nowrap; }

/* ---- side: stacked labels + seal ------------------------------------------- */
.about__side {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
  padding-top: calc(var(--stage-drop) + var(--d) * .045);
}
.about__stack { color: var(--ink-80); gap: 1.15em; }
.about__stack span { display: block; }
.about__side-rule { display: block; width: 2.1rem; height: 1px; background: var(--line-strong); }
.about__seal { font-size: clamp(1.25rem, 1.75vw, 1.7rem); padding: .55em .36em; }
.about__seal--disc { display: none; }

/* ==========================================================================
   THE STAGE — split day / night disc
   ========================================================================== */
.about__stage {
  position: relative;
  /* reach up to the section's top edge so the axis can hang from the value strip */
  margin-top: calc(var(--about-pt) * -1);
  padding-top: calc(var(--about-pt) + var(--stage-drop));
  pointer-events: none;
}
.about__art { position: relative; width: var(--d); height: var(--d); }

/* halves */
.about__half { position: absolute; top: 0; width: 50%; height: 100%; overflow: hidden; }
.about__half--day   { left: 0;   border-radius: 9999px 0 0 9999px; background-color: var(--day); }
.about__half--night { left: 50%; border-radius: 0 9999px 9999px 0; background-color: var(--night); --art-paper: var(--night); }
/* printed-paper tooth over both halves */
.about__half::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .93 0 0 0 0 .9 0 0 0 -1.6 1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .5;
}
.about__half--night::after { opacity: .1; }

/* sun: a full disc centred ON the axis, so the night half eclipses exactly half of it.
   Two-pass print: a deeper ochre base under the woodblock-textured ochre disc (grain reads tone-on-tone). */
.about__sun {
  position: absolute; left: 100%; top: 51%; width: 112%; aspect-ratio: 1; margin: -56% 0 0 -56%;
  border-radius: 50%; background-color: var(--ochre-deep);
  --art-sun: var(--ochre); --art-accent: var(--ochre-deep); --art-paper: var(--day);
}
.about .about__sun-art { position: absolute; inset: 0; color: var(--ochre-deep); }
.about .about__sun-art > svg { width: 100%; height: 100%; }
/* no JS: plain ochre disc */
.about .about__sun-art:not([data-art-mounted])::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ochre); }
/* flung pigment around the sun (mostly up and to the left, as in the reference) */
.about .about__splatter { position: absolute; color: var(--ochre); --art-accent: var(--ochre); }
.about .about__splatter--a { left: 6%; top: -4%; width: 104%; }
.about .about__splatter--b { left: -2%; top: 38%; width: 96%; color: var(--ochre-deep); opacity: .85; }

/* night contents */
.about .about__stars { position: absolute; left: -6%; top: -2%; width: 124%; color: var(--parchment); opacity: .9; }
/* gold kumo drifting in from the right rim, behind the wave */
.about .about__cloud { position: absolute; left: 34%; top: 24.5%; width: 104%; color: var(--gold-line); opacity: .85; }
/* great-wave-night.webp is backed with exactly --night. `lighten` lets the stars + cloud behind it show through
   its printed sky while the foam still covers them. Mirrored so the claw curls in towards the axis;
   oversized + pushed past the rim so Hokusai's cartouche falls outside the disc. */
.about__wave { position: absolute; left: -77%; bottom: -1%; width: 194%; mix-blend-mode: lighten; }
.about__wave-img { width: 100%; height: auto; transform: scaleX(-1); }
.about__crescent { position: absolute; left: 21%; top: 14%; width: 47%; }
.about .about__crescent-art { color: var(--cream); --art-paper: var(--night); }

/* ambient life — only while the disc is on screen (about.js toggles .is-live); whole-layer opacity / transform only */
@media (prefers-reduced-motion: no-preference) {
  .about__stage.is-live .about__stars [data-layer="stars-2"] { animation: about-twinkle 5.5s ease-in-out infinite; }
  .about__stage.is-live .about__stars [data-layer="stars-3"] { animation: about-twinkle 8s ease-in-out -3s infinite; }
  .about__stage.is-live .about__cloud > svg { animation: about-drift 26s ease-in-out infinite alternate; }
}
@keyframes about-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes about-drift { from { transform: translateX(-2.5%); } to { transform: translateX(2.5%); } }

/* hairline geometry */
.about__lines {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  color: var(--ink); stroke: currentColor; stroke-width: 1; pointer-events: none;
}
.about__lines path, .about__lines circle { vector-effect: non-scaling-stroke; }
.about__arc { opacity: .62; }
.about__arc--dotted { stroke-dasharray: 1 7; stroke-linecap: round; stroke-width: 1.4; opacity: .5; }
.about__horizon { opacity: .38; }
.about__horizon path:first-child { stroke-dasharray: 10 7; }

/* florals: a layer the size of the disc; plates are placed inside it in % of the disc.
   The wrapper carries the scroll parallax, the inner layer is staged by about.js. */
.about__floral { position: absolute; inset: 0; }
.about__floral-in { position: absolute; inset: 0; display: block; }
.about__floral-img { position: absolute; max-width: none; height: auto; }
.about__floral-img--spray { left: -17%; top: -9%; width: 66%; }
.about__floral-img--bloom { left: -9%; top: 60%; width: 43%; }

/* axis */
.about__axis {
  position: absolute; left: calc(var(--d) / 2); top: 0; width: 1px; margin-left: -.5px;
  height: calc(var(--about-pt) + var(--stage-drop) + var(--d) * 1.07);
}
.about__axis-line { position: absolute; inset: 0; background: var(--ink); opacity: .5; transform-origin: 50% 0; }
.about__axis-tail {
  position: absolute; left: 0; top: 100%; width: 1px; height: calc(var(--d) * .1);
  background: repeating-linear-gradient(to bottom, var(--vermillion) 0 2px, transparent 2px 8px);
  transform-origin: 50% 0;
}
.about__axis-bead {
  position: absolute; left: 50%; bottom: 0; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px;
  border-radius: 50%; background: var(--vermillion); box-shadow: 0 0 0 4px var(--parchment);
}
.about__axis-diamond {
  position: absolute; left: 50%; top: calc(var(--about-pt) + var(--stage-drop) - var(--d) * .045);
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--ink); transform: rotate(45deg);
}

/* ornament column */
.about__dangler {
  position: absolute; left: calc(var(--d) * 1.075); top: calc(var(--about-pt) + var(--stage-drop) + var(--d) * .03);
  width: calc(var(--d) * .095); overflow: hidden;
}
.about .about__dangler-art { color: var(--ink); --art-accent: var(--vermillion); }

/* ==========================================================================
   SMALL LAPTOP  1024–1199 (no rail): same composition, tighter
   ========================================================================== */
@media (max-width: 1199px) {
  .about { --d: calc(var(--cw) * .36); }
  .about__grid { column-gap: calc(var(--cw) * .032); }
  .about__title { font-size: clamp(2.3rem, calc(var(--cw) * .0478), 5rem); }
  .about__stat { padding-inline: clamp(1rem, 2vw, 2rem); }
}

/* ==========================================================================
   TABLET  768–1023: poster layout — heading + label stack on top, the disc
   large and right-of-centre, copy in two columns underneath
   ========================================================================== */
@media (max-width: 1023px) {
  .about {
    --d: min(64vw, 34rem);
    --stage-drop: 0px;
    --about-pt: clamp(4.5rem, 10vw, 7rem);
  }
  .about .about__ghost { left: auto; right: -8%; top: 1%; font-size: clamp(14rem, 52vw, 30rem); }
  .about__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    grid-template-areas:
      "intro side"
      "stage stage"
      "body  body"
      "stats stats";
    column-gap: 2rem;
  }
  .about__title { font-size: clamp(2.3rem, 7.4vw, 4.2rem); max-width: 9.4em; }
  .about__side { padding-top: .2rem; align-items: flex-end; text-align: right; }
  .about__seal--side { display: none; }
  .about__seal--disc { display: inline-grid; position: absolute; right: 7%; bottom: 3%; }

  .about__stage {
    margin-top: clamp(3rem, 8vw, 4.5rem); padding-top: 0;
    padding-bottom: calc(var(--d) * .15);
    padding-left: calc((100% - var(--d)) * .58);
  }
  .about__axis { left: calc((100% - var(--d)) * .58 + var(--d) / 2); top: calc(var(--d) * -.1); height: calc(var(--d) * 1.17); }
  .about__axis-diamond { top: calc(var(--d) * .055); }
  .about__dangler { left: calc((100% - var(--d)) * .58 + var(--d) * 1.11); top: calc(var(--d) * .04); }

  .about__body {
    max-width: none; margin-top: clamp(1rem, 3vw, 2rem);
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 4rem); align-items: start;
  }
  .about__lead { grid-row: 1 / span 2; font-size: clamp(1.2rem, 2.7vw, 1.5rem); }
  .about__copy { margin-top: .2em; }
  .about__actions { margin-top: 1.5rem; }
  .about__stats { margin-top: clamp(3rem, 7vw, 4.5rem); padding-top: clamp(1.75rem, 4vw, 2.5rem); border-top: 1px solid var(--line); }
  .about__stat { flex: 1 1 0; }
  .about__stat-num { font-size: clamp(2.4rem, 6.4vw, 3.6rem); }
}

/* ==========================================================================
   PHONE  ≤767: heading → disc (~92vw, florals bleeding off the left) → copy
   ========================================================================== */
@media (max-width: 767px) {
  .about {
    --d: min(90vw, 30rem);
    --about-pt: clamp(4rem, 17vw, 5.5rem);
    --about-pb: clamp(3.5rem, 14vw, 5rem);
  }
  .about .about__ghost { right: -14%; top: .5%; font-size: clamp(13rem, 74vw, 24rem); }
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "stage" "side" "body" "stats";
  }
  .about__title { font-size: clamp(2.3rem, 11.2vw, 3.6rem); margin-top: 1.2rem; max-width: none; }

  /* the disc breaks out of the gutters: centred a touch right so the florals run off the left edge */
  .about__stage {
    margin: clamp(2.75rem, 11vw, 4rem) calc(var(--gutter) * -1) 0;
    padding: 0 0 calc(var(--d) * .13) calc(100vw - var(--d) - 2.5vw);
  }
  .about__axis { left: calc(100vw - var(--d) / 2 - 2.5vw); top: calc(var(--d) * -.09); height: calc(var(--d) * 1.14); }
  .about__dangler { display: none; }
  .about__floral-img--spray { left: -24%; }
  .about__seal--disc { right: 5%; bottom: 1%; font-size: 1.2rem; }

  /* label stack becomes a single printed line under the disc */
  .about__side { padding-top: 0; margin-top: 1.25rem; align-items: stretch; text-align: left; }
  .about__stack {
    display: flex; justify-content: space-between; align-items: center; gap: .5rem;
    padding-block: .95rem; border-block: 1px solid var(--line);
    font-size: .625rem; letter-spacing: .22em;
  }
  .about__stack span + span::before { content: none; }
  .about__side-rule { display: none; }

  .about__body { display: block; margin-top: 2.25rem; }
  .about__lead { font-size: 1.2rem; }
  .about__copy { margin-top: .9em; }
  .about__actions { margin-top: 1.9rem; }
  .about__story-btn { width: 100%; }

  .about__stats { margin-top: 2.75rem; padding-top: 1.75rem; }
  .about__stat { padding-inline: clamp(.75rem, 4vw, 1.25rem); gap: .6rem; }
  .about__stat-num { font-size: clamp(1.9rem, 9.4vw, 2.75rem); }
  .about__stat-label { white-space: normal; font-size: .625rem; letter-spacing: .2em; line-height: 1.5; }
}

/* ==========================================================================
   OUR STORY — reader dialog (#reader-story)
   ========================================================================== */
/* close button: a direct child of the dialog (base .reader__close pins it to the viewport corner), so it
   stays in reach while the panel scrolls; it fades in once the panel has slid under it */
.reader .about-story__close {
  background-color: var(--parchment); color: var(--ink);
  opacity: 0; transition: opacity .35s ease, background-color var(--dur-1) ease, color var(--dur-1) ease;
}
.reader.is-open .about-story__close { opacity: 1; transition-delay: .55s, 0s, 0s; }
.reader .about-story__close:hover { background-color: var(--ink); color: var(--parchment); }
.about-story__close::before, .about-story__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.05rem; height: 1.4px; margin: -.7px 0 0 -.525rem; background: currentColor; }
.about-story__close::before { transform: rotate(45deg); }
.about-story__close::after { transform: rotate(-45deg); }
/* dev / no-runtime fallback: dialog opened without the .is-open choreography */
.reader--story[open]:not(.is-open):not(.is-closing) .about-story__close { opacity: 1; }

.about-story { position: relative; }
.about-story__label { display: flex; align-items: center; gap: 1.1em; color: var(--ink-60); margin-bottom: 1.4rem; }
.about-story__label::before { content: ""; width: 2.2rem; height: 1px; background: var(--line-strong); }
.about-story .about-story__title { font-size: clamp(2.4rem, 5.6vw, 3.9rem); line-height: 1.02; margin-bottom: 1.6rem; font-optical-sizing: none; font-variation-settings: "opsz" 40; }
.about-story .about-story__title em { color: var(--vermillion); }
.about-story .about-story__lead { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.38; letter-spacing: -.008em; color: var(--ink); max-width: 26em; font-optical-sizing: none; font-variation-settings: "opsz" 16; }

.about-story__figure { margin: clamp(2rem, 5vw, 3rem) 0; }
.about-story__figure--sign { width: min(100%, 24rem); }
.about-story__figure--neon { width: min(100%, 25rem); margin-left: auto; }
.about-story__figure--neon .about-story__frame { padding: clamp(.8rem, 2.4vw, 1.4rem); }
.about-story__frame { display: block; padding: clamp(.5rem, 1.4vw, .8rem); overflow: hidden; }
.about-story__frame img { width: 100%; height: auto; border-radius: 1px; }
/* the lounge photo becomes a tondo with the neon at the top and the sofa below — echoes the round A|T sign and the About disc
   (and leaves the air-conditioner of the raw frame outside the circle) */
.about-story__crop { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 50%; }
.about-story__crop img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transform-origin: 60% 34%; }
.about-story__caption { display: flex; gap: .9em; align-items: baseline; margin-top: .9rem; font-size: var(--fs-small); color: var(--ink-60); line-height: 1.45; }
.about-story__caption::before { content: ""; flex: none; width: 1.4rem; height: 1px; background: var(--line-strong); transform: translateY(-.3em); }

.about-story .about-story__steps { list-style: none; padding: 0; margin-top: 1.2rem; display: grid; gap: 0; counter-reset: step; }
.about-story__step { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: .2rem 0; padding-block: 1.05rem; border-top: 1px solid var(--line); counter-increment: step; max-width: none; }
.about-story__step:last-child { border-bottom: 1px solid var(--line); }
.about-story__step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--vermillion); }
.about-story__step strong { display: block; font-weight: 600; letter-spacing: .02em; color: var(--ink); }

.about-story .about-story__promise { list-style: none; padding: 0; }
.about-story__promise li { position: relative; padding-left: 1.6rem; }
.about-story .about-story__promise + p { margin-top: 1.1em; }
.about-story__promise li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: 7px; height: 7px; background: var(--vermillion); transform: rotate(45deg); }

.about-story__end { margin-top: clamp(2.5rem, 6vw, 3.5rem); padding-top: clamp(1.75rem, 4vw, 2.5rem); border-top: 1px solid var(--line-strong); display: grid; gap: 1.6rem; justify-items: start; }
.about-story .about-story__sign { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.about-story__cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; }
.about-story__seal { font-size: 1.15rem; }
@media (max-width: 479px) {
  .about-story__cta-row .btn { width: 100%; justify-content: space-between; }
}
