:root {
  --purple: #0f172a;
  --lavender: #0ea5a5;
  --ink: #082f49;
  --text: #334155;
  --line-border: #bae6fd;
  --paper: #f8fafc;
  --soft: #e0f2fe;
  --white: #ffffff;
  --scroll-accent: #d8c4e6;
  --scroll-border: rgba(255, 255, 255, 0.82);
  --line-width: 10px;
  --line-start: calc(94vh - 2px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3 {
  color: var(--purple);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.95;
  margin: 0 0 22px;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 2.6rem);
  line-height: 1.05;
  margin: 0 0 24px;
}

h3 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 14px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  color: var(--white);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 12px 40px rgba(8, 47, 73, 0.22);
}
.text-just
{
  text-align: justify;
}
.site-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding-inline: clamp(32px, 8vw, 150px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.brand-logo {
  width: clamp(58px, 6vw, 86px);
  height: clamp(44px, 4.6vw, 64px);
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.24));
}

.brand-text {
  font-size: clamp(1.35rem, 2.45vw, 2.6rem);
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.3vw, 34px);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.desktop-nav a {
  opacity: 0.9;
}

.desktop-nav a:hover {
  opacity: 1;
}

.search-button,
.menu-button,
.menu-close {
  display: grid;
  place-items: center;
  width: clamp(56px, 5vw, 74px);
  height: clamp(56px, 5vw, 74px);
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font: inherit;
}

.search-button {
  font-size: 1.8rem;
  line-height: 1;
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: clamp(16px, 4vw, 58px);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-button span + span {
  margin-top: 5px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  background: #29265a;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-panel {
  width: min(100%, 1520px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 70px) clamp(24px, 7vw, 112px);
  overflow-y: auto;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 68px);
}

.menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(1.55rem, 2.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.menu-brand span {
  font-family: "Segoe UI", Arial, sans-serif;
}

.menu-logo {
  width: clamp(72px, 7vw, 108px);
  height: clamp(54px, 5.2vw, 80px);
  object-fit: contain;
}

.menu-actions {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
}

.menu-close {
  background: #d8c4e6;
  border-color: var(--white);
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  line-height: 1;
}

.menu-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.9fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 54px) clamp(24px, 3.5vw, 44px);
}

.menu-tile {
  min-width: 0;
}

.menu-tile img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}

