/* Auto-generated split from styles.css — Peak Essence */
/* =========================================================
   1. SPLIT-DIAGONAL — text on one half, animated SVG on other,
      separated by a diagonal architectural beam.
   ========================================================= */
.splitdiag {
    position: relative;
    background: var(--night); color: #FFF6E5;
    overflow: hidden; isolation: isolate;
    padding: clamp(80px, 10vw, 140px) 0;
}
.splitdiag::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(244,193,139,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244,193,139,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 90% 80% at center, black 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at center, black 30%, transparent 90%);
}
.splitdiag::after {
    content: ""; position: absolute;
    width: 700px; height: 700px;
    left: 40%; top: -30%;
    background: radial-gradient(circle, rgba(224,122,43,.22), transparent 65%);
    filter: blur(40px); pointer-events: none;
}
.splitdiag__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px); align-items: center;
}
.splitdiag__copy { position: relative; padding-right: 40px; }
.splitdiag__copy::after {
    content: ""; position: absolute; right: 0; top: -40px; bottom: -40px;
    width: 1px; background: linear-gradient(180deg, transparent, var(--orange) 30%, var(--orange) 70%, transparent);
    transform: rotate(8deg); transform-origin: top right;
}
.splitdiag h2 { color: #FFF6E5; font-size: clamp(34px, 4.6vw, 60px); }
.splitdiag h2 + p { margin-top: 22px; color: #D9CCB6; }
.splitdiag__visual { aspect-ratio: 4 / 3.4; }
@media (max-width: 900px) {
    .splitdiag__inner { grid-template-columns: 1fr; }
    .splitdiag__copy::after { display: none; }
}

/* =========================================================
   2. ORBIT — central element with orbiting capability rings
   ========================================================= */
.orbit {
    position: relative;
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--bg); overflow: hidden;
}
.orbit__inner {
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: clamp(40px, 6vw, 90px); align-items: center;
}
.orbit__stage {
    position: relative;
    aspect-ratio: 1 / 1; max-width: 540px; margin: 0 auto;
    width: 100%;
}
.orbit__ring {
    position: absolute; inset: 0;
    border: 1px dashed rgba(26,22,18,.15);
    border-radius: 50%;
    animation: orbitSpin 60s linear infinite;
}
.orbit__ring--2 { inset: 14%; border-color: rgba(224,122,43,.25); animation-duration: 45s; animation-direction: reverse; }
.orbit__ring--3 { inset: 28%; border-color: rgba(224,122,43,.4); animation-duration: 35s; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes counterOrbitSpin { to { transform: rotate(-360deg); } }

.orbit__core {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
    width: 36%; height: 36%;
    background: var(--night); color: #FFF6E5;
    border-radius: 50%;
    display: grid; place-items: center;
    text-align: center; padding: 18px;
    box-shadow: 0 30px 50px -20px rgba(20,17,13,.5), inset 0 0 0 1px rgba(244,193,139,.2);
    z-index: 2;
    cursor: pointer;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.orbit__core:hover { transform: translate(-50%,-50%) scale(1.04); box-shadow: 0 30px 60px -18px rgba(224,122,43,.45), inset 0 0 0 1px rgba(244,193,139,.45); }
.orbit__core:focus-visible { outline: 2px solid var(--orange-soft); outline-offset: 4px; }
.orbit__core::before {
    content: ""; position: absolute; inset: -8px;
    border-radius: 50%; border: 1px solid var(--orange);
    opacity: .5;
}
.orbit__core strong {
    display: block; font-family: var(--font-display);
    font-weight: 300; font-size: clamp(20px, 2.4vw, 30px); color: #FFF6E5;
}
.orbit__core span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--orange-soft); margin-top: 4px; }

/* Orbit arm: a zero-size pivot at the stage centre that spins.
   Each node sits on the arm at a fixed radius and counter-rotates
   so its text always faces upright. --d sets the starting angle. */
.orbit__arm {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    transform-origin: 0 0;
    animation: orbitSpin 40s linear infinite;
    animation-delay: var(--d, 0s);
}
.orbit__node {
    position: absolute;
    width: 100px; height: 100px;
    top: -50px;
    left: clamp(90px, 18vw, 186px);
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    box-shadow: 0 12px 24px -12px rgba(26,18,9,.18);
    transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
    animation: counterOrbitSpin 40s linear infinite;
    animation-delay: var(--d, 0s);
    cursor: pointer;
    color: inherit;
    font: inherit;
}
.orbit__node:hover, .orbit__node.is-active { background: var(--cream); border-color: var(--orange); box-shadow: 0 0 0 4px rgba(224,122,43,.12), 0 22px 36px -16px rgba(224,122,43,.5); }
.orbit__node:focus-visible { outline: 2px solid var(--orange-soft); outline-offset: 4px; }
.orbit__node > div {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 3px; width: 80%;
    /* Smooth wind-up + spin on hover. The negative-y bezier control point
       creates a subtle pull-back BEFORE the spin, the > 1 control point
       gives an overshoot WHILE spinning, then it settles. */
    transition: transform .85s cubic-bezier(.55, -.32, .35, 1.35);
    will-change: transform;
}
.orbit__node:hover > div,
.orbit__node.is-active > div {
    transform: rotate(360deg) scale(1.08);
}
.orbit__node small {
    font-family: var(--font-mono);
    font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--orange-deep); display: block;
}
.orbit__node b { font-family: var(--font-display); font-weight: 500; font-size: 13px; color: var(--ink); line-height: 1.1; }

/* On page load, each satellite's label rotates smoothly from -180° into its
   final upright position — staggered per node for a settling sweep. */
