/* ───────── 공개 홈페이지 — Astra 디자인 V3 (2026-11-02) ─────────
   기준: Z:\ASTRA\TODAM_WEB\Astra\DESIGN_20261102_V3 public.css (+ tokens.css 병합)
   - 종이색 밝은 화면만 (base.html 이 html[data-theme=light] — 공개 화면은 다크 모드를 쓰지 않는다)
   - 기기 기본 글꼴, 숫자·도면 주석만 고정폭(--mono). 웹 글꼴 없음
   - 본문 15–18px, 누를 곳 최소 44px, 키보드 포커스 3px, 모션 감소 설정 존중
   - 폭 기준: PC 1440 · 태블릿 768 · 휴대폰 390 (740px 이하에서 '메뉴' 버튼) */

/* ── 바탕 ── */
body { font-family: var(--font); font-size: 16px; line-height: 1.6; background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.057em; }
p { line-height: 1.8; }
button, select, input { color: inherit; font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #c7d9a6; color: #11291f; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.wrap { max-width: 1680px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 6px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }

/* ── 머리 ── */
.head { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 8; }
.headrow { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 16px; flex: none; min-height: 44px; }
.brand img { width: 78px; height: auto; }
.brand small { border-left: 1px solid #bfc8bc; padding-left: 16px; font: 10px/1.4 var(--mono); letter-spacing: .09em; color: var(--muted); }
.head nav { display: flex; gap: 34px; align-items: center; }
.head nav a { font-size: 14px; font-weight: 650; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.head nav a:hover { color: #934512; }
.head nav a[aria-current="page"] { color: #934512; }
.head nav .login { border-left: 1px solid var(--line); padding-left: 26px; color: var(--muted); font-size: 12px; }
.hamb { display: none; }

/* ── 글자 체계 ── */
.tiny, .eyebrow, .plate, .figtext .plate, .indexno { font-family: var(--mono); text-transform: uppercase; }
.eyebrow, .tiny { font-size: 11px; letter-spacing: .13em; line-height: 1.55; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: #c87736; display: inline-block; flex: none; }
.textlink { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; font-weight: 650; font-size: 14px; border-bottom: 1px solid #87958c; }
.textlink:hover { color: var(--clay); }
.herolink, .btn, .linebtn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; padding: 10px 20px; border: 1px solid transparent; font-weight: 650; font-size: 14px; }
.btn { background: var(--moss); color: #fff; }
.herolink:hover, .btn:hover { filter: brightness(.93); }
.linebtn { background: transparent; border: 1px solid #92a294; }
.linebtn:hover { border-color: var(--moss); }

/* ── 홈: 대표 이미지 ── */
.hero { color: #faf8ec; background: #0e2019; position: relative; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; z-index: -2; top: 0; bottom: 0; left: 22%; width: 78%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity .8s ease; }
.hero-slide.is-on { opacity: 1; z-index: 2; }
.hero-slide.is-prev { opacity: 1; z-index: 1; transition: none; }   /* 새 장면이 위에서 페이드인하는 동안 아래에 남는다 */
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 53%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0e2019 8%, rgba(14, 32, 25, .98) 23%, rgba(14, 32, 25, .70) 36%, transparent 57%); }
.hero .hero-copy { position: relative; min-height: clamp(520px, 43vw, 680px); display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 114px; }
.hero .eyebrow { color: #dfdcca; }
.hero h1 { font-size: clamp(64px, 6.25vw, 112px); letter-spacing: -.085em; line-height: 1.04; margin: 28px 0 19px; font-weight: 650; max-width: 7.2em; }
.hero h1 i { color: #dd9255; font-style: normal; }
.hero .desc { color: #dde4db; font-size: clamp(15px, 1.18vw, 19px); max-width: 30em; }
.herolink { background: #ecefdf; color: #172d25; align-self: flex-start; margin-top: 28px; }
.hero :focus-visible { outline-color: #f5ab6b; }
.cross { position: absolute; top: 26px; right: var(--pad); font: 11px var(--mono); letter-spacing: .16em; color: #e0e2cb; }
.platebar { position: absolute; bottom: 0; left: var(--pad); right: var(--pad); min-height: 64px; border-top: 1px solid #ffffff48; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; justify-content: space-between; color: #e4e8de; font-size: 12px; }
.plate { letter-spacing: .12em; font-size: 11px; }
.figtext { display: inline-flex; gap: 14px; align-items: center; }
.control { display: flex; align-items: center; gap: 4px; }
.control button { min-width: 44px; height: 44px; color: inherit; background: transparent; border: 0; font-size: 21px; display: inline-grid; place-items: center; }
.control button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.control output { font: 12px var(--mono); min-width: 52px; text-align: center; }
.control .play .ico { display: block; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.control .play.on .ico { width: 11px; height: 13px; margin: 0; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }

/* ── 홈: 목차 띠 · 작업 방식 · 연구 · 아카이브 ── */
.anchorstrip { background: #e9ede4; }
.anchorstrip .wrap { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 52px; font-size: 12px; }
.anchorstrip a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.section { padding-block: clamp(56px, 6.3vw, 103px); }
.sectionhead { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 0 0 32px; }
.sectionhead h2, .large { font-size: clamp(32px, 3.3vw, 63px); font-weight: 630; margin-top: 12px; }
.methodgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #aeb9ad; }
.method { display: grid; grid-template-columns: 1fr 75px; align-items: center; gap: 6px 12px; padding: 25px 26px 23px 0; }
.method + .method { border-left: 1px solid var(--line); padding-left: 26px; }
.method svg { width: 74px; color: var(--moss); grid-column: 2; grid-row: 1 / 4; }
.method .tiny { color: #66746a; }
.method h3 { font-size: clamp(22px, 2vw, 34px); font-weight: 650; }
.method p { font-size: 14px; color: var(--muted); }
.method:hover svg, .method:hover h3 { color: var(--clay); }
.labband { background: #e9ede4; }
.labgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 90px); align-items: center; }
.labgrid figure { position: relative; }
.labgrid figure img { width: 100%; aspect-ratio: 1.62; object-fit: cover; }
.caption, .figline { display: flex; gap: 20px; justify-content: space-between; align-items: start; font-size: 12px; color: var(--muted); margin-top: 9px; }
.labgrid h2, .cta h2 { font-size: clamp(31px, 3.4vw, 61px); margin: 14px 0 20px; }
.labgrid p { max-width: 44ch; }
.labgrid .textlink { margin-top: 20px; }
.cta { background: #1b3b30; color: #f5f5e9; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 50px; }
.cta h2 { margin: 6px 0; }
.cta .textlink { border-color: #98a899; }
.cta .textlink:hover { color: #f5ab6b; }
.cta :focus-visible { outline-color: #f5ab6b; }

/* ── 바닥 ── */
.footer { border-top: 1px solid var(--line); color: var(--muted); padding: 28px 0; }
.footrow { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; }
.footrow b { color: var(--ink); }
.footrow a { font-weight: 650; min-height: 44px; display: inline-flex; align-items: center; }

/* ── 페이지 머리 ── */
.kickerrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #a9b4a9; padding-block: 15px; }
.crumb { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; min-height: 24px; }
.crumb a { min-height: 24px; display: inline-flex; align-items: center; }
a.crumb:hover, .crumb a:hover { color: var(--ink); }
.titleblock { padding: clamp(40px, 5vw, 85px) 0 35px; }
.titleblock h1, .worktitle { font-size: clamp(44px, 5.2vw, 85px); font-weight: 620; line-height: 1.13; margin: 13px 0 14px; }
.titleblock p, .lead { color: var(--muted); max-width: 64ch; font-size: clamp(16px, 1.4vw, 21px); }

/* ── 설계 아카이브 ── */
.archivelead { display: grid; grid-template-columns: 1.7fr 1fr; gap: 36px; align-items: center; margin: 2px 0 40px; }
.archivelead img { width: 100%; aspect-ratio: 2.35; object-fit: cover; background: #e1e4da; }
.archivelead h2 { font-size: clamp(26px, 3vw, 50px); margin: 12px 0; }
.archivelead p { font-size: 15px; color: var(--muted); }
.archivelead .textlink { margin-top: 12px; }
a.archivelead:hover h2 { color: var(--clay); }
.filterbar { display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; padding: 16px 0; border-block: 1px solid #aab5aa; margin-bottom: 30px; }
.filterset { display: flex; flex-wrap: wrap; gap: 4px; }
.pill { display: inline-flex; align-items: center; border: 1px solid #bbc6bb; background: transparent; padding: 9px 16px; font-size: 13px; min-height: 44px; }
.pill:hover { border-color: var(--moss); }
.pill[aria-current="true"] { background: var(--moss); border-color: var(--moss); color: #fff; }
.filterbar select { appearance: none; -webkit-appearance: none; border: 0; border-bottom: 1px solid #849183; border-radius: 0; padding: 8px 26px 8px 0; min-height: 44px; font-size: 15px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23172d25' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center; cursor: pointer; }
.filterbar output { margin-left: auto; font: 13px var(--mono); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; padding-bottom: 72px; }
.workcard { display: block; min-width: 0; }
.workcard figure { overflow: hidden; background: #e1e4da; }
.workcard img { width: 100%; aspect-ratio: 1.56; object-fit: cover; transition: transform .3s; }
.workcard .ph { aspect-ratio: 1.56; }
.workcard:hover img { transform: scale(1.025); }
.workcard .tiny { color: var(--muted); margin: 12px 0 5px; }
.workcard h2, .workcard h3 { font-size: clamp(20px, 1.7vw, 30px); font-weight: 650; }
.workcard:hover h2, .workcard:hover h3 { color: #934512; }
.cardtitle { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.workcard .arrow { color: #67776a; flex: none; }
.empty { padding: 70px 0; text-align: center; }
.empty .linebtn { margin-left: 8px; }

/* ── 작품 상세 ── */
.detailmedia { display: block; background: #e5e8df; cursor: zoom-in; }
.detailhero { width: 100%; max-height: 70svh; object-fit: contain; background: #e5e8df; margin-inline: auto; }
.detailmedia .ph { min-height: 280px; }
.detailsgrid { display: grid; grid-template-columns: 1fr 2fr; gap: 8%; margin: 42px 0 65px; }
.detailsgrid dt { font-size: 12px; color: var(--muted); }
.detailsgrid dd { margin: 0 0 12px; font-size: 15px; }
.detailsgrid dl { margin: 0; }
.detailsgrid .lead { color: var(--ink); font-size: clamp(19px, 2vw, 29px); line-height: 1.65; margin-top: 10px; white-space: pre-line; }
.images { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.images a { display: block; background: #e5e8df; cursor: zoom-in; }
.images img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.images figure:only-child { grid-column: 1 / -1; }
.player { width: 100%; max-height: 72svh; background: #18281f; }
.videoblock { padding-bottom: 0; }
.paging { display: flex; justify-content: space-between; gap: 22px; margin: 50px 0 0; border-top: 1px solid var(--line); padding: 18px 0 40px; }
.paging a { display: block; min-width: 0; flex: 1; min-height: 44px; }
.paging a:last-child { text-align: right; }
.paging strong { display: block; font-size: clamp(16px, 1.65vw, 24px); }
.paging a:hover strong { color: #934512; }
.related { padding-bottom: 0; }
.related .gallery { padding-bottom: 0; }

/* ── 기술과 실험 ── */
.techcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.techcards .workcard:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; background: #1d392f; color: #f7f6f1; align-items: center; }
.techcards .workcard:first-child img { aspect-ratio: 1.85; }
.techcards .workcard:first-child > div { padding: 16px 32px 24px 0; }
.techcards .workcard:first-child .tiny { color: #d2d8c5; }
.techcards .workcard:first-child:hover h2 { color: #f5ab6b; }
.techcards .workcard:first-child:focus-visible { outline-color: var(--focus); }
.workcard p, .techcards p { font-size: 15px; margin-top: 10px; max-width: 55ch; }
.techcards .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 650; border-bottom: 1px solid currentColor; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); }
.study { padding-top: clamp(40px, 5vw, 80px); scroll-margin-top: 8px; }
.study .titleblock { padding: clamp(24px, 3vw, 48px) 0 24px; }
.study h2:focus { outline: none; }
.study .detailsgrid { margin-bottom: 20px; }
.study .paging { margin-top: 20px; padding-bottom: 0; }

/* ── 토담 소개 ── */
.chrono { padding-bottom: 70px; }
.chronorow { display: grid; grid-template-columns: 1fr 1.1fr 1.6fr; gap: 30px; padding: 28px 0; border-top: 1px solid #b3beb2; }
.chronorow time { font: clamp(22px, 2.6vw, 43px) Georgia, "Times New Roman", serif; letter-spacing: -.04em; color: var(--moss); line-height: 1.2; }
.chronorow h2 { font-size: 24px; }
.chronorow p { font-size: 15px; color: var(--muted); }
.chronorow .chronoworks { font-size: 13px; margin-top: 6px; color: #66746a; }

/* ── 문의 ── */
.addresssheet { display: grid; grid-template-columns: 1fr 1.1fr; border-block: 1px solid #aab5a8; margin: 10px 0 30px; }
.addresssheet > div { padding: 36px 28px 36px 0; min-width: 0; }
.addresssheet > div + div { border-left: 1px solid var(--line); padding-left: 30px; }
.phone { font: clamp(26px, 3.5vw, 59px) Georgia, "Times New Roman", serif; letter-spacing: -.04em; display: inline-block; margin: 16px 0; }
.phone:hover { color: var(--clay); }
.addresssheet address { font-size: clamp(20px, 2vw, 32px); font-style: normal; margin: 17px 0; max-width: 14em; }
.addresssheet .linebtn { margin-top: 10px; }
.bizno { margin-bottom: 65px; }
.map { width: 100%; height: 420px; border: 0; margin-bottom: 65px; }

/* ── 직원 로그인 ── */
.signin { display: grid; grid-template-columns: 1.15fr 1fr; margin: 48px 0; min-height: 440px; border: 1px solid var(--line); }
.signphoto { background: linear-gradient(to top, rgba(14, 32, 25, .88), rgba(14, 32, 25, 0) 50%), #0e2019 url("/static/img/terrain-mobile.webp") center / cover; display: grid; align-content: end; gap: 4px; color: #fff; padding: 22px; }
.signphoto .signcap { font-size: 11px; color: #dde4db; }
.signform { padding: clamp(24px, 5vw, 72px); background: var(--paper); }
.signform h1 { font-size: clamp(35px, 3.4vw, 55px); margin: 12px 0 14px; }
.signform .muted { font-size: 15px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: 13px; font-weight: 650; }
.field input { display: block; width: 100%; min-height: 46px; padding: 9px 10px; border: 1px solid #a6b4a6; border-radius: 0; background: #fff; font-size: 16px; }
.field input:focus-visible { outline-offset: 1px; }
.signform .btn { width: 100%; margin-top: 24px; border: 0; font-size: 15px; justify-content: center; }
.signform .btn:disabled { opacity: .7; cursor: progress; }
.form-error { color: #a33b2c; font-size: 14px; margin-top: 12px; min-height: 1.4em; }
.hint { color: var(--muted); font-size: 12px; margin-top: 10px; }

/* ── 404 ── */
.notfound .worktitle { margin-top: 18px; }
.notfound p { color: var(--muted); margin-bottom: 18px; }

/* ── 이미지가 없을 때 — 가짜 이미지를 만들지 않고 제목만 ── */
.ph { width: 100%; display: grid; place-items: center; text-align: center; padding: 20px; background: #e1e4da; color: var(--muted); font-size: 1rem; }
.ph small { display: block; font-size: 1.3rem; }

/* ── 이미지 확대 ── */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 56px 16px 16px; background: rgba(9, 22, 16, .94); cursor: zoom-out; }
.lightbox img { max-width: min(1400px, 96vw); max-height: 86vh; width: auto; height: auto; object-fit: contain; cursor: default; }
.lb-close { position: absolute; top: 8px; right: 12px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; background: none; color: #fff; font-size: 15px; }
.lb-close:hover { background: rgba(255, 255, 255, .12); }
.lightbox :focus-visible { outline-color: #f5ab6b; }

/* ───────── 넓은 화면 ───────── */
@media (min-width: 1600px) { .hero-media { left: calc(50% - 450px); width: 1260px; } }

/* ───────── 태블릿 이하 (1000px) ───────── */
@media (max-width: 1000px) {
  .head nav { gap: 20px; }
  .brand small { display: none; }
  .hero .hero-copy { min-height: 510px; }
  .hero h1 { font-size: 65px; }
  .hero-media { left: 19%; width: 81%; }
  .method { grid-template-columns: 1fr 56px; padding-right: 14px; }
  .method svg { width: 52px; }
  .method + .method { padding-left: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chronorow { grid-template-columns: .65fr 1.1fr 1.5fr; }
}

/* ───────── 태블릿 (741–1050px) ───────── */
@media (min-width: 741px) and (max-width: 1050px) {
  .hero .hero-copy { min-height: 450px; }
  .hero h1 { font-size: clamp(48px, 6.2vw, 64px); }
  .hero-media { left: 31%; width: 69%; }
  .hero-slide img { object-fit: contain; object-position: center; }
  .hero::before { background: linear-gradient(90deg, #0e2019 26%, rgba(14, 32, 25, .78) 38%, transparent 55%); }
  .hero .desc { font-size: 14px; max-width: 24em; }
  .method, .method + .method { display: flex; flex-direction: column; align-items: flex-start; padding: 21px 16px; }
  .method:first-child { padding-left: 0; }
  .method svg { order: -1; width: 54px; height: 45px; margin-bottom: 8px; }
  .method h3 { font-size: 22px; }
  .method p { font-size: 13px; }
}

/* ───────── 휴대폰 (740px 이하) ───────── */
@media (max-width: 740px) {
  .headrow { height: 62px; }
  .brand { gap: 12px; }
  .brand img { width: 62px; }
  .brand small { display: inline-block; font-size: 9px; padding-left: 12px; }
  .hamb { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 64px; padding: 0 6px; background: transparent; border: 0; font-size: 14px; font-weight: 650; color: var(--ink); justify-content: flex-end; }
  .head nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px var(--pad) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px #16281d1c; }
  .head.open nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .head nav a { font-size: 15px; }
  .head nav .login { padding: 0; border: 0; font-size: 14px; }

  .hero { display: flex; flex-direction: column; }
  .hero::before, .cross { display: none; }
  .hero .hero-copy { order: 1; display: block; min-height: 0; padding-top: 33px; padding-bottom: 0; position: static; }
  .hero h1 { font-size: clamp(43px, 9.7vw, 66px); margin: 15px 0 12px; }
  .hero .desc { font-size: 15px; max-width: 36ch; }
  .hero .herolink { margin-top: 16px; min-height: 44px; position: relative; z-index: 1; display: inline-flex; }
  .hero-media { order: 2; position: relative; z-index: 0; left: auto; top: auto; bottom: auto; width: 100%; aspect-ratio: 1.9; margin-top: 18px; }
  .hero-slide img { object-fit: cover; object-position: center 47%; }
  .platebar { order: 3; position: static; margin-inline: var(--pad); min-height: 53px; gap: 6px; }
  .platebar .figtext { font-size: 10px; gap: 6px; min-width: 0; }
  .platebar { flex-wrap: nowrap; }
  .control output { font-size: 11px; }
  .platebar .figtext .plate { display: none; }
  .control { gap: 0; }
  .control button { min-width: 44px; }
  .control output { min-width: 43px; }

  .anchorstrip .tiny { display: none; }
  .anchorstrip .wrap { font-size: 12px; gap: 8px; }
  .section { padding-block: 46px; }
  .sectionhead { margin-bottom: 22px; align-items: start; gap: 15px; }
  .sectionhead h2 { margin-top: 9px; font-size: 30px; }
  .methodgrid, .labgrid, .archivelead, .detailsgrid, .techcards, .addresssheet, .signin { grid-template-columns: 1fr; }
  .method, .method + .method { border: 0; padding: 20px 0; grid-template-columns: 1fr 75px; }
  .method:not(:last-child) { border-bottom: 1px solid var(--line); }
  .method svg { width: 65px; }
  .method h3 { font-size: 24px; }
  .cta .wrap, .footrow { align-items: start; flex-direction: column; gap: 15px; }
  .cta .wrap { padding-block: 36px; }
  .footrow { gap: 2px; }
  .gallery { gap: 25px 13px; }
  .cardtitle { align-items: start; }
  .workcard .tiny { font-size: 10px; letter-spacing: .04em; }
  .workcard h2, .workcard h3 { font-size: 17px; letter-spacing: -.03em; }
  .workcard .arrow { display: none; }
  .archivelead { gap: 13px; }
  .archivelead img { aspect-ratio: 1.65; }
  .filterbar { gap: 8px; }
  .filterset { gap: 2px; }
  .pill { padding: 8px 12px; }
  .filterbar output { font-size: 12px; }
  .detailsgrid { gap: 22px; margin: 25px 0 40px; }
  .detailsgrid dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
  .detailsgrid dd { margin: 0; }
  .images { grid-template-columns: 1fr; gap: 18px; }
  .techcards .workcard:first-child { display: block; }
  .techcards .workcard:first-child > div { padding: 5px 20px 22px; }
  .techcards .workcard:first-child .tiny { margin-top: 14px; }
  .chronorow { grid-template-columns: 1fr; gap: 9px; }
  .chronorow h2 { font-size: 22px; }
  .addresssheet > div, .addresssheet > div + div { padding: 22px 0; border-left: 0; }
  .addresssheet > div + div { border-top: 1px solid var(--line); }
  .signphoto { min-height: 170px; background-position: center 50%; }
  .signin { margin: 24px 0; min-height: 0; }
  .kickerrow > .tiny { font-size: 9px; }
  .titleblock h1, .worktitle { font-size: clamp(33px, 8vw, 52px); }
  .paging { flex-direction: column; gap: 14px; }
  .paging a:last-child { text-align: left; }
  .map { height: 300px; }
}
@media (max-width: 380px) {
  .filterbar { align-items: start; }
  .gallery { grid-template-columns: 1fr; }
  .hero h1 { font-size: 41px; }
  .sectionhead { flex-wrap: wrap; }
}
