@font-face { font-family: "DADS Display"; src: url("fonts/DADSDisplay-Regular.woff") format("woff"); font-display: swap; }
@font-face { font-family: "DADS Display"; font-style: italic; src: url("fonts/DADSDisplay-Italic.woff") format("woff"); font-display: swap; }
@font-face { font-family: "DADS Text"; src: url("fonts/DADSText-Regular.woff") format("woff"); font-display: swap; }
@font-face { font-family: "DADS Text"; font-style: italic; src: url("fonts/DADSText-Italic.woff") format("woff"); font-display: swap; }
@font-face { font-family: "DADS Text"; font-weight: 700; src: url("fonts/DADSText-Bold.woff") format("woff"); font-display: swap; }


:root {
  --bg: #3C3C3C;
  --panel: #232323;
  --line: #5a5a5a;
  --text: #ffffff;
  --soft: #d2d2d2;
  --accent: #00E5FF;
  --display: "DADS Display", "Segoe UI", system-ui, sans-serif;
  --body: "DADS Text", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: .75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.75 var(--body); font-variant-ligatures: none; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--body); font-weight: 400; margin: 0; }
.dads { font-family: var(--display); }
h2 { font-size: clamp(1.15rem, 2.5vw, 1.9rem); line-height: 1.4; }
h3 { font-size: 1.02rem; line-height: 1.4; }
p { margin: 0; color: var(--soft); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(4.5rem, 11vw, 8.5rem); }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 20; background: var(--accent); color: #111; padding: .5rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

.bar { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem var(--gutter); padding-top: calc(.85rem + env(safe-area-inset-top, 0px)); background: rgba(35, 35, 35, .92); backdrop-filter: blur(8px); transition: background .35s; }
.gl .bar:not(.past) { background: transparent; backdrop-filter: none; }
.mark { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: .95rem; letter-spacing: .08em; text-decoration: none; }
.mark img { display: block; width: 2rem; height: 2rem; }
.bar nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2rem); font-size: .9rem; }
.bar nav a { text-decoration: none; color: var(--soft); }
.bar nav a:hover { color: var(--text); }
.bar nav .bar-cta { color: var(--accent); }

/* The story. Without WebGL it is a plain column of text; .gl pins it and scroll plays the scene. */
.story { position: relative; padding: 0; background: var(--panel); }
.stage { position: relative; }
.anchor { display: block; }
#twin, #links, #tags, .rail, .scroll-cue { display: none; }
.chapters { max-width: 72rem; margin-inline: auto; padding: clamp(6rem, 14vw, 9rem) var(--gutter) clamp(3rem, 8vw, 5rem); display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.chapter h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
.chapter h3 + p, .chapter h2 + p { margin-top: .6rem; }
.opening h1 { font-size: clamp(1.2rem, 6.4vw, 3rem); line-height: 1.3; }
.opening h1 span { display: block; }
.tagline { margin-top: 1rem; font-style: italic; font-size: clamp(.68rem, 1.4vw, 1.05rem); text-transform: uppercase; color: var(--accent); }
.eyebrow { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); margin-bottom: 1.5rem; }
.num { font-size: .95rem; color: var(--accent); margin-bottom: .5rem; }
.note { padding: 0 var(--gutter) 2rem; max-width: 72rem; margin-inline: auto; font-size: .8rem; }

.still #twin { display: block; width: 100%; height: 62vh; }

.gl .story { height: 640vh; }
.gl .anchor { position: absolute; top: calc((100% - 100vh) * .225); }
.gl .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.gl #twin { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; }
.gl.ready #twin { opacity: 1; }
.gl .stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; background: linear-gradient(90deg, rgba(20, 20, 20, .86) 18%, transparent 52%), radial-gradient(ellipse at 62% 46%, transparent 45%, rgba(12, 12, 12, .55) 100%); }
.gl .past-opening::after { opacity: 1; }
.gl #links, .gl #tags { display: block; position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .6s; }
.gl .tags-on #links, .gl .tags-on #tags { opacity: 1; }
#links polyline { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
#links path { fill: none; stroke: #fff; stroke-width: 1; }
.tag { position: absolute; left: 0; top: 0; padding: .25rem .6rem; background: rgba(24, 24, 24, .88); border-radius: .4rem; white-space: nowrap; line-height: 1.3; will-change: transform; }
.tag span { display: block; font-size: .68rem; letter-spacing: .08em; color: var(--soft); }
.tag b { font-size: .95rem; font-weight: 400; font-variant-numeric: tabular-nums; color: var(--text); }