.orbit__node > div { animation: orbitTextSettle 1.4s var(--ease-arch) both; }
.orbit__arm:nth-of-type(1) .orbit__node > div { animation-delay: .15s; }
.orbit__arm:nth-of-type(2) .orbit__node > div { animation-delay: .28s; }
.orbit__arm:nth-of-type(3) .orbit__node > div { animation-delay: .41s; }
.orbit__arm:nth-of-type(4) .orbit__node > div { animation-delay: .54s; }
.orbit__arm:nth-of-type(5) .orbit__node > div { animation-delay: .67s; }
.orbit__arm:nth-of-type(6) .orbit__node > div { animation-delay: .80s; }
@keyframes orbitTextSettle {
    from { transform: rotate(-180deg) scale(.6); opacity: 0; }
    60%  { opacity: 1; }
    to   { transform: rotate(0) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .orbit__node > div { animation: none; }
}

/* Orbit info panel — switches between per-node teaser and core overview */
.orbit__panel { position: relative; min-height: 320px; }
.orbit__panel-view { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; position: absolute; inset: 0; }
.orbit__panel-view.is-active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.orbit__panel-tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 14px; }
.orbit__panel-title { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); line-height: 1.2; color: var(--ink); margin-bottom: 18px; }
.orbit__panel-text { font-size: 17px; color: var(--ink-2); line-height: 1.55; }
/* When swapping satellite copy, briefly fade the inner text */
.orbit__panel-view--node .orbit__panel-tag,
.orbit__panel-view--node .orbit__panel-title,
.orbit__panel-view--node .orbit__panel-text {
    transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.orbit__panel-view--node.is-swapping .orbit__panel-tag,
.orbit__panel-view--node.is-swapping .orbit__panel-title,
.orbit__panel-view--node.is-swapping .orbit__panel-text {
    opacity: 0; transform: translateY(4px);
}
.orbit__panel-cta { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #FFF6E5; border: 1px solid var(--ink); font: 600 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.orbit__panel-cta:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-1px); }
.orbit__panel-cta svg { width: 14px; height: 14px; }
.orbit__panel-cta--ghost { background: transparent; color: var(--ink); }
.orbit__panel-cta--ghost:hover { background: var(--ink); color: #FFF6E5; }

@media (max-width: 900px) {
    .orbit__inner { grid-template-columns: 1fr; }
    .orbit__stage { max-width: 400px; }
    .orbit__node { left: clamp(70px, 16vw, 138px); }
}
@media (max-width: 600px) {
    .orbit__node { width: 80px; height: 80px; top: -40px; left: clamp(56px, 13vw, 104px); }
    .orbit__node b { font-size: 11px; }
}

/* =========================================================
   3. STACKTABS — vertical accordion (filmcard-aligned dark cards)
   ========================================================= */
.stacktabs { padding: clamp(80px, 10vw, 140px) 0; background: var(--surface-2); }
.stacktabs__inner { display: grid; gap: 18px; max-width: 1100px; margin: 0 auto; }
.stacktab {
    background: #14110D; color: #FFF6E5;
    border: 1px solid rgba(255,246,229,.1);
    overflow: hidden; isolation: isolate;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    transition: background .35s var(--ease), border-color .3s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
    box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.stacktab:hover { border-color: rgba(224,122,43,.55); transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(20,17,13,.55); }
.stacktab.is-open { border-color: var(--orange); background: rgba(224,122,43,.08); transform: translateY(-2px); box-shadow: 0 22px 50px -26px rgba(224,122,43,.45); }
.stacktab__head {
    display: grid; grid-template-columns: 110px 1fr auto;
    align-items: center; gap: 26px;
    padding: 28px 32px;
    cursor: pointer;
    transition: background .35s var(--ease);
    position: relative;
}
.stacktab__head::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(244,193,139,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244,193,139,.05) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0; transition: opacity .35s var(--ease);
    pointer-events: none;
}
.stacktab:hover .stacktab__head::before, .stacktab.is-open .stacktab__head::before { opacity: 1; }
.stacktab__num {
    font-family: var(--font-mono); font-weight: 500;
    font-size: 11px; letter-spacing: .25em; color: var(--orange-soft);
    text-transform: uppercase; line-height: 1.4;
}
.stacktab__num::before { content: "STK · "; color: rgba(244,193,139,.55); }
.stacktab__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.2vw, 28px); color: #FFF6E5; line-height: 1.15; position: relative; }
.stacktab__plus {
    width: 40px; height: 40px;
    border-radius: 999px; border: 1px solid rgba(244,193,139,.35);
    display: grid; place-items: center;
    color: var(--orange-soft); font-size: 22px; font-weight: 200;
    background: rgba(244,193,139,.04);
    transition: transform .4s var(--ease), background .3s, border-color .3s, color .3s;
    position: relative;
}
.stacktab:hover .stacktab__plus { border-color: var(--orange); color: var(--orange-soft); }
.stacktab.is-open .stacktab__plus { transform: rotate(45deg); background: var(--orange); color: #fff; border-color: var(--orange); }
.stacktab__body {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .5s var(--ease);
}
.stacktab__body > div { overflow: hidden; }
.stacktab.is-open .stacktab__body { grid-template-rows: 1fr; }
.stacktab__inner {
    display: grid; grid-template-columns: 110px 1fr 1fr; gap: 28px;
    padding: 8px 32px 34px;
    border-top: 1px solid rgba(244,193,139,.1);
    margin-top: 4px;
}
.stacktab__inner > span:first-child {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em;
    text-transform: uppercase; color: var(--orange-soft);
    border: 1px solid rgba(244,193,139,.3); border-radius: 999px;
    padding: 4px 10px; align-self: start; justify-self: start;
}
.stacktab__inner p { color: #D9CCB6; font-size: 15.5px; line-height: 1.6; padding-top: 14px; }
.stacktab__inner ul { list-style: none; display: grid; gap: 10px; padding-top: 14px; }
.stacktab__inner li { display: flex; gap: 12px; font-size: 14.5px; color: #C9BCA6; font-family: var(--font-mono); letter-spacing: .04em; }
.stacktab__inner li::before { content: "▸"; color: var(--orange); }
@media (max-width: 720px) {
    .stacktab__head { grid-template-columns: 80px 1fr auto; gap: 14px; padding: 22px 22px; }
    .stacktab__inner { grid-template-columns: 1fr; padding: 14px 22px 26px; gap: 14px; }
    .stacktab__inner p, .stacktab__inner ul { padding-top: 0; }
}

/* =========================================================
   4. SKYLINE — horizontal animated city building strip
   ========================================================= */
.skyline {
    position: relative;
    background: linear-gradient(180deg, var(--night) 0%, #1a1410 100%);
    color: #FFF6E5; padding: clamp(80px, 10vw, 130px) 0 0;
    overflow: hidden; isolation: isolate;
}
.skyline::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(244,193,139,.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244,193,139,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}
.skyline__sun {
    position: absolute; left: 50%; top: 8%;
    width: 320px; height: 320px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(224,122,43,.45) 0%, rgba(224,122,43,.15) 30%, transparent 65%);
    filter: blur(8px);
    animation: pulse 6s ease-in-out infinite;
}
.skyline__head { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto 48px; }
.skyline__head h2 { color: #FFF6E5; }
.skyline__head p { color: #D9CCB6; margin-top: 18px; }
.skyline__strip {
    position: relative; z-index: 2;
    width: 100%; height: clamp(280px, 38vw, 420px);
    overflow: hidden;
}
.skyline__strip svg { width: 100%; height: 100%; display: block; }
.skyline__bar {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--orange);
    z-index: 3;
}
.skyline__count {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(244,193,139,.15);
}
.skyline__count > div {
    padding: 36px 28px; text-align: center;
    border-right: 1px solid rgba(244,193,139,.15);
}
.skyline__count > div:last-child { border-right: 0; }
.skyline__count strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4vw, 52px); color: var(--orange-soft); line-height: 1; }
.skyline__count span { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,193,139,.65); }
@media (max-width: 720px) { .skyline__count { grid-template-columns: repeat(2, 1fr); } .skyline__count > div:nth-child(2) { border-right: 0; } }

/* =========================================================
   5. FLOORPLAN — isometric floor plan grid section
   ========================================================= */
.floorplan {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--surface); position: relative; overflow: hidden;
}
.floorplan__inner {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 90px); align-items: center;
}
.floorplan__board {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--night);
    padding: 24px;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
    overflow: hidden; isolation: isolate;
}
.floorplan__board::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(244,193,139,.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244,193,139,.08) 1px, transparent 1px);
    background-size: 24px 24px; pointer-events: none;
}
.floorplan__board svg { position: relative; width: 100%; height: 100%; display: block; }
.floorplan__copy h2 { font-size: clamp(30px, 3.6vw, 46px); }
.floorplan__copy p { margin-top: 18px; }
.floorplan__legend { margin-top: 36px; display: grid; gap: 14px; }
.floorplan__legend li {
    display: grid; grid-template-columns: 24px 1fr auto;
    align-items: center; gap: 14px; list-style: none;
    padding: 14px 18px;
    background: var(--surface-2);
    border-left: 3px solid var(--orange);
    font-family: var(--font-sans); font-size: 14.5px; color: var(--ink-2);
    transition: padding-left .3s var(--ease), background .3s var(--ease);
}
.floorplan__legend li:hover { padding-left: 26px; background: var(--cream); }
.floorplan__legend li b { color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 16px; }
.floorplan__legend li span:last-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--orange-deep); text-transform: uppercase; }
.floorplan__swatch {
    width: 24px; height: 24px;
    background: var(--orange);
}
.floorplan__swatch.s-2 { background: var(--orange-soft); }
.floorplan__swatch.s-3 { background: var(--cream); border: 1px solid var(--orange-soft); }
.floorplan__swatch.s-4 { background: var(--ink); }
@media (max-width: 900px) { .floorplan__inner { grid-template-columns: 1fr; } }

