.agf {
  --agf-ink: #16212a;
  --agf-fg: var(--ink, var(--agf-ink));
  --agf-drone-ink: var(--ink, #151c22);
  --agf-muted: color-mix(in srgb, var(--agf-fg) 74%, transparent);
  --agf-text: var(--text, "Ysabeau Office", ui-sans-serif, system-ui, sans-serif);
  --agf-deck: #ece3d2;
  --agf-pad: clamp(22px, 3.4cqw, 56px);
  --agf-gap: clamp(14px, 2.2cqw, 34px);
  position: relative;
  display: block;
  height: 100vh; height: 100svh;
  min-height: 560px; max-height: 1180px;
  overflow: hidden;
  color: var(--agf-fg);
  background: #d9d3c7;
  font: 450 15px/1 var(--agf-text);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
  container: agf / size;
}
.agf[data-variant="a"] { background: #cfc7b7; --agf-deck: #ebe2cf; }
.agf[data-variant="b"] { background: #9fd3d6; --agf-ink: #0d2430; --agf-deck: #f0ece4; }
.agf[data-variant="c"] { background: var(--agf-lake, #8fabc1); --agf-ink: #0e1c27; --agf-deck: #d9dadb; }
.agf[data-variant="d"] { background: #d6c39f; --agf-ink: #1c1810; --agf-deck: #eadfc9; }
.agf > .agf-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; touch-action: pan-y;
}
.agf > .agf-still { position: absolute; inset: 0; background: center / cover no-repeat; display: none; }
.agf.agf-fallback > .agf-canvas { display: none; }
.agf.agf-fallback > .agf-still { display: block; }
.agf > .agf-still-lip {
  position: absolute; left: 0; right: 0; top: 0; display: none; background-repeat: no-repeat; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--agf-lip-fade, 12px)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--agf-lip-fade, 12px)), transparent);
}
.agf.agf-fallback > .agf-still-lip[data-on] { display: block; }
.agf > .agf-still-name {
  position: absolute; inset: 0; display: none; background-repeat: no-repeat; pointer-events: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect;
}
.agf > .agf-still-deck {
  position: absolute; left: 0; right: 0; bottom: 0; display: none; background-repeat: no-repeat; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 calc(100% - var(--agf-deck-fade, 12px)), transparent);
  mask-image: linear-gradient(to top, #000 calc(100% - var(--agf-deck-fade, 12px)), transparent);
}
.agf > .agf-still-deck[data-at="top"] {
  top: 0; bottom: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--agf-deck-fade, 12px)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--agf-deck-fade, 12px)), transparent);
}
.agf > .agf-still-fade { position: absolute; left: 0; right: 0; top: 0; display: none; pointer-events: none; }
.agf.agf-wait > .agf-still-fade[data-on] { display: block; }
.agf > .agf-still-tint { position: absolute; inset: 0; display: none; mix-blend-mode: color; pointer-events: none; }
.agf.agf-fallback > .agf-still-tint[data-on] { display: block; }
.agf::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--agf-fg) 24%, transparent) 0 1px, rgb(255 255 255 / 0.5) 1px 2px);
}
.agf .agf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; }