.tile-crest {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.menu-tile strong,
.menu-links h2,
.menu-links a,
.menu-dropdown summary {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.menu-tile strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

.menu-tile em {
  display: block;
  margin-top: 7px;
  color: #d8c4e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.9rem, 1.08vw, 1.05rem);
  font-style: italic;
}

.menu-links h2 {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(1.18rem, 1.55vw, 1.5rem);
  font-weight: 400;
  text-transform: uppercase;
}

.menu-links h2 .tile-crest {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.menu-links a,
.menu-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  font-size: clamp(1rem, 1.28vw, 1.2rem);
  font-weight: 400;
  line-height: 1.15;
  text-align: left;
}

.menu-dropdown {
  border: 0;
}

.menu-dropdown summary {
  cursor: pointer;
  list-style: none;
}

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

.menu-dropdown summary::after {
  content: "⌄";
  flex: 0 0 auto;
  margin-left: 18px;
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.menu-dropdown[open] summary::after {
  content: "⌃";
}

.submenu {
  display: grid;
  gap: 0;
  padding: 12px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.submenu a {
  justify-content: flex-start;
  min-height: 34px;
  border-bottom: 0;
  color: var(--white);
  font-size: clamp(0.88rem, 1.02vw, 1rem);
  font-weight: 400;
}

.submenu a::before {
  display: none;
}

.menu-links span {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 2rem;
  font-style: normal;
  line-height: 0.6;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.cta-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero-image,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay,
.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 47, 73, 0.58), rgba(14, 165, 165, 0.16) 56%, rgba(15, 23, 42, 0.28)),
    linear-gradient(180deg, rgba(224, 242, 254, 0.06), rgba(8, 47, 73, 0.52));
}

.hero-content {
  position: relative;
  z-index: 6;
  max-width: 1800px;
  padding-bottom: clamp(130px, 19vh, 220px);
  padding-left: clamp(56px, 9vw, 135px);
  color: var(--white);
}

.hero-content h1 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(3.2rem, 4.8vw, 5.8rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
}

.hero-content h1 span {
  display: block;
}

.hero-brand {
  margin: 0 0 clamp(120px, 21vh, 220px);
  color: var(--white);
  font-size: clamp(1.4rem, 2.35vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.hero-route {
  position: absolute;
  top: clamp(92px, 11vh, 122px);
  left: clamp(28px, 3.2vw, 58px);
  z-index: 3;
  width: calc(100% - clamp(70px, 6.5vw, 118px));
  height: calc(100% - clamp(92px, 11vh, 122px));
  overflow: visible;
  pointer-events: none;
}

.hero-route path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: var(--line-width);
  vector-effect: non-scaling-stroke;
}

.hero-route-base {
  stroke: var(--white);
  filter: drop-shadow(0 2px 8px rgba(3, 4, 158, 0.22));
}

.hero-route-progress {
  stroke: var(--scroll-accent);
  filter: drop-shadow(0 0 10px rgba(199, 176, 213, 0.65));
}

.hero-side-motto {
  position: absolute;
  right: clamp(38px, 5vw, 92px);
  bottom: clamp(90px, 16vh, 160px);
  z-index: 6;
  color: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2.5rem);
  font-style: normal;
  font-weight: 600;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: none;
}

.eyebrow.purple {
  color: var(--lavender);
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  background: var(--purple);
  border: 1px solid var(--purple);
  color: var(--white);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-button:hover {
  background: var(--lavender);
  border-color: var(--lavender);
  color: var(--white);
}

.intro-section {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0;
}

.intro-section .text-center {
  position: relative;
  z-index: 4;
}

.intro-section .text-center::before {
  content: "";
  position: absolute;
  inset: -36px -56px;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    var(--paper) 0%,
    var(--paper) 62%,
    rgba(248, 250, 252, 0.86) 74%,
    rgba(248, 250, 252, 0) 100%
  );
  pointer-events: none;
}

#custom-line {
  position: relative;
  overflow: hidden;
}

#custom-line .custom-line-marker-backing {
  position: absolute;
  top: var(--line-start);
  right: auto;
  bottom: auto;
  left: 20px;
  z-index: 1;
  width: var(--line-width);
  min-width: var(--line-width);
  max-width: var(--line-width);
  height: calc(100% - var(--line-start));
  background: #ffffff;
  border-radius: 999px;
  box-shadow: none;
  pointer-events: none;
}

#custom-line .custom-line-marker {
  position: absolute;
  top: var(--line-start);
  right: auto;
  bottom: auto;
  left: 20px;
  z-index: 2;
  width: var(--line-width);
  min-width: var(--line-width);
  max-width: var(--line-width);
  height: 208px;
  background: #d8c4e6;
  border-radius: 999px;
  box-shadow: none;
  pointer-events: none;
}

.custom-line-center #custom-line .custom-line-marker-backing,
.custom-line-center #custom-line .custom-line-marker {
  left: calc(50% - (var(--line-width) / 2));
}

.story-section {
  position: relative;
  padding: clamp(90px, 13vw, 80px) 0;
}

.soft-bg {
  background: var(--soft);
}

.image-frame {
  position: relative;
  z-index: 3;
  overflow: hidden;
  min-height: 420px;
  background: var(--soft);
}

.story-section .col-lg-5,
.story-section .offset-lg-1,
.quote-copy,
.cta-content {
  position: relative;
  z-index: 4;
}

.story-section .col-lg-5::before,
.story-section .offset-lg-1::before,
.quote-copy::before,
.cta-content::before {
  content: "";
  position: absolute;
  inset: -28px -34px;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    var(--section-mask, var(--paper)) 0%,
    var(--section-mask, var(--paper)) 66%,
    rgba(248, 250, 252, 0) 100%
  );
  pointer-events: none;
}

.soft-bg {
  --section-mask: var(--soft);
}

