:root {
  --bg: #f4efe6;
  --bg-soft: #efe7d8;
  --surface: rgba(255, 250, 242, 0.78);
  --surface-strong: rgba(255, 248, 238, 0.94);
  --surface-dark: #142033;
  --text: #1d2430;
  --muted: #5e6673;
  --line: rgba(20, 32, 51, 0.12);
  --line-strong: rgba(20, 32, 51, 0.22);
  --navy: #182639;
  --navy-deep: #0f1826;
  --gold: #b68b43;
  --gold-soft: #d1b37a;
  --shadow: 0 24px 80px rgba(15, 24, 38, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 187, 132, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(24, 38, 57, 0.18), transparent 34%),
    linear-gradient(180deg, #f7f2eb 0%, #f4efe6 42%, #eee5d6 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 38, 57, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 38, 57, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 80%);
  z-index: -2;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.65;
  z-index: -1;
  pointer-events: none;
}

.site-shell::before {
  width: 320px;
  height: 320px;
  top: 14vh;
  left: -100px;
  background: rgba(182, 139, 67, 0.18);
}

.site-shell::after {
  width: 380px;
  height: 380px;
  right: -120px;
  bottom: 10vh;
  background: rgba(24, 38, 57, 0.14);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(182, 139, 67, 0.25);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.62);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 18px rgba(182, 139, 67, 0.55);
}

h1,
h2,
h3,
.nav-logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

.navbar {
  position: sticky;
  top: 18px;
  z-index: 1000;
  width: var(--container);
  margin: 18px auto 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.78);
  box-shadow: 0 18px 50px rgba(18, 25, 38, 0.12);
  backdrop-filter: blur(20px);
}

.navbar.is-scrolled {
  background: rgba(255, 248, 240, 0.92);
  box-shadow: 0 22px 60px rgba(18, 25, 38, 0.16);
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-logo {
  font-size: clamp(1.55rem, 2vw, 2rem);
  text-decoration: none;
  color: var(--navy-deep);
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(24, 38, 57, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(24, 38, 57, 0.08);
  color: var(--navy-deep);
  transform: translateY(-1px);
}

.hamburger-menu {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(24, 38, 57, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

.hamburger-menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 220ms ease, opacity 220ms ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  width: var(--container);
  min-height: min(92vh, 980px);
  margin: 28px auto 0;
  border-radius: clamp(28px, 4vw, 46px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: clamp(34px, 5vw, 72px);
  background-color: var(--navy-deep);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 24, 38, 0.05) 0%, rgba(15, 24, 38, 0.62) 52%, rgba(15, 24, 38, 0.9) 100%),
    radial-gradient(circle at 20% 20%, rgba(233, 211, 165, 0.3), transparent 20%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(15, 24, 38, 0.75));
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.05);
}

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

.hero-content h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.94;
  margin: 18px 0 22px;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.hero-content p {
  max-width: 620px;
  color: rgba(255, 247, 236, 0.94);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 600;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-meta span {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 247, 236, 0.18);
  border-radius: 16px;
  background: rgba(255, 247, 236, 0.08);
  color: rgba(255, 247, 236, 0.96);
  font-size: 0.93rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
button,
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease;
}

.button:hover,
button:hover,
.cta-button:hover {
  transform: translateY(-2px);
}

.button-ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(0);
  animation: button-ripple 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 0;
}

.button-primary .button-ripple {
  background: rgba(255, 255, 255, 0.5);
}

.button-secondary .button-ripple {
  background: rgba(255, 247, 236, 0.3);
}

