:root {
  --navy: #061f36;
  --ink: #102238;
  --gold: #c49a45;
  --gold-deep: #8d6a2f;
  --copper: #9b5a3f;
  --mist: #f5f6f8;
  --paper: #ffffff;
  --stone: #d8dee4;
  --muted: #5d6a73;
  --shadow: 0 24px 70px rgba(6, 31, 54, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 34, 56, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--navy);
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 340px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  white-space: nowrap;
}

.main-nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(6, 31, 54, 0.08);
  outline: none;
}

.main-nav .nav-cta {
  background: var(--navy);
  color: var(--paper);
}

.hero {
  min-height: 78vh;
  min-height: 78svh;
  max-height: 760px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(6, 31, 54, 0.92), rgba(6, 31, 54, 0.68) 42%, rgba(6, 31, 54, 0.12)),
    url("assets/hero-mountain.webp");
  background-size: cover;
  background-position: center;
  color: var(--paper);
  border-bottom: 8px solid var(--gold);
}

.hero-inner {
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 0 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.hero .eyebrow,
.appointment-hero .eyebrow {
  color: #e2c06f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  margin-bottom: 18px;
}

h2 {
  font-size: 2.35rem;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.hero-subtitle {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
  margin-bottom: 30px;
}

.hero-actions,
.final-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: #13202b;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d7ad57;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.54);
  color: var(--paper);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.disabled-link {
  pointer-events: none;
  opacity: 0.68;
}

.audience-band {
  background: var(--paper);
  border-bottom: 1px solid rgba(16, 34, 56, 0.1);
}

.section-grid,
.content-section,
.final-cta,
.appointment-layout {
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(16, 34, 56, 0.1);
}

.audience-grid article {
  background: var(--paper);
  padding: 30px 26px;
  min-height: 176px;
}

.metric {
  display: block;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 18px;
}

.content-section {
  padding: 82px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(300px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.prose {
  color: var(--muted);
  font-size: 1.08rem;
}

.prose p:last-child,
.section-heading p:last-child,
.service-card p:last-child,
.method-list p:last-child,
.responsibility-copy p:last-child,
.appointment-intro p:last-child,
.reassurance-section p:last-child {
  margin-bottom: 0;
}

.services-section {
  border-top: 1px solid rgba(16, 34, 56, 0.1);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading .eyebrow {
  color: var(--gold-deep);
  font-size: 0.78rem;
}

.section-heading.compact {
  max-width: 680px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.market-section {
  padding-top: 28px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16, 34, 56, 0.12);
  border: 1px solid rgba(16, 34, 56, 0.12);
}

.market-grid article {
  min-height: 250px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 248, 0.96));
}

.market-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--paper);
  font-weight: 800;
}

.market-grid h3 {
  font-size: 1.42rem;
}

.market-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.cycle-section {
  padding-top: 34px;
}

.cycle-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.cycle-layout > div > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.cycle-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.cycle-points li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: start;
  padding: 15px 16px;
  border-radius: 8px;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  box-shadow: 0 14px 34px rgba(16, 34, 56, 0.07);
}

.cycle-points strong {
  color: var(--navy);
}

.cycle-points span {
  color: var(--muted);
}

.cycle-visual {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(16, 34, 56, 0.12);
  box-shadow: var(--shadow);
}

.cycle-visual img {
  width: 100%;
  border-radius: 6px;
}

.cycle-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid rgba(16, 34, 56, 0.12);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(16, 34, 56, 0.08);
}

.service-card p,
.method-list p {
  color: var(--muted);
}

.service-mark {
  width: 40px;
  height: 36px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: rgba(6, 31, 54, 0.08);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 18px;
}

.method-section {
  background: var(--navy);
  color: var(--paper);
  width: 100%;
  max-width: none;
  padding-left: 18px;
  padding-right: 18px;
}

.method-section .section-heading p,
.method-list p {
  color: rgba(255, 255, 255, 0.76);
}

.method-section .section-heading .eyebrow {
  color: #e2c06f;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.method-list article {
  background: var(--navy);
  padding: 30px 28px;
  min-height: 230px;
}

.method-list span {
  color: #e2c06f;
  font-weight: 800;
  display: block;
  margin-bottom: 16px;
}

.responsibility-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px;
  gap: 48px;
  align-items: center;
}

.responsibility-copy {
  max-width: 770px;
}

