:root {
  --bg: #071018;
  --bg-soft: #0e1c27;
  --panel: #101d28;
  --panel-deep: #0c1720;
  --ink: #edf6fb;
  --muted: #9aadb8;
  --muted-dark: #617782;
  --line: rgba(237, 246, 251, 0.15);
  --line-soft: rgba(237, 246, 251, 0.08);
  --accent: #65c7ff;
  --accent-bright: #b9e9ff;
  --secondary: #2f7ea6;
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--bg);
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% -12%, rgba(101, 199, 255, 0.17), transparent 25rem),
    radial-gradient(circle at 8% 38%, rgba(47, 126, 166, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0%, #091721 48%, #060c11 100%);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: 0.28;
  background-image:
    radial-gradient(rgba(170, 226, 255, 0.13) 0.55px, transparent 0.55px),
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 8px 8px, 5px 5px, 5px 5px;
  mix-blend-mode: screen;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: 0.26;
  background:
    radial-gradient(circle at center, transparent 18%, rgba(0, 5, 9, 0.2) 100%),
    repeating-linear-gradient(118deg, transparent 0 9rem, rgba(130, 207, 245, 0.022) 9.05rem, transparent 9.1rem 20rem);
}

::selection {
  color: var(--bg);
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
  touch-action: manipulation;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

iframe {
  border: 0;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(6rem, 12vw, 12rem);
}

section[id] {
  scroll-margin-top: 6.5rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--bg);
  background: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(101, 199, 255, 0.75);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
}

.ambient--one {
  top: 34%;
  left: -25rem;
  background: var(--secondary);
}

.ambient--two {
  right: -24rem;
  bottom: 12%;
  background: var(--accent);
}

.custom-cursor {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  pointer-events: none;
  border: 1px solid var(--accent-bright);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease, background 180ms ease, opacity 180ms ease;
  mix-blend-mode: difference;
}

.has-cursor .custom-cursor {
  opacity: 1;
}

.has-cursor .custom-cursor.is-hovering {
  width: 34px;
  height: 34px;
  background: rgba(185, 233, 255, 0.16);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 5.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  color: var(--bg);
  background: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.brand-copy,
.header-cta,
.eyebrow,
.hero-kicker,
.section-kicker,
.video-meta,
.portrait-topline,
.portrait-caption,
.visual-coordinate,
.hero-footer-note,
.service-number,
.footer-inner,
.contact-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.brand-copy {
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.brand-copy span {
  margin-inline: 0.28rem;
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3.25rem);
  margin-left: auto;
  margin-right: clamp(1.5rem, 4vw, 4rem);
}

.desktop-nav a,
.header-cta {
  position: relative;
  color: var(--muted);
  font-size: 0.67rem;
  transition: color 220ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  content: '';
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.header-cta:hover {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav a span {
  margin-left: 0.3rem;
  color: var(--muted-dark);
  font-size: 0.56rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.9rem;
  color: var(--bg);
  background: var(--accent);
  transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease-out);
}

.header-cta:hover {
  color: var(--bg);
  background: var(--accent-bright);
  transform: translateY(-2px);
}

.header-cta span,
.text-link span,
.button span,
.arrow-link span,
.contact-arrow,
.site-footer a span {
  display: inline-block;
  transition: transform 220ms var(--ease-out);
}

.header-cta:hover span,
.text-link:hover span,
.button:hover span,
.arrow-link:hover span,
.contact-item:hover .contact-arrow,
.site-footer a:hover span {
  transform: translate(3px, -3px);
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.28rem auto;
  background: var(--ink);
  transition: transform 220ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(0.18rem) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-0.18rem) rotate(-45deg);
}

.mobile-nav {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin: 0 auto;
  padding: 0.25rem 0 1.25rem;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.mobile-nav a span {
  color: var(--accent);
}

.hero {
  display: flex;
  min-height: min(55rem, calc(100svh - 5.4rem));
  align-items: center;
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.63rem;
}

.eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(101, 199, 255, 0.8);
}

.hero-kicker {
  margin: clamp(2.5rem, 7vw, 5.5rem) 0 1rem;
  color: var(--accent);
  font-size: clamp(0.64rem, 1vw, 0.8rem);
  font-weight: 500;
}

.hero-title,
.section-title,
.service-title,
.contact-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.86;
  text-wrap: balance;
}

.hero-title {
  max-width: 9ch;
  color: var(--ink);
  font-size: clamp(4.1rem, 10.6vw, 10.7rem);
}

.hero-title span,
.hero-title em {
  display: block;
}

.hero-title-indent {
  padding-left: 0.78em;
}

.hero-title em,
.section-title em,
.service-title em,
.contact-title em {
  color: var(--accent);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.09em;
}

.hero-title em {
  font-size: 1.08em;
  line-height: 0.76;
}

.hero-intro {
  max-width: 28rem;
  margin: clamp(2rem, 4vw, 3.3rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.35;
}

.hero-intro strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 1.8rem;
  padding: 0.95rem 1rem 0.95rem 1.2rem;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease-out);
}