@keyframes button-ripple {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

.button-primary {
  background: linear-gradient(135deg, #f8ead2, #d8b271);
  color: var(--navy-deep);
  box-shadow: 0 18px 40px rgba(182, 139, 67, 0.28);
}

.button-secondary {
  background: rgba(255, 247, 236, 0.08);
  color: #fff7ec;
  border: 1px solid rgba(255, 247, 236, 0.18);
}

.section {
  width: var(--container);
  margin: 32px auto 0;
  padding: clamp(26px, 4vw, 44px);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.section-tight {
  padding-top: clamp(18px, 3vw, 30px);
  padding-bottom: clamp(18px, 3vw, 30px);
}

.section-spacious {
  padding-top: clamp(32px, 4vw, 42px);
  padding-bottom: clamp(32px, 4vw, 42px);
}

.content-frame {
  width: 100%;
  padding: 16px 0 20px;
}

.section-header {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.section-header h2,
.section-header h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  color: var(--navy-deep);
}

.section-header p {
  max-width: 720px;
  font-size: 1.04rem;
}

.grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

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

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

.feature-card,
.stat-card,
.quote-card,
.video-card,
.card,
.contact-card,
.photo-card,
.about-card,
.form-shell {
  position: relative;
  border: 1px solid rgba(24, 38, 57, 0.1);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: 0 18px 40px rgba(18, 25, 38, 0.08);
}

.feature-card,
.stat-card,
.quote-card,
.contact-card,
.about-card,
.form-shell,
.video-card {
  height: 100%;
}

.feature-card,
.stat-card,
.quote-card,
.contact-card,
.about-card,
.form-shell {
  padding: clamp(24px, 3vw, 34px);
}

.feature-card,
.stat-card,
.quote-card,
.contact-card,
.about-card {
  display: flex;
  flex-direction: column;
}

.feature-card h3,
.stat-card h3,
.quote-card h3,
.contact-card h3,
.about-card h3 {
  font-size: 2rem;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.feature-card p,
.quote-card p,
.contact-card p,
.about-card p {
  font-size: 0.98rem;
}

.feature-card strong,
.stat-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.stat-card {
  display: grid;
  gap: 4px;
}

.stat-card h3 {
  font-size: clamp(1.7rem, 2.1vw, 2.4rem);
  line-height: 1.04;
  white-space: nowrap;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.metrics-shell {
  display: grid;
  gap: 22px;
}

.metrics-intro {
  max-width: 760px;
}

.metrics-grid .stat-card {
  min-height: 100%;
}

.reviews-carousel {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(24, 38, 57, 0.1);
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    radial-gradient(circle at top right, rgba(182, 139, 67, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(255, 247, 239, 0.82));
  box-shadow: 0 18px 40px rgba(18, 25, 38, 0.08);
  overflow: hidden;
}

.reviews-carousel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.reviews-carousel-meta {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.reviews-carousel-kicker {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.reviews-carousel-meta p {
  font-size: 0.98rem;
}

.reviews-carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-button {
  width: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid rgba(24, 38, 57, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(18, 25, 38, 0.08);
}

.carousel-button:hover {
  background: #fff;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(24, 38, 57, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.review-stars {
  letter-spacing: 0.2em;
  color: var(--gold);
  font-size: 1rem;
}

.review-quote {
  max-width: 860px;
  color: var(--navy-deep);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.08;
}

.review-author {
  display: grid;
  gap: 2px;
}

.review-author strong {
  font-size: 0.98rem;
  color: var(--navy-deep);
}

.review-author span {
  color: var(--muted);
  font-size: 0.94rem;
}

.reviews-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reviews-carousel-status {
  font-size: 0.94rem;
  color: var(--muted);
}

.reviews-carousel-status:empty {
  display: none;
}

.carousel-dot {
  width: 12px;
  min-width: 12px;
  min-height: 12px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(24, 38, 57, 0.18);
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease;
}

.carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.15);
}

.carousel-dot:focus-visible,
.carousel-button:focus-visible {
  outline: 2px solid rgba(182, 139, 67, 0.9);
  outline-offset: 3px;
}

.media-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 6px);
  background: var(--navy-deep);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.why-it-matters-frame {
  min-height: 460px;
}

.why-it-matters-image {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100% + 120px);
  top: -80px;
  object-fit: cover;
  object-position: center top;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(15, 24, 38, 0.6));
}

.content-stack {
  display: grid;
  gap: 22px;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text);
}

.split-lines p + p {
  margin-top: 1rem;
}

.gallery-section {
  width: var(--container);
  margin: 32px auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  cursor: pointer;
}

.photo-card:nth-child(4n + 1) {
  grid-column: span 7;
}

.photo-card:nth-child(4n + 2) {
  grid-column: span 5;
}

.photo-card:nth-child(4n + 3) {
  grid-column: span 5;
}

.photo-card:nth-child(4n + 4) {
  grid-column: span 7;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 24, 38, 0.04), rgba(15, 24, 38, 0.5));
  z-index: 1;
}

.photo-card::after {
  content: attr(data-title);
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff7ec;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.photo-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: fit-content;
  margin: -20px auto 40px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  grid-auto-flow: row;
}

.video-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-copy,
.contact-card {
  padding: clamp(22px, 3vw, 30px);
}

.video-copy {
  padding-top: clamp(22px, 3vw, 30px);
  padding-bottom: clamp(22px, 3vw, 30px);
}

.form-layout {
  align-items: stretch;
}

.video-copy h3 {
  font-size: 1.8rem;
  color: var(--navy-deep);
}

.video-copy p {
  margin-top: 8px;
}

.about-people {
  display: grid;
  gap: 24px;
}

.about-person {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  grid-auto-rows: minmax(520px, auto);
}

.about-person:nth-child(even) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-person:nth-child(even) .about-photo {
  order: 2;
}

.about-photo {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  align-self: stretch;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.about-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-self: stretch;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  width: fit-content;
  margin: -20px auto 40px;
}

.form-shell {
  padding: 28px;
  min-height: 100%;
}

.videos-section {
  padding-top: 12px;
  padding-bottom: 18px;
}

.videos-frame {
  padding-top: 6px;
  padding-bottom: 26px;
}

.videos-section .video-grid {
  align-items: stretch;
}

.videos-section .video-card {
  min-height: 100%;
}

.request-section {
  padding-top: 12px;
  padding-bottom: 18px;
}

.request-frame {
  padding-top: 6px;
  padding-bottom: 26px;
}

.request-section .form-layout {
  align-items: stretch;
}

.request-section .about-card,
.request-section .form-shell {
  min-height: 100%;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 38, 57, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 38, 57, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: rgba(182, 139, 67, 0.7);
  box-shadow: 0 0 0 4px rgba(182, 139, 67, 0.15);
  background: #fff;
}

.contact-card i {
  color: var(--gold);
  margin-bottom: 14px;
}

.contact-card a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-top: auto;
  padding-top: 14px;
}

