:root {
  --navy: #102c3a;
  --navy-deep: #071c26;
  --ink: #172127;
  --paper: #fffdf8;
  --white: #ffffff;
  --rust: #b64d2e;
  --rust-dark: #8f351f;
  --gold: #f3b64c;
  --blue: #246a83;
  --line: #d7ddd9;
  --muted: #5b666b;
  --focus: #ffcd62;
  --max: 1180px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  padding: .75rem 1rem;
  color: var(--navy-deep);
  background: var(--focus);
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.demo-bar {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: .35rem 1rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: .82rem;
  text-align: center;
}
.demo-bar p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--navy);
  background: rgba(255, 253, 248, .98);
  border-bottom: 1px solid rgba(16, 44, 58, .16);
}
.header-inner {
  width: min(calc(100% - 2rem), var(--max));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-size: .9rem;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; }
.brand-copy small { margin-top: .3rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 1.35rem; }
.primary-nav > a:not(.button) {
  color: var(--navy);
  font-size: .92rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .35rem;
  text-decoration-color: transparent;
}
.primary-nav > a:not(.button):hover { text-decoration-color: currentColor; }
.primary-nav .nav-phone { color: var(--rust-dark); }
.menu-toggle { display: none; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.2rem;
  border: 2px solid var(--rust);
  border-radius: 4px;
  background: var(--rust);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.button:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.button-small { min-height: 42px; padding: .65rem .95rem; font-size: .9rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
  text-underline-offset: .35rem;
  text-decoration-thickness: 2px;
}
.text-link.light { color: var(--white); }
.text-link.dark { color: var(--navy); }

.hero { position: relative; height: min(760px, calc(100svh - 34px)); min-height: 610px; overflow: hidden; background: var(--navy-deep); }
.slides, .slide { position: absolute; inset: 0; }
.slide { visibility: hidden; opacity: 0; transition: opacity .55s ease; }
.slide.is-active { visibility: visible; opacity: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide[data-slide="0"] img { object-position: 50% 48%; }
.slide[data-slide="1"] img { object-position: 58% 48%; }
.slide[data-slide="2"] img { object-position: 56% 38%; }
.slide[data-slide="3"] img { object-position: 58% 45%; }
.slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 20, 28, .92) 0%, rgba(5, 20, 28, .72) 40%, rgba(5, 20, 28, .08) 73%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), var(--max));
  height: 100%;
  margin: 0 auto;
  padding: clamp(4rem, 11vh, 7rem) 0 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}
.hero-inner > * { max-width: 710px; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.eyebrow.dark { color: var(--rust-dark); }
.hero h1, .hero h2 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 6.1vw, 5.6rem);
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-copy { margin: 1.5rem 0 0; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.55; }
.hero-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.carousel-controls {
  position: absolute;
  z-index: 5;
  left: max(1rem, calc((100% - var(--max)) / 2));
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.carousel-button, .pause-button {
  min-width: 46px;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 4px;
  color: var(--white);
  background: rgba(7, 28, 38, .72);
  cursor: pointer;
}
.carousel-button { font-size: 1.35rem; }
.pause-button { padding: .55rem .8rem; display: flex; align-items: center; gap: .45rem; font-size: .84rem; font-weight: 800; }
.carousel-button:hover, .pause-button:hover { background: var(--white); color: var(--navy-deep); }
.pause-icon { min-width: 1rem; font-size: .75rem; }
.slide-dots { display: flex; align-items: center; gap: .25rem; padding: 0 .25rem; }
.dot { width: 28px; height: 44px; position: relative; border: 0; background: transparent; cursor: pointer; }
.dot::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; background: rgba(255,255,255,.45); transform: translateY(-50%); }
.dot.is-active::after { background: var(--gold); }
.photo-credit { position: absolute; z-index: 5; right: 1rem; bottom: .65rem; margin: 0; color: rgba(255,255,255,.88); font-size: .76rem; }
.photo-credit a { text-underline-offset: .2rem; }