/* =========================================================
   6. HONEY — hexagon honeycomb of services/items
   ========================================================= */
.honey {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--night); color: #FFF6E5;
    position: relative; overflow: hidden;
}
.honey::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(224,122,43,.15), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(224,122,43,.1), transparent 55%);
    pointer-events: none;
}
.honey__head { text-align: center; max-width: 720px; margin: 0 auto 64px; position: relative; z-index: 1; }
.honey__head h2 { color: #FFF6E5; }
.honey__head p { color: #D9CCB6; margin-top: 18px; }
.honey__grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    max-width: 1180px; margin: 0 auto;
}
.honey__cell {
    aspect-ratio: 5 / 6;
    background: rgba(255,246,229,.04);
    color: #FFF6E5;
    border: 1px solid rgba(255,246,229,.1);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    display: flex; flex-direction: column; gap: 10px; text-align: left;
    padding: 22px;
    transition: background .35s var(--ease), border-color .3s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
    position: relative; cursor: default;
    isolation: isolate;
}
.honey__cell::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(to right, rgba(244,193,139,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244,193,139,.05) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0; transition: opacity .35s var(--ease);
    clip-path: inherit;
}
.honey__cell:hover {
    background: rgba(224,122,43,.1);
    border-color: var(--orange);
    transform: translateY(-6px);
    box-shadow: 0 22px 50px -26px rgba(224,122,43,.55);
    z-index: 2;
}
.honey__cell:hover::before { opacity: 1; }
.honey__cell svg {
    width: 36px; height: 36px; color: var(--orange-soft);
    padding: 6px; background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.honey__cell:hover svg { color: #FFF6E5; background: rgba(224,122,43,.18); border-color: var(--orange); }
.honey__cell small {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em;
    text-transform: uppercase; color: var(--orange-soft);
    margin-top: auto;
}
.honey__cell small::before { content: "CAP · "; color: rgba(244,193,139,.55); }
.honey__cell b {
    display: block; font-family: var(--font-display); font-weight: 400;
    font-size: 18px; line-height: 1.2; color: #FFF6E5;
}
.honey__cell p {
    font-size: 12px; line-height: 1.6; color: rgba(255,246,229,.55);
    flex: 1;
}
@media (max-width: 980px) { .honey__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .honey__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .honey__cell { padding: 18px; } }

/* =========================================================
   7. BEAMLIST — items connected by an architectural I-beam rail
   ========================================================= */
.beamlist {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--bg); position: relative;
}
.beamlist__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.beamlist__head p { max-width: 46ch; }
.beamlist__rail { position: relative; padding-left: 80px; }
.beamlist__rail::before {
    content: ""; position: absolute; left: 28px; top: 0; bottom: 0;
    width: 14px;
    background:
        linear-gradient(90deg, var(--orange) 0 3px, transparent 3px 11px, var(--orange) 11px 14px),
        var(--cream);
    border-left: 1px solid var(--orange-deep);
    border-right: 1px solid var(--orange-deep);
}
.beamlist__rail::after {
    content: ""; position: absolute; left: 22px; top: -8px;
    width: 26px; height: 8px; background: var(--orange-deep);
}
.beam {
    position: relative;
    padding: 28px 0 28px 50px;
    border-bottom: 1px dashed rgba(26,22,18,.18);
    display: grid; grid-template-columns: 130px 1fr auto; gap: 32px;
    align-items: baseline;
    transition: padding-left .35s var(--ease);
}
.beam:hover { padding-left: 64px; }
.beam::before {
    content: ""; position: absolute; left: -22px; top: 36px;
    width: 60px; height: 2px;
    background: var(--orange);
    transform: scaleX(.5); transform-origin: left;
    transition: transform .4s var(--ease);
}
.beam:hover::before { transform: scaleX(1); }
.beam::after {
    content: ""; position: absolute; left: 36px; top: 30px;
    width: 14px; height: 14px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(224,122,43,.18);
    transition: transform .35s var(--ease);
}
.beam:hover::after { transform: scale(1.3); }
.beam__year { font-family: var(--font-mono); font-size: 13px; letter-spacing: .25em; color: var(--orange-deep); }
.beam__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.4vw, 28px); color: var(--ink); }
.beam__title small { display: block; margin-top: 8px; font-family: var(--font-sans); font-weight: 400; font-size: 15px; color: var(--ink-2); }
.beam__tag {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
    text-transform: uppercase; color: var(--muted);
    padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
}
@media (max-width: 820px) {
    .beamlist__head { grid-template-columns: 1fr; }
    .beam { grid-template-columns: 80px 1fr; gap: 18px; }
    .beam__tag { grid-column: 2; justify-self: start; }
}

