@font-face {
  font-family: Manrope;
  src: url('fonts/manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Anton;
  src: url('fonts/anton.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #0b0a16;
  --paper: #fff1d8;
  --lime: #f2b2c4;
  --muted: #b7a8c8;
  --muted-light: #b7a8c8;
  --line: #433d7c;
  --line-light: #433d7c;
  --visual: #262759;
  --gutter: clamp(24px, 5.5vw, 80px);
  --font: Manrope, Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; isolation: isolate; background: var(--ink); color: var(--paper); font-family: var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 6px; }
.light-section a:focus-visible, .contact-section a:focus-visible { outline-color: var(--ink); }
::selection { background: var(--lime); color: var(--ink); }
.wrap { width: min(100%, 1600px); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.light-section { background: var(--paper); color: var(--ink); color-scheme: light; }
.dark-section { background: rgba(11, 10, 22, .65); }
.eyebrow, .micro-label, .product-category { font-family: var(--mono); font-size: .75rem; line-height: 1.6; letter-spacing: .08em; font-weight: 400; }
.eyebrow { display: flex; gap: 14px; align-items: center; }
.skip-link { position: absolute; top: 12px; left: 24px; z-index: 20; padding: 14px 22px; color: var(--ink); background: var(--lime); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }

/* A living typographic field. The rest of the page remains normal document flow. */
.full-screen-yes { position: fixed; inset: 0; z-index: -1; overflow: clip; pointer-events: none; background: var(--ink); color: var(--lime); }
.yes-wall { position: absolute; inset: -30vh -25vw; display: flex; flex-direction: column; justify-content: center; gap: 10px; transform: rotate(-11deg) scale(1.1); opacity: .66; }
.yes-row { flex-shrink: 0; font: 400 clamp(150px, 24vh, 340px)/1 Anton, Impact, sans-serif; letter-spacing: -.035em; white-space: nowrap; }
.yes-track { display: flex; width: max-content; animation: marquee 48s linear infinite; animation-play-state: paused; }
.yes-track span { flex-shrink: 0; }
.outlined { color: transparent; -webkit-text-stroke: 1.4px var(--lime); }
.yes-row:nth-child(2) .yes-track { animation-direction: reverse; animation-duration: 56s; animation-delay: -12s; }
.yes-row:nth-child(3) .yes-track { animation-duration: 42s; animation-delay: -8s; }
.yes-row:nth-child(4) .yes-track { animation-direction: reverse; animation-duration: 50s; animation-delay: -20s; }
.yes-row:nth-child(5) .yes-track { animation-duration: 52s; animation-delay: -16s; }
.yes-row:nth-child(6) .yes-track { animation-direction: reverse; animation-duration: 46s; animation-delay: -9s; }
.yes-row:nth-child(7) .yes-track { animation-duration: 58s; animation-delay: -24s; }
.full-screen-yes::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,22,.94), rgba(11,10,22,.81) 38%, rgba(11,10,22,.28) 76%, rgba(11,10,22,.14)); }
body.ready:not(.paused):not(.hidden-page):not(.offstage) .yes-track { animation-play-state: running; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Header and opening screen */
.site-header { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; min-height: 112px; padding-block: 22px; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11,10,22,.9), rgba(11,10,22,.7) 70%, transparent); }
.wordmark { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 2.1rem; font-weight: 800; letter-spacing: -.065em; }
.wordmark span { font-size: 1.15em; color: var(--lime); font-weight: 400; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; font-size: .875rem; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; transition: color .18s; }
.site-header nav a:hover { color: var(--lime); }
.site-header nav .nav-contact { border: 1px solid #574a8c; border-radius: 999px; padding: 0 22px; gap: 24px; }
.hero { min-height: calc(100svh - 112px); display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 28px; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: var(--paper); margin-bottom: 30px; }
.label-line { width: 28px; height: 1px; background: var(--lime); flex-shrink: 0; }
.hero h1 { max-width: 1260px; font-size: clamp(4rem, 10.5vw, 10.5rem); font-weight: 500; line-height: .98; letter-spacing: -.065em; word-spacing: .08em; }
.hero h1 span { color: var(--lime); }
.hero-intro { margin-top: 38px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-description { max-width: 470px; font-size: 1.0625rem; line-height: 1.75; color: var(--paper); text-wrap: pretty; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 54px; padding: 15px 24px; border: 1px solid transparent; border-radius: 999px; font-size: .875rem; line-height: 1.5; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.button span { font-size: 1.2em; flex-shrink: 0; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0); }
.button.primary { background: var(--lime); color: var(--ink); }
.button.primary:hover { background: var(--paper); }
.button.dark { background: var(--ink); color: var(--paper); }
.button.dark:hover { background: #3b3058; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 64px; margin-top: auto; }
.hero-products { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.hero-products .micro-label { color: var(--muted); font-size: .75rem; }
.hero-products a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-size: .875rem; }
.hero-products a>span:last-child { font-size: .75rem; color: var(--muted); }
.hero-products a:hover { color: var(--lime); }
.hero-products img { border-radius: 8px; }
.motion-control { min-height: 44px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); font-size: .75rem; white-space: nowrap; }
.motion-control:hover { border-color: var(--muted); }
.motion-icon { font-size: 1rem; width: 14px; }
body:not(.ready) .motion-control { visibility: hidden; }

/* A compact pair of product introductions. */
.products-section { padding-block: 72px 80px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading .eyebrow { color: var(--muted-light); margin-bottom: 16px; }
h2 { font-size: clamp(2.8rem, 4.8vw, 4.7rem); line-height: 1.08; font-weight: 500; letter-spacing: -.065em; }
.products-section h2 { font-size: clamp(2.25rem, 3.5vw, 3.25rem); }
.section-heading>p { max-width: 220px; color: var(--muted-light); font-size: .9375rem; line-height: 1.7; padding-bottom: 3px; }
.section-heading>p span { display: block; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 32px; border: 1px solid var(--line-light); border-radius: 14px; }
.product-identity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.product-identity img { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; }
.product-identity>div { min-width: 0; }
.product-category { font-size: .75rem; color: var(--muted-light); margin-bottom: 3px; letter-spacing: .05em; }
.product-identity h3 { font-size: 1.65rem; font-weight: 650; letter-spacing: -.04em; }
.product-description { margin-top: 22px; max-width: 410px; color: var(--muted-light); font-size: 1rem; line-height: 1.75; text-wrap: pretty; }
.product-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .75rem; }
.product-features li { padding: 6px 10px; border: 1px solid var(--line-light); border-radius: 6px; }
.product-link { overflow-wrap: anywhere; margin-top: 26px; max-width: 100%; font-size: .875rem; min-height: 50px; padding: 12px 20px; gap: 24px; }
.fileloom-card { background: #141226; }
.transferloom-card { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.transferloom-card .product-category, .transferloom-card .product-description { color: var(--muted); }
.transferloom-card .product-features li { border-color: var(--line); }

/* Principles, not repeated marketing cards. */
.focus-section { padding-block: 120px; }
.focus-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; }
.focus-intro .eyebrow { color: var(--muted); margin-bottom: 28px; }
.focus-intro h2 { font-size: clamp(2.8rem, 4.5vw, 4.5rem); }
.focus-intro>p:not(.eyebrow) { max-width: 340px; margin-top: 28px; font-size: 1rem; line-height: 1.8; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; font-size: .875rem; line-height: 1.6; border-bottom: 1px solid var(--line); padding-block: 12px; }
.text-link:hover { color: var(--lime); border-color: var(--lime); }
.focus-intro .text-link { margin-top: 24px; }
.principles-list { margin: 0; padding: 0; list-style: none; }
.principles-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 20px; border-top: 1px solid var(--line); padding-block: 28px 32px; }
.principles-list li:last-child { border-bottom: 1px solid var(--line); }
.principle-number { font: .75rem/2 var(--mono); color: var(--lime); }
.principles-list h3 { font-size: 1.4rem; line-height: 1.3; letter-spacing: -.03em; font-weight: 500; }
.principles-list p { margin-top: 12px; color: var(--muted); font-size: .875rem; line-height: 1.8; max-width: 370px; }
.principles-list li>span:last-child { font-size: 1.2rem; color: var(--lime); }

.company-section { padding-block: 104px; }
.company-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
.company-aside .eyebrow, .company-copy .eyebrow { color: var(--muted-light); }
.founding { display: block; margin-top: 46px; }
.founding-day { display: flex; align-items: baseline; gap: 20px; font-size: clamp(5rem, 9vw, 9rem); line-height: .85; letter-spacing: -.09em; }
.founding-day>span { font-size: .25em; letter-spacing: -.04em; }
.founding-year { display: block; margin-top: 18px; font-size: 2rem; letter-spacing: .04em; }
.company-aside>p:last-child { font-size: .75rem; color: var(--muted-light); margin-top: 28px; }
.company-copy { min-width: 0; }
.company-copy h2 { margin-top: 26px; margin-bottom: 30px; }
.company-copy>p:not(.eyebrow) { max-width: 610px; color: var(--muted-light); font-size: 1rem; line-height: 1.85; }
.company-copy>p+p { margin-top: 18px; }
.company-signature { display: flex; gap: 16px; align-items: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.company-signature>span:first-child { font-size: 45px; line-height: 1; }
.company-signature>span:last-child { font-size: .75rem; line-height: 1.7; }

/* A clear invitation and a confident final signature. */
.contact-section { background: var(--lime); color: var(--ink); padding-block: 76px; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 60px; }
.contact-inner .eyebrow { margin-bottom: 30px; }
.contact-inner h2 { font-size: clamp(3.5rem, 7vw, 7rem); line-height: .95; letter-spacing: -.07em; }
.contact-detail { min-width: 0; padding-bottom: 5px; }
.contact-detail p { font-size: .875rem; line-height: 1.8; margin-bottom: 26px; }
.email-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; font-size: clamp(1.1rem, 1.8vw, 1.8rem); font-weight: 600; overflow-wrap: anywhere; transition: opacity .2s; }
.email-link span { flex-shrink: 0; }
.email-link:hover { opacity: .6; }
.site-footer { padding-block: 64px 24px; }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 48px; }
.footer-wordmark { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(4rem, 13vw, 13rem); line-height: .95; font-weight: 700; letter-spacing: -.08em; }
.footer-wordmark>span { font-size: .8em; color: var(--lime); font-weight: 400; transition: transform .4s var(--ease); }
.footer-top>p { font-size: .875rem; line-height: 1.7; color: var(--muted); padding-bottom: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; font-size: .75rem; color: var(--muted); }
.footer-bottom>div { display: flex; flex-wrap: wrap; gap: 36px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.footer-bottom a:hover { color: var(--lime); }

@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(4rem, 10vw, 8rem); }
  .hero-intro { gap: 24px; }
  .hero-bottom { padding-top: 48px; }
  .hero-products .micro-label { flex-basis: 100%; }
  .focus-layout, .company-layout { gap: 48px; }
}
@media (max-width: 800px) {
  .site-header { min-height: 98px; }
  .site-header nav { gap: 18px; }
  .hero { min-height: calc(100svh - 98px); }
  .hero h1 { font-size: clamp(3.5rem, 11vw, 6rem); }
  .full-screen-yes::after { background: linear-gradient(90deg, rgba(11,10,22,.88), rgba(11,10,22,.5)); }
  .hero-bottom { flex-wrap: wrap; }
  .hero-products { gap: 8px 20px; }
  .focus-section, .company-section { padding-block: 80px; }
  .focus-layout, .company-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .focus-intro>p:not(.eyebrow) { max-width: 480px; }
  .company-aside { padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
  .founding { margin-top: 32px; }
  .founding-day { font-size: 6rem; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-detail { max-width: 540px; }
  .email-link { font-size: 1.5rem; }
  .footer-top { padding-bottom: 36px; }
}
@media (max-width: 540px) {
  .site-header { padding-block: 18px; gap: 8px; }
  .wordmark { font-size: 1.9rem; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 6px 12px; font-size: .875rem; }
  .site-header nav .nav-contact { border: 0; padding: 0; gap: 6px; }
  .hero { min-height: calc(100svh - 132px); padding-top: 42px; padding-bottom: 22px; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .03em; gap: 10px; margin-bottom: 28px; }
  .label-line { width: 18px; }
  .hero h1 { font-size: clamp(2.8rem, 13.4vw, 4.5rem); line-height: 1.04; letter-spacing: -.075em; }
  .hero-intro { margin-top: 28px; gap: 26px; }
  .hero-description { font-size: 1rem; line-height: 1.75; }
  .button { padding: 14px 20px; font-size: .875rem; gap: 20px; }
  .hero-bottom { padding-top: 46px; gap: 22px; }
  .hero-products { width: 100%; justify-content: flex-start; gap: 6px 24px; }
  .hero-products .micro-label { margin-bottom: 3px; }
  .hero-products a { font-size: .875rem; }
  .motion-control { margin-left: auto; font-size: .75rem; }
  .yes-wall { inset: -20vh -70vw; gap: 5px; opacity: .6; }
  .yes-row { font-size: clamp(130px, 20vh, 230px); }
  .full-screen-yes::after { background: rgba(11,10,22,.73); }
  .eyebrow { font-size: .75rem; }
  h2 { font-size: 2.55rem; }
  .focus-section, .company-section { padding-block: 64px; }
  .focus-intro h2 { font-size: 2.7rem; }
  .focus-intro>p:not(.eyebrow) { font-size: .9375rem; }
  .principles-list li { grid-template-columns: 22px minmax(0, 1fr) 12px; gap: 12px; padding-block: 24px; }
  .principles-list h3 { font-size: 1.25rem; }
  .principles-list p { font-size: .875rem; }
  .company-copy>p:not(.eyebrow) { font-size: .9375rem; }
  .company-copy h2 { margin-top: 20px; }
  .company-aside { padding-bottom: 32px; }
  .founding-day { font-size: 5.5rem; }
  .founding-year { font-size: 1.6rem; }
  .contact-section { padding-block: 58px; }
  .contact-inner .eyebrow { margin-bottom: 22px; }
  .contact-inner h2 { font-size: 3.8rem; }
  .contact-detail p { font-size: .875rem; }
  .email-link { font-size: 1.2rem; }
  .site-footer { padding-top: 40px; }
  .footer-top { gap: 24px; }
  .footer-wordmark { font-size: 18vw; gap: 8px; }
  .footer-top>p { font-size: .75rem; }
  .footer-bottom { font-size: .75rem; gap: 6px; }
  .footer-bottom>span { flex-basis: 100%; }
  .footer-bottom>div { justify-content: space-between; width: 100%; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body.paused * { animation-play-state: paused !important; }
body.reduced * { animation: none !important; transition: none !important; }

@media (max-width: 700px) {
  .products-section { padding-block: 56px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 26px; }
  .section-heading>p { max-width: none; }
  .section-heading>p span { display: inline; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .product-card { padding: 28px; }
  .product-identity h3 { font-size: 1.5rem; }
}
@media (max-width: 360px) {
  .product-card { padding: 24px; }
  .product-identity { gap: 12px; }
  .product-identity img { width: 48px; height: 48px; border-radius: 12px; }
  .product-identity h3 { font-size: 1.35rem; }
  .product-category { font-size: .75rem; letter-spacing: 0; }
  .product-features { font-size: .75rem; gap: 6px; }
}

/* Native interaction refinements, informed by the reviewed component libraries. */
:root { --nav-clearance: 128px; }
html { scroll-padding-top: var(--nav-clearance); }
.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  width: calc(100% - 32px);
  max-width: 1568px;
  min-height: 88px;
  margin-block: 12px;
  padding: 15px clamp(16px, calc(5.5vw - 16px), 64px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 6px 24px -20px rgba(0, 0, 0, .6);
}
.site-header::before { display: none; }
.site-header nav { gap: 6px; }
.site-header nav a {
  justify-content: center;
  padding-inline: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .18s;
}
.site-header nav a:hover { background: #332943; color: var(--paper); }
.site-header nav .nav-contact { padding-inline: 18px; gap: 16px; border-color: #574a8c; }
.site-header nav a[aria-current="location"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.site-header nav a:focus-visible { outline-offset: 3px; }
.button:hover { transform: none; }
.button:active { transform: translateY(1px) scale(.99); }
.button>span[aria-hidden] { transition: transform .2s var(--ease); }
.button:hover>span[aria-hidden], .button:focus-visible>span[aria-hidden] { transform: translate(2px, var(--arrow-y, -2px)); }
.product-card { transition: border-color .2s, box-shadow .2s; }
.fileloom-card:focus-within { border-color: #f2b2c4; box-shadow: 0 0 0 1px #f2b2c4; }
.transferloom-card:focus-within { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
.transferloom-card a:focus-visible { outline-color: var(--lime); }
.product-features li { background: #28223c; border-color: transparent; }
.transferloom-card .product-features li { background: #302440; border-color: transparent; color: #f9d3dc; }
.contact-actions { display: flex; align-items: flex-start; gap: 14px; }
.contact-actions .email-link { min-width: 0; flex: 1; }
#contact-email { flex-shrink: 1; min-width: 0; }
.copy-email { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 7.5rem; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: transparent; font-size: .8125rem; font-weight: 600; transition: transform .18s; }
.copy-email:hover, .copy-email[data-copied] { color: var(--paper); background: var(--ink); }
.copy-email:active { transform: scale(.97); }
.copy-email:focus-visible { outline-color: var(--ink); }
.copy-email svg { flex-shrink: 0; }
.contact-detail .copy-status { margin: 10px 0 0; min-height: 1.6em; font-size: .75rem; line-height: 1.6; }
body:not(.ready) .copy-email { display: none; }
@media (max-width: 800px) {
  .site-header { gap: 8px 16px; }
  .site-header nav { gap: 3px; }
  .site-header nav a { padding-inline: 10px; }
}
@media (max-width: 540px) {
  .site-header { top: 8px; width: calc(100% - 24px); margin-block: 8px; padding: 10px 12px; border-radius: 16px; }
  .site-header .wordmark { font-size: 1.7rem; }
  .site-header nav { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr)); gap: 2px; }
  .site-header nav a, .site-header nav .nav-contact { padding-inline: 3px; font-size: .875rem; letter-spacing: -.02em; min-width: 0; }
  .site-header nav .nav-contact { border-color: transparent; }
  .site-header nav .nav-contact>span { display: none; }
  .contact-actions { flex-wrap: wrap; gap: 16px; }
  .contact-actions .email-link { flex-basis: 100%; }
  .copy-email { min-width: 7.5rem; }
}

.hero .button { --arrow-y: 2px; }

/* Continue the YES field through the security section and footer. */
body.lower-yes .full-screen-yes::after { background: rgba(11, 10, 22, .22); }
.header-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; min-width: 0; }
.global-motion { padding-inline: 12px; }
@media (max-width: 800px) {
  .header-brand { gap: 12px; }
}
@media (max-width: 540px) {
  .header-brand { width: 100%; justify-content: space-between; }
  .header-brand .global-motion { margin-left: 0; }
}

/* A small wrist-pivot greeting, with a quiet rest between waves. */
.contact-greeting { display: flex; align-items: center; gap: 18px; min-width: 0; }
.contact-greeting h2 { word-spacing: .04em; min-width: 0; font-size: clamp(3rem, 6vw, 6.5rem); }
.greeting-hand { width: clamp(140px, 14vw, 210px); flex-shrink: 0; padding: 14px; pointer-events: none; }
.greeting-hand img { display: block; width: 100%; height: auto; transform-origin: 50% 88%; animation: hello-wave 5s ease-in-out infinite; animation-play-state: paused; }
body.ready.hand-ready.hello-visible:not(.paused):not(.hidden-page) .greeting-hand img { animation-play-state: running; }
@keyframes hello-wave {
  0%, 32%, 100% { transform: rotate(0deg); }
  5%, 17% { transform: rotate(13deg); }
  11%, 23% { transform: rotate(-10deg); }
  28% { transform: rotate(6deg); }
}
@media (max-width: 1100px) {
  .contact-greeting { gap: 8px; }
  .greeting-hand { width: 140px; padding: 12px; }
}
@media (max-width: 800px) {
  .contact-greeting { gap: 20px; }
  .greeting-hand { width: 170px; }
}
@media (max-width: 540px) {
  .contact-greeting { gap: 12px; }
  .contact-greeting h2 { font-size: clamp(2.5rem, 11.2vw, 3.8rem); }
  .greeting-hand { width: clamp(90px, 30vw, 145px); padding: 8px; }
}

/* Fixed dot lattice; only dot brightness and radius change each frame. */
:root { --dot-base: #574a8c; }
/* Browser bars retract during scroll. Size the art to the stable large viewport
   so those height changes reveal more of the garden instead of rescaling it. */
.dot-field { bottom: auto; height: 100vh; height: 100lvh; background: radial-gradient(circle, var(--dot-base) 1px, transparent 1.2px) 0 0 / 10px 10px var(--ink); }
.dot-field canvas { display: block; width: 100%; height: 100%; opacity: .75; }
.dot-field::after { background: linear-gradient(90deg, rgba(11,10,22,.65), rgba(11,10,22,.5) 45%, rgba(11,10,22,.2)); }
@media (max-width: 540px) {
  .dot-field { background-size: 8px 8px; }
  .dot-field::after { background: rgba(11,10,22,.58); }
}

/* Retro night-garden system: the user-supplied Kyoto palette is authoritative. */
@font-face { font-family: Silkscreen; src: url('fonts/silkscreen.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root { --font: 'SFMono-Regular', Consolas, monospace; --pixel: Silkscreen, var(--font); --dot-highlight: #fff1d8; --lantern: #ffbb6a; }
body { font-family: var(--font); }
h1,h2,h3,.wordmark,.footer-wordmark,.button,.site-header nav a,.motion-control,.copy-email,.founding { font-family: var(--pixel); font-weight: 400; letter-spacing: -.035em; }
.hero h1 { font-family: Manrope, Arial, sans-serif; font-weight: 800; font-size: clamp(3rem, 8vw, 8rem); line-height: 1.06; letter-spacing: -.045em; word-spacing: 0; }
.hero-description { font-size: 1rem; max-width: 500px; line-height: 1.85; }
h2 { font-size: clamp(1.7rem, 2.8vw, 3rem); line-height: 1.35; }
.products-section h2,.focus-intro h2 { font-size: clamp(1.7rem, 2.8vw, 2.8rem); }
.eyebrow,.micro-label,.product-category { color: #c7b7d7; }
.light-section { color: var(--paper); background: rgba(18,15,35,.91); color-scheme: dark; }
.dark-section { background: rgba(11,10,22,.72); }
.site-header { background: var(--ink); border-color: #574a8c; border-radius: 2px; box-shadow: 4px 4px 0 rgba(28,29,74,.7); }
.site-header nav a,.site-header nav .nav-contact { border-radius: 2px; }
.site-header nav a { font-size: .875rem; }
.wordmark { font-size: 1.55rem; }
.wordmark span { font-family: var(--mono); color: var(--lantern); }
.button,.motion-control,.copy-email { border-radius: 2px; border: 1px solid #b47ea6; box-shadow: 3px 3px 0 #433d7c; }
.button { font-size: .8125rem; }
.button.primary,.button.dark { background: #f2b2c4; color: #0b0a16; }
.button.primary:hover,.button.dark:hover { background: #fff1d8; }
.button:active,.copy-email:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #433d7c; }
.motion-control { font-family: var(--mono); border-color: #574a8c; color: #fff1d8; box-shadow: 2px 2px 0 #1c1d4a; }
.product-card { border-radius: 3px; padding: 28px; box-shadow: 4px 4px 0 #1c1d4a; }
.fileloom-card { background: #141226; }
.transferloom-card { background: #1b1426; border-color: #74405f; }
.product-identity h3 { font-size: 1.25rem; letter-spacing: -.04em; }
.product-description { font-size: .9375rem; }
.product-features li { border-radius: 1px; border: 1px solid #574a8c; background: #211b33; color: #e5cedf; }
.transferloom-card .product-features li { background: #2a1c31; border-color: #74405f; color: #f9d3dc; }
.product-link { font-size: .875rem; }
.principles-list h3 { font-size: 1.05rem; line-height: 1.6; }
.principle-number,.principles-list li>span:last-child { color: var(--lantern); }
.company-copy>p:not(.eyebrow),.company-aside>p:last-child,.section-heading>p { color: #b7a8c8; }
.founding-day { font-size: clamp(4rem,6.5vw,6.8rem); color: #f2b2c4; }
.founding-year { font-size: 1.6rem; color: #fff1d8; }
.company-signature>span:first-child { color: #ffbb6a; }
.contact-section { background: rgba(38,26,47,.96); color: #fff1d8; border-top: 1px solid #74405f; border-bottom: 1px solid #74405f; }
.contact-greeting h2 { font-size: clamp(2rem,4.4vw,4rem); line-height: 1.3; }
.email-link { color: #f9d3dc; border-color: #b47ea6; font-size: clamp(1rem,1.6vw,1.5rem); }
.copy-email { color: #fff1d8; border-color: #b47ea6; background: #211b33; }
.copy-email:hover,.copy-email[data-copied] { color: #0b0a16; background: #f2b2c4; }
.contact-detail .copy-status { color: #fbd0b8; }
.footer-wordmark { font-size: clamp(3rem,9.8vw,10rem); letter-spacing: -.06em; }
.footer-wordmark>span { font-family: var(--mono); color: #ffbb6a; }
a:focus-visible,button:focus-visible,.light-section a:focus-visible,.contact-section a:focus-visible,.copy-email:focus-visible { outline-color: #ffbb6a; }
.dot-field canvas { opacity: 1; }
/* Keep the animated lettering subordinate to the foreground title and copy. */
.dot-field::after { background: linear-gradient(90deg,rgba(11,10,22,.82),rgba(11,10,22,.68) 60%,rgba(11,10,22,.35)); }
body.lower-yes .dot-field::after { background: rgba(11,10,22,.12); }
@media(max-width:800px) { .site-header nav a { font-size: .875rem; } .contact-greeting h2 { font-size: 2.6rem; } }
@media(max-width:540px) {
  .hero h1 { font-size: clamp(2.35rem,11.8vw,4.25rem); line-height: 1.08; letter-spacing: -.04em; }
  .hero-description { font-size: .9375rem; }
  .site-header .wordmark { font-size: 1.3rem; }
  .site-header nav a,.site-header nav .nav-contact { font-size: .875rem; letter-spacing: -.04em; }
  .product-card { padding: 24px; }
  .product-identity h3 { font-size: clamp(1rem,4.3vw,1.25rem); }
  .product-identity img { width: 48px; height: 48px; border-radius: 8px; }
  .product-identity { gap: 12px; }
  .product-link { font-size: .875rem; }
  .contact-greeting h2 { font-size: clamp(1.6rem,7vw,2.3rem); }
  .footer-wordmark { font-size: 12.7vw; }
  .dot-field::after { background: rgba(11,10,22,.63); }
}

@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/ibm-plex-mono.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root { --mono: 'IBM Plex Mono', Consolas, monospace; --font: var(--mono); }
.greeting-hand img { image-rendering: pixelated; animation-timing-function: steps(3,end); }
@media(max-width:800px) { .dot-field::after { background: rgba(11,10,22,.68); } }

.hero .button{font-size:.875rem}

/* Keep foreground copy legible against the brighter garden and large YES masks. */
.hero h1,.hero-description,.hero .eyebrow,.hero-products { text-shadow: 0 2px 2px #0b0a16, 0 0 10px #0b0a16, 0 0 20px #0b0a16; }

/* Do not expose an empty canvas or a partially loaded scene during startup. */
.dot-field canvas:not([data-rendered="true"]) { visibility: hidden; }

/* A flat, compact header keeps the garden and company introduction in view. */
.site-header {
  top: 0;
  width: 100%;
  max-width: none;
  min-height: 60px;
  margin: 0;
  padding: 8px clamp(16px, 5.5vw, 80px);
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(199, 183, 215, .16);
  border-radius: 0;
  box-shadow: none;
}
.header-brand { flex: 1; width: auto; gap: 20px; }
.site-header .wordmark { font-size: 1.05rem; }
.header-brand .global-motion { margin-left: 0; padding: 0 6px; border: 0; box-shadow: none; background: transparent; color: var(--muted); }
.site-header nav { width: auto; gap: 4px; }
.site-header nav a, .site-header nav .nav-contact {
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  font: .875rem/1.5 var(--mono);
  letter-spacing: 0;
  color: var(--muted);
}
.site-header nav a:hover, .site-header nav a[aria-current="location"] { background: transparent; color: var(--paper); }
.site-header nav a[aria-current="location"] { text-decoration: underline; text-underline-offset: 6px; }
.site-header nav .nav-contact > span { display: none; }
.menu-toggle { display: none; }
.hero { min-height: calc(100svh - 61px); }
@media (max-width: 700px) {
  .site-header { flex-wrap: nowrap; padding: 4px 16px; min-height: 53px; }
  .header-brand { gap: 8px; }
  .header-brand .global-motion { margin-left: auto; min-width: 44px; }
  .global-motion .motion-label { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 0 0 8px; border: 0; background: transparent; color: var(--paper); font: .8125rem/1 var(--mono); }
  .menu-toggle span { width: 12px; font-size: 1rem; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 16px; background: var(--ink); border-bottom: 1px solid var(--line); gap: 4px; }
  .menu-toggle[aria-expanded="true"] + nav { display: flex; }
  .site-header nav a, .site-header nav .nav-contact { flex: 1; padding: 0 4px; min-height: 44px; font-size: .875rem; }
  .hero { min-height: calc(100svh - 53px); }
}


/* Reading hierarchy: clear sans-serif content, pixel branding, quiet metadata. */
:root { --reading: Manrope, Arial, sans-serif; }
body { font-family: var(--reading); }
h2, h3, .button, .copy-email, .email-link {
  font-family: var(--reading);
  letter-spacing: -.025em;
  font-weight: 700;
}
h2, .products-section h2, .focus-intro h2, .contact-greeting h2 {
  font-size: clamp(2.25rem, 4.1vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
h2 > span { color: var(--lime); }
.hero { min-height: min(780px, calc(100svh - 61px)); padding-top: clamp(48px, 6vw, 88px); }
.hero .eyebrow { margin-bottom: 24px; }
.hero-intro { max-width: 560px; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 28px; }
.hero-description { font-size: 1.125rem; line-height: 1.65; max-width: 440px; }
.hero-bottom { padding-top: 56px; }
.hero-products .micro-label { flex-basis: auto; }
.hero-products a { font-weight: 600; }
.hero-products { gap: 12px 24px; }
.button, .hero .button, .product-link { font-size: .9375rem; min-height: 48px; padding: 12px 20px; box-shadow: 2px 2px 0 #433d7c; }
.products-section, .focus-section, .company-section { padding-block: clamp(56px, 6vw, 88px); }
.products-section { padding-block: clamp(56px, 5vw, 72px); border-block: 1px solid rgba(199,183,215,.16); background: rgba(18,15,35,.58); }
.section-heading { margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading > p { max-width: none; font-size: 1rem; line-height: 1.6; }
.product-grid { gap: 24px; }
.product-card { padding: 28px; box-shadow: none; border-color: #49405f; }
.transferloom-card { border-color: #684353; }
.product-identity h3 { font: 750 1.75rem/1.2 var(--reading); letter-spacing: -.04em; }
.product-identity img { border-radius: 12px; }
.product-description { max-width: 410px; font-size: 1rem; line-height: 1.65; margin-top: 20px; margin-bottom: 18px; }
.product-features { margin-top: auto; gap: 8px 16px; }
.product-features li, .transferloom-card .product-features li { padding: 0; border: 0; background: transparent; color: #c7b7d7; font-size: .8125rem; }
.product-features li::before { content: '·'; color: var(--lime); margin-right: 7px; }
.product-link { margin-top: 24px; }
.focus-section { background: rgba(11,10,22,.56); }
.focus-layout { gap: clamp(32px, 6vw, 88px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.focus-intro .eyebrow { margin-bottom: 16px; }
.focus-intro > p:not(.eyebrow) { margin-top: 20px; font-size: 1rem; line-height: 1.6; }
.focus-intro .text-link { margin-top: 20px; }
.text-link { font-size: .9375rem; font-weight: 600; }
.principles-list li { grid-template-columns: 26px minmax(0, 1fr); padding-block: 24px; gap: 16px; }
.principles-list h3 { font-size: 1.25rem; line-height: 1.3; }
.principles-list p { font-size: .9375rem; line-height: 1.65; max-width: 430px; margin-top: 8px; }
.company-section { background: rgba(18,15,35,.58); border-top: 1px solid rgba(199,183,215,.16); }
.company-layout { grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: 64px; align-items: center; }
.company-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding: 0; border: 0; }
.company-emblem { font: 120px/1 var(--mono); color: var(--lantern); }
.founding { margin-top: 6px; font: 600 1rem/1.5 var(--reading); letter-spacing: 0; color: var(--paper); }
.company-copy h2 { margin: 16px 0 24px; }
.company-copy > p:not(.eyebrow) { font-size: 1.0625rem; line-height: 1.7; max-width: 560px; }
.company-copy > p + p { margin-top: 12px; }
.company-copy .text-link { margin-top: 20px; }
.contact-section { padding-block: 48px; background: rgba(38,26,47,.6); }
.contact-inner { gap: 40px; align-items: center; }
.contact-inner .eyebrow { margin-bottom: 12px; }
.contact-greeting { gap: 16px; }
.greeting-hand { width: 130px; padding: 10px; }
.contact-detail p { font-size: 1rem; line-height: 1.6; margin-bottom: 20px; }
.email-link { font-size: clamp(1.125rem, 1.6vw, 1.5rem); }
.copy-email { min-width: 6rem; font-size: .875rem; }
.site-footer { padding-block: 40px 16px; background: rgba(11,10,22,.58); }
.footer-top { padding-bottom: 24px; }
.footer-wordmark { font-size: clamp(2.4rem, 6.5vw, 6rem); min-height: 44px; align-items: center; }
.footer-bottom { padding-top: 12px; }
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .contact-greeting { justify-content: space-between; }
  .contact-detail { max-width: none; }
}
@media (max-width: 700px) {
  .hero { min-height: min(740px, calc(100svh - 53px)); padding-top: 40px; }
  .hero-description { font-size: 1.0625rem; max-width: 370px; }
  .hero-products .micro-label { flex-basis: 100%; }
  .hero-bottom { padding-top: 56px; }
  .section-heading { gap: 16px; margin-bottom: 24px; }
  .section-heading > p span { display: inline; }
  .product-card { padding: 24px; }
  .product-grid { gap: 16px; }
  .product-identity h3 { font-size: 1.625rem; }
  .product-identity img { width: 48px; height: 48px; }
  .product-description { margin-top: 16px; }
  .focus-layout, .company-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .company-copy { grid-row: 1; }
  .company-aside { flex-direction: row; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
  .company-emblem { font-size: 52px; }
  .company-copy > p:not(.eyebrow) { font-size: 1rem; }
  .contact-section { padding-block: 40px; }
  .contact-inner { gap: 24px; }
  .greeting-hand { width: 100px; padding: 8px; }
  .contact-actions { flex-wrap: wrap; }
  .contact-actions .email-link { flex-basis: 100%; }
  .site-footer { padding-top: 32px; }
  .footer-top { flex-wrap: nowrap; align-items: center; gap: 16px; }
  .footer-top > p { font-size: .75rem; }
  .footer-wordmark { font-size: min(3.25rem, 9vw); }
  .footer-top { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .product-card { padding: 20px; }
  .product-identity { gap: 10px; }
  .product-identity h3 { font-size: 1.4rem; }
  .product-link { padding-inline: 14px; gap: 12px; }
  .footer-top { flex-wrap: wrap; }
}

/* The stable button contains a floating, solid chamfered tile. */
.product-icon-button { --tile-depth: 10px; --tile-half: 22.4px; display: block; flex-shrink: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; perspective: 400px; }
.product-icon-button:disabled { cursor: default; }
.product-icon-button:not(:disabled):active { outline: 2px solid var(--lime); outline-offset: 3px; }
.product-icon-float, .product-icon-flip { display: block; position: relative; transform-style: preserve-3d; }
.product-icon-float { transform: rotateX(7deg) rotateY(-12deg) rotateZ(-4deg); animation: product-icon-float 7s ease-in-out infinite; animation-play-state: paused; }
.product-icon-button.failed .product-icon-float { visibility: hidden; }
body.ready:not(.paused):not(.hidden-page) .product-icon-button.loaded.visible .product-icon-float { animation-play-state: running; }
.transferloom-card .product-icon-float { animation-delay: -1.5s; }
.product-identity img.product-icon, .hero-products img.hero-icon { display: block; border-radius: 0; object-fit: contain; transform: translateZ(calc(var(--tile-depth) / 2)); backface-visibility: hidden; }
.product-icon-body { position: absolute; inset: 10%; transform-style: preserve-3d; --cut: var(--tile-cut, 6px); --half: var(--tile-half); }
.product-icon-back { position: absolute; inset: 0; border: 1px solid #d1badf; border-radius: 17%; background: linear-gradient(145deg,#696187,#242137 50%,#494064); box-shadow: inset 0 0 0 2px #494260, inset 0 0 0 3px #817398; transform: rotateY(180deg) translateZ(calc(var(--tile-depth) / 2)); backface-visibility: hidden; }
/* Eight actual side planes keep the tile solid even exactly edge-on. */
.product-icon-edge { position: absolute; left: 50%; top: 50%; width: var(--tile-depth); height: calc(100% - 2 * var(--cut)); background: linear-gradient(90deg,#6d5d8b,#302a49 32%,#514565 74%,#d7b6d3); transform: translate(-50%,-50%) translate(var(--edge-x),var(--edge-y)) rotateZ(var(--edge-angle)) rotateY(90deg); }
.product-icon-edge:nth-child(even) { height: calc(var(--cut) * 1.414214); background: linear-gradient(90deg,#9881ae,#544565 35%,#bda2c5); }
.edge-0 { --edge-x: calc(var(--half)); --edge-y: 0px; --edge-angle: 0deg; }
.edge-1 { --edge-x: calc(var(--half) - var(--cut) / 2); --edge-y: calc(var(--half) - var(--cut) / 2); --edge-angle: 45deg; }
.edge-2 { --edge-x: 0px; --edge-y: var(--half); --edge-angle: 90deg; }
.edge-3 { --edge-x: calc(-1 * var(--half) + var(--cut) / 2); --edge-y: calc(var(--half) - var(--cut) / 2); --edge-angle: 135deg; }
.edge-4 { --edge-x: calc(-1 * var(--half)); --edge-y: 0px; --edge-angle: 180deg; }
.edge-5 { --edge-x: calc(-1 * var(--half) + var(--cut) / 2); --edge-y: calc(-1 * var(--half) + var(--cut) / 2); --edge-angle: 225deg; }
.edge-6 { --edge-x: 0px; --edge-y: calc(-1 * var(--half)); --edge-angle: 270deg; }
.edge-7 { --edge-x: calc(var(--half) - var(--cut) / 2); --edge-y: calc(-1 * var(--half) + var(--cut) / 2); --edge-angle: 315deg; }
.product-icon-flip.flipping { animation: product-icon-flip 1100ms cubic-bezier(.4,0,.2,1); animation-play-state: paused; }
body.ready:not(.paused):not(.hidden-page) .product-icon-button.visible .product-icon-flip.flipping { animation-play-state: running; }
@keyframes product-icon-flip {
  0% { transform: rotateY(0deg) rotateX(0deg); }
  50% { transform: rotateY(180deg) rotateX(18deg); }
  100% { transform: rotateY(360deg) rotateX(0deg); }
}
@keyframes product-icon-float {
  0%, 100% { transform: translateY(1px) rotateX(7deg) rotateY(-12deg) rotateZ(-4deg); }
  50% { transform: translateY(-3px) rotateX(10deg) rotateY(-8deg) rotateZ(-2deg); }
}

/* The heading reserves a real column for the shield, including its turn. */
.focus-intro { --security-size: 64px; container: security-intro / inline-size; }
.focus-intro h2 { display: grid; grid-template-columns: minmax(0,1fr) var(--security-size); column-gap: 16px; align-items: center; font-size: clamp(1.65rem,2.5vw,2.25rem); line-height: 1.15; }
.focus-title-line { display: contents; color: var(--paper); }
.focus-title-words { grid-column: 1; grid-row: 1; }
.focus-title-end { display: block; grid-column: 1; grid-row: 2; }
.focus-detail { margin-top: 12px; }
.focus-summary { min-width: 0; max-width: none; display: flex; align-items: center; flex-wrap: wrap; gap: 0 20px; }
.focus-summary p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.focus-summary .text-link { margin-top: 16px; }
.security-art { position: relative; grid-column: 2; grid-row: 1 / span 2; display: block; width: var(--security-size); perspective: 700px; pointer-events: none; }
.security-art[hidden] { display: none; }
/* Keep every parent unflattened: the silhouette's side planes supply real depth. */
.security-art { --shield-depth: 12px; }
.security-float, .security-turn, .shield-body { display: block; transform-style: preserve-3d; }
.security-float, .security-turn { position: relative; }
.security-float { transform-origin: 50% 55%; animation: security-tilt 7s cubic-bezier(.45,0,.55,1) infinite; animation-play-state: paused; }
.security-turn { animation: security-turn 8s cubic-bezier(.45,0,.55,1) -4s infinite; animation-play-state: paused; }
body.ready .security-art:not(.loaded) .security-float { visibility: hidden; }
.security-art img { display: block; width: 100%; height: auto; transform: translateZ(calc(var(--shield-depth) / 2)); backface-visibility: hidden; }
.shield-body { position: absolute; inset: 0; }
.shield-edge { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: var(--shield-depth); height: calc(var(--length) * var(--security-size) + .2px); background: linear-gradient(90deg,#9682b1,#c1acd0 36%,#d8c3dc 72%,#fff0d9); transform: translate(-50%,-50%) rotateZ(var(--angle)) rotateY(90deg); }
.shield-back { position: absolute; inset: 0; background: linear-gradient(140deg,#fcdfd8,#8f7caa 50%,#dcc5e2); clip-path: var(--shield-outline); transform: rotateY(180deg) translateZ(calc(var(--shield-depth) / 2)); backface-visibility: hidden; }
.shield-back::after { content: ''; position: absolute; inset: 0; background: linear-gradient(130deg,#fff1d8,#dbc9de); clip-path: var(--shield-outline); transform: scale(.91); }
body.ready:not(.paused):not(.hidden-page) .security-art.loaded.visible .security-float,
body.ready:not(.paused):not(.hidden-page) .security-art.loaded.visible .security-turn { animation-play-state: running; }
@keyframes security-turn {
  0%, 65% { transform: rotateY(0deg) rotateX(0deg); }
  75% { transform: rotateY(180deg) rotateX(12deg); }
  85%, 100% { transform: rotateY(360deg) rotateX(0deg); }
}
@keyframes security-tilt {
  0%, 100% { transform: translateY(2px) rotateY(-7deg) rotateZ(-3deg); }
  45% { transform: translateY(-5px) rotateY(7deg) rotateZ(3deg); }
  70% { transform: translateY(-2px) rotateY(2deg) rotateZ(1deg); }
}
@media (max-width: 700px) {
  .focus-intro { --security-size: 56px; }
}
@media (max-width: 360px) {
  .focus-intro { --security-size: 48px; }
  .focus-intro h2 { font-size: 1.6rem; }
}
/* Enlarged text gets its own full-width heading below the emblem. */
@container security-intro (max-width: 12rem) {
  .focus-intro h2 { grid-template-columns: minmax(0,1fr); }
  .focus-title-words { grid-row: 2; }
  .focus-title-end { grid-row: 3; }
  .security-art { grid-column: 1; grid-row: 1; margin-block: 8px 16px; }
}

@media (max-width: 700px) { .product-icon-button { --tile-half: 19.2px; } }

/* Hero links share the solid app tiles at their existing compact size. */
.hero-product-art { --tile-depth: 6px; --tile-half: 12px; --tile-cut: 3px; display: block; flex: 0 0 30px; width: 30px; height: 30px; perspective: 300px; pointer-events: none; }
.hero-products img.hero-icon { width: 30px; height: 30px; }
.hero-product-art.failed, body.ready .hero-product-art:not(.loaded) { visibility: hidden; }
.hero-product-art .product-icon-flip { animation: hero-icon-turn 10s cubic-bezier(.45,0,.55,1) -5s infinite; animation-play-state: paused; }
.hero-product-art.transferloom-art .product-icon-flip { animation-delay: -3.6s; }
.hero-product-art.transferloom-art .product-icon-float { animation-delay: -1.5s; }
body.ready:not(.paused):not(.hidden-page) .hero-product-art.loaded.visible .product-icon-float,
body.ready:not(.paused):not(.hidden-page) .hero-product-art.loaded.visible .product-icon-flip { animation-play-state: running; }
@keyframes hero-icon-turn {
  0%, 64% { transform: rotateY(0deg) rotateX(0deg); }
  73% { transform: rotateY(180deg) rotateX(12deg); }
  82%, 100% { transform: rotateY(360deg) rotateX(0deg); }
}

/* Quiet reading windows leave the animated garden open around the content. */
.products-section, .focus-section, .company-section, .contact-section, .site-footer {
  background: transparent;
  border-color: transparent;
}
body.lower-yes .dot-field::after { background: rgba(11,10,22,.1); }
.reading-panel {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(199,183,215,.24);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(3,3,12,.18);
  text-shadow: none;
}
.reading-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: rgba(15,14,29,.92);
}
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .reading-panel::before {
    background: rgba(15,14,29,.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
/* Blur only the backing layer; keep the nested 3D icon/shield scenes intact. */
.products-section .section-heading { --panel-limit: 720px; max-width: var(--panel-limit); margin-bottom: 16px; padding: 20px 24px; }
.products-section .section-heading h2 { font-size: clamp(1.65rem,2.5vw,2.25rem); }
.products-section .product-grid { --panel-limit: 720px; max-width: var(--panel-limit); gap: 16px; }
.products-section .product-card { padding: 20px; }
.products-section .product-description { margin-block: 14px; line-height: 1.55; }
.products-section .product-link { margin-top: 18px; }
.reading-panel.focus-layout {
  --panel-limit: 560px;
  max-width: var(--panel-limit);
  padding: 20px 24px;
  grid-template-columns: minmax(0,1fr);
  gap: 12px;
}
.reading-panel .focus-intro { max-width: 620px; }
.reading-panel .focus-intro > p:not(.eyebrow) { max-width: 540px; }
.reading-panel .focus-intro .text-link { margin-top: 0; }
.reading-panel .focus-intro .eyebrow { margin-bottom: 10px; }
.reading-panel .principles-list li { padding-block: 12px; gap: 12px; }
.reading-panel .principles-list h3 { font-size: 1.125rem; }
.reading-panel .principles-list p { margin-top: 5px; line-height: 1.5; }
.reading-panel .principles-list p { max-width: 580px; }
.reading-panel.company-layout {
  --panel-limit: 560px;
  max-width: var(--panel-limit);
  padding: 20px 24px;
  grid-template-columns: minmax(0,1fr);
  gap: 18px;
}
.reading-panel .company-copy { grid-row: 1; }
.reading-panel .company-copy h2 { font-size: clamp(1.65rem,2.5vw,2.25rem); margin-block: 12px 16px; }
.reading-panel .company-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.6; }
.reading-panel .company-copy .text-link { margin-top: 10px; }
.reading-panel .company-aside { flex-direction: row; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.reading-panel .company-emblem { font-size: 36px; }
.reading-panel.contact-inner { --panel-limit: 560px; max-width: var(--panel-limit); grid-template-columns: minmax(0,1fr); gap: 20px; }
.reading-panel .contact-greeting { justify-content: space-between; }
.reading-panel .contact-detail { max-width: none; }
.reading-panel.footer-panel { --panel-limit: 680px; max-width: var(--panel-limit); }
.reading-panel .footer-wordmark { font-size: clamp(2.4rem, 5vw, 5rem); }
.reading-panel p, .reading-panel .footer-bottom { color: #d5cbdf; }
.reading-panel .eyebrow, .reading-panel .principle-number { color: #c7b7d7; }
.reading-panel .contact-detail .copy-status { color: #fff1d8; }
@media (max-width: 700px) {
  .reading-panel { padding: 22px 20px; }
  .products-section, .focus-section, .company-section { padding-block: 40px; }
  .reading-panel.focus-layout, .reading-panel.company-layout { padding: 18px; gap: 12px; }
  .reading-panel .principles-list li { padding-block: 10px; }
  .reading-panel .principles-list h3 { font-size: 1.125rem; }
  .reading-panel .principles-list p { font-size: .875rem; }
  .reading-panel .company-copy h2 { font-size: 1.65rem; }
  .reading-panel .contact-greeting h2 { font-size: clamp(1.8rem, 7.5vw, 2.8rem); }
  .reading-panel .greeting-hand { width: 88px; padding: 4px; }
}
@media (max-width: 700px) {
  .reading-panel .footer-wordmark { font-size: min(3.25rem, 7.8vw); }
}

/* Keep a useful slice of the garden beside cards on short landscape screens. */
@media (min-width: 600px) and (max-height: 500px) {
  .reading-panel.focus-layout, .reading-panel.company-layout, .reading-panel.contact-inner,
  .reading-panel.footer-panel, .products-section .section-heading, .products-section .product-grid {
    max-width: min(var(--panel-limit, 560px), 68vw);
  }
  .products-section .product-grid { grid-template-columns: minmax(0,1fr); }
}

/* A sculpted wordmark: one small composited image, always readable through its tilt. */
.header-brand { min-width: 0; }
.header-brand .global-motion { flex-shrink: 0; }
.brand-mark { position: relative; perspective: 700px; }
.site-header .wordmark.brand-mark {
  flex: 0 1 168px;
  width: 168px;
  min-width: 96px;
  max-width: 100%;
  min-height: 44px;
  padding: 5px 4px;
  font: 800 1.125rem/1 Manrope, Arial, sans-serif;
  letter-spacing: -.025em;
}
.reading-panel .footer-wordmark.brand-mark {
  width: min(100%, 440px);
  max-width: 100%;
  min-height: 64px;
  padding: 12px 8px;
  font: 800 clamp(1.5rem, 4vw, 3.5rem)/1 Manrope, Arial, sans-serif;
  letter-spacing: -.025em;
}
.brand-mark > .brand-art {
  display: block;
  width: 100%;
  flex: 0 1 100%;
  font-size: inherit;
  transform-origin: 50% 55%;
  transform: rotateX(7deg) rotateY(-8deg) rotateZ(-.6deg);
  animation: brand-tilt 11s cubic-bezier(.45,0,.55,1) infinite;
  animation-play-state: paused;
}
.brand-art img { display: block; width: 100%; height: auto; }
.brand-mark > .brand-fallback {
  display: none;
  color: var(--paper);
  font: inherit;
  letter-spacing: inherit;
}
/* The fallback fits the same graphical logo slot, including enlarged body text. */
.wordmark.brand-mark > .brand-fallback { font-size: 15px; }
.footer-wordmark.brand-mark > .brand-fallback { font-size: clamp(20px, 8vw, 48px); }
body.ready .brand-mark:not(.loaded) > .brand-art { visibility: hidden; }
body.ready .brand-mark:not(.loaded) > .brand-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
body.ready:not(.paused):not(.hidden-page) .brand-mark.loaded.visible > .brand-art { animation-play-state: running; }
@keyframes brand-tilt {
  0%, 100% { transform: rotateX(7deg) rotateY(-8deg) rotateZ(-.6deg); }
  32% { transform: rotateX(-5deg) rotateY(7deg) rotateZ(.4deg); }
  65% { transform: rotateX(4deg) rotateY(10deg) rotateZ(-.3deg); }
}
@media (max-width: 700px) {
  .site-header .wordmark.brand-mark { flex-basis: 152px; width: 152px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark > .brand-art { transform: none; }
}
