/* ─────────────────────────────────────────────────────────────
   JELCG — JINO Enterprises Limited Consulting Group
   Design system: "Working Drawing"
   Ink navy · drafting paper · surveyor's brass · title blocks
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #0c1b2e;
  --ink-2: #13283f;
  --ink-3: #1c3654;
  --paper: #eef1f4;
  --paper-2: #e4e9ee;
  --brass: #c9a050;
  --brass-bright: #e0bd6c;
  --brass-dim: #9a7b3c;
  --slate: #6c84a0;
  --white: #ffffff;
  --line-light: rgba(12, 27, 46, 0.14);
  --line-dark: rgba(201, 160, 80, 0.25);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Spline Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 5%;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.topbar a { color: var(--brass); text-decoration: none; }
.topbar a:hover { color: var(--brass-bright); }
.topbar .tb-right { display: flex; gap: 1.6rem; }

/* ── NAV ────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 30px; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(12, 27, 46, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.nav-logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.nav-logo-mark {
  width: 84px; height: 44px;
  border: 2px solid var(--brass);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--brass);
  letter-spacing: 0.18em;
  padding-left: 0.18em; /* optical centering vs letter-spacing */
  position: relative;
  flex-shrink: 0;
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(201, 160, 80, 0.35);
  pointer-events: none;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}
.nav-logo-text small {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: var(--brass);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links { display: flex; list-style: none; gap: 2.2rem; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--brass); }
.nav-links a.active { color: var(--brass); border-bottom-color: var(--brass); }
.nav-links a.nav-cta {
  background: var(--brass);
  color: var(--ink);
  font-weight: 500;
  padding: 0.55rem 1.3rem;
  border: none;
  transition: background 0.3s var(--ease);
}
.nav-links a.nav-cta:hover { background: var(--brass-bright); color: var(--ink); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--brass); transition: 0.3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--ink);
  border-left: 1px solid var(--line-dark);
  z-index: 999;
  padding: 130px 2.2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(201, 160, 80, 0.15);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--brass); }

/* ── TITLE BLOCK (signature element) ────────────────────── */
.title-block {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.title-block span { padding: 0.4rem 0.85rem; display: flex; align-items: center; }
.title-block span + span { border-left: 1px solid currentColor; }
.title-block .tb-no { font-weight: 600; }

.tb-on-dark { color: var(--brass); }
.tb-on-light { color: var(--brass-dim); }

/* dimension-line divider */
.dim-line {
  position: relative;
  height: 1px;
  background: var(--line-light);
  margin: 0 auto;
  max-width: 1200px;
}
.dim-line::before, .dim-line::after {
  content: '';
  position: absolute;
  top: -5px;
  width: 1px; height: 11px;
  background: var(--brass-dim);
}
.dim-line::before { left: 0; }
.dim-line::after { right: 0; }

/* ── HEADINGS ───────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 0.92;
}
.display .accent { color: var(--brass); }

.section { padding: 7rem 5%; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section h2.display { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 1.4rem; }

.lede {
  font-size: 1.05rem;
  color: var(--ink-3);
  max-width: 620px;
  font-weight: 300;
}
.dark .lede { color: rgba(238, 241, 244, 0.72); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--brass);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: pointer;
}
.btn-solid { background: var(--brass); color: var(--ink); font-weight: 500; }
.btn-solid:hover { background: var(--brass-bright); transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--brass); }
.btn-ghost:hover { background: rgba(201, 160, 80, 0.12); }
.btn-ghost.on-light { color: var(--brass-dim); border-color: var(--brass-dim); }
.btn-ghost.on-light:hover { background: rgba(154, 123, 60, 0.1); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--ink);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  color: var(--paper);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201, 160, 80, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 160, 80, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(201, 160, 80, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 160, 80, 0.025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.hero-left {
  position: relative; z-index: 2;
  padding: 200px 4% 190px 9%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero h1 {
  font-size: clamp(3.6rem, 7.2vw, 6.8rem);
  margin-bottom: 1.7rem;
  color: var(--white);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(238, 241, 244, 0.68);
  max-width: 470px;
  margin-bottom: 2.6rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-right {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 180px 6% 120px 2%;
}
.hero-right svg { width: 100%; max-width: 560px; height: auto; }

/* hero drawing draw-on */
.draw path, .draw line, .draw rect, .draw circle, .draw polyline {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawOn 2.4s var(--ease) forwards;
}
.draw .d2 { animation-delay: 0.5s; }
.draw .d3 { animation-delay: 1s; }
.draw .d4 { animation-delay: 1.5s; }
@keyframes drawOn { to { stroke-dashoffset: 0; } }

/* hero stats strip — drawing title block footer */
.hero-stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  background: rgba(12, 27, 46, 0.85);
  backdrop-filter: blur(8px);
}
.hero-stat {
  padding: 1.4rem 2rem;
  border-right: 1px solid var(--line-dark);
}
.hero-stat:last-child { border-right: none; }
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--brass);
  line-height: 1;
}
.hero-stat small {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

/* page hero (inner pages) */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 220px 5% 90px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-grid-bg { opacity: 0.85; }
.page-hero .section-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(3.2rem, 6.5vw, 5.6rem); color: var(--white); margin-bottom: 1.2rem; }
.page-hero .lede { color: rgba(238, 241, 244, 0.72); }

