/* Exigent launch site: one page, brand palette, light committed look. */
:root {
  --navy: #18222F;
  --navy-2: #22324A;
  --navy-line: #2C3B52;
  --blue: #2F4FA2;
  --blue-lt: #8FA3E0;
  --orange: #D4711C;
  --orange-text: #B0560C;
  --orange-lt: #E8913F;
  --steel: #5B6573;
  --ink-2: #3A4552;
  --plaster: #F5F3EE;
  --line: #E2DED5;
  --white: #FFFFFF;
  --on-dark: #C9D1DC;
  --on-dark-2: #A9B3C1;
  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Inter", Arial, Helvetica, sans-serif;
  --radius: 10px;
  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--plaster { background: var(--plaster); }
.section--navy { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-text); }
.section--navy .eyebrow, .hero .eyebrow { color: var(--orange-lt); }
.h1 { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(40px, 6vw, 78px); line-height: 1; }
.h2 { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; }
.h3 { font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.25; }
.lead { font-size: 19px; max-width: 640px; color: var(--ink-2); }
.section--navy .lead, .hero .lead { color: var(--on-dark); }
.muted { color: var(--steel); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 44px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 6px; border: 2px solid transparent; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn--orange { background: var(--orange); color: var(--navy); }
.btn--orange:hover { background: var(--orange-lt); color: var(--navy); }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 0.22em; font-size: 28px; line-height: 1; color: var(--navy); text-decoration: none; }
.logo svg { width: 1.06em; height: 1.06em; }
.logo span { font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: 0.01em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav a { color: var(--navy); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav .btn { padding: 11px 18px; min-height: 44px; }
@media (max-width: 640px) {
  .site-header .wrap { flex-wrap: nowrap; padding-block: 10px; }
  .logo { font-size: 22px; }
  .nav { flex-wrap: nowrap; gap: 0; }
  .nav a:not(.btn) { display: none; }
  .nav .btn { padding: 8px 14px; min-height: 40px; font-size: 13px; letter-spacing: 0.1em; white-space: nowrap; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
/* Tint only behind the headline; the right side of the photo stays bright */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 34, 47, 0.82) 0%, rgba(24, 34, 47, 0.62) 38%, rgba(24, 34, 47, 0.18) 72%, rgba(24, 34, 47, 0) 100%); }
@media (max-width: 760px) {
  .hero::after { background: rgba(24, 34, 47, 0.6); }
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(88px, 12vw, 168px); display: flex; flex-direction: column; gap: 26px; max-width: 1200px; }
.hero .lead { max-width: 620px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.c-creating { color: var(--blue-lt); }
.c-renewing { color: var(--orange-lt); }

/* Services */
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; }
.three div { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--navy); }
.three p { color: var(--ink-2); font-size: 16px; }
.callout { margin-top: 48px; padding: 28px 32px; border-radius: var(--radius); background: var(--plaster); display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; }
.callout b { font-family: var(--display); font-weight: 800; font-size: 20px; }
.callout span { color: var(--ink-2); flex: 1 1 420px; }

/* Projects */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.project { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--navy); cursor: pointer; }
.project-img { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.project-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.project:hover .project-img img, .project:focus-visible .project-img img { transform: scale(1.04); }
.count { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 6px; background: rgba(24, 34, 47, 0.86); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.cap { display: flex; flex-direction: column; gap: 2px; }
.cap b { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.3; }
.project:hover .cap b { color: var(--blue); }
.cap span { font-size: 14px; color: var(--steel); }

/* Photo viewer */
.viewer { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 20, 28, 0.96); color: var(--white); }
.viewer[open] { display: flex; flex-direction: column; }
.viewer::backdrop { background: rgba(14, 20, 28, 0.96); }
.viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gr) 8px var(--gl); }
.viewer-top div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.viewer-top b { font-family: var(--display); font-weight: 800; font-size: 18px; }
.viewer-top span { font-size: 14px; color: var(--on-dark-2); }
.viewer-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px var(--gr) 8px var(--gl); }
.viewer-stage img { min-width: 0; max-width: calc(100% - 128px); max-height: 100%; object-fit: contain; border-radius: 6px; }
.v-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--white); cursor: pointer; }
.v-btn:hover { background: rgba(255, 255, 255, 0.24); }
.v-count { margin: 0; padding: 4px 0 calc(16px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 14px; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .viewer-stage { position: relative; padding-left: 0; padding-right: 0; }
  .viewer-stage img { max-width: 100%; border-radius: 0; }
  .v-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(14, 20, 28, 0.6); }
  #v-prev { left: 8px; } #v-next { right: 8px; }
}

/* About */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; margin-top: 8px; }
.person { display: flex; flex-wrap: wrap; gap: 24px; }
.person img { flex: 0 0 180px; width: 180px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.person div { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.person .role { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-text); }
.person p { font-size: 15px; color: var(--ink-2); }

/* Contact */
.wm { position: absolute; right: -140px; bottom: -180px; width: 560px; height: 560px; opacity: 0.08; pointer-events: none; }
.wm path { fill: none; stroke: var(--white); }
.wm .f { fill: var(--white); stroke: none; }
.contact { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 48px; }
.contact-info { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-info dl { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info dt { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); }
.contact-info dd { margin: 0; font-size: 17px; }
.contact-info a { color: var(--white); }
form { flex: 1.4 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 18px; padding: 32px; border-radius: var(--radius); background: var(--white); color: var(--navy); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--navy); background: var(--white); border: 1.5px solid #B9B3A7; border-radius: 6px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 6px; font-size: 15px; font-weight: 600; }
.status--ok { background: #E7F1E7; color: #1E5B26; }
.status--err { background: #FBEAEA; color: #8A1C1C; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-2); border-top: 1px solid var(--navy-line); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px; }
.site-footer .logo { font-size: 22px; color: var(--white); }
.site-footer .logo .m-navy { stroke: var(--white); }
.site-footer .logo .m-cross { fill: var(--white); }
.site-footer .logo .m-blue { stroke: var(--blue-lt); }
.site-footer .logo .m-blue-f { fill: var(--blue-lt); }
.site-footer .logo .m-orange { stroke: var(--orange-lt); }
.tagline { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.tagline .c-creating { color: var(--blue-lt); }
.tagline .c-renewing { color: var(--orange-lt); }

/* Logo mark colors (header) */
.m-blue { stroke: var(--blue); } .m-blue-f { fill: var(--blue); } .m-navy { stroke: var(--navy); } .m-orange { stroke: var(--orange); } .m-cross { fill: var(--navy); }
