/* =========================================================
   Brooding Owl Dev: Web Design Studio
   ========================================================= */

:root {
  --bg: #0b0a0c;
  --bg-2: #141216;
  --bg-3: #1c191f;
  --ink: #f3eef0;
  --muted: #8f8792;
  --dim: #2a262d;
  --line: rgba(243, 238, 240, 0.1);
  --accent: #ff2d55;
  --accent-soft: #ff6b85;
  --accent-deep: #9e0f32;
  --glow: 0 0 24px rgba(255, 45, 85, 0.55);

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, canvas { display: block; }
ul { list-style: none; }
em { font-style: normal; color: var(--accent); }

.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow { color: var(--muted); margin-bottom: 24px; }
.link { color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.link:hover { background-size: 100% 1px; color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

section { position: relative; }

.section-head { padding: 0 var(--pad); margin-bottom: clamp(40px, 7vw, 96px); }
.section-title {
  font-size: clamp(44px, 8vw, 128px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -100%;
  z-index: 90; pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 7%); }
  80% { transform: translate(6%, -2%); }
}

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: var(--bg);
  transition: clip-path 1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__eyes { display: flex; gap: 34px; }
.loader__eyes span {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 30px var(--accent), 0 0 80px rgba(255,45,85,.5);
  transform: scaleY(0.05);
  animation: eyeopen 1.4s var(--ease) .2s forwards;
}
@keyframes eyeopen {
  0% { transform: scaleY(.05); }
  40% { transform: scaleY(1); }
  55% { transform: scaleY(.1); }
  70%, 100% { transform: scaleY(1); }
}
.loader__count { font-size: 14px; color: var(--ink); }
.loader__label { color: var(--muted); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js body, .js a, .js button, .js input, .js textarea { cursor: none; }
  .js .cursor { display: block; }
}
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  border-radius: 50%;
}
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--accent); box-shadow: var(--glow);
}
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(243,238,240,.35);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor__label { opacity: 0; color: var(--bg); font-size: 11px; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); }
.cursor.is-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-text .cursor__ring { width: 4px; height: 36px; margin: -18px 0 0 -2px; border-radius: 2px; background: var(--accent); border-color: transparent; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--pad);
  mix-blend-mode: difference;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 32px; height: auto; filter: invert(1); transition: transform .6s var(--ease); }
