/* =====================================================================
   AXIS — Architect Portfolio Template
   Vanilla CSS. No frameworks, no build step, no external images.
   All visuals are CSS gradients, hairline grids, inline SVG, and emoji.

   THEMING: edit the :root variables below to rebrand the whole site.
   ===================================================================== */

:root {
  /* ---- Palette (monochrome architectural) ---- */
  --bg:       #ffffff;
  --ink:      #141414;
  --accent:   #1a1a1a;   /* near-black primary */
  --accent2:  #9a948a;   /* thin warm-grey */
  --muted:    #8a8a8a;
  --surface:  #f4f4f4;
  --line:     #e3e3e3;

  /* ---- Derived ---- */
  --ink-soft: #3a3a3a;
  --on-dark:  #ffffff;

  /* ---- Type ---- */
  --font-head: 'Archivo', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* ---- Layout ---- */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 2px;          /* plan-like precision: minimal rounding */
  --header-h: 76px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ====================== RESET / BASE ====================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Thin uppercase label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 18px;
}

.muted { color: var(--muted); }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .2s var(--ease);
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--ink); color: var(--on-dark); }
.btn-primary:hover { background: #000; border-color: #000; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-dark); }

.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }

.btn-block { width: 100%; }

/* ====================== HEADER ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo / brand */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
}
.logo-text {
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 38px; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: var(--ink);
  transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--ink); }

