/* ==========================================================================
   Homepage — rebuilt from the live giangs.art layout (measured at 1440px).
   Shared fonts, nav and footer come from site.css.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.visually-hidden { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 712px;
  padding: 412px 24px 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.constellation :is(polyline, line) {
  fill: none;
  stroke: rgba(255, 255, 255, .55);
  stroke-width: .8;
  stroke-linecap: round;
  transition: stroke 1.6s ease;
}
.constellation .star {
  fill: #fff;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .7));
  transform-box: fill-box;
  transform-origin: center;
  transition: filter 1.6s ease;
}
/* A faint blurred glow sitting behind each sparkle. */
.constellation .star__halo {
  fill: rgba(220, 235, 255, .35);
  filter: blur(2.5px);
}
.js-motion .constellation { animation: drift 14s ease-in-out infinite alternate; }
.js-motion .constellation--b { animation-duration: 18s; animation-delay: -6s; }
.js-motion .constellation--c { animation-duration: 16s; animation-delay: -3s; }

/* Load sequence (site.js sets the lengths and delays): a line draws from star
   to star, each star appears as the line reaches it, then the whole sky lights up. */
.js-motion .hero__stars line {
  stroke: rgba(255, 255, 255, .4);
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: draw-line var(--dur) cubic-bezier(.45, 0, .55, 1) var(--delay) forwards;
}
.js-motion .hero__stars .star {
  opacity: 0;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .6));
  animation: star-in .9s ease-out var(--delay, 0s) forwards;
}
.js-motion .hero__stars.is-lit line { stroke: rgba(255, 255, 255, .7); }
/* Once lit, each sparkle pulses in and out on its own rhythm (set in site.js). */
.js-motion .hero__stars.is-lit .star {
  opacity: 1;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .9)) drop-shadow(0 0 6px rgba(202, 224, 250, .5));
  animation:
    light-up 1.8s ease-out,
    twinkle var(--tw-dur, 3s) ease-in-out calc(1.8s + var(--tw-delay, 0s)) infinite;
}

/* Stars the visitor stamps into the sky by clicking the blue (site.js). Each
   pops in with a ring of light, then twinkles like the rest. */
.hero__stamps .stamp {
  fill: #fff;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .9)) drop-shadow(0 0 6px rgba(202, 224, 250, .5));
  transform-box: fill-box;
  transform-origin: center;
  animation:
    stamp-in .7s cubic-bezier(.3, 1.6, .5, 1) both,
    twinkle var(--tw-dur, 3s) ease-in-out calc(.9s + var(--tw-delay, 0s)) infinite;
}
.hero__stamps .star__halo { fill: rgba(220, 235, 255, .35); filter: blur(2.5px); }
.hero__stamps .stamp__ring {
  fill: none;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: .6;
  transform-box: fill-box;
  transform-origin: center;
  animation: stamp-ring .9s ease-out forwards;
}
@keyframes stamp-in {
  from { opacity: 0; transform: scale(0) rotate(-90deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes stamp-ring {
  from { opacity: 1; transform: scale(.3); }
  to { opacity: 0; transform: scale(3.2); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__stamps .stamp, .hero__stamps .stamp__ring { animation: none; }
  .hero__stamps .stamp__ring { display: none; }
}

.hero__sparkle {
  position: absolute;
  top: 63px;
  left: 76.3%;
  width: clamp(190px, 25.6vw, 369px);
  height: auto;
  max-width: none;
  opacity: .86;
}
.js-motion .hero__sparkle { animation: sparkle 9s ease-in-out infinite; }

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(10px, -8px); }
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes star-in {
  from { opacity: 0; transform: scale(.2); }
  60% { opacity: .9; transform: scale(1.25); }
  to { opacity: .7; transform: scale(1); }
}
@keyframes light-up {
  0% { opacity: .7; transform: scale(1); }
  35% { opacity: 1; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0; transform: scale(.15) rotate(45deg); }
}
/* Parallax (site.js sets --scroll while the hero is on screen): the sky
   lags behind the page, the far constellations a little, the big sparkle
   more. Uses the translate property so it stacks with the sparkle's own
   rotate/scale animation. */
.js-motion .hero__stars { translate: 0 calc(var(--scroll, 0) * .22px); will-change: translate; }
.js-motion .hero__sparkle { translate: 0 calc(var(--scroll, 0) * .4px); will-change: translate; }

@keyframes sparkle {
  0%, 100% { transform: rotate(-42deg) scale(1); opacity: .86; }
  50% { transform: rotate(-30deg) scale(1.06); opacity: 1; }
}

.hero__copy { max-width: 740px; margin-inline: auto; text-align: center; }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 100;
  font-size: 35px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--navy);
}
.hero__title em { font-weight: 300; font-style: italic; color: var(--blue); }

.hero__now {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 10px;
  margin-top: 12px;
  font-weight: 200;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--blue);
}
.hero__now a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -.01em;
  transition: color .2s;
}
.hero__now a:hover { color: var(--navy); }
.mark { flex: none; fill: currentColor; }
.mark--persona { width: 13px; height: 17px; }
.mark--rootly { width: 20px; height: 17px; }

