/* Corporate Connect — landing page
   Palette: black field, ivory type, aqua outline from the 2026 refresh. */

:root {
  --bg: #070808;
  --bg-raised: #101314;
  --bg-card: #14181a;
  --ink: #f3efe6;
  --ink-soft: #c9c4b8;
  --ink-dim: #8f8b82;
  --aqua: #3eede0;
  --aqua-deep: #1ac9bc;
  --aqua-glow: rgba(62, 237, 224, 0.18);
  --line: rgba(243, 239, 230, 0.12);
  --line-strong: rgba(243, 239, 230, 0.22);
  --danger: #f0b4b0;
  --ok: #b8f0c8;
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --header: 4.25rem;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

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

a {
  color: var(--aqua);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--aqua);
  color: #041110;
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  color: #041110;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 8, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header);
  padding: 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand:hover {
  color: var(--ink);
}

.brand-name,
.footer-brand .brand-name {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  background: var(--aqua);
  color: #041110;
  text-decoration: none;
  border: 1px solid var(--aqua);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: #fff;
  border-color: #fff;
  color: #041110;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--aqua);
  color: var(--aqua);
  background: transparent;
}

.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* Keep the nav Inquire button readable: nav link color must not override the aqua button. */
.site-nav a.btn,
.site-nav a.btn:hover,
.site-nav a.btn:focus-visible {
  color: #041110;
  font-weight: 700;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem 0 0;
  background: var(--bg);
}

.hero-skyline {
  position: absolute;
  inset: auto 0 -6% 0;
  color: rgba(62, 237, 224, 0.09);
  pointer-events: none;
}

.hero-skyline svg {
  width: 100%;
  height: auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  text-align: center;
  padding: 3.5rem 1.4rem 1.5rem;
}

.eyebrow {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--aqua);
}

.wordmark {
  margin: 0 auto 1.8rem;
  max-width: 920px;
}

.wordmark-frame {
  border: 1px solid var(--aqua);
  box-shadow: 0 0 0 1px rgba(62, 237, 224, 0.08), 0 0 48px var(--aqua-glow);
  padding: 1.7rem 1.8rem 1.3rem;
}

.wordmark-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.9rem;
  flex-wrap: nowrap;
}

.word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 3.15vw, 2.55rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  padding-left: 0.2em;
  white-space: nowrap;
}

.skyline {
  width: clamp(6.2rem, 16vw, 11.5rem);
  height: auto;
  color: var(--aqua);
  flex: 0 0 auto;
}

.tagline {
  margin: 1.05rem 0 0;
  font-family: var(--serif);
  font-size: clamp(0.72rem, 1.5vw, 0.92rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Sections */

.section {
  padding: 5.5rem 1.4rem;
  border-top: 1px solid var(--line);
}

.section-alt {
  background: linear-gradient(180deg, #0b0d0e, var(--bg));
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.8rem;
}

.section-head h2,
.steps h3,
.service-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  line-height: 1.2;
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-intro,
.contact-note {
  margin: 0;
  color: var(--ink-soft);
}

.contact-note {
  margin-top: 1.1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.7rem;
  min-height: 100%;
}

.service-card-wide {
  grid-column: 1 / -1;
}

.service-index {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  color: var(--aqua);
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.service-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.28rem;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.partner {
  margin-top: 1.4rem;
  padding: 1.3rem 1.25rem;
  border: 1px solid rgba(62, 237, 224, 0.28);
  background: rgba(62, 237, 224, 0.04);
}

.partner-kicker {
  margin: 0 0 0.2rem;
  font-family: var(--serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--ink);
}

.partner-tag {
  margin: 0 0 0.8rem;
  font-style: italic;
  color: var(--aqua);
}

.partner p + p {
  margin-top: 0;
}

.partner-contacts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
}

.partner-contacts a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(62, 237, 224, 0.4);
}

.partner-contacts a:hover {
  color: var(--aqua);
}

/* Process */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  counter-reset: step;
}

.steps li {
  border-top: 1px solid var(--aqua);
  padding: 1.2rem 0.1rem 0;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  color: var(--aqua);
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
}

.steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

/* Form */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.contact-layout .section-head {
  margin-bottom: 0;
}

.inquire-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.optional {
  color: var(--ink-dim);
  font-weight: 400;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: #0b0d0e;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.7rem 0.75rem;
  font: inherit;
  font-size: 1rem;
}

.form-row textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--aqua);
  outline: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot {
  margin: 0.4rem 0 1rem;
}

.form-status {
  min-height: 1.3em;
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-ok {
  color: var(--ok);
}

.form-fine {
  margin: 0.9rem 0 0;
  color: var(--ink-dim);
  font-size: 0.85rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.4rem 2.6rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
}

.footer-brand p {
  margin: 0;
}

.footer-brand p + p {
  margin-top: 0.25rem;
  color: var(--ink-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: var(--serif);
}

.footer-meta {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.88rem;
}

/* Admin is styled separately; shared bits above still apply. */

@media (max-width: 900px) {
  .service-grid,
  .steps,
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    padding-top: 1rem;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 8, 8, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.4rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .wordmark-frame {
    padding: 1.15rem 0.9rem 1rem;
  }

  .wordmark-row {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .skyline {
    width: 11rem;
    order: -1;
  }

  .hero {
    padding-top: 0;
    min-height: 0;
  }

  .hero-inner {
    padding-top: 3rem;
  }

  .section {
    padding: 3.8rem 1.2rem;
  }

  .inquire-form {
    padding: 1.15rem;
  }
}

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


/* --- Dynamic layer: media, motion, gallery, stepper --- */

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.42) saturate(0.9);
  transform: scale(1.06);
  animation: hero-drift 28s ease-in-out alternate infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 8, 8, 0.55) 0%, rgba(7, 8, 8, 0.28) 40%, rgba(7, 8, 8, 0.82) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(62, 237, 224, 0.08), transparent 50%);
}

