:root {
  --navy-950: #06131b;
  --navy-900: #081a24;
  --navy-800: #102834;
  --slate: #71808a;
  --ivory: #ece8df;
  --ivory-soft: #f5f1e9;
  --copper: #b7753d;
  --copper-bright: #d29155;
  --line: rgba(183, 117, 61, 0.72);
  --line-soft: rgba(236, 232, 223, 0.2);
  --rail-width: 110px;
  --header-height: 94px;
  --content-pad: clamp(2.25rem, 5.2vw, 6.5rem);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", "Avenir Next", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
  background: var(--navy-950);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy-950);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  transform: translateY(-180%);
  background: var(--ivory-soft);
  color: var(--navy-950);
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: var(--rail-width);
  left: 0;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) auto auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 clamp(1.25rem, 3.5vw, 4rem);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(6, 19, 27, 0.95) 0%, rgba(6, 19, 27, 0.56) 70%, transparent 100%);
  transition: min-height 240ms ease, background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  min-height: 74px;
  border-color: rgba(183, 117, 61, 0.35);
  background: rgba(6, 19, 27, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  text-decoration: none;
}

.brand-symbol {
  width: 58px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-rule {
  width: 1px;
  height: 50px;
  margin: 0 1.25rem;
  background: var(--copper);
}

.brand-name {
  display: grid;
  line-height: 1.1;
}

.brand-name strong,
.footer-brand strong {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.brand-name small,
.footer-brand small {
  margin-top: 0.38rem;
  color: var(--copper-bright);
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-right: clamp(1.5rem, 3vw, 3rem);
}

.desktop-nav a,
.header-cta,
.section-rail small,
.eyebrow,
.section-label,
.button,
.text-link,
.scroll-cue,
.value-lines span,
.footer-column h3 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--copper-bright);
  content: "";
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 54px;
  padding: 0.9rem 1.55rem;
  border: 1px solid var(--copper);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-cta,
.button-solid {
  background: var(--copper);
  color: #fffaf3;
}

.header-cta:hover,
.button-solid:hover {
  background: var(--copper-bright);
  transform: translateY(-2px);
}

.button-outline {
  background: transparent;
  color: var(--copper-bright);
}

.button-outline:hover {
  background: var(--copper);
  color: #fff;
}

.button-outline-dark {
  border-color: var(--copper);
  background: transparent;
  color: var(--navy-950);
}

.button-outline-dark:hover {
  background: var(--navy-950);
  color: var(--ivory);
}

.menu-button,
.mobile-menu {
  display: none;
}

.section-rail {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  width: var(--rail-width);
  padding: 5.25rem 1.15rem 1.2rem;
  border-left: 1px solid var(--line);
  background: rgba(6, 19, 27, 0.96);
}

.section-rail a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(183, 117, 61, 0.54);
  color: rgba(236, 232, 223, 0.7);
  text-decoration: none;
  transition: color 180ms ease;
}

.section-rail a:last-child {
  border-bottom: 0;
}

.section-rail a::before {
  position: absolute;
  left: -1.2rem;
  width: 2px;
  height: 0;
  background: var(--copper-bright);
  content: "";
  transition: height 220ms ease;
}

.section-rail span {
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.section-rail small {
  margin-top: 0.4rem;
  letter-spacing: 0.15em;
}

.section-rail a[aria-current="true"] {
  color: var(--copper-bright);
}

.section-rail a[aria-current="true"]::before {
  height: 44%;
}

main {
  margin-right: var(--rail-width);
}

.page-section {
  position: relative;
  scroll-margin-top: 0;
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 13, 20, 0.93) 0%, rgba(3, 13, 20, 0.72) 38%, rgba(3, 13, 20, 0.12) 72%),
    linear-gradient(0deg, rgba(3, 13, 20, 0.82) 0%, transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(900px, 72%);
  min-height: 100svh;
  padding: calc(var(--header-height) + 4rem) var(--content-pad) clamp(6rem, 10vh, 8rem);
}

.eyebrow,
.section-label {
  margin: 0 0 1.8rem;
  color: var(--copper-bright);
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

h1 {
  max-width: 870px;
  font-size: clamp(3.6rem, 5.5vw, 6.2rem);
}

h2 {
  font-size: clamp(3.2rem, 6vw, 6.7rem);
}

.hero-intro,
.lead {
  max-width: 690px;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.7;
}

.hero-intro {
  margin: 1.8rem 0 2.2rem;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 2.3rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2.4rem;
}

.trust-strip span {
  padding: 0.2rem 1.2rem;
  border-left: 1px solid var(--copper);
  color: rgba(236, 232, 223, 0.72);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.trust-strip span:first-child {
  padding-left: 0.85rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--copper);
  color: var(--copper-bright);
  text-decoration: none;
}

.text-link span {
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(0.35rem);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 2.25rem;
  bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(236, 232, 223, 0.68);
  text-decoration: none;
}

.scroll-cue i {
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: rgba(236, 232, 223, 0.34);
}

.scroll-cue i::after {
  display: block;
  width: 50%;
  height: 1px;
  background: var(--copper-bright);
  content: "";
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: translateX(-100%); }
  55% { transform: translateX(210%); }
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  border-bottom: 1px solid var(--line);
  background: var(--navy-950);
}

.section-media,
.contact-media {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--navy-900);
}

.section-media::after,
.contact-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 27, 0.08), rgba(6, 19, 27, 0.3));
  content: "";
  pointer-events: none;
}

.section-media img,
.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.section-media.is-visible img,
.contact-media.is-visible img {
  transform: scale(1.025);
}

.image-right .content-panel {
  grid-column: 1;
  grid-row: 1;
}

.image-right .section-media {
  grid-column: 2;
  grid-row: 1;
}

.content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) var(--content-pad) clamp(4rem, 8vh, 7rem);
}

.content-panel > p:not(.section-label) {
  max-width: 690px;
  color: rgba(236, 232, 223, 0.77);
}

.content-panel .lead {
  margin: 2rem 0 0.6rem;
  color: var(--ivory);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label span {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: 0;
}

.value-lines {
  display: grid;
  width: min(100%, 640px);
  margin-top: 2.2rem;
}

.value-lines span {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--copper-bright);
}

.service-list {
  width: min(100%, 720px);
  margin: 2rem 0 1.6rem;
  border-top: 1px solid var(--line);
}

