/*
Theme Name: Exterior Options Remodeling
Theme URI: https://exterioroptionsomaha.com/
Author: Cyberlaunch
Description: A focused one-page theme for Exterior Options' interior, exterior, outdoor, and whole-home remodeling services.
Version: 2.0.0
Text Domain: exterior-options-remodeling
*/

:root {
    --navy-950: #071a2b;
    --navy-900: #0a2238;
    --navy-800: #123653;
    --blue-650: #12629a;
    --blue-500: #1683c5;
    --yellow-500: #f7cf2e;
    --yellow-400: #ffdd4e;
    --cream-50: #fbfaf5;
    --cream-100: #f5f1e7;
    --paper: #fff;
    --ink: #132333;
    --muted: #5a6875;
    --line: #d8dedf;
    --error: #a62b28;
    --success: #236c48;
    --shadow: 0 22px 60px rgba(5, 25, 42, .13);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shell: min(1180px, calc(100vw - 48px));
    --section: clamp(72px, 9vw, 124px);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    background: var(--cream-50);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy-950);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.04;
}

h1 {
    font-size: clamp(3.35rem, 7.4vw, 6.9rem);
}

h2 {
    font-size: clamp(2.35rem, 4.5vw, 4.3rem);
}

h3 {
    font-size: clamp(1.45rem, 2vw, 2rem);
}

::selection {
    background: var(--yellow-400);
    color: var(--navy-950);
}

:focus-visible {
    outline: 3px solid var(--yellow-500);
    outline-offset: 4px;
}

.site-shell {
    margin-inline: auto;
    width: var(--shell);
}

