/* about-studio-1.1 (2026-11-12): the 2S Studio section, shared by the About page (section 03, where the Journal was)
   and the home page (section 01, first after the cover). 2S has no journal. One
   genuine screenshot from the app installed on the owner's iPhone — 2S Studio 0.1.0 (1324), captured with
   `xcrun devicectl device capture screenshot` (docs/about-2s-studio/PROVENANCE.md) — the client's three steps,
   the team behind the app and the App Store badge. The badge's address lives only in js/app-store.js; while
   it is empty the badge is not a link and the note says the app is coming soon. Atelier v2 tokens only. */
.at .as-sec { background: var(--stone); }
.at .as-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); grid-template-areas: "head device" "body device"; column-gap: clamp(48px, 7vw, 104px); row-gap: 36px; align-items: start; }
.at .as-head { grid-area: head; display: grid; gap: 22px; align-self: end; }
.at .as-body { grid-area: body; display: grid; gap: 34px; align-content: start; }
.at .as-device { grid-area: device; align-self: center; justify-self: center; margin: 0; display: grid; justify-items: center; gap: 22px; }
.at .as-lede { font-size: 19px; line-height: 1.55; color: var(--at-ink-2); max-width: 44ch; text-wrap: pretty; }
.at .as-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.at .as-steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.at .as-steps .as-n { grid-row: 1 / span 2; font: italic 400 30px/1 var(--serif); color: var(--at-brass-text); }
.at .as-steps h3 { margin: 0; font: 400 23px/1.15 var(--serif); letter-spacing: -0.015em; }
.at .as-steps p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--at-ink-2); max-width: 54ch; text-wrap: pretty; }
.at .as-team { display: grid; gap: 10px; }
.at .as-team p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--at-ink-2); max-width: 58ch; text-wrap: pretty; }
.at .as-label { font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--at-brass-text); }
.at .as-get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.at .as-note { margin: 0; font: 500 10.5px/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--at-ink-3); }

/* The App Store badge: Apple's black badge proportions (rounded black field, thin grey keyline, white Apple
   mark, "Download on the" over "App Store"), at the height of the site's buttons. */
