/* Logo palette: blue #1863b7, dark blue #1e5492, orange #e9af34, white.
   The older variable names are kept so the shared layout rules still apply. */
:root {
  --logo-blue: #1863b7;
  --logo-navy: #1e5492;
  --logo-orange: #e9af34;
  --navy-deep: #133a68;
  --white: #ffffff;

  --bg: var(--white);
  --surface: #eef4fb;
  --surface-2: #e2ecf8;
  --cream: var(--navy-deep);
  --cream-soft: #45607f;
  --copper: var(--logo-orange);
  --copper-bright: #f2c25a;
  --olive: var(--logo-blue);
  --line: rgba(30, 84, 146, 0.16);
  --edge: rgba(19, 58, 104, 0.32);
  --accent-text: var(--logo-blue);
  --display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: var(--cream); font-weight: 600; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--copper); color: var(--bg); padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Copper underline */
.u {
  background-image: linear-gradient(var(--copper), var(--copper));
  background-repeat: no-repeat;
  background-size: 100% 0.09em;
  background-position: 0 92%;
  padding-bottom: 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--display); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 2px; background: var(--copper); }
.eyebrow .num { color: var(--copper-bright); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.8rem 1.5rem;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid transparent; border-radius: 0;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn-copper { background: var(--copper); color: #fff8ee; }
.btn-copper:hover { background: var(--copper-bright); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(232, 220, 200, 0.5); color: var(--cream); background: rgba(18, 17, 15, 0.35); }
.btn-ghost:hover { border-color: var(--copper); color: #fff; }
.btn-sm { min-height: 44px; padding: 0.55rem 1.2rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(18, 17, 15, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; min-height: 44px; justify-content: center; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.65rem; letter-spacing: -0.03em; text-transform: uppercase; }
.brand-name i { color: var(--copper); font-style: normal; }
.brand-tag { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive); margin-top: 0.3rem; font-weight: 600; }

.site-nav ul { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 0.6rem 0; display: inline-block;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav a:not(.btn):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.nav-cta .btn { min-height: 44px; padding: 0.55rem 1.2rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; background: transparent; border: 1px solid var(--line);
  cursor: pointer; position: relative;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  position: absolute; left: 50%; width: 22px; height: 2px; background: var(--cream);
  transform: translateX(-50%); transition: transform 0.25s, background 0.25s;
}
.nav-toggle .bars { top: 50%; margin-top: -1px; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; left: 0; transform: none; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); background: var(--copper-bright); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); background: var(--copper-bright); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 clamp(4rem, 9vh, 7rem);
  isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; filter: saturate(0.8) brightness(0.72); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 17, 15, 0.75) 0%, rgba(18, 17, 15, 0.2) 30%, rgba(18, 17, 15, 0.55) 60%, var(--bg) 100%),
    linear-gradient(90deg, rgba(18, 17, 15, 0.85) 0%, rgba(18, 17, 15, 0.3) 70%);
}
.hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 5.5rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.96;
  max-width: 12ch; margin-bottom: 1.75rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero-lead { max-width: 38rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 2.25rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: 0.9rem; color: var(--cream-soft); }
