/* Hallmark · shape: monumental brand aperture · genre: modern-minimal · theme: brand · redesign: hero
 * hero: wordmark cutout · nav: stable bar · footer: retained · signature: the domains inside the approved mark · v2.0.0 */
/* Critique: make the brand the architecture, with compact domain previews and immediate actions. */
/* Hallmark · answered F7 · six image links share a compact frame; the wordmark remains unframed and the discipline panels have distinct material roles. */
/* User direction: static grain and floating domain previews are deliberate homepage exceptions to the otherwise still, untextured system. */
:root {
  --ap-surface: var(--white);
  --ap-card-surface: var(--white);
  --ap-ink: #0a0a0c;
  --ap-secondary: #53535c;
  --ap-line: rgb(10 10 12 / 0.16);
  --ap-card-line: rgb(10 10 12 / 0.1);
  --ap-paper: #f5f5f7;
  --ap-texture-opacity: 0.035;
  --ap-grain-filter: none;
  --ap-accent: var(--crimson);
  --ap-card-shadow: 0 12px 28px -16px rgb(5 5 6 / 0.32), 0 2px 5px rgb(5 5 6 / 0.04);
  --ap-mark-shade: rgb(5 5 6 / 0.25);
  --ap-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --ap-cutout: url('/assets/brand/lockup-mask.svg');
  --ap-symbol: url('/assets/brand/v-mark-mask.svg');
  --ap-scene-duration: 700ms;
  --ap-float-duration: 9s;
}
/* Theme the hero locally; the white Protection panel keeps its own material. */
.aperture-hero {
  --paper: var(--ap-surface); --ink: var(--ap-ink); --ink-2: var(--ap-secondary); --ink-3: var(--ap-secondary); --ink-4: var(--ap-secondary);
  --paper-2: var(--ap-paper); --paper-3: var(--ap-paper); --line-2: var(--ap-line); --accent-text: var(--ap-accent);
  isolation: isolate; color: var(--ap-ink); background: var(--ap-surface);
  padding-block: calc(var(--header-h) + 36px) 56px;
}
:root[data-theme="dark"] .aperture-hero {
  --ap-surface: var(--night);
  --ap-card-surface: var(--night-2);
  --ap-ink: var(--night-ink);
  --ap-secondary: var(--night-ink-2);
  --ap-paper: var(--night-3);
  --ap-line: rgb(255 255 255 / 0.16);
  --ap-card-line: rgb(255 255 255 / 0.15);
  --ap-accent: var(--crimson-300);
  --ap-card-shadow: none;
  --ap-grain-filter: invert(1);
  --ap-mark-shade: rgb(255 255 255 / 0.16);
}
.aperture-hero__grain { position: absolute; inset: 0; z-index: -1; background-image: var(--ap-grain); background-size: 240px 240px; filter: var(--ap-grain-filter); opacity: var(--ap-texture-opacity); pointer-events: none; }
.aperture-hero__stage { position: relative; height: clamp(360px, 30vw, 460px); }
.aperture-hero__mark {
  position: absolute; inset: 50% 0 auto; transform: translateY(-50%); aspect-ratio: 2168 / 296;
  background: var(--night); -webkit-mask: var(--ap-cutout) center / contain no-repeat; mask: var(--ap-cutout) center / contain no-repeat;
}
.aperture-hero__mark::after { content: ''; position: absolute; inset: 0; background: var(--ap-mark-shade); pointer-events: none; }
.aperture-hero__scene { position: absolute; inset: 0; opacity: 0; transition: opacity var(--ap-scene-duration) ease; }
.aperture-hero__scene.is-active { opacity: 1; }
.aperture-hero__scene > :is(img, video) { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
/* A scene's video sits over its poster image until it plays */
.aperture-hero__scene > video { position: absolute; inset: 0; }
.aperture-hero__scene[data-hero-scene="cyber"] > :is(img, video) { object-position: center 60%; }
.aperture-hero__domains { position: absolute; inset: 0; pointer-events: none; }
.domain-glimpse { position: absolute; width: clamp(120px, 10.5vw, 152px); pointer-events: auto; border-radius: var(--r-sm); transform: rotate(var(--angle, 0deg)); color: var(--ap-ink); }
.domain-glimpse__float { display: block; background: var(--ap-card-surface); border: 1px solid var(--ap-card-line); border-radius: inherit; padding: 4px; box-shadow: var(--ap-card-shadow); animation: ap-suspend var(--ap-float-duration) ease-in-out infinite; animation-delay: var(--delay, 0s); transition: border-color var(--t-fast) var(--ease-soft); }
.domain-glimpse__media { display: block; overflow: clip; aspect-ratio: 2 / 1; border-radius: 5px; background: var(--night); }
.domain-glimpse__media > :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; }
.domain-glimpse__media > img { animation: ap-survey 18s ease-in-out infinite alternate; animation-delay: var(--delay, 0s); }
.domain-glimpse__label { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 8px 4px 4px; font-size: var(--fs-label); line-height: 1.2; font-weight: 550; }
.domain-glimpse__label vm-icon { flex: none; color: var(--ap-secondary); }
.domain-glimpse[data-preview-active] .domain-glimpse__float { border-color: var(--ap-accent); }
.domain-glimpse:focus-visible .domain-glimpse__float { animation-play-state: paused; border-color: var(--ap-ink); }
@media (hover: hover) { .domain-glimpse:hover .domain-glimpse__float { animation-play-state: paused; border-color: var(--ap-ink); } }
.domain-glimpse:focus-visible { outline: 2px solid var(--ap-ink); outline-offset: 5px; }
.domain-glimpse--air { left: 7%; top: 8px; --angle: -4deg; --delay: -2s; }
.domain-glimpse--sea { left: 43%; top: 0; --angle: 3deg; --delay: -5s; }
.domain-glimpse--land { right: 5%; top: 10px; --angle: -3deg; --delay: -7s; }
.domain-glimpse--orbit { left: 17%; bottom: 4px; --angle: 3deg; --delay: -6s; }
.domain-glimpse--infrastructure { left: 52%; bottom: 0; --angle: -3deg; --delay: -1s; }
.domain-glimpse--cyber { right: 1%; bottom: 6px; --angle: 4deg; --delay: -4s; }
.aperture-hero__copy { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: 64px; margin-top: 40px; }
.aperture-hero h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); line-height: 1.04; letter-spacing: var(--tracking-mega); max-width: 21ch; min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
.aperture-hero__lead { max-width: 40ch; font-size: var(--fs-lead); line-height: 1.45; color: var(--ap-secondary); }
.aperture-hero__actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.aperture-hero__actions .btn { white-space: nowrap; }
.aperture-hero__motion { position: absolute; left: 0; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ap-line); border-radius: var(--r-xs); background: var(--ap-card-surface); color: var(--ap-secondary); transition: color var(--t-fast) var(--ease-soft), background-color var(--t-fast) var(--ease-soft); }
.aperture-hero__motion:active { background: var(--ap-paper); color: var(--ap-ink); }
.domain-glimpse:active .domain-glimpse__float { border-color: var(--ap-accent); }
@media (hover: hover) { .aperture-hero__motion:hover { color: var(--ap-ink); background: var(--ap-paper); } }
.aperture-hero__motion:focus-visible { outline: 2px solid var(--ap-ink); outline-offset: 3px; }
.aperture-hero__motion vm-icon { grid-area: 1 / 1; }
.aperture-hero__motion vm-icon[name="play"], .aperture-hero__motion[aria-pressed="true"] vm-icon[name="pause"] { display: none; }
.aperture-hero__motion[aria-pressed="true"] vm-icon[name="play"] { display: inline-flex; }
.aperture-hero[data-paused="true"] :is(.domain-glimpse__float, .domain-glimpse__media > img) { animation-play-state: paused; }
html:not(.js) .aperture-hero__motion { display: none; }
@keyframes ap-suspend { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ap-survey { from { transform: scale(1.02) translateX(-1%); } to { transform: scale(1.12) translateX(1%); } }
/* Three distinct materials, with their demonstrations integrated into each panel. */
.page-home .pillars__stack { gap: 24px; }
.page-home .pillar { padding: clamp(32px, 4.5vw, 64px); min-height: 500px; border: 1px solid var(--line-2); border-radius: var(--r-md); gap: 48px; }
.page-home .pillar--night { --ink: var(--night-ink); --ink-2: var(--night-ink-2); --accent-text: var(--night-ink); background: var(--night-1); border-color: var(--night-line); }
.page-home .pillar--crimson { --ink: var(--white); --ink-2: var(--white); --accent-text: var(--white); background: var(--crimson); border-color: var(--crimson); }
.page-home .pillar--paper { --ink: var(--ap-ink); --ink-2: var(--ap-secondary); --accent-text: var(--crimson); background: var(--white); border-color: var(--ap-line); }
.page-home .pillar__title { font-size: clamp(2.5rem, 5.3vw, 4.75rem); letter-spacing: var(--tracking-mega); }
.page-home .pillar__num { color: var(--ink-2); font-size: var(--fs-label); }
.page-home .pillar__lead { max-width: 28ch; }
.page-home .pillar__art { background: none; padding: 24px; min-height: 360px; }
.page-home .pillar__art .radar { max-width: 380px; }
.page-home .pillar--crimson .lockdemo { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; padding: 0; }
.page-home .pillar--crimson .lockdemo__list { max-width: 300px; }
.page-home .pillar--paper .pillar__art { --line-2: var(--ap-line); }
.page-home .pillar--paper .shieldart { width: min(75%, 290px); }
.page-home .shieldart__check { stroke-dashoffset: 0; }
.page-home .pillar--paper .shieldart__tag { background: var(--white); color: var(--ap-ink); border-color: var(--ap-line); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (min-width: 1101px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  .page-home .pillar { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 12px); transform: scale(calc(1 - var(--cover) * 0.025)); }
}
@media (max-width: 1100px) {
  .aperture-hero__copy { gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .aperture-hero__actions { gap: 8px; }
  .aperture-hero__actions .btn { padding-inline: 16px; }
}
@media (max-width: 900px) {
  .aperture-hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
  .aperture-hero__stage { height: 320px; }
  .aperture-hero__motion { left: 31%; bottom: 16px; }
  .domain-glimpse { width: 108px; }
  .domain-glimpse__label { font-size: var(--fs-badge); }
  .domain-glimpse--air { left: 3%; }
  .domain-glimpse--orbit { left: 8%; }
  .domain-glimpse--sea { left: 42%; }
  .domain-glimpse--infrastructure { left: 45%; }
  .aperture-hero__copy { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
  .aperture-hero h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); }
  .aperture-hero__lead { max-width: 48ch; }
  .aperture-hero__actions { gap: 12px; }
  .page-home .pillar { min-height: 0; padding: 40px; }
  .page-home .pillar__art { min-height: 300px; }
}
@media (max-width: 600px) {
  .aperture-hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 40px; }
  .aperture-hero__stage { height: 260px; }
  .aperture-hero__mark { inset: 50% 30% auto; aspect-ratio: 424 / 276; -webkit-mask-image: var(--ap-symbol); mask-image: var(--ap-symbol); }
  .domain-glimpse { width: 90px; }
  .domain-glimpse__float { padding: 4px; }
  .domain-glimpse__media { aspect-ratio: 2.1 / 1; }
  .domain-glimpse__label { padding: 8px 4px 4px; font-size: 11px; }
  .domain-glimpse__label vm-icon { display: none; }
  .domain-glimpse--air { left: 0; top: 0; }
  .domain-glimpse--sea { left: 0; top: 94px; }
  .domain-glimpse--land { left: 0; top: auto; bottom: 0; right: auto; }
  .domain-glimpse--orbit { left: auto; right: 0; top: 0; bottom: auto; }
  .domain-glimpse--infrastructure { left: auto; right: 0; top: 94px; bottom: auto; }
  .domain-glimpse--cyber { right: 0; bottom: 0; }
  .aperture-hero__copy { gap: 20px; margin-top: 32px; }
  .aperture-hero h1 { font-size: clamp(2.125rem, 8.8vw, 3rem); max-width: 17ch; }
  .aperture-hero__lead { font-size: var(--fs-body); max-width: 34ch; }
  .aperture-hero__actions { margin-top: 20px; gap: 8px; }
  .aperture-hero__actions .btn { font-size: var(--fs-small); padding-inline: 12px; min-height: 48px; }
  .aperture-hero__motion { left: 50%; bottom: 12px; transform: translateX(-50%); width: 44px; height: 44px; }
  .page-home .pillar { padding: 32px 24px; gap: 24px; }
  .page-home .pillar__title { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .page-home .pillar__art { padding: 16px 0; min-height: 280px; }
  .page-home .pillar--paper .shieldart { width: min(75%, 240px); }
}
@media (max-width: 359px) {
  /* 84px cards hold "Infrastructure" at 11px with room to spare (at 76px and 10px it met
     the card's edge); the mark gives up 2% each side so its tips stay clear of them. */
  .domain-glimpse { width: 84px; --angle: 0deg; }
  .domain-glimpse__label { font-size: 11px; }
  .aperture-hero__mark { inset: 50% 32% auto; }
  .aperture-hero__stage { height: 240px; }
  .domain-glimpse--sea, .domain-glimpse--infrastructure { top: 88px; }
  .aperture-hero__actions { column-gap: 8px; }
}
/* Entry (first paint, CSS only): the aperture settles in from 1.015, the headline
   follows at +60ms, the brief at +140ms, and the domain cards rise from 160ms,
   40ms apart. translate and scale leave each element's own transform alone. */
@keyframes vm-mark-in { from { opacity: 0; scale: 1.015; } }
@media (prefers-reduced-motion: no-preference) {
  .aperture-hero__mark { animation: vm-mark-in 700ms var(--ease-out) backwards; }
  .aperture-hero__copy h1 { animation: vm-enter var(--t-enter) var(--ease-out) 60ms backwards; }
  .aperture-hero__brief { animation: vm-enter var(--t-enter) var(--ease-out) 140ms backwards; }
  .domain-glimpse { animation: vm-enter var(--t-enter) var(--ease-out) backwards; animation-delay: calc(160ms + var(--n, 0) * 40ms); }
  .domain-glimpse--air { --n: 0; }
  .domain-glimpse--sea { --n: 1; }
  .domain-glimpse--land { --n: 2; }
  .domain-glimpse--orbit { --n: 3; }
  .domain-glimpse--infrastructure { --n: 4; }
  .domain-glimpse--cyber { --n: 5; }
  /* Arriving through the page cross-fade (or Back/Forward), theme-boot.js sets
     .vt-arrival before the first frame: the fade is the entrance, so the hero is
     already in place. A direct first load keeps the entry above. */
  .vt-arrival :is(.aperture-hero__mark, .aperture-hero__copy h1, .aperture-hero__brief, .domain-glimpse) { animation: none; }
}
@media print {
  :is(.aperture-hero__mark, .aperture-hero__copy h1, .aperture-hero__brief, .domain-glimpse) { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aperture-hero__scene { transition: none; }
  .domain-glimpse__float, .domain-glimpse__media > img { animation: none; }
  .page-home .pillar { transform: none; }
}
