@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #0a5852;
}

@property --accent-hover {
  syntax: "<color>";
  inherits: true;
  initial-value: #08443f;
}

@property --btn-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --header-h: 4.25rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 72rem;
  --bp-sm: 40rem;
  --bp-md: 48rem;
  --bp-lg: 64rem;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino,
    "Times New Roman", Times, serif;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --radius: 0.75rem;
  --bg: #f6f5f2;
  --bg-subtle: #efeee9;
  --text: #161513;
  --text-muted: #3e3b36;
  --border: #d5d2cb;
  --card: #fffcfa;
  --accent: #0a5852;
  --accent-hover: #08443f;
  --btn-fg: #f6f5f2;
  --shadow: 0 12px 32px rgba(22, 21, 19, 0.08);
  color-scheme: only light;
  animation: accent-cycle-light 120s linear infinite;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131210;
    --bg-subtle: #1c1a17;
    --text: #f3efe7;
    --text-muted: #c9c2b6;
    --border: #3f3b34;
    --card: #1c1b18;
    --accent: #7ed4cb;
    --accent-hover: #9ee0d8;
    --btn-fg: #131210;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: only dark;
    animation-name: accent-cycle-dark;
  }
}

[data-theme="dark"] {
  --bg: #131210;
  --bg-subtle: #1c1a17;
  --text: #f3efe7;
  --text-muted: #c9c2b6;
  --border: #3f3b34;
  --card: #1c1b18;
  --accent: #7ed4cb;
  --accent-hover: #9ee0d8;
  --btn-fg: #131210;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color-scheme: only dark;
  animation-name: accent-cycle-dark;
}

[data-theme="light"] {
  --bg: #f6f5f2;
  --bg-subtle: #efeee9;
  --text: #161513;
  --text-muted: #3e3b36;
  --border: #d5d2cb;
  --card: #fffcfa;
  --accent: #0a5852;
  --accent-hover: #08443f;
  --btn-fg: #f6f5f2;
  --shadow: 0 12px 32px rgba(22, 21, 19, 0.08);
  color-scheme: only light;
  animation-name: accent-cycle-light;
}

@keyframes accent-cycle-light {
  0%,
  100% {
    --accent: #0a5852;
    --accent-hover: #08443f;
  }
  10% {
    --accent: #5b21b6;
    --accent-hover: #4c1d95;
  }
  20% {
    --accent: #1d4ed8;
    --accent-hover: #1e40af;
  }
  30% {
    --accent: #1e3a8a;
    --accent-hover: #172554;
  }
  40% {
    --accent: #854d0e;
    --accent-hover: #713f12;
  }
  50% {
    --accent: #171717;
    --accent-hover: #0a0a0a;
  }
  60% {
    --accent: #9f1239;
    --accent-hover: #881337;
  }
  70% {
    --accent: #9a3412;
    --accent-hover: #7c2d12;
  }
  80% {
    --accent: #166534;
    --accent-hover: #14532d;
  }
  90% {
    --accent: #9d174d;
    --accent-hover: #831843;
  }
}