/* =========================================================
   8. ARCFLOW — arc/curved process with stops
   ========================================================= */
.arcflow {
    padding: clamp(80px, 10vw, 140px) 0;
    background: var(--surface-2); position: relative; overflow: hidden;
}
.arcflow__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.arcflow__stage {
    position: relative;
    max-width: 1000px; margin: 0 auto;
    aspect-ratio: 16 / 7;
}
.arcflow__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.arcflow__svg .stroke-draw { stroke-dasharray: 1500; stroke-dashoffset: 1500; }
.arcflow__svg.in .stroke-draw { animation: arcPathLoop 5s var(--ease-arch) infinite !important; }
@keyframes arcPathLoop {
    0%   { stroke-dashoffset: 1500; opacity: 0; }
    10%  { opacity: 1; }
    55%  { stroke-dashoffset: 0; opacity: 1; }
    78%  { stroke-dashoffset: 0; opacity: 1; }
    92%  { opacity: 0; }
    100% { stroke-dashoffset: 1500; opacity: 0; }
}
.arcflow__stops { position: relative; width: 100%; height: 100%; }
.arcstop {
    position: absolute;
    transform: translate(-50%,-50%);
    width: 180px; text-align: center;
}
.arcstop__dot {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--orange); color: #fff;
    margin: 0 auto 14px;
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 500; font-size: 18px;
    box-shadow: 0 12px 24px -10px rgba(182,90,20,.5), inset 0 0 0 4px rgba(255,255,255,.18);
    transition: transform .35s var(--ease);
}
.arcstop:hover .arcstop__dot { transform: scale(1.12); }
.arcstop b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--ink); }
.arcstop span { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.arcstop:nth-child(1) { left: 8%; top: 90%; }
.arcstop:nth-child(2) { left: 28%; top: 36%; }
.arcstop:nth-child(3) { left: 50%; top: 18%; }
.arcstop:nth-child(4) { left: 72%; top: 36%; }
.arcstop:nth-child(5) { left: 92%; top: 90%; }
@media (max-width: 760px) {
    .arcflow__stage { aspect-ratio: 1 / 1.4; }
    .arcstop { width: 140px; }
    .arcstop:nth-child(1) { left: 50%; top: 8%; }
    .arcstop:nth-child(2) { left: 50%; top: 28%; }
    .arcstop:nth-child(3) { left: 50%; top: 48%; }
    .arcstop:nth-child(4) { left: 50%; top: 68%; }
    .arcstop:nth-child(5) { left: 50%; top: 88%; }
    .arcflow__svg { display: none; }
}

/* =========================================================
   9. FILMSTRIP — horizontal scrolling project tiles
   ========================================================= */
.filmstrip {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--night); color: #FFF6E5; overflow: hidden;
}
.filmstrip__head {
    display: flex; align-items: end; justify-content: space-between;
    gap: 40px; margin-bottom: 48px;
    padding: 0 var(--gutter);
    max-width: var(--container); margin-left: auto; margin-right: auto;
}
.filmstrip__head h2 { color: #FFF6E5; max-width: 14ch; }
.filmstrip__head p { color: #D9CCB6; max-width: 36ch; }
.filmstrip__rail {
    display: flex; gap: 22px;
    padding: 0 var(--gutter) 30px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) transparent;
}
.filmstrip__rail::-webkit-scrollbar { height: 4px; }
.filmstrip__rail::-webkit-scrollbar-track { background: rgba(244,193,139,.1); }
.filmstrip__rail::-webkit-scrollbar-thumb { background: var(--orange); }
/* 3-column centered grid variant (home service cards) */
.filmstrip__rail--grid {
    display: grid;
    grid-template-columns: repeat(3, clamp(260px, 28vw, 360px));
    justify-content: center;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
}
@media (max-width: 900px) {
    .filmstrip__rail--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .filmstrip__rail--grid { grid-template-columns: 1fr; }
}
.filmstrip__rail--grid .filmcard { flex: none; width: 100%; }
.filmcard {
    flex: 0 0 clamp(260px, 28vw, 360px);
    scroll-snap-align: start;
    background: rgba(255,246,229,.04);
    border: 1px solid rgba(255,246,229,.1);
    padding: 26px;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    transition: background .35s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
    display: flex; flex-direction: column;
    aspect-ratio: 3 / 4;
}
.filmcard:hover { background: rgba(224,122,43,.1); border-color: var(--orange); transform: translateY(-6px); }
.filmcard__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; color: var(--orange-soft); }
.filmcard__visual {
    flex: 1; margin: 18px 0;
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(244,193,139,.12);
    display: grid; place-items: center;
    overflow: hidden; position: relative;
}
.filmcard__visual::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(244,193,139,.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244,193,139,.06) 1px, transparent 1px);
    background-size: 16px 16px;
}
.filmcard__visual svg { position: relative; width: 80%; height: 80%; }
.filmcard h4 { color: #FFF6E5; font-size: 18px; }
.filmcard p { color: #C9BCA6; font-size: 13.5px; margin-top: 6px; }
.filmcard__tag { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-soft); border: 1px solid rgba(244,193,139,.3); padding: 4px 10px; border-radius: 999px; align-self: flex-start; }

/* =========================================================
   10. COORDS — coordinates / contact card with embedded map
   ========================================================= */
.coords {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--bg); position: relative;
}
.coords__head { max-width: 720px; margin-bottom: 48px; }
.coords__head h2 { margin: 8px 0 14px; font-family: var(--font-display); font-size: clamp(34px, 5vw, 54px); line-height: 1.05; }
.coords__head p { color: var(--ink-2); font-size: 17px; }

