:root {
  --ink: #071a1a;
  --ink-soft: #102b29;
  --paper: #f4f1eb;
  --white: #fffefa;
  --lime: #d7b46a;
  --lime-strong: #cba355;
  --sage: #86a69c;
  --line: rgba(255, 255, 255, .18);
  --sans: "Heebo", Arial, sans-serif;
  --serif: "Heebo", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 18px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 1.1rem; height: 1.1rem; stroke-width: 1.8; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: .5rem; right: .5rem; transform: translateY(-160%); padding: .75rem 1rem; border-radius: .5rem; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(100% - 3rem, 1180px); min-height: 92px; margin-inline: auto; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .8rem; min-height: 52px; }
.brand-symbol { width: 64px; height: 42px; object-fit: contain; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.brand small { display: block; margin-top: .28rem; color: rgba(255,255,255,.66); font-size: .74rem; letter-spacing: .02em; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { min-height: 44px; display: inline-flex; align-items: center; direction: ltr; color: rgba(255,255,255,.86); font-size: 1rem; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 1.7rem; margin-inline: auto; }
.main-nav a, .main-nav button { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none; color: rgba(255,255,255,.75); font: 700 .95rem var(--sans); cursor: pointer; transition: color .2s ease; }
.main-nav a:hover, .main-nav button:hover { color: var(--lime); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 54px; padding: .85rem 1.35rem; border: 1px solid transparent; border-radius: 3px; font: 800 1rem var(--sans); transition: transform .24s ease, background-color .24s ease, border-color .24s ease; }
.button:hover { transform: translateY(-2px); }
.button--compact { min-height: 46px; padding: .65rem 1rem; border-color: rgba(255,255,255,.3); background: rgba(7,26,26,.32); backdrop-filter: blur(12px); }
.button--compact:hover { border-color: var(--lime); }
.button--primary { background: var(--lime); color: var(--ink); }
.button--primary:hover { background: var(--lime-strong); }

.hero { position: relative; display: grid; min-height: 100svh; overflow: hidden; isolation: isolate; }
.hero-video, .hero-scrim, .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { z-index: -3; object-fit: cover; filter: saturate(.72) contrast(1.04); }
.hero-scrim { z-index: -2; background: linear-gradient(90deg, rgba(7,26,26,.78) 0%, rgba(7,26,26,.94) 48%, rgba(7,26,26,.76) 100%), linear-gradient(0deg, rgba(7,26,26,.58), transparent 50%); }
.hero-grid { z-index: -1; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, transparent, black 28%, black 78%, transparent); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); align-items: end; gap: clamp(2rem, 7vw, 7rem); width: min(100% - 3rem, 1180px); margin-inline: auto; padding-block: 160px 90px; }
.hero-copy { align-self: center; max-width: 790px; }
.trust-line { display: flex; flex-wrap: wrap; gap: .55rem 1.6rem; margin-bottom: 1.4rem; color: rgba(255,255,255,.7); font-size: .83rem; font-weight: 600; }
.trust-line span { display: inline-flex; align-items: center; gap: .55rem; }
.trust-line span::before { content: ""; width: 28px; height: 1px; background: var(--lime); }
h1 { max-width: none; margin: 0; font-family: var(--serif); font-size: clamp(2.35rem, 5.9vw, 5.9rem); font-weight: 800; letter-spacing: -.04em; line-height: .98; white-space: nowrap; }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 1.75rem 0 0; color: rgba(255,255,255,.8); font-size: clamp(1.16rem, 1.65vw, 1.4rem); font-weight: 500; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem 1.5rem; margin-top: 2rem; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding-inline: .25rem; border-bottom: 1px solid rgba(255,255,255,.38); font-weight: 700; }
.text-link { border-top: 0; border-right: 0; border-left: 0; background: transparent; color: var(--white); font-family: var(--sans); cursor: pointer; }
.text-link:hover { color: var(--lime); border-color: var(--lime); }

