/* Phase A: the established E1 identity, with only the essential invitations. */
:root {
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --teaser-gutter: clamp(1.25rem, 4vw, 4rem);
  --teaser-section: clamp(2rem, 4vw, 4rem);
  --teaser-small: 0.75rem;
  --teaser-body: 1rem;
  --teaser-heading: 1.5rem;
}
body.teaser { background: var(--paper); }
.teaser-sheet { width: min(100%, 1320px); margin-inline: auto; padding-inline: var(--teaser-gutter); }
.teaser-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-8); }
.teaser-label { font: 400 var(--teaser-small)/1.5 var(--font-mono); letter-spacing: .08em; color: var(--muted); }
.replay, .text-button { font: inherit; font-size: var(--teaser-small); color: var(--muted); background: transparent; border: 0; padding: var(--space-2) 0; cursor: pointer; }
.replay:hover, .text-button:hover { color: var(--ink); }
.teaser-hero { padding-block: clamp(3rem, 7vw, 7rem) clamp(6rem, 12vw, 11rem); }
.teaser .brand-tagline { margin-top: var(--space-8); }
.teaser .holdings { font-size: max(.75rem, .3em); }
.teaser-connect { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.teaser-column { padding-block: var(--teaser-section); min-width: 0; }
.teaser-column:first-child { padding-right: var(--teaser-section); }
.teaser-column:last-child { border-left: 1px solid var(--line); padding-left: var(--teaser-section); }
.teaser h2 { font-size: var(--teaser-heading); font-weight: 500; line-height: 1.3; margin-block: 0 var(--space-3); }
.teaser-column > p, .teaser-agents p { color: var(--muted); font-size: var(--teaser-body); line-height: 1.6; margin: 0; }
.teaser-email { display: block; width: fit-content; font-size: clamp(1.125rem, 1.8vw, 1.5rem); text-underline-offset: .25em; text-decoration-thickness: 1px; }
.text-button { display: block; margin-top: var(--space-2); }
.teaser-form-row { display: flex; align-items: stretch; margin-top: var(--space-6); border-bottom: 1px solid var(--ink); }
.teaser-form-row input { min-width: 0; width: 100%; background: transparent; border: 0; border-radius: 0; color: var(--ink); font: inherit; padding: var(--space-3) var(--space-2) var(--space-3) 0; }
.teaser-form-row input::placeholder { color: var(--muted); opacity: 1; }
.teaser-form-row button { flex-shrink: 0; background: transparent; border: 0; font: inherit; font-size: .875rem; color: var(--ink); padding: var(--space-3) 0 var(--space-3) var(--space-3); cursor: pointer; }
.teaser-form-row button:hover { color: var(--signal); }
.teaser-fine { font-size: var(--teaser-small); color: var(--muted); line-height: 1.6; margin: var(--space-3) 0 0; max-width: 50ch; }
.teaser-feedback { display: block; font-size: .875rem; line-height: 1.6; margin-top: var(--space-3); }
.teaser-feedback:empty { display: none; }
.draft-link { display: inline-block; margin-top: var(--space-3); font-size: .875rem; text-underline-offset: .25em; }
.draft-link[hidden] { display: none; }
.teaser-agents { display: flex; justify-content: space-between; align-items: center; gap: var(--space-8); padding-block: var(--space-8); border-bottom: 1px solid var(--line); }
.teaser-agents h2 { font-size: var(--teaser-body); margin: 0 0 var(--space-2); }
.agent-dot { display: inline-block; vertical-align: middle; width: 6px; height: 6px; margin-right: var(--space-2); background: var(--silver-finish); border: 1px solid var(--signal); border-radius: 50%; }
.teaser-agents p { font-size: .875rem; }
.teaser-agents nav { display: flex; gap: var(--space-6); flex-shrink: 0; }
.teaser-agents a { font: 400 var(--teaser-small)/1.5 var(--font-mono); text-underline-offset: .3em; }
.teaser-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); color: var(--muted); font-size: var(--teaser-small); padding-block: var(--space-6) var(--space-8); line-height: 1.6; }
.registered-office { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .teaser-connect { grid-template-columns: 1fr; }
  .teaser-column:first-child { padding-right: 0; }
  .teaser-column:last-child { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .teaser-agents { flex-direction: column; align-items: flex-start; gap: var(--space-5); }
  .teaser-hero { padding-block: var(--space-12) 6rem; }
  .teaser-header { padding-block: var(--space-6); }
  .teaser .brand-tagline { font-size: .78125rem; }
}
@media (max-width: 360px) {
  .teaser .brand-identity { --brand-word: 7.7vw; }
  .teaser .brand-tagline { margin-left: 0; }
  .teaser-form-row { flex-wrap: wrap; }
  .teaser-form-row button { padding-left: 0; }
}

/* Arrival: a faulty wire catching. Hard cuts, uneven intervals, then steady.
   Content fades onto the paper, so overall screen luminance changes little.
   Skipped entirely for reduced-motion settings. */
.wire-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: 0;
  background: repeating-linear-gradient(to bottom, rgba(27,26,23,.05) 0 1px, transparent 1px 3px);
}
@keyframes wire-fault {
  0%   { opacity: 0; }
  5%   { opacity: .9;  transform: translateX(1px); }
  7%   { opacity: .05; transform: none; }
  12%  { opacity: 1;   filter: contrast(1.25); }
  14%  { opacity: .2;  filter: none; }
  20%  { opacity: .85; transform: translateX(-1px); }
  22%  { opacity: 0;   transform: none; }
  33%  { opacity: 0; }
  35%  { opacity: 1;   filter: contrast(1.3) blur(.3px); }
  37%  { opacity: .35; filter: none; }
  40%  { opacity: 1; }
  52%  { opacity: 1; }
  54%  { opacity: .5;  transform: translateX(1px); }
  56%  { opacity: 1;   transform: none; }
  100% { opacity: 1; }
}
/* The mark keeps stuttering briefly after the page holds, like a sign catching. */
@keyframes wire-sign {
  0%, 60% { opacity: 1; }
  62% { opacity: .15; }
  64% { opacity: 1; }
  70% { opacity: 1; }
  71% { opacity: .3; }
  73% { opacity: .9; }
  74% { opacity: .1; }
  78% { opacity: 1; }
  100% { opacity: 1; }
}
/* The tagline is a second circuit: it catches just after the lockup settles,
   so the eye moves from the name to the line beneath it. */