.service-list details {
  border-bottom: 1px solid var(--line);
}

.service-list summary {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  list-style: none;
  text-transform: uppercase;
}

.service-list summary::-webkit-details-marker {
  display: none;
}

.service-list summary::after {
  color: var(--copper-bright);
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
}

.service-list details[open] summary::after {
  content: "−";
}

.service-list summary span {
  color: var(--copper-bright);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
}

.service-list details p {
  max-width: 590px;
  margin: -0.2rem 0 1.3rem 4.25rem;
  color: rgba(236, 232, 223, 0.7);
  font-size: 0.92rem;
}

.light-section,
.light-section .content-panel {
  background: var(--ivory-soft);
  color: var(--navy-950);
}

.light-section .content-panel > p:not(.section-label) {
  color: rgba(6, 19, 27, 0.72);
}

.light-section .content-panel .lead {
  color: var(--navy-950);
}

.process-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 2rem 0 2.3rem;
  padding: 0;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 1.8rem;
  bottom: 1.8rem;
  left: 1.55rem;
  width: 1px;
  background: var(--copper);
  content: "";
}

.process-list li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3.3rem 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
}

.process-list li span {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  background: var(--ivory-soft);
  color: var(--copper);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.process-list strong {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-list li > div {
  display: grid;
  gap: 0.2rem;
}

.process-list small,
.mission-image-caption,
.mission-promise {
  display: none;
}

.benefit-list {
  width: min(100%, 760px);
  margin: 2.2rem 0 2.5rem;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 3.7rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list li span {
  color: var(--copper-bright);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
}

.benefit-list li div {
  display: grid;
  gap: 0.2rem;
}

.benefit-list li strong {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.benefit-list li small {
  color: rgba(236, 232, 223, 0.58);
  font-size: 0.76rem;
  letter-spacing: 0;
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: 39% 61%;
  min-height: 100svh;
  border-bottom: 1px solid var(--line);
  background: var(--navy-950);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) var(--content-pad) 4rem;
}

.contact-panel .lead {
  margin: 1.5rem 0 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.75rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label > span {
  color: rgba(236, 232, 223, 0.88);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form em {
  color: rgba(236, 232, 223, 0.5);
  font-style: normal;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(236, 232, 223, 0.38);
  border-radius: 0;
  outline: 0;
  background-color: rgba(236, 232, 223, 0.065);
  color: var(--ivory);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(236, 232, 223, 0.42);
  opacity: 1;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  border-color: rgba(210, 145, 85, 0.72);
  background-color: rgba(236, 232, 223, 0.09);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ivory) 50%),
    linear-gradient(135deg, var(--ivory) 50%, transparent 50%);
  background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.contact-form option {
  background: var(--navy-950);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--copper-bright);
  background-color: rgba(236, 232, 223, 0.1);
  box-shadow: 0 0 0 3px rgba(210, 145, 85, 0.16);
}

.contact-form .button {
  width: 100%;
  margin-top: 0.5rem;
  cursor: pointer;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.6rem;
  margin: 0;
  color: var(--copper-bright);
  font-size: 0.8rem;
}

.form-status.is-error {
  color: #efb6a5;
}

.direct-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-soft);
}

.direct-contact div {
  display: grid;
  gap: 0.25rem;
}

.direct-contact span {
  color: var(--copper-bright);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.direct-contact strong {
  color: rgba(236, 232, 223, 0.55);
  font-size: 0.72rem;
  font-weight: 500;
}

/* Tap-to-call / tap-to-email links match the plain text in every theme. */
.direct-contact strong a {
  color: inherit;
  text-decoration: none;
}

.direct-contact strong a:hover,
.direct-contact strong a:focus-visible {
  color: var(--copper-bright);
}

.connect-section {
  min-height: 100svh;
  background: var(--navy-950);
}

.connect-visual {
  position: relative;
  min-height: 62svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.connect-visual > img,
.connect-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.connect-visual > img {
  object-fit: cover;
}

.connect-shade {
  background: linear-gradient(90deg, rgba(6, 19, 27, 0.88), rgba(6, 19, 27, 0.12)), linear-gradient(0deg, rgba(6, 19, 27, 0.5), transparent);
}

.connect-heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62svh;
  padding: calc(var(--header-height) + 2rem) var(--content-pad) 4rem;
}

.connect-heading h2 {
  margin-bottom: 2.4rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem var(--content-pad) 1.6rem;
}

.footer-brand {
  display: block;
}

.footer-logo {
  display: block;
  width: min(100%, 220px);
  height: auto;
}

.footer-column {
  display: grid;
  align-content: start;
}

.footer-column h3 {
  margin: 0 0 0.65rem;
  color: rgba(236, 232, 223, 0.48);
}

.footer-column a,
.placeholder-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.placeholder-link {
  color: rgba(236, 232, 223, 0.6);
}

.footer-column i,
.placeholder-link i {
  color: var(--copper-bright);
  font-style: normal;
}

.footer-legal {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: rgba(236, 232, 223, 0.55);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-legal div {
  display: flex;
  gap: 2rem;
}

.reveal,
.reveal-media {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal,
.reveal-ready .reveal-media {
  opacity: 0;
  transition: opacity 750ms ease, transform 750ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal-ready .reveal {
  transform: translateY(28px);
}

.reveal-ready .reveal-media {
  transform: translateX(-22px);
}

.reveal-ready .image-right .reveal-media {
  transform: translateX(22px);
}

.reveal-ready .reveal.is-visible,
.reveal-ready .reveal-media.is-visible {
  opacity: 1;
  transform: none;
}

/* Optional panel transitions. Disable with enablePanelTransitions in script.js. */
.enhanced-transitions .page-section:not(.hero)::before {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(
    90deg,
    transparent,
    var(--copper-bright) 12%,
    var(--copper-bright) 88%,
    transparent
  );
  content: "";
  pointer-events: none;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.enhanced-transitions .page-section.is-active-section::before {
  transform: scaleX(1);
}

.enhanced-transitions .split-section .reveal-media img,
.enhanced-transitions .contact-section .reveal-media img {
  clip-path: inset(0 100% 0 0);
  transition:
    clip-path 1000ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 1100ms cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: clip-path, transform;
}

.enhanced-transitions .image-right .reveal-media img {
  clip-path: inset(0 0 0 100%);
}

.enhanced-transitions .split-section .reveal-media.is-visible img,
.enhanced-transitions .contact-section .reveal-media.is-visible img {
  clip-path: inset(0);
}

.enhanced-transitions .page-section:not(.hero) .reveal {
  transition-delay: 140ms;
  transition-duration: 900ms;
}

.enhanced-transitions .section-rail span {
  transition: transform 220ms ease;
}

.enhanced-transitions .section-rail a[aria-current="true"] span {
  transform: translateX(0.2rem);
}

.enhanced-transitions .connect-visual > img {
  transform: scale(1.035);
  transition: transform 1200ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.enhanced-transitions .connect-section.is-active-section .connect-visual > img {
  transform: scale(1);
}

@media (max-width: 1180px) {
  :root {
    --rail-width: 92px;
    --content-pad: clamp(2rem, 4vw, 4rem);
  }

  .site-header {
    grid-template-columns: minmax(260px, 1fr) auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero-content {
    width: 82%;
  }

  .contact-section {
    grid-template-columns: 36% 64%;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  main {
    margin-right: 0;
  }

  .site-header {
    right: 0;
    grid-template-columns: 1fr auto;
    min-height: var(--header-height);
    padding: 0 1.25rem;
  }

  .brand-symbol {
    width: 48px;
    height: 42px;
  }

  .brand-rule {
    height: 38px;
    margin: 0 0.9rem;
  }

  .brand-name strong {
    font-size: 0.82rem;
  }

  .brand-name small {
    font-size: 0.46rem;
  }

  .header-cta,
  .section-rail {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ivory);
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 0;
    padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
    transform: translateY(-102%);
    background: rgba(6, 19, 27, 0.99);
    transition: transform 280ms cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  .mobile-menu.is-open {
    transform: translateY(0);
  }

  .mobile-menu a {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 7vw, 3rem);
    line-height: 1;
    text-decoration: none;
  }

  .mobile-menu a span {
    color: var(--copper-bright);
    font-size: 1rem;
  }

  .hero-content {
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(3, 13, 20, 0.92), rgba(3, 13, 20, 0.36)), linear-gradient(0deg, rgba(3, 13, 20, 0.9), transparent 60%);
  }

  .scroll-cue {
    display: none;
  }

  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .section-media,
  .contact-media {
    min-height: min(58svh, 620px);
  }

  .image-right .content-panel,
  .image-right .section-media,
  .image-left .content-panel,
  .image-left .section-media {
    grid-column: 1;
  }

  .image-right .content-panel,
  .image-left .section-media {
    grid-row: 1;
  }

  .image-right .section-media,
  .image-left .content-panel {
    grid-row: 2;
  }

  .content-panel,
  .contact-panel {
    min-height: auto;
    padding: 5rem 1.5rem;
  }

  .contact-media {
    min-height: 62svh;
  }

  .connect-visual,
  .connect-heading {
    min-height: 70svh;
  }

  .connect-heading {
    padding: 7rem 1.5rem 4rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding: 3rem 1.5rem 1.5rem;
  }

  .enhanced-transitions .page-section:not(.hero) .reveal {
    transition-delay: 70ms;
    transition-duration: 650ms;
  }

  .reveal-ready .reveal-media,
  .reveal-ready .image-right .reveal-media {
    transform: translateY(18px);
  }

  .reveal-ready .reveal-media.is-visible {
    transform: none;
  }

  .enhanced-transitions .split-section .reveal-media img,
  .enhanced-transitions .contact-section .reveal-media img {
    clip-path: inset(0 0 14% 0);
    transition:
      clip-path 720ms cubic-bezier(0.2, 0.75, 0.2, 1),
      transform 720ms cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  .enhanced-transitions .split-section .reveal-media.is-visible img,
  .enhanced-transitions .contact-section .reveal-media.is-visible img {
    clip-path: inset(0);
  }

  /* Mobile editorial composition */
  :root {
    --header-height: 72px;
  }

  .site-header {
    min-height: var(--header-height);
    border-bottom-color: rgba(210, 145, 85, 0.34);
    background: rgba(6, 19, 27, 0.92);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(16px);
  }

  .site-header.is-scrolled {
    min-height: 66px;
  }

  .menu-button {
    border-color: rgba(210, 145, 85, 0.68);
    background: rgba(8, 26, 36, 0.82);
  }

  .hero,
  .hero-content {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 3.75rem;
  }

  .split-section.image-left .section-media,
  .split-section.image-right .section-media {
    grid-column: 1;
    grid-row: 1;
    min-height: clamp(300px, 46svh, 440px);
  }

  .split-section.image-left .content-panel,
  .split-section.image-right .content-panel {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 2;
    width: calc(100% - 1.5rem);
    margin: -1.75rem 0.75rem 0;
    padding: 4.25rem 1.5rem 4.75rem;
    border-top: 1px solid var(--copper);
    background: var(--navy-950);
  }

  .split-section.light-section .content-panel {
    background: var(--ivory-soft);
  }

  .contact-panel {
    grid-column: 1;
    grid-row: 1;
    padding: 5.5rem 1.5rem 4.75rem;
  }

  .contact-media {
    grid-column: 1;
    grid-row: 2;
    min-height: clamp(260px, 38svh, 380px);
  }

  .connect-visual,
  .connect-heading {
    min-height: 62svh;
  }
}

@media (max-width: 620px) {
  .brand-symbol {
    width: 44px;
    height: 40px;
  }

  .brand-rule {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
  }

  .brand-name small {
    display: none;
  }

  .footer-logo {
    width: min(100%, 260px);
  }

  .site-header {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .brand-name strong {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
  }

  .menu-button {
    width: 44px;
    height: 44px;
  }

  .hero-content {
    padding: calc(var(--header-height) + 4.25rem) 1.25rem 3.25rem;
  }

  .eyebrow,
  .section-label {
    margin-bottom: 1.25rem;
  }

  h1 {
    font-size: clamp(3.05rem, 13.5vw, 4.15rem);
    line-height: 0.91;
  }

  h2 {
    font-size: clamp(2.9rem, 12.7vw, 4rem);
    line-height: 0.94;
  }

  .hero-intro,
  .lead {
    font-size: 0.98rem;
    line-height: 1.66;
  }

  .hero-intro {
    max-width: 34rem;
    margin: 1.5rem 0 1.8rem;
  }

  .button-row {
    width: 100%;
  }

  .text-link {
    justify-content: space-between;
    width: 100%;
  }

  .trust-strip {
    display: grid;
    gap: 0.65rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(210, 145, 85, 0.38);
  }

  .trust-strip span,
  .trust-strip span:first-child {
    position: relative;
    padding: 0 0 0 1.15rem;
    border-left: 0;
    line-height: 1.5;
  }

  .trust-strip span::before {
    position: absolute;
    top: 0.48rem;
    left: 0;
    width: 0.55rem;
    height: 1px;
    background: var(--copper-bright);
    content: "";
  }

  .split-section.image-left .section-media,
  .split-section.image-right .section-media {
    min-height: clamp(270px, 42svh, 390px);
  }

  .split-section.image-left .content-panel,
  .split-section.image-right .content-panel {
    width: calc(100% - 1rem);
    margin: -1.4rem 0.5rem 0;
    padding: 3.6rem 1.1rem 4.25rem;
  }

  .content-panel .lead {
    margin-top: 1.45rem;
  }

  .value-lines,
  .service-list,
  .benefit-list {
    margin-top: 1.75rem;
  }

  .service-list summary {
    grid-template-columns: 2.75rem 1fr 1.5rem;
    min-height: 68px;
    padding: 0.9rem 0;
    letter-spacing: 0.11em;
    line-height: 1.45;
  }

  .service-list details p {
    margin-left: 3.5rem;
    padding-right: 0.5rem;
  }

  .process-list li {
    gap: 0.9rem;
    min-height: 70px;
  }

  .mission-media {
    position: relative;
  }

  .mission-image-caption {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 2.25rem;
    left: 1rem;
    display: block;
    padding: 0.85rem 1rem;
    border-left: 2px solid var(--copper-bright);
    background: rgba(6, 19, 27, 0.86);
    color: var(--ivory);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.55;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
  }

  .split-section.light-section .mission-panel {
    isolation: isolate;
    overflow: hidden;
    background: var(--ivory-soft);
    box-shadow: 0 24px 55px rgba(3, 13, 20, 0.2);
    color: var(--navy-950);
  }

  .mission-panel::after {
    position: absolute;
    z-index: -1;
    top: 1.2rem;
    right: -0.1rem;
    color: rgba(183, 117, 61, 0.08);
    content: "04";
    font-family: var(--font-display);
    font-size: 9rem;
    line-height: 0.8;
    pointer-events: none;
  }

  .mission-statement {
    padding-left: 1rem;
    border-left: 2px solid var(--copper);
  }

  .mission-promise {
    display: block;
    margin-top: 1.75rem;
    padding: 1.2rem;
    background: var(--navy-950);
    color: var(--ivory);
  }

  .mission-promise span {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--copper-bright);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .mission-promise p {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.08;
  }

  .mission-panel .process-list {
    gap: 0.2rem;
    margin-top: 2rem;
  }

  .mission-panel .process-list::before {
    top: 1.5rem;
    bottom: 1.5rem;
  }

  .mission-panel .process-list li {
    align-items: start;
    grid-template-columns: 3.2rem 1fr;
    min-height: 82px;
    padding: 0.45rem 0;
  }

  .mission-panel .process-list li span {
    width: 3rem;
    height: 3rem;
    box-shadow: 0 0 0 6px var(--ivory-soft);
  }

  .mission-panel .process-list li > div {
    padding-top: 0.25rem;
  }

  .mission-panel .process-list small {
    display: block;
    color: rgba(6, 19, 27, 0.62);
    font-size: 0.77rem;
    line-height: 1.5;
  }

  .mission-panel .button-outline-dark {
    width: 100%;
    background: var(--navy-950);
    color: var(--ivory);
  }

  .benefit-list li {
    grid-template-columns: 2.75rem 1fr;
    gap: 0.75rem;
  }

  .contact-panel {
    padding: 4.75rem 1.25rem 4.25rem;
  }

  .contact-form {
    gap: 1rem;
  }

  .contact-form input,
  .contact-form select {
    min-height: 58px;
  }

  .contact-media {
    min-height: clamp(240px, 34svh, 340px);
  }

  .connect-visual,
  .connect-heading {
    min-height: 60svh;
  }

  .connect-heading {
    padding: 6.5rem 1.25rem 4rem;
  }

  .site-footer {
    gap: 2.75rem;
    padding: 3.5rem 1.5rem 2rem;
    background: linear-gradient(180deg, rgba(16, 40, 52, 0.34), transparent 34%);
  }

  .footer-brand {
    display: flex;
    justify-content: center;
    padding-bottom: 0.5rem;
  }

  .footer-logo {
    width: min(100%, 230px);
  }

  .footer-brand + .footer-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 0.55rem;
  }

  .footer-brand + .footer-column h3,
  .site-footer > .footer-column:nth-child(3) h3 {
    grid-column: 1 / -1;
  }

  .footer-brand + .footer-column .placeholder-link {
    justify-content: center;
    padding: 0.85rem 0.15rem;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .footer-brand + .footer-column .placeholder-link i {
    display: none;
  }

  .site-footer > .footer-column:nth-child(3) {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }

  .footer-legal,
  .footer-legal div {
    align-items: center;
    text-align: center;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 4rem;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  h2 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hero-intro,
  .lead {
    font-size: 1rem;
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-wide {
    grid-column: 1;
  }

  .direct-contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-legal {
    grid-column: 1;
  }

  .footer-legal,
  .footer-legal div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-legal,
  .footer-legal div {
    align-items: center;
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-media {
    opacity: 1;
    transform: none;
  }

  .enhanced-transitions .page-section::before {
    transform: scaleX(1);
  }

  .enhanced-transitions .reveal-media img {
    clip-path: inset(0);
  }
}

/* ===========================================================
   Light theme — admin-controlled (data-theme="light")
   Remaps the palette tokens from Nevada-After-Dark to a warm
   ivory daylight scheme. Dark remains the default.
   =========================================================== */
html[data-theme="light"] {
  --navy-950: #f5f1e9; /* page background */
  --navy-900: #ece8df; /* panels / cards  */
  --navy-800: #e3ddce; /* inputs          */
  --slate: #5c6b74;
  --ivory: #10222c; /* primary text -> deep navy */
  --ivory-soft: #06131b;
  --line-soft: rgba(16, 40, 52, 0.16);
  --line: rgba(183, 117, 61, 0.72);
}

html[data-theme="light"],
html[data-theme="light"] body {
  background: #f5f1e9;
  color: #10222c;
}

/* Gentle cross-fade when the theme flips */
html,
body {
  transition: background-color 0.4s ease, color 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    transition: none;
  }
}

/* Keep footer contact links stacked like their siblings */
[data-footer-contact] {
  display: contents;
}

/* ===========================================================
   Daylight editorial direction — /day and admin Light mode
   Concept: warm Nevada paper, architectural navy, copper grid.
   Every selector is scoped so the established night site stays
   visually unchanged.
   =========================================================== */
html[data-theme="light"] {
  --day-paper: #e9e1d3;
  --day-paper-bright: #f4eee4;
  --day-paper-deep: #dcd1c0;
  --day-ink: #092638;
  --day-ink-soft: #324a57;
  --day-copper: #a76034;
  --day-copper-deep: #82441f;
  --day-line: rgba(9, 38, 56, 0.24);
  --day-line-soft: rgba(9, 38, 56, 0.12);
  color-scheme: light;
}

html[data-theme="light"] body {
  background-color: var(--day-paper);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.48), transparent 25%),
    radial-gradient(circle at 78% 62%, rgba(121, 85, 54, 0.06), transparent 29%),
    repeating-linear-gradient(96deg, rgba(9, 38, 56, 0.018) 0 1px, transparent 1px 5px);
  color: var(--day-ink);
}

html[data-theme="light"] .site-header {
  border-bottom: 1px solid var(--day-line);
  background: rgba(244, 238, 228, 0.94);
  color: var(--day-ink);
  box-shadow: 0 8px 28px rgba(43, 29, 17, 0.05);
  backdrop-filter: blur(16px) saturate(0.9);
}

html[data-theme="light"] .site-header.is-scrolled {
  border-color: var(--day-line);
  background: rgba(244, 238, 228, 0.97);
  box-shadow: 0 10px 34px rgba(43, 29, 17, 0.08);
}

html[data-theme="light"] .brand-name strong,
html[data-theme="light"] .desktop-nav a {
  color: var(--day-ink);
}

html[data-theme="light"] .brand {
  min-height: 44px;
}

html[data-theme="light"] .brand-name small {
  color: var(--day-copper-deep);
}

html[data-theme="light"] .brand-rule {
  background: var(--day-copper);
}

html[data-theme="light"] .desktop-nav a::after {
  background: var(--day-copper);
}

html[data-theme="light"] .header-cta {
  border-color: var(--day-copper);
  background: var(--day-copper);
  color: #fffaf2;
}

html[data-theme="light"] .header-cta:hover {
  background: var(--day-ink);
  color: #fffaf2;
}

html[data-theme="light"] .section-rail {
  border-left: 1px solid var(--day-line);
  background:
    linear-gradient(rgba(244, 238, 228, 0.94), rgba(233, 225, 211, 0.96)),
    repeating-linear-gradient(90deg, rgba(9, 38, 56, 0.02) 0 1px, transparent 1px 5px);
}

html[data-theme="light"] .section-rail a {
  border-color: var(--day-line);
  color: var(--day-ink);
}

html[data-theme="light"] .section-rail a::before {
  background: var(--day-copper);
}

html[data-theme="light"] .section-rail span {
  color: var(--day-ink);
}

html[data-theme="light"] .section-rail small {
  color: var(--day-ink-soft);
}

html[data-theme="light"] .section-rail a[aria-current="true"] span,
html[data-theme="light"] .section-rail a[aria-current="true"] small {
  color: var(--day-copper-deep);
}

/* Day hero: an editorial poster above an architectural photo mosaic. */
html[data-theme="light"] .hero {
  min-height: 100svh;
  border-color: var(--day-copper);
  background:
    linear-gradient(rgba(244, 238, 228, 0.92), rgba(233, 225, 211, 0.94)),
    repeating-linear-gradient(93deg, rgba(9, 38, 56, 0.025) 0 1px, transparent 1px 6px);
}

html[data-theme="light"] .hero::before {
  position: absolute;
  z-index: 1;
  top: calc(var(--header-height) + 1.5rem);
  bottom: 2rem;
  left: clamp(1.5rem, 3vw, 3.5rem);
  width: 18.5%;
  border-right: 1px solid var(--day-line);
  color: var(--day-ink);
  content: "B\A C";
  font-family: var(--font-display);
  font-size: clamp(10rem, 19vw, 21rem);
  letter-spacing: -0.12em;
  line-height: 0.68;
  white-space: pre-line;
  pointer-events: none;
}

html[data-theme="light"] .hero::after {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 22.5%;
  width: clamp(58px, 5.8vw, 94px);
  background:
    linear-gradient(180deg, rgba(130, 68, 31, 0.12), transparent 21%),
    var(--day-copper);
  content: "";
  pointer-events: none;
}

html[data-theme="light"] .hero-image,
html[data-theme="light"] .hero-shade {
  top: auto;
  right: 0;
  bottom: 0;
  left: 28.5%;
  width: 71.5%;
  height: 55%;
}

html[data-theme="light"] .hero-image {
  object-position: center 58%;
  filter: saturate(0.78) contrast(0.96) brightness(1.12);
}

html[data-theme="light"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 38, 56, 0.28), transparent 22%),
    linear-gradient(0deg, rgba(9, 38, 56, 0.18), transparent 42%);
}

html[data-theme="light"] .hero-content {
  z-index: 3;
  justify-content: flex-start;
  width: 100%;
  padding: calc(var(--header-height) + 2.7rem) 4.5% 58vh 30.5%;
  color: var(--day-ink);
}

html[data-theme="light"] .hero-content::before {
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 0 1.25rem;
  background: var(--day-copper);
  content: "";
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .section-label {
  color: var(--day-copper-deep);
}

html[data-theme="light"] .hero h1 {
  max-width: 980px;
  color: var(--day-ink);
  font-size: clamp(3.35rem, 5.15vw, 6rem);
  line-height: 0.92;
  text-wrap: balance;
}

html[data-theme="light"] .hero-intro {
  max-width: 690px;
  margin: 1.35rem 0 1.6rem;
  color: var(--day-ink-soft);
  font-size: clamp(0.96rem, 1.18vw, 1.15rem);
  line-height: 1.55;
}

html[data-theme="light"] .hero .button-solid {
  border-color: var(--day-copper-deep);
  background: var(--day-copper);
  color: #fffaf2;
}

html[data-theme="light"] .hero .button-solid:hover {
  background: var(--day-ink);
}

html[data-theme="light"] .hero .text-link {
  padding-right: 1rem;
  padding-left: 1rem;
  border-color: rgba(244, 238, 228, 0.56);
  background: rgba(9, 38, 56, 0.84);
  color: #f4eee4;
  backdrop-filter: blur(8px);
}

html[data-theme="light"] .hero .trust-strip {
  position: absolute;
  bottom: 3rem;
  left: var(--content-pad);
  display: grid;
  width: 18%;
  margin: 0;
}

html[data-theme="light"] .hero .trust-strip span,
html[data-theme="light"] .hero .trust-strip span:first-child {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--day-line);
  border-left: 0;
  color: var(--day-ink-soft);
  line-height: 1.5;
}

html[data-theme="light"] .scroll-cue {
  color: rgba(244, 238, 228, 0.88);
}

html[data-theme="light"] .scroll-cue i {
  background: rgba(244, 238, 228, 0.4);
}

/* Shared daylight section language. */
html[data-theme="light"] .split-section,
html[data-theme="light"] .contact-section,
html[data-theme="light"] .connect-section {
  border-color: var(--day-copper);
  background:
    linear-gradient(rgba(244, 238, 228, 0.9), rgba(233, 225, 211, 0.94)),
    repeating-linear-gradient(93deg, rgba(9, 38, 56, 0.022) 0 1px, transparent 1px 6px);
  color: var(--day-ink);
}

html[data-theme="light"] .split-section.image-left {
  grid-template-columns: 56% 44%;
}

html[data-theme="light"] .split-section.image-right {
  grid-template-columns: 44% 56%;
}

html[data-theme="light"] .split-section::after,
html[data-theme="light"] .contact-section::after {
  position: absolute;
  z-index: 3;
  top: calc(var(--header-height) + 1.3rem);
  right: 1.4rem;
  color: rgba(9, 38, 56, 0.08);
  font-family: var(--font-display);
  font-size: clamp(6rem, 10vw, 11rem);
  line-height: 0.8;
  pointer-events: none;
}

html[data-theme="light"] #about::after { content: "02"; }
html[data-theme="light"] #services::after { content: "03"; }
html[data-theme="light"] #approach::after { content: "04"; }
html[data-theme="light"] #why-bluecrest::after { content: "05"; }
html[data-theme="light"] #contact::after { content: "06"; }

html[data-theme="light"] .section-media,
html[data-theme="light"] .contact-media {
  align-self: center;
  min-height: calc(100svh - 4rem);
  margin: 2rem;
  border: 1px solid var(--day-line);
  background: var(--day-paper-deep);
  box-shadow: 0 24px 60px rgba(48, 32, 18, 0.14);
}

html[data-theme="light"] .section-media::after,
html[data-theme="light"] .contact-media::after {
  background:
    linear-gradient(180deg, rgba(9, 38, 56, 0.02), rgba(9, 38, 56, 0.17)),
    linear-gradient(90deg, rgba(167, 96, 52, 0.1), transparent 32%);
}

html[data-theme="light"] .section-media img,
html[data-theme="light"] .contact-media img {
  position: absolute;
  inset: 0;
  filter: saturate(0.72) contrast(0.94) brightness(1.12);
}

html[data-theme="light"] .content-panel,
html[data-theme="light"] .light-section,
html[data-theme="light"] .light-section .content-panel,
html[data-theme="light"] .contact-panel {
  background: transparent;
  color: var(--day-ink);
}

html[data-theme="light"] .content-panel {
  position: relative;
  z-index: 4;
}

html[data-theme="light"] .content-panel h2,
html[data-theme="light"] .contact-panel h2 {
  color: var(--day-ink);
  text-wrap: balance;
}

html[data-theme="light"] .content-panel > p:not(.section-label),
html[data-theme="light"] .content-panel .lead,
html[data-theme="light"] .light-section .content-panel > p:not(.section-label),
html[data-theme="light"] .light-section .content-panel .lead,
html[data-theme="light"] .contact-panel .lead {
  color: var(--day-ink-soft);
}

html[data-theme="light"] .section-label {
  border-bottom: 1px solid var(--day-line);
  padding-bottom: 0.75rem;
}

html[data-theme="light"] .section-label span {
  color: var(--day-ink);
}

html[data-theme="light"] .value-lines span,
html[data-theme="light"] .service-list,
html[data-theme="light"] .service-list details,
html[data-theme="light"] .benefit-list li {
  border-color: var(--day-line);
}

html[data-theme="light"] .value-lines span,
html[data-theme="light"] .service-list summary span,
html[data-theme="light"] .service-list summary::after,
html[data-theme="light"] .benefit-list li span {
  color: var(--day-copper-deep);
}

html[data-theme="light"] .service-list summary,
html[data-theme="light"] .benefit-list li strong,
html[data-theme="light"] .process-list strong {
  color: var(--day-ink);
}

html[data-theme="light"] .service-list summary:hover {
  color: var(--day-copper-deep);
}

html[data-theme="light"] .service-list details p,
html[data-theme="light"] .benefit-list li small,
html[data-theme="light"] .process-list small,
html[data-theme="light"] .mission-panel .process-list small {
  color: var(--day-ink-soft);
}

html[data-theme="light"] .text-link {
  border-color: var(--day-copper);
  color: var(--day-copper-deep);
}

html[data-theme="light"] .button-outline,
html[data-theme="light"] .button-outline-dark {
  border-color: var(--day-copper);
  background: transparent;
  color: var(--day-ink);
}

html[data-theme="light"] .button-outline:hover,
html[data-theme="light"] .button-outline-dark:hover {
  background: var(--day-ink);
  color: #fffaf2;
}

/* Mission reads like a measured architectural process, not a card. */
html[data-theme="light"] .mission-image-caption {
  display: block;
  position: absolute;
  z-index: 3;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--day-copper);
  background: rgba(9, 38, 56, 0.86);
  color: #f4eee4;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.55;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

html[data-theme="light"] .mission-statement {
  padding-left: 1.25rem;
  border-left: 2px solid var(--day-copper);
}

html[data-theme="light"] .mission-promise {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--day-line);
  background: rgba(244, 238, 228, 0.58);
  color: var(--day-ink);
}

html[data-theme="light"] .mission-promise span {
  color: var(--day-copper-deep);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[data-theme="light"] .mission-promise p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.14;
}

html[data-theme="light"] .process-list::before {
  background: var(--day-copper);
}

html[data-theme="light"] .process-list li span {
  border-color: var(--day-copper);
  background: var(--day-paper-bright);
  color: var(--day-copper-deep);
}

/* Contact is deliberately high-contrast so fields look writable. */
html[data-theme="light"] .contact-section {
  grid-template-columns: 42% 58%;
}

html[data-theme="light"] .contact-form label > span {
  color: var(--day-ink);
}

html[data-theme="light"] .contact-form em {
  color: rgba(9, 38, 56, 0.54);
}

html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .contact-form select {
  border-color: rgba(9, 38, 56, 0.52);
  background-color: rgba(255, 253, 248, 0.82);
  color: var(--day-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .contact-form input::placeholder,
html[data-theme="light"] .contact-form textarea::placeholder {
  color: rgba(9, 38, 56, 0.48);
}

html[data-theme="light"] .contact-form input:hover,
html[data-theme="light"] .contact-form textarea:hover,
html[data-theme="light"] .contact-form select:hover,
html[data-theme="light"] .contact-form input:focus,
html[data-theme="light"] .contact-form textarea:focus,
html[data-theme="light"] .contact-form select:focus {
  border-color: var(--day-copper-deep);
  background-color: #fffdf8;
  box-shadow: 0 0 0 3px rgba(167, 96, 52, 0.18);
}

html[data-theme="light"] .contact-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--day-ink) 50%),
    linear-gradient(135deg, var(--day-ink) 50%, transparent 50%);
}

html[data-theme="light"] .contact-form option {
  background: var(--day-paper-bright);
  color: var(--day-ink);
}

html[data-theme="light"] .contact-form .button-solid {
  border-color: var(--day-copper-deep);
  background: var(--day-copper);
  color: #fffaf2;
}

html[data-theme="light"] .direct-contact {
  border-color: var(--day-line);
}

html[data-theme="light"] .direct-contact span {
  color: var(--day-copper-deep);
}

html[data-theme="light"] .direct-contact strong {
  color: var(--day-ink-soft);
}

html[data-theme="light"] .form-status {
  color: var(--day-copper-deep);
}

html[data-theme="light"] .form-status.is-error {
  color: #982d20;
}

/* The final image stays cinematic; the footer returns to daylight paper. */
html[data-theme="light"] .connect-visual {
  border-color: var(--day-copper);
}

html[data-theme="light"] .connect-visual > img {
  filter: saturate(0.74) contrast(0.94) brightness(1.06);
}

html[data-theme="light"] .connect-shade {
  background:
    linear-gradient(90deg, rgba(9, 38, 56, 0.86), rgba(9, 38, 56, 0.12)),
    linear-gradient(0deg, rgba(9, 38, 56, 0.44), transparent 52%);
}

html[data-theme="light"] .connect-heading {
  color: #f4eee4;
}

html[data-theme="light"] .connect-heading .section-label,
html[data-theme="light"] .connect-heading .text-link {
  color: #edb17f;
}

html[data-theme="light"] .site-footer {
  border-top: 1px solid var(--day-line);
  background:
    linear-gradient(rgba(244, 238, 228, 0.92), rgba(233, 225, 211, 0.96)),
    repeating-linear-gradient(93deg, rgba(9, 38, 56, 0.022) 0 1px, transparent 1px 6px);
  color: var(--day-ink);
}

html[data-theme="light"] .footer-logo {
  filter: sepia(0.25) saturate(0.9) contrast(1.05);
}

html[data-theme="light"] .footer-column h3,
html[data-theme="light"] .placeholder-link,
html[data-theme="light"] .footer-legal {
  color: var(--day-ink-soft);
}

html[data-theme="light"] .footer-column a,
html[data-theme="light"] .placeholder-link,
html[data-theme="light"] .footer-legal {
  border-color: var(--day-line);
}

html[data-theme="light"] .footer-column a,
html[data-theme="light"] .placeholder-link {
  min-height: 44px;
}

html[data-theme="light"] .footer-column a:hover {
  color: var(--day-copper-deep);
}

html[data-theme="light"] .footer-column i,
html[data-theme="light"] .placeholder-link i {
  color: var(--day-copper-deep);
}

@media (max-width: 1180px) and (min-width: 901px) {
  html[data-theme="light"] .hero::before {
    width: 17%;
    font-size: clamp(9rem, 18vw, 14rem);
  }

  html[data-theme="light"] .hero::after {
    left: 20.5%;
  }

  html[data-theme="light"] .hero-image,
  html[data-theme="light"] .hero-shade {
    left: 28%;
    width: 72%;
  }

  html[data-theme="light"] .hero-content {
    padding-right: 3rem;
    padding-left: 29.5%;
  }

  html[data-theme="light"] .hero h1 {
    font-size: clamp(3rem, 5vw, 4.8rem);
  }

  html[data-theme="light"] .hero .trust-strip {
    width: 17%;
  }

  html[data-theme="light"] .section-media,
  html[data-theme="light"] .contact-media {
    margin: 1.4rem;
    min-height: calc(100svh - 2.8rem);
  }
}

@media (max-width: 900px) {
  html[data-theme="light"] .site-header {
    border-bottom-color: var(--day-line);
    background: rgba(244, 238, 228, 0.96);
    color: var(--day-ink);
    box-shadow: 0 10px 30px rgba(43, 29, 17, 0.08);
  }

  html[data-theme="light"] .menu-button {
    border-color: var(--day-copper);
    background: rgba(255, 253, 248, 0.68);
    color: var(--day-ink);
  }

  html[data-theme="light"] .mobile-menu {
    background:
      linear-gradient(rgba(244, 238, 228, 0.98), rgba(233, 225, 211, 0.99)),
      repeating-linear-gradient(93deg, rgba(9, 38, 56, 0.025) 0 1px, transparent 1px 6px);
    color: var(--day-ink);
  }

  html[data-theme="light"] .mobile-menu a {
    border-color: var(--day-line);
  }

  html[data-theme="light"] .mobile-menu a span {
    color: var(--day-copper-deep);
  }

  html[data-theme="light"] .hero {
    min-height: auto;
    padding-top: var(--header-height);
  }

  html[data-theme="light"] .hero::before {
    z-index: 2;
    top: calc(var(--header-height) + 1.25rem);
    right: 1.1rem;
    bottom: auto;
    left: auto;
    width: auto;
    border: 0;
    color: rgba(244, 238, 228, 0.88);
    content: "BC";
    font-size: clamp(4.5rem, 18vw, 7rem);
    letter-spacing: -0.09em;
    line-height: 1;
  }

  html[data-theme="light"] .hero::after {
    top: var(--header-height);
    bottom: auto;
    left: 0;
    width: 6px;
    height: 42svh;
  }

  html[data-theme="light"] .hero-image,
  html[data-theme="light"] .hero-shade {
    top: var(--header-height);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 42svh;
  }

  html[data-theme="light"] .hero-image {
    object-position: center;
  }

  html[data-theme="light"] .hero-shade {
    background: linear-gradient(0deg, rgba(9, 38, 56, 0.46), rgba(9, 38, 56, 0.05));
  }

  html[data-theme="light"] .hero-content,
  html[data-theme="light"] .hero .hero-content {
    justify-content: flex-start;
    min-height: 100svh;
    padding: calc(var(--header-height) + 42svh + 2.5rem) 1.5rem 3.5rem;
    color: var(--day-ink);
  }

  html[data-theme="light"] .hero-content::before {
    margin-bottom: 1rem;
  }

  html[data-theme="light"] .hero h1 {
    font-size: clamp(3.15rem, 11vw, 5.2rem);
    line-height: 0.93;
  }

  html[data-theme="light"] .hero-intro {
    font-size: 1rem;
  }

  html[data-theme="light"] .hero .trust-strip {
    position: static;
    display: grid;
    width: 100%;
    margin-top: 2rem;
    padding-top: 0.4rem;
    border-top: 0;
  }

  html[data-theme="light"] .hero .trust-strip span,
  html[data-theme="light"] .hero .trust-strip span:first-child {
    position: relative;
    padding: 0.6rem 0 0.6rem 1rem;
    border-bottom: 1px solid var(--day-line);
    color: var(--day-ink-soft);
  }

  html[data-theme="light"] .hero .trust-strip span::before {
    top: 1.05rem;
    background: var(--day-copper);
  }

  html[data-theme="light"] .split-section.image-left,
  html[data-theme="light"] .split-section.image-right,
  html[data-theme="light"] .contact-section {
    grid-template-columns: 1fr;
  }

  html[data-theme="light"] .split-section::after,
  html[data-theme="light"] .contact-section::after {
    top: calc(42svh + 0.65rem);
    right: 1rem;
    font-size: 6rem;
  }

  html[data-theme="light"] .split-section.image-left .section-media,
  html[data-theme="light"] .split-section.image-right .section-media,
  html[data-theme="light"] .contact-media {
    grid-column: 1;
    grid-row: 1;
    min-height: clamp(300px, 42svh, 450px);
    margin: 1rem 1rem 0;
    border-color: var(--day-line);
    box-shadow: 0 16px 38px rgba(48, 32, 18, 0.14);
  }

  html[data-theme="light"] .split-section.image-left .content-panel,
  html[data-theme="light"] .split-section.image-right .content-panel,
  html[data-theme="light"] .contact-panel {
    grid-column: 1;
    grid-row: 2;
    width: calc(100% - 2rem);
    margin: -1.15rem 1rem 0;
    padding: 4rem 1.35rem 4.5rem;
    border: 1px solid var(--day-line);
    background:
      linear-gradient(rgba(244, 238, 228, 0.96), rgba(233, 225, 211, 0.98)),
      repeating-linear-gradient(93deg, rgba(9, 38, 56, 0.022) 0 1px, transparent 1px 6px);
    box-shadow: 0 18px 42px rgba(48, 32, 18, 0.09);
  }

  html[data-theme="light"] .mission-image-caption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  html[data-theme="light"] .mission-panel::after {
    color: rgba(9, 38, 56, 0.055);
  }

  html[data-theme="light"] .mission-promise {
    display: block;
  }

  html[data-theme="light"] .mission-promise span {
    display: block;
    margin-bottom: 0.55rem;
  }

  html[data-theme="light"] .mission-panel .process-list li span {
    box-shadow: 0 0 0 6px var(--day-paper-bright);
  }

  html[data-theme="light"] .mission-panel .button-outline-dark {
    background: var(--day-ink);
    color: #fffaf2;
  }

  html[data-theme="light"] .connect-heading {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  html[data-theme="light"] .site-footer {
    background:
      linear-gradient(rgba(244, 238, 228, 0.96), rgba(233, 225, 211, 0.98)),
      repeating-linear-gradient(93deg, rgba(9, 38, 56, 0.022) 0 1px, transparent 1px 6px);
  }
}

@media (max-width: 620px) {
  html[data-theme="light"] .hero::before {
    top: calc(var(--header-height) + 1rem);
    font-size: 4.6rem;
  }

  html[data-theme="light"] .hero-content,
  html[data-theme="light"] .hero .hero-content {
    padding-right: 1.15rem;
    padding-bottom: 3rem;
    padding-left: 1.15rem;
  }

  html[data-theme="light"] .hero h1 {
    font-size: clamp(3rem, 13vw, 4.35rem);
  }

  html[data-theme="light"] .hero .button-row {
    align-items: stretch;
  }

  html[data-theme="light"] .hero .text-link {
    color: var(--day-copper-deep);
  }

  html[data-theme="light"] .split-section.image-left .section-media,
  html[data-theme="light"] .split-section.image-right .section-media,
  html[data-theme="light"] .contact-media {
    min-height: clamp(260px, 38svh, 360px);
    margin-right: 0.65rem;
    margin-left: 0.65rem;
  }

  html[data-theme="light"] .split-section.image-left .content-panel,
  html[data-theme="light"] .split-section.image-right .content-panel,
  html[data-theme="light"] .contact-panel {
    width: calc(100% - 1.3rem);
    margin-right: 0.65rem;
    margin-left: 0.65rem;
    padding: 3.5rem 1.1rem 4rem;
  }

  html[data-theme="light"] .split-section::after,
  html[data-theme="light"] .contact-section::after {
    top: calc(38svh + 0.9rem);
    right: 0.9rem;
    font-size: 5rem;
  }

  html[data-theme="light"] .contact-form input,
  html[data-theme="light"] .contact-form select {
    min-height: 58px;
  }

  html[data-theme="light"] .site-footer {
    box-shadow: none;
  }
}
