/* ===========================================================
   TOKENS — White & Blue theme
=========================================================== */
:root {
  --onyx: #0b2545;       /* deep navy — header, hero, footer, location band */
  --espresso: #081b33;   /* slightly deeper navy for subtle variation */
  --ivory: #ffffff;      /* white — primary light section bg */
  --mist: #eef3f8;       /* faint blue-tinted white — alternating light section */
  --ivory-line: #dce6ef; /* light blue-grey divider/border on light bg */
  --brass: #2fa8e0;      /* primary accent — sky blue */
  --brass-light: #8fd9ff;/* lighter sky blue — accent text on dark bg */
  --oxblood: #b3261e;    /* error red — unrelated to accent, standard UX convention */
  --stone: #9fb4c7;      /* muted blue-grey text, for USE ON DARK backgrounds */
  --muted: #4c5c6b;      /* muted slate text, for use on LIGHT backgrounds */
  --ink: #14202b;        /* near-navy body text on white */
  --bone: #f2f6fa;       /* near-white text, for use on dark backgrounds */

  --font-display: "Fraunces", serif;
  --font-body: "Jost", sans-serif;

  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--bone);
  background: var(--onyx);
  line-height: 1.65;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible {
  outline: 1.5px solid var(--brass-light);
  outline-offset: 4px;
}

h1, h2, h3, blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
}

/* ===========================================================
   HEADER
=========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 37, 69, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(47, 168, 224, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-decoration: none;
  color: var(--bone);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--bone);
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav a {
  text-decoration: none;
  color: var(--stone);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--brass-light); }
.nav-cta {
  color: var(--brass-light) !important;
  border: 1px solid var(--brass);
  padding: 9px 20px;
}
.nav-cta:hover { background: var(--brass); color: var(--ivory) !important; }

/* ===========================================================
   HERO
=========================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--onyx);
  overflow: hidden;
}

.hero-motif {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 560px;
  opacity: 0.9;
}
.arch-svg { width: 100%; height: auto; }

.hero-inner { position: relative; max-width: 620px; padding: 80px 32px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin: 0 0 28px;
}
.eyebrow--dark { color: var(--brass); }

.hero h1 {
  font-size: clamp(2.8rem, 5.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--bone);
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--stone);
  max-width: 44ch;
  margin: 0 0 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-outline {
  border: 1px solid var(--brass);
  color: var(--brass-light);
  background: transparent;
}
.btn-outline:hover { background: var(--brass); color: var(--ivory); }
.btn-solid {
  border: 1px solid var(--onyx);
  background: var(--onyx);
  color: var(--brass-light);
  width: 100%;
}
.btn-solid:hover { background: transparent; color: var(--onyx); border-color: var(--onyx); }

/* ===========================================================
   DIVIDER MOTIF
=========================================================== */
.divider {
  display: flex;
  justify-content: center;
  padding: 0 0 64px;
  background: var(--onyx);
}
.divider--ivory { background: var(--ivory); padding-bottom: 0; padding-top: 64px; }
.divider-svg { width: 200px; height: 24px; stroke: var(--brass); fill: none; stroke-width: 1; }

/* ===========================================================
   SECTIONS (generic)
=========================================================== */
.section { padding: 110px 0; }
.section--onyx { background: var(--onyx); }
.section--espresso { background: var(--espresso); }
.section--ivory { background: var(--ivory); color: var(--ink); }
.section--mist { background: var(--mist); color: var(--ink); }

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  color: var(--bone);
  margin-bottom: 56px;
}
.section-title--dark { color: var(--ink); }

.section-lede {
  font-size: 1.02rem;
  color: var(--stone);
  max-width: 52ch;
  margin: 0 0 40px;
}
.section-lede--dark { color: var(--muted); }

/* ===========================================================
   PHILOSOPHY
=========================================================== */
.philosophy-grid { max-width: 780px; text-align: center; margin: 0 auto; }
.philosophy-grid .eyebrow { text-align: center; }
blockquote {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 40px;
}
.philosophy-body {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 auto;
}

/* ===========================================================
   SERVICES LIST
=========================================================== */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(47, 168, 224, 0.25);
}
.service-item {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(47, 168, 224, 0.25);
  align-items: baseline;
}
.service-name { display: flex; align-items: baseline; gap: 18px; }
.service-name h3 {
  font-size: 1.5rem;
  color: var(--ink);
  white-space: nowrap;
}
.service-line {
  height: 1px;
  background: var(--brass);
  flex: 1;
  min-width: 24px;
}
.service-item p { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 46ch; }

/* ===========================================================
   LOCATION
=========================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}
.contact-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  margin: 44px 0 0;
}
.contact-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 10px;
}
.contact-facts dd {
  margin: 0;
  color: var(--bone);
  font-size: 0.98rem;
  line-height: 1.6;
}
.contact-facts a { text-decoration: none; border-bottom: 1px solid rgba(242,246,250,0.3); }
.contact-facts a:hover { border-color: var(--bone); }

.location-map {
  min-height: 380px;
  border: 1px solid rgba(47, 168, 224, 0.3);
  filter: grayscale(0.2) contrast(1.02) saturate(1.1);
}
.location-map iframe { display: block; height: 100%; min-height: 380px; }

/* ===========================================================
   CONTACT FORM
=========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
}

.enquiry-form { padding-top: 4px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field { margin-bottom: 26px; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 2px;
  border: none;
  border-bottom: 1px solid var(--ivory-line);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass);
  outline: none;
}
.field textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }

.btn-submit { margin-top: 12px; }
.form-status {
  margin: 16px 0 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}
.form-status.success { color: #2f6b45; }
.form-status.error { color: var(--oxblood); }

/* ===========================================================
   FOOTER
=========================================================== */
.site-footer {
  background: var(--onyx);
  color: var(--stone);
  padding: 40px 0;
  border-top: 1px solid rgba(47, 168, 224, 0.2);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.footer-brand {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  color: var(--brass-light);
  font-size: 0.85rem;
}

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 900px) {
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-motif { width: 70%; opacity: 0.5; }
  .service-item { grid-template-columns: 1fr; gap: 12px; }
  .service-name h3 { white-space: normal; }
  .contact-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--onyx);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 24px;
    display: none;
    border-bottom: 1px solid rgba(47, 168, 224, 0.25);
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 14px 0; }
  .nav-cta { width: 100%; justify-content: center; margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { min-height: 100vh; }
  .hero-motif { width: 90%; opacity: 0.35; }
  .section { padding: 72px 0; }
  .field-row { grid-template-columns: 1fr; }
  .contact-facts { grid-template-columns: 1fr; }
}