/* ==========================================================================
   BUILD UP BUILDING PLANNERS — CORE STYLESHEET
   Design system: architectural / engineering / premium minimal
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Color system */
  --white: #FFFFFF;
  --off-white: #F7F9FA;
  --navy: #071A2B;
  --navy-light: #0D2A42;
  --blue: #1769AA;
  --blue-light: #2788D8;
  --cyan: #19C6D9;
  --cyan-light: #63E6F2;
  --text-dark: #10202D;
  --text-muted: #647482;
  --border: #DDE5EA;

  /* Type */
  --font-display: 'Space Grotesk', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Fluid type scale */
  --fs-h1: clamp(2.4rem, 6vw, 5.4rem);
  --fs-h2: clamp(1.9rem, 4vw, 3.2rem);
  --fs-h3: clamp(1.3rem, 2.4vw, 1.9rem);
  --fs-h4: clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-body: clamp(0.98rem, 1vw, 1.05rem);
  --fs-small: 0.85rem;
  --fs-label: 0.78rem;

  /* Layout */
  --container: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --nav-width: 88px;

  /* Motion */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.6s;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
svg { display: block; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; }

p { font-size: var(--fs-body); color: var(--text-muted); max-width: 62ch; }
p.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

/* ---- Layout primitives ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.62); }
.section--off { background: var(--off-white); }

.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 { max-width: 14ch; }
.section-head .section-desc { max-width: 40ch; text-align: right; }
@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .section-desc { text-align: left; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: var(--cyan-light); }

.btn-outline { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan-light); }

.btn-outline-dark { border-color: var(--border); color: var(--navy); }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--navy); padding: 4px 0; border-radius: 0; }
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); }

/* ---- Cards ---- */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 34px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover { border-color: var(--cyan); transform: translateY(-4px); }

.card-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}

/* ---- Blueprint / technical motifs ---- */
.blueprint-line {
  position: relative;
}
.blueprint-line::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(23, 105, 170, 0.14);
  pointer-events: none;
}
.tick {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.coord {
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--blue);
  letter-spacing: 0.05em;
}

.hr {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* ---- Placeholder media (used until real photography is supplied) ---- */
.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--border);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .media-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: rgba(255,255,255,0.86);
  padding: 5px 10px;
}
.ph-arch {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: var(--nav-width);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  background: rgba(247, 249, 250, 0.72);
  backdrop-filter: blur(14px);
  border-left: 1px solid var(--border);
}
.nav-logo {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
}
.nav-links a {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
  padding-block: 4px;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
}
.nav-cta {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  padding: 16px 10px;
  border: 1px solid var(--navy);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav-cta:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }

.main-shell { margin-right: var(--nav-width); }

/* Mobile top bar + fullscreen menu (hidden on desktop; shown via responsive.css below 1024px) */
.mobile-bar {
  display: none;
}
.mobile-menu {
  display: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-block: clamp(56px, 8vw, 96px) 28px;
}
.site-footer h4 { color: var(--white); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-mark { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.55); margin-top: 14px; font-size: 0.92rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--cyan-light); }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.6); }
.footer-social a:hover { color: var(--cyan-light); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
}

