:root {
  --navy: #0d263a;
  --navy-soft: #173a52;
  --sage: #779373;
  --sage-dark: #587055;
  --sage-pale: #e6eee5;
  --sky-pale: #e8f0f2;
  --warm: #c98354;
  --ink: #17222a;
  --muted: #5f6b70;
  --line: #d8e0df;
  --white: #ffffff;
  --off-white: #f7f9f7;
  --page-gutter: clamp(20px, 5vw, 76px);
  --max-width: 1240px;
  --header-height: 176px;
  --label-title-size: clamp(18px, 1.4vw, 22px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  padding: 12px var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(13, 38, 58, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  justify-self: start;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  width: 156px;
  height: 156px;
  border-radius: 50%;
}

.header-location {
  margin: 0;
  color: var(--sage-dark);
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.menu-toggle {
  width: 50px;
  height: 50px;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  justify-self: end;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 28px) var(--page-gutter) 40px;
  background: var(--off-white);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.menu-panel.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.menu-panel nav {
  width: min(780px, 100%);
  margin: auto;
  display: grid;
}

.menu-panel nav a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: clamp(36px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
}

.menu-panel nav a span {
  font-size: 13px;
  color: var(--sage-dark);
}

.menu-panel > p {
  margin: 32px auto 0;
  width: min(780px, 100%);
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(820px, 90svh);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-height) + 48px) var(--page-gutter) clamp(84px, 12vh, 132px);
  color: var(--white);
}

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

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

.hero-shade {
  background: rgba(8, 24, 35, 0.46);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--sage-pale);
  text-transform: uppercase;
  font-size: var(--label-title-size);
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.92;
  font-weight: 750;
}

.hero-lead {
  max-width: 610px;
  margin: 26px 0 30px;
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.42;
}

.primary-link,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: min(330px, 100%);
  padding: 15px 0;
  border-bottom: 2px solid currentColor;
  font-weight: 750;
  text-decoration: none;
}

.primary-link {
  font-size: var(--label-title-size);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  right: var(--page-gutter);
  bottom: 34px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: var(--label-title-size);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.section {
  padding: clamp(84px, 12vw, 160px) var(--page-gutter);
}

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

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.55fr 2fr 1fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.intro .section-kicker,
.services .section-kicker,
.process .section-kicker {
  color: var(--sage-dark);
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.04;
  font-weight: 720;
}

.body-large {
  margin: 28px 0 0;
  max-width: 790px;
  font-size: clamp(19px, 2vw, 25px);
  color: var(--muted);
}

.intro-note {
  margin: 8px 0 0;
  padding-top: 20px;
  border-top: 3px solid var(--warm);
  color: var(--muted);
}

.services {
  background: var(--sky-pale);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 3fr;
  gap: clamp(28px, 6vw, 88px);
  margin-bottom: clamp(48px, 8vw, 94px);
}

.service-list {
  border-top: 1px solid rgba(13, 38, 58, 0.25);
}

.service-row {
  display: grid;
  grid-template-columns: 0.35fr 1.2fr 1.4fr;
  gap: 30px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid rgba(13, 38, 58, 0.25);
}

.service-number {
  color: var(--sage-dark);
  font-weight: 800;
}

.service-row h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.space-stories {
  background: var(--off-white);
}

.space-story {
  min-height: min(820px, 92svh);
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, 0.8fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.space-story-reverse {
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.42fr);
}

.space-story-reverse .space-image-wrap {
  order: 2;
}

.space-image-wrap {
  min-height: 620px;
  overflow: hidden;
}

.space-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.space-story:hover .space-image-wrap img {
  transform: scale(1.025);
}

.space-copy {
  padding: clamp(52px, 8vw, 120px) var(--page-gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--off-white);
}

.space-copy .section-kicker {
  color: var(--sage-dark);
}

.space-copy h2 {
  max-width: 100%;
  font-size: clamp(38px, 3.7vw, 56px);
}

.space-copy > p:not(.section-kicker) {
  margin: 28px 0;
  color: var(--muted);
  font-size: 18px;
}

.space-tag {
  align-self: flex-start;
  padding-top: 10px;
  border-top: 2px solid var(--warm);
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.process {
  background: var(--white);
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  min-height: 270px;
  padding: 28px 32px 20px 0;
  border-right: 1px solid var(--line);
}

.process-list li + li {
  padding-left: 32px;
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: block;
  margin-bottom: 54px;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
}

.process-list strong {
  display: block;
  color: var(--navy);
  font-size: clamp(30px, 3.4vw, 44px);
}

.process-list p {
  max-width: 330px;
  color: var(--muted);
}

.contact {
  color: var(--white);
  background: var(--navy);
}

.contact-inner {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  color: var(--white);
}

.contact-inner > p:not(.section-kicker) {
  max-width: 620px;
  margin: 28px auto 34px;
  color: #d7e1e5;
  font-size: 20px;
}

.contact-link {
  color: var(--white);
}

.contact small {
  display: block;
  margin-top: 18px;
  color: #9db2bd;
}

.site-footer {
  min-height: 180px;
  padding: 42px max(var(--page-gutter), calc(108px + env(safe-area-inset-right))) 42px var(--page-gutter);
  display: grid;
  grid-template-columns: auto minmax(194px, 0.55fr) minmax(220px, 1fr) auto;
  gap: 30px;
  align-items: center;
  background: #091b29;
  color: #d7e1e5;
  font-size: 13px;
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--white);
  font-size: 16px;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 12px;
}

.instagram-link,
.facebook-link,
.email-link {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.instagram-link {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 48%, #6228d7 100%);
}

.facebook-link {
  background: #1877f2;
}

.email-link {
  background: var(--sage-dark);
}

.instagram-link:hover,
.instagram-link:focus-visible,
.facebook-link:hover,
.facebook-link:focus-visible,
.email-link:hover,
.email-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.instagram-link svg,
.facebook-link svg,
.email-link svg {
  width: 27px;
  height: 27px;
}

.instagram-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-link .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.facebook-link svg {
  fill: currentColor;
}

.email-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-float {
  position: fixed;
  z-index: 120;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(72px + env(safe-area-inset-bottom));
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #25d366;
  border: 3px solid var(--white);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(13, 38, 58, 0.25);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  background: #1fbd5a;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(13, 38, 58, 0.3);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  width: max-content;
  padding: 11px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  font-size: 19px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .intro-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .intro-note {
    max-width: 620px;
  }

  .service-row {
    grid-template-columns: 64px 1fr;
  }

  .service-row p {
    grid-column: 2;
  }

  .space-story,
  .space-story-reverse {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .space-story-reverse .space-image-wrap {
    order: 0;
  }

  .space-image-wrap {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .space-copy {
    min-height: 460px;
  }

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

  .site-footer > p {
    grid-column: 1 / -1;
    margin: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 112px;
  }

  .site-header {
    padding-block: 9px;
  }

  .brand img {
    width: 86px;
    height: 86px;
  }

  .header-location {
    max-width: 155px;
    font-size: 13px;
  }

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

  .site-footer > p {
    grid-column: auto;
  }

  .footer-socials {
    justify-self: center;
  }

  .hero {
    min-height: 86svh;
    padding-bottom: 96px;
  }

  .hero-image {
    object-position: 48% center;
  }

  .scroll-cue {
    display: none;
  }

  .primary-link,
  .contact-link {
    min-width: 100%;
  }

  .service-row {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .service-row p {
    font-size: 16px;
  }

  .space-copy {
    min-height: 400px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li + li {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list span {
    margin-bottom: 20px;
  }

  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(72px + env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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