/* ── FADE/REVEAL ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.fade-up { opacity: 0; animation: fadeUp 0.85s var(--ease) forwards; }
.fd-1 { animation-delay: 0.15s; }
.fd-2 { animation-delay: 0.35s; }
.fd-3 { animation-delay: 0.55s; }
.fd-4 { animation-delay: 0.75s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ── ABOUT / VALUES ─────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: start; }
.about-grid p + p { margin-top: 1.2rem; }

.notes { border-left: 1px solid var(--line-light); }
.note {
  padding: 1.4rem 0 1.4rem 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--line-light);
}
.note:last-child { border-bottom: none; }
.note::before {
  content: '';
  position: absolute;
  left: -4px; top: 1.85rem;
  width: 7px; height: 7px;
  background: var(--brass);
  transform: rotate(45deg);
}
.note h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.note p { font-size: 0.9rem; color: var(--ink-3); }

/* director quote */
.quote-band { background: var(--ink-2); color: var(--paper); }
.quote-band blockquote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(238, 241, 244, 0.88);
}
.quote-band blockquote::before { content: '“'; color: var(--brass); font-family: var(--font-display); font-size: 3rem; display: block; line-height: 0.4; margin-bottom: 1.4rem; }
.quote-band cite {
  display: block;
  margin-top: 2rem;
  text-align: center;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ── SERVICE CARDS ──────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.svc {
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 2.2rem 2rem 2.4rem;
  position: relative;
  background: var(--paper);
  transition: background 0.35s var(--ease);
}
.svc:hover { background: var(--white); }
.svc::after {
  content: '';
  position: absolute;
  left: 2rem; bottom: 0;
  height: 2px; width: 0;
  background: var(--brass);
  transition: width 0.4s var(--ease);
}
.svc:hover::after { width: calc(100% - 4rem); }
.svc-code {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--brass-dim);
  display: block;
  margin-bottom: 1.1rem;
}
.svc h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.7rem;
}
.svc p { font-size: 0.88rem; color: var(--ink-3); }

/* ── PROJECT CARDS ──────────────────────────────────────── */
.proj-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2.4rem 0 2.8rem; }
.proj-filters button {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid var(--line-light);
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.proj-filters button:hover { border-color: var(--brass-dim); color: var(--brass-dim); }
.proj-filters button.active { background: var(--ink); border-color: var(--ink); color: var(--brass); }

.proj-count {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.4rem;
}

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.proj-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(12, 27, 46, 0.14); }
.proj-card:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.proj-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.proj-card:hover .proj-img img { transform: scale(1.05); }
.proj-img::after {
  content: 'View details ↗';
  position: absolute;
  right: 0; bottom: 0;
  background: var(--ink);
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.proj-card:hover .proj-img::after { opacity: 1; transform: none; }
.proj-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.proj-cat {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dim);
  display: block;
  margin-bottom: 0.5rem;
}
.proj-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