.at .as-badge { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 10px; background: #000; color: #fff; border: 1px solid #a6a6a6; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; text-decoration: none; transition: background 0.25s ease; }
.at .as-badge[href]:hover { background: #1d1d1b; }
.at .as-badge[href]:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.at .as-badge[aria-disabled="true"] { cursor: default; }
.at .as-badge__logo { width: 25px; height: 25px; flex: none; margin-top: -3px; }
.at .as-badge__txt { display: grid; line-height: 1; text-align: left; }
.at .as-badge__txt small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
.at .as-badge__txt b { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }

/* the screenshot in a plain device frame */
.at .as-phone { width: min(330px, 74vw); padding: 9px; border-radius: 53px; background: #0e0e0d; box-shadow: inset 0 0 0 1px #2c2c29, 0 54px 80px -44px rgba(27, 28, 25, 0.6), 0 20px 34px -22px rgba(27, 28, 25, 0.4); }
.at .as-phone img { display: block; width: 100%; height: auto; aspect-ratio: 1320 / 2868; border-radius: 44px; background: #f2eee7; }
.at .as-cap { display: grid; gap: 6px; justify-items: center; text-align: center; max-width: 32ch; }
.at .as-cap span { font-size: 14px; line-height: 1.5; color: var(--at-ink-2); }

@media (max-width: 900px) {
  .at .as-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "device" "body"; row-gap: 44px; }
  .at .as-device { align-self: start; }
}
@media (max-width: 640px) {
  .at .as-lede { font-size: 17px; }
  .at .as-phone { width: min(280px, 76vw); border-radius: 46px; padding: 8px; }
  .at .as-phone img { border-radius: 38px; }
  .at .as-steps li { grid-template-columns: 38px minmax(0, 1fr); }
  .at .as-steps .as-n { font-size: 26px; }
  .at .as-steps h3 { font-size: 21px; }
}

/* my-project-studio-1.0 (the Owner, Nov 23 2026): the same section on black (My project, above the footer) */
.at .as-sec.as-sec--ink { background: var(--ink); color: var(--ivory); --line: var(--at-ink-line); padding-bottom: clamp(72px, 9vw, 140px); }
.at .as-sec--ink .at-h2, .at .as-sec--ink .as-steps h3 { color: var(--ivory); }
.at .as-sec--ink .as-lede, .at .as-sec--ink .as-steps p, .at .as-sec--ink .as-team p, .at .as-sec--ink .as-cap span { color: var(--at-band-2); }
.at .as-sec--ink .as-steps { border-top-color: rgba(245, 242, 234, 0.6); }
.at .as-sec--ink .as-steps li { border-bottom-color: var(--at-ink-line); }
.at .as-sec--ink .as-steps .as-n, .at .as-sec--ink .as-label, .at .as-sec--ink .at-mark__n { color: var(--at-brass-light); }
.at .as-sec--ink .as-note { color: rgba(245, 242, 234, 0.55); }
.at .as-sec--ink .as-phone { box-shadow: inset 0 0 0 1px #34342f, 0 0 0 1px rgba(245, 242, 234, 0.06), 0 54px 90px -40px rgba(0, 0, 0, 0.8); }
/* the footer's photograph rises out of the same black: the photograph and its cut-out palms fade in from the ink
   above (a mask on the pictures only — "Create your place." keeps its full white) */
.at.at-from-ink .at-foot__depth { background: var(--ink); }
.at.at-from-ink .at-foot__depth img {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 16%, rgba(0, 0, 0, 0.7) 34%, #000 55%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 16%, rgba(0, 0, 0, 0.7) 34%, #000 55%);
}
.at.at-from-ink .at-foot.site-footer { border-top: 0; }

/* studio-show-1.0 (the Owner, 2026-12-03): the phone plays the app's photo-design flow (js/studio-show.js). The screen holds two
   stacked screenshots that hand over to each other, and a soft circle shows each tap. The caption keeps one height (a one-line
   label, two lines' room for the description) so the phone never moves. The steps light up as the phone reaches them; on a narrow
   page, where they sit under the phone, four small chips above it do that instead. */
.at .as-scr { position: relative; aspect-ratio: 1320 / 2868; border-radius: 44px; overflow: hidden; background: #f2eee7; isolation: isolate; }
.at .as-phone .as-scr img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; aspect-ratio: auto; background: transparent; }
.at .as-tap { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(26, 27, 24, 0.16); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9), 0 2px 10px rgba(0, 0, 0, 0.18); opacity: 0; pointer-events: none; z-index: 5; }
.at [data-studio-show] .as-cap { grid-template-rows: auto 3em auto; align-items: start; width: min(34ch, 100%); max-width: none; }
.at [data-studio-show] .as-cap .as-label { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at [data-studio-show] .as-cap .as-line { height: 3em; overflow: hidden; }
.at .as-pp { display: inline-flex; align-items: center; gap: 8px; padding: 6px 2px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--at-ink-3); background: none; border: 0; cursor: pointer; }
.at .as-pp[hidden] { display: none; }
.at .as-pp svg { width: 12px; height: 12px; }
.at .as-steps li { position: relative; }
.at .as-steps .as-go { all: unset; cursor: pointer; }
.at .as-steps .as-go:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.at [data-studio-show].is-live .as-steps li { cursor: pointer; }
.at .as-bar { position: absolute; left: 60px; right: 0; bottom: -1px; height: 1px; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.at [data-studio-show].is-live .as-steps li:not(.is-on) > * { opacity: 0.42; transition: opacity 0.4s; }
.at [data-studio-show].is-live .as-steps li:not(.is-on) > .as-bar { opacity: 1; }
.at .as-chips { display: none; }
.at .as-sec--ink .as-pp { color: rgba(245, 242, 234, 0.55); }
@media (max-width: 900px) {
  .at [data-studio-show].is-live .as-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: min(340px, 100%); }
  .at .as-chips button { all: unset; cursor: pointer; display: grid; gap: 7px; font: 500 9px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; color: var(--at-ink-3); }
  .at .as-chips button i { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; }
  .at .as-chips button i::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
  .at .as-chips button.is-on { color: var(--ink); }
  .at .as-sec--ink .as-chips button { color: rgba(245, 242, 234, 0.55); }
  .at .as-sec--ink .as-chips button.is-on { color: var(--ivory); }
  .at [data-studio-show].is-live .as-steps li:not(.is-on) > * { opacity: 1; }
}
@media (max-width: 640px) {
  .at .as-scr { border-radius: 38px; }
  .at .as-bar { left: 52px; }
}
@media (prefers-reduced-motion: reduce) { .at .as-bar, .at .as-chips button i::after { transition: none; } }