.coords__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 2.5vw, 36px); align-items: stretch;
    position: relative;
}

/* Map card — architectural framing around an embedded Google Map.
   Same surface card as the form, with padding on all sides so the map
   is visibly framed by the page background. */
.coords__map {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden; isolation: isolate;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
    padding: clamp(18px, 2.5vw, 28px);
    display: flex; flex-direction: column;
}
.coords__map-frame {
    position: relative;
    flex: 1;
    overflow: hidden;
    border: 1px solid rgba(244,193,139,.18);
    background: #1a1a1a;
}
.coords__map-frame iframe {
    width: 100%; height: 100%; border: 0; display: block;
    /* gentle desaturation to match cream architectural palette */
    filter: grayscale(.35) contrast(1.04) brightness(.98);
    transition: filter .4s var(--ease);
}
.coords__map:hover .coords__map-frame iframe { filter: grayscale(0) contrast(1.05) brightness(1); }

/* Locate / reset button — top-left of map frame */
.coords__locate-btn {
    position: absolute; top: 12px; left: 12px; z-index: 10;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 8px 10px;
    background: rgba(14,14,14,.72);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(244,193,139,.28);
    color: rgba(244,193,139,.8);
    font-family: var(--font-mono); font-size: 8px; letter-spacing: .2em;
    cursor: pointer; line-height: 1;
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.coords__locate-btn svg { width: 18px; height: 18px; }
.coords__locate-btn:hover {
    background: rgba(224,122,43,.18);
    border-color: var(--orange);
    color: var(--orange);
    transform: scale(1.06);
}
.coords__locate-btn:active { transform: scale(.95); }
/* spinning crosshair pulse on click */
.coords__locate-btn.is-locating svg { animation: locateSpin .5s var(--ease) 1; }
@keyframes locateSpin {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Subtle moving scanline overlay (decorative, ignores pointer events) */
.coords__map-scan {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(to bottom, transparent 0%, rgba(224,122,43,.08) 50%, transparent 100%);
    background-size: 100% 240%;
    animation: coordsScan 6s linear infinite;
    mix-blend-mode: screen; opacity: .6;
}
@keyframes coordsScan { 0% { background-position: 0 -100%; } 100% { background-position: 0 200%; } }

.coords__corner {
    position: absolute; width: 22px; height: 22px;
    border: 1.5px solid var(--orange);
    z-index: 3; pointer-events: none;
}
.coords__corner.tl { top: 8px; left: 8px;  border-right: 0; border-bottom: 0; }
.coords__corner.tr { top: 8px; right: 8px; border-left:  0; border-bottom: 0; }
.coords__corner.bl { bottom: 8px; left: 8px;  border-right: 0; border-top: 0; }
.coords__corner.br { bottom: 8px; right: 8px; border-left:  0; border-top: 0; }

.coords__readout {
    margin-top: 14px;
    display: grid; grid-template-columns: repeat(3, auto);
    gap: 10px 18px; align-items: center; justify-content: space-between;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
    color: var(--ink-2); text-transform: uppercase;
}
.coords__readout-row b { color: var(--ink); margin-right: 6px; font-weight: 600; }
.coords__readout-row--accent { color: var(--orange-deep); }
.coords__readout-actions {
    grid-column: 1 / -1;
    display: flex; gap: 10px;
}
.coords__readout-link {
    flex: 1; text-align: center;
    color: var(--ink); text-decoration: none;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
    padding: 8px 10px; border: 1px solid var(--line);
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.coords__readout-link:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.coords__readout-link--directions { background: var(--orange); border-color: var(--orange); }
.coords__readout-link--directions:hover { background: transparent; border-color: var(--line); color: var(--ink); }

.coords__form-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: clamp(28px, 4vw, 48px);
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.coords__form-wrap h3 { margin-bottom: 8px; }
.coords__form-wrap > p { margin-bottom: 28px; }

@media (max-width: 900px) {
    .coords__grid { grid-template-columns: 1fr; }
    .coords__map { aspect-ratio: 4 / 3.4; }
    .coords__readout { grid-template-columns: repeat(2, 1fr); }
    .coords__readout-row--accent { grid-column: 1 / -1; }
}

/* =========================================================
   10.5  COMPASS — Vision / Mission / Values / Goals quadrants
   ========================================================= */
.compass {
    padding: clamp(90px, 11vw, 140px) 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.compass::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(20,20,20,.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(20,20,20,.045) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}
.compass__head { max-width: 720px; margin: 0 auto 60px; text-align: center; position: relative; }
.compass__head h2 { margin: 8px 0 18px; font-family: var(--font-display); font-size: clamp(34px, 5vw, 54px); line-height: 1.05; }
.compass__head p { color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.compass__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}
/* Decorative crosshair where the four quadrants meet */
.compass__grid::before,
.compass__grid::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: var(--orange);
    pointer-events: none;
    z-index: 2;
}
.compass__grid::before { width: 22px; height: 1.5px; }
.compass__grid::after  { width: 1.5px; height: 22px; }

.compass__card {
    position: relative;
    background: var(--surface);
    border: 1px solid rgba(20,20,20,.08);
    padding: 36px 32px 32px;
    display: flex; flex-direction: column;
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.compass__card:hover {
    transform: translateY(-3px);
    border-color: rgba(20,20,20,.18);
    box-shadow: 0 18px 40px -28px rgba(0,0,0,.35);
}
/* Architectural corner brackets */
.compass__card::before,
.compass__card::after {
    content: ""; position: absolute; width: 14px; height: 14px;
    border: 1.5px solid var(--orange);
    transition: width .35s var(--ease), height .35s var(--ease);
}
.compass__card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.compass__card::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.compass__card:hover::before,
.compass__card:hover::after { width: 22px; height: 22px; }

.compass__id {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em;
    text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px;
}
.compass__tag {
    display: inline-block; align-self: flex-start;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
    text-transform: uppercase; color: var(--orange-deep);
    padding: 6px 10px; border: 1px solid var(--orange);
    margin-bottom: 18px;
}
.compass__title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.18; color: var(--ink); margin-bottom: 14px;
}
.compass__title em { font-style: italic; color: var(--orange-deep); }
.compass__text { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

@media (max-width: 760px) {
    .compass__grid { grid-template-columns: 1fr; gap: 16px; }
    .compass__grid::before, .compass__grid::after { display: none; }
}

/* =========================================================
   11. INFOLEDGER — financial/spec ledger style info bullets
   ========================================================= */
.infoledger {
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--surface);
}
.infoledger__head { display: flex; gap: 40px; align-items: end; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; }
.infoledger__head h2 { max-width: 14ch; }
.infoledger__head p { max-width: 36ch; }
.ledger {
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}
.ledger__row {
    display: grid; grid-template-columns: 60px 1.6fr 2fr 130px;
    gap: 24px; align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    transition: background .3s var(--ease);
    position: relative;
}
.ledger__row:last-child { border-bottom: 0; }
.ledger__row:hover { background: var(--cream); }
.ledger__row::before {
    content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%) scaleY(0);
    width: 4px; height: 70%; background: var(--orange);
    transition: transform .35s var(--ease);
}
.ledger__row:hover::before { transform: translateY(-50%) scaleY(1); }
.ledger__id { font-size: 12px; letter-spacing: .2em; color: var(--orange-deep); }
.ledger__label { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: 0; }
.ledger__detail { font-family: var(--font-sans); font-size: 14.5px; color: var(--ink-2); }
.ledger__amt { justify-self: end; font-family: var(--font-display); font-size: 22px; color: var(--orange-deep); }
@media (max-width: 760px) {
    .ledger__row { grid-template-columns: 50px 1fr; gap: 12px; }
    .ledger__detail, .ledger__amt { grid-column: 2; justify-self: start; }
}

/* =========================================================
   12. CONTROLROOM — split fact strips like a control panel
   ========================================================= */
.controlroom {
    padding: clamp(60px, 7vw, 100px) 0;
    background: var(--night); color: #FFF6E5;
    border-top: 1px solid rgba(244,193,139,.1);
    border-bottom: 1px solid rgba(244,193,139,.1);
}
.controlroom__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid rgba(244,193,139,.1);
}
.cr {
    padding: 32px 28px;
    border-right: 1px solid rgba(244,193,139,.1);
    position: relative;
    transition: background .4s var(--ease);
}
.cr:hover { background: rgba(224,122,43,.08); }
.cr__id { font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em; color: var(--orange-soft); text-transform: uppercase; }
.cr__big { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 4.5vw, 60px); color: #FFF6E5; line-height: 1; margin: 14px 0 12px; }
.cr__big em { font-style: italic; color: var(--orange-soft); }
.cr__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,246,229,.6); }
.cr__bar {
    margin-top: 18px; height: 3px; background: rgba(244,193,139,.1);
    overflow: hidden;
}
.cr__bar span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--orange), var(--orange-soft));
    transition: width 1.6s var(--ease-arch);
}
.cr.in .cr__bar span { width: var(--w, 70%); }
@media (max-width: 820px) { .controlroom__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .controlroom__grid { grid-template-columns: 1fr; } }

