/* ============================================================
   TANGENT ARCHITECTS — official site (Web Design Lab showcase)
   スイスグリッド / 図面 / 露出グリッド線 / 寸法線アノテーション
   ============================================================ */
:root {
  --paper: #f4f4f2;     /* ペーパーグレー */
  --paper-2: #ececea;
  --ink: #111111;       /* インク */
  --ink-2: #2a2a28;
  --muted: #6c6c68;
  --line: #d6d6d2;      /* グリッド罫線 */
  --line-2: #c4c4bf;
  --signal: #ff4d00;    /* シグナルオレンジ */
  --signal-d: #e23f00;
  --white: #fdfdfc;
  --disp: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'Noto Sans JP', system-ui, sans-serif;
  --maxw: 1200px;
  --pad: clamp(18px, 4.5vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.85;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ol, ul { list-style: none; }
::selection { background: var(--signal); color: var(--white); }
@media (hover: hover) and (pointer: fine) { body { cursor: none; } }

/* ===== 露出グリッド（背面の格子＋交点の十字） ===== */
.grid-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(140% 120% at 50% 30%, #000 50%, rgba(0, 0, 0, .35) 100%);
          mask-image: radial-gradient(140% 120% at 50% 30%, #000 50%, rgba(0, 0, 0, .35) 100%);
}
/* 交点の十字マーカー（別レイヤで重ねる） */
.grid-overlay::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 11px 64px, 64px 11px;
  background-position: -5px 0, 0 -5px;
  -webkit-mask:
    radial-gradient(circle at 0 0, #000 1px, transparent 1.5px) 0 0 / 64px 64px;
          mask:
    radial-gradient(circle at 0 0, #000 1px, transparent 1.5px) 0 0 / 64px 64px;
  opacity: .8;
}

/* ===== 画面端の図面アノテーション ===== */
.frame-marks { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.fm { position: fixed; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  color: var(--muted); text-transform: uppercase; }
.fm-tl { top: 14px; left: 14px; }
.fm-tr { top: 14px; right: 14px; }
.fm-bl { bottom: 14px; left: 14px; }
.fm-br { bottom: 14px; right: 14px; }
@media (max-width: 720px) { .fm-tr, .fm-br { display: none; } }

/* ===== スクロール進捗（下端の寸法バー） ===== */
.scroll-progress { position: fixed; left: 0; bottom: 0; height: 4px; width: 100%; z-index: 200;
  background: rgba(17, 17, 17, .06); display: flex; align-items: center; }
.scroll-progress i { display: block; height: 100%; width: 0; background: var(--signal); }
.scroll-progress b { position: absolute; right: 8px; bottom: 8px; font-family: var(--mono);
  font-size: 10px; color: var(--muted); }

/* ===== カーソル十字レチクル ===== */
.reticle { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0;
  transition: opacity .3s; }
.reticle.on { opacity: 1; }
.rt-x, .rt-y { position: fixed; background: rgba(255, 77, 0, .35); }
.rt-x { left: 0; width: 100vw; height: 1px; }
.rt-y { top: 0; height: 100vh; width: 1px; }
.rt-tag { position: fixed; font-family: var(--mono); font-size: 10px; color: var(--signal);
  background: var(--paper); padding: 1px 5px; transform: translate(8px, 8px); white-space: nowrap; }
.reticle.hot .rt-x, .reticle.hot .rt-y { background: var(--signal); }
@media (hover: none), (pointer: coarse) { .reticle { display: none !important; } }
@media (hover: none), (pointer: coarse) { body { cursor: auto; } }

/* ===== nav ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 300; display: flex; align-items: center;
  gap: 24px; padding: 18px var(--pad); transition: padding .35s var(--ease), background .35s, box-shadow .35s; }
.nav.solid { padding: 11px var(--pad); background: rgba(244, 244, 242, .82);
  backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 1px 0 var(--line), 0 10px 28px -22px rgba(0, 0, 0, .5); }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark svg { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linejoin: round; }
.brand-name { font-family: var(--disp); font-weight: 700; letter-spacing: .04em; font-size: 19px; }
.brand-sub { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--muted);
  align-self: flex-start; margin-top: 2px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font-family: var(--disp); font-weight: 500; font-size: 13.5px; letter-spacing: .02em;
  padding: 6px 13px; position: relative; display: inline-flex; align-items: baseline; gap: 6px; }
.nav-links a i { font-family: var(--mono); font-style: normal; font-size: 10px; color: var(--signal); }
.nav-links a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 1.5px;
  background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .06em;
  color: var(--white); padding: 10px 18px; background: var(--ink);
  transition: background .3s, transform .25s var(--ease); }
.nav-cta:hover { background: var(--signal); transform: translateY(-2px); }
.nav-burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-burger i { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: .3s var(--ease); }

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono);
  font-weight: 500; font-size: 13.5px; letter-spacing: .04em; padding: 14px 26px;
  border: 1.5px solid var(--ink); transition: transform .25s var(--ease), background .3s, color .3s, border-color .3s; }
.btn-primary { color: var(--white); background: var(--ink); }
.btn-primary:hover { background: var(--signal); border-color: var(--signal); transform: translateY(-3px); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-3px); }
.btn.block { display: flex; width: 100%; margin-top: 20px; }

/* ===== reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-stagger] { display: inline-block; opacity: 0; transform: translateY(40%); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-stagger].in { opacity: 1; transform: none; }

/* ===== layout helpers ===== */
.section { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px, 11vw, 130px) var(--pad); }
.sec-head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px 16px;
  margin-bottom: 44px; border-bottom: 1.5px solid var(--ink); padding-bottom: 16px; }
.sec-no { font-family: var(--mono); font-size: 13px; color: var(--signal); grid-row: span 2; align-self: start; }
.sec-no.light { color: var(--signal); }
.sec-en { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.sec-jp { grid-column: 2; font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 5vw, 42px);
  letter-spacing: .01em; line-height: 1.1; }

/* ===== 1. HERO ===== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(255, 77, 0, .05) 0%, transparent 50%),
    linear-gradient(180deg, var(--white), var(--paper)); }
.hero-draw { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-draw .iso-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-draw .iso-fill { fill: var(--signal); opacity: 0; transition: opacity .8s var(--ease); }
.hero-draw .iso-fill.on { opacity: .9; }
.hero-draw .iso-faint { stroke: var(--line-2); stroke-width: 1; }
.hero-anno { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.anno { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted);
  padding: 2px 6px; background: rgba(244, 244, 242, .6); }
.anno::before { content: ""; position: absolute; background: var(--signal); }
.anno-a { top: 30%; left: 8%; } .anno-a::before { left: -16px; top: 50%; width: 12px; height: 1px; }
.anno-b { top: 62%; right: 9%; } .anno-b::before { right: -16px; top: 50%; width: 12px; height: 1px; }
.anno-c { bottom: 26%; left: 12%; color: var(--signal); }
.anno-d { top: 22%; right: 14%; color: var(--signal); }
@media (max-width: 720px) { .anno-a, .anno-b { display: none; } }
.hero-inner { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); width: 100%; }
.hero-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px; padding-left: 22px; position: relative; }
.hero-kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: var(--signal); }
.hero-title { font-family: var(--disp); font-weight: 700; line-height: .92; font-size: clamp(72px, 17vw, 230px);
  letter-spacing: -.02em; display: flex; flex-wrap: wrap; }
.ht-line { display: inline-block; overflow: hidden; }
.hero-title .accent { color: transparent; -webkit-text-stroke: 2px var(--signal); }
.hero-tagline { margin: 18px 0 24px; font-family: var(--disp); font-weight: 600; font-size: clamp(20px, 3.4vw, 34px);
  line-height: 1.25; }
.hero-tagline span { color: var(--signal); }
.hero-sub { max-width: 560px; font-size: clamp(14px, 1.9vw, 16px); color: var(--ink-2); margin-bottom: 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: var(--pad); bottom: 26px; z-index: 3; display: inline-flex; align-items: center;
  gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.sc-line { width: 1px; height: 34px; background: var(--ink); position: relative; overflow: hidden; }
.sc-line::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--signal); animation: scLine 2s var(--ease) infinite; }
@keyframes scLine { to { top: 100%; } }

/* ===== 2. PHILOSOPHY ===== */
.phi-lead { max-width: 760px; font-size: clamp(15px, 2.1vw, 18px); color: var(--ink-2); margin-bottom: 50px; }
.phi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.phi-card { padding: 32px 26px 36px; border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  position: relative; overflow: hidden; }
.phi-card:first-child { border-left: 1px solid var(--line-2); }
.phi-card::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.phi-card:hover::before { transform: scaleX(1); }
.phi-no { font-family: var(--mono); font-size: 12px; color: var(--signal); letter-spacing: .1em; }
.phi-glyph { width: 64px; height: 64px; margin: 18px 0 18px; }
.phi-glyph svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.phi-h { font-family: var(--disp); font-weight: 600; font-size: 22px; margin-bottom: 4px; }
.phi-en { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.phi-t { font-size: 14px; color: var(--ink-2); line-height: 1.9; }

/* ===== 3. WORKS ===== */
.works-note { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 30px; }
.works-list { border-top: 1.5px solid var(--ink); }
.work-row { position: relative; display: grid;
  grid-template-columns: 56px 1fr 150px 80px 1fr 40px; align-items: center; gap: 18px;
  padding: 26px 8px; border-bottom: 1px solid var(--line-2); transition: padding .4s var(--ease); cursor: pointer;
  overflow: hidden; }
.work-row::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1.5px;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.work-row:hover::after { transform: scaleX(1); }
.work-row:hover { padding-left: 18px; padding-right: 18px; }
.work-no { font-family: var(--mono); font-size: 12px; color: var(--signal); }
.work-name { font-family: var(--disp); font-weight: 600; font-size: clamp(18px, 2.6vw, 26px); transition: color .3s; }
.work-row:hover .work-name { color: var(--signal); }
.work-roman { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .08em; display: block; margin-top: 2px; }
.work-use { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.work-year { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.work-loc { font-size: 13px; color: var(--ink-2); }
.work-arrow { font-family: var(--mono); font-size: 16px; color: var(--ink); text-align: right; transition: transform .35s var(--ease); }
.work-row:hover .work-arrow { transform: translateX(6px); color: var(--signal); }
/* hover プレビュー（ワイヤーフレーム⇔写真をワイプ切替） */
.work-preview { position: absolute; right: 60px; top: 50%; width: 300px; height: 200px; transform: translateY(-50%) scale(.96);
  opacity: 0; pointer-events: none; z-index: 5; transition: opacity .4s var(--ease), transform .4s var(--ease);
  border: 1px solid var(--ink); background: var(--white); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); }
.work-row:hover .work-preview { opacity: 1; transform: translateY(-50%) scale(1); }
.wp-photo { position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.06) brightness(1.02); }
.wp-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255, 77, 0, .14), rgba(17, 17, 17, .3)); mix-blend-mode: multiply; }
.wp-wire { position: absolute; inset: 0; z-index: 2; background: var(--paper); }
.wp-wire svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.wp-wire svg .room-fill { fill: rgba(255, 77, 0, .08); stroke: none; }
.wp-wire svg .dim { stroke: var(--signal); stroke-width: 1; stroke-dasharray: 3 3; }
/* ワイプ：hoverでワイヤー→写真 */
.work-row:hover .wp-wire { clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease); }
.wp-wire { clip-path: inset(0 0 0 0); transition: clip-path .55s var(--ease); }
.wp-tag { position: absolute; left: 8px; bottom: 8px; z-index: 3; font-family: var(--mono); font-size: 10px;
  color: var(--white); background: var(--ink); padding: 2px 7px; }