.button--primary {
  color: var(--bg);
  background: var(--accent);
}

.button--primary:hover {
  background: var(--accent-bright);
  transform: translateY(-3px);
}

.text-link,
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 220ms ease;
}

.text-link:hover,
.arrow-link:hover {
  color: var(--accent-bright);
}

.hero-footer-note {
  display: flex;
  gap: 1rem;
  margin-top: clamp(3.5rem, 9vw, 7rem);
  color: var(--muted-dark);
  font-size: 0.59rem;
}

.hero-footer-note span:first-child {
  color: var(--accent);
}

.hero-visual {
  position: relative;
  max-width: 35rem;
  justify-self: end;
  width: 100%;
}

.portrait-backdrop {
  position: absolute;
  top: 10%;
  left: 3%;
  width: 85%;
  height: 78%;
  border: 1px solid rgba(101, 199, 255, 0.3);
  background: linear-gradient(145deg, rgba(101, 199, 255, 0.16), transparent 45%);
  transform: rotate(-6deg);
}

.portrait-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 30rem);
  margin: 0 0 0 auto;
  aspect-ratio: 0.9;
  overflow: hidden;
  border: 1px solid rgba(240, 238, 232, 0.22);
  background: var(--panel);
  box-shadow: 1.3rem 1.3rem 0 rgba(101, 199, 255, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% 91%, 91% 100%, 0 100%);
}

.portrait-shell::before,
.portrait-shell::after {
  position: absolute;
  z-index: 3;
  content: '';
  pointer-events: none;
}

.portrait-shell::before {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(10, 11, 13, 0.35), transparent 35%, rgba(10, 11, 13, 0.7));
}

.portrait-shell::after {
  right: 1.1rem;
  bottom: 1.1rem;
  width: 3.8rem;
  height: 3.8rem;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.84) contrast(1.06) brightness(0.96);
  transition: transform 900ms var(--ease-out);
}

.hero-visual:hover .portrait-image {
  filter: saturate(0.98) contrast(1.04) brightness(1);
  transform: scale(1.025);
}

.portrait-wash {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(150deg, rgba(101, 199, 255, 0.2), transparent 27%),
    linear-gradient(0deg, rgba(10, 11, 13, 0.6), transparent 45%);
  mix-blend-mode: screen;
}

.portrait-topline,
.portrait-caption,
.visual-coordinate {
  position: absolute;
  z-index: 4;
  color: rgba(240, 238, 232, 0.78);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.portrait-topline {
  top: 1.1rem;
  right: 1.15rem;
  left: 1.15rem;
  display: flex;
  justify-content: space-between;
}

.portrait-topline span:last-child {
  color: var(--accent);
}

.portrait-caption {
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portrait-caption-symbol {
  color: var(--accent);
  font-size: 1.2rem;
}

.visual-coordinate {
  color: var(--muted-dark);
}

.visual-coordinate--top {
  top: 0;
  right: 0;
  transform: translateY(-1.8rem) rotate(90deg);
  transform-origin: right bottom;
}

.visual-coordinate--bottom {
  right: 1.5rem;
  bottom: -2.4rem;
  color: var(--accent);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue-line {
  width: 1px;
  height: 3.2rem;
  background: linear-gradient(var(--accent), transparent);
}

.marquee-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 1.4vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee-track i {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 1.2em;
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.about {
  padding-bottom: clamp(7rem, 15vw, 15rem);
}

.section-kicker span {
  color: var(--accent);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: clamp(3rem, 9vw, 10rem);
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-left: clamp(0rem, 7vw, 8rem);
}

.section-title {
  font-size: clamp(3.6rem, 8.5vw, 8.6rem);
}

.about-copy {
  align-self: end;
  max-width: 27rem;
  padding-bottom: 0.35rem;
}

.about-lede {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.about-detail {
  max-width: 22rem;
  margin: 2rem 0 2.2rem;
  color: var(--muted);
}

.work {
  padding-top: clamp(5rem, 9vw, 9rem);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 20%, transparent 85%);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading .section-title {
  margin-top: 1.7rem;
}

.section-heading-note {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.65;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.video-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: var(--panel-deep);
  transition: border-color 300ms ease, background 300ms ease, transform 400ms var(--ease-out);
}

.video-card--wide {
  grid-column: 1 / -1;
}

.video-card:hover {
  border-color: rgba(101, 199, 255, 0.48);
  background: var(--panel);
  transform: translateY(-6px);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070809;
}

.video-frame::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: '';
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
}

.video-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem 1.3rem;
}

.video-meta {
  display: flex;
  grid-column: 1 / -1;
  gap: 0.65rem;
  color: var(--muted-dark);
  font-size: 0.58rem;
}

.video-meta span:first-child {
  color: var(--accent);
}

.video-info h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.video-info a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

.video-info a:hover {
  color: var(--accent-bright);
}

.video-info a span {
  transition: transform 180ms var(--ease-out);
}

.video-info a:hover span {
  transform: translate(2px, -2px);
}

.services {
  padding-top: clamp(8rem, 15vw, 15rem);
}

.service-row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(15rem, 0.55fr) 5rem;
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--accent);
  font-size: 0.68rem;
}

.service-title {
  font-size: clamp(2.9rem, 6.5vw, 7rem);
}

.service-description p {
  max-width: 19rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.service-symbol {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(101, 199, 255, 0.48);
  color: var(--accent);
  font-size: 1.35rem;
  transition: color 250ms ease, background 250ms ease, transform 400ms var(--ease-out);
}

.service-row:hover .service-symbol {
  color: var(--bg);
  background: var(--accent);
  transform: rotate(45deg);
}

.contact {
  padding-top: clamp(8rem, 15vw, 15rem);
  padding-bottom: clamp(6rem, 12vw, 11rem);
}

.contact-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 12%, rgba(101, 199, 255, 0.17), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--panel-deep);
}