/* Words drift into focus one after another on load. */
.js-motion .hero__title .w {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(8px);
  animation: word-in .9s cubic-bezier(.2, .6, .2, 1) forwards;
  animation-delay: calc(var(--i) * 32ms + 120ms);
}
.js-motion .hero__now { opacity: 0; animation: fade-in .9s ease .95s forwards; }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- Works ---------- */
.works {
  padding: 86px 20px 80px;
  background: linear-gradient(#fff 0%, var(--cream) 100%);
  scroll-margin-top: 0;
}
.works__grid { display: grid; gap: 20px; max-width: 1240px; margin-inline: auto; }
.works__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 32px 21px;
}

.work { display: block; }
/* Every cover is the same size: equal columns and one shared shape (covers
   are cropped to fit). */
.work__media { position: relative; aspect-ratio: 11 / 8; overflow: hidden; border-radius: 8px; background: var(--mist); }
.work__media :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* On hover a soft white veil settles over the cover. */
.work__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .22);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
a.work:hover .work__media::after,
a.work:focus-visible .work__media::after { opacity: 1; }

.work__title {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 19px;
  font-family: var(--font-serif);
  font-weight: 100;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--navy);
}
.work__title svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: currentColor;
  transform: rotate(45deg) scale(.72);
  transition: transform .35s cubic-bezier(.2, .6, .2, 1);
}
a.work:hover .work__title svg,
a.work:focus-visible .work__title svg { transform: rotate(0deg) scale(.9); }

.work__desc { margin-top: 13px; font-size: 16px; line-height: 24px; color: var(--slate); }

/* Tags: quiet outlined pills. */
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 16px; }
.tags li {
  padding: 5px 17px;
  border: 1px solid rgba(2, 33, 97, .22);
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--slate);
}

/* ---------- Beyond designing ---------- */
/* Paper: a warm off-white with fine grain and faint mottling, ruled with a
   very light graph-paper grid whose lines meet at the star field's dots. */
.beyond {
  position: relative;
  background-color: #fdfcf9;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.12'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .02' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)' opacity='.08'/%3E%3C/svg%3E"),
    linear-gradient(rgba(2, 33, 97, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 33, 97, .045) 1px, transparent 1px);
  background-size: 220px 220px, 600px 600px, 30px 30px, 30px 30px;
  background-position: 0 0, 0 0, -.5px -.5px, -.5px -.5px;
}

/* Star field (site.js): a faint grid of tiny stars behind the canvas that
   blooms around the cursor. Its canvas is viewport-sized and sticks while the
   section scrolls past. */
[data-star-trail] { position: relative; isolation: isolate; }
.star-trail { position: absolute; inset: 0; z-index: 0; overflow: clip; pointer-events: none; }
.star-trail canvas { position: sticky; top: 0; display: block; width: 100%; height: 100vh; }

/* The stage: an endless canvas of work you can drag in any direction, with
   the heading floating in the middle. Its top and bottom edges fade out so
   the canvas melts into the sections around it. */
.beyond__stage {
  position: relative;
  height: clamp(680px, 92vh, 920px);
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.beyond__stage.is-dragging { cursor: grabbing; }
.beyond__stage::before,
.beyond__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 170px;
  pointer-events: none;
}
.beyond__stage::before { top: 0; background: linear-gradient(var(--cream), rgba(255, 253, 248, 0)); }
.beyond__stage::after { bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }

