@import 'tailwindcss';
@import 'tw-animate-css';
@import 'shadcn/tailwind.css';

:root {
  --navy: #07172d;
  --blue: #6d8aa5;
  --paper: #f4f3ef;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: Arial, Helvetica, sans-serif; }
button, a { font: inherit; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
  color: var(--white);
  isolation: isolate;
}
.intro-curtain { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: var(--paper); color: var(--navy); animation: curtain-exit .7s ease .65s forwards; pointer-events: none; }
.intro-curtain::before, .intro-curtain::after { content: ''; position: absolute; width: 1px; height: 24vh; background: rgba(7,23,45,.22); transform: scaleY(0); animation: line-draw .75s ease .05s forwards; }
.intro-curtain::before { top: 0; } .intro-curtain::after { bottom: 0; }
.intro-curtain span { display: grid; width: 5rem; height: 5rem; place-items: center; border: 1px solid rgba(7,23,45,.45); border-radius: 50%; font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; letter-spacing: .08em; animation: mark-in .8s ease both; }

.hero-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--navy); clip-path: inset(39% 42% 39% 42%); animation: visual-expand 1.65s cubic-bezier(.76,0,.24,1) .7s forwards; }
.video-placeholder, .hero-shade { position: absolute; inset: 0; }
.video-placeholder {
  background: radial-gradient(circle at 72% 44%, rgba(143, 177, 206, 0.36), transparent 25%), linear-gradient(112deg, #020711 5%, #102b49 52%, #071321 100%);
  transform: scale(1.04);
  animation: film-drift 12s ease-in-out infinite alternate;
}
.placeholder-grain {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.025) 3px 4px);
}
.video-placeholder p {
  position: absolute;
  inset: 50% auto auto 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,.44);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(2, 8, 17, .88) 0%, rgba(3, 10, 21, .4) 57%, rgba(3, 10, 21, .18) 100%); }
.site-header, .hero-copy, .film-note { position: relative; z-index: 2; opacity: 0; animation: hero-content-in .85s ease 2.15s forwards; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, 90rem);
  margin: 0 auto;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.site-header nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); }