.contact-inner::after {
  position: absolute;
  right: -6rem;
  bottom: -9rem;
  width: 22rem;
  height: 22rem;
  content: '';
  border: 1px solid rgba(101, 199, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(101, 199, 255, 0.025), 0 0 0 5.5rem rgba(101, 199, 255, 0.018);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.7fr);
  gap: clamp(3rem, 10vw, 10rem);
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.contact-title {
  font-size: clamp(4rem, 9.5vw, 10rem);
}

.contact-note {
  max-width: 19rem;
  margin: 2.6rem 0 0;
  color: var(--muted);
}

.contact-links {
  align-self: end;
}

.contact-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1.15rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 220ms ease, padding 220ms var(--ease-out);
}

.contact-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.contact-item:hover {
  padding-right: 0.6rem;
  padding-left: 0.6rem;
  color: var(--accent-bright);
}

.contact-label {
  color: var(--accent);
  font-size: 0.62rem;
}

.contact-item > span:nth-child(2) {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: -0.03em;
}

.contact-arrow {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.copy-status {
  min-height: 1.2em;
  margin: 0.8rem 0 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-dark);
  font-size: 0.58rem;
}

.site-footer a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 800ms ease, transform 800ms var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal--delay {
  transition-delay: 120ms;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .hero-visual {
    max-width: 31rem;
    justify-self: center;
    margin-right: 2rem;
  }

  .hero-footer-note {
    margin-top: 3.5rem;
  }

  .scroll-cue {
    display: none;
  }

  .about-grid {
    padding-left: 0;
  }

  .service-row {
    grid-template-columns: 4rem minmax(0, 1fr) minmax(13rem, 0.7fr);
  }

  .service-symbol {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.25rem;
  }

  .header-inner {
    min-height: 4.7rem;
  }

  .brand-copy {
    font-size: 0.62rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-kicker {
    margin-top: 2.3rem;
  }

  .hero-title {
    font-size: clamp(3.9rem, 19vw, 7.5rem);
  }

  .hero-intro {
    max-width: 19rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-visual {
    width: calc(100% - 1rem);
    margin-right: 0.75rem;
  }

  .portrait-shell {
    box-shadow: 0.75rem 0.75rem 0 rgba(101, 199, 255, 0.08);
  }

  .visual-coordinate--top {
    display: none;
  }

  .visual-coordinate--bottom {
    right: 0;
    bottom: -2rem;
  }

  .section {
    padding-block: 6.5rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .section-title {
    font-size: clamp(3.55rem, 17vw, 6rem);
  }

  .section-heading {
    display: block;
  }

  .section-heading-note {
    margin-top: 2rem;
    text-align: left;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .video-card--wide {
    grid-column: auto;
  }

  .video-info {
    grid-template-columns: 1fr;
  }

  .video-info a {
    justify-self: start;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .service-number {
    margin-bottom: 0.5rem;
  }

  .service-title {
    font-size: clamp(3rem, 15vw, 5.5rem);
  }

  .service-description p {
    margin-top: 0.75rem;
  }

  .contact-inner {
    padding: 2rem 1.25rem 2.5rem;
  }

  .contact-title {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  .contact-item {
    grid-template-columns: 4.2rem 1fr auto;
    gap: 0.5rem;
  }

  .footer-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.5rem;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
