:root {
  --ink: #3e3d42;
  --ink-deep: #1f252b;
  --brand: #ff9826;
  --brand-deep: #d97612;
  --paper: #fffdfa;
  --paper-soft: #f4ece1;
  --paper-strong: #ead9c4;
  --line: #dbc9b4;
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 60px rgba(31, 37, 43, 0.12);
  --shadow-soft: 0 16px 36px rgba(31, 37, 43, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 152, 38, 0.14), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f6efe4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.75) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.75) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 36%, transparent 100%);
}

site-header,
site-footer {
  display: block;
}

site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  overflow: visible;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.15rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--ink-deep);
  font-family: Cambria, Georgia, serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.9rem, 5vw, 5rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.45rem;
}

[id] {
  scroll-margin-top: 7rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-tinted {
  background:
    linear-gradient(180deg, rgba(234, 217, 196, 0.56) 0%, rgba(255, 253, 250, 0.9) 100%);
  border-block: 1px solid rgba(219, 201, 180, 0.75);
}

.section-dark {
  color: rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(135deg, rgba(26, 32, 38, 0.98) 0%, rgba(49, 54, 60, 0.98) 100%);
}

.section-dark h2,
.section-dark h3,
.section-dark .text-link {
  color: #fff;
}

.owner-section {
  color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(135deg, rgba(26, 32, 38, 0.98) 0%, rgba(49, 54, 60, 0.98) 100%);
}

.owner-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(40, 47, 54, 0.95) 0%, rgba(28, 34, 40, 0.95) 100%);
  box-shadow: 0 28px 70px rgba(13, 16, 20, 0.28);
}

.owner-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45) 0, transparent 20%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.3) 0, transparent 18%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.35) 0, transparent 16%),
    linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, 0.25) 48% 48.3%, transparent 48.3% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: auto, auto, auto, auto, 120px 120px, 120px 120px;
}

.owner-shell > * {
  position: relative;
}

.owner-section h2,
.owner-section h3,
.owner-section .metric-value,
.owner-section .metric-label,
.owner-section .owner-detail-list strong,
.owner-section .owner-summary-card strong {
  color: #fff;
}

.owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2rem;
  align-items: stretch;
}

.owner-intro {
  max-width: 38rem;
}

.owner-summary-card {
  margin: 2rem 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(10, 17, 24, 0.46);
  box-shadow: var(--shadow-soft);
}

.owner-summary-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(67, 76, 86, 0.96) 0%, rgba(22, 28, 34, 0.96) 100%);
}

.owner-summary-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 17, 24, 0.72);
}

.owner-summary-card figcaption span,
.owner-bio-card p,
.metric-card p,
.owner-intro p {
  color: rgba(221, 229, 238, 0.84);
}

.owner-brand-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.owner-brand-mark-shell {
  display: grid;
  place-items: center;
  min-height: 17rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-lg) - 6px);
  background:
    radial-gradient(circle at top, rgba(255, 152, 38, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(67, 76, 86, 0.96) 0%, rgba(22, 28, 34, 0.96) 100%);
}

.owner-brand-card .owner-brand-mark {
  width: min(18rem, 100%);
  max-height: 13rem;
  aspect-ratio: auto;
  object-fit: contain;
  background: none;
}

.owner-brand-copy {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(10, 17, 24, 0.72);
}

.owner-brand-copy span {
  color: rgba(221, 229, 238, 0.84);
}