.contact-card.scroll-reveal[data-reveal],
.feature-card.scroll-reveal[data-reveal] {
  transform: translate3d(0, 42px, 0) scale(0.985);
}

.page-header {
  width: var(--container);
  margin: 28px auto 0;
  padding: clamp(34px, 6vw, 54px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(24, 38, 57, 0.92), rgba(24, 38, 57, 0.8)),
    radial-gradient(circle at top left, rgba(214, 187, 132, 0.26), transparent 28%);
  color: #fff7ec;
  box-shadow: var(--shadow);
}

.page-header h1 {
  font-size: clamp(3.6rem, 8vw, 6rem);
  line-height: 0.96;
}

.page-header p {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 247, 236, 0.92);
  font-size: 1.08rem;
  font-weight: 600;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(10, 16, 26, 0.84);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 1200;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.footer {
  width: var(--container);
  margin: 32px auto 28px;
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  background: rgba(20, 32, 51, 0.92);
  color: rgba(255, 247, 236, 0.8);
}

.footer p {
  color: inherit;
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 820ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 820ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.scroll-reveal[data-reveal="left"] {
  transform: translate3d(0, 42px, 0) scale(0.985);
}

.scroll-reveal[data-reveal="right"] {
  transform: translate3d(0, 42px, 0) scale(0.985);
}

.scroll-reveal[data-reveal="fade"] {
  transform: scale(0.985);
}

.split-text {
  overflow: visible;
  padding-bottom: 0.16em;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.22em;
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 1.05em, 0) rotate(4deg);
  transition:
    opacity 650ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--char-index) * 26ms);
  will-change: transform, opacity;
}

