/* =========================================
   DAVID BANKOLE — PORTFOLIO
   Main stylesheet
========================================= */

:root {
  --bg: #0b0b0b;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f4f4ed;
  --muted: #92928b;
  --accent: #d7ff6b;
  --border: rgba(255, 255, 255, 0.11);
  --header-bg: rgba(11, 11, 11, 0.82);
  --card-bg: #151515;

  --font-main: "Manrope", sans-serif;
  --font-mono: "DM Mono", monospace;

  --max-width: 1240px;
  --transition: 0.3s ease;
}

[data-theme="light"] {
  --bg: #f4f4ed;
  --surface: #ffffff;
  --surface-2: #e9e9df;
  --text: #141414;
  --muted: #696960;
  --accent: #789d20;
  --border: rgba(0, 0, 0, 0.13);
  --header-bg: rgba(244, 244, 237, 0.88);
  --card-bg: #ffffff;
}


/* =========================================
   RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--accent);
  color: #111;
}


/* =========================================
   GRAIN EFFECT
========================================= */

.grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


/* =========================================
   GENERAL LAYOUT
========================================= */

.section-wrap {
  width: min(var(--max-width), calc(100% - 100px));
  margin-inline: auto;
}

.section-space {
  padding-block: 125px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.12;
  letter-spacing: -3px;
  margin-top: 22px;
  font-weight: 700;
}

.section-heading h2 em,
.contact h2 em,
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.section-intro {
  max-width: 340px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  width: 100%;
  height: 86px;
  padding-inline: max(50px, calc((100% - var(--max-width)) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.monogram {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #101010;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.wordmark-dot {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav > a {
  font-size: 12px;
  color: var(--muted);
  transition: color var(--transition);
}

.site-nav > a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 12px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: transparent;
  color: var(--text);
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--accent);
}

.theme-icon {
  color: var(--accent);
  font-size: 16px;
}

.nav-contact {
  background: var(--accent);
  color: #111;
  padding: 12px 17px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  transition: transform var(--transition);
}

.nav-contact:hover {
  transform: translateY(-3px);
}

.nav-contact span {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
}


/* =========================================
   HERO
========================================= */

.hero {
  min-height: 700px;
  padding-top: 130px;
  padding-bottom: 110px;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(60px, 7.5vw, 100px);
  line-height: 1.02;
  letter-spacing: -7px;
  margin-top: 32px;
  font-weight: 800;
}

.hero h1 em {
  display: inline-block;
}

.muted-title {
  color: var(--muted);
}

.hero-description {
  max-width: 460px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 22px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: var(--transition);
}

.button-primary {
  background: var(--accent);
  color: #111;
}

.button-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(215, 255, 107, 0.15);
}

.button span {
  font-size: 16px;
}

.text-link {
  font-size: 12px;
  color: var(--muted);
  transition: color var(--transition);
}

.text-link:hover {
  color: var(--accent);
}

.text-link span {
  margin-left: 6px;
}

.hero-meta {
  display: flex;
  gap: 65px;
  margin-top: 80px;
}

.hero-meta > div,
.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.hero-meta > div > span:last-child {
  font-size: 11px;
}

.nigeria-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #159447;
  border-radius: 50%;
  margin-left: 5px;
}


/* =========================================
   HERO ART
========================================= */

.hero-art {
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  position: relative;
  display: grid;
  place-items: center;
  margin-inline: auto;
  overflow: hidden;
}

.art-orbit {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.orbit-one {
  width: 75%;
  height: 75%;
  animation: orbit 35s linear infinite;
}

.orbit-two {
  width: 95%;
  height: 95%;
  border-style: dashed;
  opacity: 0.6;
  animation: orbit 55s linear infinite reverse;
}

.art-core {
  width: 210px;
  height: 210px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 70px;
  font-weight: 800;
  letter-spacing: -9px;
  background: radial-gradient(circle, var(--surface-2), var(--bg));
  box-shadow: 0 0 90px rgba(215, 255, 107, 0.07);
  z-index: 2;
}

.core-slash {
  font-size: 50px;
  color: var(--accent);
  font-weight: 400;
}

.art-cross {
  position: absolute;
  background: var(--accent);
  opacity: 0.8;
}

.cross-one {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 15%;
  right: 24%;
  box-shadow: 0 0 20px var(--accent);
}

.cross-two {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  bottom: 20%;
  left: 20%;
}

.art-caption {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}

.caption-top {
  top: 7%;
}

.caption-bottom {
  bottom: 7%;
}

.art-index {
  position: absolute;
  right: 0;
  bottom: 25%;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}

.scroll-cue {
  position: absolute;
  bottom: 35px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
}

.scroll-line {
  width: 35px;
  height: 1px;
  background: var(--accent);
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}


/* =========================================
   PROJECT GRID
========================================= */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 55px 28px;
}