/* ==========================================================================
   LOADING SCREEN
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-align: center;
}
.loader-mark span { display: block; color: var(--cyan-light); font-size: 0.7rem; letter-spacing: 0.2em; margin-top: 8px; }
.loader-line { width: 140px; height: 1px; background: rgba(255,255,255,0.15); position: relative; overflow: hidden; }
.loader-line::after {
  content: '';
  position: absolute; left: -40%; top: 0; height: 100%; width: 40%;
  background: var(--cyan);
  animation: loaderSweep 1.1s ease-in-out infinite;
}
@keyframes loaderSweep {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* ==========================================================================
   CUSTOM CURSOR (desktop only)
   ========================================================================== */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s;
  mix-blend-mode: difference;
}
.cursor-dot.is-active {
  width: 64px; height: 64px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.cursor-label {
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.25s;
}
.cursor-label.is-active { opacity: 1; }
@media (hover: none), (max-width: 900px) {
  .cursor-dot, .cursor-label { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(120px, 20vh, 200px) 0 clamp(48px, 6vw, 80px);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cyan-light);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}
.hero-kicker::before { content: ''; width: 30px; height: 1px; background: var(--cyan); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 7.4vw, 6.6rem);
  line-height: 0.98;
}
.hero h1 .line-muted { color: rgba(255,255,255,0.32); }
.hero-sub {
  margin-top: 26px;
  max-width: 44ch;
  color: rgba(255,255,255,0.68);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: clamp(48px, 8vh, 96px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-coords {
  display: flex;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.scroll-cue .dash { width: 1px; height: 26px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.scroll-cue .dash::after {
  content: '';
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--cyan);
  animation: scrollDash 1.8s ease-in-out infinite;
}
@keyframes scrollDash {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

@media (max-width: 900px) {
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-coords { flex-wrap: wrap; gap: 16px; }
}

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
  background: var(--navy);
  padding: clamp(150px, 22vh, 220px) 0 clamp(60px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.page-hero .hero-grid { opacity: 0.6; }
.page-hero h1 { color: var(--white); position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--cyan-light); position: relative; z-index: 2; }
.page-hero p { color: rgba(255,255,255,0.62); position: relative; z-index: 2; margin-top: 20px; }
.breadcrumb {
  position: relative; z-index: 2;
  display: flex; gap: 8px; align-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 26px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--cyan-light); }

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.service-card {
  border: 1px solid var(--border);
  padding: 38px 32px;
  position: relative;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.service-card:hover { border-color: var(--navy); background: var(--navy); }
.service-card:hover h3, .service-card:hover .card-number { color: var(--white); }
.service-card:hover p { color: rgba(255,255,255,0.62); }
.service-card:hover .btn-ghost { color: var(--cyan-light); border-color: var(--cyan-light); }
.service-card h3 { margin-block: 14px 12px; transition: color 0.4s; }
.service-card p { margin-bottom: 22px; transition: color 0.4s; }
.service-icon {
  width: 42px; height: 42px;
  color: var(--cyan);
}

/* ==========================================================================
   PROCESS / TIMELINE
   ========================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.timeline-step {
  background: var(--white);
  padding: 30px 22px;
}
.timeline-step .card-number { color: var(--blue); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gutter);
}
.project-card { grid-column: span 3; }
.project-card.is-wide { grid-column: span 4; }
.project-card.is-narrow { grid-column: span 2; }
.project-media { aspect-ratio: 4/3; }
.project-card.is-wide .project-media { aspect-ratio: 16/9; }
.project-info { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 18px; gap: 16px; }
.project-info h3 { font-size: 1.15rem; }
.project-meta { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--text-muted); margin-top: 6px; }
.project-tag { font-family: var(--font-display); font-size: 0.68rem; color: var(--blue); border: 1px solid var(--border); padding: 5px 10px; white-space: nowrap; }
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card, .project-card.is-wide, .project-card.is-narrow { grid-column: span 1; }
}

/* ==========================================================================
   GALLERY MARQUEE
   ========================================================================== */
.gallery-marquee { overflow: hidden; }
.marquee-row { display: flex; gap: 18px; width: max-content; }
.marquee-row.dir-left { animation: marqueeLeft 46s linear infinite; }
.marquee-row.dir-right { animation: marqueeRight 46s linear infinite; }
.gallery-marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-item {
  position: relative;
  width: 320px;
  aspect-ratio: 4/3;
  flex: none;
  overflow: hidden;
  cursor: pointer;
}
.marquee-item img { transition: transform 0.6s var(--ease); }
.marquee-item:hover img { transform: scale(1.06); }
.marquee-label {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(7,26,43,0.72);
  padding: 6px 10px;
}
@keyframes marqueeLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(7,26,43,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 84vw; max-height: 80vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 16px;
  transition: border-color 0.3s, color 0.3s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--cyan); color: var(--cyan-light); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.review-slider { position: relative; overflow: hidden; }
.review-track { display: flex; transition: transform 0.6s var(--ease); }
.review-card { flex: none; width: 100%; max-width: 760px; }
.review-quote { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--navy); line-height: 1.4; }
.review-author { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--off-white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.8rem; color: var(--blue);
}
.review-nav { display: flex; gap: 12px; margin-top: 34px; }
.review-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background 0.3s; }
.review-dot.is-active { background: var(--cyan); }
.review-note {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 18px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.contact-list { display: flex; flex-direction: column; gap: 26px; margin-top: 34px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.contact-item .tick { display: block; margin-bottom: 4px; }
.contact-item a, .contact-item span.value { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); }
.contact-item a:hover { color: var(--blue); }
.map-frame { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--border); background: var(--off-white); position: relative; overflow: hidden; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Form */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--white);
  transition: border-color 0.3s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--cyan); outline: none; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 14rem);
  color: rgba(255,255,255,0.08);
  line-height: 0.8;
  position: relative; z-index: 2;
}
.error-page h1 { color: var(--white); position: relative; z-index: 2; margin-top: -30px; }
.error-page p { color: rgba(255,255,255,0.6); position: relative; z-index: 2; margin-top: 18px; }