.split-text.is-visible .split-char {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg);
}

.feature-card,
.quote-card,
.about-card,
.contact-card,
.form-shell,
.stat-card,
.video-copy {
  overflow: hidden;
}

.thank-you {
  display: none;
  margin-top: 18px;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(182, 139, 67, 0.12);
  color: var(--navy);
  font-weight: 800;
}

.thank-you.is-visible {
  display: block;
}

.schedule-section {
  padding-top: 12px;
  padding-bottom: 18px;
}

.schedule-frame {
  padding-top: 6px;
  padding-bottom: 26px;
}

.schedule-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 22px;
  align-items: start;
}

.schedule-calendar-panel,
.schedule-form-panel {
  min-height: 100%;
}

.schedule-calendar-panel {
  display: grid;
  gap: 18px;
}

.calendar-toggle {
  display: none;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(24, 38, 57, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-deep);
  font-weight: 800;
  cursor: pointer;
}

.calendar-dropdown {
  display: block;
}

.calendar-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(24, 38, 57, 0.08);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: none;
}

.calendar-card-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-card-header h3,
.time-slot-header h4 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1;
  color: var(--navy-deep);
  margin-top: 8px;
}

.schedule-kicker,
.choice-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}

.calendar-month,
.time-slot-header p {
  color: var(--muted);
  font-size: 0.92rem;
}

.calendar-nav-button {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(24, 38, 57, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-deep);
  cursor: pointer;
  box-shadow: none;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(24, 38, 57, 0.6);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day {
  min-height: 82px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(24, 38, 57, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-deep);
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.calendar-day span {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted);
}

.calendar-day strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 400;
}

.calendar-day em {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 800;
  color: rgba(24, 38, 57, 0.58);
}

.calendar-day:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 139, 67, 0.18);
}

.calendar-day.is-muted {
  opacity: 0.42;
  box-shadow: none;
}

.calendar-day.is-disabled {
  cursor: not-allowed;
}

.calendar-day.is-disabled:hover {
  transform: none;
}

.calendar-day.is-selected {
  border-color: rgba(182, 139, 67, 0.5);
  background: linear-gradient(180deg, rgba(248, 234, 210, 0.96), rgba(255, 255, 255, 0.98));
}

.calendar-day.is-selected span,
.calendar-day.is-selected em {
  color: var(--navy);
}