.project-card {
  min-width: 0;
}

.project-visual {
  height: 360px;
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}

.project-visual:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.visual-topline {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
}

.visual-open {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 17px;
  transition: transform var(--transition);
}

.project-visual:hover .visual-open {
  transform: rotate(45deg);
}

.project-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding-top: 22px;
}

.project-info h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
}

.project-info p {
  max-width: 420px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.project-type {
  flex-shrink: 0;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 8px;
}

.project-note {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

.project-note span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  margin-right: 12px;
}


/* =========================================
   RATESPHERE PREVIEW
========================================= */

.ratesphere-visual {
  background:
    radial-gradient(circle at 80% 15%, rgba(91, 127, 56, 0.35), transparent 40%),
    #101b15;
  display: grid;
  place-items: center;
}

.rs-window {
  width: 70%;
  max-width: 360px;
  background: #f8faf6;
  color: #172019;
  border-radius: 8px;
  padding: 17px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
  margin-top: 25px;
}

.rs-window-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
}

.rs-brand-mark {
  background: #183c28;
  color: white;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 9px;
}

.rs-brand-mark span {
  color: #b9e77e;
}

.rs-window-menu {
  margin-left: auto;
}

.rs-window-title {
  font-size: 15px;
  font-weight: 800;
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
}

.rs-window-title span {
  color: #4a7855;
}

.rs-convert-box {
  margin-top: 15px;
  padding: 13px;
  background: #edf1eb;
  border: 1px solid #e0e6dd;
  border-radius: 5px;
}

.rs-convert-box small {
  font-size: 8px;
  color: #7b867b;
}

.rs-convert-box > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 8px;
}

.rs-convert-box strong {
  font-size: clamp(15px, 2vw, 22px);
  letter-spacing: -1px;
}

.rs-convert-box > div span {
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.rs-swap {
  margin: 9px 0;
  color: #4b8052;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rs-swap span {
  font-size: 7px;
  letter-spacing: 1px;
}

.rs-result {
  background: #e5f0e2;
}

.rs-rate-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  color: #647064;
  margin-top: 15px;
}

.rs-rate-foot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5a9d60;
}

.rs-rate-foot span {
  margin-left: auto;
}


/* =========================================
   WEATHERGLOBE PREVIEW
========================================= */

.weather-visual {
  background:
    radial-gradient(circle at 75% 15%, rgba(116, 190, 255, 0.4), transparent 40%),
    linear-gradient(140deg, #173c62, #0a1829);
  display: grid;
  place-items: center;
}

.weather-window {
  width: 75%;
  max-width: 380px;
  padding: 22px;
  background: rgba(244, 250, 255, 0.96);
  color: #18354e;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  margin-top: 24px;
}

.weather-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
}

.weather-globe-dot {
  color: #65a9e5;
  margin-inline: 3px;
}