.nav-cta { padding: 11px 22px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ====================== HERO (homepage) ====================== */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 116px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}
/* Fine hairline grid backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 0%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-role {
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 22px;
}
.hero-role::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--accent2);
  vertical-align: middle;
  margin-right: 14px;
}
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--accent2); }
.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 4vw, 54px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* CSS architectural visual — layered plan-like blocks */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-visual .blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,20,20,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-visual .massing {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 70%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.hero-visual .massing i {
  flex: 1;
  background: linear-gradient(180deg, #2a2a2a, #141414);
  border-radius: 1px 1px 0 0;
}
.hero-visual .massing i:nth-child(1) { height: 52%; }
.hero-visual .massing i:nth-child(2) { height: 86%; background: linear-gradient(180deg, #1a1a1a, #000); }
.hero-visual .massing i:nth-child(3) { height: 40%; }
.hero-visual .massing i:nth-child(4) { height: 68%; }
.hero-visual .sun {
  position: absolute;
  top: 16%;
  right: 16%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--accent2));
  border: 1px solid var(--line);
}
.hero-visual .scale-line {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 7%;
  height: 1px;
  background: var(--ink);
}
.hero-visual .scale-line::before,
.hero-visual .scale-line::after {
  content: "";
  position: absolute;
  bottom: -4px;
  width: 1px;
  height: 9px;
  background: var(--ink);
}
.hero-visual .scale-line::before { left: 0; }
.hero-visual .scale-line::after  { right: 0; }
.hero-visual .tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ====================== PAGE BANNER (inner pages) ====================== */
.page-banner {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
          mask-image: linear-gradient(90deg, transparent, #000 70%);
  opacity: 0.5;
  pointer-events: none;
}
.page-banner .container { position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--accent2); transition: color .25s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-current] { color: var(--ink); }
.page-title {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.page-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ====================== SECTIONS ====================== */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-alt { background: var(--surface); }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

.section-head { max-width: 62ch; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-lead { font-size: 1.05rem; color: var(--ink-soft); }

/* ====================== STATS STRIP ====================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.stats-row .stat {
  padding: 34px 26px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.stats-row .stat:last-child { border-right: none; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ====================== PROJECT GRID ====================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 34px);
}
.work-card {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(20,20,20,.5);
}
.work-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 34px 34px;
}
.work-emoji {
  position: relative;
  z-index: 1;
  font-size: 2.6rem;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
  transition: transform .5s var(--ease);
}
.work-card:hover .work-emoji { transform: scale(1.12) translateY(-4px); }

/* Gradient thumbnails (monochrome architectural tones) */
.thumb-1 { background: linear-gradient(135deg, #2b2b2b, #0c0c0c); }
.thumb-2 { background: linear-gradient(135deg, #4a463f, #1c1a16); }
.thumb-3 { background: linear-gradient(135deg, #3a3a3a, #161616); }
.thumb-4 { background: linear-gradient(135deg, #5b554b, #23211c); }
.thumb-5 { background: linear-gradient(135deg, #232323, #050505); }
.thumb-6 { background: linear-gradient(135deg, #46443f, #15140f); }
.thumb-7 { background: linear-gradient(135deg, #313131, #101010); }
.thumb-8 { background: linear-gradient(135deg, #565049, #221f1a); }
.thumb-9 { background: linear-gradient(135deg, #292929, #0a0a0a); }

.work-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
}
.work-info h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.work-cat {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.work-year {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--accent2);
  white-space: nowrap;
}

/* ====================== FILTER BAR ====================== */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.filter-chip {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

.work-card.is-hidden { display: none; }

/* ====================== SPLIT / TEASER ====================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split-media { order: -1; }

.split-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #232323, #050505);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 36px 36px;
}
.split-media .media-inner { position: relative; z-index: 1; text-align: center; padding: 20px; }
.split-media .media-emoji { font-size: 3rem; margin-bottom: 10px; }
.split-media strong { font-family: var(--font-head); font-size: 1.3rem; display: block; }
.split-media p { color: rgba(255,255,255,.78); margin: 6px 0 0; font-size: .95rem; }

.lead-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.lead-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.lead-list li .tick {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

/* ====================== FEATURE / SERVICE CARDS ====================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.feature-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.feature-card .num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent2);
  display: block;
  margin-bottom: 16px;
}
.feature-card .icon {
  font-size: 1.9rem;
  display: block;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 0.96rem; }
.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}
.feature-card ul li {
  font-size: 0.86rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.feature-card ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent2);
}

/* ====================== TIMELINE ====================== */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.timeline-item {
  position: relative;
  padding: 0 0 40px 34px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border-radius: 50%;
}
.timeline-period {
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 8px;
}
.timeline-content h3 { font-size: 1.2rem; margin-bottom: 4px; }
.timeline-org { font-size: 0.86rem; color: var(--muted); margin-bottom: 8px; }
.timeline-content p { color: var(--ink-soft); font-size: 0.96rem; }

/* ====================== AWARDS ====================== */
.awards-list { list-style: none; margin: 0; padding: 0; }
.awards-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.awards-list li:last-child { border-bottom: 1px solid var(--line); }
.awards-list .award-year {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.awards-list .award-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; }
.awards-list .award-org { font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* ====================== FAQ ====================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent2);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 44px 26px 0; color: var(--ink-soft); margin: 0; }

/* ====================== CTA BAND ====================== */
.cta-band { background: var(--ink); color: #fff; }
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.cta-band .section-title { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin-bottom: 30px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ====================== CONTACT ====================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.contact-lead { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 28px; }
.contact-details { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.contact-details li { display: flex; gap: 12px; align-items: center; color: var(--ink-soft); }
.contact-details a { color: var(--ink); border-bottom: 1px solid var(--line); }
.contact-details a:hover { border-color: var(--ink); }

.studio-info { display: grid; gap: 0; margin-bottom: 28px; }
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-row .info-ic { font-size: 1.3rem; flex-shrink: 0; }
.info-row b { font-family: var(--font-head); display: block; margin-bottom: 2px; }
.info-row span { color: var(--ink-soft); font-size: 0.94rem; }

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-head);
  transition: all .25s var(--ease);
}
.social-row a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

/* Form */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 42px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field .error {
  display: block;
  color: #c0392b;
  font-size: 0.78rem;
  margin-top: 6px;
  min-height: 1em;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #c0392b; }

.form-success {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--ink);
}
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }

/* Map placeholder */
.map-placeholder {
  margin-top: 22px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(20,20,20,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,20,.05) 1px, transparent 1px),
    var(--surface);
  background-size: 30px 30px, 30px 30px, auto;
  display: grid;
  place-items: center;
  text-align: center;
}
.map-placeholder .pin { font-size: 2rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }
.map-placeholder span { font-size: 0.8rem; color: var(--muted); }

/* ====================== FOOTER ====================== */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding-top: clamp(48px, 6vw, 80px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer .logo-mark { border-color: rgba(255,255,255,.5); color: #fff; }
.site-footer .logo-text { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 16px; max-width: 34ch; font-size: 0.94rem; }

.footer-col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: 0.94rem;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  font-family: var(--font-head);
  color: #fff;
  transition: all .25s var(--ease);
}
.footer-social a:hover { background: #fff; color: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: #fff; }

/* ====================== REVEAL ANIMATION ====================== */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 26px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    box-shadow: 0 24px 40px -28px rgba(0,0,0,.4);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding: 16px 0; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 16px; align-self: flex-start; }
  .hamburger { display: flex; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards-grid, .cards-grid.two { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row .stat:nth-child(2) { border-right: none; }
  .stats-row .stat:nth-child(1),
  .stats-row .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .cards-grid, .cards-grid.two { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .awards-list li { grid-template-columns: 1fr; gap: 4px; }
  .awards-list .award-org { text-align: left; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
  .hero-meta strong { font-size: 1.6rem; }
  .btn { padding: 13px 20px; }
}
