/* 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; }
