/* Pro Hands Massage — Design System
   Office blue: deep navy rooms + bright cyan accents */

:root {
  --pine: #0c2340;
  --pine-deep: #071628;
  --pine-mid: #16365c;
  --moss: #3d7ea6;
  --mist: #e7f3f8;
  --fog: #f3f7fa;
  --ink: #0a1628;
  --muted: #5a6b7d;
  --amber: #00c8ef;
  --amber-hover: #00a8cb;
  --cream: #f5f9fc;
  --line: rgba(12, 35, 64, 0.12);
  --white: #ffffff;
  --shadow-soft: 0 20px 50px rgba(7, 22, 40, 0.14);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Sora", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;

  --nav-h: 4.25rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2.5rem, 42rem);
  margin-inline: auto;
}

/* ——— Typography ——— */
.brand-mark {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
  color: var(--pine);
  line-height: 1.1;
}

.brand-mark span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-top: 0.2rem;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--pine-deep);
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--pine-deep);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: var(--space-sm);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--pine-deep);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--amber-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--pine);
  color: var(--pine);
}

.btn-outline:hover {
  background: var(--pine);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--pine);
  padding-inline: 0.5rem;
}

.btn-ghost:hover {
  color: var(--amber-hover);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--space-md);
}

/* ——— Nav ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(244, 247, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 247, 245, 0.96);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--pine);
}

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

.nav-phone {
  display: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--pine);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--pine);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--pine);
}

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

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

.mobile-nav {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--fog);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 99;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--pine-deep);
}

@media (min-width: 880px) {
  .nav-links,
  .nav-phone {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 40%;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(7, 22, 40, 0.92) 0%,
      rgba(7, 22, 40, 0.72) 38%,
      rgba(7, 22, 40, 0.35) 68%,
      rgba(7, 22, 40, 0.18) 100%
    ),
    linear-gradient(to top, rgba(7, 22, 40, 0.5), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  max-width: 36rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
}

@media (max-width: 879px) {
  .hero {
    align-items: end;
  }

  .hero-media img {
    object-position: 80% center;
  }

  .hero-content {
    padding-bottom: 5.5rem;
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.15s forwards;
}

.hero-brand em {
  font-style: italic;
  font-weight: 450;
  color: #7ad9f0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 1rem;
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.3s forwards;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.45s forwards;
}

.hero .cta-group {
  opacity: 0;
  animation: riseIn 0.9s var(--ease) 0.6s forwards;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */
.section {
  padding: var(--space-2xl) 0;
}

.section-head {
  margin-bottom: var(--space-lg);
  max-width: 36rem;
}

.section-head .display-sm {
  margin-bottom: 0.85rem;
}

.section-mist {
  background: var(--mist);
}

.section-pine {
  background: var(--pine-deep);
  color: var(--white);
}

.section-pine .display-sm,
.section-pine .section-label {
  color: var(--white);
}

.section-pine .section-label {
  color: #7ad9f0;
}

.section-pine .lede {
  color: rgba(255, 255, 255, 0.72);
}

/* Problems / outcomes */
.problem-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 720px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.problem-item {
  background: var(--fog);
  padding: 1.75rem 1.5rem;
  transition: background 0.3s var(--ease);
}

.problem-item:hover {
  background: var(--white);
}

.problem-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--pine-deep);
  margin-bottom: 0.5rem;
}

.problem-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

.problem-num {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--moss);
  margin-bottom: 0.75rem;
}

/* Services */
.service-list {
  display: grid;
  gap: 0;
}

.service-row {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .service-row {
    grid-template-columns: 1.2fr 1.4fr auto;
    align-items: center;
    gap: 2rem;
  }
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--pine-deep);
}

.service-meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  margin-top: 0.35rem;
}

.service-row p {
  color: var(--muted);
  font-size: 0.98rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--pine);
  white-space: nowrap;
}

.service-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.service-visual {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-lg);
}

@media (min-width: 800px) {
  .service-visual {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1rem;
  }
}

.service-visual figure {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-visual figure:hover img {
  transform: scale(1.04);
}

.service-visual figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Steps */
.steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--moss);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--pine-deep);
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Split / About */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .split.reverse {
    direction: rtl;
  }

  .split.reverse > * {
    direction: ltr;
  }
}

.split-media {
  overflow: hidden;
  min-height: 22rem;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.credential-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.credential-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.98rem;
}

.credential-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.55rem;
  flex-shrink: 0;
  background: var(--amber);
  border-radius: 50%;
}

/* Locations */
.location-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.location {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.location h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.location p,
.location address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.location a {
  color: #7ad9f0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hours {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review {
  padding: 0;
}

.review blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 450;
  line-height: 1.45;
  color: var(--pine-deep);
  margin-bottom: 1rem;
}

.review cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