/* site.js sizes the canvas to cover the tilted stage and places each piece. */
.beyond__canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--cw, 100%);
  height: var(--ch, 100%);
  transform: translate(-50%, -50%) rotate(-4deg);
}
.beyond__item {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--w, 300px);
  margin: 0;
  aspect-ratio: var(--ratio, 4 / 3);
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
  box-shadow: 0 18px 40px -22px rgba(2, 33, 97, .45);
  will-change: transform;
}
.beyond__item:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.beyond__item img,
.beyond__item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* Captions live inside the picture and rise in on hover. */
.beyond__item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 18px 16px;
  background: linear-gradient(rgba(2, 20, 60, 0), rgba(2, 20, 60, .78));
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s cubic-bezier(.2, .6, .2, 1);
}
@media (hover: hover) {
  .beyond__stage:not(.is-dragging) .beyond__item:hover figcaption { opacity: 1; transform: none; }
}

/* The heading sits in the canvas as one of its pieces (placed by site.js). */
.beyond__head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 28px;
  width: var(--w, 480px);
  padding: 48px 0;
  text-align: center;
  pointer-events: none;
  will-change: transform;
}
.beyond__head h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--navy);
}
@media (min-width: 900px) { .beyond__head h2 { white-space: nowrap; } }
.beyond__head p { max-width: 300px; font-weight: 300; font-size: 16px; line-height: 1.2; letter-spacing: -.01em; color: var(--body); }

@media (prefers-reduced-motion: reduce) {
  .beyond__item figcaption { transition: none; }
}