.session-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.session-summary {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(24, 38, 57, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.session-summary strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.02;
  font-weight: 400;
  color: var(--navy-deep);
}

.session-summary p {
  font-size: 0.94rem;
}

.choice-group {
  display: grid;
  gap: 10px;
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-pill,
.time-slot,
.calendar-nav-button {
  border: 1px solid rgba(24, 38, 57, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy-deep);
  box-shadow: 0 10px 20px rgba(18, 25, 38, 0.05);
}

.choice-pill,
.time-slot {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.choice-pill:hover,
.time-slot:hover,
.calendar-nav-button:hover {
  transform: translateY(-1px);
}

.choice-pill.is-active,
.time-slot.is-active,
.calendar-nav-button.is-active {
  background: linear-gradient(135deg, #f8ead2, #d8b271);
  border-color: rgba(182, 139, 67, 0.45);
  color: var(--navy-deep);
}

.time-slot-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(24, 38, 57, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.time-slot-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.custom-time-label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}

.time-slot {
  width: 100%;
  justify-content: center;
}

.schedule-form-panel {
  position: sticky;
  top: 110px;
}

.schedule-form-shell {
  display: grid;
  gap: 20px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(248, 241, 229, 0.98)),
    radial-gradient(circle at top right, rgba(182, 139, 67, 0.08), transparent 24%);
}

.schedule-form-copy {
  display: grid;
  gap: 10px;
}

.schedule-form-copy h3 {
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  color: var(--navy-deep);
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.schedule-form {
  gap: 16px;
}

.schedule-submit {
  width: 100%;
}

@media (max-width: 980px) {
  .two-col,
  .three-col,
  .hero-panel,
  .video-grid,
  .about-person,
  .about-person:nth-child(even),
  .form-layout,
  .schedule-layout,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .about-person:nth-child(even) .about-photo {
    order: 0;
  }

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

  .photo-card:nth-child(n) {
    grid-column: span 1;
  }

  .section,
  .page-header,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .reviews-carousel-header {
    align-items: start;
    flex-direction: column;
  }

  .schedule-form-panel {
    position: static;
  }

  .calendar-card-header {
    align-items: start;
    flex-direction: column;
  }

  .calendar-controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 840px) {
  .navbar {
    width: min(calc(100vw - 24px), var(--container));
    top: 12px;
    padding: 12px 14px;
  }

  .hamburger-menu {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    background: rgba(255, 248, 240, 0.96);
    box-shadow: 0 18px 40px rgba(18, 25, 38, 0.12);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    justify-content: flex-start;
    padding: 0.85rem 1rem;
  }

  .hero {
    min-height: 78vh;
    align-items: flex-end;
    padding: 28px 22px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-content p {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 1180px);
  }

  .hero-content h1,
  .page-header h1,
  .section-header h2,
  .section-header h1 {
    letter-spacing: -0.04em;
  }

  .hero-content h1 {
    font-size: clamp(3.3rem, 18vw, 4.6rem);
    line-height: 0.98;
  }

  .hero-meta span,
  .button,
  button,
  .cta-button {
    width: 100%;
  }

  .navbar {
    border-radius: 26px;
  }

  .page-header,
  .section,
  .footer {
    border-radius: 24px;
    padding: 22px 18px;
  }

  .section-header h2,
  .section-header h1,
  .page-header h1,
  .about-card h3,
  .feature-card h3,
  .contact-card h3,
  .video-copy h3 {
    line-height: 1.04;
  }

  .feature-card,
  .stat-card,
  .quote-card,
  .contact-card,
  .about-card,
  .form-shell,
  .video-copy,
  .review-card,
  .reviews-carousel {
    padding: 20px 18px;
  }

  .hero-actions {
    gap: 10px;
  }

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

  .photo-card {
    min-height: 260px;
  }

  .media-frame,
  .about-photo {
    min-height: 300px;
  }

  .why-it-matters-frame {
    min-height: 360px;
  }

  .why-it-matters-image {
    height: calc(100% + 70px);
    top: -35px;
  }

  .video-grid,
  .contact-cards,
  .grid,
  .content-stack,
  .about-people,
  .form-layout {
    gap: 16px;
  }

  .reviews-carousel-controls {
    width: 100%;
  }

  .carousel-button {
    flex: 1;
  }

  .review-quote {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .calendar-day {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
  }

  .calendar-day span,
  .calendar-day em {
    font-size: 0.72rem;
  }

  .calendar-day strong {
    font-size: 1.15rem;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calendar-card {
    padding: 10px 0 0;
    gap: 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .calendar-card-header,
  .time-slot-header {
    align-items: start;
    flex-direction: column;
  }

  .calendar-card-header {
    padding: 0 2px;
  }

  .time-slot-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 8px;
  }

  .calendar-controls {
    flex-wrap: wrap;
  }

  .calendar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .calendar-dropdown {
    display: grid;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 260ms ease, opacity 260ms ease, transform 260ms ease;
  }

  .calendar-dropdown.is-open {
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .calendar-weekdays {
    display: none;
  }

  .calendar-day strong {
    min-width: 2.3rem;
    text-align: right;
  }

  .calendar-day.is-muted {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .scroll-reveal,
  .split-char {
    opacity: 1 !important;
    transform: none !important;
  }
}