@keyframes wire-tagline {
  0%, 79% { opacity: 1; }
  80% { opacity: .2; }
  82% { opacity: 1; }
  86% { opacity: .35; }
  88% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes wire-scan {
  0%, 30% { opacity: 1; }
  34% { opacity: .2; }
  36%, 50% { opacity: .8; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  body.is-powering .teaser-sheet { animation: wire-fault 1.3s steps(1, end) both; }
  body.is-powering .teaser-hero .symbol-albers,
  body.is-powering .teaser-hero .name,
  body.is-powering .teaser-hero .holdings { animation: wire-sign 2.2s steps(1, end) both; }
  body.is-powering .teaser-hero .brand-tagline { animation: wire-tagline 2.2s steps(1, end) both; }
  body.is-powering .wire-overlay { animation: wire-scan 1.6s steps(1, end) both; }
}

/* During the flicker the lower sections stay faded into the paper. Each then
   rises in and catches with its own short flicker, top to bottom, so the page
   appears to power up section by section. The footer is the last to flicker. */
@keyframes lower-build {
  0%   { opacity: .14; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  70%  { opacity: 1;   animation-timing-function: steps(1, end); }
  75%  { opacity: .25; animation-timing-function: steps(1, end); }
  78%  { opacity: 1;   animation-timing-function: steps(1, end); }
  83%  { opacity: .4;  animation-timing-function: steps(1, end); }
  86%  { opacity: .9;  animation-timing-function: steps(1, end); }
  88%  { opacity: .15; animation-timing-function: steps(1, end); }
  92%  { opacity: 1; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  body.is-powering .teaser-connect { animation: lower-build 1s 1.3s both; }
  body.is-powering .teaser-agents  { animation: lower-build 1s 1.5s both; }
  body.is-powering .teaser-footer  { animation: lower-build 1s 1.7s both; }
}

/* Contact and subscribe forms */
.email-line { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-6); }
.copy-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; background: transparent; border: 0; color: var(--muted); cursor: pointer; }
.copy-icon:hover, .copy-icon:focus-visible { color: var(--ink); }
.copy-icon svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: opacity 160ms ease; }
.copy-icon .icon-done { opacity: 0; }
.copy-icon.is-done .icon-copy { opacity: 0; }
.copy-icon.is-done .icon-done { opacity: 1; }
.copy-feedback { font-size: var(--teaser-small); color: var(--muted); }
.wk-form { margin-top: var(--space-8); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-6); }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--teaser-small); color: var(--muted); letter-spacing: .02em; }
.optional { color: var(--muted-light); }
.field input, .field textarea { width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; color: var(--ink); font: inherit; font-size: var(--teaser-body); padding: var(--space-2) 0; }
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-6); margin-top: var(--space-5); }
.form-foot .teaser-fine { margin: 0; }
.submit { flex-shrink: 0; background: transparent; border: 0; border-bottom: 1px solid var(--ink); font: inherit; font-size: .875rem; color: var(--ink); padding: var(--space-2) 0; cursor: pointer; }
.submit:hover { color: var(--signal); border-color: var(--signal); }
.submit:disabled { opacity: .5; cursor: progress; }
.teaser-feedback.is-error { color: #8a3b2c; }
@media (max-width: 700px) {
  .field-grid { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; gap: var(--space-4); }
}

/* Email lives in the footer as a secondary channel; the form leads. */
.footer-email { width: 100%; margin-top: 0; gap: var(--space-1, .25rem); }
.footer-email-link { color: var(--muted); text-underline-offset: .25em; text-decoration-thickness: 1px; }
.footer-email-link:hover { color: var(--ink); }
.footer-email .copy-icon { width: 32px; height: 32px; margin-block: -8px; }
.footer-email .copy-icon svg { width: 15px; height: 15px; }

/* Descriptor sits on the Holdings line: same size, quieter colour. */
.teaser .holdings-aside { color: var(--muted); font-size: max(.6875rem, .85em); }
.teaser .holdings-dash { color: var(--muted-light); }
/* Agents: under construction sign, a slow lamp pulse. */
.teaser-agents p.construction-sign { display: inline-flex; align-items: center; gap: .55em; margin-top: var(--space-4); padding: .4rem .7rem; border: 1px solid var(--line-strong); font: 400 var(--teaser-small)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.construction-lamp { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: wk-lamp 2.4s ease-in-out infinite; }
.construction-sign { animation: wk-sign 2.4s ease-in-out infinite; }
@keyframes wk-lamp { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes wk-sign { 0%, 100% { opacity: 1; } 50% { opacity: .62; } }
@media (prefers-reduced-motion: reduce) { .construction-lamp, .construction-sign { animation: none; } }
