:root {
  --ink: #071d2d;
  --navy: #00568f;
  --teal: #329494;
  --red: #ef3c63;
  --white: #fff;
  --mist: #eef5f7;
  --line: rgba(7, 29, 45, .14);
  --muted: #5c6d78;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(3.2rem, 6.8vw, 7rem); line-height: .91; letter-spacing: -.075em; }
h2 { margin-bottom: 20px; font-size: clamp(2.15rem, 4.1vw, 4.4rem); line-height: .99; letter-spacing: -.064em; }
h3 { line-height: 1.1; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.085em; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(76px, 10vw, 132px) 0; }
.skip-link { position: fixed; z-index: 100; top: -60px; left: 14px; padding: 10px 14px; color: var(--ink); background: var(--white); border-radius: 4px; }
.skip-link:focus { top: 12px; outline: 3px solid var(--red); }

/* Navigation */
#site-header { position: sticky; z-index: 30; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(7,29,45,.08); backdrop-filter: blur(15px); }
.nav-wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 179px; height: auto; }
#primary-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
#primary-nav a { color: #324955; font-size: .88rem; font-weight: 800; transition: color .2s ease; }
#primary-nav a:hover, #primary-nav a[aria-current="page"] { color: var(--navy); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 43px; padding: 0 17px; color: var(--white); background: var(--red); box-shadow: 0 8px 18px rgba(239,60,99,.18); font-size: .85rem; font-weight: 850; transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: #d72e52; transform: translateY(-2px); }
.menu-toggle { display: none; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: currentColor; }
.menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Home */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 720px; padding: clamp(76px, 9.5vw, 134px) 0 0; color: var(--white); background: var(--ink); }
.hero__grid { position: absolute; z-index: -2; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); }
.hero__beam { position: absolute; z-index: -1; display: block; transform: skewX(-33deg); transform-origin: bottom; }
.hero__beam--blue { width: 38vw; height: 120%; top: -47%; right: 19%; background: linear-gradient(180deg, rgba(0,86,143,.75), rgba(50,148,148,.05)); }
.hero__beam--red { width: 19vw; height: 92%; bottom: -61%; right: -5%; background: rgba(239,60,99,.3); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .55fr); align-items: center; column-gap: 65px; min-height: 548px; }
.hero__copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; color: var(--red); font-size: .72rem; font-weight: 850; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #a9d9d8; }
.eyebrow--dark { color: var(--ink); }
.hero__lead { max-width: 565px; margin-bottom: 35px; color: #cbdce0; font-size: clamp(1.05rem, 1.5vw, 1.27rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 55px; padding: 0 23px; border: 1px solid transparent; font-size: .88rem; font-weight: 850; transition: transform .2s ease, background .2s ease, border .2s ease; }
.button:hover { transform: translateY(-3px); }
.button--red { color: var(--white); background: var(--red); }
.button--red:hover { background: #d72e52; }
.button--glass { color: var(--white); border-color: rgba(255,255,255,.43); }
.button--glass:hover { border-color: var(--teal); background: rgba(50,148,148,.19); }
.button--dark { color: var(--white); background: var(--ink); }
.button--dark:hover { background: #153a4f; }
.hero__brand { position: relative; justify-self: end; width: min(100%, 360px); padding: 31px 28px 24px; background: linear-gradient(136deg, rgba(50,148,148,.93), rgba(0,86,143,.78)); box-shadow: 0 20px 55px rgba(0,0,0,.27); }
.hero__brand::after { content: "+"; position: absolute; right: 15px; top: -60px; color: var(--red); font-family: Georgia, serif; font-size: 8rem; line-height: 1; }
.hero__brand img { position: relative; z-index: 1; width: 100%; filter: brightness(0) invert(1); }
.hero__brand-label { display: block; position: relative; z-index: 1; margin-top: 25px; color: #e7ffff; font-size: .64rem; font-weight: 850; letter-spacing: .13em; }
.hero__status { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; align-self: end; margin-top: 55px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.25); color: #a8bec6; font-size: .65rem; font-weight: 850; letter-spacing: .105em; text-transform: uppercase; }
.hero__status i { display: inline-block; width: 8px; height: 8px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--teal); }

.statement__layout { display: grid; grid-template-columns: .45fr 1.55fr; gap: 55px; }
.statement__copy { padding: clamp(34px, 5vw, 65px); color: var(--white); background: var(--navy); box-shadow: 16px 16px 0 rgba(50,148,148,.16); }
.statement__copy > p { max-width: 830px; margin-bottom: 39px; font-size: clamp(1.55rem, 3.1vw, 3.15rem); font-weight: 750; line-height: 1.12; letter-spacing: -.055em; }
.statement__copy em { color: #93e3e2; font-family: Georgia, serif; font-weight: 500; }
.fact-row { display: flex; flex-wrap: wrap; gap: 12px 23px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.35); color: #c5e6e6; font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.section--dark { color: var(--white); background: var(--ink); }
.section-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 55px; align-items: start; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading div > p { max-width: 580px; margin-bottom: 0; color: #b7cbd1; font-size: 1.07rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.19); border: 1px solid rgba(255,255,255,.19); }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 31px 27px 25px; color: var(--white); background: rgba(255,255,255,.045); transition: background .24s ease, transform .24s ease; }
.service-card:hover { background: var(--teal); transform: translateY(-8px); }
.service-card > span { margin-bottom: 74px; color: #83d7d7; font-size: .73rem; font-weight: 850; letter-spacing: .14em; }
.service-card:hover > span { color: #fff; }
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { margin-bottom: 20px; color: #c5d5da; font-size: .93rem; line-height: 1.55; }
.service-card b { margin-top: auto; color: var(--red); font-size: 1.25rem; }
.service-card:hover b { color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 28px; color: var(--navy); font-size: .86rem; font-weight: 850; }
.text-link span { font-size: 1.2rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link--light { color: #fff; }

.quality { background: var(--mist); }
.quality__layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.quality__visual { position: relative; min-height: 420px; overflow: hidden; background: var(--teal); }
.quality__visual::before, .quality__visual::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--red); transform: translate(-50%, -50%); }
.quality__visual::before { width: 108px; height: 336px; }
.quality__visual::after { width: 336px; height: 108px; }
.quality__line { position: absolute; width: 480px; height: 480px; top: 50%; left: 50%; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; box-shadow: 0 0 0 41px rgba(255,255,255,.08), 0 0 0 82px rgba(255,255,255,.06); transform: translate(-50%, -50%) rotate(-23deg); }
.quality__cross { display: none; }
.quality__coordinate { position: absolute; z-index: 1; right: 25px; bottom: 21px; color: rgba(255,255,255,.95); font-size: .65rem; font-weight: 850; letter-spacing: .14em; }
.quality__copy p:not(.eyebrow) { max-width: 540px; margin-bottom: 0; color: var(--muted); font-size: 1.07rem; }

.section--red { color: var(--white); background: var(--red); }
.contact-cta__layout { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.contact-cta__layout h2 { margin-bottom: 0; }
.contact-cta__layout h2 em { color: var(--ink); }
.contact-cta__details { display: grid; justify-items: start; gap: 12px; }
.contact-cta__details > span { font-size: .96rem; }
.contact-cta__details .contact-direct { color: var(--white); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.contact-cta__details .button { margin-top: 14px; }

/* Inner pages */
.page-hero, .legal-hero { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 145px) 0 83px; color: var(--white); background: var(--ink); }
.page-hero::after, .legal-hero::after { content: ""; position: absolute; top: -250px; right: -135px; width: 480px; height: 480px; border: 53px solid var(--teal); border-radius: 50%; opacity: .7; }
.page-hero .container, .legal-hero .container { position: relative; z-index: 1; }
.page-hero > .container > p:last-child { max-width: 630px; margin-bottom: 0; color: #c6d6db; font-size: 1.1rem; }
.detail-list { background: var(--mist); }
.detail-list .container { display: grid; gap: 24px; }
.detail-card { display: grid; grid-template-columns: 102px 1fr; gap: clamp(22px, 5vw, 73px); padding: clamp(30px, 5vw, 58px); background: var(--white); border: 1px solid var(--line); }
.detail-card > span { color: var(--red); font-size: .75rem; font-weight: 850; letter-spacing: .14em; }
.detail-card h2 { margin-bottom: 19px; font-size: clamp(1.85rem, 3.2vw, 3rem); }
.detail-card p:not(.eyebrow) { max-width: 780px; color: var(--muted); }
.detail-card ul { display: grid; gap: 7px; margin: 23px 0 0; padding-left: 20px; color: #294956; }
.detail-card li::marker { color: var(--red); }
.about-intro__layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(45px, 8vw, 132px); }
.about-intro__layout > div:last-child { display: grid; gap: 27px; max-width: 640px; color: var(--muted); font-size: 1.08rem; }
.about-intro__layout > div:last-child p { margin-bottom: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: rgba(255,255,255,.19); border: 1px solid rgba(255,255,255,.19); }
.principle-grid article { min-height: 265px; padding: 28px 26px; background: rgba(255,255,255,.04); }
.principle-grid b { display: block; margin-bottom: 56px; color: var(--teal); font-size: .73rem; letter-spacing: .13em; }
.principle-grid h3 { margin-bottom: 12px; font-size: 1.25rem; }
.principle-grid p { margin-bottom: 0; color: #c2d4d8; font-size: .93rem; }
.contact-page { background: var(--mist); }
.contact-page__grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-address, .contact-note { padding: clamp(37px, 6vw, 75px); background: var(--white); }
.contact-address h2 { margin-bottom: 29px; font-size: clamp(2rem, 3.8vw, 3.9rem); }
.contact-address p:not(.eyebrow) { max-width: 460px; margin-bottom: 0; color: var(--muted); }
.contact-note { color: var(--white); background: var(--teal); }
.contact-note > span { display: block; margin-bottom: 47px; color: #e3ffff; font-size: .69rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.contact-note h3 { margin-bottom: 17px; font-size: clamp(1.85rem, 3vw, 2.65rem); }
.contact-note p { max-width: 490px; color: #e3ffff; }
.contact-note .text-link { color: var(--white); }
.contact-links { display: grid; gap: 7px; margin: 0; }
.contact-links a { color: var(--white); font-size: 1.13rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

/* Legal pages */
.legal-hero { padding-bottom: 72px; }
.legal-hero h1 { margin-bottom: 0; }
.legal-section { background: var(--white); }
.legal-layout { display: grid; grid-template-columns: 200px minmax(0, 770px); gap: clamp(35px, 7vw, 115px); }
.legal-layout aside { align-self: start; padding: 18px 0; border-top: 3px solid var(--red); }
.legal-layout aside span { display: block; color: var(--muted); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.legal-layout aside strong { display: block; margin-top: 5px; font-size: .93rem; }
.legal-layout h2 { margin: 50px 0 17px; font-size: clamp(1.6rem, 2.7vw, 2.5rem); }
.legal-layout h2:first-child { margin-top: 0; }
.legal-layout article p { color: #405762; }
.legal-layout article a { color: var(--navy); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

/* Footer injected by app.js */
#site-footer { color: #b5c7cd; background: #061821; }
.footer-cta { padding: 61px 0; color: var(--white); background: linear-gradient(104deg, var(--navy), #087a83); }
.footer-cta p { margin-bottom: 12px; color: #cbffff; font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.footer-cta h2 { margin-bottom: 27px; }
.footer-cta h2 em { color: var(--red); }
.footer-main { padding: 61px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .86fr .7fr; gap: 44px; padding-bottom: 52px; }
.footer-logo { width: 185px; filter: brightness(0) invert(1); }
.footer-grid > div > p { max-width: 315px; margin: 20px 0 0; color: #a2b7be; font-size: .92rem; }
.footer-grid > div > span { display: block; margin-bottom: 14px; color: var(--white); font-size: .71rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div > a { display: block; margin: 7px 0; color: #b5c7cd; font-size: .9rem; }
.footer-grid > div > a:hover { color: #7dd9d7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #769099; font-size: .72rem; letter-spacing: .03em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 940px) {
  .nav-wrap { min-height: 73px; }
  .brand img { width: 151px; }
  .menu-toggle { display: block; margin-left: auto; }
  #primary-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; gap: 17px; margin: 0; padding: 21px 24px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 15px 23px rgba(7,29,45,.1); }
  #primary-nav.is-open { display: grid; justify-items: start; }
  .nav-cta { display: none; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 64px; min-height: auto; }
  .hero__brand { justify-self: start; }
  .hero__status { margin-top: 5px; }
  .statement__layout, .section-heading, .quality__layout, .about-intro__layout, .contact-page__grid { grid-template-columns: 1fr; }
  .statement__layout, .section-heading { gap: 20px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .quality__visual { min-height: 350px; }
  .footer-grid { grid-template-columns: 1.1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 44px; }
  .legal-layout aside { max-width: 220px; }
}

@media (max-width: 610px) {
  .container { width: min(100% - 36px, 1180px); }
  h1 { font-size: clamp(3rem, 16vw, 5.25rem); }
  .hero { padding-top: 70px; }
  .hero__actions, .hero__actions .button { width: 100%; }
  .hero__brand { width: 100%; }
  .hero__status { display: grid; gap: 7px; }
  .hero__status span:nth-child(2) { display: none; }
  .statement__copy { box-shadow: 9px 9px 0 rgba(50,148,148,.16); }
  .service-grid, .principle-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 255px; }
  .service-card > span { margin-bottom: 46px; }
  .quality__visual::before { width: 74px; height: 230px; }
  .quality__visual::after { width: 230px; height: 74px; }
  .quality__line { width: 285px; height: 285px; }
  .contact-cta__layout, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .contact-cta__details .button, .contact-cta__layout > .button { width: 100%; }
  .detail-card { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > :first-child { grid-column: auto; }
}

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