.hero-meta li { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero-meta li::before { content: ""; width: 7px; height: 7px; background: var(--olive); transform: rotate(45deg); }

.scroll-cue {
  position: absolute; right: var(--pad); bottom: 2.5rem; width: 44px; height: 64px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 22px;
}
.scroll-cue span { width: 3px; height: 12px; background: var(--copper); border-radius: 2px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-10px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* Sections */
.section { padding: clamp(5rem, 11vw, 9rem) 0; }
.section h2 { font-size: clamp(2.3rem, 6vw, 4.75rem); font-weight: 800; }

.section-head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section-head > p { color: var(--cream-soft); max-width: 34rem; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-copy h2 { margin-bottom: 2rem; }
.about-copy p { color: var(--cream-soft); }
.about-copy .lede { font-size: 1.2rem; color: var(--cream); }
.facts { margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-bright); padding-top: 0.2rem; }
.facts dd { margin: 0; color: var(--cream); }

.about-photo { margin: 0; position: relative; }
.about-photo::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 2px solid var(--copper); z-index: 0;
}
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-photo figcaption { margin-top: 2rem; font-size: 0.88rem; color: var(--olive); }

/* Statement */
.statement {
  background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}
.statement h2 { font-size: clamp(2.4rem, 7.5vw, 6.5rem); font-weight: 800; letter-spacing: -0.035em; max-width: 14ch; margin-bottom: 2rem; }
.statement p { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 44rem; color: var(--cream-soft); margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  position: relative; background: var(--bg); padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background 0.3s;
}
.service::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.service:hover { background: var(--surface); }
.service:hover::after { transform: scaleX(1); }
.service-num { display: block; font-family: var(--display); font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--copper); margin-bottom: 1.5rem; }
.service h3 { font-size: 1.45rem; margin-bottom: 0.85rem; line-height: 1.12; }
.service p { color: var(--cream-soft); margin: 0; font-size: 1rem; }
.services-note { margin: 2rem 0 0; color: var(--olive); font-size: 0.95rem; }

/* Work: one gallery per job type */
.work { background: var(--surface); }
.job-nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.job-nav a {
  display: inline-flex; align-items: baseline; gap: 0.45rem; padding: 0.55rem 0.9rem;
  border: 1px solid var(--edge, rgba(232, 220, 200, 0.3)); color: var(--cream);
  font-weight: 600; font-size: 0.92rem; line-height: 1.2; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.job-nav a:hover { border-color: var(--copper); }
.job-nav a span { font-size: 0.75rem; color: var(--olive); }
.job-gallery { min-width: 0; }
.gallery-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 2rem;
  margin: clamp(3.5rem, 8vw, 5.5rem) 0 1.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.gallery-head h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
.gallery-head p { margin: 0; color: var(--cream-soft); font-size: 0.95rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.gallery-grid.is-collapsed .is-extra { display: none; }
.tile { min-width: 0; }
.tile button { display: block; width: 100%; padding: 0; border: 0; background: var(--bg); cursor: zoom-in; overflow: hidden; aspect-ratio: 1 / 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s; filter: saturate(0.85); }
.tile button:hover img { transform: scale(1.04); filter: saturate(1); }
.tile p {
  display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline;
  margin: 0.6rem 0 0; padding-top: 0.5rem; border-top: 1px solid var(--copper);
  font-weight: 600; font-size: 0.88rem; line-height: 1.3;
}
.tile p span { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); white-space: nowrap; }
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }
.gallery-more .btn[hidden] { display: none; }
/* CTA */
.cta { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -20vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(196, 98, 45, 0.22), transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem 4rem; align-items: end; }
.cta h2 { font-size: clamp(2.6rem, 7.5vw, 6.25rem); font-weight: 800; letter-spacing: -0.035em; }
.cta-side p { color: var(--cream-soft); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.75rem 0 1.25rem; }
.cta-direct { font-size: 1rem; line-height: 1.8; }
.cta-side .cta-direct strong { color: var(--cream); overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #0c0b0a; border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { color: var(--cream-soft); margin-top: 1rem; max-width: 22rem; }
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-bright); margin-bottom: 1rem; font-weight: 700; }
.site-footer li { margin-bottom: 0.35rem; color: var(--cream-soft); overflow-wrap: anywhere; }
.site-footer li a { display: inline-block; padding: 0.6rem 0; text-decoration: none; color: var(--cream); overflow-wrap: anywhere; }
.site-footer li a:hover { color: var(--copper-bright); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--olive);
}

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh;
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(8, 7, 6, 0.92); }
.lightbox img { max-width: 100%; max-height: 80vh; margin: 0 auto; object-fit: contain; }
.lightbox p { text-align: center; margin: 0.9rem 0 0; font-weight: 600; }
.lightbox-close {
  position: fixed; top: 1rem; right: 1rem; width: 52px; height: 52px; font-size: 2rem; line-height: 1;
  background: var(--copper); color: #fff; border: 0; cursor: pointer;
}