.snapshot { align-self: end; padding: 1.25rem; border: 1px solid rgba(255,255,255,.22); border-radius: 2px; background: rgba(7,26,26,.7); box-shadow: 0 24px 64px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
.snapshot-head, .snapshot-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.snapshot-head { color: rgba(255,255,255,.8); font-size: .94rem; font-weight: 800; }
.status { display: inline-flex; align-items: center; gap: .4rem; color: var(--lime); }
.status i { width: 6px; aspect-ratio: 1; background: currentColor; }
.snapshot-total { display: block; margin-top: 1.1rem; direction: ltr; text-align: right; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1; }
.snapshot-label { display: block; margin-top: .45rem; color: rgba(255,255,255,.62); font-size: .86rem; }
.mini-chart { display: flex; align-items: end; gap: .42rem; height: 82px; margin-block: 1.25rem; padding-top: .5rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.mini-chart span { flex: 1; height: var(--h); min-width: 10px; background: linear-gradient(to top, rgba(215,180,106,.15), var(--lime)); animation: chart-in .85s cubic-bezier(.2,.75,.25,1) both; transform-origin: bottom; }
.mini-chart span:nth-child(2) { animation-delay: .05s; }.mini-chart span:nth-child(3) { animation-delay: .1s; }.mini-chart span:nth-child(4) { animation-delay: .15s; }.mini-chart span:nth-child(5) { animation-delay: .2s; }.mini-chart span:nth-child(6) { animation-delay: .25s; }.mini-chart span:nth-child(7) { animation-delay: .3s; }
.snapshot-foot span { min-width: 0; }
.snapshot-foot small, .snapshot-foot b { display: block; }
.snapshot-foot small { color: rgba(255,255,255,.56); font-size: .78rem; }
.snapshot-foot b { margin-top: .2rem; font-size: .96rem; }

@keyframes chart-in { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* Main page */
.section-shell { width: min(100% - 3rem, 1180px); margin-inline: auto; }
.services { position: relative; overflow: hidden; padding-block: clamp(5rem, 9vw, 8.5rem); background: var(--paper); color: var(--ink); }
.services::before { content: none; }
.section-heading { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 2rem; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 4.5vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.about-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 3.5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.section-heading p { max-width: 490px; margin: 0; color: #3e5550; font-size: 1.14rem; line-height: 1.75; }
.service-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(3rem, 6vw, 5rem); border-block: 1px solid rgba(7,26,26,.14); background: rgba(7,26,26,.14); }
.service-grid article { min-width: 0; padding: clamp(1.5rem, 3vw, 2.3rem); background: var(--paper); }
.service-grid svg { width: 1.7rem; height: 1.7rem; color: #52786e; }
.service-grid h3 { margin: 2.5rem 0 .55rem; font-family: var(--serif); font-size: clamp(1.75rem, 2.5vw, 2.3rem); font-weight: 800; line-height: 1.1; }
.service-grid p { max-width: 320px; margin: 0; color: #405852; font-size: 1.03rem; line-height: 1.7; }
.cashflow-callout { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: clamp(2rem, 4vw, 3.5rem); padding: 1.05rem 0; border-block: 1px solid rgba(7,26,26,.22); color: var(--ink); }
.cashflow-callout::after { content: none; }
.cashflow-callout > * { position: relative; z-index: 1; }
.cashflow-callout > span { font-size: 1.05rem; font-weight: 700; }
.cashflow-callout button { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); font: 800 1rem var(--sans); cursor: pointer; }
.cashflow-callout button:hover { color: #52786e; }
.button--dark { background: var(--white); color: var(--ink); white-space: nowrap; }
.button--dark:hover { background: var(--lime); }

.about { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: min(820px, 92svh); background: #0b2725; }
.about-media { position: relative; min-height: 650px; overflow: hidden; }
.about-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,26,26,.62), transparent 42%); }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait-note { position: absolute; z-index: 1; right: clamp(1.25rem, 4vw, 3.5rem); bottom: clamp(1.25rem, 4vw, 3rem); padding-right: 1rem; border-right: 2px solid var(--lime); }
.portrait-note strong, .portrait-note span { display: block; }
.portrait-note strong { font-family: var(--serif); font-size: 1.65rem; }
.portrait-note span { color: rgba(255,255,255,.7); font-size: .9rem; }
.about-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(3rem, 8vw, 8rem); }
.about-copy h2 span { color: var(--lime); }
.about-copy > p { max-width: 650px; margin: 1.5rem 0 0; color: rgba(255,255,255,.76); font-size: 1.16rem; line-height: 1.8; }
.about-quote { padding-right: 1rem; border-right: 2px solid var(--lime); }
.interview-list { width: 100%; margin-block: 1.7rem 1.4rem; border-top: 1px solid rgba(255,255,255,.16); }
.interview-list article { display: grid; grid-template-columns: 34px 1fr; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.interview-list article > span { color: var(--lime); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.interview-list h3 { margin: 0; font-size: 1.08rem; font-weight: 800; }
.interview-list p { margin: .25rem 0 0; color: rgba(255,255,255,.68); font-size: .96rem; line-height: 1.65; }
.about-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--lime); background: none; color: var(--white); font: 800 1rem var(--sans); cursor: pointer; }
.about-link:hover { color: var(--lime); }

.site-footer { display: grid; grid-template-columns: .8fr 1.3fr auto; align-items: center; gap: 2rem; padding: 2rem max(1.5rem, calc((100vw - 1180px) / 2)); background: #061313; color: rgba(255,255,255,.68); font-size: .86rem; }
.footer-brand { display: flex; align-items: center; gap: .65rem; color: var(--white); }
.footer-brand .brand-symbol { width: 52px; height: 34px; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { font-family: var(--serif); font-size: 1.15rem; line-height: 1; }
.footer-brand small { margin-top: .15rem; color: rgba(255,255,255,.55); font-size: .75rem; }
.footer-contact, .footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-contact a:hover, .footer-legal button:hover { color: var(--lime); }
.footer-legal { justify-content: flex-end; }
.footer-legal button { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.mobile-cta { display: none; }

/* Full-screen secondary views */
[hidden] { display: none !important; }
.panel-view { position: fixed; z-index: 90; inset: 0; display: grid; grid-template-columns: minmax(250px, .34fr) minmax(0, 1fr); overflow: hidden; background: var(--ink); }
.panel-view.is-visible { animation: panel-in .28s ease both; }
.panel-media { background-position: center; background-size: cover; }
.panel-media--finance { background-image: linear-gradient(rgba(7,26,26,.46), rgba(7,26,26,.9)), url("assets/og.png"); }
.panel-media--contact { background-image: linear-gradient(rgba(7,26,26,.06), rgba(7,26,26,.55)), url("assets/uri-navon.webp"); background-position: 50% 30%; }
.panel-card { position: relative; min-width: 0; height: 100svh; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.2rem, 3vw, 2.8rem) clamp(1.25rem, 5vw, 5.5rem) calc(2rem + env(safe-area-inset-bottom)); background: var(--paper); color: var(--ink); }
.panel-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 54px; padding-bottom: 1rem; border-bottom: 1px solid rgba(7,26,26,.13); color: #506963; font-size: .88rem; }
.back-button { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: 800 .94rem var(--sans); cursor: pointer; }
.back-button:hover { color: #416d60; }
.tool-heading { display: grid; grid-template-columns: auto minmax(220px, 440px); align-items: end; gap: 2rem; margin-block: clamp(1.8rem, 4vw, 3.2rem); }
.tool-heading h2, .contact-intro h2, .legal-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5.8vw, 5.8rem); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
.tool-heading h2, .contact-intro h2 { white-space: nowrap; }
.contact-intro h2 { font-size: clamp(2.4rem, 4.2vw, 4.8rem); }
.tool-heading p { margin: .65rem 0 0; color: #455e58; font-size: 1.08rem; line-height: 1.7; }

.cashflow-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .68fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.input-stack { display: grid; gap: 1rem; }
.range-row { padding-bottom: .9rem; border-bottom: 1px solid rgba(7,26,26,.12); }
.range-row label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; }
.range-row label span { font-size: 1.05rem; font-weight: 800; }
.range-row label small { color: #586f69; font-size: .82rem; }
.range-controls { display: grid; grid-template-columns: minmax(130px, 1fr) 112px; align-items: center; gap: 1rem; }
input[type="range"] { width: 100%; height: 32px; margin: 0; accent-color: #5c7d42; cursor: grab; }
input[type="range"]:active { cursor: grabbing; }
.number-wrap { display: flex; align-items: center; direction: ltr; min-height: 44px; overflow: hidden; border: 1px solid #b9c2bc; border-radius: 2px; background: var(--white); }
.number-wrap:focus-within { outline: 3px solid rgba(85,128,73,.28); border-color: #557d49; }
.number-wrap input { width: 100%; min-width: 0; height: 46px; padding: .45rem .25rem .45rem .65rem; border: 0; outline: 0; background: transparent; color: var(--ink); font: 800 1rem var(--sans); text-align: left; }
.number-wrap span { padding-inline: .5rem; color: #586f69; font-size: .86rem; }
.number-wrap--percent { max-width: 100px; }

.result-card { position: sticky; top: 1rem; padding: clamp(1.35rem, 3vw, 2.1rem); border-radius: 2px; background: var(--ink); color: var(--white); box-shadow: 0 24px 70px rgba(7,26,26,.14); }
.result-status { display: flex; align-items: center; gap: .5rem; color: var(--lime); font-size: .78rem; font-weight: 800; }
.result-status i { order: -1; width: 7px; aspect-ratio: 1; background: currentColor; }
.result-status.is-warning { color: #ffd08a; }
.result-status.is-risk { color: #ff9b8f; }
.result-label { display: block; margin-top: 1.5rem; color: rgba(255,255,255,.48); font-size: .75rem; }
.result-card > strong { display: block; margin-top: .2rem; direction: ltr; text-align: right; font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 4.1rem); line-height: 1; }
.allocation-bar { display: flex; direction: ltr; height: 12px; margin-top: 1.65rem; overflow: hidden; border-radius: 1px; background: rgba(255,255,255,.08); }
.allocation-bar span { min-width: 0; transition: width .25s ease; }
#fixedSegment, .legend-fixed { background: #8fb9a9; } #variableSegment, .legend-variable { background: #d6b46a; } #payrollSegment, .legend-payroll { background: #88a5d4; } #otherSegment, .legend-other { background: #c79087; } #reserveSegment, .legend-reserve { background: #d7b46a; } #balanceSegment { background: rgba(255,255,255,.17); }
.legend { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin-top: .8rem; color: rgba(255,255,255,.5); font-size: .62rem; }
.legend span { display: inline-flex; align-items: center; gap: .3rem; }
.legend i { width: 6px; aspect-ratio: 1; }
.result-card dl { margin: 1.4rem 0 1.6rem; }
.result-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .58rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.result-card dt { color: rgba(255,255,255,.5); font-size: .72rem; }
.result-card dd { margin: 0; direction: ltr; font-size: .8rem; font-weight: 800; }
.result-card .button { width: 100%; }
.reset-button { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: 44px; margin-top: .55rem; border: 0; background: none; color: rgba(255,255,255,.5); font: 600 .7rem var(--sans); cursor: pointer; }
.reset-button:hover { color: var(--white); }
.tool-disclaimer { margin: 1.25rem 0 0; color: #596f69; font-size: .8rem; }

/* Cash-flow workspace */
.tool-heading--cashflow { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.tool-heading--cashflow h2 { font-size: clamp(2.7rem, 4.5vw, 5rem); white-space: nowrap; }
.profile-switch { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 330px); margin: 0; padding: 4px; border: 1px solid #aebbb4; border-radius: 3px; background: #e7e7df; }
.profile-switch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.profile-switch label { cursor: pointer; }
.profile-switch input { position: absolute; opacity: 0; pointer-events: none; }
.profile-switch span { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .55rem 1rem; color: #526760; font-size: .95rem; font-weight: 800; }
.profile-switch input:checked + span { background: var(--ink); color: var(--white); box-shadow: 0 5px 16px rgba(7,26,26,.14); }
.profile-switch input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.mobile-result-strip { display: none; }
.cashflow-form { grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr); }
.input-stack { gap: 1.15rem; }
.range-row { padding-bottom: 1rem; }
.result-card { padding: clamp(1.35rem, 2.6vw, 2rem); }
.result-overview { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; padding-bottom: 1.35rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.result-status { display: inline-block; padding-right: .7rem; border-right: 3px solid var(--lime); color: var(--lime); font-size: .92rem; font-weight: 900; }
.result-status.is-warning { color: #ffd08a; border-color: currentColor; }
.result-status.is-risk { color: #ff9b8f; border-color: currentColor; }
.result-label { display: block; margin-top: 1.15rem; color: rgba(255,255,255,.58); font-size: .82rem; }
.result-overview > div:first-child > strong { display: block; margin-top: .2rem; direction: ltr; text-align: right; font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.result-index { min-width: 96px; padding-right: 1rem; border-right: 1px solid rgba(255,255,255,.16); text-align: left; }
.result-index span, .result-index small { display: block; color: rgba(255,255,255,.48); font-size: .68rem; }
.result-index strong { display: inline-block; color: var(--lime); font-size: 2.3rem; font-weight: 900; line-height: 1.15; }
.result-index small { display: inline; margin-right: .2rem; }
.result-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-block: 1.15rem; background: rgba(255,255,255,.12); }
.result-metrics div { min-width: 0; padding: .8rem .7rem; background: var(--ink); }
.result-metrics span, .result-metrics strong { display: block; }
.result-metrics span { color: rgba(255,255,255,.48); font-size: .68rem; }
.result-metrics strong { margin-top: .25rem; direction: ltr; text-align: right; font-size: .86rem; }
.breakdown-chart { display: grid; gap: .75rem; padding-block: .3rem 1.1rem; }
.breakdown-chart > div { display: grid; grid-template-columns: 64px minmax(80px, 1fr) 82px; align-items: center; gap: .7rem; }
.breakdown-chart span { color: rgba(255,255,255,.68); font-size: .72rem; }
.breakdown-chart b { height: 7px; overflow: hidden; background: rgba(255,255,255,.1); }
.breakdown-chart i { display: block; width: 20%; height: 100%; background: var(--lime); transition: width .25s ease; }
.breakdown-chart > div:nth-child(2) i { background: #87a79d; }
.breakdown-chart > div:nth-child(3) i { background: #9da9c3; }
.breakdown-chart > div:nth-child(4) i { background: #b68980; }
.breakdown-chart strong { direction: ltr; text-align: right; font-size: .7rem; }
.result-insight { margin: 0; padding: 1rem; border-right: 3px solid var(--lime); background: rgba(255,255,255,.07); color: rgba(255,255,255,.82); font-size: .84rem; line-height: 1.65; }
.result-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.result-contact { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--lime); background: none; color: var(--white); font: 800 .82rem var(--sans); cursor: pointer; }
.result-contact:hover { color: var(--lime); }
.result-actions .reset-button { width: auto; margin: 0; padding-inline: .3rem; font-size: .75rem; }

.contact-layout { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(360px, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-block: clamp(2.3rem, 6vw, 5rem); }
.contact-intro h2 { max-width: 580px; }
.contact-intro > p { max-width: 480px; margin: 1.5rem 0 0; color: #526963; font-size: 1.02rem; line-height: 1.85; }
.contact-direct { display: grid; gap: .45rem; margin-top: 2rem; }
.contact-direct a, .contact-direct > span { display: flex; align-items: center; gap: .6rem; min-height: 42px; color: #425b55; font-size: .92rem; }
.contact-direct a:hover { color: #47795f; }
.contact-form { max-width: 650px; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #d5d7cf; border-radius: 2px; background: rgba(255,255,255,.54); }
.channel-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 0 0 1.3rem; padding: 0; border: 0; }
.channel-picker legend { grid-column: 1 / -1; margin-bottom: .35rem; font-size: .9rem; font-weight: 800; }
.channel-picker label { cursor: pointer; }
.channel-picker input { position: absolute; opacity: 0; pointer-events: none; }
.channel-picker label > span { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 50px; padding: .55rem; border: 1px solid #c2c9c3; border-radius: 2px; background: var(--white); font-size: .9rem; transition: border-color .2s ease, background-color .2s ease; }
.channel-picker label > span small { color: #54744c; font-size: .7rem; }
.channel-picker input:checked + span { border-color: #5a7f4c; background: #edf4df; box-shadow: inset 0 0 0 1px #5a7f4c; }
.channel-picker input:focus-visible + span { outline: 3px solid rgba(85,128,73,.35); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field { display: grid; gap: .35rem; margin-bottom: .8rem; color: #304742; font-size: .88rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #bac4bd; border-radius: 2px; background: var(--white); color: var(--ink); font: 500 1rem var(--sans); }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(85,128,73,.25); border-color: #557d49; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; margin-block: .8rem 1rem; color: #4d625d; font-size: .8rem; line-height: 1.65; }
.consent input { width: 18px; height: 18px; margin-top: .1rem; accent-color: #557d49; }
.consent button { padding: 0; border: 0; background: none; color: #305c4e; font: inherit; text-decoration: underline; cursor: pointer; }
.form-error { margin: -.25rem 0 .75rem; color: #9a2e27; font-size: .76rem; font-weight: 700; }
.submit-button { width: 100%; border: 0; cursor: pointer; }

.legal-panel { grid-template-columns: 1fr; background: linear-gradient(rgba(7,26,26,.78), rgba(7,26,26,.92)), url("assets/og.png") center/cover; padding: clamp(1rem, 5vw, 4rem); }
.legal-card { width: min(100%, 820px); height: auto; max-height: calc(100svh - 2rem); margin: auto; border-radius: 2px; }
.legal-card h2 { margin-top: clamp(2rem, 5vw, 4rem); }
.legal-card h3 { margin: 2rem 0 .35rem; font-family: var(--serif); font-size: 1.65rem; }
.legal-card p { color: #4e655f; line-height: 1.9; }
body.panel-open { overflow: hidden; }

@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1080px) {
  .panel-view { grid-template-columns: 1fr; background: var(--paper); }
  .panel-media { display: none; }
  .panel-card { padding-inline: clamp(1rem, 4vw, 3rem); }
}

@media (max-width: 820px) {
  .site-header { width: min(100% - 2rem, 1180px); min-height: 78px; }
  .brand small, .header-phone { display: none; }
  .button--compact span { display: none; }
  .button--compact { width: 46px; padding: 0; }
  .main-nav { display: none; }
  .hero { min-height: 100svh; }
  .hero-inner { grid-template-columns: 1fr; align-content: center; width: min(100% - 2rem, 650px); gap: 1.75rem; padding-block: 120px 78px; }
  .hero-copy { align-self: end; }
  h1 { font-size: clamp(2.35rem, 6.6vw, 4rem); }
  .snapshot { max-width: 470px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(7,26,26,.78), rgba(7,26,26,.96) 68%, rgba(7,26,26,.92)); }
  .hero-video { object-position: 52% center; }
  .section-shell { width: min(100% - 2rem, 650px); }
  .section-heading { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; align-items: start; }
  .service-grid h3 { margin: 0; }
  .service-grid p { grid-column: 2; }
  .cashflow-callout { align-items: stretch; flex-direction: column; }
  .cashflow-callout .button { align-self: flex-start; }
  .about { grid-template-columns: 1fr; min-height: 0; }
  .about-media { min-height: min(58svh, 520px); }
  .about-copy { padding: clamp(3rem, 9vw, 5rem) 1.25rem 6rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 1.25rem 7rem; }
  .footer-contact, .footer-legal { justify-content: flex-start; }
  .mobile-cta { position: fixed; z-index: 45; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); left: .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .35rem; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; background: rgba(7,26,26,.9); box-shadow: 0 14px 40px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
  .mobile-cta button { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border: 0; border-radius: 2px; background: transparent; color: var(--white); font: 800 .9rem var(--sans); }
  .mobile-cta button:last-child { background: var(--lime); color: var(--ink); }
  body.panel-open .mobile-cta { display: none; }

  .panel-view { grid-template-columns: 1fr; background: var(--paper); }
  .panel-media { display: none; }
  .panel-card { padding-inline: 1rem; }
  .tool-heading { grid-template-columns: 1fr; gap: .8rem; }
  .profile-switch { width: 100%; }
  .mobile-result-strip { position: sticky; z-index: 4; top: -1px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 -1rem 1.2rem; padding: .72rem 1rem; border-block: 1px solid rgba(255,255,255,.12); background: var(--ink); color: var(--white); box-shadow: 0 10px 25px rgba(7,26,26,.12); }
  .mobile-result-strip span { color: rgba(255,255,255,.58); font-size: .76rem; }
  .mobile-result-strip strong { display: block; margin-top: .1rem; color: var(--white); font-size: 1rem; font-weight: 900; }
  .mobile-result-strip span:last-child { text-align: left; }
  .mobile-result-strip span:last-child strong { color: var(--lime); }
  .cashflow-form { grid-template-columns: 1fr; }
  .result-card { position: relative; top: auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem; }
  .contact-direct { grid-template-columns: 1fr 1fr; }
  .contact-direct > span { grid-column: 1 / -1; }
  .legal-panel { padding: 0; }
  .legal-card { width: 100%; max-height: 100svh; border-radius: 0; }
}

@media (max-width: 520px) {
  .brand-symbol { width: 54px; height: 34px; }
  .brand strong { font-size: 1.3rem; }
  .hero { min-height: auto; }
  .hero-inner { align-content: start; padding-block: 118px 6.5rem; }
  .trust-line { margin-bottom: 1rem; }
  h1 { font-size: clamp(2rem, 8vw, 3.15rem); line-height: 1; white-space: nowrap; }
  .hero-copy > p { margin-top: 1.25rem; font-size: 1.12rem; line-height: 1.7; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 1.4rem; }
  .button--primary { width: 100%; }
  .text-link { align-self: center; }
  .snapshot { padding: 1rem; }
  .mini-chart { height: 64px; margin-block: .85rem; }
  .services { padding-block: 4.5rem; }
  .section-heading h2, .about-copy h2 { font-size: clamp(1.9rem, 8.2vw, 3rem); }
  .service-grid article { padding: 1.25rem .35rem; }
  .service-grid h3 { font-size: 1.55rem; }
  .cashflow-callout { padding: 1.25rem; }
  .cashflow-callout .button { width: 100%; }
  .about-copy > p { font-size: .98rem; }
  .about-copy ul { display: grid; }
  .panel-topbar > span { display: none; }
  .tool-heading h2, .legal-card h2 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .contact-intro h2 { font-size: clamp(1.85rem, 7.8vw, 2.5rem); }
  .range-controls { grid-template-columns: minmax(100px, 1fr) 100px; gap: .65rem; }
  .range-row label small { max-width: 150px; text-align: left; }
  .result-overview { grid-template-columns: minmax(0, 1fr) 82px; }
  .result-metrics { grid-template-columns: 1fr 1fr; }
  .result-metrics div:last-child { grid-column: 1 / -1; }
  .breakdown-chart > div { grid-template-columns: 54px minmax(70px, 1fr) 76px; gap: .5rem; }
  .contact-form { padding: 1rem; }
  .channel-picker { gap: .35rem; }
  .channel-picker label > span { flex-direction: column; gap: .15rem; min-height: 66px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-direct { grid-template-columns: 1fr; }
  .contact-direct > span { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-video { display: block; }
}