/* =========================================================
   13. DRAFT-HERO — alt page hero with dark drafting board
   ========================================================= */
.dhero {
    position: relative;
    padding: clamp(140px, 16vw, 200px) 0 clamp(60px, 8vw, 100px);
    background: var(--night); color: #FFF6E5;
    overflow: hidden; isolation: isolate;
}
.dhero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(244,193,139,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244,193,139,.05) 1px, transparent 1px),
        linear-gradient(to right, rgba(244,193,139,.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244,193,139,.1) 1px, transparent 1px);
    background-size: 32px 32px, 32px 32px, 160px 160px, 160px 160px;
    mask-image: radial-gradient(ellipse 90% 90% at center, black 30%, transparent 95%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at center, black 30%, transparent 95%);
}
.dhero::after {
    content: ""; position: absolute;
    width: 700px; height: 700px;
    right: -20%; top: -20%;
    background: radial-gradient(circle, rgba(224,122,43,.28), transparent 65%);
    filter: blur(40px); animation: glowFloat 16s ease-in-out infinite alternate;
}
.dhero__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: clamp(32px, 5vw, 80px); align-items: center;
}
.dhero h1 { color: #FFF6E5; }
.dhero h1 em { font-style: italic; color: var(--orange-soft); font-weight: 400; }
.dhero .lead { color: #D9CCB6; margin-top: 22px; }
.dhero__meta {
    margin-top: 32px; display: flex; flex-wrap: wrap; gap: 28px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
    text-transform: uppercase; color: rgba(255,246,229,.55);
}
.dhero__meta strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--orange-soft); letter-spacing: 0; text-transform: none; margin-top: 4px; }
.dhero__visual {
    aspect-ratio: 1 / 1.05;
    position: relative;
}
.dhero__visual .dboard { width: 100%; height: 100%; padding: 32px; }
.dhero .eyebrow { color: var(--orange-soft); }
.dhero .eyebrow::before { background: var(--orange-soft); }
@media (max-width: 900px) { .dhero__inner { grid-template-columns: 1fr; } .dhero__visual { max-width: 480px; aspect-ratio: 1; } }