.section-pad {
    padding-block: var(--section);
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.skip-link {
    background: var(--yellow-500);
    color: var(--navy-950);
    font-weight: 800;
    left: 16px;
    padding: 12px 18px;
    position: fixed;
    top: -80px;
    z-index: 1000;
}

.skip-link:focus {
    top: 16px;
}

.eyebrow {
    align-items: center;
    color: var(--blue-650);
    display: flex;
    font-size: .73rem;
    font-weight: 850;
    gap: 10px;
    letter-spacing: .15em;
    line-height: 1.35;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.eyebrow::before {
    background: var(--yellow-500);
    content: "";
    height: 3px;
    width: 28px;
}

.eyebrow-light {
    color: #b9d9ee;
}

.button {
    align-items: center;
    border: 2px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: .85rem;
    font-weight: 850;
    justify-content: center;
    letter-spacing: .045em;
    line-height: 1.2;
    min-height: 52px;
    padding: 14px 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--blue-650);
    color: var(--paper);
}

.button-primary:hover {
    background: var(--navy-800);
}

.button-yellow {
    background: var(--yellow-500);
    color: var(--navy-950);
}

.button-yellow:hover {
    background: var(--paper);
}

.button-dark {
    background: var(--navy-950);
    color: var(--paper);
}

.button-dark:hover {
    background: var(--blue-650);
}

.button-outline-light {
    border-color: rgba(255, 255, 255, .45);
    color: var(--paper);
}

.button-outline-light:hover {
    background: var(--paper);
    color: var(--navy-950);
}

.button-quiet {
    color: var(--navy-950);
    padding-inline: 6px;
}

.text-link {
    color: var(--blue-650);
    font-size: .84rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link span {
    display: inline-block;
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.text-link-light {
    color: var(--yellow-400);
}

/* Header */
.utility-bar {
    background: var(--navy-950);
    color: #dbe7ef;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.utility-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 34px;
}

.utility-inner a {
    color: var(--yellow-400);
    text-decoration: none;
}

.site-header {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(7, 26, 43, .1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: 174px 1fr auto;
    min-height: 86px;
}

.site-brand {
    display: block;
    width: 150px;
}

.site-brand img {
    height: auto;
    width: 100%;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: clamp(17px, 2vw, 30px);
    justify-content: center;
}

.site-nav a {
    color: var(--navy-900);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .055em;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a::after {
    background: var(--yellow-500);
    bottom: -8px;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
    width: 100%;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-call {
    color: var(--navy-950);
    line-height: 1.2;
    text-align: right;
    text-decoration: none;
}

.header-call span {
    display: block;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .09em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.header-call strong {
    color: var(--blue-650);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.menu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--navy-950);
    display: none;
    font-size: .75rem;
    font-weight: 850;
    gap: 10px;
    letter-spacing: .08em;
    padding: 8px;
    text-transform: uppercase;
}

.menu-toggle-lines {
    display: grid;
    gap: 4px;
    width: 24px;
}

.menu-toggle-lines i {
    background: currentColor;
    display: block;
    height: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.home-hero {
    background:
        linear-gradient(90deg, rgba(18, 98, 154, .06) 1px, transparent 1px) 0 0 / 80px 80px,
        linear-gradient(rgba(18, 98, 154, .06) 1px, transparent 1px) 0 0 / 80px 80px,
        var(--cream-50);
    overflow: hidden;
    padding-block: clamp(58px, 8vw, 108px);
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(46px, 7vw, 92px);
    grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
}

.hero-copy h1 {
    margin-bottom: 30px;
    max-width: 760px;
}

.hero-copy h1 em {
    color: var(--blue-650);
    font-weight: inherit;
}

.hero-lede {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    margin-bottom: 34px;
    max-width: 680px;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-scope {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 46px 0 0;
    padding: 22px 0 0;
}

.hero-scope li {
    color: var(--navy-900);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hero-scope span {
    color: var(--blue-500);
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.hero-visual {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    min-height: clamp(510px, 52vw, 680px);
    overflow: hidden;
    position: relative;
}

.hero-visual::after {
    background: linear-gradient(180deg, transparent 45%, rgba(5, 25, 42, .8));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.hero-visual > img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: 100% center;
    position: absolute;
    width: 100%;
}

.hero-stamp {
    align-items: center;
    aspect-ratio: 1;
    background: var(--yellow-500);
    border-radius: 50%;
    color: var(--navy-950);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    right: -10px;
    text-align: center;
    top: 30px;
    transform: rotate(6deg);
    width: 152px;
    z-index: 2;
}

.hero-stamp span {
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-stamp strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.12;
    margin-top: 5px;
}

.hero-watch {
    align-items: center;
    bottom: 30px;
    color: var(--paper);
    display: flex;
    gap: 14px;
    left: 30px;
    position: absolute;
    text-decoration: none;
    z-index: 2;
}

.hero-watch-icon {
    align-items: center;
    background: var(--yellow-500);
    border-radius: 50%;
    color: var(--navy-950);
    display: flex;
    height: 48px;
    justify-content: center;
    padding-left: 3px;
    width: 48px;
}

.hero-watch small,
.hero-watch strong {
    display: block;
}

.hero-watch small {
    font-size: .65rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-watch strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
}

/* Section foundations */
.section-heading {
    margin-bottom: clamp(42px, 6vw, 72px);
}

.section-heading h2 {
    margin-bottom: 0;
}

.split-heading,
.heading-with-action {
    align-items: end;
    display: grid;
    gap: 50px;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
}

.split-heading > p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.heading-with-action > :last-child {
    justify-self: end;
}

/* Scope cards */
.scope-intro {
    background: var(--paper);
}

.scope-cards {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
}

.scope-card {
    background: var(--cream-100);
    border-top: 4px solid var(--yellow-500);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 430px;
    overflow: hidden;
    padding: clamp(30px, 4vw, 48px);
    position: relative;
}

.scope-card::after {
    border: 1px solid rgba(18, 98, 154, .12);
    border-radius: 50%;
    content: "";
    height: 230px;
    position: absolute;
    right: -120px;
    top: -100px;
    width: 230px;
}

.scope-card-exterior {
    background: #eaf3f7;
}

.scope-card-whole {
    background: var(--navy-900);
    color: #cfdae3;
}

.scope-card-whole h3,
.scope-card-whole .eyebrow {
    color: var(--paper);
}

.scope-card-whole .text-link {
    color: var(--yellow-400);
}

.scope-number {
    color: rgba(18, 98, 154, .33);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.7rem;
    font-weight: 700;
    line-height: 1;
}

.scope-card-whole .scope-number {
    color: rgba(255, 255, 255, .18);
}

.scope-card h3 {
    margin-bottom: 18px;
}

.scope-card p:not(.eyebrow, .scope-number) {
    margin-bottom: 26px;
}

/* Services and videos */
.services-showcase {
    background:
        radial-gradient(circle at 15% 5%, rgba(22, 131, 197, .26), transparent 24%),
        var(--navy-950);
    color: #c8d5df;
}

.services-showcase h2 {
    color: var(--paper);
}

.service-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    background: var(--paper);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(4, 17, 29, .15);
    color: var(--muted);
    min-width: 0;
    overflow: hidden;
    scroll-margin-top: 130px;
}

.service-card-featured {
    box-shadow: 0 0 0 2px var(--yellow-500), 0 16px 36px rgba(4, 17, 29, .25);
}

.service-card-media {
    background: #dbe3e7;
    display: block;
}

.service-card-body {
    padding: 26px 28px 30px;
}

.service-kicker {
    color: var(--blue-650);
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .12em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.service-card h3 {
    font-size: 1.78rem;
    margin-bottom: 14px;
}

.service-card-body > p:not(.service-kicker) {
    font-size: .94rem;
    min-height: 74px;
}

.video-facade {
    aspect-ratio: 16 / 9;
    background: var(--navy-900);
    overflow: hidden;
    position: relative;
}

.video-facade iframe {
    border: 0;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.video-trigger {
    background: transparent;
    border: 0;
    cursor: pointer;
    height: 100%;
    inset: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

.video-trigger img {
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    width: 100%;
}

.video-trigger:hover img {
    transform: scale(1.025);
}

.video-shade {
    background: linear-gradient(180deg, transparent 35%, rgba(4, 18, 31, .58));
    inset: 0;
    position: absolute;
}

.video-play {
    align-items: center;
    background: var(--yellow-500);
    border-radius: 999px;
    bottom: 16px;
    color: var(--navy-950);
    display: flex;
    font-size: .68rem;
    font-weight: 900;
    height: 46px;
    justify-content: center;
    letter-spacing: .08em;
    position: absolute;
    right: 16px;
    text-transform: uppercase;
    width: 70px;
}

/* Process */
.process {
    background: var(--cream-100);
}

.process-grid {
    align-items: start;
    display: grid;
    gap: clamp(55px, 9vw, 120px);
    grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
}

.process-intro {
    position: sticky;
    top: 140px;
}

.process-intro h2 {
    margin-bottom: 26px;
}

.process-intro > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.process-steps li {
    align-items: start;
    border-top: 1px solid #cbd2d2;
    display: grid;
    gap: 28px;
    grid-template-columns: 70px 1fr;
    padding-block: 34px;
}

.process-steps li:last-child {
    border-bottom: 1px solid #cbd2d2;
}

.process-steps > li > span {
    color: var(--blue-650);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 700;
}

.process-steps h3 {
    margin-bottom: 10px;
}

.process-steps p {
    color: var(--muted);
    margin-bottom: 0;
}

/* Story and storm */
.story-band {
    background: var(--blue-650);
    color: #dcebf5;
}

.story-grid {
    align-items: center;
    display: grid;
    gap: clamp(48px, 8vw, 100px);
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
}

.story-video .video-facade {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(3, 21, 35, .3);
}

.story-media-stack {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, .65fr);
}

.story-video p {
    color: #d4e7f3;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .09em;
    margin: 11px 4px 0;
    text-transform: uppercase;
}

.story-video-secondary {
    align-self: end;
}

.story-copy h2 {
    color: var(--paper);
    margin-bottom: 26px;
}

.story-copy > p:not(.eyebrow) {
    font-size: 1.05rem;
}

.story-rule {
    background: rgba(255, 255, 255, .25);
    height: 1px;
    margin-block: 30px;
}

.story-note {
    color: #c4dfef;
}

.storm-note {
    background: var(--yellow-500);
    padding-block: 44px;
    scroll-margin-top: 110px;
}

.storm-grid {
    align-items: center;
    display: grid;
    gap: 26px;
    grid-template-columns: 64px minmax(270px, .9fr) minmax(300px, 1.1fr) auto;
}

.storm-mark {
    align-items: center;
    border: 3px solid var(--navy-950);
    border-radius: 50%;
    display: flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-weight: 800;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.storm-grid .eyebrow {
    color: var(--navy-950);
    margin-bottom: 8px;
}

.storm-grid .eyebrow::before {
    background: var(--navy-950);
}

.storm-grid h2 {
    font-size: clamp(1.65rem, 2.7vw, 2.45rem);
    margin-bottom: 0;
}

.storm-grid > p {
    font-size: .94rem;
    line-height: 1.55;
    margin-bottom: 0;
}

/* Contact and form */
.contact-home {
    background: var(--paper);
    scroll-margin-top: 100px;
}

.contact-home-grid {
    align-items: start;
    display: grid;
    gap: clamp(50px, 8vw, 104px);
    grid-template-columns: minmax(280px, .72fr) minmax(480px, 1.28fr);
}

.contact-home-copy {
    position: sticky;
    top: 140px;
}

.contact-home-copy h2 {
    margin-bottom: 25px;
}

.contact-home-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
}

.contact-direct-card {
    background: var(--cream-100);
    border-left: 4px solid var(--yellow-500);
    margin-top: 38px;
    padding: 28px;
}

.contact-direct-card .eyebrow {
    margin-bottom: 14px;
}

.contact-direct-card > a,
.contact-direct-card address {
    display: block;
}

.direct-phone {
    color: var(--blue-650);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 7px;
    text-decoration: none;
}

.contact-direct-card address {
    font-style: normal;
    margin-top: 18px;
}

.contact-direct-card p:last-child {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 0;
}

.request-panel {
    background: var(--navy-950);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    color: #d0dde6;
    padding: clamp(30px, 5vw, 54px);
}

.request-panel-heading h2 {
    color: var(--paper);
    font-size: clamp(2rem, 3.7vw, 3.4rem);
    margin-bottom: 18px;
}

.request-panel-heading > p:not(.eyebrow) {
    color: #b7c7d2;
}

.project-form {
    margin-top: 34px;
}

.form-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid-small {
    align-items: start;
    margin-block: 24px;
}

.field {
    margin-bottom: 22px;
}

.field label,
.field legend {
    color: var(--paper);
    display: block;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .055em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    background: #fff;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--ink);
    min-height: 52px;
    padding: 12px 14px;
    width: 100%;
}

.field textarea {
    min-height: 145px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--yellow-500);
    outline: 0;
}

.field [aria-invalid="true"] {
    border-color: #ff7f7b;
}

.preferred-field {
    border: 0;
    margin: 0 0 22px;
    min-width: 0;
    padding: 0;
}

.preferred-field .choice {
    display: inline-flex;
    margin: 8px 18px 0 0;
}

.choice {
    align-items: flex-start;
    display: flex;
    gap: 9px;
}

.choice input {
    accent-color: var(--yellow-500);
    flex: 0 0 auto;
    height: 18px;
    margin-top: 2px;
    width: 18px;
}

.choice-consent {
    color: #d3e0e8 !important;
    font-size: .78rem !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1.5;
    text-transform: none !important;
}

.choice-consent a,
.form-alternative a {
    color: var(--yellow-400);
}

.field-help,
.field-error {
    font-size: .78rem;
    margin: -12px 0 20px;
}

.field-help {
    color: #a9bac6;
}

.field-error {
    color: #ffaaa7;
    font-weight: 750;
}

.form-status {
    border-radius: var(--radius-sm);
    margin-block: 28px;
    padding: 20px 22px;
}

.form-status h3 {
    color: inherit;
    font-family: inherit;
    font-size: 1rem;
    letter-spacing: 0;
    margin-bottom: 5px;
}

.form-status p {
    margin-bottom: 0;
}

.form-error {
    background: rgba(166, 43, 40, .24);
    border: 1px solid #dc7773;
    color: #ffe8e7;
}

.form-success {
    background: rgba(35, 108, 72, .28);
    border: 1px solid #70bd92;
    color: #e8fff1;
}

.button-submit {
    background: var(--yellow-500);
    color: var(--navy-950);
    cursor: pointer;
    width: 100%;
}

.button-submit:hover {
    background: var(--paper);
}

.form-alternative {
    color: #aebfca;
    font-size: .8rem;
    margin: 16px 0 0;
    text-align: center;
}

.trap {
    left: -10000px;
    position: absolute;
}

.privacy-details {
    border-block: 1px solid var(--line);
    margin: var(--section) auto 0;
    max-width: 920px;
    scroll-margin-top: 130px;
}

.privacy-details summary {
    color: var(--navy-900);
    cursor: pointer;
    font-weight: 850;
    padding: 22px 4px;
}

.privacy-copy {
    color: var(--muted);
    font-size: .9rem;
    padding: 0 4px 10px;
}

/* Footer */
.footer-cta {
    background: var(--navy-800);
    color: var(--paper);
    padding-block: clamp(52px, 6vw, 76px);
}

.footer-cta-inner {
    align-items: center;
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr auto;
}

.footer-cta h2 {
    color: var(--paper);
    font-size: clamp(2rem, 3.7vw, 3.5rem);
    margin-bottom: 0;
    max-width: 790px;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.site-footer {
    background: var(--navy-950);
    color: #aebdc8;
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    gap: 44px;
    grid-template-columns: 1.2fr .8fr 1fr 1.1fr;
}

.footer-logo {
    height: auto;
    margin-bottom: 20px;
    width: 160px;
}

.footer-brand-block p {
    font-size: .9rem;
    max-width: 265px;
}

.footer-heading {
    color: var(--paper);
    font-family: inherit;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .1em;
    margin-bottom: 19px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
    color: #cbd7df;
    font-size: .88rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
    color: var(--yellow-400);
}

.footer-contact > a,
.footer-contact address {
    display: block;
}

.footer-contact .footer-phone {
    color: var(--yellow-400);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 700;
}

.footer-contact address {
    font-size: .84rem;
    font-style: normal;
    margin-block: 14px;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    font-size: .72rem;
    justify-content: space-between;
    margin-top: 58px;
    padding-top: 22px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom a {
    color: #aebdc8;
    text-decoration: none;
}

/* Fallback page */
.page-hero-simple,
.not-found {
    background: var(--cream-100);
}

.page-hero-simple {
    padding-block: 90px;
}

.narrow-heading,
.not-found-inner {
    max-width: 900px;
}

.page-hero-simple h1,
.not-found h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    margin-bottom: 25px;
}

.page-lede,
.not-found-inner > p:not(.eyebrow, .error-number) {
    color: var(--muted);
    font-size: 1.1rem;
}

.error-number {
    color: rgba(18, 98, 154, .14);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(7rem, 20vw, 16rem);
    font-weight: 800;
    line-height: .7;
    margin-bottom: 30px;
}

.prose {
    max-width: 760px;
}

@media (max-width: 1100px) {
    .header-inner {
        gap: 18px;
        grid-template-columns: 140px 1fr auto;
    }

    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: .69rem;
    }

    .header-call span {
        display: none;
    }

    .hero-grid {
        gap: 46px;
    }

    .storm-grid {
        grid-template-columns: 58px 1fr 1fr;
    }

    .storm-grid .button {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 960px) {
    :root {
        --shell: min(100% - 36px, 760px);
    }

    .utility-inner {
        justify-content: center;
    }

    .utility-inner a {
        display: none;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        min-height: 76px;
    }

    .site-brand {
        width: 132px;
    }

    .menu-toggle {
        display: flex;
    }

    .no-js .menu-toggle {
        display: none;
    }

    .header-call {
        display: none;
    }

    .site-nav {
        align-items: stretch;
        background: var(--paper);
        border-top: 1px solid var(--line);
        box-shadow: 0 20px 35px rgba(6, 27, 45, .15);
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        padding: 12px 18px 22px;
        position: absolute;
        right: 0;
        top: 76px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .no-js .site-nav {
        display: flex;
        position: static;
    }

    .site-nav a {
        border-bottom: 1px solid var(--line);
        font-size: .83rem;
        padding: 17px 5px;
    }

    .site-nav a::after {
        display: none;
    }

    .hero-grid,
    .story-grid,
    .contact-home-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 570px;
    }

    .scope-cards {
        grid-template-columns: 1fr;
    }

    .scope-card {
        min-height: 320px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-intro,
    .contact-home-copy {
        position: static;
    }

    .footer-cta-inner {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .footer-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    :root {
        --shell: calc(100% - 28px);
        --section: 72px;
    }

    h1 {
        font-size: clamp(3rem, 16vw, 4.4rem);
    }

    h2 {
        font-size: clamp(2.15rem, 11vw, 3.2rem);
    }

    .home-hero {
        padding-top: 52px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-scope {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    .hero-visual {
        border-radius: var(--radius-md);
        min-height: 430px;
    }

    .hero-stamp {
        right: -16px;
        top: 18px;
        width: 125px;
    }

    .hero-watch {
        bottom: 20px;
        left: 20px;
    }

    .split-heading,
    .heading-with-action {
        align-items: start;
        gap: 24px;
        grid-template-columns: 1fr;
    }

    .heading-with-action > :last-child {
        justify-self: start;
    }

    .scope-card {
        min-height: 360px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card-body > p:not(.service-kicker) {
        min-height: 0;
    }

    .process-steps li {
        gap: 15px;
        grid-template-columns: 50px 1fr;
    }

    .story-grid {
        gap: 46px;
    }

    .story-media-stack {
        grid-template-columns: 1fr;
    }

    .storm-grid {
        align-items: start;
        grid-template-columns: 48px 1fr;
    }

    .storm-mark {
        height: 44px;
        width: 44px;
    }

    .storm-grid > p,
    .storm-grid .button {
        grid-column: 1 / -1;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .request-panel {
        border-radius: var(--radius-md);
        margin-inline: -4px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-block,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

@media (max-width: 430px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > * {
        grid-column: 1;
    }

    .footer-cta-actions {
        flex-direction: column;
    }

    .footer-cta-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
