/* ===========================================
   DESIGN TOKENS — edit colours here
   =========================================== */

:root {
  --bg:      #efe6d6;
  --bg2:     #e3d8c1;
  --bg3:     #f7f1e3;
  --ink:     #1f1a14;
  --ink2:    #473e30;
  --mute:    #857964;
  --rule:    #cdbfa3;
  --accent:  #f05a28;

  --inv-bg:   #1f1a14;
  --inv-fg:   #f3ead7;
  --inv-rule: rgba(239,230,214,0.15);

  --shadow:      rgba(31,26,20,0.18);
  --shadow-soft: rgba(31,26,20,0.10);
  --shadow-card: rgba(31,26,20,0.06);

  --f: "Bricolage Grotesque", -apple-system, system-ui, sans-serif;
  --fm: "JetBrains Mono", ui-monospace, monospace;
}

html[data-theme="dark"] {
  --bg:      #181410;
  --bg2:     #221c16;
  --bg3:     #1f1913;
  --ink:     #f3ead7;
  --ink2:    #c9bfa9;
  --mute:    #8a8170;
  --rule:    #352c20;
  --accent:  #f05a28;
  --inv-bg:  #f3ead7;
  --inv-fg:  #181410;
  --inv-rule:rgba(24,20,16,0.18);
  --shadow:      rgba(0,0,0,0.55);
  --shadow-soft: rgba(0,0,0,0.45);
  --shadow-card: rgba(0,0,0,0.35);
}

/* ===========================================
   BASE
   =========================================== */

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

body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
em     { font-style: italic; font-synthesis: style; }
button { cursor: pointer; font-family: inherit; }
p      { text-wrap: pretty; }

