:root {
  --navy: #122c3a;
  --navy-deep: #0a1f28;
  --navy-soft: #1c3a48;
  --teal: #3e8c90;
  --teal-bright: #4aa0a4;
  --teal-mist: #c5d9db;
  --gold: #a3998e;
  --gold-deep: #8f8579;
  --sand: #f3f1ee;
  --cream: #faf9f7;
  --white: #ffffff;
  --text: #122c3a;
  --text-muted: #5a6b73;
  --line: rgba(18, 44, 58, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}

.site-header.is-scrolled {
  background: rgba(250, 249, 247, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.brand-mark {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.72;
  transition: opacity 0.25s;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  opacity: 1 !important;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--gold);
  color: var(--navy) !important;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.nav-cta:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream) !important;
}

.nav-toggle {
  display: none;
  width: 2rem;
  height: 1.25rem;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), top 0.3s;
}

.nav-toggle span:first-child { top: 0.25rem; }
.nav-toggle span:last-child { top: 0.85rem; }

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 0.55rem;
  transform: rotate(40deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 0.55rem;
  transform: rotate(-40deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(62, 140, 144, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(163, 153, 142, 0.22), transparent 50%),
    linear-gradient(165deg, #e8f0f1 0%, var(--cream) 45%, #ebe6df 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-orb--a {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: -10%;
  right: -5%;
  background: rgba(62, 140, 144, 0.28);
}

.hero-orb--b {
  width: min(45vw, 380px);
  height: min(45vw, 380px);
  bottom: 5%;
  left: -8%;
  background: rgba(163, 153, 142, 0.25);
  animation-delay: -6s;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 44, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 44, 58, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black, transparent);
  opacity: 0.5;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 4%) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.hero-logo {
  width: min(200px, 48vw);
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 12px 40px rgba(18, 44, 58, 0.08));
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.15rem, 5.2vw, 3.65rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s, transform 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--teal);
}

.btn-ghost {
  border: 1px solid rgba(18, 44, 58, 0.28);
  color: var(--navy);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(255, 255, 255, 0.5);
}

.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.4rem;
  border: 1px solid rgba(18, 44, 58, 0.25);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 0.4rem;
}

.scroll-hint span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--teal);
  animation: scroll-dot 1.8s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Sections shared */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 1.1rem;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.section-head {
  margin-bottom: 3rem;
  max-width: 40rem;
}

/* About */
.about {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-copy .section-title {
  margin-bottom: 1.5rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow:
    0 0 0 1px var(--line),
    0 30px 60px -20px rgba(18, 44, 58, 0.18);
}

.about-visual figcaption {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Vision */
.vision {
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(62, 140, 144, 0.25), transparent),
    radial-gradient(ellipse 40% 35% at 10% 90%, rgba(163, 153, 142, 0.15), transparent);
  pointer-events: none;
}

.vision-inner {
  position: relative;
  z-index: 1;
}

.vision .section-label {
  color: var(--gold);
}

.vision-quote {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  max-width: 48rem;
  margin-bottom: 3.5rem;
  color: rgba(250, 249, 247, 0.95);
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(250, 249, 247, 0.12);
  padding-top: 2.5rem;
}

.pillar-num {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.pillar p {
  font-size: 0.95rem;
  color: rgba(250, 249, 247, 0.65);
  max-width: 18rem;
}

/* Businesses */
.businesses {
  background: var(--sand);
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.biz {
  background: var(--cream);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  transition: background 0.35s var(--ease);
  outline: none;
}

.biz:hover,
.biz:focus-visible {
  background: var(--white);
}

.biz-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--teal);
  margin-bottom: 1.15rem;
}

.biz-icon svg {
  width: 100%;
  height: 100%;
}

.biz h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.biz p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Presence */
.presence {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.presence-inner {
  display: grid;
  gap: 2.5rem;
}

.presence-map {
  color: var(--teal);
  width: min(100%, 640px);
  margin-inline: auto;
}

.arc-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}

.presence-map.is-inview .arc-line {
  animation: draw-arc 1.8s var(--ease) forwards;
}

@keyframes draw-arc {
  to { stroke-dashoffset: 0; }
}

.arc-dot {
  opacity: 0;
}

.presence-map.is-inview .arc-dot {
  animation: fade-dot 0.6s 0.9s var(--ease) forwards;
}

.presence-map.is-inview .delay-dot {
  animation-delay: 1.35s;
}

@keyframes fade-dot {
  to { opacity: 1; }
}

.presence-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.presence-list li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.presence-list strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--navy);
}

.presence-list span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(62, 140, 144, 0.12), transparent 60%),
    var(--sand);
  text-align: center;
}

.contact-inner {
  max-width: 36rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .section-lead {
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 249, 247, 0.7);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.footer-logo {
  width: 130px;
  margin: 0 auto 1.25rem;
  opacity: 0.92;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .vision-pillars,
  .presence-list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
    z-index: 110;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(250, 249, 247, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    font-size: 1rem;
    opacity: 1;
  }

  .biz-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-orb,
  .scroll-hint span,
  .arc-line,
  .arc-dot {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}
