/* Atlantech: www.atlantech.ie
   Tokens from the brand brief, plus accessible derivatives. No framework. */

/* Inter, subset to Latin (see README). The ?v= must match the preload in _Layout.cshtml: bump both
   whenever the font file changes. */
@font-face {
    font-family: "Inter";
    src: url("../fonts/InterVariable.woff2?v=2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-017F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Arial adjusted to Inter's metrics, so text doesn't shift when the web font arrives. */
@font-face {
    font-family: "Inter Fallback";
    src: local("Arial"), local("ArialMT"), local("Liberation Sans");
    size-adjust: 107.12%;
    ascent-override: 90.44%;
    descent-override: 22.52%;
    line-gap-override: 0%;
}

:root {
    --atlantic-navy: #0B192C;
    --deep-ocean: #104C69;
    --atlantic-blue: #38B9E6;
    --ice-blue: #E8F1F7;
    --white: #FFFFFF;
    --muted-on-dark: #B2C7D9;
    --muted-on-light: #475569;
    --border-on-light: #D7E2EA;
    --accent-text-on-light: #104C69;
    --content-max: 1240px;
    --radius-card: 14px;
    --radius-button: 8px;

    /* Derivatives (contrast checked in the tests: ContrastTests) */
    --navy-raised: #10233B;          /* cards on navy */
    --border-on-dark: rgba(178, 199, 217, 0.24);
    --atlantic-blue-hover: #6CCDEE;  /* primary button hover, navy text */
    --deep-ocean-hover: #0C3A51;
    --input-border: #64748B;         /* 4.7:1 on white: form fields need 3:1 */
    --error: #B42318;
    --error-bg: #FEF3F2;
    --focus-ring: #104C69;

    --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gutter: clamp(20px, 4vw, 32px);
    --section-y: clamp(64px, 8vw, 112px);
    --gap: clamp(20px, 2.2vw, 32px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: clamp(1rem, 0.95rem + 0.22vw, 1.125rem);
    line-height: 1.6;
    color: var(--atlantic-navy);
    background: var(--white);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.375rem, 1.35rem + 4.4vw, 5rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 750;
}

h2 { font-size: clamp(1.875rem, 1.4rem + 1.9vw, 3rem); }
h3, .h3-size { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); line-height: 1.3; letter-spacing: -0.01em; font-weight: 650; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--deep-ocean); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--deep-ocean-hover); text-decoration-thickness: 2px; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
    border-radius: 2px;
}

code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.9em; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -100px;
    z-index: 100;
    padding: 12px 18px;
    background: var(--atlantic-blue);
    color: var(--atlantic-navy);
    font-weight: 600;
    border-radius: var(--radius-button);
    text-decoration: none;
}
.skip-link:focus { top: 16px; outline-color: var(--white); }

main:focus { outline: none; }

/* Dark surfaces: light text, cyan focus and links. */
.site-header, .site-footer, .hero, .page-hero, .section--art, .cta-band {
    --focus-ring: var(--atlantic-blue);
    color: var(--white);
}
.site-footer a, .page-hero a:not(.btn), .section--art a:not(.btn) { color: var(--white); }

/* ---------- Layout ---------- */