.weather-place {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.weather-now {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.weather-now strong {
  display: block;
  font-size: 65px;
  letter-spacing: -5px;
  font-weight: 500;
}

.weather-now span,
.weather-now small {
  display: block;
  font-size: 10px;
}

.weather-now small {
  margin-top: 7px;
  color: #7990a1;
}

.weather-sun {
  font-size: 65px;
  color: #e9b84e;
  filter: drop-shadow(0 0 15px rgba(233, 184, 78, 0.4));
}

.weather-divider {
  height: 1px;
  background: #dce5eb;
  margin: 20px 0;
}

.weather-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.weather-stats > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.weather-stats small {
  font-size: 7px;
  color: #8ba0af;
}

.weather-stats b {
  font-size: 11px;
}

.weather-forecast {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #dce5eb;
  font-size: 9px;
}

.weather-forecast b {
  display: inline-block;
  margin-inline: 4px;
}


/* =========================================
   TRIAD CALCULATOR PREVIEW
========================================= */

.triad-visual {
  background:
    radial-gradient(circle at 50% 50%, rgba(159, 139, 255, 0.24), transparent 55%),
    #18142a;
  display: grid;
  place-items: center;
}

.triad-device {
  width: 230px;
  background: #f4f2ff;
  color: #1a1730;
  border-radius: 16px;
  padding: 17px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
  margin-top: 25px;
}

.triad-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.triad-screen {
  height: 115px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 12px 0;
}

.triad-screen small {
  color: #9690b0;
  font-size: 8px;
  letter-spacing: 1px;
}

.triad-screen strong {
  font-size: 29px;
  letter-spacing: -1.5px;
}

.triad-screen strong span {
  font-size: 17px;
  color: #9892b0;
}

.triad-screen p {
  font-size: 9px;
  color: #9892b0;
  margin-top: 5px;
}

.triad-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.triad-keys b {
  height: 34px;
  display: grid;
  place-items: center;
  background: #e6e3f2;
  border-radius: 6px;
  font-size: 11px;
}

.triad-keys .op {
  background: #d8d1ff;
  color: #6553c7;
}

.triad-keys .zero {
  grid-column: span 2;
}

.triad-keys .equals {
  background: #7664e8;
  color: white;
}


/* =========================================
   INFOMOVIE PREVIEW
========================================= */

.infomovie-visual {
  background:
    radial-gradient(circle at 70% 20%, rgba(133, 88, 255, 0.35), transparent 45%),
    #100b20;
  display: grid;
  place-items: center;
}

.movie-window {
  width: 82%;
  max-width: 440px;
  height: 260px;
  background: #171126;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
  color: white;
}

.movie-nav {
  height: 37px;
  padding-inline: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.movie-nav b {
  font-size: 10px;
  letter-spacing: 1px;
}

.movie-nav b span:first-child {
  color: #a98aff;
}

.movie-nav-dot {
  color: #a98aff;
}

.movie-nav i {
  font-size: 15px;
  font-style: normal;
}

.movie-feature {
  height: 150px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.movie-backdrop {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #35205e, #0b1026);
}

.movie-orb {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, #c4a6ff, #7047c5, transparent);
  top: -15px;
  left: 30%;
  filter: blur(2px);
}

.movie-silhouette {
  position: absolute;
  width: 55px;
  height: 110px;
  background: linear-gradient(#151125, #070610);
  bottom: -30px;
  left: 40%;
  border-radius: 50% 50% 0 0;
}

.movie-backdrop-title {
  position: absolute;
  left: 10px;
  bottom: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
}

.movie-copy {
  padding: 15px 12px;
  background: linear-gradient(130deg, #211638, #130f21);
}

.movie-copy small {
  font-size: 6px;
  letter-spacing: 1px;
  color: #b9a1ed;
}

.movie-copy h4 {
  font-size: 20px;
  line-height: 1.1;
  margin-top: 9px;
  letter-spacing: -1px;
}

.movie-copy p {
  font-size: 7px;
  color: #b7b1c4;
  line-height: 1.6;
  margin-top: 8px;
}

.movie-cta {
  display: inline-block;
  background: #9d7aff;
  padding: 6px 8px;
  margin-top: 10px;
  font-size: 6px;
  font-weight: 800;
}

.movie-shelf {
  padding: 10px 12px;
}

.movie-shelf > span {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: #c6b9e7;
  margin-bottom: 9px;
}

.movie-shelf > div {
  display: flex;
  gap: 7px;
}

.poster {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 2px;
}

.poster-one {
  background: linear-gradient(140deg, #d08d52, #512d24);
}

.poster-two {
  background: linear-gradient(140deg, #8c83c2, #20213c);
}

.poster-three {
  background: linear-gradient(140deg, #4b9caa, #102e4a);
}

.poster-four {
  background: linear-gradient(140deg, #b65c7b, #451a39);
}


/* =========================================
   ABOUT SECTION
========================================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.about-mark {
  aspect-ratio: 1;
  max-width: 350px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.about-mark > span {
  font-size: 105px;
  font-weight: 800;
  letter-spacing: -12px;
  color: var(--accent);
}

.mark-ring {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.about-mark p {
  position: absolute;
  bottom: 25px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}

.about-lead {
  font-size: 24px !important;
  color: var(--text) !important;
  line-height: 1.6 !important;
  margin-bottom: 25px;
}

.about-copy > p {
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 18px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  border-top: 1px solid var(--border);
  margin-top: 35px;
  padding-top: 25px;
}

.about-facts > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-facts span {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 9px;
}

.about-facts b {
  font-size: 10px;
}


/* =========================================
   SERVICES
========================================= */

.service-list {
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 25px;
  align-items: center;
  padding: 30px 5px;
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition);
}

.service-row:hover {
  padding-inline: 15px;
}

.service-number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
}

.service-row h3 {
  font-size: 19px;
}

.service-row p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 9px;
  line-height: 1.8;
  max-width: 600px;
}

.service-arrow {
  color: var(--accent);
  font-size: 21px;
}


/* =========================================
   SKILLS
========================================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.skill-group {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 30px;
  min-height: 190px;
  transition: border-color var(--transition), transform var(--transition);
}

.skill-group:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.skill-icon {
  font-size: 25px;
  color: var(--accent);
}

.skill-group h3 {
  font-size: 17px;
  margin-top: 20px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.skill-tags span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
}


/* =========================================
   CONTACT
========================================= */

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 65px;
  position: relative;
  overflow: hidden;
}

.contact-panel::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid var(--border);
  right: -100px;
  bottom: -200px;
  pointer-events: none;
}

.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-star {
  font-size: 28px;
  color: var(--accent);
}

.contact h2 {
  font-size: clamp(55px, 8vw, 95px);
  line-height: 1.05;
  letter-spacing: -6px;
  margin-top: 35px;
}

.contact-copy {
  color: var(--muted);
  max-width: 470px;
  font-size: 13px;
  line-height: 2;
  margin-top: 25px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button-secondary {
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding-top: 25px;
}

.contact-details > div > a,
.contact-details > div > span:last-child {
  font-size: 11px;
  transition: color var(--transition);
}

.contact-details a:hover {
  color: var(--accent);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  padding-top: 35px;
  padding-bottom: 35px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}

.site-footer > p {
  font-size: 11px;
  color: var(--muted);
}

.back-top {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  transition: color var(--transition);
}

.back-top:hover {
  color: var(--accent);
}

.copyright {
  width: 100%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}


/* =========================================
   LIGHT THEME ADJUSTMENTS
========================================= */

[data-theme="light"] .ratesphere-visual,
[data-theme="light"] .weather-visual,
[data-theme="light"] .triad-visual,
[data-theme="light"] .infomovie-visual {
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .art-core {
  background: radial-gradient(circle, #ffffff, #e7e7dc);
}

[data-theme="light"] .hero-art .art-orbit {
  border-color: rgba(0, 0, 0, 0.13);
}


/* =========================================
   RESPONSIVE — TABLETS
========================================= */

@media (max-width: 1000px) {

  .section-wrap {
    width: calc(100% - 60px);
  }

  .site-header {
    padding-inline: 30px;
  }

  .site-nav {
    gap: 20px;
  }

  .hero {
    gap: 25px;
  }

  .hero h1 {
    font-size: 75px;
  }

  .hero-art {
    max-width: 350px;
  }

  .project-visual {
    height: 320px;
  }

  .about-grid {
    gap: 50px;
  }

  .contact-panel {
    padding: 45px;
  }

}


/* =========================================
   RESPONSIVE — MOBILE NAVIGATION
========================================= */

@media (max-width: 760px) {

  .section-wrap {
    width: calc(100% - 40px);
  }

  .section-space {
    padding-block: 85px;
  }

  .site-header {
    height: 72px;
    padding-inline: 20px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 110;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: var(--text);
    transition: transform var(--transition);
  }

  .menu-toggle.active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 25px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav > a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
  }

  .nav-actions {
    margin: 20px 0 0;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(57px, 12vw, 85px);
    letter-spacing: -5px;
  }

  .hero-art {
    max-width: 340px;
  }

  .hero-meta {
    margin-top: 50px;
  }

  .scroll-cue {
    bottom: 30px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .section-intro {
    max-width: 500px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .project-visual {
    height: 350px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-mark {
    max-width: 300px;
    margin-inline: auto;
    width: 100%;
  }

  .about-lead {
    font-size: 21px !important;
  }

  .contact-panel {
    padding: 35px 25px;
  }

  .contact h2 {
    font-size: 65px;
    letter-spacing: -4px;
  }

  .contact-details {
    gap: 30px;
  }

}


/* =========================================
   RESPONSIVE — SMALL PHONES
========================================= */

@media (max-width: 480px) {

  .section-wrap {
    width: calc(100% - 32px);
  }

  .section-space {
    padding-block: 70px;
  }

  .wordmark {
    font-size: 9px;
    gap: 9px;
  }

  .monogram {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 57px;
    letter-spacing: -4px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-actions {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-meta {
    gap: 30px;
  }

  .hero-art {
    max-width: 290px;
  }

  .art-core {
    width: 155px;
    height: 155px;
    font-size: 55px;
  }

  .section-heading h2 {
    font-size: 39px;
  }

  .project-visual {
    height: 290px;
  }

  .rs-window {
    width: 80%;
  }

  .weather-window {
    width: 85%;
    padding: 17px;
  }

  .weather-now strong {
    font-size: 55px;
  }

  .weather-sun {
    font-size: 48px;
  }

  .triad-device {
    transform: scale(0.88) rotate(3deg);
  }

  .movie-window {
    width: 90%;
    transform: scale(0.95);
  }

  .project-info {
    flex-direction: column;
    gap: 12px;
  }

  .project-info h3 {
    font-size: 18px;
  }

  .about-facts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-row {
    grid-template-columns: 30px 1fr 20px;
    gap: 12px;
    padding-block: 25px;
  }

  .service-row h3 {
    font-size: 16px;
  }

  .service-row p {
    font-size: 11px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-group {
    padding: 25px;
  }

  .contact-panel {
    padding: 30px 20px;
  }

  .contact h2 {
    font-size: 52px;
    letter-spacing: -3px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-details {
    flex-direction: column;
    gap: 25px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}