.owner-bio-card {
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.owner-detail-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.owner-detail-list li {
  display: grid;
  gap: 0.38rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.owner-detail-list span {
  color: rgba(255, 152, 38, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric-card {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.metric-value {
  display: block;
  margin-bottom: 0.2rem;
  font-family: Cambria, Georgia, serif;
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  line-height: 1;
}

.metric-label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero,
.page-hero {
  padding-top: 3.5rem;
}

.hero-grid,
.page-hero-grid,
.split-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.hero-grid,
.page-hero-grid,
.split-grid,
.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.hero-copy .intro,
.section-heading p,
.section-copy p,
.hero-panel-copy p,
.service-summary,
.service-detail-card p {
  font-size: 1.06rem;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 152, 38, 0.92);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0.45rem 0 0;
}

.contact-meta {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.78rem;
  border: 1px solid rgba(255, 152, 38, 0.22);
  border-radius: 999px;
  background: rgba(255, 152, 38, 0.12);
  color: var(--ink-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-meta-inline {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--brand-deep);
}

.contact-link,
.inline-contact-link,
.topbar-link {
  font-weight: 700;
}

.contact-link,
.inline-contact-link {
  color: var(--brand-deep);
}

.topbar-link {
  color: var(--ink-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #ef7d12 100%);
  box-shadow: 0 14px 32px rgba(239, 125, 18, 0.24);
}

.button-secondary {
  color: var(--ink-deep);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(219, 201, 180, 0.95);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.text-link::after {
  content: ">";
  font-size: 0.95rem;
}

.hero-highlights,
.compact-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.hero-highlights li,
.compact-list li {
  position: relative;
  padding-left: 1.7rem;
}

.hero-highlights li::before,
.compact-list li::before,
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #ef7d12 100%);
  box-shadow: 0 0 0 4px rgba(255, 152, 38, 0.12);
}

.hero-panel,
.info-card,
.service-card,
.industry-card,
.step-card,
.service-detail-card,
.service-summary,
.scope-band-shell {
  border: 1px solid rgba(219, 201, 180, 0.8);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-panel,
.service-summary,
.scope-band-shell {
  padding: 1.4rem;
}

.hero-panel {
  overflow: hidden;
}

.brand-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
  border: 1px solid rgba(219, 201, 180, 0.74);
}

.media-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(219, 201, 180, 0.78);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.media-card.is-link {
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.media-card.is-link:hover,
.media-card.is-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(37, 31, 23, 0.18);
  border-color: rgba(239, 125, 18, 0.48);
}

.media-card.is-link:focus-visible {
  outline: 3px solid rgba(239, 125, 18, 0.34);
  outline-offset: 3px;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(180deg, rgba(244, 236, 225, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.media-card figcaption {
  padding: 0.85rem 1rem;
  margin: 0;
  border-top: 1px solid rgba(219, 201, 180, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 236, 225, 0.92) 100%);
  color: rgba(62, 61, 66, 0.84);
  font-size: 0.92rem;
}

.hero-panel-copy {
  padding: 1.2rem 0 0;
}

.hero-panel .media-card {
  margin-top: 1rem;
}

.hero-panel > .media-card:first-child {
  margin-top: 0;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-photo-grid .media-card img {
  aspect-ratio: 16 / 11;
}

.hero-photo-grid .media-card figcaption {
  font-size: 0.88rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-meta div {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--paper-soft);
  border: 1px solid rgba(219, 201, 180, 0.8);
}

.hero-meta span,
.step-number {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-meta strong {
  font-size: 1.15rem;
}

.section-heading,
.section-copy {
  max-width: 46rem;
}

.card-grid {
  display: grid;
  gap: 1.4rem;
}

.visual-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.35rem;
}

.nav-cta-secondary,
.nav-cta {
  white-space: nowrap;
}

.info-card,
.service-card,
.industry-card,
.step-card,
.service-detail-card {
  padding: 1.5rem;
}

.industry-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-dark);
  box-shadow: none;
}

.industry-card p {
  margin-bottom: 0;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 25%;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 152, 38, 0.14) 0%, transparent 72%);
}

.service-summary {
  align-self: stretch;
}

.service-summary .media-card {
  margin-bottom: 1rem;
}

.service-list {
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.9rem;
}

.card-media {
  margin-bottom: 1.2rem;
}

.card-media img {
  aspect-ratio: 16 / 9;
}

.card-media figcaption {
  font-size: 0.88rem;
}

.fine-print {
  color: rgba(62, 61, 66, 0.82);
  font-size: 0.94rem;
}

.scope-band {
  padding-top: 0;
}

.scope-band-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
}

.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: visible;
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 250, 0.88);
  border-bottom: 1px solid transparent;
  transition: box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

body.is-scrolled .site-header {
  border-color: rgba(219, 201, 180, 0.75);
  box-shadow: 0 12px 26px rgba(31, 37, 43, 0.08);
  background: rgba(255, 253, 250, 0.95);
}

.topbar {
  padding: 0.55rem 0;
  color: rgba(62, 61, 66, 0.82);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(219, 201, 180, 0.6);
  transition: max-height 220ms ease, opacity 220ms ease, padding 220ms ease, border-color 220ms ease;
  max-height: 3.2rem;
  overflow: hidden;
}

.topbar p {
  margin: 0;
}

body.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border-color: transparent;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
  transition: min-height 220ms ease;
}

body.is-scrolled .header-shell {
  justify-content: flex-start;
  gap: 0.85rem;
  min-height: 4.45rem;
}

body.is-scrolled .brand-mark {
  order: 2;
}

.brand-mark img {
  width: min(22rem, 100%);
  max-height: 3.45rem;
  object-fit: contain;
  transition: max-height 220ms ease, transform 220ms ease;
}

body.is-scrolled .brand-mark img {
  max-height: 2.8rem;
  transform: translateY(-1px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

body.is-scrolled .header-right {
  order: 1;
  margin-right: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link {
  position: relative;
  font-weight: 700;
  color: rgba(31, 37, 43, 0.84);
}

button.nav-link {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.6rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(135deg, var(--brand) 0%, #ef7d12 100%);
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-current::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.9rem;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-dropdown-caret {
  width: 0.56rem;
  height: 0.56rem;
  margin-top: -0.2rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  z-index: 12;
  display: grid;
  gap: 0.3rem;
  min-width: 15.5rem;
  padding: 0.65rem;
  border: 1px solid rgba(219, 201, 180, 0.9);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.99);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown-link {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  color: rgba(31, 37, 43, 0.84);
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  color: var(--ink-deep);
  background: rgba(244, 236, 225, 0.92);
}

.nav-dropdown-link.is-current {
  color: var(--ink-deep);
  background: rgba(255, 152, 38, 0.14);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret,
.nav-dropdown.is-open .nav-dropdown-caret {
  transform: rotate(225deg);
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 3.25rem;
  min-height: 3.25rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(219, 201, 180, 0.85);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-deep);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 37, 43, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31, 37, 43, 0.14);
}

.nav-toggle-icon {
  display: inline-grid;
  gap: 0.25rem;
}

.nav-toggle-icon span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink-deep);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-text {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.is-scrolled .nav-toggle {
  display: inline-flex;
  gap: 0;
  padding-inline: 0.85rem;
}

body.is-scrolled .nav-toggle-text {
  display: none;
}

body.is-scrolled .site-nav {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: min(23rem, calc(100vw - 2rem));
  padding: 1.15rem;
  background: rgba(255, 253, 250, 0.98);
  border: 1px solid rgba(219, 201, 180, 0.92);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

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

body.is-scrolled .nav-actions {
  display: grid;
  width: 100%;
  margin-left: 0;
}

body.is-scrolled .nav-link::after {
  bottom: -0.3rem;
}

body.is-scrolled .nav-dropdown {
  width: 100%;
}

body.is-scrolled .nav-dropdown::after {
  display: none;
}

body.is-scrolled .nav-dropdown-toggle {
  width: 100%;
  justify-content: space-between;
}

body.is-scrolled .nav-dropdown-menu {
  position: static;
  min-width: 0;
  margin-top: 0.75rem;
  padding: 0.55rem;
  box-shadow: none;
  background: rgba(244, 236, 225, 0.76);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  display: none;
}

body.is-scrolled .nav-dropdown.is-open .nav-dropdown-menu {
  display: grid;
}

body.is-scrolled .nav-cta {
  width: 100%;
}

.site-footer {
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(26, 32, 38, 0.98) 0%, rgba(49, 54, 60, 0.98) 100%);
}

.map-panel {
  overflow: hidden;
  min-height: 24rem;
  border: 1px solid rgba(219, 201, 180, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 24rem;
  border: 0;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.7fr));
  margin-bottom: 2rem;
}

.footer-brand img {
  max-width: 18rem;
  margin-bottom: 1rem;
}

.footer-contact-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.footer-contact-link {
  color: #fff;
  font-weight: 700;
}

.footer-contact-meta {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.footer-title {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1rem;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition:
    opacity 500ms cubic-bezier(0.2, 0.7, 0.15, 1),
    transform 520ms cubic-bezier(0.2, 0.7, 0.15, 1),
    filter 180ms ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 37, 43, 0.94);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 16px 36px rgba(31, 37, 43, 0.22);
  transform: translateY(18px) scale(0.96);
  transition: opacity 220ms ease, transform 220ms ease, background-color 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--brand-deep);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.loading-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 152, 38, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(26, 32, 38, 0.98) 0%, rgba(49, 54, 60, 0.98) 100%);
}

.loading-page::before {
  opacity: 0.16;
  mask-image: none;
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.loading-shell {
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 2rem), 860px);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background: rgba(255, 253, 250, 0.94);
  box-shadow: 0 34px 80px rgba(10, 14, 18, 0.3);
  text-align: center;
}

.loading-shell::before {
  content: "";
  position: absolute;
  inset: auto -8% -35% auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 152, 38, 0.16) 0%, transparent 70%);
}

