:root {
    --teal: #006d77;
    --teal-dark: #004f57;
    --teal-pale: #e8f3f2;
    --charcoal: #2f3a40;
    --muted: #647077;
    --sand: #d9c5a1;
    --sand-pale: #f2ebdf;
    --off-white: #f7f6f2;
    --white: #fff;
    --line: #dfe4e2;
    --shadow: 0 24px 70px rgba(29, 53, 56, .12);
    --content: 1220px;
    --gutter: clamp(22px, 6vw, 88px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { background: var(--off-white); color: var(--charcoal); font-family: Montserrat, Arial, sans-serif; font-size: 1rem; line-height: 1.65; overflow-x: hidden; text-rendering: optimizeLegibility; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3 { font-family: "Cormorant SC", serif; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.5vw, 5.25rem); letter-spacing: -.035em; line-height: 1; max-width: 900px; }
h2 { font-size: clamp(2.15rem, 3.8vw, 3.5rem); letter-spacing: -.025em; line-height: 1.06; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); letter-spacing: -.01em; line-height: 1.15; }
p { color: var(--muted); }

.site-nav, .hero-content, .section, .footer-inner {
    margin-left: auto;
    margin-right: auto;
    width: min(var(--content), calc(100% - var(--gutter)));
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    padding: 24px 0;
    position: relative;
    z-index: 5;
}
.brand { align-items: center; display: inline-flex; flex: 0 0 auto; gap: 11px; text-decoration: none; }
.brand-logo { height: auto; object-fit: contain; width: 52px; }
.brand-copy { color: var(--charcoal); display: grid; font-family: Montserrat, sans-serif; font-size: 1rem; font-weight: 800; letter-spacing: .03em; line-height: 1.05; text-transform: uppercase; }
.brand-copy small { color: var(--muted); font-size: .58rem; letter-spacing: .14em; margin-top: 3px; }
.nav-links { align-items: center; display: flex; gap: clamp(15px, 2vw, 27px); list-style: none; }
.nav-links a { align-items: center; color: var(--charcoal); display: inline-flex; font-size: .84rem; font-weight: 700; line-height: 1.25; min-height: 44px; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active { color: var(--teal); outline: none; }
.nav-links .nav-cta { background: var(--teal); border-radius: 999px; color: var(--white); padding: 10px 16px; }
.nav-links .nav-cta:hover, .nav-links .nav-cta:focus-visible { background: var(--teal-dark); color: var(--white); }

.hero { background: var(--white); min-height: 580px; overflow: hidden; position: relative; }
.hero::before {
    align-items: center;
    background-image: url("../media/simulators-hero.jpg");
    background-position: center;
    background-size: cover;
    color: rgba(47,58,64,.58);
    content: "";
    display: flex;
    font-size: .72rem;
    font-weight: 700;
    inset: 0;
    justify-content: flex-end;
    letter-spacing: .12em;
    padding-right: max(var(--gutter), 10vw);
    position: absolute;
    text-transform: uppercase;
}
.hero::after { background: linear-gradient(90deg, rgba(247,246,242,.98) 0%, rgba(247,246,242,.92) 38%, rgba(247,246,242,.1) 76%); content: ""; inset: 0; position: absolute; }
.page-hero { min-height: 460px; }
.page-hero::after { background: linear-gradient(90deg, rgba(247,246,242,.98), rgba(247,246,242,.86) 48%, rgba(247,246,242,.18)); }
.hero-content { padding: 60px 0 75px; position: relative; z-index: 2; }
.page-hero .hero-content { padding: 42px 0 58px; }
.hero-home h1 { font-size: clamp(2.9rem, 5vw, 4.9rem); max-width: 980px; }
.page-hero h1 { font-size: clamp(2.85rem, 5vw, 4.65rem); }
.eyebrow, .section-kicker { color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .14em; line-height: 1.4; margin-bottom: 16px; text-transform: uppercase; }
.hero-copy { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; margin: 23px 0 30px; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.supporting-line { color: var(--charcoal); font-size: .9rem; font-weight: 700; letter-spacing: .035em; line-height: 1.5; margin-top: 24px; }

.button { align-items: center; border: 1px solid transparent; border-radius: 999px; cursor: pointer; display: inline-flex; font-size: .9rem; font-weight: 700; gap: 10px; justify-content: center; line-height: 1.25; min-height: 48px; padding: 12px 20px; text-decoration: none; transition: 160ms ease; }
.button-primary { background: var(--teal); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--teal-dark); box-shadow: 0 10px 25px rgba(0,109,119,.22); outline: none; transform: translateY(-2px); }
.button-secondary { background: transparent; border-color: #aab4b1; color: var(--charcoal); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--teal); color: var(--teal); outline: none; }
.section { padding-bottom: clamp(72px, 9vw, 120px); padding-top: clamp(72px, 9vw, 120px); }
.section, .gallery-section, .product-section, .video-section { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.section-heading { margin-bottom: 44px; max-width: 760px; }
.section-heading > p:last-child { margin-top: 18px; }
.full-bleed { max-width: none; width: 100%; }
.full-bleed > .section-inner { margin: auto; width: min(var(--content), calc(100% - var(--gutter))); }

.intro-grid, .split-section { align-items: center; display: grid; gap: clamp(38px, 7vw, 90px); grid-template-columns: 1fr 1fr; }
.intro-grid h2 { font-size: clamp(2.15rem, 3.25vw, 3.15rem); line-height: 1.08; }
.lead { color: var(--charcoal); font-size: clamp(1.2rem, 1.8vw, 1.48rem); font-weight: 600; line-height: 1.5; }
.split-image { aspect-ratio: 4 / 3; border-radius: 24px; box-shadow: var(--shadow); object-fit: cover; object-position: center; width: 100%; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 27px; }
.feature-card p { font-size: .96rem; line-height: 1.6; margin-top: 16px; }
.feature-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.feature-card { border-radius: 0; }
.feature-card:first-child { border-radius: 18px 0 0 0; }
.feature-card:nth-child(3) { border-radius: 0 18px 0 0; }
.feature-card:nth-child(4) { border-radius: 0 0 0 18px; }
.feature-card:last-child { border-radius: 0 0 18px 0; }
.feature-heading { align-items: baseline; color: var(--teal); display: flex; font-size: clamp(1.7rem, 2.4vw, 2.3rem); gap: 14px; line-height: 1.08; }
.feature-number { font-family: Montserrat, sans-serif; font-size: .62em; font-weight: 800; }

.home-video-section { padding-top: 0; }
.home-video-frame { aspect-ratio: 16 / 9; background: var(--charcoal); border-radius: 18px; box-shadow: var(--shadow); max-width: 960px; overflow: hidden; }
.home-video-frame iframe { border: 0; height: 100%; width: 100%; }

.species-band { background: var(--charcoal); color: var(--white); }
.species-band p { color: #c9d0d2; }
.species-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0; }
.species-list span { border: 1px solid #647076; border-radius: 999px; color: var(--white); font-size: .9rem; line-height: 1.4; padding: 9px 14px; }

.cta-band { background: var(--teal); color: var(--white); }
.cta-band .section-inner { align-items: end; display: grid; gap: 40px; grid-template-columns: 1.3fr auto; }
.cta-band p { color: #d6e9e8; margin-top: 17px; max-width: 690px; }
.cta-band .button-primary { background: var(--white); color: var(--teal); }

.contact-section { display: grid; gap: clamp(40px, 8vw, 100px); grid-template-columns: .85fr 1.15fr; }
.contact-section h2 { font-size: clamp(2.05rem, 3.2vw, 3rem); line-height: 1.1; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 17px; padding: clamp(24px, 4vw, 42px); }
.contact-form label { display: grid; font-size: .88rem; font-weight: 700; gap: 6px; line-height: 1.4; }
input, textarea { background: var(--off-white); border: 1px solid #cbd2cf; border-radius: 8px; color: var(--charcoal); font-size: 1rem; line-height: 1.5; padding: 12px; resize: vertical; width: 100%; }
input:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,109,119,.12); outline: none; }
.form-honeypot { height: 1px; left: -9999px; opacity: 0; position: absolute; width: 1px; }

.gallery-section, .product-section, .video-section { margin: auto; padding: 90px 0 110px; width: min(var(--content), calc(100% - var(--gutter))); }
.gallery-filters, .empty-gallery, .content-note { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.gallery-filters { margin-bottom: 20px; padding: 20px; }
.gallery-filters fieldset { border: 0; }
.gallery-filters legend { font-family: Montserrat, Arial, sans-serif; font-size: .95rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { background: var(--off-white); border: 1px solid #cbd2cf; border-radius: 999px; color: var(--charcoal); cursor: pointer; font-size: .88rem; line-height: 1.4; padding: 7px 13px; }
.filter-button:hover, .filter-button:focus-visible, .filter-button.active { background: var(--teal); border-color: var(--teal); color: var(--white); outline: none; }
.filter-count { font-size: .88rem; margin-bottom: 16px; }
.gallery-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.gallery-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: 160ms ease; }
.gallery-item:hover, .gallery-item:focus-within { box-shadow: var(--shadow); transform: translateY(-3px); }
.gallery-item[hidden] { display: none; }
.gallery-carousel, .product-carousel { aspect-ratio: 4 / 3; background: var(--teal-pale); overflow: hidden; position: relative; }
.carousel-image, .product-image { height: 100%; object-fit: cover; width: 100%; }
.carousel-video { border: 0; height: 100%; width: 100%; }
.gallery-item-open { display: block; font-family: "Cormorant SC", serif; font-size: 1.4rem; font-weight: 700; line-height: 1.15; padding: 17px; text-decoration: none; text-wrap: balance; }
.gallery-item-open:hover { color: var(--teal); }
.carousel-control { align-items: center; background: rgba(255,255,255,.92); border: 0; border-radius: 50%; color: var(--charcoal); cursor: pointer; display: flex; height: 38px; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); width: 38px; z-index: 2; }
.carousel-control-previous { left: 12px; }
.carousel-control-next { right: 12px; }
.carousel-dots { bottom: 12px; display: flex; gap: 6px; left: 50%; position: absolute; transform: translateX(-50%); z-index: 2; }
.carousel-indicator { background: var(--white); border: 1px solid var(--teal); border-radius: 50%; cursor: pointer; height: 9px; width: 9px; }
.carousel-indicator.active { background: var(--teal); }
.empty-gallery, .content-note { padding: 26px; }
.empty-gallery p, .content-note p { margin-top: 7px; }

.product-layout { align-items: center; display: grid; gap: clamp(35px, 7vw, 85px); grid-template-columns: 1.1fr .9fr; }
.product-carousel { aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 18px; }
.product-image { object-fit: contain; }
.back-link { color: var(--teal); display: inline-block; font-size: .9rem; font-weight: 700; line-height: 1.4; margin-bottom: 30px; text-decoration: none; }
.item-date { color: var(--teal); font-size: .92rem; font-weight: 700; line-height: 1.5; margin: 15px 0; }

.video-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.video-card:only-child { max-width: 800px; }
.video-frame { aspect-ratio: 16 / 9; background: var(--charcoal); }
.video-frame iframe { border: 0; height: 100%; width: 100%; }
.video-preview { background: var(--charcoal); border: 0; cursor: pointer; height: 100%; overflow: hidden; padding: 0; position: relative; width: 100%; }
.video-thumbnail { height: 100%; object-fit: cover; transition: transform 200ms ease; width: 100%; }
.video-preview:hover .video-thumbnail, .video-preview:focus-visible .video-thumbnail { transform: scale(1.025); }
.video-preview:focus-visible { outline: 4px solid var(--sand); outline-offset: -4px; }
.video-play-icon { align-items: center; background: var(--teal); border-radius: 50%; box-shadow: 0 8px 30px rgba(0,0,0,.3); color: var(--white); display: flex; font-size: 1.25rem; height: 66px; justify-content: center; left: 50%; padding-left: 4px; position: absolute; top: 50%; transform: translate(-50%, -50%); transition: background 160ms ease, transform 160ms ease; width: 66px; }
.video-preview:hover .video-play-icon { background: var(--teal-dark); transform: translate(-50%, -50%) scale(1.06); }
.video-copy { padding: 23px; }
.video-copy h3 { font-size: 1.5rem; }
.video-copy p { font-size: .92rem; line-height: 1.6; margin-top: 8px; }

.site-footer { background: #253035; color: var(--white); padding: 48px 0; }
.footer-inner { align-items: start; display: grid; gap: 38px; grid-template-columns: 1.3fr 1fr 1fr; }
.site-footer .brand-copy { color: var(--white); }
.site-footer .brand-copy small, .site-footer p { color: #aeb8bc; }
.site-footer .brand + p { font-size: .92rem; line-height: 1.6; max-width: 390px; }
.footer-links { display: grid; gap: 8px; list-style: none; }
.footer-links a { color: #dfe4e5; font-size: .9rem; line-height: 1.5; text-decoration: none; }
.footer-title { color: var(--white); font-family: Montserrat, sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .1em; margin-bottom: 12px; text-transform: uppercase; }
.copyright { border-top: 1px solid #455156; font-size: .82rem; margin-top: 35px; padding-top: 22px; }

@media (max-width: 980px) {
    .site-nav { align-items: center; flex-wrap: wrap; }
    .nav-links { flex-wrap: wrap; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    :root { --gutter: 32px; }
    .hero { min-height: 520px; }
    .page-hero { min-height: 420px; }
    .site-nav { align-items: flex-start; gap: 12px; padding: 16px 0; }
    .brand-logo { width: 45px; }
    .nav-links { gap: 2px 16px; max-width: 100%; min-width: 0; width: 100%; }
    .nav-links li, .nav-links a { min-width: 0; }
    .nav-links a { font-size: .78rem; }
    .nav-links .nav-cta { padding: 5px 12px; }
    .hero-content { max-width: 100%; padding: 36px 0 48px; }
    .page-hero .hero-content { padding: 30px 0 42px; }
    .eyebrow, .supporting-line, .hero-copy { overflow-wrap: break-word; }
    .intro-grid, .split-section, .contact-section, .product-layout, .video-grid, .cta-band .section-inner, .footer-inner { grid-template-columns: 1fr; }
    .gallery-grid, .feature-grid { grid-template-columns: 1fr; }
    .feature-card, .feature-card:first-child, .feature-card:nth-child(3), .feature-card:nth-child(4), .feature-card:last-child { border-radius: 14px; }
    .feature-grid { gap: 10px; }
    .gallery-section, .product-section, .video-section { padding: 64px 0 80px; }
    .gallery-filters { padding: 16px; }
    .carousel-control { height: 44px; width: 44px; }
    .contact-form { padding: 22px 18px; }
    .footer-inner { gap: 28px; }
}
@media (max-width: 420px) {
    h1, .page-hero h1 { font-size: clamp(2.65rem, 13vw, 3.25rem); }
    .hero-home h1 { font-size: clamp(2.5rem, 12vw, 3rem); }
    .nav-links { justify-content: space-between; }
    .nav-links li:last-child { width: 100%; }
    .nav-links .nav-cta { justify-content: center; width: 100%; }
    .hero-actions, .hero-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