@keyframes accent-cycle-dark {
  0%,
  100% {
    --accent: #7ed4cb;
    --accent-hover: #9ee0d8;
  }
  10% {
    --accent: #c4b5fd;
    --accent-hover: #ddd6fe;
  }
  20% {
    --accent: #93c5fd;
    --accent-hover: #bfdbfe;
  }
  30% {
    --accent: #a5b4fc;
    --accent-hover: #c7d2fe;
  }
  40% {
    --accent: #facc15;
    --accent-hover: #fde047;
  }
  50% {
    --accent: #f5f5f4;
    --accent-hover: #ffffff;
  }
  60% {
    --accent: #fda4af;
    --accent-hover: #fecdd3;
  }
  70% {
    --accent: #fdba74;
    --accent-hover: #fed7aa;
  }
  80% {
    --accent: #86efac;
    --accent-hover: #bbf7d0;
  }
  90% {
    --accent: #f9a8d4;
    --accent-hover: #fbcfe8;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root,
  [data-theme="light"],
  [data-theme="dark"] {
    animation: none;
  }

  .btn,
  .theme-toggle,
  .nav-toggle {
    animation: none;
    transition: background-color 0.15s ease, border-color 0.15s ease,
      color 0.15s ease;
  }

  .btn:hover,
  .btn:active,
  .theme-toggle:hover,
  .theme-toggle:active,
  .nav-toggle:hover,
  .nav-toggle:active {
    transform: none;
    box-shadow: none;
  }

  .btn:hover .btn__label,
  .btn:focus-visible .btn__label,
  .btn.is-acting .btn__label {
    opacity: 1;
    transform: none;
  }

  .btn__icon {
    display: none;
  }
}

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

html {
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
  background: var(--bg);
}

body {
  width: 100%;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: clip;
}

main {
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  z-index: 100;
  padding: var(--space-2) var(--space-3);
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: var(--space-3);
}

.kicker {
  margin: 0 0 var(--space-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  margin: 0 0 var(--space-4);
  font-size: clamp(2.15rem, 6vw, 3.75rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
}

h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  min-height: var(--header-h);
  padding: var(--space-3) var(--gutter);
}

.wordmark {
  margin-right: auto;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--border);
  border-radius: 0.4rem;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: visible;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.theme-toggle svg,
.nav-toggle__bars {
  position: relative;
  z-index: 1;
}

.theme-toggle:hover,
.nav-toggle:hover,
.theme-toggle:focus-visible,
.nav-toggle:focus-visible {
  color: var(--accent);
  border-color: transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    conic-gradient(
      from var(--btn-angle),
      var(--border) 0 55%,
      var(--accent) 68%,
      var(--accent) 82%,
      var(--border) 92%
    )
      border-box;
  animation: btn-orbit 1.05s linear infinite;
}

.theme-toggle:active,
.nav-toggle:active {
  transform: scale(0.96);
}

[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon {
  display: none;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .icon-sun {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .icon-moon {
    display: none;
  }
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -5px;
}

.nav-toggle__bars::after {
  top: 5px;
}

.site-nav {
  display: none;
  flex-basis: 100%;
  order: 3;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  padding: 0 0 var(--space-3);
  list-style: none;
}

.site-nav a {
  display: block;
  padding: var(--space-2) var(--space-1);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
}

.site-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

@media (min-width: 40rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    flex-basis: auto;
    order: 0;
    margin-left: auto;
  }

  .site-nav ul {
    flex-direction: row;
    gap: var(--space-5);
    padding: 0;
  }

  .site-nav a {
    padding: var(--space-1) 0;
  }

  .wordmark {
    margin-right: 0;
  }

  .header-tools {
    margin-left: var(--space-4);
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: visible;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn__label {
  position: relative;
  z-index: 1;
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.btn__icon {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.05rem;
  color: currentColor;
  opacity: 0;
  transform: scale(0.55) rotate(-10deg);
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.btn:hover .btn__label,
.btn:focus-visible .btn__label,
.btn.is-acting .btn__label {
  opacity: 0;
  transform: scale(0.86) translateY(-0.4rem);
}

.btn:hover .btn__icon,
.btn:focus-visible .btn__icon,
.btn.is-acting .btn__icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.btn:active .btn__icon {
  transform: scale(0.9);
}

@keyframes btn-orbit {
  to {
    --btn-angle: 360deg;
  }
}

.btn--primary {
  background: var(--accent);
  color: var(--btn-fg);
}

.btn--primary:hover,
.btn--primary:focus-visible,
.btn--primary.is-acting {
  color: var(--btn-fg);
  border-color: transparent;
  background:
    linear-gradient(var(--accent-hover), var(--accent-hover)) padding-box,
    conic-gradient(
      from var(--btn-angle),
      rgb(255 255 255 / 0.28) 0 50%,
      var(--btn-fg) 64%,
      var(--btn-fg) 84%,
      rgb(255 255 255 / 0.28) 96%
    )
      border-box;
  animation: btn-orbit 1.05s linear infinite;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible,
.btn--ghost.is-acting {
  color: var(--accent);
  border-color: transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(
      from var(--btn-angle),
      var(--border) 0 52%,
      var(--accent) 68%,
      var(--accent) 82%,
      var(--border) 94%
    )
      border-box;
  animation: btn-orbit 1.05s linear infinite;
}

.text-link {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Layout */

.hero,
.section,
.site-footer__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

.hero {
  display: grid;
  gap: var(--space-6);
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 7vw, 4.5rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

.hero__copy {
  min-width: 0;
}

.hero__lede {
  max-width: 38rem;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero__portrait {
  justify-self: center;
  width: min(11rem, 70vw);
  padding: var(--space-3);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__portrait img {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  background: var(--bg-subtle);
}

@media (min-width: 48rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-7);
  }

  .hero__portrait {
    justify-self: end;
    width: 14rem;
  }
}

@media (min-width: 64rem) {
  .hero {
    gap: var(--space-8);
  }

  .hero__portrait {
    width: 16rem;
  }
}

.section {
  padding-top: clamp(2.75rem, 7vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 7vw, 4.5rem);
  border-top: 1px solid var(--border);
}

.audience {
  position: relative;
}

.icon {
  font-size: 0.78em;
  width: 1.15em;
  height: 1em;
  text-align: center;
  color: var(--text-muted);
  margin-right: 0.4em;
}

svg.icon,
.btn__icon svg,
.socials svg {
  display: inline-block;
  overflow: visible;
  vertical-align: -0.125em;
}

.btn__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

h3 .icon {
  vertical-align: 0.05em;
}

.text-link .icon {
  margin-right: 0;
  margin-left: 0.35em;
  font-size: 0.72em;
  opacity: 0.7;
}

.text-link:hover .icon {
  color: var(--accent);
  opacity: 1;
}

.lab-track,
.shore {
  position: absolute;
  top: -3.25rem;
  left: 0;
  right: 0;
  height: 3.25rem;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}

.lab {
  position: absolute;
  left: 0;
  bottom: 0;
  width: auto;
  height: auto;
  max-width: 55px;
  max-height: 55px;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  transform-origin: 50% 100%;
  /* Brown dog asset → chocolate lab cast */
  filter:
    brightness(0.62)
    sepia(0.45)
    saturate(1.35)
    hue-rotate(-18deg)
    drop-shadow(0 1px 1px rgb(22 21 19 / 0.35));
  user-select: none;
  -webkit-user-drag: none;
}

.mullet {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 48px;
  pointer-events: none;
  opacity: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background-image: url("../../images/pets/mullet-leap.png");
  background-repeat: no-repeat;
  /* 10 frames × 40×32 source → 1.5× display */
  background-size: 600px 48px;
  background-position: 0 0;
  transform-origin: 50% 85%;
  filter: drop-shadow(0 1px 0 rgb(22 21 19 / 0.25));
}

.section__intro {
  margin-bottom: var(--space-6);
  max-width: 42rem;
}

.section__dek {
  margin-top: var(--space-3);
  color: var(--text-muted);
}

.services,
.contact {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 48rem) {
  .services,
  .contact {
    grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.15fr);
    gap: var(--space-7);
    align-items: start;
  }
}

.contact__body {
  font-size: 1.125rem;
  max-width: none;
}

.contact__body p + p {
  margin-top: var(--space-4);
}

/* Audience */

.audience-grid {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 40rem) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

@media (min-width: 64rem) {
  .audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.audience-grid li {
  padding: var(--space-5);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.audience-grid p {
  color: var(--text-muted);
}

/* Work */

.work-grid {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 40rem) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

@media (min-width: 64rem) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.project {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.project__media {
  display: block;
  background: var(--bg-subtle);
}

.project__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.project__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-4) var(--space-5);
  flex: 1;
}

.project__body p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.project__index {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--accent);
}

.project .text-link {
  margin-top: auto;
  padding-top: var(--space-2);
}

.work__more {
  margin-top: var(--space-6);
}

/* Services */

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: services;
}

.service-list li {
  counter-increment: services;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.service-list h3::before {
  content: counter(services, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-2);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.service-list p {
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  overflow: visible;
}

.site-footer__inner {
  display: grid;
  gap: var(--space-4);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0;
}

.lava-lamp {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  color: var(--accent);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  filter: drop-shadow(0 0 0.55px color-mix(in srgb, var(--text) 28%, transparent));
  transition: transform 0.35s ease, filter 0.35s ease;
}

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

.lava-lamp--footer {
  width: 1.2rem;
  height: 3rem;
}

.lava-lamp.is-focused {
  z-index: 40;
  transform: scale(3.4);
  transform-origin: left center;
  filter: drop-shadow(0 16px 28px color-mix(in srgb, var(--text) 22%, transparent));
}

.lava-lamp__vessel {
  position: absolute;
  inset: 0;
  display: block;
  -webkit-mask-image: url("../../images/lava/contents.png");
  mask-image: url("../../images/lava/contents.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.lava-lamp__fluid {
  display: block;
  width: 100%;
  height: 100%;
}

/* Warm chrome shell — theme neutrals only, not the cycling accent. */
.lava-lamp__cover {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--card) 55%, var(--border) 45%) 0%,
    color-mix(in srgb, var(--text-muted) 42%, var(--border) 58%) 42%,
    color-mix(in srgb, var(--text) 72%, var(--border) 28%) 100%
  );
  -webkit-mask-image: url("../../images/lava/cover.png");
  mask-image: url("../../images/lava/cover.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lava-lamp__cover {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--text-muted) 70%, var(--bg) 30%) 0%,
      color-mix(in srgb, var(--border) 55%, var(--text-muted) 45%) 45%,
      color-mix(in srgb, var(--text) 28%, var(--bg-subtle) 72%) 100%
    );
  }
}

[data-theme="dark"] .lava-lamp__cover {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--text-muted) 70%, var(--bg) 30%) 0%,
    color-mix(in srgb, var(--border) 55%, var(--text-muted) 45%) 45%,
    color-mix(in srgb, var(--text) 28%, var(--bg-subtle) 72%) 100%
  );
}

[data-theme="light"] .lava-lamp__cover {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--card) 55%, var(--border) 45%) 0%,
    color-mix(in srgb, var(--text-muted) 42%, var(--border) 58%) 42%,
    color-mix(in srgb, var(--text) 72%, var(--border) 28%) 100%
  );
}

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

  .lava-lamp.is-focused {
    transform: none;
  }
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text);
  text-decoration: none;
}

.socials i,
.socials svg {
  width: 0.9em;
  height: 0.9em;
  font-size: 0.95rem;
  opacity: 0.8;
}

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

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (min-width: 64rem) {
  h1 {
    font-size: clamp(2.75rem, 4vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 2.8vw, 2.75rem);
  }

  .section__intro {
    max-width: 46rem;
  }
}

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

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