@font-face{font-family:'Abhaya Libre';src:url('assets/abhaya-libre-bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Libre Franklin';src:url('assets/libre-franklin.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{
  --cream:#e8ddc7;--forest:#2a4437;--berry:#8e4d5b;--sage:#9cb38c;
  --font-heading:'Abhaya Libre',Georgia,serif;
  --font-body:'Libre Franklin',Arial,sans-serif;
  --space-xs:.5rem;--space-sm:1rem;--space-md:1.5rem;--space-lg:3rem;--space-xl:6rem;
  --page-inset:clamp(1.5rem,4.2vw,6rem);--page-width:112rem;
  color:var(--forest);background:var(--cream);font-family:var(--font-body);font-synthesis:none;
}
*{box-sizing:border-box}
/* Scene measurement already owns layout offsets; browser anchoring must not add a second scroll jump. */
html{scroll-behavior:smooth;scroll-padding-top:1.5rem;overflow-anchor:none}
body{margin:0;font-size:1rem;line-height:1.7}
a{color:inherit;text-underline-offset:.22em}
button{font:inherit;color:inherit;cursor:pointer}
a,button{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:3px solid var(--berry);outline-offset:5px}
img,video{display:block;max-width:100%}
button[hidden],[hidden]{display:none!important}
h1,h2,h3,p{margin:0}
h1,h2{font-family:var(--font-heading);font-weight:700;text-wrap:balance}
p{text-wrap:pretty}
.skip-link{position:absolute;left:1rem;top:0;transform:translateY(-150%);padding:.75rem 1rem;background:var(--forest);color:var(--cream);z-index:10}
.skip-link:focus{transform:translateY(0)}
.site-header{height:5rem;max-width:var(--page-width);margin:auto;padding:0 var(--page-inset);display:flex;align-items:center;justify-content:space-between}
.header-brand{display:flex;align-items:center;min-height:44px}
.header-brand img{width:88px;height:auto}
.header-contact{font-size:.875rem;font-weight:500;text-decoration:none;min-height:44px;display:inline-flex;gap:1rem;align-items:center}
.header-contact:hover{text-decoration:underline}
.scene-track{position:relative}
.scene-panel{min-height:100svh;padding:clamp(3rem,7svh,7rem) var(--page-inset);overflow:clip}
.scene-track.is-pinned{height:calc(var(--scene-height) + var(--scene-run))}
.is-pinned>.scene-panel{position:sticky;top:var(--scene-pin-top,0px)}
.hero-panel{min-height:0;height:calc(100svh - 5rem);padding:0 var(--page-inset);overflow:clip}
.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) min(30vw,43svh,29rem);grid-template-rows:1fr 1fr;grid-template-areas:'title film' 'logo film';gap:clamp(1rem,3svh,3rem) clamp(1.5rem,4vw,4rem);height:100%;max-width:76rem;margin:auto;align-items:center;transform-origin:center center}
h1{font-size:clamp(2.5rem,min(7.2vw,10svh),6rem);line-height:1.04;letter-spacing:-.025em}
#hero-title{grid-area:title;align-self:center}
h1 span{display:block;white-space:nowrap}
h1 span+span{margin-top:.28em}
.hero-logo{grid-area:logo;width:min(28vw,28rem,47svh);height:auto;max-height:28svh;object-fit:contain;object-position:left center}
.hero-film{grid-area:film;position:relative;min-width:0;height:100%;background:var(--sage);overflow:hidden}
.hero-film video{height:100%;width:100%;object-fit:cover;object-position:65% center}
.video-toggle{position:absolute;right:.75rem;bottom:.75rem;border:0;background:var(--cream);color:var(--forest);padding:.55rem .8rem;min-width:44px;min-height:44px;display:flex;align-items:center;gap:.45rem;font-size:.75rem;border-radius:2rem}
.video-toggle:hover{background:var(--forest);color:var(--cream)}
.video-symbol{font-size:1.1rem;line-height:1}
.video-status,.video-noscript{position:absolute;inset:auto .75rem 4.5rem;background:var(--cream);padding:.75rem;font-size:.75rem;line-height:1.5}
.content-section{max-width:48rem;padding-left:var(--space-md);padding-right:var(--space-md);margin-left:auto;margin-right:auto;text-align:center}
h2{font-size:clamp(2.5rem,4vw,4rem);line-height:1.1;letter-spacing:-.015em}
/* One quiet composition: purpose, explanation, then the values that guide it. */
.mission-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:clamp(2rem,5svh,3.5rem);text-align:center;max-width:86rem;margin:auto}
.mission-heading{display:flex;flex-direction:column;align-items:center;gap:.75rem;max-width:100%}
.mission-heading h2{font-size:clamp(2.75rem,4.8vw,4.75rem);line-height:1.05}
.mission-principle{font-family:var(--font-heading);font-size:clamp(1.35rem,2.3vw,2rem);line-height:1.3;text-wrap:balance}
.mission-copy{max-width:56rem;font-size:clamp(1.125rem,1.6vw,1.5rem);line-height:1.85}
.mission-panel .mission-copy strong{color:var(--forest);font-weight:550;background:rgb(156 179 140 / .24);box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:.02em .08em;border-radius:2px}
.mission-values{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem clamp(1rem,3.5vw,3rem);max-width:100%;list-style:none;margin:0;padding:1.75rem 0 0}
.mission-values::before{content:"";position:absolute;top:0;left:50%;width:4rem;transform:translateX(-50%);border-top:1px solid rgb(42 68 55 / .3)}
.mission-values li{font-family:var(--font-heading);font-size:clamp(1.25rem,2.7vw,2.5rem);line-height:1.2}
.product-app{background:var(--forest);color:var(--cream)}
.product-panel{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-content:center;gap:clamp(2rem,5vw,5rem);max-width:86rem;margin:auto}
.product-heading h2{font-size:clamp(3rem,5vw,5.5rem)}
.product-heading h3{font-size:clamp(1.15rem,1.7vw,1.65rem);font-weight:500;line-height:1.5;margin-top:1.5rem;max-width:28ch;text-wrap:balance}
.product-copy{font-size:clamp(1rem,1.2vw,1.125rem);max-width:65ch;line-height:1.8;align-self:center;padding:clamp(1.25rem,2.8vw,2.75rem);border:1px solid rgb(42 68 55 / .3);border-radius:12px}
.scene-panel strong{font-weight:650;color:#834351}
.product-app .product-copy{border-color:rgb(232 221 199 / .3);background:rgb(232 221 199 / .035)}
.product-app strong{color:#adc69b}
.product-service strong{color:var(--cream);font-weight:750;text-decoration:underline;text-decoration-color:rgb(232 221 199 / .4);text-underline-offset:.2em}
.product-copy p+p{margin-top:1.5rem}
.product-app .development-note{margin-top:2.5rem}
.product-os .product-heading{align-self:center}
.product-os .product-copy{border-color:rgb(142 77 91 / .35);background:rgb(142 77 91 / .035)}
.product-os h2{color:var(--berry)}
.product-service{background:var(--berry);color:var(--cream)}
.service-panel{display:flex;flex-direction:column;justify-content:center;gap:3rem;max-width:80rem;margin:auto}
.service-panel .product-copy{align-self:flex-end;max-width:38rem;border-color:rgb(232 221 199 / .4);background:rgb(42 68 55 / .07);border-radius:0 12px 12px 12px}
.service-panel .product-heading{max-width:48rem}
.service-link{display:inline-flex;gap:2rem;align-items:center;min-height:44px;margin-top:2rem;font-weight:600}
.product-app :focus-visible,.product-service :focus-visible{outline-color:var(--cream)}
.development-note{font-size:.875rem;font-weight:500}
.contact{max-width:none;padding-top:4rem;padding-bottom:5rem;background:var(--sage)}
.contact h2{font-size:clamp(2.5rem,4vw,3.5rem)}
.contact p{margin-top:1.5rem}
.email-link{font-size:clamp(1.25rem,3vw,1.75rem);font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:1.5rem;padding:.75rem 0;margin-top:1.5rem;border-bottom:1px solid currentColor;line-height:1.4}
.email-link:hover{gap:2rem}
.site-footer{max-width:var(--page-width);margin:auto;padding:1.5rem var(--page-inset);display:flex;gap:1.5rem;justify-content:space-between;align-items:center;font-size:.875rem}
.site-footer>span{font-weight:700}
.footer-logo{width:88px;height:auto;flex-shrink:0}
.site-footer nav{display:flex;gap:1.5rem}
.site-footer nav a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none}
.site-footer nav a:hover{text-decoration:underline}
.legal-content{max-width:48rem;margin:3rem auto 5rem;padding:0 var(--space-md);overflow-wrap:anywhere}
.legal-content h1{font-size:clamp(2.5rem,7vw,4rem);margin-bottom:2rem}
.legal-content h2{font-size:1.75rem;line-height:1.25;margin:2.5rem 0 1rem;text-wrap:initial}
.legal-content p+p{margin-top:1rem}
.legal-content address{font-style:normal}
.legal-draft{border-left:3px solid var(--berry);padding:1rem;background:rgb(156 179 140 / .2);margin-bottom:2rem}
@media(max-width:1000px){.product-panel{grid-template-columns:1fr;gap:2.5rem}.product-heading h3{max-width:40ch}.product-copy{justify-self:end}.product-os .product-copy{max-width:65ch}}
@media(max-width:700px){
  .site-header{height:4.5rem}.header-brand img{width:74px}.header-contact{font-size:.8125rem}
  .hero-panel{height:calc(100svh - 4.5rem);padding-bottom:0}
  .hero-layout{grid-template-columns:minmax(0,1fr) 32%;gap:1rem;grid-template-rows:1fr 1fr}
  h1{font-size:clamp(2rem,min(7.3vw,9svh),3.2rem);line-height:1.06;letter-spacing:-.025em}
  h1 span+span{margin-top:.28em;white-space:normal;text-wrap:initial}
  .hero-logo{width:100%;max-height:28svh}
  .hero-film{height:100%;max-height:none}.hero-film video{position:absolute;inset:0}
  .video-toggle{right:.4rem;bottom:.5rem;padding:.5rem;gap:0}.video-toggle .video-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .video-status{left:.3rem;right:.3rem;font-size:.7rem;padding:.4rem}
  .mission-panel{gap:2rem}.mission-copy{font-size:1.0625rem;line-height:1.8}
  h2{font-size:2.5rem}.product-heading h2{font-size:clamp(2.5rem,9vw,3.5rem)}
  .contact{padding-top:3.5rem;padding-bottom:4rem}.contact h2{font-size:2.5rem}.desktop-break{display:none}
  .site-footer{align-items:flex-start;gap:.75rem;flex-direction:column;padding-top:1rem;padding-bottom:1rem}.site-footer nav{gap:1.5rem}
  .footer-logo{width:74px}
}
@media(max-width:359px){:root{--page-inset:1rem}.hero-layout{gap:.75rem;grid-template-columns:minmax(0,1fr) 30%}h1{font-size:2rem}}
@media(max-width:600px){
  .mission-panel{padding-block:2.5rem}
  .mission-values{column-gap:clamp(.75rem,3vw,1.125rem);padding-top:1.25rem}
  .mission-values li{font-size:clamp(1.125rem,4.8vw,1.625rem)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.scene-track.is-pinned{height:auto}.is-pinned>.scene-panel{position:static}.scene-panel *{transform:none!important;opacity:1!important;filter:none!important}}

/* Huitzi relief: a separate decorative plane, never a text/layout replacement. */
.scene-panel{position:relative;isolation:isolate}
.scene-emboss{position:absolute;inset:0;z-index:-1;pointer-events:none;user-select:none;overflow:clip}
.scene-emboss span{position:absolute;display:block}
.scene-emboss span::before{content:"";display:block;width:100%;height:100%;background:var(--emboss-image) center/contain no-repeat;opacity:var(--emboss-ink,.06);filter:drop-shadow(1px 1px 0 rgb(255 255 255 / .7)) drop-shadow(-1px -1px 0 rgb(0 0 0 / .3))}
.emboss-bird{width:clamp(20rem,36vw,35rem);aspect-ratio:1}
.emboss-word{width:clamp(16rem,31vw,30rem);aspect-ratio:549/153}
.hero-panel .emboss-bird{--emboss-image:url('assets/emboss-huitzi-duotone-2ee743df7371.svg');--emboss-ink:.045;left:38%;top:19%;width:min(22vw,34svh,21rem)}
.mission-panel .emboss-bird{--emboss-image:url('assets/emboss-huitzi-black-0886cc99eda8.svg');--emboss-ink:.032;right:var(--page-inset);bottom:clamp(1rem,3svh,2rem);width:min(30%,38svh,28rem)}

/* Fit the whole App bird inside its moving relief plane, including short viewports. */
.product-app .emboss-bird{--emboss-image:url('assets/emboss-huitzi-cream-5282a6e1a114.svg');--emboss-ink:.07;left:var(--page-inset);bottom:clamp(1rem,3svh,2rem);width:min(30%,42svh,28rem)}

.product-os .emboss-bird{--emboss-image:url('assets/emboss-huitzi-berry-2d851094ba09.svg');--emboss-ink:.075;left:var(--page-inset);bottom:clamp(1rem,3svh,2rem);width:min(30%,42svh,28rem)}

.product-service .emboss-bird{--emboss-image:url('assets/emboss-huitzi-forest-b71d08fb477e.svg');--emboss-ink:.12;left:var(--page-inset);bottom:clamp(1rem,3svh,2rem);width:min(30%,42svh,28rem)}
.product-service .emboss-word{--emboss-image:url('assets/emboss-word-white-46ab96b36729.png');--emboss-ink:.045;right:3%;top:8%}
@media(max-width:700px){
  .scene-emboss .emboss-bird{width:20rem}
  .scene-emboss .emboss-word{width:13rem}
  .hero-panel .emboss-bird{left:20%;top:30%;width:min(38vw,28svh,13rem)}
  .mission-panel .emboss-bird{width:min(65vw,38svh,20rem)}

  .product-app .emboss-bird{width:min(65vw,38svh,20rem)}

  .product-os .emboss-bird{width:min(65vw,38svh,20rem)}

  .product-service .emboss-bird{width:min(65vw,38svh,20rem)}
  .product-service .emboss-word{right:-8%;top:1%}
}

/* The original Hilde Guard paragraph closes the App scene before OS enters. */
.app-transition{grid-column:1/-1;justify-self:end;width:min(100%,65ch);padding:clamp(1.25rem,2.8vw,2.75rem);font-size:clamp(1rem,1.2vw,1.125rem);line-height:1.8;border:1px solid rgb(232 221 199 / .3);border-radius:12px;background:rgb(232 221 199 / .035);transform-origin:right center}
.app-transition::after{content:"";display:block;width:.65rem;height:.65rem;margin:1.25rem auto .25rem;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);opacity:var(--bridge-cue,.65)}

/* Keep the complete App reading composition in short/zoomed desktop viewports. */
@media(min-width:1001px) and (max-height:850px){
  .product-app .product-panel{padding-block:clamp(1rem,3svh,2rem);row-gap:clamp(1rem,3svh,2rem)}
  .product-app .product-copy,.app-transition{padding:clamp(1rem,3svh,2rem)}
}