/* project modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(12, 27, 46, 0.82);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--paper);
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  border: 1px solid var(--brass-dim);
}
.modal-img { min-height: 320px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 2.4rem 2.2rem; }
.modal-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  text-transform: uppercase;
  line-height: 1;
  margin: 0.6rem 0 1.2rem;
}
.modal-body h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dim);
  margin: 1.4rem 0 0.4rem;
}
.modal-body p { font-size: 0.9rem; color: var(--ink-3); }
.modal-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--brass);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
}
.modal-close:hover { background: var(--ink-3); }

/* ── TEAM ───────────────────────────────────────────────── */
.team-section + .team-section { margin-top: 5rem; }
.team-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.team-sidebar { border-left: 1px solid var(--line-light); position: sticky; top: 140px; }
.team-tab {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
  padding: 0.95rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.team-tab:hover { color: var(--ink); }
.team-tab.active { color: var(--ink); border-left-color: var(--brass); }
.team-detail { display: none; }
.team-detail.active { display: block; animation: fadeUp 0.5s var(--ease); }
.team-detail h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  text-transform: uppercase;
  line-height: 1;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dim);
  margin: 0.6rem 0 0.3rem;
}
.team-creds { font-size: 0.85rem; color: var(--slate); margin-bottom: 1.6rem; }
.team-detail h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.team-detail p { font-size: 0.92rem; color: var(--ink-3); }
.team-detail p + p { margin-top: 1rem; }

/* ── STATS BAND ─────────────────────────────────────────── */
.stats-band { background: var(--ink); color: var(--paper); }
.stats-band .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
}
.stats-band .stat { padding: 2.4rem 2rem; border-right: 1px solid var(--line-dark); }
.stats-band .stat:last-child { border-right: none; }
.stats-band .stat b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.2rem;
  color: var(--brass);
  display: block;
  line-height: 1;
}
.stats-band .stat small {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; align-items: start; }
.contact-list { margin-top: 2.2rem; border-top: 1px solid var(--line-light); }
.contact-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line-light);
  align-items: baseline;
}
.contact-item b {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dim);
  width: 110px;
  flex-shrink: 0;
}
.contact-item span { font-size: 0.92rem; color: var(--ink-3); }
.contact-item a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-light); }
.contact-item a:hover { color: var(--brass-dim); border-color: var(--brass-dim); }

form.contact-form {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 2.4rem;
}
.form-head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band { background: var(--ink-2); color: var(--paper); text-align: center; }
.cta-band h2 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(238, 241, 244, 0.68); max-width: 540px; margin: 0 auto 2.2rem; }

/* ── MAP / LOCATION ─────────────────────────────────────── */
.map-frame {
  border: 1px solid var(--line-light);
  background: var(--white);
  padding: 0.5rem;
}
.map-frame iframe { width: 100%; height: 380px; border: none; display: block; }
.map-caption {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0.7rem 0.4rem 0.3rem;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--slate);
  padding: 4.5rem 5% 0;
  border-top: 2px solid var(--brass);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer-about p { font-size: 0.85rem; max-width: 320px; margin-top: 1.2rem; }
footer h5 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.2rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.65rem; }
footer ul a {
  text-decoration: none;
  color: rgba(238, 241, 244, 0.6);
  font-size: 0.85rem;
  transition: color 0.3s var(--ease);
}
footer ul a:hover { color: var(--brass); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* scroll top */
#scrollTop {
  position: fixed;
  right: 1.6rem; bottom: 1.6rem;
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--brass);
  border: 1px solid var(--brass-dim);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 900;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover { background: var(--ink-3); }

/* ── DARK SECTIONS ──────────────────────────────────────── */
.dark { background: var(--ink); color: var(--paper); }
.dark h2.display { color: var(--white); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 200px 8% 220px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar .tb-left { display: none; }
  .topbar { justify-content: flex-end; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); position: relative; }
  .hero-stat { border-bottom: 1px solid var(--line-dark); }
  .hero-left { padding: 180px 7% 60px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .page-hero h1 { font-size: clamp(2.5rem, 10.5vw, 4rem); }
  .svc-grid, .proj-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .team-layout { grid-template-columns: 1fr; }
  .team-sidebar { position: static; display: flex; overflow-x: auto; border-left: none; border-bottom: 1px solid var(--line-light); }
  .team-tab { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .team-tab.active { border-bottom-color: var(--brass); }
  .modal { grid-template-columns: 1fr; }
  .modal-img { max-height: 280px; }
  .section { padding: 5rem 6%; }
  .stats-band .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band .stat { border-bottom: 1px solid var(--line-dark); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .fade-up { opacity: 1; }
  .draw path, .draw line, .draw rect, .draw circle, .draw polyline { stroke-dashoffset: 0; }
}