/* Services dhero diagonal-line animation
   ─ Shape 1: small gear oscillates BOTTOM ↔ TOP along the diagonal.
   ─ Shape 2: small gear oscillates TOP ↔ BOTTOM along the diagonal.
   ─ Shape 3: big 8-line gear travels MID → TOP → MID → (2s pause)
                                    → BOTTOM → MID, looping forever.
              Inner group keeps spinning around its own centre. */
.dhero .svc-shape { transform-origin: 0 0; transform-box: view-box; }

.dhero .svc-shape-1 { animation: svcShape1 8s ease-in-out infinite; }
.dhero .svc-shape-2 { animation: svcShape2 8s ease-in-out infinite; }
.dhero .svc-shape-3 { animation: svcShape3 10s ease-in-out infinite; }

@keyframes svcShape1 {
    0%, 100% { transform: translate(310px, 310px); }
    50%      { transform: translate(80px,  80px); }
}
@keyframes svcShape2 {
    0%, 100% { transform: translate(80px,  80px); }
    50%      { transform: translate(310px, 310px); }
}
@keyframes svcShape3 {
    /* 0–2s: middle → top */
    0%   { transform: translate(190px, 190px); }
    20%  { transform: translate(80px,  80px); }
    /* 2–4s: top → middle */
    40%  { transform: translate(190px, 190px); }
    /* 4–6s: hold at middle (2s pause) */
    60%  { transform: translate(190px, 190px); }
    /* 6–8s: middle → bottom */
    80%  { transform: translate(310px, 310px); }
    /* 8–10s: bottom → middle (loop) */
    100% { transform: translate(190px, 190px); }
}

@media (prefers-reduced-motion: reduce) {
    .dhero .svc-shape { animation: none; }
    .dhero .svc-shape-1 { transform: translate(310px, 310px); }
    .dhero .svc-shape-2 { transform: translate(80px, 80px); }
    .dhero .svc-shape-3 { transform: translate(190px, 190px); }
}

/* =========================================================
   14. FRAMEPAIR — two-up framed animated SVGs (for projects)
   ========================================================= */
.framepair { padding: clamp(80px, 10vw, 130px) 0; background: var(--bg); }
.framepair__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.frame {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 24px;
    aspect-ratio: 4 / 3;
    overflow: hidden; isolation: isolate;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
    transition: border-color .3s, transform .4s var(--ease);
}
.frame:hover { border-color: var(--orange); transform: translateY(-4px); }
.frame::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(26,22,18,.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26,22,18,.04) 1px, transparent 1px);
    background-size: 24px 24px;
}
.frame svg { position: relative; width: 100%; height: 100%; }
.frame__cap {
    position: absolute; left: 24px; bottom: 22px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
    color: var(--orange-deep); text-transform: uppercase;
}
.frame__cap b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--ink); margin-top: 6px; letter-spacing: 0; text-transform: none; }
@media (max-width: 760px) { .framepair__grid { grid-template-columns: 1fr; } }

