/* Engineering as a visual discipline: one grid, restrained surfaces, useful lines. */
:root{--paper:#0b0d0f;--white:#eeefeb;--ink:#eeefeb;--muted:#a4adaf;--line:#303638;--orange:#b2d4db;--dark:#101315;--sage:#121618;--blue:#b2d4db;--red:#d95748;--quiet:#8e9a9f;--panel:#14191c}
html,body{background:var(--paper)}
body{font-feature-settings:"palt";color:var(--ink)}
::selection{background:#b2d4db;color:#0b0d0f}
h2{font-weight:500;letter-spacing:-.045em;line-height:1.6}
h3{font-weight:500}
.site-header{height:84px;padding:0 4vw;border-color:#ffffff14;background:#0b0d0feb;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.brand-logo{filter:none;width:114px}
.brand-name{font-size:10px;color:#d6dad8}.brand-name small{color:#8c979a}
.desktop-nav{font-weight:400}.desktop-nav a{color:#bac2c3}.desktop-nav a:hover{color:#fff}
.header-contact{background:transparent;border-color:#667174;border-radius:0;color:#e1e6e4;font-weight:400;padding:11px 16px}
.header-contact:hover{background:#20282b;border-color:#b2d4db}.header-contact span{color:#b2d4db}
.language-switch{border:0;background:transparent;padding:0;gap:0;border-radius:0}
.language-switch a{border-radius:0;color:#8e999e;font-weight:400;padding:6px 8px}
.language-switch a+a{border-left:1px solid #41484b}
.language-switch a[aria-current=page]{background:transparent;color:#e4eceb;box-shadow:none;text-decoration:underline;text-decoration-color:#829ca3;text-underline-offset:7px}
.language-switch a:hover{background:transparent;color:#fff}
.mobile-nav{background:#101416;border-color:var(--line);box-shadow:0 20px 35px #0004}.mobile-nav a{color:#d2dada;border-color:var(--line)}
.button{border-radius:0;font-weight:500;box-shadow:none;min-height:54px}
.button-dark{background:#dfe8e7;color:#111719;border-color:#dfe8e7;box-shadow:none}
.button-dark:hover{background:#fff;border-color:#fff;box-shadow:none;transform:none}
.text-link{color:#d5e0e1;border-color:#596669;font-weight:400}
.text-link:hover{color:#fff;border-color:#d6e6e8}
.section-pad{padding-top:100px;padding-bottom:100px}
.section-kicker{color:#9eaaad;border-color:#394244;letter-spacing:.13em}
.section-kicker>span:last-child{color:#a9b1b2}
.eyebrow{font-weight:400;letter-spacing:.14em;color:#9aadb2}
.hero{min-height:750px;height:calc(100svh - 84px);max-height:920px;padding-top:30px;background:radial-gradient(ellipse at 76% 46%,#18212780,transparent 54%),#0b0d0f}
.hero-topline{font-size:8px;letter-spacing:.12em;color:#909c9f}
.signal-dot{width:4px;height:4px;background:#d95748;box-shadow:none}
.hero-copy,html[lang=en] .hero-copy{padding-top:135px;width:47%}
.hero-copy .eyebrow,html[lang=en] .hero-copy .eyebrow{font-size:10px;font-weight:400;letter-spacing:.15em;color:#b3cdd2;margin-bottom:30px}
.hero h1{font-size:clamp(48px,5vw,76px);font-weight:550;line-height:1.48;letter-spacing:-.055em;text-shadow:none}
.hero-ai-word{color:#c7e0e5}.period{color:#b4cfd4}
.hero-lead{font-size:13px;line-height:2.2;color:#aebabc;margin-top:32px;letter-spacing:.025em}
.hero-actions{gap:28px;margin-top:35px}.hero-actions .button{font-size:11px;padding:16px 20px;gap:25px}.hero-actions .text-link{font-size:10px}
.hero-art{top:48px;right:-.8%;width:59%;height:82%;isolation:isolate}
.hero-art:before{display:none}
.art-caption{top:44px;right:14%;font-size:8px;color:#889a9f;letter-spacing:.12em;line-height:1.9}
#shape-caption{color:#bbcbd0}
#scan-credit{font-size:7px;color:#82969c;margin-top:5px;letter-spacing:.05em}
#scan-credit:hover{color:#ecf8fb}
.art-controls{bottom:25px;left:29%;right:28%;gap:15px;border:0;border-bottom:1px solid #49565b;background:transparent;box-shadow:none;border-radius:0;padding:0;backdrop-filter:none}
.art-controls button{padding:12px 2px 11px;font-size:10px;letter-spacing:.12em;color:#8d9ea4;border-radius:0;position:relative;min-height:44px}
.art-controls button small{display:none}
.art-controls button:hover{background:transparent;color:#e6f0f2}
.art-controls button.active{background:transparent;color:#e5f1f3;box-shadow:none}
.art-controls button.active:after{content:"";position:absolute;height:2px;background:#c2dce2;bottom:-1px;left:0;right:0}
.stage-caption{bottom:-6px;left:16%;right:16%;font-size:9px;color:#8a9ca3;letter-spacing:.025em}
.motion-toggle{right:20%;bottom:26px;width:42px;height:42px;background:transparent;border-color:#455357;color:#c0d2d6;font-size:11px}
.motion-toggle:hover{background:#ffffff08;border-color:#b2cbd1}
.hero-bottom{bottom:28px;padding-top:20px;border-color:#3b44464d;font-size:10px;color:#b2bdbf}
.hero-bottom b,.scroll-cue{font-size:8px;color:#87979c;letter-spacing:.1em}.hero-bottom b{font-weight:400}.scroll-cue>span{color:#a1b9bf}
html[lang=en] .hero h1{font-size:clamp(48px,5.2vw,78px);line-height:1.13;font-weight:500;letter-spacing:-.045em}
html[lang=en] .hero-lead{font-size:13px;line-height:2.1;margin-top:30px}
html[lang=en] .hero-actions{margin-top:32px}

/* A short statement of taste, then the evidence of the work. */
.engineering-sense{display:grid;grid-template-columns:1fr 1fr;gap:12%;align-items:center;background:#111619;border-top:1px solid #30383b;padding-top:110px;padding-bottom:110px}
.sense-heading .eyebrow{font-size:9px;color:#91a8ae;margin-bottom:30px}
.sense-heading h2{font-size:clamp(32px,3.2vw,47px);line-height:1.65;font-weight:450;letter-spacing:-.035em}
.sense-heading h2 span{color:#b8cdd2;display:inline-block}
.sense-heading .text-link{font-size:11px;margin-top:32px;gap:30px}
.sense-body p{font-size:13px;line-height:2.25;color:#9fadb1}
.sense-body .sense-intro{font-size:16px;line-height:2.1;color:#d9e0e0;margin-bottom:25px}
.sense-signature{display:flex;align-items:center;gap:18px;margin-top:35px;color:#82999f;font:8px var(--mono);letter-spacing:.11em}
.sense-signature i{height:1px;width:30px;background:#465c62}
html[lang=en] .sense-heading h2{font-size:clamp(32px,3.5vw,49px);line-height:1.35;letter-spacing:-.035em}
html[lang=en] .sense-body p br{display:none}
html[lang=en] .sense-body p{max-width:470px;line-height:2}
html[lang=en] .sense-body .sense-intro{line-height:1.9}

.intro,.ai-section,.story-section,.systems-section,.lab-section,.possibilities,.company-section,.contact-section{background:#0b0d0f;border-color:#30383b}
.intro{border-top:0}.intro-heading h2{font-weight:500}.intro-heading p{color:#a8b4b7}
.intro .section-kicker,.ai-section .section-kicker,.lab-section .section-kicker{border-color:#394244;color:#9eaaad}
.discipline-line,.discipline-line a,.discipline-line a+a{border-color:#3b4649}
.discipline-line strong{font-weight:500}.discipline-line small,.discipline-line a>span{color:#8f9ea3}.discipline-line b{color:#b3cbd1}
.ai-section{background:#101416}.ai-header .eyebrow{color:#a7c4cc}.ai-header p:not(.eyebrow){color:#adbbbf}
.live-tag,.new-tag{background:transparent;border-radius:0;border-color:#53666c;color:#bbd0d6}
.ai-workspace{border-radius:0;border-width:1px 0;border-color:#47575c;background:transparent}
.ai-tabs,.ai-tabs button{border-color:#3a474c}.ai-tabs button{color:#a6b5ba}
.ai-tabs button:hover{background:#1b2529;color:#e2edef}.ai-tabs button[aria-selected=true]{background:#202d32;color:#e4f0f2}
.ai-tabs button[aria-selected=true]:before{background:#b6d3db;box-shadow:none;height:1px}
.status-label{color:#a5c4ce}.status-label:before{background:#b2cbd3;box-shadow:none}
.ai-panel h3{font-weight:500}.ai-panel-copy p{color:#a9b9be}
.ai-diagram{background:#111a1e;border-color:#3a474c;background-image:none}
.diagram-label{color:#8ca4ae}.input-pills span{border-radius:0;border-color:#526b76;color:#c5d6db;background:transparent}
.diagram-lines i,.diagram-lines:before,.diagram-output i{background:#7996a2}
.processor{background:#1b2c34;border-color:#94b3bf;box-shadow:0 0 0 8px #111a1e,0 0 0 9px #405b67}
.processor strong{color:#d4e4e9;text-shadow:none}.processor small,.processor>span:last-child{color:#a7c0ca}.processor-corner{background:#c2dbe2}
.diagram-output>span{border-radius:0;background:transparent;border-color:#4d6b77;color:#b9ced6}
.compute-infrastructure,.rack-showcase,.infra-footer{border-color:#39484e}
.infra-heading h3,.rack-heading h4{font-weight:450}.infra-heading .eyebrow,.rack-heading .eyebrow{color:#aac6ce}
.infra-heading>p,.rack-heading>p,.infra-footer>p{color:#a8b9bf}
.gpu-node,.mac-cluster,.storage-node,.aux-gpu-node{background:#151e23;border-color:#3d5059;border-radius:0;box-shadow:none}
.gpu-node{background:#172229}.gpu-chips i{background:#2a414c;border-color:#79949e;box-shadow:inset 0 0 0 3px #172229}
.gpu-model,.infra-diagram-note,.mac-cluster>p,.aux-gpu-node p{color:#99b0b9}
.gpu-node h4,.mac-cluster h4,.aux-gpu-node h4{color:#e1ebee}.gpu-node h4 small,.storage-node>strong,.mac-capacity{color:#b9d5e0}
.storage-node h4{color:#ccdfe5}.storage-node{background:#192830}.fabric-links,.fabric-links>div,.fabric-label:before{background-color:#7295a5;border-color:#7295a5}
.fabric-links{background-color:transparent}.fabric-links>div>span{background:#192a33;border-radius:0;border-color:#50717f;color:#c5e0e9}.fabric-label{color:#a8c6d2}
.mac-nodes>span{background:linear-gradient(160deg,#697c86,#2b3e48);border-color:#859ca8;box-shadow:0 5px 0 #0d161c,0 6px 0 #526874}
.aux-gpu-chips i{background:#3a5460;box-shadow:inset 0 0 0 5px #172229;border-color:#94b0bd}
.rack-figure{border:1px solid #3b4a51;border-radius:0;background:#121c22}
.rack-note{border-radius:0;background:transparent;border:0;border-top:1px solid #3a4c56;padding-left:0;padding-right:0}
.rack-note:hover{background:#1b2c34;border-color:#94bdcb}.rack-note.is-active{background:#213641;border-color:#b1ced8;padding-left:16px;padding-right:16px}
.rack-legend{gap:0}.rack-spec{color:#bad7e1}.rack-position,.rack-detail{color:#9eb7c2}.rack-note-body>strong{font-weight:400}
.rack-pin.is-active{background:#c4dce5;color:#16232b;box-shadow:0 0 0 4px #c4dce51f,0 2px 12px #0006}
.rack-region{border-color:#c6e0eb;box-shadow:0 0 0 1px #09253377;background:#c6e0eb08}
.story-heading p,.timeline p,.systems-title>p:last-child,.systems-list p,.lab-heading p,.lab-card p,.company-intro,.section-description,.contact-copy>p:not(.eyebrow){color:#a9b6ba}
.timeline-number{color:#c3d0d4;font-weight:400}.timeline-label,.timeline-aside{color:#8fa2aa}.timeline h3{font-weight:500}
.timeline .timeline-now{background:#151f24;border-radius:0;border-width:1px 0;border-color:#435861}.timeline-now .timeline-number{color:#bfdbe5}
.circle-link{background:transparent;border-color:#718f9d;color:#c3dce6}.circle-link:hover{background:#c3dce6;color:#13212a;border-color:#c3dce6}
.archive-photo{border-radius:0;background:#1b252b;border-color:#43545d}.archive-photo img{border-radius:0}
.systems-section,.lab-section,.company-section{background:#11171a}
.systems-list h3{font-weight:500}.systems-list article{border-color:#39474e}
.lab-card{border-radius:0;border-width:0 0 1px;background:transparent;border-color:#44565f}
.lab-card:hover{transform:none;border-color:#b8d3df}
.lab-grid{gap:26px}.lab-visual,.additive,.electronics{background:#192329;border-color:#3b4c54}
.lab-visual svg{filter:saturate(.28)}.lab-card-body{padding-left:0;padding-right:0}.lab-card h3{font-weight:500}
.equipment{border-color:#364b56}.equipment strong{color:#c3d6e0}
.possibility-grid>a{border-radius:0;border-color:#506570}.possibility-grid>a:hover{background:#19272f}.possibility-grid h3{font-weight:500}
.process{background:transparent;border-radius:0;border-width:1px 0;border-color:#405760;padding-left:0;padding-right:0}.process strong{font-weight:400}
.company-data>div,.company-data>div:last-child{border-color:#3d4c53}.company-data dt{color:#98afb9}.company-data dd{color:#d4e2e8}
.contact-section{background:#152127;border-color:#465d68}.contact-copy h2{font-weight:450}.contact-copy .eyebrow{color:#a6c9d8}
.contact-mail{color:#d4e6ed;border-color:#647f8c;font-weight:400}
.contact-form select,.contact-form input,.contact-form textarea{border-radius:0;background:#101a20;border-color:#4b646f;color:#e2edf2}
.contact-form select:focus,.contact-form input:focus,.contact-form textarea:focus{border-color:#bedbe8;box-shadow:none}
.contact-form h3{font-weight:500}.contact-form .button{background:#dbe8ee;border-color:#dbe8ee;color:#142129}
.site-footer{background:#0b0d0f;border-color:#39474e}.back-top{border-radius:0;background:transparent;border-color:#566b75;color:#c9e0eb}

/* The development archive follows the same visual grammar. */
.works-hero,.selected-heading,.case-section{background:#0b0d0f}.engineering-section,.case-alternate{background:#11181d;border-color:#35444c}
.archive-signal,.case-visual{border-radius:0;background:#152129;border-color:#425b68}
.signal-rail:before{background:#799dab}.signal-rail>div:before{background:#c2dce6;box-shadow:none}
.works-index{background:#17242b;border-color:#435b66}.works-index a+a{border-color:#435b66}
.tech-tags>span{border-radius:0;background:transparent;border-color:#587481}
.works-page h1,.works-page h2,.works-page h3{font-weight:500}

@media(min-width:1600px){.hero-copy,html[lang=en] .hero-copy{padding-top:155px}.hero-art{right:1%;width:57%}.hero h1{font-size:80px}}
@media(max-width:1150px) and (min-width:851px){.hero-copy,html[lang=en] .hero-copy{padding-top:130px;width:50%}.hero h1{font-size:54px}.hero-art{right:-7%;width:62%}.art-caption{right:24%}.art-controls{left:25%;right:31%}.motion-toggle{right:22%}.hero-actions{gap:20px}.hero-actions .button{font-size:10px;padding:14px 15px;gap:15px}.hero-actions .text-link{font-size:9px}.hero-lead{font-size:12px!important}.hero-bottom b{display:none}}
@media(max-width:850px){.site-header{height:72px;padding:0 25px}.header-contact{margin-left:auto}.hero,html[lang=en] .hero{display:flex;flex-direction:column;min-height:0;height:auto;max-height:none;padding:28px 30px 0;background:radial-gradient(ellipse at 66% 68%,#18212780,transparent 54%),#0b0d0f}.hero-copy,html[lang=en] .hero-copy{padding-top:55px;width:100%}.hero h1{font-size:60px;line-height:1.5}.hero-lead{font-size:13px!important;margin-top:25px}.hero-actions{margin-top:28px}.hero-art,html[lang=en] .hero-art{position:relative;inset:auto;width:100%;height:550px;flex-shrink:0;margin:12px auto 40px}.art-caption{right:9%;top:45px}.art-controls{left:30%;right:29%;bottom:35px}.stage-caption{bottom:5px}.motion-toggle{right:18%;bottom:36px}.hero-bottom{position:relative;inset:auto;padding:20px 0 23px}.hero-bottom b{display:none}.engineering-sense{gap:7%;padding-top:80px;padding-bottom:80px}.sense-heading h2{font-size:32px}.sense-body .sense-intro{font-size:14px}.sense-body p{font-size:12px}.sense-signature{gap:10px;font-size:7px;letter-spacing:.04em}.sense-signature i{width:18px}.section-pad{padding-top:75px;padding-bottom:75px}.lab-grid{gap:16px}.hero-copy .eyebrow,html[lang=en] .hero-copy .eyebrow{margin-bottom:24px}html[lang=en] .hero h1{font-size:66px;line-height:1.12}html[lang=en] .hero-lead{margin-top:26px}}
@media(max-width:600px){.site-header{height:68px;padding:0 18px}.header-contact{border:0;padding:5px;background:transparent}.hero,html[lang=en] .hero{padding:23px 22px 0}.hero-topline{font-size:6px;letter-spacing:.08em}.hero-copy,html[lang=en] .hero-copy{padding-top:48px}.hero h1{font-size:clamp(35px,9.6vw,55px);line-height:1.5;font-weight:550;letter-spacing:-.045em}.hero-copy .eyebrow,html[lang=en] .hero-copy .eyebrow{font-size:8px;letter-spacing:.10em;margin-bottom:23px}.hero-lead{font-size:11px!important;line-height:2.1;margin-top:24px}.hero-actions,html[lang=en] .hero-actions{gap:18px;margin-top:28px}.hero-actions .button{font-size:10px;padding:14px 15px;gap:18px;min-height:48px}.hero-actions .text-link{font-size:9px;gap:12px}.hero-art,html[lang=en] .hero-art{width:calc(100% + 28px);margin:10px -14px 29px;height:405px}.art-caption{top:19px;right:11%;font-size:6px;letter-spacing:.08em}#scan-credit{font-size:6px;margin-top:3px}.art-controls{left:25%;right:25%;bottom:18px;gap:14px;padding:0}.art-controls button{font-size:8px;min-height:44px;padding:12px 1px}.motion-toggle{right:8%;bottom:19px;width:40px;height:40px}.stage-caption{bottom:-10px;left:14%;right:14%;font-size:8px}.hero-bottom{padding:17px 0 22px;gap:15px}.hero-bottom>span:last-child{font-size:8px}.scroll-cue{font-size:6px;gap:13px}.section-pad{padding:64px 22px}.section-kicker{margin-bottom:34px}.engineering-sense{display:block;padding-top:67px;padding-bottom:66px}.sense-heading .eyebrow{font-size:8px;margin-bottom:25px}.sense-heading h2{font-size:32px;font-weight:450;line-height:1.65;letter-spacing:-.02em}.sense-heading .text-link{font-size:10px;margin-top:26px}.sense-body{margin-top:40px}.sense-body .sense-intro{font-size:13px;line-height:2.2;margin-bottom:22px}.sense-body p{font-size:11px;line-height:2.2}.sense-signature{margin-top:28px;gap:16px;font-size:8px}.sense-signature i{width:25px}.lab-grid{gap:30px}.lab-card-body{padding:23px 0 0}.lab-visual{height:240px}.contact-form{border-color:#466271}.process{padding-top:24px;padding-bottom:24px}html[lang=en] .hero h1{font-size:clamp(43px,11.7vw,62px);line-height:1.1;font-weight:500}html[lang=en] .hero-lead{font-size:11px;line-height:2;margin-top:23px}html[lang=en] .sense-heading h2{font-size:35px;line-height:1.35}html[lang=en] .sense-body .sense-intro{font-size:15px;line-height:1.85}html[lang=en] .sense-body p{font-size:12px;line-height:1.95}.rack-note:hover{background:transparent}.rack-note.is-active{background:#213641}.contact-copy h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.lab-card,.button,.art-controls button,.rack-note{transition:none}}

/* Make engineering beauty understandable through concrete, parallel examples. */
.engineering-sense{align-items:start;column-gap:10%;row-gap:50px}
.sense-body .sense-intro{font-size:17px;line-height:2.05;max-width:29em;margin-bottom:22px}
.sense-body>p:last-child{font-size:14px;line-height:2.15}
.sense-examples{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px}
.sense-examples article{padding-top:23px;border-top:1px solid #46565c}
.sense-examples .sense-label{font:8px var(--mono);letter-spacing:.12em;color:#8ca8b0;margin-bottom:18px}
.sense-examples h3{font-size:20px;font-weight:450;letter-spacing:-.025em;line-height:1.6;margin-bottom:16px;text-wrap:balance}
.sense-examples article>p:last-child{font-size:14px;line-height:2.05;color:#adbcc1}
.sense-closing{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:start;border-top:1px solid #35474f;padding-top:32px}
.sense-closing h3{font-size:24px;font-weight:450;line-height:1.7;letter-spacing:-.03em;color:#c6dbe3}
.sense-closing p{font-size:14px;line-height:2.05;color:#acbec5;max-width:39em}
html[lang=en] .sense-examples h3{font-size:22px;line-height:1.4;text-wrap:balance}
html[lang=en] .sense-examples article>p:last-child{line-height:1.95}
html[lang=en] .sense-closing h3{font-size:26px;line-height:1.45;max-width:17em}
html[lang=en] .sense-closing p{line-height:1.95}
@media(max-width:850px){.engineering-sense{column-gap:7%;row-gap:40px}.sense-examples{gap:24px}.sense-examples h3{font-size:18px}.sense-examples article>p:last-child{font-size:13px}.sense-body .sense-intro{font-size:15px}.sense-closing{gap:7%;padding-top:27px}.sense-closing h3{font-size:22px}.sense-closing p{font-size:13px}html[lang=en] .sense-examples h3{font-size:20px}}
@media(max-width:600px){.sense-body .sense-intro{font-size:15px;line-height:2.1}.sense-body>p:last-child{font-size:13px;line-height:2.1}.sense-examples{display:block;margin-top:38px}.sense-examples article{padding-top:23px;margin-top:28px}.sense-examples h3{font-size:20px;margin-bottom:14px}.sense-examples .sense-label{margin-bottom:15px}.sense-examples article>p:last-child{font-size:13px;line-height:2.1}.sense-closing{display:block;margin-top:35px;padding-top:27px}.sense-closing h3{font-size:23px}.sense-closing p{font-size:13px;line-height:2.1;margin-top:17px}html[lang=en] .sense-examples h3{font-size:23px;line-height:1.4}html[lang=en] .sense-closing h3{font-size:25px}}

.sense-examples .sense-equation{font-family:Georgia,"Times New Roman",serif;font-size:23px;line-height:1.5;letter-spacing:.015em;color:#c4dce5;margin:0 0 17px;white-space:nowrap}
@media(min-width:601px) and (max-width:850px){.sense-examples .sense-equation{font-size:18px}}

/* Keep the complete finite Fourier sum on one continuous, readable line. */
.sense-examples .trig-equation{display:flex;flex-flow:row nowrap;align-items:center;gap:5px;font-size:clamp(16px,1.5vw,21px);line-height:1.25;letter-spacing:0;margin:19px 0 22px}
.trig-equation>span{flex-shrink:0}
.trig-equation i{font-style:italic}.trig-equation sub{font-size:.62em;line-height:0}
.trig-lead{display:flex;align-items:center;gap:3px}
.trig-fraction{display:inline-flex;flex-direction:column;align-items:center;font-size:.83em;line-height:1.15;margin:0 3px}
.trig-fraction>span:first-child{border-bottom:1px solid currentColor;padding:0 3px 3px}.trig-fraction>span:last-child{padding-top:3px}
.trig-series{display:flex;align-items:center;gap:8px}.trig-sum{display:flex;flex-direction:column;align-items:center;line-height:1}
.trig-sum>span{font-size:1.6em;line-height:1.1}.trig-sum sup,.trig-sum sub{font-size:.55em;line-height:1;position:static}
@media(min-width:601px) and (max-width:1100px){.sense-examples{grid-template-columns:repeat(2,minmax(0,1fr))}.sense-examples article:first-child{grid-column:1/-1}.sense-examples .trig-equation{font-size:21px}}
@media(max-width:600px){.sense-examples .trig-equation{font-size:clamp(16px,5vw,21px);gap:3px}.trig-series{gap:3px}.trig-lead{gap:2px}}

/* Previous (1999) site, beside the language switch at the top right. */
.legacy-site{display:flex;align-items:center;min-height:32px;padding:6px 8px;color:#8e999e;font-size:10px;font-weight:400;line-height:1.2;white-space:nowrap;text-decoration:none;flex-shrink:0}
.legacy-site:hover{color:#fff}
@media(max-width:600px){.legacy-site{min-height:34px;padding:5px 7px}}
@media(max-width:379px){.legacy-site{display:none}}

/* 量子乱数の宗 (/ryoushi/), just left of the old-site link. */
.ryoushi-site{display:flex;align-items:center;min-height:32px;padding:6px 8px;color:#b2d4db;font-size:10px;font-weight:400;line-height:1.2;white-space:nowrap;text-decoration:none;flex-shrink:0}
.ryoushi-site:hover{color:#fff}
@media(max-width:600px){.ryoushi-site{min-height:34px;padding:5px 7px}}
/* The two links side by side; stacked where the header is tight (the narrowest desktop widths and phones), menu only below 380px. */
.site-links{display:flex;align-items:center;flex-shrink:0}
@media(min-width:851px) and (max-width:1000px),(max-width:600px){.site-links{flex-direction:column;align-items:flex-end}.site-links a{min-height:24px;padding:3px 6px}}
@media(max-width:379px){.site-links{display:none}}
/* "Quantum RNG" is wider than 量子乱数: English keeps the two links in the menu below 400px. */
@media(max-width:399px){html[lang=en] .site-links{display:none}}

.form-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.contact-form .button:disabled{opacity:.55;cursor:wait;transform:none}
#form-status[data-state="success"]{color:#b9efce}
#form-status[data-state="error"]{color:#ffcbc4}
#form-status a,.form-note a{text-decoration:underline;text-underline-offset:3px}

/* "詳しく見る" in the focus panel, shown only for themes with a detail page. .text-link sets display, so hide explicitly. */
#ai-detail{margin-left:28px}
#ai-detail[hidden]{display:none}
@media(max-width:600px){#ai-detail{margin-left:20px}}

/* Seven focus tabs: a 4 + 3 grid on tablets and phones instead of seven narrow columns. */
@media(max-width:850px){.ai-tabs{display:grid;grid-template-columns:repeat(4,1fr)}.ai-tabs button{border-right:1px solid #3a474c}.ai-tabs button:nth-child(-n+4){border-bottom:1px solid #3a474c}.ai-tabs button:nth-child(4n),.ai-tabs button:last-child{border-right:0}}