.loading-shell > * {
  position: relative;
}

.loading-logo {
  width: min(24rem, 100%);
  margin: 0 auto 1.5rem;
}

.loading-shell h1 {
  max-width: 12ch;
  margin-inline: auto;
}

.loading-shell .button-row {
  justify-content: center;
}

.loading-progress {
  overflow: hidden;
  width: min(28rem, 100%);
  height: 0.8rem;
  margin: 1.75rem auto 0;
  border: 1px solid rgba(219, 201, 180, 0.9);
  border-radius: 999px;
  background: rgba(244, 236, 225, 0.9);
}

.loading-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand) 0%, #ef7d12 100%);
  animation: loadingBar 1650ms ease forwards;
}

.loading-note {
  margin-top: 1rem;
  color: rgba(62, 61, 66, 0.82);
}

.quote-form-shell {
  overflow: hidden;
  padding: 0.8rem;
  border: 1px solid rgba(219, 201, 180, 0.86);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 236, 225, 0.88) 100%);
  box-shadow: var(--shadow);
}

.quote-form-frame {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 1880px;
  min-height: 1880px;
  border: 0;
  border-radius: calc(var(--radius-lg) - 10px);
  background: #fff;
}

.quote-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@keyframes loadingBar {
  0% {
    width: 0;
  }

  24% {
    width: 22%;
  }

  62% {
    width: 76%;
  }

  100% {
    width: 100%;
  }
}

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

  .reveal,
  .reveal.is-visible,
  .button,
  .site-header,
  .nav-link::after,
  .back-to-top,
  .topbar,
  .header-shell,
  .brand-mark img,
  .nav-toggle,
  .nav-toggle-icon span {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 1040px) {
  .visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-photo-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-three,
  .card-grid-two,
  .hero-grid,
  .page-hero-grid,
  .quote-support-grid,
  .owner-grid,
  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .scope-band-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 21rem;
  }

  .topbar {
    display: none;
  }

  .header-shell {
    gap: 1rem;
    min-height: 5rem;
  }

  .brand-mark img {
    width: min(17rem, 100%);
    max-height: 3rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.94rem;
  }

  .nav-cta {
    min-height: 3rem;
    padding: 0.75rem 1.05rem;
  }
}

@media (max-width: 760px) {
  .header-shell {
    justify-content: flex-start;
    gap: 0.85rem;
  }

  .brand-mark {
    order: 2;
  }

  .header-right {
    order: 1;
    margin-right: auto;
  }

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

  .nav-toggle-text {
    display: none;
  }

  .nav-actions {
    display: grid;
    width: 100%;
    margin-left: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: min(23rem, calc(100vw - 2rem));
    padding: 1.1rem;
    background: rgba(255, 253, 250, 0.98);
    border: 1px solid rgba(219, 201, 180, 0.9);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
  }

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

  .nav-link::after {
    bottom: -0.3rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 0.75rem;
    padding: 0.55rem;
    box-shadow: none;
    background: rgba(244, 236, 225, 0.76);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .nav-cta {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.25rem 0;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 18rem;
  }

  .quote-form-frame {
    min-height: 1880px;
    height: 1880px;
  }

  .hero-meta,
  .card-grid-four {
    grid-template-columns: 1fr;
  }

  .brand-mark img {
    max-height: 2.8rem;
  }

  .owner-brand-mark-shell {
    min-height: 13.5rem;
  }
}
