/* ===== Design tokens ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f2;
  --surface: #ffffff;
  --surface-2: #ececea;
  --border: #dcdcd8;
  --text: #14171a;
  --text-muted: #5c5f62;
  --navy: #002b49;
  --navy-light: #0a4a78;
  --navy-deep: #001a2e;
  --blue: #1c6ea4;
  --blue-bright: #2f8fd6;
  --font-head: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--navy);
}

h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h3 { font-size: 1.1rem; }

p { color: var(--text-muted); margin: 0 0 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ===== Motion / scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view { opacity: 1; transform: none; transition: none; }
}

/* Dot-grid texture */
.dot-field {
  background-image: radial-gradient(rgba(0, 43, 73, 0.16) 1.4px, transparent 1.4px);
  background-size: 20px 20px;
}
.dot-field-light {
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.4px, transparent 1.4px);
  background-size: 20px 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: scale(1.045); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--navy);
  color: #ffffff;
}
.btn-primary:hover { background: var(--navy-light); }

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 3px;
  transition: transform 0.2s var(--ease);
}
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }
.link-arrow:hover { transform: scale(1.05); }

/* ===== Top bar ===== */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar span.accent { color: #8fc1e8; font-weight: 700; text-transform: none; }
@media (max-width: 700px) {
  .topbar .container { flex-direction: column; gap: 2px; text-align: center; }
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0, 20, 40, 0.06); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 24px;
  flex-shrink: 0;
}
.logo-img {
  height: 25px;
  width: auto;
  display: block;
  transition: transform 0.25s var(--ease);
}
.logo:hover .logo-img { transform: scale(1.06); }
.logo-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--blue);
  border-left: 1px solid var(--border);
  padding-left: 12px;
  white-space: nowrap;
}
/* Hide only in the squeezed inline-nav range; below 860px the nav
   collapses to a hamburger, freeing space, so the label stays visible. */
@media (max-width: 1180px) and (min-width: 861px) {
  .logo-sub { display: none; }
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { white-space: nowrap; }

.nav-links a {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s var(--ease);
  padding-bottom: 4px;
}
.nav-links a:hover { transform: scale(1.08); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 24px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: block;
  }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
}

/* ===== Hero photo (full-viewport, top of page) ===== */
.hero-photo {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.05);
  z-index: 0;
}
.hero-photo .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(1.05);
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-photo .hero-video.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-video { display: none; }
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 26, 46, 0.28) 0%, rgba(0, 26, 46, 0.88) 100%);
}
.hero-photo .container {
  position: relative;
  z-index: 3;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero-photo .eyebrow { color: #8fc1e8; }
.hero-photo .eyebrow::before { background: #8fc1e8; }
.hero-photo h1 { color: #fff; max-width: 820px; }
.hero-photo p.lead { color: rgba(255, 255, 255, 0.85); font-size: 1.02rem; max-width: 560px; }
@media (max-width: 700px) {
  .hero-photo { min-height: 560px; }
}

/* ===== Stat strip ===== */
.stat-strip {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 28px 28px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}
@media (max-width: 860px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 500px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); }
}

/* ===== Sections ===== */
section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
@media (max-width: 700px) {
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

/* ===== Process steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.step-card {
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 28px 28px 24px;
  position: relative;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}
.step-card:last-child { border-right: none; }
.step-card:hover {
  background: var(--bg-alt);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 18px;
  display: block;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step-card { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ===== Value grid ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.value-item {
  border-top: 2px solid var(--navy);
  padding-top: 18px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.value-item:hover {
  transform: translateY(-4px);
  border-top-color: var(--blue);
}

@media (max-width: 900px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ===== Service detail blocks ===== */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: none; }

.service-block .index-num {
  font-family: var(--font-head);
  font-size: 5.5rem;
  color: var(--bg-alt);
  position: absolute;
  top: 40px;
  right: 0;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.service-block .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  border: 1px solid var(--navy);
  padding: 6px 12px;
  border-radius: 0;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.service-block h2 { position: relative; z-index: 1; }

.service-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}
.service-block ul li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  transition: padding-left 0.25s var(--ease), color 0.25s ease;
}
.service-block ul li:hover {
  padding-left: 8px;
  color: var(--text);
}
.service-block ul li:last-child { border-bottom: none; }
.service-block ul li::before,
.dash-list li::before {
  content: "—";
  color: var(--blue);
  flex-shrink: 0;
}

.dash-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dash-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}
.dash-list li:last-child { border-bottom: none; }

/* ===== Problem grid ===== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  border-top: 1px solid var(--border);
}
.problem-grid .dash-list li { padding: 16px 0; }
@media (max-width: 700px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ===== Venue / selected experience grid ===== */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.venue-item {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}
@media (max-width: 860px) {
  .venue-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .venue-grid { grid-template-columns: 1fr; }
}

/* ===== Price block ===== */
.price-block {
  border: 1px solid var(--border);
  padding: 48px;
  max-width: 480px;
}
.price-block .price-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.price-block .price-amount {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.price-block .dash-list { margin-bottom: 28px; }

/* ===== Trust line ===== */
.trust-line {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; gap: 24px; }
  .service-block .index-num { display: none; }
}

/* ===== Quote / testimonial ===== */
.quote-feature {
  background: var(--bg);
  color: var(--text);
  padding: 64px 0;
  position: relative;
}
.quote-feature blockquote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-feature p {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--navy);
  font-style: italic;
  line-height: 1.35;
}
.quote-feature cite {
  display: block;
  margin-top: 20px;
  color: var(--blue);
  font-style: normal;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ===== CTA banner ===== */
.cta-banner {
  text-align: center;
  padding: 72px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner .eyebrow { justify-content: center; }
.cta-banner p { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-row { justify-content: center; }

/* ===== Founder / about ===== */
.founder-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.founder-photo {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--navy);
  position: relative;
}
@media (max-width: 800px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 240px; }
}

.timeline {
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item .t-num {
  font-family: var(--font-head);
  color: var(--blue);
  font-size: 1.4rem;
}
@media (max-width: 560px) {
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border: 1px solid var(--border);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-panel {
  background: var(--bg-alt);
  color: var(--text);
  padding: 56px 44px;
  border-right: 1px solid var(--border);
}
@media (max-width: 860px) { .contact-panel { border-right: none; border-bottom: 1px solid var(--border); } }

.contact-form-wrap { padding: 56px 44px; }

.contact-info-item { margin-bottom: 28px; }
.contact-info-item .label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.contact-info-item p { color: var(--text); margin-bottom: 0; }
.contact-info-item a { display: inline-block; color: var(--text); transition: color 0.2s ease, transform 0.2s var(--ease); }
.contact-info-item a:hover { color: var(--blue); transform: scale(1.05); }

form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

input, textarea, select {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 43, 73, 0.08);
}
textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: -6px; }

/* ===== Footer ===== */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--navy); font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-grid p { color: var(--text-muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a {
  display: inline-block;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s var(--ease);
}
.footer-grid ul li a:hover { color: var(--blue); transform: scale(1.06); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