/* ===== Make existing nav use new nav__brand-logo wrapper if used ===== */

/* =========================================================
   15. RESPONSIVE POLISH  (consolidated tablet + mobile sweep)
   ---------------------------------------------------------
   Breakpoints used across the site:
     ≤ 1080px : small laptop / large tablet landscape
     ≤  900px : tablet portrait — most multi-column grids collapse
     ≤  600px : phones — single column, denser spacing
     ≤  420px : tiny phones — extra trim + larger tap targets
   Anything not handled here is already handled inline above.
   ========================================================= */

/* ---- 0. Global hardening: prevent horizontal scroll caused by
         oversized SVGs / hero overlays / decorative pseudo elements. */
html, body { overflow-x: hidden; overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
.container { padding-inline: var(--gutter); }

/* ---- 1. Typography: down-tune oversize display fonts on tiny screens
         so 10-character words don't overflow on 320–360px viewports. */
@media (max-width: 600px) {
    h1 { font-size: clamp(34px, 9vw, 52px); line-height: 1.05; }
    h2 { font-size: clamp(28px, 7.5vw, 42px); line-height: 1.08; }
    h3 { font-size: clamp(22px, 6vw, 30px); line-height: 1.15; }
    .lead, p { font-size: 16px; }
    .eyebrow { font-size: 11px; letter-spacing: .22em; }
}

/* ---- 2. Section padding: reduce vertical rhythm on small screens
         so hero/section blocks aren't 200px+ tall on a 600px screen. */
@media (max-width: 900px) {
    .section { padding: clamp(56px, 9vw, 90px) 0; }
    .section--tight { padding: clamp(40px, 7vw, 70px) 0; }
}
@media (max-width: 600px) {
    .section, .section--tight { padding: 56px 0; }
}

/* ---- 3. Lifecycle hero: shorter on small phones so the next section
         is visible without a full swipe. */
@media (max-width: 600px) {
    .lifecycle { min-height: 560px; height: auto; }
    .lifecycle__inner { grid-template-columns: 44px 1fr; }
    .lifecycle__stage { padding: 80px 0 90px; }
    .lifecycle__title { font-size: clamp(36px, 11vw, 56px); }
    .lifecycle__copy { font-size: 15px; }
}

/* ---- 4. Buttons: full-width and stacked on phones for thumb reach.
         Keeps the CTA-band action pair from overflowing on 360px viewports. */
@media (max-width: 480px) {
    .cta-band__actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .cta-band__actions .btn { width: 100%; justify-content: center; }
    .btn { padding: 14px 20px; font-size: 14px; }
}

/* ---- 5. Forms: 16px font (prevents iOS zoom on focus) + 44px tap target. */
@media (max-width: 900px) {
    .form__field input, .form__field select, .form__field textarea,
    .scout__field input, .scout__field select, .scout__field textarea {
        font-size: 16px; min-height: 44px;
    }
    .form__field textarea { min-height: 120px; }
}

/* ---- 6. Orbit (capabilities): on phones, the dashed-ring "stage" with
         6 satellite circles becomes too dense. Shrink + center; the panel
         already drops below it via the 900px column collapse above. */
@media (max-width: 900px) {
    .orbit__inner { gap: 36px; }
    .orbit__panel { min-height: 0; }
}
@media (max-width: 480px) {
    .orbit__stage { max-width: 320px; }
    .orbit__node { width: 70px; height: 70px; top: -35px; left: clamp(48px, 12vw, 90px); }
    .orbit__node b { font-size: 10px; }
    .orbit__node small { font-size: 8px; }
    .orbit__core { padding: 12px; }
}

/* ---- 7. Contact map + form: on tablet they already stack at 900px.
         Make sure the map keeps a usable height and the readout wraps. */
@media (max-width: 600px) {
    .coords__map { padding: 14px; }
    .coords__map-frame { min-height: 260px; }
    .coords__readout { grid-template-columns: 1fr 1fr; gap: 10px; font-size: 10px; }
    .coords__readout-row--accent { grid-column: 1 / -1; }
    .coords__readout-actions { flex-direction: column; }
}

/* ---- 8. Marquee + nav brand: keep brand name visible but trim sub-line. */
@media (max-width: 480px) {
    .nav__brand-sub { display: none; }
    .nav__brand-name { font-size: 16px; }
    .nav__brand-logo img { height: 32px; }
}

/* ---- 9. Stacktab head: 3-column (id, title, chevron) gets cramped. */
@media (max-width: 600px) {
    .stacktab__head { grid-template-columns: 60px 1fr 32px; gap: 14px; padding: 18px; }
    .stacktab__id { font-size: 12px; }
    .stacktab__title { font-size: 18px; }
}

/* ---- 10. Skyline + honey (services hex grid): ensure no overflow. */
@media (max-width: 480px) {
    .honey__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .honey__cell { padding: 14px; }
    .skyline__count { gap: 16px; }
}

/* ---- 11. Footer already collapses via 02-sections.css at 540px; nothing
          extra needed here. (Kept as a marker for future tweaks.) */

/* ---- 12. Tap targets globally: any inline anchor or button ≥ 44×44 on
         touch-only devices. Doesn't affect desktop fine-pointer use. */
@media (hover: none) and (pointer: coarse) {
    .btn, .nav__link, .nav__cta, .footer a, .scout__opt {
        min-height: 44px;
        display: inline-flex; align-items: center;
    }
    /* Disable hover-only animations that linger on touch */
    .orbit__node:hover > div { transform: none; }
}

/* ---- 13. Reduce heavy decorative motion on small screens — saves battery
         and frame thrash on weak GPUs. (Orbit arm timing is left alone
         because the satellite delays are tuned to its 40s period.) */
@media (max-width: 600px) {
    .coords__map-scan { display: none; }
}