.responsibility-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.emblem {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.final-cta {
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: var(--paper);
  padding: 42px;
  border-radius: 8px;
  margin-bottom: 74px;
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 48px);
  background: #071727;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--paper);
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.appointment-hero {
  background-image:
    linear-gradient(90deg, rgba(6, 31, 54, 0.93), rgba(6, 31, 54, 0.72)),
    url("assets/hero-mountain.webp");
  background-size: cover;
  background-position: center;
  color: var(--paper);
}

.appointment-intro {
  width: calc(100% - 36px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 0 94px;
}

.appointment-intro p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.appointment-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.62fr) minmax(720px, 1.38fr);
  gap: 32px;
  padding: 70px 0;
  max-width: 1320px;
}

.appointment-context,
.calendar-panel {
  background: var(--paper);
  border: 1px solid rgba(16, 34, 56, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 34, 56, 0.08);
  min-width: 0;
}

.appointment-context {
  padding: 30px;
}

.appointment-context ul {
  padding-left: 20px;
  color: var(--muted);
}

.appointment-context li + li {
  margin-top: 12px;
}

.appointment-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.appointment-details p {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 34, 56, 0.1);
}

.appointment-details span {
  color: var(--muted);
}

.calendar-panel {
  padding: 12px;
}

.calendar-frame {
  height: 860px;
  min-height: 760px;
  border: 1px solid rgba(16, 34, 56, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.calendar-frame iframe {
  border-radius: 8px;
}

.reassurance-section {
  max-width: 780px;
  padding-top: 12px;
}

.reassurance-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

@media (min-width: 1216px) {
  .method-section {
    padding-left: calc((100% - var(--max)) / 2);
    padding-right: calc((100% - var(--max)) / 2);
  }
}

@media (max-width: 1080px) {
  .appointment-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .service-grid,
  .market-grid,
  .method-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .cycle-layout,
  .responsibility-section {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .responsibility-section {
    gap: 28px;
  }

  .emblem {
    width: 170px;
    height: 170px;
  }
  .calendar-frame {
    height: 820px;
    min-height: 720px;
  }
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: break-word;
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .brand small {
    max-width: 240px;
  }

  .hero {
    min-height: 72vh;
    min-height: 72svh;
    background-position: center right;
  }

  .hero-inner {
    padding: 42px 0 54px;
  }

  .hero-inner,
  .appointment-intro,
  .section-grid,
  .content-section,
  .final-cta,
  .appointment-layout {
    width: auto;
    max-width: 354px;
    margin-left: 18px;
    margin-right: auto;
  }

  .method-section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  h1 {
    font-size: 2.7rem;
  }

  .appointment-hero h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.74rem;
  }

  .hero-subtitle,
  .appointment-intro p {
    font-size: 1.05rem;
    max-width: 340px;
  }

  .hero .eyebrow,
  .appointment-hero .eyebrow {
    max-width: 340px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 340px;
  }

  .content-section {
    padding: 58px 0;
  }

  .service-grid,
  .audience-grid,
  .market-grid,
  .method-list {
    grid-template-columns: 1fr;
  }

  .cycle-points li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .audience-grid article,
  .method-list article,
  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .final-cta {
    padding: 28px;
  }

  .site-footer {
    flex-direction: column;
  }

  .appointment-intro {
    padding: 64px 0;
  }

  .appointment-layout {
    padding: 48px 0;
  }

  .appointment-details p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .calendar-frame {
    height: 760px;
    min-height: 680px;
  }
}

.legal-hero,
.utility-hero {
  background: var(--navy);
  color: var(--paper);
}

.legal-hero-inner,
.utility-hero-inner {
  width: calc(100% - 36px);
  max-width: 900px;
  margin: 0 auto;
  padding: 78px 0;
}

.legal-hero p,
.utility-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  font-size: 1.55rem;
  margin-top: 34px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--navy);
  font-weight: 700;
  text-decoration-color: rgba(6, 31, 54, 0.3);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(520px, calc(100vw - 36px));
  padding: 20px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(16, 34, 56, 0.14);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.cookie-copy p:last-child {
  margin-bottom: 0;
}

.cookie-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(6, 31, 54, 0.06);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cookie-actions button {
  min-height: 40px;
  border: 1px solid rgba(16, 34, 56, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.cookie-actions button:hover,
.cookie-actions button:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.cookie-actions button:first-child {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}

.cookie-policy-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration-color: rgba(6, 31, 54, 0.3);
}

.not-found-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 720px) {
  .legal-hero-inner,
  .utility-hero-inner,
  .legal-content {
    width: auto;
    max-width: 354px;
    margin-left: 18px;
    margin-right: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    overflow: auto;
  }

  .cookie-actions {
    display: grid;
  }
}