.nav__brand:hover .nav__logo { transform: rotate(-12deg) scale(1.1); }
.nav__name { font-weight: 700; font-size: 14px; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.nav__links { display: flex; gap: clamp(16px, 3vw, 40px); font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__mobile { display: none; }
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__mobile { display: inline-flex; padding: 10px 16px; border: 1px solid currentColor; border-radius: 100px; }
}

/* ---------- Line reveal (split headings) ---------- */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-in .line > span { transform: none; }
.is-in .line:nth-child(2) > span { transition-delay: .08s; }
.is-in .line:nth-child(3) > span { transition-delay: .16s; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal, html:not(.js) .line > span { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 100px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 820px; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__title {
  font-size: clamp(56px, 11vw, 176px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  margin-bottom: 32px;
}
.hero__title em { color: var(--accent); text-shadow: 0 0 60px rgba(255,45,85,.45); font-weight: 300; font-style: italic; letter-spacing: -0.04em; }
.hero__lede { max-width: 460px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); margin-bottom: 40px; }
.hero__lede { transition-delay: .3s; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; transition-delay: .4s; }

.hero__foot {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 32px;
  display: flex; align-items: center; gap: 20px; color: var(--muted);
}
.hero__scrollbar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scrollbar span { position: absolute; inset: 0; width: 30%; background: var(--accent); animation: scrollbar 2.4s var(--ease-in-out) infinite; }
@keyframes scrollbar { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

@media (max-width: 820px) {
  .hero { justify-content: flex-start; padding-top: calc(76px + 72vw + 16px); padding-bottom: 120px; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px; border-radius: 100px;
  font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .05em;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px) rotate(-45deg); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--primary { background: var(--accent); color: var(--bg); box-shadow: 0 10px 40px -10px rgba(255,45,85,.7); }
.btn--primary::before { background: var(--ink); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn--big { padding: 24px 40px; font-size: 14px; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 28px 0;
  border-block: 1px solid var(--line);
  background: var(--accent); color: var(--bg);
  transform: rotate(-2deg) scale(1.04);
  margin: 40px 0 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  font-size: clamp(32px, 5vw, 72px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase;
  will-change: transform;
}
.marquee__track i { font-style: normal; font-size: .6em; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(120px, 18vw, 240px) var(--pad); }
.manifesto__text {
  font-size: clamp(32px, 5.4vw, 88px);
  font-weight: 600; line-height: 1.04; letter-spacing: -0.035em;
  max-width: 1400px;
}
.manifesto__text .w { color: var(--dim); transition: color .3s; }
.manifesto__text .w.on { color: var(--ink); }
.manifesto__text .w.hot { color: var(--accent); }

/* ---------- Night vision ---------- */
.vision {
  position: relative; height: 110vh; min-height: 640px;
  overflow: hidden; background: #050405;
  --mx: -500px; --my: -500px; --r: 200px;
}
.vision__layer { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--pad); }
.vision__big {
  font-size: clamp(56px, 12vw, 200px);
  font-weight: 800; line-height: .9; letter-spacing: -0.05em; text-align: center;
}
.vision__layer--dim .vision__big { color: #0d0b0e; }
.vision__layer--lit {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 30%, transparent 100%);
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 30%, transparent 100%);
  background: radial-gradient(circle calc(var(--r) * 1.2) at var(--mx) var(--my), rgba(255,45,85,.16), transparent 70%);
}
.vision__layer--lit .vision__big { color: var(--ink); }
.vision__note {
  position: absolute; left: var(--x); top: var(--y);
  color: var(--accent); font-size: 13px; white-space: nowrap;
}

/* ---------- Services ---------- */
.services { padding: clamp(120px, 14vw, 200px) 0; }
.services__list { border-top: 1px solid var(--line); }
.service {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 80px 1.3fr 1fr auto; align-items: center; gap: 32px;
  padding: clamp(28px, 3.5vw, 48px) var(--pad);
  border-bottom: 1px solid var(--line);
  transition: color .5s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  clip-path: inset(50% 0 50% 0);
  transition: clip-path .6s var(--ease);
}
.service:hover { color: var(--bg); }
.service:hover::before { clip-path: inset(0 0 0 0); }
.service__num { color: var(--muted); transition: color .5s; }
.service:hover .service__num { color: var(--bg); }
.service__title { font-size: clamp(32px, 4.6vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; transition: transform .6s var(--ease); }
.service:hover .service__title { transform: translateX(16px); }
.service__desc { color: var(--muted); max-width: 380px; transition: color .5s; }
.service:hover .service__desc { color: var(--bg); }
.service__tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.service__tags li { border: 1px solid var(--line); padding: 6px 12px; border-radius: 100px; transition: border-color .5s; }
.service:hover .service__tags li { border-color: rgba(11,10,12,.3); }

@media (max-width: 960px) {
  .service { grid-template-columns: 48px 1fr; gap: 12px 16px; }
  .service__desc, .service__tags { grid-column: 2; justify-content: flex-start; }
}

/* ---------- Work ---------- */
.work { padding: clamp(80px, 10vw, 160px) 0; }
.work__list { border-top: 1px solid var(--line); }
.project { border-bottom: 1px solid var(--line); }
.project__link {
  display: grid; grid-template-columns: 80px 1fr auto 40px; align-items: center; gap: 12px 24px;
  padding: clamp(28px, 3.4vw, 48px) var(--pad);
  transition: opacity .4s, padding .5s var(--ease);
}
.work__list:hover .project__link { opacity: .3; }
.work__list .project:hover .project__link { opacity: 1; padding-left: calc(var(--pad) + 24px); }
.project__num { color: var(--muted); }
.project__name { font-size: clamp(36px, 6vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; transition: color .3s; }
.project:hover .project__name { color: var(--accent); }
.project__type { color: var(--muted); text-align: right; }
.project__arrow { font-size: 32px; transition: transform .5s var(--ease), color .3s; }
.project:hover .project__arrow { transform: rotate(45deg); color: var(--accent); }
.project__blurb { grid-column: 2 / 4; max-width: 560px; color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }
.project__thumb { display: none; }

@media (max-width: 820px) {
  .project__link { grid-template-columns: 1fr auto; }
  .project__num { display: none; }
  .project__type { grid-column: 1; grid-row: 2; text-align: left; }
  .project__arrow { grid-row: 1 / 3; grid-column: 2; }
  .project__blurb { grid-column: 1 / -1; }
}
/* Touch devices get inline screenshots instead of the floating preview */
@media (hover: none) {
  .preview { display: none; }
  .project__thumb {
    display: block; grid-column: 1 / -1; width: 100%; height: auto; margin-top: 12px;
    border-radius: 12px; border: 1px solid var(--line);
  }
}

.preview {
  --w: clamp(320px, 30vw, 520px);
  position: fixed; top: 0; left: 0; z-index: 50; pointer-events: none;
  width: var(--w); aspect-ratio: 4 / 3;
  margin: calc(var(--w) * -0.375) 0 0 calc(var(--w) * -0.5);
  opacity: 0; transform: scale(.6);
  transition: opacity .35s var(--ease);
}
.preview.is-on { opacity: 1; }
.preview__inner {
  position: relative; width: 100%; height: 100%; border-radius: 14px; overflow: hidden;
  background: var(--bg-3); border: 1px solid rgba(255,45,85,.35);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.85), 0 0 60px -10px rgba(255,45,85,.35);
}
.mock {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .6s var(--ease);
}
.mock.is-on { transform: none; }
.mock.is-above { transform: translateY(-100%); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0f0d10; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.mock__bar i:first-child { background: var(--accent); }
.mock__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.mock img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }

/* ---------- Process (Night shift) ---------- */
.process { --p: 0; height: 500vh; }
.process__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.process__sky {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255,45,85, calc(var(--dawn, 0) * .55)), transparent 60%),
    linear-gradient(180deg,
      color-mix(in srgb, #2a1022 calc((1 - var(--night, 0)) * 100%), #050407),
      var(--bg));
}
.process__moon {
  position: absolute; width: 120px; height: 120px; border-radius: 50%;
  left: calc(28% + var(--p) * 40%);
  top: calc(30% - sin(var(--p) * 3.1416rad) * 18%);
  background: radial-gradient(circle at 35% 35%, #fff4f6, #ffc2cf 60%, #ff6b85);
  box-shadow: 0 0 80px rgba(255,107,133,.45);
  opacity: calc(.15 + var(--night, 0) * .6);
}
.process__head { padding: 0 var(--pad); display: flex; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.process__head .eyebrow { width: 100%; margin-bottom: 0; }
.process__time { font-size: clamp(28px, 4vw, 56px); color: var(--accent); margin-left: auto; text-shadow: var(--glow); }
.process__track { display: flex; gap: 24px; padding: 0 var(--pad); will-change: transform; }
.step {
  flex: 0 0 clamp(300px, 34vw, 520px);
  padding: 36px; border-radius: 20px;
  background: rgba(20,18,22,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  transition: border-color .5s, transform .6s var(--ease);
}
.step.is-active { border-color: rgba(255,45,85,.6); transform: translateY(-10px); }
.step__time { color: var(--accent); display: block; margin-bottom: 64px; }
.step__title { font-size: clamp(40px, 4.4vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; }
.step p { color: var(--muted); }
.process__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; height: 1px; background: var(--line); }
.process__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p)); box-shadow: var(--glow); }

@media (max-width: 820px) {
  .process { height: auto; }
  .process__sticky { position: relative; height: auto; padding: 100px 0; }
  .process__track { flex-direction: column; transform: none !important; }
  .step { flex-basis: auto; }
  .process__time, .process__moon, .process__progress { display: none; }
}

/* ---------- Why ---------- */
.why { padding: clamp(120px, 14vw, 200px) 0; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 var(--pad); perspective: 1000px; }
.why__card {
  position: relative; padding: 36px; min-height: 440px; border-radius: 20px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transform-style: preserve-3d; overflow: hidden;
  transition: border-color .4s;
}
.why__card:nth-child(2) { transition-delay: .1s; }
.why__card:nth-child(3) { transition-delay: .2s; }
.why__card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,45,85,.18), transparent 40%);
  opacity: 0; transition: opacity .4s;
}
.why__card:hover { border-color: rgba(255,45,85,.4); }
.why__card:hover::before { opacity: 1; }
.why__big {
  position: absolute; top: 28px; left: 32px;
  font-size: clamp(56px, 6vw, 96px); font-weight: 800; line-height: .85; letter-spacing: -0.05em;
  color: transparent; background: linear-gradient(180deg, rgba(255,45,85,.55), rgba(255,45,85,0) 110%); -webkit-background-clip: text; background-clip: text;
  transform: translateZ(40px);
}
.why__card h3 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 10px; transform: translateZ(30px); }
.why__card p { color: var(--muted); transform: translateZ(20px); }

@media (max-width: 960px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__card { min-height: 340px; }
}

/* ---------- Contact ---------- */
.contact { padding: clamp(120px, 14vw, 200px) var(--pad); border-top: 1px solid var(--line); }
.contact__title {
  font-size: clamp(44px, 8.4vw, 140px);
  font-weight: 800; line-height: .9; letter-spacing: -0.05em;
  margin-bottom: clamp(56px, 8vw, 120px);
}
.contact__title em { font-weight: 300; font-style: italic; }

.brief { max-width: 1100px; display: grid; gap: 40px; }
.brief__group { border: 0; }
.brief__group legend { color: var(--muted); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 14px 22px; border-radius: 100px; border: 1px solid var(--line);
  font-size: clamp(16px, 1.6vw, 22px); font-weight: 500;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); transform: rotate(-2deg); }