@keyframes hero-drift {
  from { transform: scale(1.06) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

.hero-skyline {
  z-index: 1;
  color: rgba(62, 237, 224, 0.16);
}

.skyline-draw path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw-line 1.8s ease forwards;
}

.wordmark .skyline-draw path {
  animation-delay: 0.15s;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 2rem auto 0;
  color: var(--aqua);
  text-decoration: none;
}

.scroll-cue span {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  animation: cue-bounce 1.8s ease-in-out infinite;
}

@keyframes cue-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
}

.hero-inserts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.2rem 1.4rem 0;
}

.hero-insert {
  margin: 0;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(62, 237, 224, 0.25);
  background: var(--bg-card);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.hero-insert img {
  width: 100%;
  height: 7.5rem;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-insert:hover img,
.hero-insert:focus-visible img {
  transform: scale(1.06);
}

.hero-insert figcaption {
  display: none;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.program-band {
  border-top: 1px solid var(--line);
  padding: 2.2rem 1.4rem;
  background: #0b0d0e;
}

.program-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-family: var(--serif);
  letter-spacing: 0.08em;
  font-size: 1.02rem;
}

.section-intro-only,
.section-intro.section {
  padding-bottom: 0;
}

/* Service hover media */
.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-visual {
  height: 7.2rem;
  margin: -1.6rem -1.5rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(7, 8, 8, 0.05), rgba(7, 8, 8, 0.45)),
    var(--card-photo, var(--bg-raised)) center / cover no-repeat;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.85);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(62, 237, 224, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.service-card:hover .service-visual,
.service-card:focus-within .service-visual {
  transform: scale(1.05);
  filter: saturate(1);
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.photo-tile {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-card);
  cursor: pointer;
  color: inherit;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
  transform: scale(1.06);
}

.photo-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.7rem 0.65rem;
  background: linear-gradient(transparent, rgba(7, 8, 8, 0.82));
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.gallery-fallback {
  color: var(--ink-dim);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 5, 0.88);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  max-height: 92vh;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 0.4rem;
}

.lightbox-figure {
  margin: 0;
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: #000;
}

.lightbox-figure figcaption {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.lightbox-figure a {
  color: var(--aqua);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: rgba(7, 8, 8, 0.8);
  color: var(--ink);
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: -0.2rem;
  right: 0.2rem;
  z-index: 2;
}

body.lightbox-open {
  overflow: hidden;
}

/* Stepper */
.stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 16rem;
}

.stepper-step {
  display: contents;
}

.stepper-tab {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 16rem;
  text-align: left;
  padding: 1rem 1.1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
  min-height: 48px;
  grid-column: 1;
}

.stepper-step:last-child .stepper-tab {
  border-bottom: 0;
}

.stepper-tab:hover,
.stepper-step.is-active .stepper-tab {
  color: var(--ink);
  background: rgba(62, 237, 224, 0.05);
}

.stepper-step.is-active .stepper-tab {
  border-right-color: transparent;
  box-shadow: inset 2px 0 0 var(--aqua);
}

.stepper-num {
  font-family: var(--serif);
  color: var(--aqua);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.stepper-panel {
  display: none;
  grid-column: 2;
  grid-row: 1 / span 4;
  padding: 2rem 2.2rem;
  align-self: stretch;
}

.stepper-step.is-active .stepper-panel {
  display: block;
}

.stepper-panel h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 0.7rem;
  font-size: 1.6rem;
}

.stepper-panel p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36rem;
  font-size: 1.08rem;
}

.cta-band {
  background:
    linear-gradient(180deg, rgba(7, 8, 8, 0.55), rgba(7, 8, 8, 0.78)),
    var(--bg-raised);
  border-top: 1px solid var(--line);
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.cta-band p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34rem;
}

@media (max-width: 900px) {
  .hero-inserts,
  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stepper {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .stepper-tab,
  .stepper-panel {
    width: 100%;
    grid-column: 1;
    grid-row: auto;
  }

  .stepper-panel {
    padding: 0 1.1rem 1.2rem;
    border-bottom: 1px solid var(--line);
  }

  .stepper-step:last-child .stepper-panel {
    border-bottom: 0;
  }

  .stepper-step.is-active .stepper-tab {
    box-shadow: inset 0 -2px 0 var(--aqua);
    border-right: 0;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
    width: 94vw;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    bottom: 0.2rem;
  }

  .lightbox-prev { left: 0.2rem; }
  .lightbox-next { right: 0.2rem; }

  .lightbox-figure img {
    max-height: 68vh;
  }
}

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

  .hero-media img,
  .skyline-draw path,
  .scroll-cue span,
  .reveal,
  .service-card,
  .service-visual,
  .hero-insert img,
  .photo-tile img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none;
  }

  .hero-media img {
    transform: none;
    filter: brightness(0.42) saturate(0.9);
  }

  .skyline-draw path {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .reveal {
    opacity: 1;
  }
}

@media (min-width: 901px) {
  .service-card-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 0 1.6rem;
    align-items: center;
  }

  .service-card-row .service-visual {
    margin: -1.6rem 0 -1.7rem -1.5rem;
    height: calc(100% + 3.3rem);
    min-height: 11rem;
    grid-row: 1 / span 4;
  }

  .service-card-row .service-copy {
    padding: 0.2rem 0;
  }
}