.quote-section,
.cta-section {
  --section-mask: transparent;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--purple);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.quote-section {
  position: relative;
  padding: clamp(100px, 15vw, 210px) 0;
  background: var(--purple);
  color: var(--white);
}

.quote-section h2,
.quote-section .crest {
  color: var(--white);
}

.quote-image {
  background: rgba(255, 255, 255, 0.08);
}

.crest {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 26px;
  border: 1px solid rgba(202, 240, 248, 0.82);
  border-radius: 50%;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.quote-copy .crest {
  margin-left: 0;
}

.quote {
  max-width: 760px;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
}

.cards-section {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0;
  background: var(--paper);
}

.info-card {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: 34px;
  border: 1px solid rgba(0, 119, 182, 0.28);
  background: rgba(247, 254, 255, 0.8);
}

.info-card p {
  margin-bottom: 0;
}

.cta-section {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-media {
  background-image: url("img/11.jpeg");
}

.cta-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.cta-content h2 {
  max-width: 620px;
  color: var(--white);
}

.site-footer {
  padding: 42px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 6px 0 0;
  color: rgba(224, 242, 254, 0.78);
}

.footer-grid div:last-child {
  display: flex;
  gap: 24px;
}

@media (min-width: 1024px) {
}

@media (max-width: 991px) {
  :root {
    --line-width: 6px;
    --line-start: calc(92vh - 2px);
  }

  .desktop-nav {
    gap: 14px;
    font-size: 0.95rem;
  }

  .desktop-nav a {
    display: none;
  }

  .site-shell {
    min-height: 82px;
    padding-inline: 24px;
  }

  .hero-section {
    min-height: 92vh;
  }

  .hero-route {
    top: 86px;
    left: 22px;
    width: calc(100% - 44px);
    height: calc(100% - 90px);
  }

  .hero-content {
    padding-left: 42px;
    padding-bottom: 110px;
  }

  .hero-brand {
    margin-bottom: 19vh;
  }

  .hero-side-motto {
    right: 18px;
    bottom: 12vh;
  }

  .menu-content {
    grid-template-columns: 1fr;
  }

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

  .story-section,
  .cards-section,
  .quote-section {
    padding-left: 0;
  }

  .quote-copy .crest {
    margin-left: auto;
  }
}

@media (max-width: 575px) {
  :root {
    --line-width: 5px;
    --line-start: calc(88vh - 2px);
  }

  body {
    font-size: 16px;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  .brand-logo {
    width: 50px;
    height: 38px;
  }

  .desktop-nav {
    display: none;
  }

  .search-button,
  .menu-button,
  .menu-close {
    width: 52px;
    height: 52px;
  }

  .image-frame,
  .image-frame img {
    min-height: 320px;
  }

  .hero-section {
    min-height: 88vh;
  }

  .hero-route {
    top: 74px;
    left: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 78px);
  }

  .hero-content h1 {
    max-width: 310px;
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .hero-content {
    padding-left: 32px;
    padding-bottom: 82px;
  }

  .hero-brand {
    margin-bottom: 18vh;
    font-size: 1.55rem;
  }

  .hero-side-motto {
    display: none;
  }

  .menu-panel {
    padding: 22px 18px 44px;
  }

  .menu-top {
    margin-bottom: 28px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .menu-tile {
    display: grid;
    grid-template-columns: 112px 1fr;
    column-gap: 18px;
    align-items: center;
  }

  .menu-tile img {
    grid-row: span 3;
    margin-bottom: 0;
  }

  .menu-tile .tile-crest {
    display: none;
  }

  .menu-links a,
  .menu-dropdown summary {
    min-height: 42px;
    font-size: 1rem;
  }

  .submenu {
    padding-left: 0;
  }

  .submenu a {
    min-height: 32px;
    font-size: 0.92rem;
  }

  .story-section,
  .cards-section,
  .quote-section {
    padding-left: 0;
  }

  .footer-grid,
  .footer-grid div:last-child {
    display: block;
  }

  .footer-grid a {
    display: block;
    margin-top: 12px;
  }
}
