:root {
    --navy: #0b2545;
    --navy-deep: #07182e;
    --brass: #b8956a;
    --brass-deep: #8c6a3e;
    --foam: #f6f3ee;
    --ink: #142033;
    --muted: #5c564c;
    --line: #e6e0d6;
    --white: #fff;
    --shadow: 0 18px 40px rgba(7, 30, 54, 0.12);
    --display: "Outfit", sans-serif;
    --body: "Source Sans 3", sans-serif;
    --editorial: "Literata", serif;
    --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.6rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
.preloader {
    position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; align-content: center; gap: 1rem;
    background: radial-gradient(circle at 50% 42%, #12325c 0%, var(--navy) 46%, var(--navy-deep) 100%);
    color: #e4d2b0; transition: opacity 0.45s ease, visibility 0.45s ease;
}
.preloader__mark { position: relative; width: 112px; height: 112px; display: grid; place-items: center; }
.preloader__ring {
    position: absolute; inset: 0; border-radius: 28px; border: 1px solid rgba(184, 149, 106, 0.35);
    border-top-color: var(--brass); animation: preloader-spin 1s linear infinite;
}
.preloader img { width: 84px; height: 84px; border-radius: 20px; position: relative; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28); }
.preloader span { font-family: var(--display); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.74rem; }
.preloader__bar { width: 132px; height: 2px; border-radius: 99px; background: rgba(228, 210, 176, 0.2); overflow: hidden; display: block; }
.preloader__bar::after {
    content: ""; display: block; height: 100%; width: 40%; background: var(--brass); animation: preloader-bar 1.1s ease-in-out infinite;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes preloader-spin { to { transform: rotate(360deg); } }
@keyframes preloader-bar { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.skip {
    position: absolute; left: 1rem; top: -4rem; background: var(--brass); color: var(--navy); padding: 0.5rem 0.8rem; z-index: 20;
}
.skip:focus { top: 1rem; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.wrap { width: min(var(--wrap), calc(100% - 2.4rem)); margin-inline: auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.7rem;
    color: var(--brass-deep); font-family: var(--display); font-weight: 600; font-size: 0.82rem;
    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.7rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--brass); }
.eyebrow--light { color: #e4d2b0; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    background: var(--navy); color: white; border: 0; border-radius: 4px;
    padding: 0.9rem 1.3rem; font-family: var(--display); font-weight: 600; letter-spacing: 0.01em;
    text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--navy-deep); color: white; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--brass); outline-offset: 2px;
}
.btn--brass { background: var(--brass); color: var(--navy); }
.btn--brass:hover { background: #d4b88a; color: var(--navy); }
.btn--small { padding: 0.7rem 1rem; }
.btn--ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.45); }
.btn--ghost:hover { background: white; color: var(--navy); }
.masthead { position: sticky; top: 0; z-index: 30; }
.masthead.is-stuck { box-shadow: 0 14px 32px rgba(11, 37, 69, 0.12); }
.topbar { background: var(--navy); color: #e7e1d6; border-bottom: 1px solid var(--brass); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 36px; }
.topbar__place { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.topbar p { margin: 0; }
.topbar__address { font-size: 0.8rem; letter-spacing: 0.01em; }
.topbar__status {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding-left: 0.9rem; border-left: 1px solid rgba(232, 214, 176, 0.35);
    font-family: var(--display); font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: #e4d2b0;
}
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.topbar__links { display: flex; align-items: center; }
.topbar__links a {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.35rem 0.85rem; font-size: 0.8rem;
    color: white; text-decoration: none;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.topbar__links a span {
    font-family: var(--display); font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass);
}
.topbar__links a:hover { color: #e4d2b0; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.site-header__inner, .footer-base { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-header__inner { min-height: 96px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--navy); flex: none; }
.brand__logo { height: 64px; width: auto; display: block; }
.brand--light .brand__logo { height: 58px; background: #fff; padding: 7px 12px; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav > ul, .footer-base ul { display: flex; align-items: center; }
.site-nav > ul { gap: 0.35rem; }
.site-nav > ul > li > a {
    position: relative; display: inline-flex; align-items: center; gap: 0.4rem;
    color: var(--navy); text-decoration: none; font-family: var(--display);
    font-weight: 600; font-size: 0.98rem; letter-spacing: 0.02em;
    padding: 0.7rem 0.8rem;
}
.site-nav > ul > li > a.is-active, .site-nav > ul > li > a:hover { color: var(--navy); }
.site-nav > ul > li > a.is-active::after, .site-nav > ul > li > a:hover::after {
    content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.28rem;
    height: 2px; background: var(--brass); border-radius: 2px;
}
.caret {
    width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid var(--brass-deep); display: inline-block;
}
.has-sub { position: relative; }
.has-sub > ul {
    position: absolute; top: calc(100% + 0.35rem); left: 0; min-width: 260px;
    background: white; border: 1px solid var(--line); border-top: 3px solid var(--brass);
    box-shadow: var(--shadow); padding: 0.55rem; display: none; flex-direction: column; z-index: 5;
}
.has-sub:hover > ul, .has-sub:focus-within > ul { display: flex; }
.has-sub > ul a { display: block; padding: 0.72rem 0.85rem; color: var(--navy); text-decoration: none; font-weight: 600; border-radius: 4px; }
.has-sub > ul a:hover { background: var(--foam); color: var(--navy); }
.btn--header { padding: 0.85rem 1.25rem; margin-left: 0.35rem; letter-spacing: 0.03em; }
.float-dock {
    position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 40;
    display: flex; flex-direction: column; gap: 0.6rem;
}
.float-btn {
    width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0;
    display: grid; place-items: center; cursor: pointer;
    background: var(--navy); color: var(--brass); text-decoration: none;
    box-shadow: 0 10px 24px rgba(11, 37, 69, 0.28);
}
.float-btn svg { width: 26px; height: 26px; fill: currentColor; }
.float-btn:hover { background: var(--navy-deep); color: #e4d2b0; }
.float-btn[data-to-top] { display: none; }
.float-btn[data-to-top].is-on { display: grid; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; width: 46px; height: 46px; padding: 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; }
.hero { position: relative; min-height: 78vh; color: white; overflow: hidden; background: var(--navy); }
.hero__slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
    display: grid; align-items: end;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(7,30,54,0.88) 0%, rgba(7,30,54,0.55) 48%, rgba(7,30,54,0.15) 100%);
}
.hero__copy { position: relative; z-index: 2; width: min(720px, calc(100% - 2.4rem)); padding: 8rem 0 7.5rem; margin-left: max(1.2rem, calc((100% - var(--wrap)) / 2)); }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); color: white; max-width: 14ch; }
.hero p { max-width: 46ch; color: #f3efe6; font-size: 1.15rem; }
.hero__ui { position: absolute; z-index: 3; right: 1.2rem; bottom: 5.5rem; display: flex; gap: 0.5rem; }
.hero__ui button {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4);
    background: rgba(7,30,54,0.35); color: white; cursor: pointer;
}
.feature-band { margin-top: -3.2rem; position: relative; z-index: 4; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card, .service-card, .quote-card, .post-card, .side-card, .work-card, .info-panel {
    background: white; border-radius: 8px; box-shadow: var(--shadow);
}
.feature-card { padding: 1.5rem 1.4rem 1.3rem; display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.feature-card strong { font-family: var(--display); font-size: 1.2rem; display: block; }
.mark {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: #f3eadc; color: var(--navy); font-family: var(--display); font-weight: 700;
}
.section { padding: 5.2rem 0; }
.section--foam { background: var(--foam); }
.section-head { max-width: 680px; margin-bottom: 2rem; }
.section-head h2, .page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.about-photos { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; align-items: end; }
.about-photos img { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }
.about-photos img:last-child { height: 280px; }
.stat-pill {
    display: inline-block; margin-top: 1rem; background: var(--navy); color: white;
    padding: 1rem 1.1rem; border-radius: 8px;
}
.stat-pill b { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--brass); }
.check { display: grid; gap: 0.55rem; margin: 1rem 0 1.4rem; }
.check li { padding-left: 1.5rem; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.7rem; height: 2px; background: var(--brass); }
.service-grid, .post-grid, .work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.service-card, .post-card, .work-card { overflow: hidden; text-decoration: none; color: inherit; display: block; }
.service-card img, .post-card img, .work-card img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.45s ease; }
.service-card:hover img, .post-card:hover img, .work-card:hover img { transform: scale(1.04); }
.service-card div, .post-card div, .work-card div { padding: 1.1rem 1.15rem 1.25rem; }
.service-card h3, .post-card h3, .work-card h3 { font-size: 1.25rem; }
.work-card span, .post-card time, .meta { color: var(--brass-deep); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.care {
    display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 460px; background: var(--navy); color: white;
}
.care__photo { min-height: 320px; background: url("../assets/hero-launch.png") center/cover no-repeat; }
.care__copy { padding: clamp(2rem, 5vw, 4.5rem); }
.care h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); }
.steps { display: grid; gap: 0.8rem; margin: 1.2rem 0; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; }
.steps b { font-family: var(--display); color: var(--brass); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote-card { padding: 1.4rem; }
.quote-card p { font-family: var(--editorial); font-size: 1.05rem; }
.quote-card footer { color: var(--muted); font-size: 0.95rem; }
.quote-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start; }
.points { display: grid; gap: 1rem; margin-top: 1.4rem; }
.points article { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; }
form { display: grid; gap: 0.8rem; }
label { font-weight: 600; font-size: 0.92rem; }
input, select, textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 0.8rem 0.85rem;
    font: inherit; color: var(--ink); background: white;
}
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-card { padding: 1.4rem; }
.note { background: #e8f6ee; color: #135c32; padding: 0.8rem 1rem; border-radius: 6px; }
.note--bad { background: #fdecec; color: #8d1d1d; }
.page-hero {
    background: linear-gradient(100deg, rgba(7,30,54,0.88), rgba(7,30,54,0.45)), url("../assets/hero-anchorage.png") center/cover;
    color: white; padding: 4.2rem 0 3.2rem;
}
.page-hero p, .crumbs { color: #f0e8da; }
.crumbs a { color: white; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.8rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.3rem; font-size: 1.25rem; }
.article-hero-img { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; margin: 0 0 1.4rem; }
.prose .article-body { font-family: var(--editorial); font-size: 1.12rem; line-height: 1.75; }
.prose ul.bullets { list-style: disc; padding-left: 1.2rem; margin-bottom: 1rem; }
.side-card { padding: 1.15rem; margin-bottom: 1rem; }
.side-card h2 { font-size: 1.15rem; }
.side-card--navy { background: var(--navy); color: white; }
.side-card--navy h2, .side-card--navy p { color: white; }
.side-links a, .side-recent a, .footer-posts a { text-decoration: none; color: inherit; }
.side-links a { display: flex; justify-content: space-between; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.side-links a.is-current { color: var(--brass-deep); font-weight: 700; }
.side-recent li + li, .footer-posts li + li { margin-top: 0.8rem; }
.side-recent a, .footer-posts a { display: grid; grid-template-columns: 72px 1fr; gap: 0.7rem; align-items: center; }
.side-recent img, .footer-posts img { width: 72px; height: 64px; object-fit: cover; border-radius: 4px; }
.side-recent time, .footer-posts time { display: block; color: var(--brass-deep); font-size: 0.78rem; }
.site-footer { background: var(--navy); color: #e7e1d6; padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1fr; gap: 2rem; }
.site-footer h2 { color: white; font-size: 1.1rem; }
.site-footer a { color: white; text-decoration: none; }
.footer-grid li + li { margin-top: 0.4rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.4rem; padding: 1rem 0 1.2rem; font-size: 0.92rem; }
.footer-credit { margin: 0; }
.footer-credit a { color: var(--brass); letter-spacing: 0.01em; }
.footer-credit a:hover { color: white; }
.map { width: 100%; min-height: 320px; border: 0; border-radius: 8px; }
.faq details { background: white; border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 0.7rem; box-shadow: 0 8px 20px rgba(7,30,54,0.05); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; }
.contact-grid, .value-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.4rem; }
.info-panel { padding: 1.3rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.values article { background: var(--foam); padding: 1rem; border-top: 3px solid var(--brass); }
@media (max-width: 980px) {
    .feature-grid, .service-grid, .post-grid, .quotes, .footer-grid, .values { grid-template-columns: 1fr 1fr; }
    .split, .care, .quote-layout, .layout, .contact-grid, .value-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: block; }
    .site-header { position: relative; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: white; padding: 0.6rem 1.2rem 1.2rem; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 0.4rem;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav > ul > li > a.is-active::after, .site-nav > ul > li > a:hover::after { display: none; }
    .has-sub > ul { position: static; display: flex; box-shadow: none; border: 0; border-top: 0; padding: 0 0 0.4rem 0.8rem; }
    .btn--header { margin-left: 0; }
}
@media (max-width: 680px) {
    .feature-grid, .service-grid, .post-grid, .quotes, .footer-grid, .values, .form-row, .about-photos, .work-grid { grid-template-columns: 1fr; }
    .topbar__inner { flex-direction: column; align-items: flex-start; gap: 0.15rem; min-height: 0; padding: 0.35rem 0; }
    .topbar__place { flex-wrap: wrap; gap: 0.35rem 0.8rem; }
    .topbar__status { padding-left: 0; border-left: 0; }
    .topbar__links { flex-wrap: wrap; }
    .topbar__links a { padding: 0.15rem 0.7rem 0.15rem 0; border-left: 0; }
    .hero { min-height: 88vh; }
    .about-photos img, .about-photos img:last-child, .article-hero-img { height: 240px; }
    .hero__ui { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero__slide, .service-card img, .post-card img, .work-card img { transition: none; }
}