/* ---------- Scroll reveals ---------- */
.js-motion .work {
  transition:
    opacity .8s cubic-bezier(.2, .6, .2, 1) var(--reveal-delay, 0ms),
    transform .8s cubic-bezier(.2, .6, .2, 1) var(--reveal-delay, 0ms);
}
.js-motion .work:not(.is-visible) { opacity: 0; transform: translateY(24px); }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1100px) {
  .hero { min-height: 0; padding-top: clamp(300px, 34vw, 412px); }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 720px) {
  .hero { padding: 268px 20px 56px; }
  .hero__bg { height: 420px; object-position: 38% top; }
  .hero__stars { height: 420px; }
  .hero__sparkle { top: 84px; left: 62%; }
  .hero__title { font-size: 27px; line-height: 1.06; }
  .hero__now { margin-top: 16px; font-size: 16px; }
  .hero__now span { flex-basis: 100%; }

  .works { padding: 40px 20px 64px; }
  .works__grid { gap: 40px; }
  .works__row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .work__title { margin-top: 16px; }
  .work__desc { margin-top: 10px; }

  .beyond__stage { height: 640px; }
  .beyond__stage::before, .beyond__stage::after { height: 110px; }
  .beyond__head { padding: 32px 0; gap: 20px; }
  .beyond__head h2 { font-size: 34px; }
  .beyond__head p { font-size: 14px; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work__media::after, .work__title svg { transition: none; }
}

/* =====================================================================
   Beyond designing (sketchbook) + footer (night sky).
   ===================================================================== */
/* ---------- Beyond designing: a sketchbook page ---------- */
.sketch {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 120px 0 0;
  border-radius: 0 0 36px 36px;
  background-color: #fff;
  /* Uneven, faint drafting lines, stretched to the section. */
  background-image: url("assets/home/beyond-grid.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 40px 60px -40px rgba(2, 20, 60, .35);
}
/* The case studies above end in plain white too, so the two meet seamlessly. */
.works { background: #fff; }
.sketch__inner {
  position: relative;
  padding-inline: max(20px, (100% - 1240px) / 2);
}
.sketch__head { position: relative; z-index: 1; }
.sketch__title {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 8.4vw, 124px);
  line-height: .95;
  letter-spacing: -.035em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: .35px #3238af;
  paint-order: stroke;
}
/* Handwriting (site.js): the title is redrawn as SVG text, one letter at a
   time, each outline traced in as if by pen when the section comes into view. */
.sketch__title svg { display: block; overflow: visible; }
.sketch__title text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.035em;
  fill: none;
  stroke: #3238af;
  stroke-width: .35px;
}
.sketch__title.is-ready tspan[style] { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.sketch__title.is-writing tspan[style] { animation: sketch-write 1.4s cubic-bezier(.5, .1, .3, 1) forwards; animation-delay: calc(var(--i) * 85ms); }
.sketch__title.is-written tspan[style] { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
@keyframes sketch-write { to { stroke-dashoffset: 0; } }
/* Five grid columns wide (three lines), balanced so no line ends on a lone word. */
.sketch__head p {
  max-width: calc((100% - 11 * 21px) / 12 * 5 + 4 * 21px);
  margin: 18px 0 0;
  text-wrap: balance;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--body);
}

/* The stage: a fixed 1240 × 480 drawing space that scales with the page.
   Pictures sit at --x/--y/--w in those units. */
.sketch__scroll { margin-top: 24px; }
.sketch__stage {
  position: relative;
  aspect-ratio: 1240 / 480;
  container-type: inline-size;
}
.sketch__pic {
  position: absolute;
  left: calc(var(--x) / 1240 * 100%);
  top: calc(var(--y) / 480 * 100%);
  z-index: 2;
  width: calc(var(--w) / 1240 * 100%);
  aspect-ratio: var(--ratio);
  margin: 0;
  padding: .55cqw;
  background: #fff;
  box-shadow: 0 1px 2px rgba(2, 33, 97, .12), 0 22px 40px -24px rgba(2, 33, 97, .5);
  transform: rotate(var(--r));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
/* The pile fades into white at the bottom of the card. */
.sketch__stage::after {
  content: "";
  position: absolute;
  inset: auto -20px 0;
  z-index: 20;
  height: 48%;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 88%);
  pointer-events: none;
}
.sketch__pic img,
.sketch__pic video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* On hover the picture straightens and lifts with a soft shadow, and its
   caption appears just above it (clear of the white fade below). */
.sketch__pic { cursor: zoom-in; }
.sketch__pic figcaption {
  position: absolute;
  left: 2px;
  bottom: calc(100% + 8px);
  width: max-content;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px -8px rgba(2, 33, 97, .35);
  font-size: 13px;
  line-height: 1.3;
  color: var(--navy);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
@media (hover: hover) {
  .sketch__pic:hover { z-index: 10; transform: rotate(0deg) scale(1.03); box-shadow: 0 1px 2px rgba(2, 33, 97, .12), 0 30px 50px -24px rgba(2, 33, 97, .55); }
  .sketch__pic:hover figcaption { opacity: 1; transform: none; }
}
.sketch__pic:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

@media (max-width: 860px) {
  .sketch { padding: 80px 0 0; border-radius: 0 0 24px 24px; }
  .sketch__title { white-space: normal; font-size: 56px; }
  .sketch__head p { max-width: 420px; }
  /* The drawing keeps its size; swipe sideways to see all of it. */
  .sketch__scroll { margin: 24px -20px 0; padding: 0 20px 20px; overflow-x: auto; scrollbar-width: none; }
  .sketch__scroll::-webkit-scrollbar { display: none; }
  .sketch__stage { width: 900px; }
}

/* ---------- Footer: night sky ---------- */
/* The footer stays fixed at the bottom of the window, under the page. The
   page scrolls up off it like a card, revealing it (the margin under main
   makes the room). main carries the page colour and grain so the footer
   never shows through, except at the card's rounded bottom corners. */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  color: #fff;
  background: #0b1fa8;
}
/* The hero sits above the fixed footer too, so the footer can't show through
   it. Its white backing is a pseudo-element (not the hero's own background),
   so the cursor, menu and star stamps still read the blue sky as dark. */
.hero { z-index: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--page); pointer-events: none; }
main {
  position: relative;
  z-index: 1;
  margin-bottom: calc(var(--footer-h, 600px) - 36px);
}
main::before {
  content: "";
  position: absolute;
  inset: 0 0 40px;
  z-index: -1;
  background: var(--grain) 0 0 / 200px 200px, var(--page);
  pointer-events: none;
}
.nf {
  position: relative;
  /* Kept short: never more than about half the window. */
  min-height: min(clamp(340px, 28vw, 420px), 50vh);
  padding: calc(36px + clamp(40px, 4.5vw, 64px)) max(20px, (100% - 1240px) / 2) 32px;
  display: flex;
  flex-direction: column;
}
.nf__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.nf__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.nf__links { display: flex; gap: clamp(60px, 13vw, 170px); }
.nf__links ul { margin: 0; padding: 0; list-style: none; }
.nf__links a {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.nf__cta { display: grid; justify-items: end; color: #fff; text-decoration: none; }
.nf__script {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.nf__connect { font-weight: 300; font-size: 25px; line-height: 1; letter-spacing: -.03em; }
.nf__note {
  margin: auto 0 0;
  padding-top: 40px;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .55);
}

@media (max-width: 860px) {
  main { margin-bottom: calc(var(--footer-h, 560px) - 24px); }
  .nf { padding-top: calc(24px + 48px); min-height: 0; }
  .nf__inner { flex-direction: column-reverse; gap: 36px; }
  .nf__cta { justify-items: start; }
  .nf__script { font-size: 36px; line-height: 1.2; }
  .nf__connect { margin-top: 8px; }
  .nf__links { gap: 64px; }
}
