@font-face {
  font-family: Manrope;
  src: url('assets/manrope-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --forest: #183a32;
  --bone: #ebe9e0;
  --paper: #f3f1ec;
  --sage: #a6b5a4;
  --lime: #dce6a3;
  --ink: #183a32;
  --muted: #405548;
  --line: #183a3233;
  --ease-out: cubic-bezier(.23,1,.32,1);
  --ease-in-out: cubic-bezier(.77,0,.175,1);
  --page-gutter: 80px;
  --gutter: 24px;
  font-family: Manrope,sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-padding-top: 24px;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; font-weight: 450; }
button,a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
img,svg { display: block; max-width: 100%; }
h1,h2,h3,h4,p { margin: 0; }
h1,h2,h3,h4 { font-weight: 500; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
p { max-width: 65ch; }
::selection { background: var(--lime); color: var(--forest); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
html { scrollbar-color: var(--sage) var(--forest); }
[hidden] { display: none !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap,.container { width: calc(100% - var(--page-gutter)*2); max-width: 1440px; margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 12px 20px; background: var(--bone); color: var(--forest); z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: absolute; top: 24px; left: 0; right: 0; z-index: 30; color: var(--bone); }
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border-radius: 22px; background: linear-gradient(130deg,#ffffff12,#ffffff03),#15382fd9; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 1px 1px #ffffff69,inset 0 -1px 1px #ffffff1c,0 14px 32px #071e1914; }
.home-link { display: flex; align-items: center; min-height: 48px; }
.home-link img { width: 180px; height: auto; }
.header-links { display: flex; gap: 36px; }
.header-links a { display: flex; align-items: center; min-height: 48px; font-size: 14px; position: relative; }
.header-links a::after,.text-link::after { content: ''; position: absolute; left: 0; bottom: 8px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease-out); }
.menu-toggle { display: none; }
.hero { min-height: 100svh; position: relative; isolation: isolate; overflow: clip; color: var(--bone); background: radial-gradient(ellipse at 76% 72%,#365c45 0,transparent 50%),#183a32; }
.hero-inner { min-height: 100svh; padding-top: 145px; padding-bottom: 40px; display: grid; grid-template-rows: 1fr auto; }
.hero-statement { align-self: center; padding-bottom: 60px; position: relative; z-index: 2; width: 73%; }
.hero h1 { font-size: clamp(60px,6.45vw,96px); line-height: 1.06; max-width: 880px; letter-spacing: -.035em; }
.hero-description { margin-top: 32px; font-size: 19px; line-height: 1.65; color: #d9e2d1; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-top: 36px; }
.hero-art { position: absolute; z-index: -1; width: min(51vw,760px); right: -2%; top: 46%; transform: translateY(-50%); pointer-events: none; }
.hero-art img { width: 100%; height: auto; }
.hero-baseline { display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 56px; padding-top: 20px; border-top: 1px solid #ebe9e033; font-size: 13px; color: #cbd8c6; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 14px 24px; border-radius: 16px; font-size: 14px; font-weight: 600; transition: transform 160ms var(--ease-out); }
.button svg,.text-link svg { width: 22px; height: 22px; flex-shrink: 0; }
.button-primary { background: linear-gradient(140deg,#f3f1ec,#e1e7cf); color: var(--forest); box-shadow: inset 0 1px 1px #fff,inset 0 -1px 1px #183a3226,0 8px 20px #071e1926; }
.button-outline { border: 1px solid currentColor; }
.text-link { display: inline-flex; align-items: center; gap: 18px; position: relative; min-height: 48px; font-size: 14px; font-weight: 600; }
.text-link svg { transition: transform 180ms var(--ease-out); }
.product { min-height: 100svh; padding: 64px 0; background: var(--paper); }
.product-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.product-heading h2 { font-size: clamp(56px,6.1vw,80px); }
.product-state { font-size: 13px; color: var(--muted); }
.product-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; margin: 32px 0 45px; align-items: start; }
.product-lead { font-size: clamp(28px,2.9vw,42px); line-height: 1.22; letter-spacing: -.025em; }
.product-intro>p:last-child { color: var(--muted); font-size: 16px; max-width: none; justify-self: end; }
.product-explorer { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.diagram-wrap { min-width: 0; position: relative; }
.glass-map { position: relative; border-radius: 32px 80px 32px 32px; padding: 38px 24px; background: linear-gradient(135deg,#fff9,#ffffff29),#c9d5bf; box-shadow: inset 0 2px 2px #fff,inset 0 -2px 2px #183a321c,0 22px 44px #183a3214; overflow: hidden; }
.glass-map::after { content: ''; pointer-events: none; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #ffffffbd; }
.parking-diagram { width: 100%; overflow: visible; }
.map-base { color: #60775d; }
.cars { color: var(--forest); }
.car-windows { color: #dce6d6; }
.map-focus { color: #426039; opacity: 0; transition: opacity 220ms var(--ease-out); }
.map-zones { opacity: 1; }
.map-sessions text { fill: #f3f1ec; font-family: Manrope,sans-serif; font-size: 28px; font-weight: 650; }
.map-control path:last-child { stroke: #f3f1ec; }
.product-explorer[data-mode='sessions'] .map-zones,.product-explorer[data-mode='control'] .map-zones { opacity: 0; }
.product-explorer[data-mode='sessions'] .map-sessions,.product-explorer[data-mode='control'] .map-control { opacity: 1; }
.scope { min-width: 0; }
.scope-tabs { display: flex; position: relative; border-radius: 16px; margin-bottom: 30px; gap: 24px; padding: 0 20px; background: linear-gradient(120deg,#ffffffb3,#ffffff40); box-shadow: inset 0 1px 1px #fff,0 7px 18px #183a3209; }
.scope-tabs button { background: transparent; white-space: nowrap; font-size: 13px; font-weight: 500; padding: 17px 0; color: var(--muted); min-height: 54px; }
.scope-tabs button[aria-selected='true'] { color: var(--forest); }
.tab-indicator { position: absolute; left: 0; bottom: 7px; width: 1px; height: 2px; background: var(--forest); transform-origin: left; transition: transform 220ms var(--ease-out); pointer-events: none; }
.scope-content { min-height: 210px; }
.scope-panel h4 { font-size: 28px; line-height: 1.22; letter-spacing: -.025em; max-width: 400px; margin-bottom: 18px; }
.scope-panel p { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 440px; }
.product-explorer[data-instant='true'] .tab-indicator,.product-explorer[data-instant='true'] .map-focus { transition: none; }
html:not(.js) .scope-tabs { display: none; }
html:not(.js) .scope-panel { margin-block: 24px; }
.approach { min-height: 100svh; padding: 80px 0; background: var(--forest); color: var(--bone); --line: #ebe9e03b; --muted: #c7d4be; border-radius: 0 96px 0 0; }
.approach-heading { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.approach h2 { font-size: clamp(36px,4vw,58px); max-width: 730px; }
.approach-heading>p { font-size: 18px; max-width: 320px; justify-self: end; color: var(--muted); }
.principles { margin-left: 32%; }
.principle { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 32px 0; border-top: 1px solid var(--line); align-items: baseline; }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h3 { font-size: 25px; letter-spacing: -.025em; }
.principle p { font-size: 16px; color: var(--muted); }
.company { min-height: 100svh; background: var(--bone); padding: 100px 0; }
.company-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; }
.company h2 { font-size: clamp(40px,4.5vw,64px); }
.company h2 span { color: #51665b; }
.company-copy { max-width: 460px; }
.company-copy p { margin-bottom: 24px; }
.company-intro { font-size: 27px; line-height: 1.4; letter-spacing: -.02em; }
.company-copy p:not(.company-intro) { font-size: 16px; }
.company-location { border-top: 1px solid var(--line); margin-top: 42px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; }
.site-footer { padding: 52px 0 28px; background: var(--bone); }
.footer-inner { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 32px; align-items: center; border-top: 1px solid var(--line); padding-top: 48px; }
.footer-inner>a:first-child { min-height: 48px; display: flex; align-items: center; }
.footer-inner img { width: 205px; height: auto; }
.footer-inner p { font-size: 14px; }
.copyright { grid-column: 1/-1; font-size: 13px; color: var(--muted); margin-top: 20px; }
.contact { padding-block: 64px; background: var(--forest); color: var(--bone); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.contact h2 { font-size: 40px; }
.js .header-links[data-instant='true'] { transition: none; }
html[data-input='keyboard'] *,html[data-input='keyboard'] *::before,html[data-input='keyboard'] *::after { transition-duration: 0s !important; }
@media (hover:hover) and (pointer:fine) {
  .header-links a:hover::after,.text-link:hover::after { transform: scaleX(1); }
  .text-link:hover svg { transform: translateX(4px); }
  .button:hover { transform: translateY(-2px); }
  .scope-tabs button:hover { color: var(--forest); }
}
.button:active { transform: scale(.97); transition-duration: 100ms; }
.menu-toggle:active { transform: scale(.97); }
@media (min-width:1800px) { .hero-art { right: calc((100vw - 1640px)/2 - 80px); } }
@media (max-width:1100px) {
  :root { --page-gutter: 48px; }
  .hero h1 { font-size: clamp(58px,7.1vw,78px); }
  .hero-statement { width: 82%; }
  .hero-art { width: 58vw; right: -13%; opacity: .85; }
  .product-intro,.product-explorer { gap: 32px; grid-template-columns: 1.1fr 1fr; }
  .scope-tabs { gap: 18px; padding-inline: 16px; }
  .scope-panel h4 { font-size: 25px; }
  .glass-map { padding: 40px 16px; }
  .approach-heading,.company-grid { gap: 40px; grid-template-columns: 1.15fr 1fr; }
  .principles { margin-left: 15%; }
  .principle { gap: 24px; }
  .company-location { flex-direction: column; gap: 4px; }
  .footer-inner { grid-template-columns: 1fr 1fr auto; }
  .footer-inner img { width: 170px; }
}
@media (max-width:760px) {
  :root { --page-gutter: 24px; scroll-padding-top: 24px; }
  .site-header { top: 16px; }
  .header-inner { height: 68px; padding-inline: 20px; border-radius: 18px; }
  .home-link img { width: 136px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0 8px 16px; background: none; font-size: 13px; }
  .menu-lines { width: 18px; height: 12px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; display: block; }
  .js .header-links { position: absolute; top: 78px; left: 24px; right: 24px; border-radius: 18px; background: #183a32f5; padding: 20px 24px 28px; display: grid; gap: 4px; visibility: hidden; opacity: 0; transform: translateY(-8px); transform-origin: top right; transition: opacity 180ms var(--ease-out),transform 180ms var(--ease-out),visibility 180ms; box-shadow: inset 0 1px 1px #ffffff40,0 18px 30px #071e1924; }
  .js .header-links[data-open='true'] { visibility: visible; opacity: 1; transform: none; }
  .header-links a { font-size: 22px; min-height: 54px; }
  .header-links a::after { display: none; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .header-inner { height: auto; min-height: 94px; flex-wrap: wrap; gap: 8px; padding: 12px 20px; }
  html:not(.js) .header-links { width: 100%; justify-content: space-between; gap: 16px; }
  html:not(.js) .header-links a { font-size: 13px; min-height: 44px; }
  .hero-inner { padding-top: 144px; padding-bottom: 24px; grid-template-rows: auto 1fr auto; gap: 24px; }
  .hero-statement { width: 100%; padding: 0; align-self: start; }
  .hero h1 { font-size: clamp(38px,8.1vw,58px); line-height: 1.12; }
  .hero-description { font-size: 16px; margin-top: 22px; }
  .hero-actions { margin-top: 26px; gap: 16px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-actions .text-link { font-size: 13px; min-height: 44px; }
  .hero-art { position: relative; top: auto; right: auto; transform: none; width: min(74%,350px); justify-self: end; margin-top: -92px; margin-bottom: -16px; align-self: end; opacity: 1; }
  .hero-baseline { grid-row: 3; font-size: 13px; gap: 12px; align-items: start; padding-top: 18px; }
  .hero-baseline span { max-width: 180px; }
  .hero-baseline span:last-child { max-width: 120px; text-align: right; }
  .product { padding-block: 52px; }
  .product-heading { padding-bottom: 22px; align-items: baseline; gap: 18px; flex-wrap: wrap; }
  .product-heading h2 { font-size: clamp(36px,8.8vw,48px); }
  .product-state { font-size: 13px; }
  .product-intro { grid-template-columns: 1fr; gap: 24px; margin: 28px 0 32px; }
  .product-lead { font-size: 30px; }
  .product-intro>p:last-child { justify-self: start; font-size: 16px; }
  .product-explorer { grid-template-columns: 1fr; gap: 30px; }
  .glass-map { padding: 26px 16px; border-radius: 24px 48px 24px 24px; }
  .scope-tabs { gap: 24px; padding: 0 18px; margin-bottom: 24px; }
  .scope-tabs button { font-size: 13px; }
  .scope-content { min-height: 190px; }
  .scope-panel h4 { font-size: 27px; max-width: 360px; }
  .scope-panel p { font-size: 16px; }
  .approach { padding-block: 64px; border-radius: 0 56px 0 0; }
  .approach-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .approach h2 { font-size: 36px; }
  .approach-heading>p { font-size: 16px; max-width: 320px; justify-self: start; }
  .principles { margin: 0; }
  .principle { grid-template-columns: 1fr; gap: 12px; padding: 25px 0; }
  .principle h3 { font-size: 24px; }
  .principle p { font-size: 16px; }
  .company { padding-block: 64px; }
  .company-grid { grid-template-columns: 1fr; gap: 36px; }
  .company h2 { font-size: 34px; }
  .company-intro { font-size: 24px; }
  .company-copy p:not(.company-intro) { font-size: 16px; }
  .company-location { flex-direction: row; font-size: 13px; margin-top: 32px; }
  .footer-inner { grid-template-columns: 1fr auto; gap: 24px; padding-top: 30px; }
  .footer-inner img { width: 145px; }
  .footer-inner p { grid-row: 2; grid-column: 1/-1; font-size: 14px; }
  .footer-inner>.text-link { font-size: 13px; gap: 10px; }
  .copyright { margin: 0; }
  .site-footer { padding-top: 0; }
  .contact-inner { display: block; }
  .contact h2 { font-size: 34px; margin-bottom: 24px; }
}
@media (max-width:360px) {
  .hero h1 { font-size: 36px; }
  .hero-art { margin-top: -80px; width: 70%; }
  .scope-tabs { gap: 18px; padding-inline: 12px; }
  .company-location { flex-direction: column; }
  .company h2 { font-size: 32px; }
  .footer-inner img { width: 128px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition-duration: 0s !important; }
  .js .header-links { transform: none; }
}
@media (prefers-reduced-transparency:reduce) {
  .header-inner,.js .header-links { background: var(--forest); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .glass-map { background: #d4ddcc; }
  .scope-tabs { background: var(--bone); }
}
@media (prefers-contrast:more) {
  :root { --muted: #183a32; --line: #183a32; }
  .hero-description,.hero-baseline { color: #ebe9e0; }
  .approach { --muted: #ebe9e0; --line: #ebe9e0; }
  .map-base { color: #183a32; }
  .company h2 span { color: var(--forest); }
}
@media print {
  .menu-toggle,.skip-link,.hero-art { display: none; }
  .site-header { position: static; }
  .hero,.hero-inner,.product,.approach,.company { min-height: 0; }
  .hero,.approach { background: #fff; color: #183a32; }
  .scope-tabs { display: none; }
  .scope-panel[hidden] { display: block !important; }
  .scope-panel { margin-top: 20px; }
}
.error-page { min-height: 100svh; display: grid; align-content: center; gap: 32px; padding: var(--page-gutter); }
.error-page .brand img { width: 180px; }
.error-page h1 { font-size: clamp(42px,6vw,80px); }
.error-page .button { justify-self: start; }
.error-page .eyebrow { font-size: 14px; }
.error-main { display: grid; gap: 64px; }
.error-copy { display: grid; gap: 24px; }
.error-copy>p { max-width: 54ch; }
.error-copy .button { justify-self: start; }

.company-wordmark { margin-top: 70px; grid-column: 1/-1; }
.company-wordmark img { width: 100%; height: auto; }
@media(max-width:760px) { .company-wordmark { margin-top: 20px; } }

/* A single Taste moment explains the product's life; it never conceals text. */
.approach {
  --bg: var(--forest);
  --ink: var(--bone);
  --accent: var(--lime);
  --font-display: Manrope,sans-serif;
  --display-weight: 500;
  --display-tracking: -.025em;
  --t-h2: clamp(32px,3.65vw,52px);
}
.approach-heading { display: block; }
.approach-heading h2 { font-size: 27px; margin-bottom: 32px; }
.approach-heading>.mo-wh__text { font-size: var(--t-h2); max-width: 1080px; color: var(--bone); }
/* Adapt the original Taste ink states with opacity; keep the vendor kit intact. */
.mo-wh .mo-wh__text.has-opacity-ink .mo-w { display: inline-block; position: relative; color: color-mix(in oklab,var(--ink) 50%,var(--bg)); transition: none; }
.mo-wh .mo-wh__text.has-opacity-ink .mo-w::after { content: attr(data-word); position: absolute; inset: 0; color: var(--ink); opacity: 0; transition: opacity 160ms var(--ease-out); pointer-events: none; }
.mo-wh .mo-wh__text.has-opacity-ink .mo-w.is-on::after { opacity: 1; }
.mo-wh .mo-wh__text.has-opacity-ink strong .mo-w::after { color: var(--accent); }
@media (prefers-reduced-motion:reduce) {
  .mo-wh .mo-wh__text.has-opacity-ink .mo-w { color: var(--ink); }
  .mo-wh .mo-wh__text.has-opacity-ink strong .mo-w { color: var(--accent); }
  .mo-wh .mo-wh__text.has-opacity-ink .mo-w::after { content: none; transition: none; }
}
@media(max-width:760px) {
  .approach-heading h2 { font-size: 25px; margin-bottom: 26px; }
  .approach-heading>.mo-wh__text { max-width: none; }
}

/* One twelve-column grid keeps the editorial offsets deliberate. */
@media(min-width:761px) {
  .product-intro,.product-explorer,.company-grid,.footer-inner { grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: var(--gutter); }
  .product-intro>p:first-child,.diagram-wrap,.company-grid>h2 { grid-column: 1/8; }
  .product-intro>p:last-child,.scope,.company-copy { grid-column: 8/-1; justify-self: start; }
  .product-explorer { align-items: start; }
  .principles { margin-left: 0; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); column-gap: var(--gutter); }
  .principle { grid-column: 5/-1; grid-template-columns: repeat(8,minmax(0,1fr)); column-gap: var(--gutter); }
  .principle h3 { grid-column: 1/5; }
  .principle p { grid-column: 5/-1; }
  .company { padding-block: 80px; }
  .company-wordmark { margin-top: 0; }
  .footer-inner>a:first-child { grid-column: 1/7; }
  .footer-inner>p { grid-column: 7/11; }
  .footer-inner>.text-link { grid-column: 11/-1; }
}
.approach-heading>.mo-wh__text { justify-self: start; }
@media(min-width:761px) and (max-width:1100px) {
  .product-intro>p:first-child,.diagram-wrap,.company-grid>h2 { grid-column: 1/7; }
  .product-intro>p:last-child,.scope,.company-copy { grid-column: 7/-1; }
  .footer-inner>a:first-child { grid-column: 1/5; }
  .footer-inner>p { grid-column: 5/9; }
  .footer-inner>.text-link { grid-column: 9/-1; }
}

/* The portfolio extends the mineral system: one rail, one selected project. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.portfolio { padding-block: 80px; }
.portfolio-heading { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: end; }
.portfolio-heading h2 { grid-column: 1/8; font-size: clamp(38px,4.5vw,64px); max-width: 700px; }
.portfolio-heading>p { grid-column: 8/-1; font-size: 17px; color: var(--muted); max-width: 460px; }
.portfolio-navigation { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 42px 0 14px; }
.portfolio-hint { font-size: 14px; color: var(--muted); }
.project-controls { display: flex; align-items: center; gap: 8px; }
.project-count { min-width: 55px; font-size: 14px; font-variant-numeric: tabular-nums; }
.project-controls button { min-height: 44px; padding: 10px 16px; border-radius: 12px; background: var(--bone); font-size: 14px; transition: transform 160ms var(--ease-out); }
.project-controls button:disabled { color: var(--muted); cursor: default; opacity: .55; }
.project-controls button:active:not(:disabled) { transform: scale(.97); transition-duration: 100ms; }
.project-tabs { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 14px; padding: 14px; border-radius: 22px; background: linear-gradient(120deg,#ffffffb3,#ffffff40); box-shadow: inset 0 1px 1px #fff,0 7px 18px #183a3209; scrollbar-width: thin; scrollbar-color: var(--sage) transparent; }
.project-tab { flex: 1 0 180px; min-width: 0; position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px 18px 22px; min-height: 112px; border-radius: 12px; background: transparent; text-align: left; scroll-snap-align: start; }
.project-tab::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 7px; height: 2px; background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease-out); }
.project-tab[aria-selected='true'] { background: var(--paper); }
.project-tab[aria-selected='true']::after { transform: scaleX(1); }
.project-tab-mark { display: flex; align-items: center; gap: 8px; height: 40px; font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; transition: transform 160ms var(--ease-out); }
.project-tab-mark img { object-fit: contain; width: auto; max-width: 114px; max-height: 40px; }
.project-tab-mark .logo-technosylva { width: 35px; max-height: 28px; }
.project-tab-mark .logo-technosylva+.project-brand-name { font-size: 15px; letter-spacing: -.02em; }
.project-tab-kind { font-size: 13px; line-height: 1.4; color: var(--muted); }
.project-tab .aviation-wordmark { font-size: 20px; }
.portfolio-stage { margin-top: 42px; }
.project-panel:focus-visible { outline-offset: 10px; }
.project-case-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.project-case-heading h3 { font-size: clamp(32px,3.4vw,48px); }
.project-case-heading>p { color: var(--muted); font-size: 14px; }
.project-summary { margin: 0 0 26px; font-size: 17px; color: var(--muted); }
.portfolio .scope-content { min-height: 185px; }
.portfolio .scope-tabs { gap: 20px; margin-bottom: 24px; }
.project-case-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: start; }
.project-brand-surface { grid-column: 1/8; min-height: 355px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; padding: 48px; border-radius: 32px 80px 32px 32px; background: linear-gradient(135deg,#fff9,#ffffff29),#c9d5bf; box-shadow: inset 0 2px 2px #fff,inset 0 -2px 2px #183a321c,0 22px 44px #183a3214; }
.project-brand-surface>img { width: 280px; height: auto; max-width: 80%; object-fit: contain; }
.project-brand-surface>.logo-technosylva { width: 175px; }
.project-brand-surface>.logo-blockfi { width: 160px; }
.project-brand-surface>.project-brand-name { font-size: clamp(36px,4vw,56px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; text-align: center; }
.project-brand-surface>.logo-technosylva+.project-brand-name { font-size: 30px; }
.project-case-copy { grid-column: 8/-1; }
.project-case-copy h4 { font-size: 28px; line-height: 1.25; margin-bottom: 18px; }
.project-case-copy>p { font-size: 16px; color: var(--muted); }
.project-facts { margin: 26px 0 0; }
.project-facts>div { padding-block: 12px; display: grid; grid-template-columns: 110px 1fr; gap: 20px; border-top: 1px solid var(--line); }
.project-facts dt { font-size: 14px; color: var(--muted); }
.project-facts dd { margin: 0; font-size: 14px; }
.portfolio-next { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; margin-top: 58px; padding-top: 30px; border-top: 1px solid var(--line); }
.portfolio-next h3 { grid-column: 1/8; font-size: 25px; }
.portfolio-next p { grid-column: 8/-1; color: var(--muted); font-size: 16px; }
html:not(.js) .portfolio-navigation,html:not(.js) .project-tabs { display: none; }
html:not(.js) .project-panel+.project-panel { margin-top: 72px; }
@media (hover:hover) and (pointer:fine) {
  .project-tab:hover .project-tab-mark { transform: translateY(-2px); }
  .project-tab:active .project-tab-mark { transform: scale(.98); transition-duration: 100ms; }
  .project-controls button:hover:not(:disabled) { transform: translateY(-2px); }
  .project-controls button:hover:active:not(:disabled) { transform: scale(.97); }
}
@media (max-width:1100px) and (min-width:761px) {
  .portfolio-heading h2,.project-brand-surface,.portfolio-next h3 { grid-column: 1/7; }
  .portfolio-heading>p,.project-case-copy,.portfolio-next p { grid-column: 7/-1; }
  .project-brand-surface { padding: 32px; min-height: 330px; }
  .project-case-copy h4 { font-size: 25px; }
  .project-facts>div { grid-template-columns: 85px 1fr; gap: 16px; }
}
@media (max-width:760px) {
  .portfolio { padding-block: 56px; }
  .portfolio-heading,.project-case-grid,.portfolio-next { grid-template-columns: 1fr; }
  .portfolio-heading h2,.portfolio-heading>p,.project-brand-surface,.project-case-copy,.portfolio-next h3,.portfolio-next p { grid-column: auto; }
  .portfolio-heading h2 { font-size: 36px; }
  .portfolio-heading>p { font-size: 16px; }
  .portfolio-navigation { flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .portfolio-hint { width: 100%; }
  .project-controls { width: 100%; }
  .project-count { margin-right: auto; }
  .project-tabs { padding: 12px; border-radius: 18px; }
  .project-tab { flex-basis: 168px; padding-inline: 14px; }
  .project-tab::after { left: 14px; right: 14px; }
  .portfolio-stage { margin-top: 30px; }
  .project-case-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 26px; }
  .project-case-heading h3 { font-size: 32px; }
  .project-case-heading>p { font-size: 13px; }
  .project-summary { font-size: 16px; margin-bottom: 24px; }
  .portfolio .scope-content { min-height: 0; }
  .portfolio .scope-tabs { gap: 22px; padding-inline: 14px; }
  .project-brand-surface { min-height: 235px; padding: 32px; border-radius: 24px 48px 24px 24px; }
  .project-brand-surface>.logo-technosylva { width: 125px; }
  .project-brand-surface>.logo-technosylva+.project-brand-name { font-size: 24px; }
  .project-case-copy h4 { font-size: 27px; }
  .project-facts>div { grid-template-columns: 92px 1fr; gap: 16px; }
  .portfolio-next { margin-top: 40px; gap: 18px; }
  .portfolio-next h3 { font-size: 24px; }
}
@media (max-width:360px) {
  .portfolio .scope-tabs { gap: 18px; padding-inline: 12px; }
  .portfolio-heading h2 { font-size: 34px; }
  .project-case-heading h3 { font-size: 30px; }
  .project-facts>div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion:reduce) {
  .project-tab::after,.project-tab-mark,.project-controls button { transition: none; }
}
@media (prefers-reduced-transparency:reduce) {
  .project-tabs { background: var(--bone); }
  .project-brand-surface { background: #d4ddcc; }
}
@media print {
  .portfolio-navigation,.project-tabs { display: none; }
  .project-panel[hidden] { display: block !important; }
  .project-panel { margin-top: 40px; break-inside: avoid; }
}

/* V6: a compact project selector and product-specific explanatory diagrams. */
.project-tab { min-height: 80px; justify-content: center; gap: 0; padding-block: 14px 18px; }
.project-tab-kind { display: none; }
.feature-explorer { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: start; }
.feature-visuals { grid-column: 1/8; padding: 32px; border-radius: 32px 80px 32px 32px; background: linear-gradient(135deg,#fff9,#ffffff29),#c9d5bf; box-shadow: inset 0 2px 2px #fff,inset 0 -2px 2px #183a321c,0 22px 44px #183a3214; }
.feature-scene { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 300px; margin: 0; }
.scene-title { font-size: 14px; color: var(--muted); }
.feature-scene figcaption { font-size: 13px; color: var(--muted); line-height: 1.5; }
.feature-copy { grid-column: 8/-1; min-width: 0; }
.feature-copy .project-summary { font-size: 16px; }
.feature-tabs { display: flex; gap: 24px; padding-inline: 18px; margin-bottom: 26px; border-radius: 16px; background: linear-gradient(120deg,#ffffffb3,#ffffff40); box-shadow: inset 0 1px 1px #fff,0 7px 18px #183a3209; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--sage) transparent; }
.feature-tabs button { background: transparent; white-space: nowrap; min-height: 56px; padding: 16px 0; font-size: 14px; color: var(--muted); position: relative; }
.feature-tabs button::after { content: ''; position: absolute; inset: auto 0 7px; height: 2px; background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease-out); }
.feature-tabs button[aria-selected='true'] { color: var(--forest); }
.feature-tabs button[aria-selected='true']::after { transform: scaleX(1); }
.feature-tabs button:focus-visible { outline-offset: -3px; }
.feature-content { min-height: 238px; }
.feature-panel h4 { font-size: 28px; line-height: 1.22; margin-bottom: 18px; }
.feature-panel>p { font-size: 16px; color: var(--muted); line-height: 1.75; }
.source-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; margin-top: 14px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.diagram-icon { width: 34px; height: 38px; flex-shrink: 0; }
.diagram-flow { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; width: 100%; }
.diagram-step { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-height: 155px; padding: 24px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); position: relative; }
.diagram-step:last-child { background: var(--lime); }
.diagram-step:not(:last-child)::after { content: ''; position: absolute; height: 1px; width: 24px; background: var(--muted); left: 100%; top: 50%; }
.diagram-step>span { font-size: 14px; line-height: 1.4; text-align: center; }
.diagram-branch { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: center; width: 100%; }
.diagram-inputs,.diagram-outputs { display: grid; gap: 14px; position: relative; }
.diagram-inputs>span,.diagram-outputs>span { min-height: 50px; display: flex; align-items: center; justify-content: center; padding: 12px 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: 14px; }
.diagram-inputs::after,.diagram-outputs::before { content: ''; position: absolute; top: 50%; width: 24px; height: 1px; background: var(--muted); }
.diagram-inputs::after { left: 100%; }
.diagram-outputs::before { right: 100%; }
.diagram-hub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 8px; min-height: 126px; border-radius: 24px; background: var(--forest); color: var(--paper); font-size: 14px; }
.diagram-paper { width: min(100%,330px); align-self: center; padding: 24px; background: var(--paper); box-shadow: 0 9px 18px #183a3214; border-radius: 6px; }
.paper-title { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.paper-title strong { font-size: 19px; font-weight: 500; line-height: 1.3; }
.paper-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; font-size: 14px; }
.paper-row i { width: 20px; height: 2px; background: var(--sage); flex-shrink: 0; }
.territory-diagram,.aircraft-diagram { width: 100%; max-height: 248px; color: var(--forest); }
html:not(.js) .feature-tabs { display: none; }
html:not(.js) .feature-scene+.feature-scene { margin-top: 50px; }
html:not(.js) .feature-panel+.feature-panel { margin-top: 38px; }
@media (hover:hover) and (pointer:fine) { .feature-tabs button:hover { color: var(--forest); } .source-link:hover { text-decoration-thickness: 2px; } }
@media (min-width:761px) and (max-width:1100px) {
  .feature-visuals { grid-column: 1/7; padding: 24px; }
  .feature-copy { grid-column: 7/-1; }
  .feature-tabs { gap: 18px; padding-inline: 14px; }
  .feature-tabs button { font-size: 13px; }
  .feature-panel h4 { font-size: 25px; }
  .diagram-flow { gap: 12px; }
  .diagram-step { padding-inline: 5px; }
  .diagram-step>span { font-size: 13px; overflow-wrap: anywhere; }
  .diagram-step:not(:last-child)::after { width: 12px; }
  .diagram-branch { gap: 10px; }
  .diagram-inputs::after,.diagram-outputs::before { width: 10px; }
  .diagram-inputs>span,.diagram-outputs>span,.diagram-hub { font-size: 13px; }
}
@media (max-width:760px) {
  .project-tab { min-height: 78px; }
  .feature-explorer { grid-template-columns: 1fr; gap: 30px; }
  .feature-visuals,.feature-copy { grid-column: auto; }
  .feature-visuals { padding: 24px; border-radius: 24px 48px 24px 24px; }
  .feature-scene { min-height: 310px; gap: 22px; }
  .feature-tabs { padding-inline: 14px; gap: 22px; }
  .feature-tabs button { font-size: 14px; }
  .feature-content { min-height: 0; }
  .feature-panel h4 { font-size: 27px; }
  .diagram-flow { flex-direction: column; gap: 14px; }
  .diagram-step { flex-direction: row; min-height: 62px; padding: 12px 18px; gap: 18px; justify-content: flex-start; }
  .diagram-step .diagram-icon { width: 24px; height: 28px; }
  .diagram-step:not(:last-child)::after { height: 14px; width: 1px; left: 50%; top: 100%; }
  .diagram-branch { gap: 10px; }
  .diagram-inputs::after,.diagram-outputs::before { width: 10px; }
  .diagram-inputs>span,.diagram-outputs>span { padding-inline: 4px; font-size: 13px; }
  .diagram-hub { padding-inline: 6px; font-size: 13px; }
  .diagram-paper { padding: 22px; }
  .paper-title strong { font-size: 18px; }
}
@media (max-width:360px) {
  .feature-tabs { gap: 18px; padding-inline: 12px; }
  .feature-tabs button { font-size: 13px; }
  .feature-visuals { padding: 20px; }
  .diagram-branch { gap: 8px; }
  .diagram-inputs::after,.diagram-outputs::before { width: 8px; }
}
@media (prefers-reduced-transparency:reduce) { .feature-visuals { background: #d4ddcc; } .feature-tabs { background: var(--bone); } }
@media (prefers-reduced-motion:reduce) { .feature-tabs button::after { transition: none; } }
@media print { .feature-tabs { display: none; } .feature-scene[hidden],.feature-panel[hidden] { display: block !important; } .feature-scene,.feature-panel { margin-top: 24px; } }
@media (max-width:760px) {
  .hero-description br { display: none; }
  .product-explorer .scope { display: contents; }
  .product-explorer .project-summary { grid-row: 1; margin-bottom: 0; }
  .product-explorer .scope-tabs { grid-row: 2; margin-bottom: 0; }
  .product-explorer .diagram-wrap { grid-row: 3; }
  .product-explorer .scope-content { grid-row: 4; min-height: 0; }
  .feature-copy { display: contents; }
  .feature-copy .project-summary { grid-row: 1; margin-bottom: 0; }
  .feature-tabs { grid-row: 2; margin-bottom: 0; }
  .feature-visuals { grid-row: 3; }
  .feature-content { grid-row: 4; }
}
