/* ---------- tokens ---------- */
:root {
  --bg: #fffefc;
  --bg-2: #fdfbf7;
  --ink: #000000;
  --muted: #333333;
  --line: #ded9ce;
  --panel: #f1ece1;
  --panel-2: #e9e2d3;
  --font-display: 'Barlow Condensed', 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --pad-x: clamp(20px, 6vw, 88px);
  --sec-pad: clamp(88px, 14vw, 190px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ink); color: var(--bg); }

/* ---------- shared helpers ---------- */
.of-h { overflow: hidden; }

.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.icon-arrow { font-style: normal; letter-spacing: 0; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.32s; }

/* ---------- loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(20px, 4vw, 56px);
  transition: transform 1.1s var(--ease), visibility 1.1s;
}
#loader::after {
  content: '';
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(20px, 4vw, 56px);
  height: 1px;
  background: rgba(255, 254, 252, 0.25);
  transform-origin: left;
  transform: scaleX(0);
}
#loader.done { transform: translateY(-100%); visibility: hidden; }
#loader .loader-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 40px);
  letter-spacing: 0.02em;
  line-height: 1;
}
#loader .loader-count {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(64px, 14vw, 220px);
  line-height: 0.8;
}

/* ---------- cursor ---------- */
#cursor {
  position: fixed;
  z-index: 300;
  top: 0; left: 0;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 0;
  transition: opacity 0.4s, transform 0.35s var(--ease);
}
#cursor.is-visible { opacity: 0.92; }
#cursor.is-active { transform: scale(2.4); opacity: 0.18; }
@media (hover: none), (pointer: coarse) { #cursor { display: none; } }

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 2.6vw, 36px) var(--pad-x);
  mix-blend-mode: normal;
}
.nav-left { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); }
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 34px);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.nav-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
}
.nav-section-labels { display: flex; gap: clamp(16px, 2vw, 34px); }
.nav-section-labels a {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 6px 0;
}
.nav-section-labels a span {
  display: block;
  transition: transform 0.5s var(--ease);
}
.nav-section-labels a span::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 100%;
  display: block;
}
.nav-section-labels a:hover span { transform: translateY(-100%); }
.nav-actions { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav-toggle {
  position: relative;
  width: 46px; height: 46px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav-toggle .tline {
  width: 26px; height: 1.6px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}
.nav-toggle.open .tline:nth-child(1) { transform: translateY(4.3px) rotate(45deg); }
.nav-toggle.open .tline:nth-child(2) { transform: translateY(-4.3px) rotate(-45deg); }

/* liquid button */
.liquid-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.liquid-btn::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 130%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.55s var(--ease);
  z-index: 0;
}
.liquid-btn span, .liquid-btn svg { position: relative; z-index: 1; }
.liquid-btn .icon-arrow { transition: transform 0.4s var(--ease); }
.liquid-btn:hover { color: var(--bg); }
.liquid-btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.liquid-btn:hover .icon-arrow { transform: translateX(4px); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 3vh, 28px);
  padding: 0 var(--pad-x);
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease);
}
.mobile-menu.open { transform: none; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 12vw, 76px);
  line-height: 0.95;
}
.mobile-menu .mm-foot {
  margin-top: auto;
  padding-bottom: calc(clamp(18px, 2.6vw, 36px) + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(120px, 16vh, 170px) var(--pad-x) clamp(28px, 4vw, 60px);
}
.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
}
.hero-inner > * { min-width: 0; }
.hero-lines { padding-top: clamp(0px, 4vh, 40px); }
.hero-lines .hero-line {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transform: translateY(110%);
  animation: lineUp 1.3s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.12s + 0.25s);
  animation-play-state: paused;
}
html.is-loaded .hero-lines .hero-line { animation-play-state: running; }
.hero-lines .hero-line:last-child { font-weight: 300; }
@keyframes lineUp {
  to { transform: none; }
}
.hero-role {
  margin-top: clamp(24px, 4vh, 44px);
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 400;
  opacity: 0;
  animation: fadeIn 1s var(--ease) forwards;
  animation-delay: 0.9s;
  animation-play-state: paused;
}
html.is-loaded .hero-role { animation-play-state: running; }
@keyframes fadeIn { to { opacity: 1; } }
.hero-meta {
  margin-top: clamp(22px, 3vh, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s var(--ease) forwards;
  animation-delay: 1.05s;
  animation-play-state: paused;
}
html.is-loaded .hero-meta { animation-play-state: running; }

/* hero visual: mini screens */
.hero-visual { position: relative; }
.hero-visual .hv-panel {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  width: min(100%, 460px);
  margin-left: auto;
  background:
    radial-gradient(120% 90% at 85% 0%, #ffffff00 40%, var(--panel-2) 100%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.hv-screen {
  position: absolute;
  width: 68%;
  background: #fffefc;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.hv-screen.s1 { left: 8%; top: 10%; rotate: -4deg; }
.hv-screen.s2 { right: 6%; bottom: 8%; width: 62%; rotate: 3deg; animation-delay: -3.5s; }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.hv-badge {
  position: absolute;
  left: 50%; bottom: 6%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4);
}

/* ---------- mini screen mockup (shared) ---------- */
.mscreen {
  background: #fffefc;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mscreen .ms-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.mscreen .ms-dots { display: flex; gap: 4px; }
.mscreen .ms-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--panel-2); }
.mscreen .ms-dots i:nth-child(1) { background: #c9c2b2; }
.mscreen .ms-bar {
  width: 54%; height: 8px;
  border-radius: 999px;
  background: var(--panel);
}
.mscreen .ms-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mscreen .ms-line { height: 7px; border-radius: 999px; background: var(--panel); }
.mscreen .ms-line.w60 { width: 60%; }
.mscreen .ms-line.w45 { width: 45%; }
.mscreen .ms-line.w75 { width: 75%; }
.mscreen .ms-line.w35 { width: 35%; }
.mscreen .ms-line.ink { background: var(--ink); }
.mscreen .ms-row { display: flex; gap: 8px; }
.mscreen .ms-cell {
  flex: 1;
  height: 44px;
  border-radius: 9px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.mscreen .ms-chip {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.mscreen .ms-chip.teal { background: #0e7c7b; }
.mscreen .ms-chip.orange { background: #d15a2a; }
.mscreen .ms-chip.black { background: var(--ink); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  padding: clamp(40px, 6vw, 90px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-row {
  overflow: hidden;
  padding: clamp(4px, 0.8vw, 12px) 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-track.left { animation: marqueeLeft 42s linear infinite; }
.marquee-track.right { animation: marqueeRight 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee-item {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
  padding-right: clamp(10px, 1.4vw, 24px);
}
.marquee-item .m-thumb {
  width: clamp(34px, 4vw, 72px);
  height: clamp(34px, 4vw, 72px);
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.marquee-item h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 128px);
  line-height: 0.85;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee-item .sep { font-family: var(--font-serif); font-style: italic; font-weight: 200; font-size: 0.5em; }

/* ---------- work ---------- */
.work { padding: var(--sec-pad) 0 0; }
.work-block { padding: 0 var(--pad-x); }
.work-block + .work-block { margin-top: clamp(80px, 12vw, 180px); }
.work-head {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 5vw, 90px);
  align-items: start;
  border-bottom: 1px solid var(--ink);
  padding-bottom: clamp(20px, 3vw, 40px);
}
.work-head > * { min-width: 0; }
.work-title-wrap { position: relative; min-width: 0; overflow: hidden; }
.work-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 104px);
  line-height: 0.84;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  white-space: nowrap;
}
.work-title.is-long { font-size: clamp(34px, 4vw, 62px); line-height: 1; }
.work-title .wt-star {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 200;
  font-size: 0.42em;
  vertical-align: super;
  line-height: 1;
}
.work-facts {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 26px);
  padding-top: clamp(4px, 1vw, 14px);
}
.work-fact {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: baseline;
}
.work-fact .label { color: var(--muted); }
.work-fact p { font-weight: 500; font-size: 15px; }
.work-fact .fact-list { display: flex; flex-direction: column; gap: 3px; font-weight: 500; font-size: 15px; text-transform: lowercase; }
.work-fact .fact-list span { text-transform: none; }
.work-fact .fact-list b { font-weight: 600; text-transform: uppercase; }

.work-copy {
  margin: clamp(34px, 5vw, 70px) 0 clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
}
.work-copy .label { color: var(--muted); padding-top: 6px; }
.work-copy p {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.6;
  font-weight: 400;
  max-width: 62ch;
}
.work-copy em { font-family: var(--font-serif); font-style: italic; font-weight: 300; }

.work-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: clamp(14px, 1.8vw, 26px);
  margin-bottom: clamp(60px, 9vw, 130px);
}
.wg-cell {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  overflow: hidden;
  position: relative;
}
.wg-a { grid-row: 1 / 3; }
.wg-a .mscreen { min-height: 100%; }
.wg-cell .mscreen { border: 0; border-radius: 0; height: 100%; }
.wg-cell .ms-body { padding: clamp(16px, 2vw, 30px); gap: 12px; }
.wg-cell .ms-line { height: 9px; }
.wg-cell .ms-cell { height: clamp(70px, 9vw, 120px); }
.wg-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.25);
}

/* product row (next projects) */
.product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.product-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 34px);
  padding: clamp(28px, 3.4vw, 56px) clamp(20px, 2.6vw, 44px) clamp(36px, 4.4vw, 72px);
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.5s var(--ease);
}
.product-cell:last-child { border-right: 0; }
.product-cell:hover { background: var(--bg-2); }
.product-cell .p-thumb {
  height: clamp(150px, 17vw, 260px);
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.product-cell .p-thumb .mscreen { border: 0; border-radius: 0; flex: 1; }
.next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.next-link .nl-arrow {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.product-cell:hover .next-link .nl-arrow { background: var(--ink); color: var(--bg); transform: translateX(4px); }
.product-cell .p-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 58px);
  line-height: 0.9;
  text-transform: uppercase;
}

/* ---------- about ---------- */
.about { padding: var(--sec-pad) var(--pad-x); }
.about-copy { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start; }
.about-copy .label { color: var(--muted); padding-top: 8px; }
.about-copy p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(24px, 3.6vw, 58px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.about-copy p em { font-weight: 300; }
.about-copy .lead strong { font-weight: 300; }
.about-body {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
}
.about-body .label { color: var(--muted); padding-top: 6px; }
.about-body p {
  max-width: 62ch;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--muted);
}
.about-body p strong { color: var(--ink); font-weight: 600; }
.about-grid {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
}
.about-grid .ag-cell {
  aspect-ratio: 1 / 1.18;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.about-grid .ag-cell .ms-body { flex: 1; justify-content: center; gap: 12px; }
.about-grid .ag-cell .ms-line { height: 8px; }
.about-grid .ag-cell .ms-cell { height: 40px; }
.about-stats {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-stat {
  padding: clamp(22px, 3vw, 40px) clamp(16px, 2vw, 30px);
  border-right: 1px solid var(--line);
}
.about-stat:last-child { border-right: 0; }
.about-stat .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 84px);
  line-height: 0.9;
}
.about-stat .label { margin-top: 10px; color: var(--muted); }

/* timeline */
.timeline { margin-top: var(--sec-pad); }
.timeline .tl-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: clamp(20px, 3vw, 36px); }
.timeline .tl-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.4vw, 72px); line-height: 0.9; text-transform: uppercase; }
.timeline-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(20px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline-row .tl-year { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 40px); line-height: 1; }
.timeline-row .tl-title { font-weight: 600; font-size: 16px; letter-spacing: 0.01em; text-transform: uppercase; }
.timeline-row .tl-desc { color: var(--muted); font-size: 15px; max-width: 44ch; }
.timeline-row .tl-title span { font-family: var(--font-serif); font-style: italic; font-weight: 200; text-transform: none; }
.timeline-row .tl-desc b { color: var(--ink); font-weight: 500; }