.stars {
  color: var(--amber);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.final-cta .display-sm {
  margin-inline: auto;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.final-cta .lede {
  margin-inline: auto;
}

.final-cta .cta-group {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--pine-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer .brand-mark {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.site-footer .brand-mark span {
  color: #7ad9f0;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ad9f0;
  margin-bottom: 1rem;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* Sticky mobile book bar */
.mobile-book-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(244, 247, 245, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.mobile-book-bar .btn {
  flex: 1;
}

@media (min-width: 880px) {
  .mobile-book-bar {
    display: none;
  }
}

body {
  padding-bottom: 4.5rem;
}

@media (min-width: 880px) {
  body {
    padding-bottom: 0;
  }
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 3rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 183, 224, 0.16), transparent 50%),
    linear-gradient(180deg, var(--mist), var(--fog));
}

.page-hero .display {
  max-width: 14ch;
  margin-bottom: 1rem;
}

/* Pricing table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2.5rem;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.price-table th {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--pine);
}

.service-block {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.service-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--pine-deep);
  margin-bottom: 0.75rem;
}

.service-block .outcome {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 0.5rem;
}

/* Contact form */
.form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pine);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--pine);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

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

.contact-aside h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--pine-deep);
}

.contact-aside p,
.contact-aside address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 880px) {
  .contact-layout {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 4rem;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Insurance callout */
.insurance-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  background: var(--pine);
  color: var(--white);
  margin-top: var(--space-lg);
}

.insurance-banner p {
  max-width: 36rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
}

.insurance-banner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--white);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pine-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  color: var(--moss);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 0.75rem;
  color: var(--muted);
  max-width: 42rem;
}

/* Modality landing pages */
.lp-hero {
  padding: calc(var(--nav-h) + 3rem) 0 2.5rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(0, 183, 224, 0.16), transparent 50%),
    linear-gradient(180deg, var(--mist), var(--fog));
}

.lp-hero .display {
  max-width: 16ch;
  margin-bottom: 1rem;
}

.lp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.lp-meta strong {
  color: var(--pine);
  font-weight: 600;
}

.benefit-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .benefit-list {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-list li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.benefit-list h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--pine-deep);
  margin-bottom: 0.35rem;
}

.benefit-list p {
  color: var(--muted);
  font-size: 0.95rem;
}

.who-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .who-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.who-col h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--pine-deep);
}

.who-col ul {
  display: grid;
  gap: 0.65rem;
}

.who-col li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--muted);
  font-size: 0.98rem;
}

.who-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--amber);
  border-radius: 50%;
}

.related-services {
  display: grid;
  gap: 0;
}

.related-services a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  color: var(--pine);
  font-family: var(--font-display);
  font-size: 1.2rem;
  transition: color 0.2s;
}

.related-services a:last-child {
  border-bottom: 1px solid var(--line);
}

.related-services a:hover {
  color: var(--amber-hover);
}

.related-services span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--moss);
}

/* Office photo carousels */
.office-carousel {
  position: relative;
  margin-top: 1.5rem;
  --carousel-h: min(62vw, 22rem);
}

.office-carousel--wide {
  --carousel-h: min(58vw, 26rem);
}

.office-carousel-viewport {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}

.office-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.office-carousel figure {
  flex: 0 0 min(82%, 22rem);
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  height: var(--carousel-h);
  background: var(--pine-deep);
}

.office-carousel--wide figure {
  flex-basis: min(88%, 34rem);
}

.office-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.office-carousel-nav {
  position: absolute;
  top: 50%;
  translate: 0 -55%;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pine);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(7, 22, 40, 0.18);
  transition: background 0.2s var(--ease), opacity 0.2s var(--ease);
}

.office-carousel-nav:hover {
  background: var(--white);
}

.office-carousel-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.office-carousel-nav.prev {
  left: 0.55rem;
}

.office-carousel-nav.next {
  right: 0.55rem;
}

.office-carousel-nav svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.office-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.office-carousel-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 35, 64, 0.28);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.office-carousel-dots button[aria-current="true"] {
  background: var(--amber);
  transform: scale(1.2);
}

.section-pine .office-carousel-dots button {
  background: rgba(255, 255, 255, 0.35);
}

.section-pine .office-carousel-dots button[aria-current="true"] {
  background: var(--amber);
}

@media (min-width: 900px) {
  .office-carousel {
    --carousel-h: 18.5rem;
  }

  .office-carousel--wide {
    --carousel-h: 24rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .office-carousel-viewport {
    scroll-behavior: auto;
  }
}

.portrait {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100%;
  min-height: 22rem;
}

.nav-dropdown {
  position: relative;
}

@media (min-width: 880px) {
  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav-submenu {
  display: none;
}

@media (min-width: 880px) {
  .nav-submenu {
    display: grid;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translate(-50%, 6px);
    min-width: 15rem;
    padding: 0.75rem 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
      visibility 0.2s;
    z-index: 120;
  }

  .nav-submenu a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    color: var(--muted);
  }

  .nav-submenu a:hover {
    color: var(--pine);
    background: var(--mist);
  }
}

.mobile-nav .sub {
  display: grid;
  gap: 0.5rem;
  padding-left: 0.75rem;
  margin: -0.35rem 0 0.5rem;
}

.mobile-nav .sub a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
}

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

  .hero-media img,
  .reveal,
  .hero-brand,
  .hero h1,
  .hero .lede,
  .hero .cta-group {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