.site-header nav a, .wordmark { margin: 0; color: rgba(255,255,255,.82); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.site-header nav a { position: relative; text-decoration: none; }
.site-header nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.4rem; height: 1px; background: white; transition: right .25s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { right: 0; }
.wordmark { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.wordmark span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: .04em;
}
.hero-copy { position: relative; min-height: calc(100svh - 11rem); width: min(100% - 3rem, 90rem); margin: 0 auto; padding-top: clamp(9rem, 20vh, 14rem); }
.hero-message { transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1), filter .9s ease; }
.eyebrow { margin: 0 0 1.5rem; color: rgba(255,255,255,.7); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.navy { color: #526b83; }
.hero h1 {
  max-width: 62rem;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.6rem, 8.2vw, 8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
  text-wrap: balance;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 2.7rem;
  margin-top: 3.25rem;
  padding: 1rem 1.1rem 1rem 1.35rem;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: white;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease, transform .95s cubic-bezier(.22,1,.36,1), left .95s cubic-bezier(.22,1,.36,1), bottom .95s cubic-bezier(.22,1,.36,1);
}
.hero-cta span { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: 50%; background: white; color: var(--navy); }
.hero-cta:hover, .hero-cta:focus-visible { background: white; color: var(--navy); transform: translateY(-2px); }
.hero-settled .hero-message { opacity: 0; transform: translateY(-2rem); filter: blur(8px); pointer-events: none; }
.hero-settled .hero-cta { position: absolute; left: 0; bottom: 43%; margin: 0; transform: translateY(50%); }
.hero-settled .hero-cta:hover, .hero-settled .hero-cta:focus-visible { transform: translateY(calc(50% - 3px)); }
.film-note {
  position: absolute;
  right: max(1.5rem, calc((100vw - 90rem) / 2));
  bottom: 1.75rem;
  margin: 0;
  color: rgba(255,255,255,.56);
  font-size: .72rem;
  letter-spacing: .08em;
}

.numbers {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(18rem, .85fr) minmax(24rem, 1.15fr);
  align-content: center;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(5rem, 11vw, 10rem) max(1.5rem, calc((100vw - 90rem) / 2));
  background: var(--paper);
  overflow: hidden;
}
.numbers::after {
  content: '';
  position: absolute;
  width: min(48rem, 70vw);
  aspect-ratio: 1;
  right: -25rem;
  bottom: -28rem;
  border: 1px solid rgba(7,23,45,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(7,23,45,.025), 0 0 0 8rem rgba(7,23,45,.018);
}
.numbers h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.5rem, 4.4vw, 4.9rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.stat-reveal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 25rem;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid rgba(7,23,45,.24);
}
.stat-value { display: block; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(5.5rem, 13vw, 13rem); font-variant-numeric: tabular-nums; letter-spacing: -.085em; line-height: .82; }
.plus { color: var(--blue); font-size: .38em; vertical-align: top; }
.stat-label { margin-top: 1.7rem; color: #526173; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.numbers-footnote { grid-column: 2; max-width: 34rem; margin: -4rem 0 0; color: #617080; font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; line-height: 1.5; }

.pathways, .portfolio { padding: clamp(6rem, 10vw, 10rem) max(1.5rem, calc((100vw - 90rem) / 2)); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.single-heading { grid-template-columns: 1fr; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2, .events h2, .about h2, .reviews h2, .contact h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 5.5vw, 6rem); font-weight: 400; letter-spacing: -.052em; line-height: .96; }
.pathway-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(7,23,45,.25); border-bottom: 1px solid rgba(7,23,45,.25); }
.pathway-card { position: relative; min-height: 28rem; padding: 2rem; color: var(--navy); text-decoration: none; transition: background .25s ease, color .25s ease; }
.pathway-card + .pathway-card { border-left: 1px solid rgba(7,23,45,.25); }
.pathway-card span { color: #758394; font-size: .72rem; letter-spacing: .16em; }
.pathway-card h3 { max-width: 26rem; margin: 7rem 0 1.25rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 3.5vw, 3.8rem); font-weight: 400; line-height: 1; }
.pathway-card p { max-width: 28rem; color: #5b6878; font-size: 1.05rem; line-height: 1.6; }
.pathway-card strong { position: absolute; bottom: 2rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.pathway-card:hover { background: var(--navy); color: white; }
.pathway-card:hover p, .pathway-card:hover span { color: rgba(255,255,255,.7); }

.events { padding: clamp(6rem, 10vw, 9rem) max(1.5rem, calc((100vw - 90rem) / 2)); background: var(--navy); color: white; overflow: hidden; }
.events-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 4rem; }
.events-head h2 { max-width: 48rem; }
.event-controls { display: flex; gap: .65rem; }
.event-controls button { width: 3.25rem; height: 3.25rem; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: transparent; color: white; cursor: pointer; font-size: 1.2rem; }
.event-controls button:hover { background: white; color: var(--navy); }
.event-track, .listing-track { display: flex; gap: 1rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.event-track::-webkit-scrollbar, .listing-track::-webkit-scrollbar { display: none; }
.calendar-card { flex: 0 0 min(27rem, 82vw); border: 1px solid rgba(255,255,255,.32); scroll-snap-align: start; }
.calendar-meta { display: grid; grid-template-columns: 5.5rem 1fr; min-height: 9.5rem; padding: 1.4rem; gap: 1.35rem; }
.calendar-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid rgba(255,255,255,.28); }
.calendar-date span { font-size: .78rem; letter-spacing: .15em; }
.calendar-date strong { margin-top: .25rem; font-family: Georgia, 'Times New Roman', serif; font-size: 2.4rem; font-weight: 400; }
.calendar-meta h3 { margin: .1rem 0 1.1rem; font-family: Georgia, 'Times New Roman', serif; font-size: 1.4rem; font-weight: 400; }
.calendar-meta p { margin: .45rem 0; color: rgba(255,255,255,.62); font-size: .75rem; }
.event-image, .listing-image { display: grid; place-items: center; min-height: 17rem; color: rgba(255,255,255,.6); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.image-harbor { background: radial-gradient(circle at 70% 20%, #8096aa, transparent 28%), linear-gradient(150deg,#102c46,#050d18); }
.image-terrace { background: linear-gradient(145deg,#927a67,#24344a 52%,#0b1728); }
.image-coast { background: radial-gradient(circle at 45% 35%,#aec1cf,transparent 25%),linear-gradient(160deg,#476a82,#0b1b2d); }
.image-glass { background: linear-gradient(130deg,#15283b,#6c8498 48%,#192c3d); }
.calendar-card > a { display: block; padding: 1.15rem; background: rgba(255,255,255,.07); border-top: 1px solid rgba(255,255,255,.28); color: white; text-align: center; text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.preview-note { margin: 1.25rem 0 0; color: rgba(255,255,255,.45); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.about { display: grid; grid-template-columns: minmax(20rem, .9fr) minmax(25rem, 1.1fr); gap: clamp(4rem, 10vw, 10rem); align-items: center; padding: clamp(6rem, 10vw, 10rem) max(1.5rem, calc((100vw - 90rem) / 2)); }
.portrait { position: relative; min-height: 46rem; margin: 0; overflow: hidden; background: #d7d0c6; }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 60%,rgba(7,23,45,.18)); pointer-events: none; }
.portrait img { width: 100%; height: 46rem; display: block; object-fit: cover; object-position: 50% 48%; }
.about-copy > p:not(.eyebrow) { max-width: 41rem; color: #586676; font-size: 1.05rem; line-height: 1.75; }
.about-copy h2 { margin-bottom: 2.5rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: .65rem; margin: 2rem 0; }
.about-tags span { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem .85rem; border: 1px solid rgba(7,23,45,.2); border-radius: 999px; color: #42546a; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.about-tags i { display: grid; width: 1.25rem; height: 1.25rem; place-items: center; color: var(--blue); font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; font-style: normal; }

.portfolio { background: #0a1b31; color: white; }
.portfolio-heading { grid-template-columns: .4fr 1fr 1fr; align-items: start; }
.portfolio-heading:has(> h2:only-child) { grid-template-columns: 1fr; }
.portfolio-heading > p:last-child { margin: .5rem 0 0; color: rgba(255,255,255,.62); line-height: 1.6; }
.listing-card { flex: 0 0 min(29rem, 86vw); border: 1px solid rgba(255,255,255,.22); scroll-snap-align: start; }
.listing-image { position: relative; min-height: 24rem; transition: background .35s ease; }
.image-arrow { position: absolute; top: 50%; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(5,14,25,.45); color: white; cursor: pointer; transform: translateY(-50%); }
.image-arrow.prev { left: 1rem; } .image-arrow.next { right: 1rem; }
.image-dots { position: absolute; bottom: 1.2rem; left: 50%; display: flex; gap: .4rem; transform: translateX(-50%); }
.image-dots i { width: .4rem; height: .4rem; border-radius: 50%; background: rgba(255,255,255,.45); }
.image-dots i.active { background: white; }
.listing-copy { padding: 1.5rem; }
.listing-kicker { margin: 0 0 .55rem; color: #91a4b6; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.listing-copy h3 { margin: 0 0 1.6rem; font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 400; }
.listing-copy > strong { display: block; margin-bottom: 1rem; font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; font-weight: 400; }
.listing-facts { display: flex; gap: 1.5rem; padding-bottom: 1.4rem; color: rgba(255,255,255,.64); font-size: .75rem; text-transform: uppercase; }
.listing-copy > a { display: flex; justify-content: space-between; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.24); color: white; text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.reviews { padding: clamp(7rem, 12vw, 12rem) max(1.5rem, calc((100vw - 78rem) / 2)); }
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.reviews h2 { max-width: 52rem; }
.review-controls { display: flex; gap: .65rem; }
.review-controls button { width: 3.25rem; height: 3.25rem; border: 1px solid rgba(7,23,45,.3); border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; }
.review-controls button:hover { background: var(--navy); color: white; }
.testimonial-stage { display: grid; grid-template-columns: 1.4fr .6fr; gap: 4rem; align-items: end; margin-top: 5rem; padding: 4rem 0; border-top: 1px solid rgba(7,23,45,.2); border-bottom: 1px solid rgba(7,23,45,.2); animation: quote-in .55s ease both; }
.testimonial-stage blockquote { margin: 0; color: #35475c; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem,4vw,4rem); line-height: 1.15; }
.testimonial-stage > p { display: flex; flex-direction: column; gap: .45rem; margin: 0; color: #607083; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.testimonial-stage > p strong { color: var(--navy); }
.testimonial-progress { display: flex; gap: .5rem; margin-top: 1.5rem; }
.testimonial-progress button { width: 2rem; height: 2px; padding: 0; border: 0; background: rgba(7,23,45,.2); cursor: pointer; }
.testimonial-progress button.active { background: var(--navy); }
.review-preview-note { margin-top: 1.25rem; color: #718093; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; padding: clamp(6rem, 10vw, 10rem) max(1.5rem, calc((100vw - 90rem) / 2)); background: #6c8498; color: white; }
.contact > div > p:last-child { max-width: 32rem; color: rgba(255,255,255,.72); font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; line-height: 1.55; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
.lead-form label { display: flex; flex-direction: column; gap: .65rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.58); border-radius: 0; outline: none; background: transparent; color: white; font-size: 1rem; padding: .75rem 0; }
.lead-form option { color: var(--navy); }
.lead-form .full { grid-column: 1 / -1; }
.lead-form button { justify-self: start; padding: 1rem 2rem; border: 1px solid white; border-radius: 999px; background: white; color: var(--navy); cursor: pointer; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lead-form small { color: rgba(255,255,255,.62); line-height: 1.5; }
.footer { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; padding: 2rem max(1.5rem, calc((100vw - 90rem) / 2)); background: #031021; color: white; }
.footer p { margin: 0; color: rgba(255,255,255,.58); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

@keyframes film-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -.8%, 0); } }
@keyframes curtain-exit { 0%,48% { transform: translateY(0); } 100% { transform: translateY(-100%); } }
@keyframes visual-expand { from { clip-path: inset(39% 42% 39% 42%); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-content-in { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes quote-in { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes line-draw { to { transform: scaleY(1); } }
@keyframes mark-in { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .video-placeholder, .intro-curtain, .intro-curtain span, .intro-curtain::before, .intro-curtain::after { animation: none; } .intro-curtain { display: none; } .hero-message, .hero-cta { transition: none; } }
@media (max-width: 760px) {
  .site-header { width: min(100% - 2rem, 90rem); }
  .site-header { align-items: flex-start; }
  .site-header nav { max-width: 58vw; justify-content: flex-end; flex-wrap: wrap; gap: .65rem 1rem; }
  .site-header nav a { font-size: .62rem; }
  .hero-copy { width: min(100% - 2rem, 90rem); padding-top: 10rem; }
  .hero h1 { font-size: clamp(3.4rem, 15.5vw, 5.2rem); }
  .film-note { left: 1rem; right: auto; }
  .numbers { grid-template-columns: 1fr; align-content: start; gap: 4rem; padding-top: 7rem; }
  .stat-reveal { min-height: auto; padding: 2.8rem 0 2.8rem 1.5rem; }
  .stat-value { font-size: clamp(5.4rem, 27vw, 8.2rem); }
  .numbers-footnote { grid-column: 1; margin: -2rem 0 0; }
  .section-heading, .about, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card + .pathway-card { border-left: 0; border-top: 1px solid rgba(7,23,45,.25); }
  .pathway-card { min-height: 25rem; }
  .portrait, .portrait img { min-height: 32rem; height: 32rem; }
  .portfolio-heading { grid-template-columns: 1fr; }
  .events-head { align-items: start; }
  .event-controls { margin-top: 4.7rem; }
  .listing-image { min-height: 21rem; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form label { grid-column: 1; }
  .footer { grid-template-columns: 1fr; }
  .reviews-head, .testimonial-stage { display: grid; grid-template-columns: 1fr; gap: 2rem; }
  .review-controls { margin-top: 1rem; }
}

.hero-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; animation:film-drift 12s ease-in-out infinite alternate; }
.event-image[style] { background-size:cover; background-position:center; }
.gallery-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .35s ease; }
.gallery-img.active { opacity:1; }
.testimonial-stage { display:none; }
.testimonial-stage.active { display:grid; }
.trap { position:absolute!important; left:-9999px!important; }
