/* Home page.
   Moved out of the page's inline <style> block unchanged. */

/* ---- page chrome on the home page: dark floor behind everything, yellow call button ---- */
body.page-home { background: #1C221F; }

.page-home .bg-fixed-grid,
.page-home .bg-gradient-overlay { display: none; }

.page-home .navbar-gemini.scrolled { background: rgba(28, 34, 31, 0.95); border-bottom-color: #3A453F; }

.page-home .navbar-gemini .navbar-collapse.show,
.page-home .navbar-gemini .navbar-collapse.collapsing { background: #1C221F; padding: 12px; }

/* footer in the page's colours (same pattern as /CatPlants); scoped so other pages keep theirs */
body.page-home .footer-refined { background: #121614 !important; color: #A5AFA8 !important; border-top: 1px solid #3A453F; }
body.page-home .footer-refined img { filter: invert(1); opacity: 0.9; }
body.page-home .footer-refined .footer-heading { color: #EDF0EA !important; }
body.page-home .footer-refined .text-muted,
body.page-home .footer-refined .text-secondary { color: #A5AFA8 !important; }
body.page-home .footer-refined .text-dark,
body.page-home .footer-refined .text-primary { color: #EDF0EA !important; }
body.page-home .footer-refined .transition-blue:hover,
body.page-home .footer-refined .transition-hover:hover { color: #F5C400 !important; }
body.page-home .footer-refined .border-top { border-color: #3A453F !important; }

.page-home .btn-gemini-primary { background: #F5C400; color: #121614; border-radius: 2px !important; font-weight: 700; }
.page-home .btn-gemini-primary:hover { background: #FFFFFF; color: #121614; }

/* ---- tokens ---- */
.home-cell {
    --floor: #1C221F;
    --floor-2: #232A26;
    --stage: #161B18;
    --joint: rgba(255, 255, 255, 0.035);
    --line: #3A453F;
    --ink: #EDF0EA;
    --ink-soft: #A5AFA8;
    --yellow: #F5C400;
    --red: #E5392C;
    --orange: #FF8A1F;
    --green: #2DBE62;
    --tape: #F2F3EE;
    --black: #121614;
    --sec-pad: 96px;
    --head-gap: 48px;
    background-color: var(--floor);
    background-image:
        linear-gradient(var(--joint) 1px, transparent 1px),
        linear-gradient(90deg, var(--joint) 1px, transparent 1px);
    background-size: 240px 240px;
    color: var(--ink);
    font-family: "Overpass", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.home-cell *, .home-cell *::before, .home-cell *::after { box-sizing: border-box; }
.home-cell h1, .home-cell h2, .home-cell h3, .home-cell p, .home-cell ul, .home-cell ol, .home-cell dl, .home-cell dd, .home-cell figure, .home-cell blockquote, .home-cell fieldset { margin: 0; padding: 0; border: 0; }
.home-cell ul, .home-cell ol { list-style: none; }
.home-cell a { color: inherit; }

.home-cell a:focus-visible,
.home-cell button:focus-visible,
.home-cell input:focus-visible,
.home-cell textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.home-cell .hc-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }

.home-cell .hc-h1, .home-cell .hc-h2, .home-cell .hc-kind-title, .home-cell .hc-call-h, .home-cell .hc-call-phone, .home-cell .hc-plan-title, .home-cell .hc-route h3, .home-cell .hc-form-title, .home-cell .hc-badge-name {
    font-family: "Big Shoulders", "Arial Narrow", sans-serif;
    font-optical-sizing: auto;
    text-transform: uppercase;
}

.home-cell .hc-label, .home-cell .hc-mono-tag, .home-cell .hc-labeltape, .home-cell .hc-tape-label, .home-cell .hc-plan-kicker, .home-cell .hc-legend, .home-cell .hc-zone, .home-cell .hc-tag-head, .home-cell .hc-call-kicker, .home-cell .hc-card-tags, .home-cell .hc-chip, .home-cell .hc-industries, .home-cell .hc-anim-toggle {
    font-family: "Overpass Mono", ui-monospace, monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---- buttons and label tape ---- */
.home-cell .hc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 26px;
    border: 2px solid var(--yellow);
    border-radius: 2px;
    font-family: "Overpass", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.home-cell .hc-btn-yellow { background: var(--yellow); color: var(--black); }
.home-cell .hc-btn-yellow:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--black); }
.home-cell .hc-btn-line { background: transparent; color: var(--ink); border-color: var(--tape); }
.home-cell .hc-btn-line:hover { background: var(--tape); color: var(--black); }

.home-cell .hc-labeltape {
    display: inline-block;
    padding: 4px 10px 2px;
    background: var(--yellow);
    color: var(--black);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.home-cell .hc-labeltape-orange { background: var(--orange); }

/* ---- hero ---- */
.home-cell .hc-hero { position: relative; padding-top: 136px; border-bottom: 8px solid var(--yellow); }
.home-cell .hc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 56px; align-items: center; padding-bottom: 48px; }

.home-cell .hc-tape-label {
    display: inline-block;
    margin-bottom: 28px;
    padding: 6px 12px 4px;
    background: var(--yellow);
    color: var(--black);
    font-size: 12.5px;
    font-weight: 600;
}

.home-cell .hc-h1 { font-weight: 900; font-size: clamp(38px, 4.4vw, 64px); line-height: 0.93; letter-spacing: 0.002em; }
.home-cell .hc-h1 span { display: block; }
.home-cell .hc-h1-pay { color: var(--yellow); }
.home-cell .hc-lede { max-width: 620px; margin-top: 28px; font-size: 19px; line-height: 1.55; color: var(--ink-soft); }
.home-cell .hc-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-cell .hc-note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }

/* Pixel-style phone: flat screen at 1080 x 2424, thin even bezel, centred camera hole, keys on the right */
.home-cell .hc-phone { justify-self: center; width: 232px; }

.home-cell .hc-phone-body {
    position: relative;
    padding: 6px;
    border-radius: 40px;
    background: #0B0C0D;
    box-shadow:
        inset 0 0 0 1.5px #3A3F44,
        0 0 0 1px #050606,
        0 40px 70px -26px rgba(0, 0, 0, 0.85);
}

.home-cell .hc-phone-screen {
    position: relative;
    aspect-ratio: 1080 / 2424;
    overflow: hidden;
    border-radius: 34px;
    background: #000;
}

.home-cell .hc-phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.home-cell .hc-phone-camera {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 11px;
    height: 11px;
    margin-left: -5.5px;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}

.home-cell .hc-phone-key { position: absolute; right: -3px; width: 3px; border-radius: 0 2px 2px 0; background: #3A3F44; }
.home-cell .hc-phone-key-power { top: 21%; height: 48px; }
.home-cell .hc-phone-key-volume { top: 34%; height: 86px; }
.home-cell .hc-phone figcaption { margin-top: 16px; }
.home-cell .hc-vid-toggle { display: flex; align-items: center; gap: 8px; margin: 12px auto 0; padding: 7px 12px 5px; border: 1.5px solid var(--line); border-radius: 2px; background: transparent; color: var(--ink-soft); font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.home-cell .hc-vid-toggle:hover { border-color: var(--tape); color: var(--ink); }

.home-cell .hc-industries { padding-top: 18px; padding-bottom: 20px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-soft); }

/* ---- sections ---- */
.home-cell .hc-sec { padding: var(--sec-pad) 0; border-bottom: 1px solid var(--line); }
.home-cell .hc-sec-head { max-width: 900px; margin-bottom: var(--head-gap); }

.home-cell .hc-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 12.5px;
    color: var(--ink-soft);
}

.home-cell .hc-sw { display: inline-block; flex: none; width: 22px; height: 8px; vertical-align: middle; }
.home-cell .hc-sw-red { background: var(--red); }
.home-cell .hc-sw-yellow { background: var(--yellow); }
.home-cell .hc-sw-green { background: var(--green); }
.home-cell .hc-sw-white { background: var(--tape); }
.home-cell .hc-sw-grey { background: #6B756F; }

.home-cell .hc-h2 { font-weight: 900; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; }
.home-cell .hc-statement { margin-top: 22px; max-width: 760px; font-size: 21px; line-height: 1.5; }
.home-cell .hc-fine { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.home-cell .hc-soft { margin-top: 14px; color: var(--ink-soft); }
.home-cell .hc-mono-tag { display: block; margin-bottom: 10px; font-size: 12px; color: var(--yellow); }

/* ---- floor plans ---- */
.home-cell .hc-plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 2px solid var(--tape); border-bottom: 2px solid var(--tape); }
.home-cell .hc-plan { padding: 28px 36px 32px 0; }
.home-cell .hc-plan-cell { padding: 28px 0 32px 36px; border-left: 2px dashed var(--line); }
.home-cell .hc-plan figcaption { display: grid; gap: 6px; margin-bottom: 22px; }
.home-cell .hc-plan-kicker { font-size: 12px; color: var(--ink-soft); }
.home-cell .hc-yellow { color: var(--yellow); }
.home-cell .hc-plan-title { font-weight: 800; font-size: 30px; line-height: 1; }

.home-cell .hc-svg { display: block; width: 100%; height: auto; overflow: visible; }
.home-cell .hc-room { fill: none; stroke: var(--tape); stroke-width: 2.5; }
.home-cell .hc-room-t { font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--ink); }
.home-cell .hc-small-t { font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; fill: var(--ink-soft); }
.home-cell .hc-yellow-t { fill: var(--yellow); }
.home-cell .hc-aisle-line { stroke: var(--yellow); stroke-width: 4; }
.home-cell .hc-walk { stroke: #4A564F; stroke-width: 1.5; stroke-dasharray: 3 5; }
.home-cell .hc-wip rect { fill: #6B756F; }
.home-cell .hc-person { fill: var(--ink); }
.home-cell .hc-person-lead { fill: var(--yellow); }
.home-cell .hc-op-dir { fill: var(--yellow); }
.home-cell .hc-token { fill: #FFFFFF; stroke: var(--black); stroke-width: 2; }
.home-cell .hc-redtag { transform-box: fill-box; transform-origin: 50% 100%; }
.home-cell .hc-redtag path { fill: var(--red); }
.home-cell .hc-redtag text { font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; fill: #FFFFFF; text-anchor: middle; }
.home-cell .hc-station rect { fill: var(--floor-2); stroke: var(--tape); stroke-width: 2; }
.home-cell .hc-released rect { fill: var(--green); }
.home-cell .hc-released text { font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; fill: #0E1A12; }
.home-cell .hc-green-line { stroke: var(--green); stroke-width: 3; }

.home-cell .hc-plan-list { margin-top: 24px; }
.home-cell .hc-plan-list li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.home-cell .hc-plan-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; background: #6B756F; }
.home-cell .hc-plan-list li:last-child::before { background: var(--ink); border-radius: 50%; }
.home-cell .hc-plan-text { margin-top: 24px; }
.home-cell .hc-plan-big { margin-bottom: 14px; font-size: 22px; font-weight: 700; line-height: 1.4; }
.home-cell .hc-plan-text p + p { margin-top: 10px; color: var(--ink-soft); }
.home-cell .hc-plan-text .hc-strong { color: var(--yellow); font-weight: 700; }

.home-cell .hc-plan-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 18px; }
.home-cell .hc-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 12px; color: var(--ink-soft); }
.home-cell .hc-legend li { display: flex; align-items: center; gap: 9px; }
.home-cell .hc-legend .hc-sw { width: 14px; height: 14px; }

.home-cell .hc-anim-toggle {
    padding: 7px 12px 5px;
    border: 1.5px solid var(--line);
    border-radius: 2px;
    background: transparent;
    color: var(--ink-soft);
    font-size: 12px;
    cursor: pointer;
}

.home-cell .hc-anim-toggle:hover { border-color: var(--tape); color: var(--ink); }

/* ---- red tags and the three kinds ---- */
.home-cell .hc-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 72px; }

.home-cell .hc-tags li {
    position: relative;
    padding: 46px 24px 26px;
    background: var(--red);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    clip-path: polygon(14% 0, 86% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
}

.home-cell .hc-tags li::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--floor);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.home-cell .hc-tag-head { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.78); }
.home-cell .hc-kinds-head { margin-bottom: 28px; }
.home-cell .hc-kinds { border-top: 2px solid var(--tape); }
.home-cell .hc-kinds article { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; padding: 32px 0; border-bottom: 2px solid var(--tape); }
.home-cell .hc-kind-title { font-weight: 800; font-size: clamp(30px, 3.2vw, 48px); line-height: 0.98; }
.home-cell .hc-kinds p:not(.hc-mono-tag) { color: var(--ink-soft); }

.home-cell .hc-more { display: inline-flex; gap: 8px; margin-top: 28px; padding-bottom: 3px; border-bottom: 3px solid var(--yellow); font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.home-cell .hc-more:hover { color: var(--yellow); }

/* ---- featured work: the framing from the original grid, on the dark floor ----
   Rows are standard + wide on a 12-column grid and every row's two cells sum to 12,
   so the grid's default stretch keeps each pair the same height. The last row is one
   full-width card. */
.home-cell .hc-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; }
.home-cell .hc-s4 { grid-column: span 4; }
.home-cell .hc-s5 { grid-column: span 5; }
.home-cell .hc-s7 { grid-column: span 7; }
.home-cell .hc-s8 { grid-column: span 8; }
.home-cell .hc-s4, .home-cell .hc-s5, .home-cell .hc-s7, .home-cell .hc-s8 { display: flex; flex-direction: column; }

.home-cell .hc-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    background: var(--floor-2);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.home-cell .hc-card-link:hover { border-color: var(--yellow); }
.home-cell .hc-card-link:hover h3 { color: var(--yellow); }

/* full app windows are contain-fit on a stage, never cropped */
.home-cell .hc-stage {
    display: flex;
    flex: 1 1 280px;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 18px;
    background: radial-gradient(circle at 50% 45%, rgba(242, 243, 238, 0.08) 0%, rgba(242, 243, 238, 0) 70%), var(--stage);
    border-bottom: 1px solid var(--line);
}

.home-cell .hc-stage img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #FFFFFF;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
}

.home-cell .hc-stage-dark img { background: transparent; }

/* hardware photos: two shots, cover-fit, each with its tuned focal point inline */
.home-cell .hc-pair { display: grid; grid-template-columns: 1.55fr 1fr; height: 300px; border-bottom: 1px solid var(--line); }
.home-cell .hc-shot { position: relative; overflow: hidden; }
.home-cell .hc-shot + .hc-shot { border-left: 1px solid var(--line); }
.home-cell .hc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-cell .hc-shot .hc-labeltape { position: absolute; left: 0; bottom: 12px; max-width: calc(100% - 12px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-cell .hc-shot .hc-labeltape-top { top: 12px; bottom: auto; }

.home-cell .hc-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 26px 26px; }
.home-cell .hc-card-tags { font-size: 12px; color: var(--yellow); }
.home-cell .hc-card h3 { font-size: 20px; font-weight: 800; line-height: 1.25; transition: color 0.2s ease; }
.home-cell .hc-card h3.hc-big { font-size: 24px; }
.home-cell .hc-card p:not(.hc-card-tags) { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.home-cell .hc-card p strong { color: var(--ink); }
.home-cell .hc-card-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.home-cell .hc-cta { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
.home-cell .hc-chip { padding: 3px 8px; border: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }

/* full-width app card: three screens side by side in Pixel frames. The screen is drawn at the
   screenshots' own 1080 x 2410 (the owner's Pixel 10 Pro), so nothing is cropped or letterboxed. */
.home-cell .hc-s12 { grid-column: 1 / -1; display: flex; flex-direction: column; }
.home-cell .hc-card-wide { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.home-cell .hc-card-wide .hc-card-body { justify-content: center; padding: 32px 40px; }
.home-cell .hc-card p.hc-card-lead { font-size: 19px; line-height: 1.45; color: var(--ink); }
.home-cell .hc-credit { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.home-cell .hc-credit a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.home-cell .hc-credit a:hover { color: var(--ink); }

.home-cell .hc-phones {
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 32px 44px;
    background: radial-gradient(circle at 50% 45%, rgba(242, 243, 238, 0.08) 0%, rgba(242, 243, 238, 0) 70%), var(--stage);
    border-right: 1px solid var(--line);
}

.home-cell .hc-phones > .hc-labeltape { position: absolute; top: 12px; left: 0; }
.home-cell .hc-phones-row { display: grid; grid-template-columns: repeat(3, minmax(0, 176px)); justify-content: center; gap: 24px; width: 100%; }

.home-cell .hc-mphone {
    padding: 5px;
    border-radius: 30px;
    background: #0B0C0D;
    box-shadow:
        inset 0 0 0 1px #3A3F44,
        0 0 0 1px #050606,
        0 28px 48px -22px rgba(0, 0, 0, 0.85);
}

.home-cell .hc-mphone-screen { position: relative; aspect-ratio: 1080 / 2410; overflow: hidden; border-radius: 25px; background: #000; }
.home-cell .hc-mphone-screen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-cell .hc-mphone .hc-phone-camera { top: 8px; width: 8px; height: 8px; margin-left: -4px; }

/* technology stack row (ADR-0001), recolored for the dark floor */
.home-cell .ts-wrap { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.home-cell .ts-caption { margin-bottom: 22px; text-align: center; font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.home-cell .ts-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.75rem 2rem; }
.home-cell .ts-item { width: 92px; text-align: center; }
.home-cell .ts-icon { display: block; margin-bottom: 9px; font-size: 25px; line-height: 1; color: #8A9199; transition: color 0.2s ease, transform 0.2s ease; }
.home-cell .ts-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; color: #8A9199; transition: color 0.2s ease; }
.home-cell .ts-item:hover .ts-icon, .home-cell .ts-item:hover .ts-label { color: var(--ink); }
.home-cell .ts-item:hover .ts-icon { transform: translateY(-2px); }
.home-cell .ts-rule { width: 1px; align-self: stretch; margin: 0 4px; background: var(--line); }

/* ---- selected work and quotes ---- */
.home-cell .hc-plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--tape); }
.home-cell .hc-plates li { padding: 26px 28px 28px 0; font-size: 18px; line-height: 1.5; }
.home-cell .hc-plates li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.home-cell .hc-quote { max-width: 1000px; margin-top: 72px; }
.home-cell .hc-quote blockquote { font-size: clamp(23px, 2.3vw, 31px); font-weight: 600; line-height: 1.38; text-indent: -0.4em; }
.home-cell .hc-quote figcaption, .home-cell .hc-quotes figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.home-cell .hc-quotes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.home-cell .hc-quotes blockquote { font-size: 18px; }

/* ---- routing ---- */
.home-cell .hc-route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--tape); }
.home-cell .hc-route li { position: relative; padding: 38px 28px 32px; border-right: 2px solid var(--line); }
.home-cell .hc-route li:first-child { padding-left: 0; }
.home-cell .hc-route li:last-child { border-right: 0; }

.home-cell .hc-op {
    display: block;
    margin-bottom: 14px;
    font-family: "Big Shoulders Stencil", "Big Shoulders", sans-serif;
    font-optical-sizing: auto;
    font-size: 56px;
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--tape);
}

.home-cell .hc-route h3 { margin-bottom: 10px; font-size: 26px; font-weight: 800; line-height: 1; }
.home-cell .hc-route p { font-size: 16px; color: var(--ink-soft); }
.home-cell .hc-route .hc-route-hold { background: repeating-linear-gradient(135deg, rgba(255, 138, 31, 0.07) 0 14px, transparent 14px 28px); box-shadow: inset 0 0 0 2px var(--orange); }
.home-cell .hc-route-hold .hc-op { color: var(--orange); }
.home-cell .hc-route-done { box-shadow: inset 0 0 0 2px var(--green); }
.home-cell .hc-route-done .hc-op { color: var(--green); }
.home-cell .hc-zone { position: absolute; top: -13px; left: 20px; padding: 3px 9px 1px; font-size: 12px; font-weight: 600; color: var(--black); }
.home-cell .hc-zone-orange { background: var(--orange); }
.home-cell .hc-zone-green { background: var(--green); }

/* ---- lead engineer: the site badge ---- */
.home-cell .hc-lead { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 80px; align-items: start; }

.home-cell .hc-badge {
    position: sticky;
    top: 110px;
    display: grid;
    justify-items: center;
    gap: 4px;
    overflow: hidden;
    padding: 30px 24px 0;
    border-radius: 12px;
    background: var(--tape);
    color: var(--black);
    text-align: center;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}

.home-cell .hc-badge-clip { position: absolute; top: 10px; left: 50%; width: 46px; height: 8px; margin-left: -23px; border-radius: 4px; background: var(--floor); }
.home-cell .hc-badge-co { margin: 6px 0 14px; font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.home-cell .hc-badge-photo { display: block; width: 190px; aspect-ratio: 1; object-fit: cover; }

.home-cell .hc-badge-initials {
    display: grid;
    place-items: center;
    background: var(--floor);
    color: var(--yellow);
    font-family: "Big Shoulders", sans-serif;
    font-size: 92px;
    font-weight: 900;
    line-height: 1;
}

.home-cell .hc-badge-name { margin-top: 16px; font-size: 30px; font-weight: 900; line-height: 1; }
.home-cell .hc-badge-role { font-size: 14px; color: #4A534D; }
.home-cell .hc-badge-stripe { width: calc(100% + 48px); margin-top: 22px; padding: 10px 0 8px; background: var(--yellow); font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

.home-cell .hc-lead .hc-sec-head { margin-bottom: 24px; }
.home-cell .hc-lead .hc-statement { margin-top: 0; }
.home-cell .hc-small-head { margin: 40px 0 14px; font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); }
.home-cell .hc-done li { position: relative; padding: 0 0 16px 30px; color: var(--ink-soft); }
.home-cell .hc-done li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; background: var(--green); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.home-cell .hc-creds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; margin-top: 24px; border-top: 2px solid var(--tape); }
.home-cell .hc-creds li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* ---- questions ---- */
.home-cell .hc-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; border-top: 2px solid var(--tape); }
.home-cell .hc-faq > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.home-cell .hc-faq dt { margin-bottom: 6px; font-size: 18px; font-weight: 800; }
.home-cell .hc-faq dd { color: var(--ink-soft); }

/* ---- call: the safety-yellow finale ---- */
.home-cell .hc-call { padding: var(--sec-pad) 0; background: var(--yellow); color: var(--black); }
.home-cell .hc-call-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.home-cell .hc-call-kicker { margin-bottom: 16px; font-size: 12.5px; font-weight: 600; }
.home-cell .hc-call-h { font-size: clamp(44px, 5vw, 76px); font-weight: 900; line-height: 0.92; }
.home-cell .hc-call-phone { display: inline-block; margin-top: 18px; border-bottom: 6px solid var(--black); font-size: clamp(40px, 4.4vw, 64px); font-weight: 900; line-height: 1; text-decoration: none; }
.home-cell .hc-call-text { max-width: 460px; margin-top: 20px; font-size: 17px; }
.home-cell .hc-call-text a { font-weight: 700; }

.home-cell .hc-form-ok, .home-cell .hc-form-err { margin-bottom: 14px; padding: 14px 18px; background: var(--black); font-size: 15px; }
.home-cell .hc-form-ok { display: flex; align-items: center; gap: 10px; color: var(--green); border-left: 6px solid var(--green); }
.home-cell .hc-form-err { color: var(--ink); border-left: 6px solid var(--red); }
.home-cell .hc-form-err ul { margin: 6px 0 0 18px; list-style: disc; color: var(--ink-soft); }

.home-cell .hc-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 24px; padding: 34px; background: var(--black); color: var(--ink); }
.home-cell .hc-form-title { grid-column: 1 / -1; font-size: 32px; font-weight: 900; line-height: 1; }
.home-cell .hc-field { display: grid; gap: 6px; margin: 0; }
.home-cell .hc-field > span:first-child, .home-cell .hc-pick legend { font-family: "Overpass Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

.home-cell .hc-form input:not([type="radio"]),
.home-cell .hc-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 2px;
    background: var(--floor);
    color: var(--ink);
    font-family: "Overpass", system-ui, sans-serif;
    font-size: 16px;
}

.home-cell .hc-form input:focus, .home-cell .hc-form textarea:focus { border-color: var(--yellow); outline: none; }
.home-cell .hc-form ::placeholder { color: #6E7872; }
.home-cell .hc-field-err { color: #FF8F85; font-size: 13px; }
.home-cell .hc-field-err:empty { display: none; }
.home-cell .hc-wide { grid-column: 1 / -1; }
.home-cell .hc-pick { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.home-cell .hc-pick legend { float: none; width: auto; margin-bottom: 8px; padding: 0; }
.home-cell .hc-pick label { display: block; position: relative; cursor: pointer; }
.home-cell .hc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.home-cell .hc-pick label span { display: block; height: 100%; padding: 11px 14px; border: 1.5px solid var(--line); font-size: 15px; color: var(--ink); }
.home-cell .hc-pick input:checked + span { border-color: var(--yellow); background: rgba(245, 196, 0, 0.12); }
.home-cell .hc-pick input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.home-cell .hc-pick .hc-field-err { grid-column: 1 / -1; }
.home-cell .hc-form .hc-btn { height: 56px; }

.home-cell .hc-callbar { display: none; }

/* ---- tablets and narrow laptops ---- */
@media (max-width: 1199.98px) {
    .home-cell .hc-s4, .home-cell .hc-s5, .home-cell .hc-s7, .home-cell .hc-s8 { grid-column: span 12; }
    .home-cell .hc-stage { flex: 0 0 auto; height: 320px; }
}

@media (max-width: 1024px) {
    .home-cell .hc-hero-grid { grid-template-columns: minmax(0, 1fr) 200px; gap: 48px; }
    .home-cell .hc-phone { width: 200px; }
    .home-cell .hc-plans { grid-template-columns: minmax(0, 1fr); }
    .home-cell .hc-plan, .home-cell .hc-plan-cell { padding: 28px 0; border-left: 0; }
    .home-cell .hc-plan-cell { border-top: 2px dashed var(--line); }
    .home-cell .hc-plans .hc-svg { max-width: 720px; }
    .home-cell .hc-route { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .home-cell .hc-route li { border-bottom: 2px solid var(--line); }
    .home-cell .hc-route li:nth-child(2) { border-right: 0; }
    .home-cell .hc-route li:nth-child(3) { padding-left: 28px; }
    .home-cell .hc-route li:nth-child(n+3) { margin-top: 24px; }
    .home-cell .hc-lead, .home-cell .hc-call-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .home-cell .hc-badge { position: relative; top: 0; width: 100%; max-width: 300px; }
    .home-cell .hc-card-wide { grid-template-columns: minmax(0, 1fr); }
    .home-cell .hc-phones { border-right: 0; border-bottom: 1px solid var(--line); }
    .home-cell .hc-card-wide .hc-card-body { padding: 22px 26px 26px; }
}

/* ---- phones ---- */
@media (max-width: 767.98px) {
    .home-cell { --sec-pad: 64px; --head-gap: 32px; font-size: 16px; }
    .home-cell .hc-wrap { padding: 0 20px; }
    .home-cell .hc-hero { padding-top: 104px; }
    .home-cell .hc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 40px; }
    .home-cell .hc-phone { width: 188px; }
    .home-cell .hc-h1 { line-height: 1.04; }
    .home-cell .hc-ctas .hc-btn { width: 100%; }
    .home-cell .hc-statement { font-size: 19px; }
    .home-cell .hc-plan-title { font-size: 26px; }
    .home-cell .hc-plan-big { font-size: 19px; }

    /* floor plan labels grow so they stay readable when the plan is phone-width */
    .home-cell .hc-room-t { font-size: 17px; letter-spacing: 0.02em; }
    .home-cell .hc-small-t { font-size: 15px; letter-spacing: 0.02em; }
    .home-cell .hc-released text { font-size: 15px; }
    .home-cell .hc-redtag { transform: scale(1.4); }

    .home-cell .hc-tags, .home-cell .hc-plates, .home-cell .hc-quotes, .home-cell .hc-faq, .home-cell .hc-route, .home-cell .hc-form, .home-cell .hc-pick, .home-cell .hc-creds { grid-template-columns: minmax(0, 1fr); }
    .home-cell .hc-tags { gap: 16px; margin-bottom: 56px; }
    .home-cell .hc-tags li { padding: 42px 20px 22px; font-size: 17px; }
    .home-cell .hc-kinds article { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 26px 0; }
    .home-cell .hc-gallery { gap: 20px; }
    .home-cell .hc-stage { height: 240px; padding: 14px; }
    .home-cell .hc-pair { grid-template-columns: minmax(0, 1fr); height: auto; }
    .home-cell .hc-shot { height: 210px; }
    .home-cell .hc-shot + .hc-shot { border-left: 0; border-top: 1px solid var(--line); }
    .home-cell .hc-card-body, .home-cell .hc-card-wide .hc-card-body { padding: 20px 20px 22px; }
    .home-cell .hc-card p.hc-card-lead { font-size: 17px; }
    .home-cell .hc-phones { padding: 48px 14px 26px; }
    .home-cell .hc-phones-row { gap: 10px; }
    .home-cell .hc-mphone { padding: 3px; border-radius: 18px; }
    .home-cell .hc-mphone-screen { border-radius: 15px; }
    .home-cell .hc-mphone .hc-phone-camera { top: 5px; width: 5px; height: 5px; margin-left: -2.5px; }
    .home-cell .ts-row { gap: 1.5rem 1.25rem; }
    .home-cell .ts-item { width: 78px; }
    .home-cell .ts-rule { display: none; }
    .home-cell .hc-plates li, .home-cell .hc-plates li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .home-cell .hc-quote { margin-top: 48px; }
    .home-cell .hc-quote blockquote { text-indent: 0; }
    .home-cell .hc-route li, .home-cell .hc-route li:first-child, .home-cell .hc-route li:nth-child(3) { padding: 32px 20px 26px; border-right: 0; }
    .home-cell .hc-route li:first-child, .home-cell .hc-route li:nth-child(2) { padding-left: 0; }
    .home-cell .hc-route li:nth-child(n+3) { margin-top: 28px; }
    .home-cell .hc-form { padding: 24px 20px; }
    .home-cell .hc-call { padding-bottom: 96px; }

    .home-cell .hc-callbar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 1050;
        height: 52px;
        border-radius: 2px;
        background: var(--yellow);
        color: var(--black);
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .home-cell .hc-callbar.is-away { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }

    /* room under the footer so the call bar never sits on the copyright and Privacy line */
    body.page-home .footer-refined { padding-bottom: 96px !important; }
}