.container {
    width: 100%;
    max-width: calc(var(--content-max) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.narrow { max-width: calc(780px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--ice { background: var(--ice-blue); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-bottom: 0; }
.section-foot { margin-top: clamp(24px, 3vw, 40px); }

.split { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) {
    .split { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
    .split--top { align-items: start; }
    .split > :first-child { grid-column: 1 / span 5; }
    .split > :last-child { grid-column: 7 / span 6; }
    .split .split-body:first-child { grid-column: 1 / span 7; }
    .split .split-body:first-child + .panel { grid-column: 9 / span 4; }
}
.split-heading h2 { margin-bottom: 0.5em; }
.split-heading .lead { margin-top: 0.5em; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

.lead {
    font-size: clamp(1.125rem, 1.03rem + 0.45vw, 1.3125rem);
    line-height: 1.55;
    color: var(--muted-on-light);
}

.eyebrow {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--accent-text-on-light);
}

.small-print { margin-top: 2rem; font-size: 0.9375rem; color: var(--muted-on-light); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.375rem;
    border: 2px solid transparent;
    border-radius: var(--radius-button);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-lg { min-height: 54px; padding: 0.875rem 1.625rem; font-size: 1.0625rem; }

.btn-primary { background: var(--atlantic-blue); color: var(--atlantic-navy); }
.btn-primary:hover { background: var(--atlantic-blue-hover); color: var(--atlantic-navy); }

.btn-secondary { background: var(--atlantic-navy); color: var(--white); }
.btn-secondary:hover { background: var(--deep-ocean); color: var(--white); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn-icon { width: 20px; height: 20px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: clamp(24px, 3vw, 36px); }
@media (max-width: 479px) {
    .actions .btn { width: 100%; }
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon-svg { width: 18px; height: 18px; }

/* ---------- Header and navigation ---------- */

.site-header {
    position: relative;
    z-index: 20;
    background: var(--atlantic-navy);
    border-bottom: 1px solid var(--border-on-dark);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand { display: inline-flex; padding: 6px 0; flex-shrink: 0; }
.brand img { width: 139px; height: 28px; }

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border-on-dark);
    border-radius: var(--radius-button);
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
}
.nav-toggle .icon-svg { width: 22px; height: 22px; }
.nav-toggle-icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon--close { display: inline; }

.site-nav { display: flex; align-items: center; gap: 28px; }

.nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item { position: relative; display: flex; align-items: center; }

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
}
.nav-link:hover { color: var(--atlantic-blue); text-decoration: none; }
.nav-item.is-active > .nav-link,
.nav-link[aria-current="page"] {
    color: var(--white);
    box-shadow: inset 0 -2px 0 var(--atlantic-blue);
    border-radius: 0;
}

.sub-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 44px;
    margin-left: -6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted-on-dark);
    cursor: pointer;
    border-radius: 6px;
}
.sub-toggle .icon-svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.sub-toggle[aria-expanded="true"] .icon-svg { transform: rotate(180deg); }
.sub-toggle:hover { color: var(--white); }
.js .sub-toggle { display: inline-flex; }

.sub-list {
    margin: 0;
    padding: 8px;
    list-style: none;
}
.sub-list a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.35;
}
.sub-list a:hover { background: rgba(56, 185, 230, 0.12); color: var(--white); }
.sub-list a[aria-current="page"] { color: var(--atlantic-blue); }

.nav-cta { white-space: nowrap; }

/* Desktop: dropdown panels */
@media (min-width: 1024px) {
    .sub-list {
        position: absolute;
        top: calc(100% + 10px);
        left: -8px;
        min-width: 280px;
        background: var(--navy-raised);
        border: 1px solid var(--border-on-dark);
        border-radius: 12px;
        box-shadow: 0 18px 40px rgba(3, 10, 20, 0.35);
    }
    .sub-list[hidden] { display: none; }
}

/* Smaller screens: the menu becomes a panel under the bar (only once JS is running; without JS it stays open). */
@media (max-width: 1023px) {
    .header-bar { flex-wrap: wrap; }
    .js .nav-toggle { display: inline-flex; }
    .site-nav {
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 8px 0 24px;
    }
    .js .site-nav { display: none; }
    .js .site-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--border-on-dark); }
    .nav-link { flex: 1; padding: 12px 0; font-size: 1.0625rem; }
    .nav-item.is-active > .nav-link, .nav-link[aria-current="page"] { box-shadow: none; color: var(--atlantic-blue); }
    .sub-toggle { width: 48px; height: 48px; margin: 0; }
    .sub-list { flex-basis: 100%; padding: 0 0 12px 12px; }
    .sub-list[hidden] { display: none; }
    .nav-cta { align-self: flex-start; }
}
@media (max-width: 1023px) and (max-width: 479px) {
    .nav-cta { align-self: stretch; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 72vh, 740px);
    background: var(--atlantic-navy);
    overflow: hidden;
    isolation: isolate;
}

.hero-art img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 85% center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(11, 25, 44, 0.96) 0%, rgba(11, 25, 44, 0.9) 34%, rgba(11, 25, 44, 0.45) 62%, rgba(11, 25, 44, 0) 85%);
}