.brief__fields { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.field { display: grid; gap: 10px; }
.field span { color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: clamp(20px, 2vw, 28px); padding: 8px 0; resize: vertical;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field ::placeholder { color: var(--dim); }
.brief .btn { justify-self: start; }
.brief__note { color: var(--muted); text-transform: none; font-size: 13px; }

@media (max-width: 820px) { .brief__fields { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 64px var(--pad) 32px; background: var(--bg-2); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; flex-wrap: wrap; }
.footer__tagline { color: var(--muted); }
.footer__email { font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.footer__giant {
  display: flex; justify-content: space-between;
  margin: clamp(48px, 8vw, 120px) 0 24px;
  font-size: clamp(32px, 9.6vw, 184px); font-weight: 800; line-height: .8; letter-spacing: -0.06em;
  white-space: nowrap;
}
.footer__giant span {
  display: inline-block; color: #221e25;
  transition: color .25s, text-shadow .25s, transform .5s var(--ease);
}
.footer__giant span:hover { color: var(--accent); text-shadow: 0 0 40px rgba(255,45,85,.5); transform: translateY(-8%) rotate(-4deg); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }
.footer__egg { opacity: .4; }
@media (hover: none) { .footer__egg { display: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 160;
  padding: 14px 22px; border-radius: 100px;
  background: var(--accent); color: var(--bg);
  transform: translate(-50%, calc(100% + 48px)); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s .6s;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }

/* ---------- Hoot mode (easter egg) ---------- */
body.hoot { animation: shake .5s; }
@keyframes shake {
  20% { transform: translate(-6px, 3px); }
  40% { transform: translate(5px, -4px); }
  60% { transform: translate(-4px, -2px); }
  80% { transform: translate(3px, 4px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .line > span { opacity: 1 !important; transform: none !important; }
  .grain { display: none; }
}