.agf > .agf-deck {
  position: relative; z-index: 2; box-sizing: border-box;
  --agf-gl: clamp(16px, var(--agf-name-l, var(--agf-pad)), max(var(--agf-pad), 14cqw));
  --agf-gr: clamp(16px, var(--agf-name-r, var(--agf-pad)), max(var(--agf-pad), 14cqw));
  padding: 40px var(--agf-gr) 24px var(--agf-gl);
}
.agf[data-text] > .agf-deck { position: absolute; left: 0; right: 0; }
.agf[data-text] { min-height: max(560px, calc(var(--agf-deck-h, 0px) + 260px)); }
.agf[data-text="coping"] > .agf-deck { top: 0; }
.agf[data-text="sill"] > .agf-deck { bottom: 0; padding-top: 34px; padding-bottom: 30px; }
.agf .agf-nav { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 22px var(--agf-gap); }
.agf .agf-nav, .agf .agf-base { max-width: 1700px; margin-inline: auto; }
.agf .agf-col { min-width: 0; }
.agf .agf-col-wide ul { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: clamp(26px, 2.8cqw, 48px); }
.agf .agf-h { margin: 0 0 11px; font: 640 11px/14px var(--agf-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--agf-muted); }
.agf .agf-deck ul { margin: 0; padding: 0; list-style: none; }
.agf .agf-deck li { break-inside: avoid; }
.agf .agf-deck a {
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
  text-decoration-color: transparent; border-radius: 2px; transition: text-decoration-color 0.2s linear;
  scroll-margin-block: 12px;
}
.agf .agf-deck a:hover { text-decoration-color: currentColor; }
.agf .agf-deck a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; text-decoration-color: transparent; }
.agf .agf-col a { display: inline-block; padding: 4px 0; font: 460 15px/18px var(--agf-text); letter-spacing: 0.003em; }
.agf .agf-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px;
  margin-top: 30px; font: 460 13px/16px var(--agf-text); letter-spacing: 0.01em; color: var(--agf-muted);
}
.agf > .agf-deck[data-content="launch"] { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px var(--agf-gap); }
.agf .agf-short { display: block; margin: 0; }
.agf .agf-short ul { display: flex; flex-wrap: wrap; gap: 0 26px; }
.agf .agf-short a { display: inline-block; padding: 4px 0; font: 460 15px/18px var(--agf-text); letter-spacing: 0.003em; }
.agf [data-content="launch"] > .agf-base { margin: 0; }
.agf .agf-legal { margin: 0; }
.agf .agf-legal-nav ul { display: flex; gap: 0 22px; }
.agf .agf-legal-nav a { display: inline-block; padding: 4px 0; }
.agf .agf-legal-nav a:hover, .agf .agf-legal-nav a:focus-visible { color: var(--agf-fg); }

.agf:not([data-text]) { height: auto; min-height: 0; container-type: inline-size; background: var(--agf-deck); box-shadow: 0 50vh 0 50vh var(--agf-deck); }
.agf:not([data-text]) > .agf-deck { padding: 40px var(--agf-pad) 30px; }

.agf.agf-fallback { background-color: var(--agf-deck); }

.agf[data-text]:not(:has(> .agf-canvas)) { background-color: var(--agf-deck); background-image: var(--agf-standin, none); }
.agf[data-text]:not(:has(> .agf-canvas)) > .agf-deck { visibility: hidden; animation: agf-held 0s 8s forwards; }
@keyframes agf-held { to { visibility: visible; } }
.agf[data-face="wait"] > .agf-deck { visibility: hidden; animation: agf-face 0s 3s forwards; }
@keyframes agf-face { to { visibility: visible; } }

.agf.agf-wait { background-color: var(--agf-deck); }
.agf.agf-wait > .agf-canvas { visibility: hidden; }
.agf.agf-wait > .agf-still { display: block; }
.agf.agf-wait > .agf-still-lip[data-on] { display: block; }
.agf.agf-wait > .agf-still-name[data-on] { display: block; }
.agf.agf-wait > .agf-still-deck[data-on] { display: block; }
.agf.agf-wait > .agf-still-tint[data-on] { display: block; }
.agf.agf-wait > :is(.agf-still, .agf-still-deck, .agf-still-tint) { transform: var(--agf-wait-tf, none); }
.agf.agf-wait { background-image: var(--agf-wait-bg, none); }
.agf > .agf-still-face { position: absolute; left: 0; right: 0; top: 0; display: none; background-repeat: repeat-x; pointer-events: none; }
.agf.agf-wait > .agf-still-face[data-on] { display: block; }

@media (orientation: portrait) {
  .agf[data-text] { height: min(100vh, calc(var(--agf-deck-h, 0px) + 80vw)); height: min(100svh, calc(var(--agf-deck-h, 0px) + 80vw)); }
}

@container agf (max-width: 699.98px) {
  .agf .agf-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; row-gap: 22px; }
  .agf .agf-col a, .agf .agf-legal-nav a { padding: 6px 0; }
  .agf .agf-col-wide { grid-column: span 2; }
  .agf .agf-col-wide ul { display: block; columns: 2; column-gap: var(--agf-gap); }
  .agf > .agf-deck { padding-top: 30px; padding-bottom: 22px; }
  .agf[data-text="sill"] > .agf-deck { padding-top: 28px; padding-bottom: 26px; }
  .agf .agf-base { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 26px; }
  .agf > .agf-deck[data-content="launch"] { display: block; }
  .agf .agf-short ul { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; justify-content: start; column-gap: clamp(40px, 12cqw, 64px); }
  .agf .agf-short a { padding: 6px 0; }
  .agf [data-content="launch"] > .agf-base { margin-top: 22px; }
}