.hero-inner { padding-block: clamp(72px, 10vw, 120px); }
.hero-copy { max-width: 760px; }
.hero .eyebrow { color: var(--atlantic-blue); }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { max-width: 54ch; color: var(--muted-on-dark); }

.hero-proof {
    margin-top: clamp(28px, 3vw, 40px);
    padding-top: 20px;
    border-top: 1px solid var(--border-on-dark);
    max-width: 480px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--muted-on-dark);
    letter-spacing: 0.01em;
}

/* Small screens: text on solid navy, the artwork as a band underneath. */
@media (max-width: 767px) {
    .hero { flex-direction: column; align-items: stretch; min-height: 0; }
    .hero::before { display: none; }
    .hero-inner { order: 1; padding-block: 56px 40px; }
    .hero-art { order: 2; position: relative; height: 200px; }
    .hero-art img { position: absolute; z-index: 0; object-position: 80% center; }
    .hero-art::before {
        content: "";
        position: absolute; inset: 0; z-index: 1;
        background: linear-gradient(180deg, var(--atlantic-navy) 0%, rgba(11, 25, 44, 0) 45%);
    }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    position: relative;
    background:
        radial-gradient(ellipse 60% 120% at 100% 0%, rgba(16, 76, 105, 0.55), transparent 70%),
        var(--atlantic-navy);
    border-bottom: 1px solid var(--border-on-dark);
}
.page-hero-inner { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4rem); margin-bottom: 0.35em; }
.page-hero .eyebrow { color: var(--atlantic-blue); }
.page-hero .lead { max-width: 62ch; color: var(--muted-on-dark); }
.page-hero--error .page-hero-inner { padding-block: clamp(72px, 10vw, 128px); }