/* ===========================================
   NAV
   =========================================== */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--rule);
  padding: 18px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  height: 36px; width: auto; flex-shrink: 0; display: block;
}
.nav-logo-name { font-family: var(--fm); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--accent); }
.nav-logo-sub  { font-family: var(--fm); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
.nav-links     { display: flex; gap: 28px; list-style: none; }
.nav-links a   { font-size: 15px; font-weight: 500; color: var(--ink); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-actions   { display: flex; align-items: center; gap: 12px; }

.btn-theme {
  width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: 1px solid var(--rule); color: var(--ink);
  font-size: 15px; display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.btn-theme:hover { background: var(--bg2); border-color: var(--mute); }
.btn-theme .icon-moon { display: inline; }
.btn-theme .icon-sun  { display: none; }
html[data-theme="dark"] .btn-theme .icon-moon { display: none; }
html[data-theme="dark"] .btn-theme .icon-sun  { display: inline; }

.lang-toggle { display: flex; align-items: center; gap: 4px; font-family: var(--fm); font-size: 11px; color: var(--mute); }
.lang-toggle a, .lang-toggle button {
  background: none; border: none; color: var(--mute); font-family: inherit;
  font-size: 11px; letter-spacing: 0.08em; padding: 2px 4px; transition: color .15s;
}
.lang-toggle a.active, .lang-toggle button.active { color: var(--ink); font-weight: 700; }

.nav-cta {
  background: var(--ink); color: var(--bg);
  padding: 11px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500; transition: opacity .15s;
}
.nav-cta:hover { opacity: 0.85; }

/* Mobile nav toggle (hidden by default; styled below in responsive section) */
.nav-burger { display: none; }

/* ===========================================
   HERO
   =========================================== */

.hero {
  padding: 72px 44px 56px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.05 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .hero::before { filter: invert(1); opacity: 0.04; }
.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink2);
}
.hero-eyebrow::before { content: ""; display: block; width: 48px; height: 1px; background: var(--ink); flex-shrink: 0; }

.hero-h1 {
  font-size: 92px; font-weight: 600; line-height: 0.98; letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero-h1 em { color: var(--accent); }

.hero-sub { font-size: 19px; line-height: 1.5; color: var(--ink2); font-weight: 400; max-width: 560px; margin-bottom: 36px; }

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-block; background: var(--ink); color: var(--bg);
  border: none; border-radius: 999px; padding: 16px 28px;
  font-family: var(--f); font-size: 15px; font-weight: 500; transition: opacity .15s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-link {
  font-size: 15px; font-weight: 500; color: var(--ink); background: none; border: none; padding: 0;
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--accent); text-decoration-thickness: 2px;
}

.hero-stats { display: flex; gap: 32px; margin-top: 56px; padding-top: 24px; border-top: 1px dashed var(--rule); }
.stat-n { font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.stat-l { font-family: var(--fm); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }

/* Postcard stack */
.postcard-stack { position: relative; height: 540px; }
.postcard {
  position: absolute; width: 230px;
  background: var(--bg3); padding: 10px 10px 36px;
  box-shadow: 0 12px 32px var(--shadow), 0 0 0 0.5px rgba(0,0,0,0.05);
}
.postcard img { width: 100%; height: 180px; object-fit: cover; }
.postcard-cap { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding: 0 2px; }
.postcard-name { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.postcard-date { font-family: var(--fm); font-size: 10px; letter-spacing: 0.1em; color: var(--mute); }
.postcard:nth-child(1) { top: 20px;  left: 40px;  transform: rotate(-6deg); }
.postcard:nth-child(2) { top: 60px;  left: 180px; transform: rotate(3deg); }
.postcard:nth-child(3) { top: 200px; left: 0;     transform: rotate(-2deg); }
.postcard:nth-child(4) { top: 260px; left: 200px; transform: rotate(5deg); }
.postcard-stamp {
  position: absolute; top: 12px; right: 12px; transform: rotate(8deg);
  border: 2px solid var(--accent); color: var(--accent);
  padding: 6px 12px; font-family: var(--fm); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  background: var(--bg3); line-height: 1.4;
}

/* ===========================================
   MARQUEE
   =========================================== */

.marquee { background: var(--inv-bg); color: var(--inv-fg); padding: 20px 0; overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex; gap: 40px;
  font-size: 32px; font-weight: 500; letter-spacing: -0.03em;
  animation: marquee 32s linear infinite; will-change: transform;
}
.marquee-item { display: flex; align-items: center; gap: 40px; }
.marquee-dot  { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===========================================
   SECTION LABEL (shared)
   =========================================== */

.s-label { font-family: var(--fm); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }

/* ===========================================
   ABOUT
   =========================================== */

.about {
  background: var(--bg3); padding: 88px 44px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo-inner {
  background: var(--bg); padding: 14px 14px 56px;
  transform: rotate(-2deg); box-shadow: 0 18px 48px var(--shadow); position: relative;
}
.about-photo-inner img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-photo-cap {
  position: absolute; bottom: 14px; left: 22px; right: 22px;
  display: flex; justify-content: space-between;
  font-size: 13px; font-style: italic; font-weight: 500; color: var(--ink2);
}
.about-photo-cap .ref { font-family: var(--fm); font-size: 10px; letter-spacing: 0.15em; }
.about-stamp {
  position: absolute; top: -16px; right: -8px; transform: rotate(6deg);
  background: var(--accent); color: #fff;
  padding: 8px 14px; font-family: var(--fm); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
.about-h2  { font-size: 56px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 28px; }
.about-body p { font-size: 17px; line-height: 1.6; color: var(--ink2); font-weight: 400; margin-bottom: 16px; }
.about-body p:last-child { margin-bottom: 0; }
.about-sig { display: flex; align-items: baseline; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--rule); }
.about-sig-name { font-size: 26px; font-style: italic; font-weight: 500; }
.about-sig-role { font-family: var(--fm); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); }

/* ===========================================
   PROJECTS
   =========================================== */

.projects { padding: 88px 44px; }

.projects-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 24px; }
.projects-h2   { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.projects-h2 em { color: var(--accent); }
.projects-sub  { font-size: 15px; color: var(--ink2); font-weight: 400; max-width: 320px; }

.filter-bar {
  display: flex; gap: 6px; flex-wrap: wrap;
  border-top: 1px dashed var(--rule); border-bottom: 1px dashed var(--rule);
  padding: 16px 0; margin-bottom: 32px;
}
.filter-btn {
  font-size: 15px; font-weight: 500; padding: 8px 18px; border-radius: 999px;
  background: transparent; color: var(--ink); border: 1px solid var(--rule);
  transition: background .15s, color .15s, border-color .15s;
  display: inline-flex; align-items: center;
}
.filter-btn:hover { border-color: var(--mute); }
.filter-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter-count { font-family: var(--fm); font-size: 10px; font-weight: 400; opacity: 0.6; margin-left: 6px; }

.projects-grid { column-count: 3; column-gap: 16px; }

.proj:nth-child(3n+1) { transform: rotate(-0.5deg); }
.proj:nth-child(3n+2) { transform: rotate(0.6deg); }
.proj:nth-child(3n+3) { transform: rotate(-0.3deg); }
.proj {
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  display: block; width: 100%; margin-bottom: 16px;
  cursor: pointer; transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.proj:hover { transform: rotate(0deg) scale(1.01); }

.proj-img {
  position: relative; overflow: hidden; background: var(--bg2);
  box-shadow: 0 2px 8px var(--shadow-card); transition: box-shadow .3s;
}
.proj:hover .proj-img { box-shadow: 0 16px 36px var(--shadow); }
.proj-img img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.proj:hover .proj-img img { transform: scale(1.04); }

.proj-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg); padding: 4px 9px;
  font-family: var(--fm); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink2); font-weight: 600;
}
.proj-more {
  position: absolute; top: 12px; right: 12px;
  background: var(--ink); color: var(--bg); padding: 4px 9px;
  font-family: var(--fm); font-size: 9px; letter-spacing: 0.18em; font-weight: 600;
}
.proj-cap { padding-top: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.proj-title  { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.proj-client { font-size: 13px; color: var(--mute); font-weight: 400; margin-top: 2px; }
.proj-date   { font-family: var(--fm); font-size: 10px; letter-spacing: 0.12em; color: var(--mute); flex-shrink: 0; margin-top: 4px; }

.projects-cta { display: flex; justify-content: center; margin-top: 48px; }
.projects-loadmore { display: flex; justify-content: center; padding: 48px 0; }
.loading-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--rule); border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================================
   SERVICES — dark / inverted band
   =========================================== */

.services { background: var(--inv-bg); color: var(--inv-fg); padding: 88px 44px; }
.services-head { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; margin-bottom: 48px; align-items: end; }
.services-h2   { font-size: 56px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; margin-top: 12px; }
.services-sub  { font-size: 18px; line-height: 1.5; opacity: 0.78; font-weight: 400; max-width: 540px; }

.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc {
  border: 1px solid var(--inv-rule); padding: 24px 20px; min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .25s, border-color .25s;
}
.svc:hover { background: rgba(199,90,42,0.08); border-color: var(--accent); }
.svc-n    { font-family: var(--fm); font-size: 10px; letter-spacing: 0.18em; color: var(--accent); font-weight: 600; }
.svc-name { font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 6px; }
.svc-desc { font-size: 13px; line-height: 1.5; opacity: 0.7; font-weight: 400; }

/* ===========================================
   WHY / PROMISES
   =========================================== */

.why { background: var(--bg2); padding: 88px 44px; }
.why-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.why-h2   { font-size: 56px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; margin-top: 12px; }
.why-h2 em { color: var(--accent); }
.why-aside { font-size: 14px; color: var(--ink2); font-style: italic; font-weight: 400; max-width: 300px; text-align: right; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.why-card { background: var(--bg); padding: 32px; position: relative; box-shadow: 0 2px 8px var(--shadow-card); }
.why-num {
  position: absolute; top: -14px; left: 24px;
  background: var(--ink); color: var(--bg);
  font-family: var(--fm); font-size: 11px; letter-spacing: 0.2em; padding: 4px 10px; font-weight: 600;
}
.why-title { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; margin: 16px 0; }
.why-desc  { font-size: 16px; line-height: 1.55; color: var(--ink2); font-weight: 400; }

/* ===========================================
   TESTIMONIALS
   =========================================== */

.testimonials { padding: 88px 44px; }
.t-h2 { font-size: 56px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 56px; max-width: 900px; }
.t-h2 em { color: var(--accent); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.t-card { padding: 32px 28px; box-shadow: 0 16px 32px var(--shadow-soft); }
.t-card:nth-child(1) { background: var(--bg3); color: var(--ink);    transform: rotate(-1.5deg); }
.t-card:nth-child(2) { background: var(--inv-bg); color: var(--inv-fg); transform: rotate(0.8deg); }
.t-card:nth-child(3) { background: var(--bg3); color: var(--ink);    transform: rotate(-0.6deg); }

.t-mark  { font-size: 88px; font-weight: 600; line-height: 0.6; color: var(--accent); margin-bottom: 18px; }
.t-quote { font-size: 19px; line-height: 1.4; font-style: italic; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 24px; }
.t-who   { font-family: var(--fm); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; }
.t-name  { font-weight: 600; margin-bottom: 4px; }
.t-org   { opacity: 0.6; }

/* ===========================================
   CTA
   =========================================== */

.cta { background: var(--accent); color: #fff; padding: 96px 44px; }
.cta-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.cta-h2 { font-size: 88px; font-weight: 600; line-height: 0.96; letter-spacing: -0.035em; }
.cta-h2 em { font-style: italic; font-weight: 500; }
.cta-links { display: flex; flex-direction: column; gap: 12px; }
.cta-btn {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 28px; border-radius: 999px; font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em; border: 1px solid transparent; transition: opacity .15s;
}
.cta-btn:hover { opacity: 0.9; }
.cta-btn.filled  { background: #fff; color: #1f1a14; }
.cta-btn.outline { background: transparent; color: #fff; border-color: #fff; }
.cta-detail { font-family: var(--fm); font-size: 12px; letter-spacing: 0.1em; font-weight: 400; }

/* ===========================================
   FOOTER
   =========================================== */

.footer { background: var(--inv-bg); color: var(--inv-fg); padding: 64px 44px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand { font-size: 56px; font-weight: 600; line-height: 0.95; letter-spacing: -0.035em; margin-bottom: 12px; }
.footer-brand em { font-style: italic; font-weight: 500; color: var(--accent); }
.footer-sub  { font-size: 15px; opacity: 0.7; font-style: italic; }
.footer-lbl  { font-family: var(--fm); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; font-weight: 600; margin-bottom: 16px; }
.footer-addr { font-size: 14px; line-height: 1.55; opacity: 0.8; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; opacity: 0.85; }
.footer-links a { transition: opacity .15s; }
.footer-links a:hover { opacity: 0.6; }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px dashed var(--inv-rule);
  font-family: var(--fm); font-size: 10px; letter-spacing: 0.15em; opacity: 0.5;
}

/* ===========================================
   MODAL
   =========================================== */

.modal-scrim {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(15,12,9,0.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 40px 32px;
}
.modal-scrim.open { display: flex; }

@keyframes modal-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.modal-card {
  background: var(--bg); color: var(--ink);
  width: 100%; max-width: 1160px; max-height: calc(100vh - 80px);
  display: flex; flex-direction: column;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  overflow: hidden; animation: modal-rise 0.3s cubic-bezier(.2,.7,.3,1);
}
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 28px; border-bottom: 1px solid var(--rule);
  background: var(--bg3); flex-shrink: 0;
}
.modal-title-row { display: flex; align-items: baseline; gap: 16px; min-width: 0; overflow: hidden; }
.modal-title  { font-size: 28px; font-weight: 600; letter-spacing: -0.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-client { font-size: 14px; color: var(--mute); white-space: nowrap; font-style: italic; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: transparent; border: 1px solid var(--rule); color: var(--ink);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--ink); color: var(--bg); }

.modal-body { overflow-y: auto; flex: 1; }

.modal-stage { position: relative; background: var(--bg2); padding: 24px; }
.modal-img-wrap { position: relative; aspect-ratio: 4/3; background: var(--bg3); overflow: hidden; }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.modal-counter {
  position: absolute; top: 36px; right: 36px;
  background: var(--ink); color: var(--bg);
  padding: 5px 10px; font-family: var(--fm); font-size: 10px; letter-spacing: 0.18em; font-weight: 600;
}
.modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); color: var(--ink); border: 1px solid var(--rule);
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25); transition: background .15s, color .15s;
  padding-bottom: 3px;
}
.modal-nav:hover { background: var(--ink); color: var(--bg); }
.modal-nav.prev { left: 36px; }
.modal-nav.next { right: 36px; }
.modal-nav:disabled { opacity: 0.3; pointer-events: none; }

.modal-info { padding: 32px 36px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
.modal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.modal-tag  { font-family: var(--fm); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; border: 1px solid var(--rule); padding: 4px 9px; }
.modal-blurb { font-size: 18px; line-height: 1.55; font-weight: 400; }

.modal-meta { border-left: 1px dashed var(--rule); padding-left: 24px; display: grid; grid-template-columns: 100px 1fr; row-gap: 12px; column-gap: 16px; font-family: var(--fm); font-size: 12px; align-content: start; }
.modal-meta dt { color: var(--mute); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; font-size: 10px; }
.modal-meta dd { color: var(--ink); font-weight: 500; margin: 0; }

.modal-thumbs { padding: 20px 36px 28px; border-top: 1px dashed var(--rule); display: flex; align-items: center; gap: 16px; }
.modal-thumbs-lbl { font-family: var(--fm); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); font-weight: 600; flex-shrink: 0; }
.modal-thumb-strip { display: flex; gap: 8px; overflow-x: auto; flex: 1; }
.modal-thumb {
  flex-shrink: 0; width: 72px; height: 56px; padding: 0;
  border: 2px solid transparent; outline: 1px solid var(--rule);
  background: var(--bg2); overflow: hidden; opacity: 0.7; transition: opacity .15s, border-color .15s;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-thumb.active { border-color: var(--accent); opacity: 1; }
.modal-thumb:not(.active):hover { opacity: 1; }

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 28px; }
  .hero-h1 { font-size: 64px; }
  .postcard-stack { height: 480px; margin-top: 24px; }
  .about { grid-template-columns: 1fr; gap: 40px; padding: 64px 28px; }
  .services-head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { column-count: 2; }
  .why-grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-h2 { font-size: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .modal-info { grid-template-columns: 1fr; gap: 24px; }
  .modal-meta { border-left: none; padding-left: 0; border-top: 1px dashed var(--rule); padding-top: 16px; }
}

@media (max-width: 760px) {
  .nav { padding: 14px 20px; flex-wrap: wrap; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; width: 100%; order: 99; gap: 12px; padding: 16px 0; }
  .nav-burger {
    display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
    background: transparent; border: 1px solid var(--rule); color: var(--ink);
    align-items: center; justify-content: center; font-size: 18px;
  }
  .nav-logo-sub { display: none; }
  .hero { padding: 36px 20px; }
  .hero-h1 { font-size: 44px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .postcard-stack { height: 420px; }
  .postcard { width: 180px; }
  .postcard img { height: 140px; }
  .marquee-track { font-size: 22px; }
  .about { padding: 56px 20px; }
  .about-h2, .services-h2, .why-h2, .t-h2 { font-size: 36px; }
  .projects { padding: 56px 20px; }
  .projects-h2 { font-size: 40px; }
  .projects-head { flex-direction: column; align-items: flex-start; }
  .projects-grid { column-count: 1; }
  .proj { transform: none !important; }
  .services { padding: 56px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .why { padding: 56px 20px; }
  .testimonials { padding: 56px 20px; }
  .cta { padding: 64px 20px; }
  .cta-h2 { font-size: 40px; }
  .footer { padding: 48px 20px 24px; }
  .footer-brand { font-size: 40px; }
  .modal-scrim { padding: 16px; }
  .modal-stage { padding: 12px; }
  .modal-info { padding: 20px; }
  .modal-nav.prev { left: 12px; }
  .modal-nav.next { right: 12px; }
  .modal-counter { top: 18px; right: 18px; }
}
