/* ==========================================================================
   AILO Construction A09 — 스페이스랩 (상업공간 인테리어)
   원형: 다크 벤토 그리드(사진 + 숫자 칸 히어로, 탭에 따라 섹션 바탕 톤 전환) — 2026-11 고도화(원색 블록·장식 한글체 제거)
   타이포: Pretendard + Unbounded(영문 라벨·숫자만) / 컬러: 차콜 무채색 + 머스터드 골드 #cfae63 1색
   ========================================================================== */

:root {
  --ailo-bg: #111113;
  --ailo-fg: #f4f3ef;
  --ailo-muted: #a6a6ab;
  --ailo-line: rgba(244, 243, 239, .14);
  --ailo-accent: #cfae63;
  --ailo-accent-ink: #111;
  --ailo-header-h: 76px;

  --a09-k: #111113;
  --a09-k2: #1b1b1e;
  --a09-y: #cfae63;      /* 강조색(머스터드 골드) */
  --a09-yd: #7d6326;     /* 밝은 바탕 위 강조 글자 */
  --a09-p: #cfae63;      /* 이전 핫핑크 자리 — 강조색으로 통일 */
  --a09-b: #2a2a2e;      /* 이전 코발트 자리 — 차콜 */
  --a09-m: #cfae63;      /* 이전 민트 자리 */
  --a09-w: #f4f3ef;
  --a09-paper: #f4f3ef;
  --a09-ink: #1b1b1e;
  --a09-text: #46464b;
  --a09-kr: "Pretendard Variable", Pretendard, sans-serif;
  --a09-en: "Unbounded", "Pretendard Variable", Pretendard, sans-serif;
  --a09-sec: clamp(72px, 8vw, 128px);
  --a09-r: 6px;
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
body { font-size: 17px; letter-spacing: -.01em; }
main img { height: auto; }
.lab { font-family: var(--a09-en); font-size: 14px; font-weight: 600; letter-spacing: .12em; margin-bottom: 18px; color: var(--a09-y); }
.sec { padding-block: var(--a09-sec); }
.sec__title { font-family: var(--a09-kr); font-weight: 800; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.2; letter-spacing: -.035em; word-break: keep-all; }

/* 버튼 */
.cbtn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: var(--a09-r); font-weight: 700; font-size: 16px; border: 1px solid currentColor; transition: background-color .2s, color .2s, border-color .2s; }
.cbtn--fill { background: var(--a09-ink); color: #fff; border-color: var(--a09-ink); }
.cbtn--fill:hover, .cbtn--fill:focus-visible { background: var(--a09-y); border-color: var(--a09-y); color: #111; }
.cbtn--line { margin-top: 28px; min-height: 48px; font-size: 15px; }
.cbtn--line:hover { background: var(--a09-w); color: var(--a09-k); border-color: var(--a09-w); }

/* ===== Header ===== */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--ailo-header-h); background: rgba(17, 17, 19, .96); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hd.is-scrolled { border-bottom-color: var(--ailo-line); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 32px; padding-inline: var(--ailo-gutter); }
.hd__logo { display: flex; align-items: center; gap: 10px; font-family: var(--a09-en); font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin-right: auto; }
.hd__logo b { font-weight: 400; margin-left: 2px; }
.hd__sq { width: 26px; height: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; transition: rotate .5s var(--ailo-ease); }
.hd__sq i:nth-child(1) { background: var(--a09-y); }
.hd__sq i:nth-child(2) { background: #f4f3ef; border-radius: 0 50% 0 0; }
.hd__sq i:nth-child(3) { background: #6b6b70; border-radius: 0 0 0 50%; }
.hd__sq i:nth-child(4) { background: #3a3a3e; }
.hd__logo:hover .hd__sq { rotate: 90deg; }
.hd__nav { display: flex; gap: 4px; }
.hd__nav a { padding: 8px 14px; border-radius: 4px; font-weight: 600; font-size: 16px; transition: background-color .2s, color .2s; }
.hd__nav a:hover { background: rgba(255, 255, 255, .08); color: var(--a09-y); }
.hd__cta { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: var(--a09-r); background: var(--a09-y); color: #111; font-weight: 700; font-size: 15px; transition: background-color .2s; }
.hd__cta:hover { background: var(--a09-w); color: #111; }

/* Mobile nav */
.mnav { background: var(--a09-k); }
.mnav__in { min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--ailo-header-h) + 12px) var(--ailo-gutter) 32px; }
.mnav__in > a { min-height: 68px; display: flex; align-items: center; font-family: var(--a09-kr); font-weight: 700; font-size: 24px; letter-spacing: -.03em; color: var(--a09-w); border-bottom: 1px solid var(--ailo-line); }
.c-yellow, .c-pink, .c-blue, .c-mint, .c-white { background: transparent; color: var(--a09-w) !important; }
.mnav__in > a:hover { color: var(--a09-y) !important; }
.mnav__cta { margin-top: 24px; justify-content: center; border: 0 !important; border-radius: var(--a09-r); background: var(--a09-y); color: #111 !important; font-size: 17px !important; font-weight: 700; min-height: 58px !important; }
.mnav__cta:hover { color: #111 !important; }

/* ===== Hero (다크 벤토) ===== */
.hero { padding-top: var(--ailo-header-h); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr); grid-template-rows: minmax(260px, 1fr) minmax(200px, auto); gap: 1px; background: var(--ailo-line); min-height: clamp(620px, calc(100svh - var(--ailo-header-h)), 860px); }
.blk { position: relative; padding: clamp(24px, 3vw, 48px); overflow: hidden; }
.blk--title { grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end; background: var(--a09-k); }
.hero__eyebrow { font-family: var(--a09-en); font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--a09-y); }
.hero__title { font-family: var(--a09-kr); font-weight: 800; font-size: clamp(48px, 6.4vw, 96px); line-height: 1.08; margin-top: 22px; letter-spacing: -.045em; }
.hero__title span { color: var(--a09-y); }
.hero__lead { margin-top: 28px; max-width: 460px; color: #cfcfd2; font-size: 18px; line-height: 1.7; word-break: keep-all; }
.blk--img { grid-column: 2; grid-row: 1; padding: 0; margin: 0; background: var(--a09-k2); }
.blk--img img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.blk--img figcaption { position: absolute; left: 16px; bottom: 16px; border-radius: 4px; background: rgba(17, 17, 19, .82); color: var(--a09-w); font-size: 14px; font-weight: 500; padding: 8px 12px; }
.blk--pink { grid-column: 3; grid-row: 1; background: var(--a09-k2); color: var(--a09-w); display: flex; flex-direction: column; justify-content: space-between; }
.blk--pink .blk__num { color: var(--a09-y); }
.blk--yellow { grid-column: 2; grid-row: 2; background: var(--a09-k); color: var(--a09-w); display: flex; flex-direction: column; justify-content: space-between; padding-inline: 0; }
.blk--blue { grid-column: 3; grid-row: 2; background: var(--a09-y); color: #111; display: flex; flex-direction: column; justify-content: space-between; }
.blk__k { font-weight: 600; font-size: 16px; }
.blk__num { font-family: var(--a09-en); font-weight: 700; font-size: clamp(44px, 4.6vw, 76px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero__words { --ailo-marquee-gap: 28px; --ailo-marquee-speed: 22s; font-family: var(--a09-en); font-weight: 700; font-size: clamp(32px, 3.4vw, 56px); line-height: 1.1; letter-spacing: -.03em; color: #5d5d62; }
.hero__words span:nth-child(even) { color: var(--a09-y); font-size: .4em; align-self: center; }
.blk__link { margin: 0 clamp(24px, 3vw, 48px); font-weight: 700; font-size: 16px; display: inline-flex; gap: 10px; align-items: center; align-self: flex-start; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .2s, color .2s; }
.blk__link:hover { color: var(--a09-y); gap: 16px; }

/* ===== Studio ===== */
.studio { background: var(--a09-paper); color: var(--a09-ink); }
.studio .lab { color: var(--a09-yd); }
.studio__state { font-family: var(--a09-kr); font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.35; max-width: 1080px; letter-spacing: -.035em; word-break: keep-all; }
.studio__state mark { background: none; color: var(--a09-yd); padding: 0; box-shadow: inset 0 -.18em 0 rgba(207, 174, 99, .35); }
.studio__vals { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--a09-ink); }
.studio__vals article { padding: 32px 32px 0 0; }
.studio__vals article + article { padding-left: 32px; border-left: 1px solid #d9d7d0; }
.studio__ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 8px; background: var(--a09-ink); color: var(--a09-y); font-size: 20px; margin-bottom: 22px; }
.studio__vals h3 { font-weight: 700; font-size: 21px; letter-spacing: -.03em; }
.studio__vals p { margin-top: 8px; font-size: 16px; line-height: 1.7; color: var(--a09-text); word-break: keep-all; }

/* ===== Spaces (탭에 따라 바탕 톤 전환) ===== */
.spaces { --tone: #f1ebe0; --tone-ink: var(--a09-ink); background: var(--tone); color: var(--tone-ink); transition: background-color .6s var(--ailo-ease); }
.spaces .lab { color: var(--a09-yd); }
.spaces[data-tone="cafe"] { --tone: #f1ebe0; }
.spaces[data-tone="office"] { --tone: #e8ebef; }
.spaces[data-tone="retail"] { --tone: #ecede6; }
.spaces__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 28px; margin-bottom: clamp(36px, 4vw, 60px); }
.spaces__tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(27, 27, 30, .07); }
.spaces__tabs button { border: 0; border-radius: 999px; background: transparent; color: inherit; padding: 12px 22px; font-weight: 700; font-size: 16px; transition: background-color .25s, color .25s; }
.spaces__tabs button:hover { background: rgba(27, 27, 30, .08); }
.spaces__tabs button[aria-selected="true"] { background: var(--a09-ink); color: #fff; }
.spaces__panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.spaces__panel.is-swap .spaces__body > *, .spaces__panel.is-swap .spaces__imgs figure { animation: a09-up .55s var(--ailo-ease) both; }
.spaces__panel.is-swap .spaces__imgs figure:nth-child(2) { animation-delay: .08s; }
@keyframes a09-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.spaces__imgs { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; align-items: end; }
.spaces__imgs figure { margin: 0; overflow: hidden; border-radius: var(--a09-r); }
.spaces__imgs img { width: 100%; height: 100% !important; object-fit: cover; }
.spaces__img1 { aspect-ratio: 9 / 7; }
.spaces__img2 { aspect-ratio: 6 / 7; margin-left: -18%; margin-bottom: -10%; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--tone), 0 24px 40px -20px rgba(0, 0, 0, .35); transition: box-shadow .6s var(--ailo-ease); }
.spaces__en { font-family: var(--a09-en); font-weight: 600; font-size: 14px; letter-spacing: .1em; color: var(--a09-yd); }
.spaces__title { font-family: var(--a09-kr); font-weight: 800; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; letter-spacing: -.035em; margin-top: 10px; }
.spaces__desc { margin-top: 16px; font-size: 17px; line-height: 1.7; max-width: 520px; color: var(--a09-text); word-break: keep-all; }
.spaces__pts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.spaces__pts li { padding: 8px 14px; border-radius: 4px; background: #fff; color: var(--a09-ink); font-weight: 600; font-size: 15px; }
.spaces__dl { margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--a09-ink); }
.spaces__dl > div { padding: 16px 12px 0 0; }
.spaces__dl dt { font-weight: 600; font-size: 14px; color: var(--a09-text); }
.spaces__dl dd { margin: 6px 0 0; font-family: var(--a09-en); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.03em; }

/* ===== Numbers ===== */
.num { background: var(--a09-k); border-block: 1px solid var(--ailo-line); }
.num__grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: calc(var(--ailo-max, 1320px) + var(--ailo-gutter) * 2); margin: 0 auto; padding-inline: var(--ailo-gutter); }
.num__c { padding: clamp(40px, 5vw, 72px) clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--ailo-line); background: transparent; color: var(--a09-w); }
.num__c:first-child { border-left: 0; padding-left: 0; }
.num__c--k .num__v { color: var(--a09-y); }
.num__v { font-family: var(--a09-en); font-weight: 600; font-size: clamp(44px, 4.8vw, 76px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.num__k { margin-top: 14px; font-weight: 600; font-size: 16px; color: var(--ailo-muted); }

/* ===== Works ===== */
.works__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.works__filter { display: flex; flex-wrap: wrap; gap: 8px; }
.works__filter button { border: 1px solid rgba(244, 243, 239, .3); border-radius: 999px; background: transparent; color: var(--a09-w); padding: 10px 20px; font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s, border-color .2s; }
.works__filter button:hover { border-color: var(--a09-w); }
.works__filter button.is-on { background: var(--a09-w); border-color: var(--a09-w); color: var(--a09-k); }
.works__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 24vw, 380px); gap: 16px; grid-auto-flow: dense; }
.wk { animation: a09-up .5s var(--ailo-ease); }
.wk[hidden] { display: none; }
.wk--big { grid-column: span 2; }
.wk a { display: block; position: relative; height: 100%; border-radius: var(--a09-r); overflow: hidden; }
.wk figure { overflow: hidden; position: relative; height: 100%; margin: 0; background: var(--a09-k2); }
.wk figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .7)); transition: background-color .35s; }
.wk img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .8s var(--ailo-ease); }
.wk a:hover img, .wk a:focus-visible img { transform: scale(1.05); }
.wk a:hover figure::after, .wk a:focus-visible figure::after { background-color: rgba(0, 0, 0, .2); }
.wk__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; color: #fff; }
.wk__cap span { font-family: var(--a09-en); font-size: 14px; font-weight: 500; color: var(--a09-y); letter-spacing: .04em; }
.wk__cap h3 { font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.03em; margin-top: 4px; }

/* ===== Process ===== */
.process { background: var(--a09-paper); color: var(--a09-ink); }
.process .lab { color: var(--a09-yd); }
.process__head { margin-bottom: clamp(36px, 4vw, 60px); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { padding: 28px 24px 26px; min-height: 280px; display: flex; flex-direction: column; position: relative; border-radius: 8px; background: #fff; color: var(--a09-ink); transition: translate .3s var(--ailo-ease), box-shadow .3s; }
.step:hover { translate: 0 -6px; box-shadow: 0 20px 36px -22px rgba(0, 0, 0, .3); }
.step--w { background: var(--a09-ink); color: #fff; }
.step__no { font-family: var(--a09-en); font-weight: 600; font-size: clamp(36px, 3.4vw, 52px); line-height: 1; letter-spacing: -.05em; color: var(--a09-yd); }
.step--w .step__no { color: var(--a09-y); }
.step h3 { font-family: var(--a09-kr); font-weight: 700; font-size: 21px; letter-spacing: -.03em; margin-top: auto; }
.step p { font-size: 15.5px; line-height: 1.6; margin-top: 8px; color: var(--a09-text); word-break: keep-all; }
.step--w p { color: #c9c9cd; }
.step em { font-style: normal; font-weight: 600; font-size: 14px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #e3e1db; }
.step--w em { border-color: rgba(255, 255, 255, .18); color: var(--a09-y); }

/* ===== Journal ===== */
.journal__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 80px); }
.journal__list { border-top: 1px solid var(--a09-w); }
.journal__list a { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--ailo-line); transition: padding .25s, color .25s; }
.journal__list a:hover, .journal__list a:focus-visible { padding-inline: 12px; color: var(--a09-y); }
.jt { font-family: var(--a09-en); font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 6px 10px; border-radius: 4px; color: var(--a09-y); border: 1px solid rgba(207, 174, 99, .5); text-align: center; }
.jt--y, .jt--p, .jt--b, .jt--m { background: transparent; color: var(--a09-y); }
.journal__list b { font-weight: 600; font-size: clamp(16px, 1.25vw, 18px); }
.journal__list time { font-size: 14px; color: var(--ailo-muted); font-variant-numeric: tabular-nums; }

/* ===== Clients ===== */
.clients { padding-block: 32px; background: var(--a09-k); border-block: 1px solid var(--ailo-line); --ailo-marquee-gap: 64px; --ailo-marquee-speed: 40s; }
.clients span { font-family: var(--a09-kr); font-weight: 700; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.03em; color: #6b6b70; transition: color .25s; }
.clients span:nth-child(even) { font-family: var(--a09-en); font-weight: 600; }
.clients span:hover { color: var(--a09-w); }

/* ===== Quote ===== */
.quote { background: var(--a09-paper); color: var(--a09-ink); }
.quote .lab { color: var(--a09-yd); }
.quote__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 88px); align-items: start; }
.quote__title { font-family: var(--a09-kr); font-weight: 800; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.15; letter-spacing: -.04em; }
.quote__title span { display: inline-block; color: var(--a09-yd); margin-top: .1em; }
.quote__desc { margin-top: 28px; font-size: 17px; line-height: 1.7; max-width: 440px; color: var(--a09-text); word-break: keep-all; }
.quote__tel { margin-top: 28px; font-family: var(--a09-en); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; }
.quote__tel small { display: block; font-family: var(--a09-kr); font-weight: 500; font-size: 15px; letter-spacing: 0; margin-top: 6px; color: var(--a09-text); }
.qf { background: #fff; border-radius: 10px; box-shadow: 0 24px 48px -30px rgba(0, 0, 0, .3); padding: clamp(22px, 3vw, 44px); display: grid; gap: 18px; }
.qf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qf__row--3 { grid-template-columns: 1fr 1.2fr 1fr; }
.qf__f { display: grid; gap: 6px; min-width: 0; }
.qf__f > span, .qf__seg legend { font-weight: 700; font-size: 15px; color: var(--a09-text); }
.qf__f input, .qf__f select, .qf__f textarea { width: 100%; min-width: 0; border: 1px solid #d8d6d0; border-radius: var(--a09-r); background: #fff; padding: 10px 14px; font-size: 16px; color: var(--a09-ink); }
.qf__f input, .qf__f select { height: 52px; }
.qf__f input:focus, .qf__f select:focus, .qf__f textarea:focus { outline: none; border-color: var(--a09-ink); box-shadow: 0 0 0 3px rgba(207, 174, 99, .35); }
.qf__seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.qf__seg legend { float: none; width: auto; padding: 0; margin-bottom: 8px; line-height: 1.5; }
.qf__seg > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qf__seg label { position: relative; }
.qf__seg input { position: absolute; opacity: 0; inset: 0; }
.qf__seg span { display: flex; justify-content: center; align-items: center; height: 52px; border: 1px solid #d8d6d0; border-radius: var(--a09-r); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; text-align: center; padding: 0 4px; }
.qf__seg label:hover span { border-color: var(--a09-ink); }
.seg-y input:checked + span, .seg-b input:checked + span, .seg-p input:checked + span, .seg-m input:checked + span { background: var(--a09-ink); border-color: var(--a09-ink); color: #fff; }
.qf__seg input:focus-visible + span { outline: 2px solid var(--a09-yd); outline-offset: 2px; }
.qf__agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--a09-text); }
.qf__agree input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--a09-ink); flex: none; }

/* ===== Footer ===== */
.ft { background: #0b0b0c; padding-block: 48px 40px; font-size: 14px; color: #a6a6ab; }
.ft__mark { font-family: var(--a09-en); font-weight: 700; font-size: clamp(40px, 11vw, 168px); line-height: .9; letter-spacing: -.06em; color: #26262a; white-space: nowrap; }
.ft__mark span { font-weight: 400; color: #4a4128; }
.ft__grid { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--ailo-line); display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; line-height: 1.8; }
.ft__links { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; font-size: 15px; }
.ft__links a:hover { color: var(--a09-y); }
.ft__links b { color: var(--a09-w); }
.ft__copy { margin-top: 28px; font-size: 13px; color: #7d7d82; }

/* ===== Responsive ===== */
@media (max-width: 1199.98px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { min-height: 240px; }
}
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 64px; }
  .hd__nav, .hd__cta { display: none; }
  .hero__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
  .blk--title { grid-column: 1 / -1; grid-row: auto; padding-top: 56px; padding-bottom: 48px; }
  .blk--img { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .blk--pink, .blk--blue { grid-column: auto; grid-row: auto; min-height: 180px; }
  .blk--yellow { grid-column: 1 / -1; grid-row: auto; gap: 18px; padding-block: 28px; order: 5; }
  .studio__vals { grid-template-columns: 1fr; }
  .studio__vals article + article { padding-left: 0; border-left: 0; border-top: 1px solid #d9d7d0; }
  .studio__vals article { padding-bottom: 28px; }
  .spaces__panel { grid-template-columns: 1fr; }
  .spaces__imgs { margin-bottom: 8%; }
  .num__grid { grid-template-columns: repeat(2, 1fr); }
  .num__c:nth-child(3) { border-left: 0; padding-left: 0; }
  .num__c:nth-child(n+3) { border-top: 1px solid var(--ailo-line); }
  .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 280px; }
  .journal__grid, .quote__grid { grid-template-columns: 1fr; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(40px, 12vw, 52px); }
  .hero__lead { font-size: 16px; }
  .blk__num { font-size: 40px; }
  .blk__k { font-size: 15px; }
  .spaces__tabs { width: 100%; border-radius: 10px; }
  .spaces__tabs button { flex: 1; padding: 12px 6px; font-size: 14px; border-radius: 8px; }
  .spaces__dl { grid-template-columns: 1fr 1fr; }
  .spaces__dl > div:last-child { grid-column: 1 / -1; }
  .num__c { padding: 28px 16px; }
  .num__c:nth-child(odd) { padding-left: 0; }
  .works__grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; }
  .wk--big { grid-column: auto; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { min-height: 0; display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 20px; }
  .step__no { grid-row: 1 / 4; font-size: 36px; }
  .step h3 { margin-top: 0; font-size: 20px; }
  .step em { margin-top: 10px; padding-top: 8px; }
  .step:hover { translate: none; }
  .journal__list a { grid-template-columns: 1fr; gap: 8px; }
  .jt { justify-self: start; }
  .qf__row, .qf__row--3 { grid-template-columns: 1fr; }
  .qf__seg > div { grid-template-columns: 1fr 1fr; }
  .ft__grid { grid-template-columns: 1fr; }
}