.gl .chapters { position: absolute; inset: 0; z-index: 3; max-width: none; padding: 0; display: block; pointer-events: none; }
.gl .chapter { position: absolute; left: var(--gutter); bottom: clamp(5rem, 16vh, 9rem); width: min(27rem, calc(100% - 2 * var(--gutter))); opacity: 0; transform: translateY(1.4rem); transition: opacity .3s, transform .3s; }
.gl .chapter.on { opacity: 1; transform: none; transition: opacity .45s, transform .75s cubic-bezier(.16, 1, .3, 1); }
.gl .chapter.opening { inset: 0; width: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-inline: var(--gutter); text-align: center; }
.gl .opening h1 { font-size: clamp(1.45rem, 4.4vw, 4rem); }
.gl .tagline { opacity: 0; }
.opening-logo { display: none; }
.gl .opening-logo { display: block; width: clamp(8rem, min(30vh, 52vw), 18rem); height: auto; margin-bottom: clamp(1rem, 3vh, 2rem); will-change: transform; }
.gl .mark img { opacity: 0; }
.gl .chapter.closing { width: min(34rem, calc(100% - 2 * var(--gutter))); }
.gl .closing h2 { font-size: clamp(1.25rem, 2.6vw, 2rem); }

.gl .rail { display: block; position: absolute; z-index: 3; right: var(--gutter); top: 50%; width: 1px; height: 7rem; margin-top: -3.5rem; background: rgba(255, 255, 255, .22); }
.gl .rail i { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.gl .scroll-cue { display: block; position: absolute; z-index: 3; left: var(--gutter); bottom: 1.5rem; font-size: .8rem; color: var(--soft); transition: opacity .4s; }
.gl .past-opening .scroll-cue { opacity: 0; }
.gl .note { position: absolute; z-index: 3; right: var(--gutter); bottom: 1.5rem; max-width: 34rem; margin: 0; padding: 0; text-align: right; font-size: .68rem; line-height: 1.5; opacity: .75; text-shadow: 0 0 .4rem #000; }

.reads-band { background: var(--panel); padding-block: 0 clamp(3rem, 7vw, 5rem); }
.gl .reads-band { padding-top: clamp(3rem, 7vw, 5rem); }
.reads { padding: clamp(1.25rem, 3vw, 2rem); background: #2b2b2b; border-left: 3px solid var(--accent); border-radius: var(--radius); }
.reads strong { display: block; margin-bottom: .4rem; color: var(--text); font-weight: 400; font-family: var(--body); }

.benefits { background: var(--panel); padding-top: 0; }
.services { background: var(--bg); }
.service-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.service-grid article { background: var(--panel); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.benefits .service-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.benefits .service-grid article { background: #2b2b2b; }
.service-grid h3 { font-size: 1.25rem; font-weight: 700; }
.service-grid p { margin-top: .7rem; }

.about { background: var(--panel); }
.about-grid { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.about-grid > * { max-width: 56rem; }
.about-grid p + p { margin-top: 1.1rem; }

.contact { text-align: center; }
.lead { margin: 1.25rem auto 0; max-width: 34rem; }
.actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; align-items: center; }
.button { display: inline-block; background: var(--accent); color: #111; padding: .85rem 1.6rem; text-decoration: none; font-size: .95rem; border-radius: var(--radius); }
.button:hover { background: #fff; }
.address { margin-top: 1.25rem; font-size: .92rem; overflow-wrap: anywhere; }

footer { background: var(--panel); padding: 2rem var(--gutter); padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); text-align: center; }
footer p { font-size: .82rem; }

@media (max-width: 52rem) {
  .bar nav a:not(.bar-cta) { display: none; }
  .gl .stage::after { background: linear-gradient(transparent 46%, rgba(20, 20, 20, .9) 74%); }
  .gl .opening h1 { font-size: clamp(1.45rem, 6.4vw, 3rem); }
  .gl .chapter:not(.opening) { bottom: 5rem; }
  .gl .note { left: var(--gutter); right: var(--gutter); bottom: 1rem; max-width: none; text-align: left; }
  .gl .scroll-cue { bottom: 4.5rem; }
  .gl .rail { display: none; }
  .tag b { font-size: .82rem; }
  .tag span { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
