@font-face {
    font-family: Inter;
    src: url("fonts/inter.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: Manrope;
    src: url("fonts/manrope.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --navy: #10263a;
    --ink: #112337;
    --muted: #4d6070;
    --blue: #175a75;
    --blue-hover: #124760;
    --outline: #dae4e9;
    --tint: #f0f6f8;
    --page-width: 1240px;
    --gutter: clamp(20px, 4.6vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.68;
}
a { color: inherit; text-underline-offset: 0.22em; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 3px solid #2686ad; outline-offset: 4px; }
h1, h2, h3 {
    margin: 0;
    font-family: Manrope, Inter, sans-serif;
    font-weight: 800;
    line-height: 1.11;
    letter-spacing: -0.045em;
    text-wrap: balance;
}
h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.035em; }
p { margin: 0; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--page-width)); margin-inline: auto; }
.skip {
    position: fixed;
    z-index: 10;
    top: 10px;
    left: 10px;
    padding: 8px 14px;
    transform: translateY(-150%);
    background: white;
}
.skip:focus { transform: translateY(0); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.topbar { background: var(--navy); color: #eff8fc; }
.topbar-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { text-decoration: none; font-size: 0.875rem; font-weight: 520; }
.topbar a:hover { text-decoration: underline; }
.masthead { position: relative; z-index: 2; border-bottom: 1px solid var(--outline); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 10px; text-decoration: none; }
.brand-text { font: 800 1.4rem/0.95 Manrope, sans-serif; letter-spacing: -0.055em; }
.brand-text span { display: block; margin-top: 5px; font: 750 0.73rem/1 Inter, sans-serif; letter-spacing: 0.17em; }
.brand-mark {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    width: 43px;
    height: 43px;
    padding: 9px;
    border-radius: 7px;
    background: var(--navy);
    overflow: hidden;
}
.brand-mark i { width: 5px; flex: none; transform: skew(-20deg); border-radius: 2px; background: #edf6fa; }
.brand-mark i:nth-child(2) { background: #8cbbc9; }
.brand-mark i:nth-child(3) { background: #4b9ab4; }
.main-nav { display: flex; align-items: center; gap: clamp(3px, 1vw, 16px); }
.main-nav a { padding: 9px 11px; border-radius: 5px; text-decoration: none; font-weight: 650; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: #eaf4f7; color: #145674; }
.menu-toggle {
    display: none;
    border: 1px solid var(--outline);
    color: var(--navy);
    background: white;
    border-radius: 5px;
    padding: 7px 12px;
    font-weight: 650;
}
.menu-toggle span { margin-inline-start: 5px; }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--blue);
    border-radius: 6px;
    padding: 12px 19px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    min-height: 48px;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-small { min-height: 42px; padding: 9px 15px; font-size: 0.9rem; white-space: nowrap; }
.btn-white { background: #fff; border-color: #fff; color: var(--navy); }
.btn-white:hover { color: var(--navy); background: #e4f3f8; border-color: #e4f3f8; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { color: #fff; }
.btn-outline-light { background: #10263a30; color: #fff; border-color: #ffffffa8; }
.btn-outline-light:hover { background: #ffffff25; border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(490px, 45.5vw, 690px); background: var(--navy); color: white; }
.hero-image, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.hero::after { content: ""; background: linear-gradient(90deg, #0a1e30f5 0%, #0b2134d9 31%, #0b21346e 65%, #0b213411 100%); }
.hero-content { padding-block: 70px; }
.eyebrow { font-size: 0.875rem; font-weight: 750; color: var(--blue); text-transform: uppercase; letter-spacing: 0.11em; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: 0.25em; width: 22px; height: 2px; margin-right: 9px; background: currentColor; }
.hero .eyebrow { color: #c2e9f7; }
.hero h1 { font-size: clamp(3rem, 6.15vw, 6.1rem); max-width: 850px; margin-block: 13px 18px; line-height: 1.01; letter-spacing: -0.067em; }
.hero-content > p:not(.eyebrow) { color: #eef4f7; max-width: 470px; font-size: clamp(1.03rem, 1.5vw, 1.18rem); }

.section { padding-block: clamp(54px, 6.6vw, 97px); }
.section-heading { display: flex; gap: 32px; align-items: end; justify-content: space-between; margin-bottom: 34px; }
.section-heading h2, .feature-copy h2, .contact-grid h2 { margin-top: 7px; }
.section-heading > p { color: var(--muted); max-width: 315px; padding-bottom: 4px; }
.section-tinted { background: var(--tint); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.card { display: flex; flex-direction: column; border: 1px solid var(--outline); border-radius: 10px; background: #fff; overflow: hidden; }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tint); }
.card-body { flex: 1; display: flex; flex-direction: column; align-items: start; padding: clamp(16px, 2vw, 26px); }
.card-body h2 { font-size: 1.5rem; }
.card-body p { margin-top: 10px; color: var(--muted); }
.text-link { display: inline-block; color: var(--blue); font-weight: 700; padding-top: 14px; margin-top: auto; }
.text-link:hover { text-decoration-thickness: 2px; }
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 90px); }
.feature-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: var(--tint); }
.feature-copy p:not(.eyebrow) { margin-top: 15px; color: var(--muted); max-width: 510px; }
.feature-copy .btn { margin-top: 23px; }

.page-intro { background: linear-gradient(110deg, #edf5f8 16%, #dcecf3 100%); padding-block: clamp(50px, 7vw, 108px); }
.page-intro h1 { margin-block: 10px 16px; font-size: clamp(2.7rem, 5.5vw, 5rem); max-width: 980px; }
.page-intro .container > p:last-child { color: var(--muted); max-width: 630px; font-size: 1.08rem; }
.inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: clamp(22px, 4vw, 47px);
    margin-top: 38px;
    border-radius: 10px;
    background: var(--tint);
}
.inline-cta h2 { font-size: clamp(1.6rem, 2.7vw, 2.45rem); }
.inline-cta p { color: var(--muted); margin-top: 7px; }
.inline-cta .btn { flex: none; }
.detail-list { margin: 14px 0 0; }
.detail-list div { border-bottom: 1px solid var(--outline); padding: 10px 0; }
.detail-list dt { font-weight: 750; }
.detail-list dd { margin: 3px 0 0; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { font-weight: 650; padding: 8px 14px; border: 1px solid var(--outline); border-radius: 5px; color: var(--blue); background: white; }
.filters button:hover { background: var(--tint); }
.filters button[aria-pressed="true"] { background: var(--blue); color: white; border-color: var(--blue); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(25px, 5vw, 75px); align-items: start; }
.contact-grid address { max-width: 410px; margin-top: 13px; color: var(--muted); }
.enquiry { display: grid; padding: clamp(19px, 3vw, 34px); border: 1px solid var(--outline); border-radius: 9px; background: #fff; gap: 7px; }
.enquiry h3 { margin-bottom: 7px; }
.enquiry label { font-weight: 650; margin-top: 5px; }
.enquiry input, .enquiry select, .enquiry textarea { min-width: 0; width: 100%; color: var(--ink); background: #fff; padding: 9px 11px; border: 1px solid #a4b9c5; border-radius: 5px; }
.enquiry select {
    appearance: none;
    padding-right: 35px;
    background:
        linear-gradient(45deg, transparent 50%, var(--blue) 50%) calc(100% - 17px) 51% / 6px 6px no-repeat,
        linear-gradient(135deg, var(--blue) 50%, transparent 50%) calc(100% - 11px) 51% / 6px 6px no-repeat,
        #fff;
}
.enquiry textarea { resize: vertical; }
.enquiry .btn { justify-self: start; margin-top: 8px; }
.form-note { font-size: 0.875rem; color: var(--muted); }
#products, #contact { scroll-margin-top: 16px; }

.footer { background: var(--navy); color: #e4eef3; padding-top: 51px; }
.footer-grid { display: grid; grid-template-columns: 1fr .7fr 1.05fr; gap: 30px; padding-bottom: 33px; }
.footer-grid > div:first-child p { margin-top: 14px; max-width: 265px; color: #c3d2dc; }
.brand-light .brand-mark { background: #203f53; }
.footer h2 { font-size: 1.11rem; letter-spacing: -0.01em; color: #fff; margin-bottom: 10px; }
.footer address { color: #c3d2dc; max-width: 325px; }
.footer-links { display: grid; gap: 4px; justify-items: start; }
.footer-links a:hover { color: #a9d9ec; }
.footer-contact { margin-top: 8px; }
.footer-bottom { padding-block: 15px; border-top: 1px solid #ffffff37; color: #c4d4df; font-size: 0.875rem; }

@media (max-width: 930px) {
    .header-inner { gap: 12px; }
    .main-nav { gap: 2px; }
    .main-nav a { font-size: .93rem; padding-inline: 8px; }
    .feature { gap: 28px; }
}
@media (max-width: 760px) {
    .header-inner { flex-wrap: wrap; min-height: 65px; padding-block: 10px; }
    .brand-mark { width: 38px; height: 38px; padding: 8px; }
    .header-action { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; }
    .main-nav { flex-wrap: wrap; width: 100%; align-items: stretch; }
    .main-nav.has-toggle { display: none; padding-bottom: 5px; }
    .main-nav.has-toggle.is-open { display: grid; }
    .hero-image img { object-position: 58% center; }
    .hero::after { background: linear-gradient(90deg, #0a1e30f2, #0b2134aa 68%, #0b213467); }
    .section-heading { display: block; margin-bottom: 23px; }
    .section-heading > p { margin-top: 12px; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature, .contact-grid { grid-template-columns: 1fr; }
    .inline-cta { align-items: flex-start; flex-direction: column; }
    .wide-only { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 485px) {
    .topbar a { font-size: 0.75rem; }
    .hero { min-height: 470px; }
    .hero-content { padding-block: 52px; }
    .hero h1 { font-size: clamp(2.55rem, 10.4vw, 3rem); }
    .hero h1 br { display: none; }
    .card-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}

.home-jump { background: #f7fafb; border-bottom: 1px solid var(--outline); }
.home-jump .container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    padding-block: 14px;
}
.home-jump a { color: var(--blue); font-size: 0.9rem; font-weight: 700; padding-block: 3px; text-decoration: none; }
.home-jump a:hover { text-decoration: underline; }

.home-guide {
    display: grid;
    grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
    align-items: start;
    gap: clamp(28px, 7vw, 100px);
}
.home-guide h2, .home-visit h2 { margin-top: 7px; }
.home-guide > div > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); max-width: 42ch; }
.home-guide .btn { margin-top: 22px; }
.home-specs { margin: 0; border-top: 1px solid var(--outline); }
.home-specs > div {
    display: grid;
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
    gap: 16px;
    border-bottom: 1px solid var(--outline);
    padding-block: 16px;
}
.home-specs dt { font-weight: 750; }
.home-specs dd { margin: 0; color: var(--muted); }
.home-ideas figure { margin: 0; }
.home-ideas figcaption { padding: clamp(16px, 2vw, 26px); }
.home-ideas figcaption p { margin-top: 7px; color: var(--muted); }

.home-faq { border-top: 1px solid var(--outline); }
.home-faq details { border-bottom: 1px solid var(--outline); }
.home-faq summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 16px 41px 16px 0;
    font-weight: 700;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 24px;
    width: 8px;
    height: 8px;
    border: solid var(--blue);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.home-faq details[open] summary::after { transform: rotate(225deg); }
.home-faq details p { color: var(--muted); padding: 0 30px 16px 0; }

.home-visit { background: #174b65; color: white; }
.home-visit-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-visit .eyebrow { color: #d1eef9; }
.home-visit address { margin-top: 13px; max-width: 51ch; color: #ecf6fb; }
.home-visit .actions { margin: 0; flex: none; }
#applications, #project-ideas, #buyer-faq, #visit { scroll-margin-top: 16px; }

@media (max-width: 900px) {
    .home-visit-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
    .home-guide { grid-template-columns: 1fr; }
    .home-jump .container { gap: 4px 16px; }
}
@media (max-width: 485px) {
    .home-specs > div { grid-template-columns: 1fr; gap: 4px; }
}

.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    align-items: center;
    gap: clamp(26px, 7vw, 88px);
    padding-bottom: clamp(38px, 5vw, 72px);
    border-bottom: 1px solid var(--outline);
}
.home-intro h2 { margin-top: 8px; }
.home-intro > div:last-child p, .home-quote-copy { color: var(--muted); max-width: 54ch; }
.home-quote-copy { margin-top: 14px; }
.home-profile-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(15px, 2.5vw, 32px);
    margin: 30px 0 0;
}
.home-profile-types > div {
    background: white;
    border: 1px solid var(--outline);
    border-top: 3px solid #5e9eb4;
    border-radius: 8px;
    padding: clamp(16px, 2.1vw, 28px);
}
.home-profile-types dt, .home-finish-list dt {
    font: 800 1.36rem/1.2 Manrope, Inter, sans-serif;
    letter-spacing: -0.025em;
}
.home-profile-types dd, .home-finish-list dd { margin: 8px 0 0; color: var(--muted); }
.home-railing { background: var(--navy); color: #fff; }
.home-railing .eyebrow { color: #ade0ef; }
.home-railing .feature-copy p:not(.eyebrow), .home-railing .detail-list dd { color: #d4e4ed; }
.home-railing .detail-list div { border-color: #ffffff36; }
.home-finish-list { margin: 0; }
.home-finish-list > div {
    padding: 16px 20px 17px;
    border-left: 3px solid #74aabb;
    background: #f4f8fa;
    border-radius: 0 6px 6px 0;
}
.home-finish-list > div + div { margin-top: 10px; }
#finishes { border-bottom: 1px solid var(--outline); }

.home-match { padding: 0 0 0 34px; margin: 0; }
.home-match li {
    padding: 17px 0 20px 10px;
    border-top: 1px solid #c6d9e2;
}
.home-match li::marker { color: #174b65; font-weight: 750; }
.home-match li p { margin-top: 6px; color: var(--muted); }
#project-ideas { background: #f9fbfc; border-block: 1px solid var(--outline); }
#pipe-profiles, #hardware, #quote { scroll-margin-top: 16px; }

@media (max-width: 760px) {
    .home-intro { grid-template-columns: 1fr; }
    #hardware .feature-image { grid-row: 1; }
}
@media (max-width: 585px) {
    .home-profile-types { grid-template-columns: 1fr; }
}