.breadcrumbs { margin-bottom: clamp(28px, 4vw, 48px); font-size: 0.875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--muted-on-dark); }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: var(--muted-on-dark); opacity: 0.7; }
.page-hero .breadcrumbs a { color: var(--muted-on-dark); }
.page-hero .breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current="page"] { color: var(--white); }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1023px) { .card-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* Eight service cards: 2 columns on tablets and small laptops, 4 on wide screens, so rows are always full. */
@media (min-width: 1024px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.highlight {
    margin-top: 1.5em;
    padding: 18px 22px;
    border-left: 4px solid var(--atlantic-blue);
    border-radius: 0 var(--radius-button) var(--radius-button) 0;
    background: var(--atlantic-navy);
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.45;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(24px, 2.4vw, 32px);
    background: var(--white);
    border: 1px solid var(--border-on-light);
    border-radius: var(--radius-card);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card p { margin: 0; color: var(--muted-on-light); }
.card-title { margin: 8px 0 0; }

.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { color: inherit; text-decoration: none; }
.card-link:focus-visible { outline: none; }
.card--link:has(.card-link:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.card--link:hover { border-color: var(--deep-ocean); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 25, 44, 0.08); }
.card--link:hover .card-arrow { transform: translateX(4px); color: var(--deep-ocean); }

.card-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--ice-blue);
    color: var(--deep-ocean);
}
.card-icon .icon-svg { width: 26px; height: 26px; }
.section--ice .card .card-icon { background: var(--ice-blue); }

.card-arrow { margin-top: auto; padding-top: 8px; color: var(--muted-on-light); transition: transform 0.2s ease, color 0.2s ease; }

.card--strip {
    margin-top: var(--gap);
    background: var(--atlantic-navy);
    border-color: var(--atlantic-navy);
    color: var(--white);
    --focus-ring: var(--deep-ocean);
}
.card--strip p { color: var(--muted-on-dark); }
.card--strip .card-icon { background: rgba(56, 185, 230, 0.14); color: var(--atlantic-blue); }
.card--strip .card-arrow { color: var(--atlantic-blue); }
.card--strip.card--link:hover { border-color: var(--atlantic-blue); }
.card--strip.card--link:hover .card-arrow { color: var(--atlantic-blue); }
@media (min-width: 768px) {
    .card--strip { flex-direction: row; align-items: center; gap: 28px; }
    .card-strip-body { flex: 1; }
    .card--strip .card-title { margin-top: 0; margin-bottom: 4px; }
    .card--strip .card-arrow { margin: 0; padding: 0; }
}

.card--dark {
    background: rgba(11, 25, 44, 0.78);
    border-color: var(--border-on-dark);
    color: var(--white);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.card--dark p { color: var(--muted-on-dark); }
.card--dark .card-icon { background: rgba(56, 185, 230, 0.14); color: var(--atlantic-blue); }
.card--dark .card-arrow { color: var(--atlantic-blue); }
.card--dark.card--link:hover { border-color: var(--atlantic-blue); box-shadow: none; }
.card--dark.card--link:hover .card-arrow { color: var(--atlantic-blue); }

/* ---------- Section with artwork (industries) ---------- */

.section--art {
    position: relative;
    background: var(--atlantic-navy);
    overflow: hidden;
    isolation: isolate;
}
.section--art .eyebrow { color: var(--atlantic-blue); }
.section-art img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.section--art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 25, 44, 0.9) 0%, rgba(11, 25, 44, 0.55) 55%, rgba(11, 25, 44, 0.8) 100%);
}

/* ---------- Numbered grid (differentiation) ---------- */

.numbered-grid {
    display: grid;
    gap: clamp(28px, 3vw, 40px) var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 640px) { .numbered-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.numbered-grid li { padding-top: 20px; border-top: 2px solid var(--atlantic-navy); }
.numbered-grid h3 { margin: 12px 0 8px; }
.numbered-grid p { margin: 0; color: var(--muted-on-light); }
.numbered-index { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-text-on-light); }

/* ---------- Steps ---------- */

.steps {
    display: grid;
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.step { position: relative; padding-top: 28px; }
.step::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--atlantic-blue) 0 48px, var(--border-on-light) 48px);
}
.step-number {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-text-on-light);
}
.step-title { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted-on-light); }
.section--ice .step::before { background: linear-gradient(90deg, var(--atlantic-blue) 0 48px, #C5D6E2 48px); }

/* ---------- Feature grid (capabilities, focus areas, values) ---------- */

.feature-grid {
    display: grid;
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.feature {
    padding: clamp(22px, 2.2vw, 28px);
    background: var(--white);
    border: 1px solid var(--border-on-light);
    border-left: 3px solid var(--deep-ocean);
    border-radius: var(--radius-card);
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted-on-light); }

/* ---------- Panels and lists ---------- */

.panel {
    padding: clamp(24px, 2.4vw, 32px);
    background: var(--ice-blue);
    border-radius: var(--radius-card);
}
.panel + .panel { margin-top: var(--gap); }
.panel-title { font-size: 1.125rem; letter-spacing: -0.01em; margin-bottom: 16px; }

.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li + li { margin-top: 12px; }
.check-list .icon-svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 0.2em; color: var(--deep-ocean); }

.mini-steps { margin: 0; padding-left: 1.25em; }
.mini-steps li + li { margin-top: 10px; }
.mini-steps li::marker { font-weight: 700; color: var(--deep-ocean); }

.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li + li { margin-top: 8px; }

/* ---------- Origin (wave artwork + editorial text) ---------- */

.origin-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .origin-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.origin-media { border-radius: var(--radius-card); overflow: hidden; background: var(--atlantic-navy); }
.origin-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% center; }
@media (max-width: 899px) { .origin-art img { aspect-ratio: 16 / 9; } }

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    background: var(--atlantic-navy);
    overflow: hidden;
    isolation: isolate;
    text-align: left;
}
.cta-art img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}
.cta-band--art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(11, 25, 44, 0.95) 0%, rgba(11, 25, 44, 0.82) 50%, rgba(11, 25, 44, 0.55) 100%);
}
.cta-inner { padding-block: clamp(72px, 9vw, 120px); }
.cta-inner h2 { max-width: 18ch; }
.cta-inner .lead { max-width: 58ch; color: var(--muted-on-dark); margin-bottom: clamp(24px, 3vw, 36px); }
@media (max-width: 767px) {
    .cta-band--art::before { background: rgba(11, 25, 44, 0.86); }
}