.trust-band { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-inner p { margin: 0; padding: 1.3rem 1.5rem; border-left: 1px solid var(--line); display: grid; }
.trust-inner p:last-child { border-right: 1px solid var(--line); }
.trust-inner strong { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.trust-inner span { color: var(--muted); font-size: .86rem; }

.section { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-heading { max-width: 760px; }
.section-heading h2, .story-copy h2, .inquiry-intro h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}
.section-heading > p:last-child { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.experience-grid { margin-top: 3.2rem; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.experience-grid article { min-height: 270px; padding: clamp(1.5rem, 4vw, 2.6rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.item-number { color: var(--rust-dark); font-size: .78rem; font-weight: 900; }
.experience-grid h3 { margin: 1.2rem 0 .65rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; }
.experience-grid p { color: var(--muted); }
.experience-grid a { display: inline-flex; gap: .45rem; align-items: center; min-height: 44px; color: var(--navy); font-weight: 800; text-underline-offset: .3rem; }
.availability-note { margin: 1.5rem 0 0; padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: #fff6df; color: #3a4042; }

.story-band { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 700px; background: #eaf0ef; }
.story-image { min-height: 620px; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.story-copy { padding: clamp(3rem, 8vw, 8rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.story-copy > p { max-width: 610px; }
.story-copy > p:not(.eyebrow):not(.inline-credit) { color: #39464b; font-size: 1.08rem; }
.inline-credit { margin-top: 2rem; color: var(--muted); font-size: .82rem; }

.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .82fr; gap: 4rem; align-items: end; }
.split-heading > p:last-child { margin: 0 0 .35rem; }
.event-list { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); }
.event-list li { min-height: 120px; padding: 1.4rem; display: flex; align-items: flex-end; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 700; }
.event-list li:nth-child(3n+1) { border-left: 1px solid var(--line); }

.process-band { background: var(--navy); color: var(--white); }
.process-inner { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-heading.inverse h2 { color: var(--white); }
.process-list { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.35); }
.process-list li { padding: 2rem 1.5rem 1rem 0; display: flex; gap: 1.2rem; }
.process-list li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.35); }
.process-list > li > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-weight: 900; }
.process-list h3 { margin: .15rem 0 .5rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.process-list p { margin: 0; color: rgba(255,255,255,.76); }

.faq { display: grid; grid-template-columns: .62fr 1fr; gap: clamp(3rem, 8vw, 7rem); }
.faq-list { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 72px; padding: 1.25rem 3rem 1.25rem 0; position: relative; display: flex; align-items: center; color: var(--navy); font-size: 1.08rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 2.5rem 1.5rem 0; color: var(--muted); }

.inquiry-band { background: #e6a63a; color: var(--navy-deep); }
.inquiry-inner { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: clamp(4.5rem, 8vw, 7rem) 0; display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; }
.inquiry-intro { position: sticky; top: 130px; }
.inquiry-intro .eyebrow { color: var(--navy-deep); }
.inquiry-intro h2 { color: var(--navy-deep); }
.contact-options { margin: 2rem 0; padding: 1.4rem 0; border-top: 1px solid rgba(7,28,38,.4); border-bottom: 1px solid rgba(7,28,38,.4); }
.contact-options p { margin: .4rem 0; display: grid; }
.contact-options span { font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.contact-options a { font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 700; text-underline-offset: .25rem; overflow-wrap: anywhere; }
.demo-note { padding: 1rem; border: 1px solid rgba(7,28,38,.45); background: rgba(255,255,255,.35); font-size: .9rem; }
.inquiry-form { padding: clamp(1.4rem, 4vw, 2.6rem); background: var(--paper); border: 1px solid rgba(7,28,38,.25); box-shadow: 10px 10px 0 rgba(7,28,38,.13); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .35rem; color: var(--navy-deep); font-size: .88rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem;
  border: 2px solid #607078;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid var(--focus); outline-offset: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a32121; background: #fff6f4; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: .12rem; accent-color: var(--navy); }
.required-note { margin: 1rem 0; font-size: .82rem; color: var(--muted); }
.submit-button { width: 100%; background: var(--navy); border-color: var(--navy); }
.submit-button:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.form-status { margin-bottom: 1.25rem; padding: 1rem; border: 2px solid #9a2c23; background: #fff0ec; font-weight: 700; }
.form-status.success { border-color: #236744; background: #edf8f1; color: #17462e; }

.site-footer { background: var(--navy-deep); color: var(--white); }
.footer-inner { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 3.5rem 0; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 3rem; }
.footer-brand .brand-mark { color: var(--gold); border-color: var(--gold); }
.footer-brand .brand-copy small { color: rgba(255,255,255,.62); }
.footer-inner h2 { margin: .2rem 0 1rem; color: var(--gold); font-family: inherit; font-size: .78rem; text-transform: uppercase; }
.footer-inner > div > a { display: block; margin: .35rem 0; text-underline-offset: .25rem; overflow-wrap: anywhere; }
.footer-inner p { color: rgba(255,255,255,.68); }
.legal { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 1.3rem 0 2rem; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.66); font-size: .8rem; }
.legal p { margin: 0; max-width: 850px; }

@media (max-width: 980px) {
  :root { --header-height: 70px; }
  .menu-toggle {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: .85rem;
    font-weight: 800;
    cursor: pointer;
  }
  .menu-icon { width: 20px; display: grid; gap: 4px; }
  .menu-icon span { height: 2px; background: currentColor; }
  .primary-nav {
    position: fixed;
    inset: calc(34px + var(--header-height)) 0 auto;
    max-height: calc(100vh - 104px);
    padding: 1.3rem 1rem 2rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(7,28,38,.14);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.button) { min-height: 48px; padding: .7rem .35rem; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .hero { height: 720px; min-height: 680px; }
  .hero-inner { padding-bottom: 10rem; }
  .hero h1, .hero h2 { font-size: clamp(2.55rem, 8vw, 4.8rem); }
  .slide-shade { background: linear-gradient(90deg, rgba(5,20,28,.92), rgba(5,20,28,.64) 65%, rgba(5,20,28,.18)); }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-inner p { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .story-band { grid-template-columns: 1fr 1fr; }
  .story-copy { padding: 3rem; }
  .split-heading { gap: 2rem; }
  .faq { grid-template-columns: 1fr; gap: 3rem; }
  .inquiry-inner { grid-template-columns: 1fr; }
  .inquiry-intro { position: static; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 112px; }
  .demo-bar { min-height: 42px; font-size: .75rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 1.12rem; }
  .brand-copy small { font-size: .65rem; }
  .primary-nav { inset: calc(42px + var(--header-height)) 0 auto; }
  .hero { height: calc(100svh - 42px - var(--header-height) - 32px); min-height: 540px; max-height: 700px; }
  .hero-inner { padding-top: 2rem; padding-bottom: 7.5rem; }
  .hero h1, .hero h2 { font-size: clamp(2.45rem, 12vw, 4rem); line-height: 1; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { align-items: stretch; gap: .7rem; }
  .hero-actions .button, .hero-actions .text-link { width: 100%; justify-content: center; }
  .slide-shade { background: linear-gradient(0deg, rgba(5,20,28,.95) 0%, rgba(5,20,28,.68) 66%, rgba(5,20,28,.28)); }
  .slide[data-slide="0"] img { object-position: 58% 45%; }
  .slide[data-slide="1"] img { object-position: 67% 45%; }
  .slide[data-slide="2"] img { object-position: 51% 35%; }
  .slide[data-slide="3"] img { object-position: 65% 42%; }
  .carousel-controls { right: 1rem; bottom: 2.65rem; gap: .25rem; }
  .pause-button { margin-left: auto; }
  .pause-label { display: none; }
  .photo-credit { left: 1rem; right: auto; bottom: .45rem; max-width: 90%; }
  .section { padding: 4.5rem 0; }
  .section-heading h2, .story-copy h2, .inquiry-intro h2 { font-size: clamp(2.15rem, 11vw, 3.35rem); }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-grid article { min-height: auto; }
  .story-band { grid-template-columns: 1fr; }
  .story-image { min-height: 520px; max-height: 680px; }
  .story-copy { padding: 4rem 1rem; }
  .split-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .event-list { grid-template-columns: 1fr 1fr; }
  .event-list li:nth-child(3n+1) { border-left: 0; }
  .event-list li:nth-child(odd) { border-left: 1px solid var(--line); }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { padding: 1.6rem 0; }
  .process-list li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .field-row, .field-row.three { grid-template-columns: 1fr; gap: 0; }
  .inquiry-form { padding: 1.25rem; box-shadow: 6px 6px 0 rgba(7,28,38,.13); }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .legal { flex-direction: column; gap: 1rem; }
}

@media (max-width: 410px) {
  .menu-label { display: none; }
  .dot { width: 23px; }
  .event-list { grid-template-columns: 1fr; }
  .event-list li, .event-list li:nth-child(odd) { border-left: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