/* Contact page */
.page-hero {
  padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem)) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(196, 98, 45, 0.2), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 6.5rem); font-weight: 800; letter-spacing: -0.035em; max-width: 13ch; margin-bottom: 1.75rem; }
.page-hero p:not(.eyebrow) { max-width: 40rem; font-size: 1.15rem; color: var(--cream-soft); }

.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact-methods { border-top: 1px solid var(--line); }
.contact-method { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.contact-method h2 { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-bright); margin-bottom: 0.75rem; }
.contact-method .big {
  display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15; text-decoration: none; color: var(--cream); margin-bottom: 0.6rem;
}
.contact-method .big.email { font-size: clamp(1.05rem, 2.2vw, 1.45rem); overflow-wrap: anywhere; }
.contact-method p { color: var(--cream-soft); margin: 0; }
.method-actions { display: flex; gap: 0.7rem; margin-top: 1.1rem; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--copper); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-card > h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.75rem; }
.form-intro { color: var(--cream-soft); }
.form-notice {
  font-size: 0.92rem; color: var(--cream); background: rgba(138, 154, 123, 0.12);
  border-left: 3px solid var(--olive); padding: 0.85rem 1rem; margin-bottom: 1.75rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-bottom: 1.75rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.92rem; color: var(--cream); padding: 0; }