/* ---------- contact ---------- */
.contact {
  margin-top: var(--sec-pad);
  padding: clamp(90px, 14vw, 190px) var(--pad-x) clamp(30px, 5vw, 70px);
  background: var(--ink);
  color: var(--bg);
  border-radius: 26px 26px 0 0;
}
.contact .label { color: rgba(255, 254, 252, 0.6); }
.contact-email {
  margin-top: clamp(20px, 3vw, 36px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 26px);
}
.contact-email .ce-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 6.4vw, 118px);
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.contact .liquid-btn { border-color: rgba(255, 254, 252, 0.5); color: var(--bg); }
.contact .liquid-btn:hover { color: var(--ink); }
.contact .liquid-btn::before { background: var(--bg); }
.contact .copy-msg {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 254, 252, 0.55);
  opacity: 0;
  transition: opacity 0.4s;
}
.contact .copy-msg.show { opacity: 1; }
.contact-meta {
  margin-top: clamp(40px, 6vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.6vw, 44px);
}
.contact-card { padding: clamp(18px, 2.4vw, 30px) 0; }
.contact-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  margin-top: 10px;
}
.contact-card a { display: inline-flex; align-items: center; gap: 10px; }
.contact-card .c-arrow { transition: transform 0.4s var(--ease); }
.contact-card a:hover .c-arrow { transform: translate(4px, -4px); }
.contact-card p { color: rgba(255, 254, 252, 0.6); font-size: 14px; margin-top: 8px; }

