/* ESC design system. Tokens: esc-redesign/STYLE-GUIDE.md */
@font-face { font-family: 'Inter'; src: url('../fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
    --navy: #081525;
    --blue: #155EEF;
    --blue-dark: #0F4ACB;
    --cyan: #22D3EE;
    --teal: #0D9488;
    --ice: #F5F8FC;
    --white: #FFFFFF;
    --slate: #243746;
    --muted: #475569;
    --orange: #F59A3D;
    --line: #DCE3EC;
    --field-line: #64748B;
    --gutter: 16px;
    --section: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate);
    background: var(--white);
    overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: 'Manrope', system-ui, sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 3rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p, ul, ol, dl { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
address { font-style: normal; margin-bottom: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.section-navy :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .page-header :focus-visible { outline-color: var(--cyan); }
[id] { scroll-margin-top: 16px; }

.container { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; 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: 8px; top: -100px; background: var(--white); padding: 8px 16px; z-index: 100; }
.skip-link:focus { top: 8px; }
.icon { width: 24px; height: 24px; flex: none; stroke-width: 1.75; vertical-align: middle; }

/* Staging-only markers */
body:has(> .staging-flag) { --staging-bar: 29px; }
.staging-flag { margin: 0; padding: 4px var(--gutter); background: #FDE68A; color: #422006; font-size: .8125rem; font-weight: 600; text-align: center; }
.placeholder { border: 2px dashed #B45309; background: #FFFBEB; color: #713F12; border-radius: 8px; padding: 8px 12px; font-size: .8125rem; line-height: 1.5; }
.placeholder-art { display: grid; place-items: center; aspect-ratio: 16 / 9; text-align: center; margin-bottom: 16px; }
.test-tag { display: inline-block; background: #7F1D1D; color: var(--white); border-radius: 4px; padding: 2px 8px; font-size: .75rem; font-weight: 700; }

/* Outage banner */
.outage-banner { background: #FDE9B8; color: #3F2503; border-bottom: 2px solid #B45309; font-size: .9375rem; }
.outage-banner .container { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; padding-top: 10px; padding-bottom: 10px; }
.outage-banner p { margin: 0; }
.outage-icon { line-height: 0; padding-top: 1px; }
.outage-title { font-weight: 600; color: #2B1900; }
.outage-title .test-tag { margin-right: 6px; }
.outage-detail span { margin-right: 6px; }
.outage-link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 24px; font-weight: 700; }
.outage-banner a { color: #3F2503; white-space: nowrap; }
.outage-banner :focus-visible { outline-color: #3F2503; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.utility { background: var(--navy); font-size: .875rem; font-weight: 600; }
.utility-links { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; column-gap: 16px; }
.utility-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--white); text-decoration: none; }
.utility-links a:hover { color: var(--cyan); text-decoration: underline; }
.utility-links .icon { width: 17px; height: 17px; color: var(--cyan); }
.utility-links .utility-account { min-height: 32px; margin: 6px 0; padding: 0 14px; border: 1px solid var(--cyan); border-radius: 999px; }
.utility-links .utility-account:hover { background: var(--cyan); color: var(--navy); text-decoration: none; }
.utility-account:hover .icon { color: var(--navy); }
.utility :focus-visible { outline-color: var(--cyan); }
.header-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: block; line-height: 0; }
.logo img { width: min(244px, 66vw); height: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--field-line); border-radius: 8px; width: 44px; height: 44px; color: var(--navy); cursor: pointer; place-items: center; }
.nav-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-close { display: inline; }
.site-nav { display: flex; flex-direction: column; width: 100%; }
.site-nav a { color: var(--navy); text-decoration: none; font: 700 1.0625rem 'Manrope', system-ui, sans-serif; padding: 12px 0; border-bottom: 3px solid transparent; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.js .nav-toggle { display: grid; }
.js .site-nav { display: none; }
.js .nav-is-open .site-nav, .js body.nav-is-open .site-nav { display: flex; }

/* Buttons and links */
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
    background: var(--blue); color: var(--white); border: 2px solid var(--blue); border-radius: 8px;
    font: 600 1rem/1.3 'Inter', system-ui, sans-serif; text-decoration: none; text-align: center; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.arrow-link .icon { width: 20px; height: 20px; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* Hero: stationary text over slowly moving poster */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); display: flex; align-items: center; min-height: 560px; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; animation: drift 24s ease-in-out infinite alternate; transform-origin: 75% 60%; }
.hero.is-paused .hero-media img { animation-play-state: paused; }
@keyframes drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.2%, -.8%, 0); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,21,37,.9) 0%, rgba(8,21,37,.84) 62%, rgba(8,21,37,.15) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 120px; }
.hero h1 { color: var(--white); max-width: 12ch; line-height: 1.06; margin-bottom: 24px; }
.hero .lead { max-width: 34rem; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; margin-bottom: 0; }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .8125rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 32px 0 0; }
.hero-actions .btn { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }
.btn-ghost { background: rgba(8,21,37,.55); border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.hero-pause { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(8,21,37,.7); color: var(--white); cursor: pointer; }
.when-paused, .is-paused .when-playing { display: none; }
.is-paused .when-paused { display: inline; }
.no-js .hero-pause { display: none; }

/* Availability strip */
.availability-strip { background: var(--ice); border-bottom: 1px solid var(--line); padding: 16px 0; }
.availability-strip .availability-form { margin: 0; }
.availability-form { margin-bottom: 32px; }
.availability-form label { display: block; font: 700 1.0625rem 'Manrope', system-ui, sans-serif; color: var(--navy); margin-bottom: 8px; }
.availability-row { display: flex; flex-direction: column; gap: 8px; }
.availability-row input { flex: 1; min-width: 0; }
.field-error { color: #B91C1C; margin: 8px 0 0; font-weight: 600; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--slate);
    background: var(--white); border: 1px solid var(--field-line); border-radius: 8px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.cf-turnstile { margin-bottom: 16px; }
.form-wrap { max-width: 720px; }
.pac-container { z-index: 100000; }

/* Sections and layout */
.section { padding: var(--section) 0; }
.section-ice { background: var(--ice); }
.section-compact { padding: 40px 0; }
.section-compact h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.section-compact .grid { margin-bottom: 0; }
.section-navy { background: var(--navy); color: #E2E8F0; }
.section-navy h2 { color: var(--white); }
.section-navy a:not(.btn) { color: var(--cyan); }
.lead { font-size: 1.125rem; }
.also { margin: 24px 0 0; }

/* Lifestyle tiles: 16:9 picture above the text, so nothing is cropped or covered */
.tile-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: #0F2340; }
.tile-media { position: relative; aspect-ratio: 16 / 9; background: #123057; }
.tile-media .art-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-body { padding: 20px 24px 24px; }
.tile-body h3 { display: flex; align-items: center; gap: 12px; color: var(--white); font-size: clamp(1.25rem, 2vw, 1.625rem); }
.tile-body .icon { width: 30px; height: 30px; color: var(--cyan); }
.tile-body p { margin: 0; }
.art-note { align-self: flex-start; margin: 12px; }
.tile-media .art-note, .photo-band .art-note { position: absolute; top: 0; left: 0; }
.img-note { margin: 10px 0 0; font-size: .8125rem; opacity: .85; }

/* Why fiber */
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.point-list { list-style: none; padding: 0; }
.point-list li { border-left: 3px solid var(--blue); padding-left: 16px; margin-bottom: 16px; }
.point-list h3 { margin-bottom: 2px; font-size: 1.125rem; }
.point-list p { margin: 0; }
.ftth { margin: 0 0 24px; }
.ftth img { display: block; width: 100%; height: auto; margin-bottom: 16px; }
.ftth-steps { padding-left: 1.5rem; margin-bottom: 8px; font-size: .9375rem; }
.ftth-steps li { margin-bottom: 4px; padding-left: 4px; }
.ftth-steps li::marker { font-weight: 800; color: var(--navy); }
.ftth figcaption { color: var(--muted); font-size: .8125rem; }

/* Community */
.editorial { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 56px; align-items: end; margin-bottom: 32px; }
.editorial h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0; }
.editorial p:last-child { margin-bottom: 0; }
.photo-band { position: relative; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 12px; background: #E4ECF6; }
.photo-band .art-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editorial ~ .community-grid { margin-top: 24px; }
.community-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 24px; }
.community-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 12px; padding: 24px; }
.community-card-open { border-top-color: var(--blue); }
.community-card h3 { font-size: 1.5rem; }
.community-card .btn { margin-top: auto; }
.community-stage { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.community-stage .icon { width: 18px; height: 18px; }
.prose .community-grid { margin-bottom: 24px; }

/* Business split panel */
.business-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: stretch; }
.service-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 24px; }
.service-list li { display: flex; gap: 14px; align-items: flex-start; }
.service-list .icon { width: 28px; height: 28px; color: var(--cyan); }
.service-list h3 { margin: 0 0 2px; font-size: 1.125rem; }
.section-navy .service-list h3 a:not(.btn) { color: var(--white); text-decoration-color: var(--cyan); }
.service-list p { margin: 0; font-size: .9375rem; }
.service-list .placeholder { margin-top: 6px; }
.business-art { position: relative; display: grid; place-items: center; min-height: 240px; overflow: hidden; border-radius: 12px; background: linear-gradient(140deg, #123057, #0A1A2E); }
.business-art .art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.business-art .art-note { align-self: center; }

/* Why fiber */
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.point-list { list-style: none; padding: 0; }
.point-list li { border-left: 3px solid var(--blue); padding-left: 16px; margin-bottom: 16px; }
.point-list h3 { margin-bottom: 2px; font-size: 1.125rem; }
.point-list p { margin: 0; }
.ftth { margin: 0 0 24px; }
.ftth img { display: block; width: 100%; height: auto; margin-bottom: 16px; }
.ftth-steps { padding-left: 1.5rem; margin-bottom: 8px; font-size: .9375rem; }
.ftth-steps li { margin-bottom: 4px; padding-left: 4px; }
.ftth-steps li::marker { font-weight: 800; color: var(--navy); }
.ftth figcaption { color: var(--muted); font-size: .8125rem; }
.prose { max-width: calc(48rem + 2 * var(--gutter)); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.5em; }
.prose > h2:first-child, .prose .card h2:first-child { margin-top: 0; }
.page-header { background: linear-gradient(90deg, rgba(8,21,37,.95) 0%, rgba(8,21,37,.85) 60%, rgba(8,21,37,.4) 100%), url('../art/esc-signature-background-840.webp') right center / cover; color: var(--white); padding: 40px 0 32px; }
.page-header .container { text-shadow: 0 1px 8px var(--navy); }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.25rem); }
.page-header .lead { font-size: 1.125rem; max-width: 40rem; margin-bottom: 0; }
.page-header p:last-child { margin: 12px 0 0; }
.inline-benefits { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.inline-benefits li { display: flex; gap: 8px; align-items: center; }
.inline-benefits .icon { color: var(--cyan); }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
ul.grid { list-style: none; padding: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card > .icon { width: 32px; height: 32px; color: var(--blue); margin-bottom: 12px; }
.card > :last-child { margin-bottom: 0; }
.prose .card { margin-bottom: 24px; }
.promo { border-left: 4px solid var(--blue); }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.trust-list li { display: flex; flex-direction: column; gap: 8px; }
.trust-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--cyan); }
.trust-list h3 { margin: 0; font-size: 1.0625rem; font-weight: 800; }
.trust-list p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }

/* Plans */
.plans { padding-top: 12px; }
.plan-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 12px; padding: 24px; }
.plan-card.is-popular { border: 2px solid var(--blue); }
.plan-badge { position: absolute; top: -13px; left: 24px; margin: 0; background: var(--blue); color: var(--white); border-radius: 999px; padding: 2px 12px; font-size: .75rem; font-weight: 700; }
.plan-card h3 { margin-bottom: 12px; color: var(--muted); font-size: 1.0625rem; }
.plan-speed { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; margin: 0; color: var(--navy); font-family: 'Manrope', system-ui, sans-serif; line-height: 1; }
.speed-value { font-size: clamp(4rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -.04em; }
.speed-unit { font-size: 1.5rem; font-weight: 800; }
.speed-label { flex-basis: 100%; margin-top: 6px; color: var(--blue); font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
/* Equal height keeps the speeds level across cards. */
.plan-summary { min-height: 3em; margin: -4px 0 16px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.plan-upload { margin: 14px 0 0; font-size: 1.125rem; }
.plan-upload strong { color: var(--navy); }
.plan-price { margin: 16px 0; padding: 14px 0; border-block: 1px solid var(--line); }
.plan-price .amount { font: 800 2rem 'Manrope', system-ui, sans-serif; color: var(--navy); }
.plan-price .period { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin-bottom: 24px; flex: 1; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.check-list .icon { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.fine-print { color: var(--muted); font-size: .875rem; }

/* Self-service tiles */
.tiles a, .tiles .tile-disabled { display: flex; align-items: center; gap: 12px; height: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 20px; font-weight: 600; text-decoration: none; color: var(--navy); }
.tiles a:hover { border-color: var(--blue); color: var(--blue); }
.tiles .tile-disabled { color: var(--muted); background: var(--ice); border-style: dashed; }
.tiles .icon { color: var(--blue); }

.compare dt { font-weight: 700; color: var(--navy); }
.compare dd { margin: 0 0 12px; }
.result { border-left: 4px solid var(--blue); background: var(--ice); padding: 20px; margin-bottom: 32px; border-radius: 8px; }
.result h2 { font-size: 1.5rem; }
.result > :last-child { margin-bottom: 0; }

/* Messages */
.messages { padding-top: 16px; }
.notice { border: 1px solid; border-radius: 8px; padding: 12px 16px; margin: 0 0 8px; background: var(--ice); }
.notice-success { background: #ECFDF5; border-color: #047857; color: #064E3B; }
.notice-error { background: #FEF2F2; border-color: #B91C1C; color: #7F1D1D; }
.notice-warning { background: #FFFBEB; border-color: #B45309; color: #713F12; }

/* Status page: every state has an icon and words, not color alone */
.state { display: flex; gap: 16px; border: 2px solid; border-radius: 12px; padding: 20px; margin-bottom: 32px; }
.state h2 { font-size: 1.5rem; margin: 0 0 4px; }
.prose .state h2 { margin-top: 0; font-size: 1.5rem; }
.state p { margin: 0; }
.state .icon { width: 32px; height: 32px; }
.state-ok { border-color: #047857; background: #ECFDF5; }
.state-alert { border-color: #B45309; background: #FFFBEB; }
.state-unknown { border-color: var(--field-line); background: var(--ice); border-style: dashed; }
.incident { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.incident-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--field-line); border-radius: 999px; padding: 0 10px; font-size: .8125rem; font-weight: 600; }
.incident dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
.incident dt { font-weight: 600; color: var(--navy); }
.incident dd { margin: 0 0 8px; }

/* Legal documents */
.legal h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.legal h2 { font-size: 1.25rem; }

/* Contact call to action */
.contact-cta { background: var(--ice); border-top: 1px solid var(--line); padding: 32px 0; }
.contact-cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.contact-cta h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.contact-cta p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--navy); color: #CBD5E1; padding: 48px 0 24px; font-size: .9375rem; }
.site-footer h2 { color: var(--white); font-size: 1rem; }
.site-footer a { color: var(--cyan); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { padding: 3px 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.site-footer img { width: 244px; height: 54px; }
.tagline { color: var(--white); font-weight: 700; margin-top: 12px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 16px; font-size: .8125rem; }

/* Phones: shorter hero with nothing wasted below the buttons */
@media (max-width: 639px) {
    .hero { min-height: 460px; }
    .hero-content { padding-top: 24px; padding-bottom: 24px; }
    .hero h1 { margin-bottom: 16px; }
    .hero-actions { margin-top: 20px; gap: 10px; }
    .hero-actions .btn { min-height: 52px; }
    .hero-pause { top: 10px; right: 10px; bottom: auto; }
}

/* Small phones: one-row utility bar, compact alert, full-width hero buttons */
@media (max-width: 479px) {
    .utility { font-size: .8125rem; }
    .utility-links { justify-content: space-between; column-gap: 8px; }
    .utility-links a:not(.utility-account) .icon { display: none; }
    .utility-links .utility-account { padding: 0 10px; }
    .hero-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 639px) {
    .outage-banner { font-size: .8125rem; line-height: 1.45; }
    .outage-when { display: none; }  /* state and time are on the incident page */
}

@media (min-width: 640px) {
    .availability-row { flex-direction: row; }
    .grid-2, .grid-4, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .incident dl { grid-template-columns: 12rem minmax(0, 1fr); }
}

@media (min-width: 960px) {
    :root { --gutter: 24px; --section: 72px; }
    .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
    .trust-list li { flex-direction: row; gap: 14px; padding: 0 20px; border-left: 1px solid var(--line); }
    .trust-list li:first-child { border-left: 0; padding-left: 0; }
    .trust-list li:last-child { padding-right: 0; }
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .form-wrap .grid-3 { grid-template-columns: minmax(0, 1fr); }
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
    .footer-grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); }
    .availability-strip .availability-form { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
    .availability-strip label { margin: 0; }
    .availability-strip .availability-row { flex: 1; min-width: 28rem; }
    .hero { min-height: clamp(380px, calc(100vh - 224px - var(--staging-bar, 0px)), 600px); }
    .hero-content { padding-top: 40px; padding-bottom: 40px; }
    .hero::after { background: linear-gradient(90deg, rgba(8,21,37,.94) 0%, rgba(8,21,37,.82) 35%, rgba(8,21,37,.15) 70%, transparent 100%); }
    .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .why { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
    .editorial { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
    .outage-banner .container { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
    .outage-link { grid-column: 3; }
    .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .business-panel.has-art { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
}

@media (min-width: 1024px) {
    .logo img { width: 282px; }
    .js .nav-toggle { display: none; }
    .site-nav, .js .site-nav { display: flex; flex-direction: row; width: auto; gap: 20px; }
}

/* Short laptop screens: tighter header, search strip and hero type */
@media (min-width: 1024px) and (max-height: 800px) {
    .utility-links a { min-height: 36px; }
    .utility-links .utility-account { min-height: 28px; margin: 4px 0; }
    .header-main { padding-top: 6px; padding-bottom: 6px; }
    .availability-strip { padding: 10px 0; }
    .hero { min-height: clamp(380px, calc(100vh - 186px - var(--staging-bar, 0px)), 600px); }
    .hero-content { padding-top: 24px; padding-bottom: 24px; }
    .hero h1 { font-size: 3.5rem; margin-bottom: 16px; }
    .hero .lead { font-size: 1.125rem; }
    .hero .eyebrow { margin-bottom: 8px; }
    .hero-actions { margin-top: 20px; }
    .hero-actions .btn { min-height: 48px; padding-block: 10px; }
}

@media (min-width: 1200px) {
    .logo img { width: 296px; }
    .site-nav, .js .site-nav { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-media img { animation: none; }
    .hero-pause { display: none; }
}

@media print {
    .site-header, .site-footer nav, .skip-link, .outage-banner, .legal-tools, .staging-flag { display: none; }
    body { color: #000; }
    .site-footer { background: none; color: #000; }
    .site-footer img { display: none; }
    .tagline { color: #000; }
    a { color: #000; }
}