.req { color: var(--copper-bright); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem;
  background: var(--bg); color: var(--cream); border: 1px solid rgba(232, 220, 200, 0.28); border-radius: 0;
  font: inherit; font-size: 1rem;
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.75rem; cursor: pointer;
  background-color: var(--bg); background-image: none;
}
.field select::-ms-expand { display: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9d917e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(196, 98, 45, 0.3); }
.field [aria-invalid="true"] { border-color: #e2704a; }
.field-error { font-size: 0.85rem; color: #f09a74; min-height: 0; }
.field-error:empty { display: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.2rem;
  border: 1px solid rgba(232, 220, 200, 0.3); font-weight: 600; font-size: 0.95rem;
}
.choice input:checked + span { background: var(--copper); border-color: var(--copper); color: #fff8ee; }
.choice input:focus-visible + span { outline: 2px solid var(--copper-bright); outline-offset: 2px; }
.form-status { margin-top: 1.5rem; padding: 1.1rem 1.2rem; background: rgba(138, 154, 123, 0.14); border-left: 3px solid var(--olive); font-size: 0.95rem; }
.form-status p:last-child { margin: 0; }
.form-status strong { overflow-wrap: anywhere; }
.form-status:focus { outline: none; }
.form-status[hidden] { display: none; }
.form-status-error { background: rgba(226, 112, 74, 0.14); border-left-color: #e2704a; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--copper-bright); text-decoration: underline; cursor: pointer; font-weight: 600; }

/* Phone / email chooser */
.contact-trigger {
  font: inherit; color: var(--cream); background: none; border: 0; margin: 0; padding: 0.15rem 0;
  cursor: pointer; text-align: inherit; font-weight: 600; overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 0.22em;
}
.contact-trigger:hover { color: var(--copper-bright); }
.contact-method .contact-trigger.big { max-width: 100%; padding: 0.3rem 0; margin-bottom: 0.4rem; }
.cta-direct .contact-trigger { padding: 0.35rem 0; }
.site-footer .contact-trigger { padding: 0.5rem 0; font-weight: 500; }

.contact-dialog {
  border: 0; padding: 0; background: transparent; color: var(--cream);
  width: min(420px, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem);
}
.contact-dialog::backdrop { background: rgba(8, 7, 6, 0.82); }
.contact-dialog-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--copper);
  padding: 1.6rem 1.4rem 1.2rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.contact-dialog-kicker {
  font-family: var(--display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper-bright); margin: 0 3rem 0.75rem 0;
}
.contact-dialog-title {
  font-size: clamp(1.3rem, 5vw, 1.6rem); margin: 0 0 1.3rem; line-height: 1.15;
  overflow-wrap: anywhere; user-select: all; -webkit-user-select: all;
}
.contact-dialog.is-email .contact-dialog-title { font-size: 1.1rem; letter-spacing: 0; }
.contact-dialog-actions { display: grid; gap: 0.7rem; }
.contact-dialog-action {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px;
  padding: 0.8rem 1.2rem; border: 2px solid rgba(232, 220, 200, 0.5); border-radius: 0;
  background: transparent; color: var(--cream);
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.contact-dialog-action:hover { border-color: var(--copper); color: #fff; }
.contact-dialog-action.is-primary { background: var(--copper); border-color: var(--copper); color: #fff8ee; }
.contact-dialog-action.is-primary:hover { background: var(--copper-bright); border-color: var(--copper-bright); }
.contact-dialog-close {
  position: absolute; top: 0.6rem; right: 0.6rem; width: 44px; height: 44px; font-size: 1.7rem; line-height: 1;
  background: transparent; color: var(--cream); border: 1px solid var(--line); cursor: pointer;
}
.contact-dialog-close:hover { border-color: var(--copper); color: var(--copper-bright); }
.contact-dialog-status { min-height: 1.5em; margin: 0.8rem 0 0; text-align: center; font-size: 0.95rem; font-weight: 600; color: var(--olive); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .cta-inner, .contact-layout { grid-template-columns: 1fr; }
  .about-photo { max-width: 32rem; }
  .section-head { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); border-top: 1px solid var(--line);
    padding: 1.5rem var(--pad) 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.25s var(--ease); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) { display: block; font-family: var(--display); font-size: 2rem; font-weight: 700; padding: 1rem 0; }
  .site-nav a:not(.btn)::after { bottom: 0.7rem; right: auto; width: 3rem; }
  .site-nav .nav-cta { border: 0; margin-top: 1.75rem; }
  .nav-cta .btn { width: 100%; min-height: 54px; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
  .site-header:has(.site-nav.is-open) { background: var(--bg); }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .services { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.75rem); }
  .statement h2, .cta h2, .page-hero h1 { font-size: clamp(2rem, 10vw, 3.25rem); }
  .section h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .facts div { grid-template-columns: 1fr; gap: 0.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile p { flex-direction: column; gap: 0.15rem; font-size: 0.82rem; }
  .gallery-more .btn { width: 100%; }
  .brand-name { font-size: 1.45rem; }
  .brand-tag { font-size: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Logo palette overrides ---------- */

/* Dark-blue bands: white type, orange accents */
.site-header, .hero, .statement, .cta, .site-footer, .page-hero, .lightbox {
  --bg: var(--navy-deep);
  --surface: var(--logo-navy);
  --cream: var(--white);
  --cream-soft: rgba(255, 255, 255, 0.84);
  --olive: #a9c6ea;
  --line: rgba(255, 255, 255, 0.18);
  --edge: rgba(255, 255, 255, 0.55);
  --accent-text: var(--copper-bright);
  color: var(--cream);
}

:focus-visible { outline-color: var(--logo-blue); }
.site-header :focus-visible, .hero :focus-visible, .statement :focus-visible,
.cta :focus-visible, .site-footer :focus-visible, .page-hero :focus-visible { outline-color: var(--logo-orange); }

.skip-link { color: var(--navy-deep); }
.eyebrow .num { color: var(--accent-text); }

/* Buttons: orange with dark-blue type, like the logo accent */
.btn-copper, .btn-copper:hover { color: var(--navy-deep); }
.btn-ghost { border-color: var(--edge); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--logo-orange); color: var(--cream); }
.hero .btn-ghost { background: rgba(19, 58, 104, 0.35); }

/* Header */
.site-header.is-solid { background: rgba(30, 84, 146, 0.97); border-bottom-color: var(--line); }
.page-contact .site-header { background: var(--logo-navy); }
.site-header .brand-tag { color: #cfe0f5; }
@media (max-width: 820px) {
  .site-nav, .site-header:has(.site-nav.is-open) { background: var(--logo-navy); }
}

/* Hero: photo under a dark-blue wash */
.hero-bg img { filter: saturate(0.75) brightness(0.8); }
.hero-bg::after {
  background:
    linear-gradient(180deg, rgba(19, 58, 104, 0.78) 0%, rgba(19, 58, 104, 0.25) 30%, rgba(19, 58, 104, 0.6) 62%, var(--navy-deep) 100%),
    linear-gradient(90deg, rgba(19, 58, 104, 0.88) 0%, rgba(24, 99, 183, 0.25) 72%);
}
.hero .eyebrow { color: #cfe0f5; }
.hero-meta li::before { background: var(--logo-orange); }
.hero { background: var(--navy-deep); }

/* Light sections */
.facts dt, .contact-method h2, .link-btn, .req { color: var(--logo-blue); }
.service-num { color: var(--logo-blue); }
.service:hover .service-num { color: var(--logo-navy); }

.statement { background: var(--logo-navy); border-color: transparent; }


/* CTA band in logo blue */
.cta { background: var(--logo-blue); }
.cta::before { background: radial-gradient(circle, rgba(233, 175, 52, 0.28), transparent 65%); }

.site-footer { background: var(--navy-deep); }

/* Contact page */
.page-hero {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(24, 99, 183, 0.55), transparent 60%),
    var(--navy-deep);
}
.page-hero .eyebrow { color: #cfe0f5; }

.form-card { background: var(--white); border-color: var(--line); border-top-color: var(--logo-orange); box-shadow: 0 20px 50px -35px rgba(19, 58, 104, 0.6); }
.contact-section { background: var(--surface); }
.form-notice { background: rgba(24, 99, 183, 0.08); border-left-color: var(--logo-blue); }
.field input, .field select, .field textarea { background: var(--white); border-color: var(--edge); }
.field select { background-color: var(--white); color: var(--navy-deep); color-scheme: light; }
.field select option { background-color: var(--white); color: var(--navy-deep); }
.field select:-webkit-autofill,
.field select:autofill { -webkit-box-shadow: 0 0 0 100px var(--white) inset; -webkit-text-fill-color: var(--navy-deep); }
.select-wrap::after { border-color: var(--logo-blue); }
.field input::placeholder, .field textarea::placeholder { color: #7d8fa8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--logo-blue); box-shadow: 0 0 0 3px rgba(24, 99, 183, 0.22); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; }
.choice span { border-color: var(--edge); }
.choice input:checked + span { color: var(--navy-deep); }
.form-status { background: rgba(24, 99, 183, 0.08); border-left-color: var(--logo-blue); }
.form-status-error { background: rgba(179, 38, 30, 0.08); border-left-color: #b3261e; }

/* Phone / email chooser */
.contact-trigger:hover { color: var(--logo-blue); }
.site-header .contact-trigger:hover, .cta .contact-trigger:hover, .site-footer .contact-trigger:hover { color: var(--copper-bright); }
.contact-dialog { color: var(--navy-deep); }
.contact-dialog::backdrop { background: rgba(19, 58, 104, 0.78); }
.contact-dialog-card { background: var(--white); box-shadow: 0 30px 60px -30px rgba(19, 58, 104, 0.7); }
.contact-dialog-kicker { color: var(--logo-blue); }
.contact-dialog-action { border-color: var(--edge); color: var(--navy-deep); }
.contact-dialog-action:hover { border-color: var(--logo-blue); color: var(--logo-blue); }
.contact-dialog-action.is-primary, .contact-dialog-action.is-primary:hover { color: var(--navy-deep); }
.contact-dialog-close { color: var(--navy-deep); }
.contact-dialog-close:hover { color: var(--logo-blue); border-color: var(--logo-blue); }

/* Lightbox */
.lightbox::backdrop { background: rgba(19, 58, 104, 0.94); }
.lightbox-close { color: var(--navy-deep); }