/* ---------- Contact form ---------- */

.contact-grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 960px) {
    .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
}
.contact-form-wrap { max-width: 680px; }
.form-title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin-bottom: 8px; }
.form-intro { color: var(--muted-on-light); margin-bottom: 32px; }

.field { margin-bottom: 26px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted-on-light); }
.hint { margin: -2px 0 8px; font-size: 0.9375rem; color: var(--muted-on-light); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1.5px solid var(--input-border);
    border-radius: var(--radius-button);
    background: var(--white);
    color: var(--atlantic-navy);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
}
textarea { min-height: 180px; resize: vertical; }
select {
    appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230B192C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
    border-color: var(--atlantic-navy);
}
.input-medium { max-width: 320px; }

.field--error { padding-left: 16px; border-left: 4px solid var(--error); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field-error { margin: 0 0 8px; font-weight: 600; color: var(--error); }

.error-summary {
    margin-bottom: 36px;
    padding: 20px 24px;
    border: 3px solid var(--error);
    border-radius: var(--radius-button);
    background: var(--error-bg);
}
.error-summary:focus { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.error-summary-title { font-size: 1.25rem; margin-bottom: 12px; }
.error-summary ul { margin: 0; padding-left: 1.1em; }
.error-summary a { color: var(--error); font-weight: 600; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.privacy-note { margin: 8px 0 28px; font-size: 0.9375rem; color: var(--muted-on-light); }

.contact-aside .panel-title { margin-bottom: 14px; }

/* ---------- Legal pages ---------- */

.legal h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }
.table-wrap { overflow-x: auto; margin: 0 0 1.25em; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-on-light); }
thead th { background: var(--ice-blue); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { background: var(--atlantic-navy); font-size: 0.9375rem; }
.footer-grid {
    display: grid;
    gap: 40px var(--gap);
    padding-block: clamp(56px, 7vw, 88px) 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }

.footer-brand .brand { margin-bottom: 20px; }
.footer-slogan { margin-bottom: 4px; font-weight: 600; color: var(--white); }
.footer-descriptor, .footer-philosophy { margin-bottom: 4px; color: var(--muted-on-dark); }
.footer-philosophy { margin-top: 16px; font-style: normal; }

.footer-heading {
    margin-bottom: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--atlantic-blue);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--muted-on-dark); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 32px;
    padding-block: 24px 32px;
    border-top: 1px solid var(--border-on-dark);
    color: var(--muted-on-dark);
    font-size: 0.875rem;
}
.footer-legal-text p { margin: 0; }
.footer-legal-text p + p { margin-top: 4px; }
.footer-legal-text span + span { margin-left: 0.4em; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.legal-links a { color: var(--muted-on-dark); }
.legal-links a:hover { color: var(--white); }

/* ---------- Motion and print ---------- */

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

@media print {
    .site-header, .site-footer, .cta-band, .skip-link, .hero-art, .section-art, .origin-media { display: none !important; }
    .hero, .page-hero, .section--art { color: #000; background: none; }
    .hero::before, .section--art::before { display: none; }
}