/* ===== 4. PROCESS ===== */
.proc-track { position: relative; padding-top: 30px; }
.proc-line { position: absolute; top: 64px; left: 4%; right: 4%; height: 2px; background: var(--line-2); z-index: 1; }
.proc-line i { display: block; height: 100%; width: 0; background: var(--signal); transition: width .2s linear; }
.proc-steps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proc-step { text-align: left; }
.proc-node { width: 22px; height: 22px; border: 2px solid var(--ink); background: var(--paper); border-radius: 50%;
  display: grid; place-items: center; margin: 26px 0 22px; position: relative; transition: border-color .4s, background .4s; }
.proc-node::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); transition: background .4s; }
.proc-step.lit .proc-node { border-color: var(--signal); }
.proc-step.lit .proc-node::after { background: var(--signal); }
.proc-no { font-family: var(--mono); font-size: 28px; font-weight: 600; color: var(--signal); letter-spacing: -.02em; }
.proc-h { font-family: var(--disp); font-weight: 600; font-size: 19px; margin: 8px 0 8px; }
.proc-t { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }

/* ===== 5. STUDIO ===== */
.studio { max-width: none; padding: 0; }
.studio-bg { position: absolute; inset: 0; background: var(--ink); z-index: 0; }
.studio-bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; }
.studio-grid { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px, 11vw, 130px) var(--pad); display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.studio .sec-no.light, .studio .sec-en.light { color: var(--signal); }
.studio .sec-en.light { display: inline-block; margin: 0 0 6px 10px; }
.studio-l { color: var(--paper); }
.studio-h { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 5vw, 42px); margin: 4px 0 22px; color: var(--white); }
.studio-text { color: #c9c9c4; font-size: 15px; line-height: 1.95; margin-bottom: 34px; max-width: 540px; }
.studio-quote { border-left: 2px solid var(--signal); padding-left: 20px; }
.studio-quote blockquote { font-family: var(--disp); font-weight: 500; font-size: clamp(16px, 2.4vw, 20px);
  color: var(--white); line-height: 1.6; margin-bottom: 12px; }
.studio-quote figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.studio-quote figcaption b { color: var(--paper); font-weight: 500; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.stat { background: var(--ink); padding: 28px 24px; position: relative; }
.stat-no { font-family: var(--mono); font-size: 11px; color: var(--signal); display: block; margin-bottom: 8px; }
.stat .count { font-family: var(--disp); font-weight: 700; font-size: clamp(36px, 6vw, 58px); color: var(--white);
  line-height: 1; display: block; letter-spacing: -.02em; }
.stat-cap { font-family: var(--mono); font-size: 11px; color: #b8b8b3; letter-spacing: .1em; display: block; margin-top: 8px; }

/* ===== 6. NEWS ===== */
.news-list { border-top: 1.5px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 110px 90px 1fr 40px; align-items: center; gap: 16px;
  padding: 22px 6px; border-bottom: 1px solid var(--line-2); cursor: pointer; transition: padding .35s var(--ease), background .35s; position: relative; }
.news-item:hover { padding-left: 14px; padding-right: 14px; background: rgba(255, 77, 0, .04); }
.news-date { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.news-cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--white); background: var(--ink);
  padding: 3px 8px; text-align: center; justify-self: start; }
.news-cat.award { background: var(--signal); }
.news-cat.recruit { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.news-title { font-size: 15px; color: var(--ink); }
.news-arrow { font-family: var(--mono); text-align: right; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.news-item:hover .news-arrow { transform: translateX(5px); color: var(--signal); }

/* ===== 7. CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; }
.cf-lead { font-size: 15px; color: var(--ink-2); margin-bottom: 30px; }
.cf-steps { counter-reset: cf; }
.cf-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.cf-step:last-child { border-bottom: 1px solid var(--line-2); }
.cf-num { font-family: var(--mono); font-size: 12px; color: var(--signal); padding-top: 3px; }
.cf-step h4 { font-family: var(--disp); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.cf-step p { font-size: 13.5px; color: var(--ink-2); }
.contact-card { border: 1.5px solid var(--ink); padding: 30px; background: var(--white); align-self: start; }
.cc-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--signal); margin-bottom: 14px; }
.cc-name { font-family: var(--disp); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.cc-addr { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.cc-dl { display: grid; gap: 0; border-top: 1px solid var(--line-2); margin-bottom: 4px; }
.cc-dl > div { display: grid; grid-template-columns: 78px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.cc-dl dt { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.cc-dl dd { font-size: 13.5px; color: var(--ink); }
.cc-map { position: relative; margin-top: 22px; border: 1px solid var(--line-2); background: var(--paper); overflow: hidden; }
.cc-map svg { width: 100%; height: auto; display: block; fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.cc-map svg .road { stroke: var(--muted); } .cc-map svg .road-main { stroke: var(--ink); stroke-width: 2; }
.cc-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--mono);
  font-size: 11px; color: var(--white); background: var(--signal); padding: 3px 8px; white-space: nowrap; }

/* ===== footer ===== */
.footer { position: relative; z-index: 3; background: var(--paper); border-top: 1.5px solid var(--ink);
  overflow: hidden; padding-bottom: 30px; }
.footer-big { font-family: var(--disp); font-weight: 700; font-size: clamp(60px, 20vw, 280px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); text-align: center; letter-spacing: -.02em;
  padding: 36px 0 0; user-select: none; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 30px var(--pad) 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 22px; }
.footer-nav a { font-family: var(--mono); font-size: 13px; color: var(--ink-2); position: relative; transition: color .3s; }
.footer-nav a:hover { color: var(--signal); }
.footer-note { font-size: 12px; color: var(--muted); line-height: 1.8; max-width: 720px; margin-bottom: 10px; }
.footer-copy { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }

/* ===== responsive ===== */
@media (max-width: 980px) {
  .phi-grid { grid-template-columns: 1fr; }
  .phi-card, .phi-card:first-child { border-left: 1px solid var(--line-2); }
  .proc-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .proc-line { display: none; }
  .studio-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    flex-direction: column; gap: 0; margin: 0; padding: 88px 32px; background: var(--paper);
    border-left: 1.5px solid var(--ink); box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .5); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; z-index: 320; }
  .nav.open .nav-burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-burger i:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .work-row { grid-template-columns: 40px 1fr 56px; gap: 8px 12px; padding: 20px 4px; }
  .work-use, .work-loc { display: none; }
  .work-year { grid-column: 3; text-align: right; }
  .work-name { grid-column: 2; }
  .work-preview { display: none; }
  .news-item { grid-template-columns: 88px 1fr; gap: 6px 12px; }
  .news-cat { grid-row: 1; grid-column: 2; justify-self: start; }
  .news-title { grid-column: 1 / -1; }
  .news-arrow { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .proc-steps { grid-template-columns: 1fr; }
}

/* ===== reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal], [data-stagger] { opacity: 1 !important; transform: none !important; }
  .hero-draw .iso-line { stroke-dashoffset: 0 !important; }
  .sc-line::after { display: none; }
}