/* footer */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 0 var(--pad-x) clamp(22px, 3vw, 40px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer p { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 254, 252, 0.55); }
.footer .go-top {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.footer .go-top .gt-arrows { font-family: var(--font-serif); font-style: italic; font-weight: 200; font-size: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-lines .hero-line { white-space: normal; }
  .hero-visual .hv-panel { margin-left: 0; max-height: 520px; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid .ag-cell:nth-child(n+5) { display: none; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-stat:nth-child(2) { border-right: 0; }
  .about-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .work-head { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr; }
  .product-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-cell:last-child { border-bottom: 0; }
  .contact-meta { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .nav-section-labels, .nav-actions .liquid-btn { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: clamp(100px, 20vh, 150px); }
  .hero-lines .hero-line { font-size: clamp(40px, 11.5vw, 58px); white-space: normal; }
  .hero-visual .hv-panel { width: 100%; }
  .work-title { font-size: clamp(46px, 16vw, 76px); white-space: normal; }
  .work-fact { grid-template-columns: 88px 1fr; }
  .work-copy { grid-template-columns: 1fr; gap: 8px; }
  .work-gallery { grid-template-columns: 1fr; }
  .wg-a { grid-row: auto; }
  .about-copy { grid-template-columns: 1fr; gap: 8px; }
  .about-copy p { font-size: clamp(24px, 8vw, 38px); }
  .timeline-row { grid-template-columns: 88px 1fr; }
  .timeline-row .tl-desc { grid-column: 2; }
  .contact-email .ce-text { font-size: clamp(24px, 8vw, 40px); white-space: normal; overflow-wrap: anywhere; }
  .footer { justify-content: space-between; }
}
