:root {
  /* Light theme (default) */
  --color-bg: #F3FBF8;
  --color-surface: #FFFFFF;
  --color-text: #0F3D3E;
  --color-muted: #4A6E6C;
  --color-line: #D5ECE4;

  --color-coral: #FF6F59;
  --color-coral-text: #E8553F;
  --color-mint: #43D9AD;
  --color-aqua: #5CC8D7;
  --color-butter: #FFD166;
  --color-success: #13976B;
  --color-warning: #D9730D;

  --tint-coral: #FFECE7;
  --tint-mint: #E2F7EF;
  --tint-aqua: #E4F6F9;
  --tint-butter: #FFF5DC;
  --tint-teal: #E1F1EF;

  --terminal-bg: #FFFFFF;
  --terminal-text: #0F3D3E;
  --terminal-dim: #6F9592;
  --terminal-bar: #E2F7EF;

  /* Fixed dark text for use on bright fills (butter, mint, coral) */
  --color-on-bright: #0F3D3E;

  /* Fonts */
  --font-main: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-note: "Caveat", "Comic Sans MS", cursive;
  --font-code: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 16px;
  color-scheme: light;
}

[data-theme="dark"] {
  --color-bg: #0C2526;
  --color-surface: #123334;
  --color-text: #E8FBF5;
  --color-muted: #9CC5BE;
  --color-line: #23504E;

  --color-coral-text: #FF8A78;
  --color-success: #4ADE9F;
  --color-warning: #FFB054;

  --tint-coral: #3A2420;
  --tint-mint: #0F3A31;
  --tint-aqua: #0F3440;
  --tint-butter: #33301A;
  --tint-teal: #163C3D;

  --terminal-bg: #081B1C;
  --terminal-text: #E8FBF5;
  --terminal-dim: #7FA9A3;
  --terminal-bar: #123334;

  color-scheme: dark;
}


/* ---------- 2. Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-coral-text);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Reusable card and offset shadows */
.card {
  border: 2px solid var(--color-text);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.shadow--coral  { box-shadow: 8px 8px 0 var(--color-coral); }
.shadow--mint   { box-shadow: 8px 8px 0 var(--color-mint); }
.shadow--aqua   { box-shadow: 8px 8px 0 var(--color-aqua); }
.shadow--butter { box-shadow: 8px 8px 0 var(--color-butter); }

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge--version {
  background: var(--color-butter);
  color: var(--color-on-bright);
}

.badge--done {
  background: color-mix(in srgb, var(--color-success) 18%, transparent);
  color: var(--color-success);
}


/* ---------- 3. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--color-text);
  border-radius: 999px;
  background: var(--color-text);
  color: var(--color-bg);
  font: 600 1rem var(--font-main);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--small {
  padding: 8px 16px;
  font-size: 0.95rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid var(--color-text);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}


/* ---------- 4. Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-line);
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo span {
  color: var(--color-coral-text);
}

.nav__links {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  color: var(--color-muted);
  font-weight: 500;
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--color-text);
}

.nav__links .mobile-only,
.menu-toggle {
  display: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


/* ---------- 5. Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(520px 320px at 6% 12%, var(--tint-coral), transparent 70%),
    radial-gradient(480px 360px at 96% 28%, var(--tint-aqua), transparent 70%),
    radial-gradient(460px 260px at 50% 100%, var(--tint-butter), transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__photo {
  position: relative;
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
}

.hero__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid var(--color-surface);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--color-text);
  background: var(--color-mint);
  color: var(--color-on-bright);
  font-size: 2.6rem;
  font-weight: 800;
}

.hero__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__circle {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  color: var(--color-coral-text);
  pointer-events: none;
}

.hero__note {
  position: absolute;
  top: -6px;
  left: 100%;
  margin-left: 10px;
  color: var(--color-coral-text);
  font: 700 1.45rem var(--font-note);
  white-space: nowrap;
  transform: rotate(-6deg);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 25%, transparent);
}

.hero__title {
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero__lede {
  max-width: 30ch;
  margin: 0 0 32px;
  color: var(--color-muted);
  font-size: 1.25rem;
}

.hero__lede strong {
  color: var(--color-text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__hint {
  margin: 28px 0 0;
  color: var(--color-coral-text);
  font: 500 1.45rem var(--font-note);
  transform: rotate(-1.5deg);
  transform-origin: left;
}

.hero__hint strong {
  font-weight: 700;
}


/* ---------- 6. Terminal ---------- */

.terminal {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color-text);
  border-radius: 18px;
  background: var(--terminal-bg);
  color: var(--terminal-text);
  font-family: var(--font-code);
  font-size: 0.86rem;
  box-shadow: 12px 12px 0 var(--color-coral);
  transition: box-shadow 0.2s;
}

.terminal:focus-within {
  box-shadow: 12px 12px 0 var(--color-mint);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 2px solid var(--color-text);
  background: var(--terminal-bar);
}

.terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal__dot--red    { background: #FF5F57; }
.terminal__dot--yellow { background: #FEBC2E; }
.terminal__dot--green  { background: #28C840; }

.terminal__title {
  margin-left: auto;
  color: var(--terminal-dim);
  font-size: 0.78rem;
}

.terminal__screen {
  height: 340px;
  padding: 18px 20px 14px;
  overflow: auto;
  cursor: text;
}

.terminal__screen p {
  margin: 0 0 6px;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal__screen a {
  color: var(--color-coral-text);
  font-weight: 600;
}

.terminal__prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
}

.terminal__input {
  flex: 1;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--terminal-text);
  font: inherit;
  caret-color: var(--color-coral-text);
}

.terminal__input:focus-visible {
  outline: none;
}

.terminal__input::placeholder {
  color: var(--terminal-dim);
}

.terminal__commands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 14px;
  border-top: 2px solid var(--color-text);
  background: var(--terminal-bar);
}

.terminal__commands button {
  padding: 6px 12px;
  border: 1.5px solid var(--color-text);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font: 500 0.8rem var(--font-code);
  cursor: pointer;
  transition: transform 0.15s;
}

.terminal__commands button:hover {
  transform: translateY(-2px);
}

.terminal__commands .is-highlight {
  border-color: var(--color-coral);
  background: var(--color-coral);
  color: var(--color-on-bright);
}

/* Text colors used inside the terminal */
.t-dim    { color: var(--terminal-dim); }
.t-pass   { color: var(--color-success); font-weight: 600; }
.t-warn   { color: var(--color-warning); font-weight: 600; }
.t-strong { color: var(--terminal-text); font-weight: 600; }

/* Confetti for the "hire nija" command */
.confetti {
  position: absolute;
  top: 45%;
  left: 50%;
  z-index: 4;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  pointer-events: none;
  animation: confetti 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes confetti {
  to {
    transform: translate(var(--dx), var(--dy)) rotate(var(--rot));
    opacity: 0;
  }
}


/* ---------- 7. Shared section styles ---------- */

.section {
  position: relative;
  padding: 88px 0;
}

.section--about     { background: var(--tint-mint); }
.section--skills    { background: var(--tint-aqua); }
.section--projects  { background: var(--tint-coral); }
.section--education { background: var(--tint-butter); }
.section--contact   { background: var(--tint-teal); }

.section__title {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section__note {
  margin: 0 0 36px;
  color: var(--color-coral-text);
  font: 700 1.5rem var(--font-note);
  transform: rotate(-1deg);
  transform-origin: left;
}


/* ---------- 8. About ---------- */

.about {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}

.about__text {
  max-width: 62ch;
  color: var(--color-muted);
  font-size: 1.15rem;
}

.about__text p {
  margin: 0 0 1em;
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px dashed var(--color-line);
}

.facts li:last-child {
  border-bottom: 0;
}

.facts span {
  color: var(--color-muted);
}

.facts strong {
  text-align: right;
}


/* ---------- 9. Skills ---------- */

.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skill-group {
  padding: 22px;
  border: 1px solid var(--color-line);
  border-top: 6px solid var(--accent);
  border-radius: 14px;
  background: var(--color-surface);
}

.skill-group--coral  { --accent: var(--color-coral);  --chip: var(--tint-coral); }
.skill-group--mint   { --accent: var(--color-mint);   --chip: var(--tint-mint); }
.skill-group--butter { --accent: var(--color-butter); --chip: var(--tint-butter); }
.skill-group--aqua   { --accent: var(--color-aqua);   --chip: var(--tint-aqua); }

.skill-group--wide {
  grid-column: span 2;
  border: 2px solid var(--color-text);
}

.skill-group h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.skill-group__count {
  display: block;
  margin-bottom: 14px;
  color: var(--color-success);
  font-size: 0.85rem;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 0.92rem;
}


/* ---------- 10. Experience ---------- */

.timeline {
  max-width: 820px;
  margin: 0;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--color-text);
  list-style: none;
}

.timeline__item {
  position: relative;
  padding: 0 0 48px 28px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -40px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--color-text);
  border-radius: 50%;
  background: var(--color-coral);
}

.timeline__item--current::before {
  border-color: var(--color-success);
  background: var(--color-success);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--color-success) 25%, transparent);
}

.timeline__role {
  margin: 10px 0 2px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.timeline__meta {
  margin: 0 0 14px;
  color: var(--color-muted);
}

.timeline__item ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-muted);
}

.timeline__item ul li {
  margin-bottom: 6px;
}


/* ---------- 11. Projects ---------- */

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ticket {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.ticket__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.8rem;
}

.ticket__key {
  color: var(--color-muted);
  font-weight: 600;
}

.ticket h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.ticket p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--color-muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  padding: 2px 10px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  font-size: 0.82rem;
}


/* ---------- 12. Education ---------- */

.education {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.info-card {
  padding: 26px;
}

.info-card h3 {
  margin: 26px 0 16px;
  font-size: 1.3rem;
}

.info-card h3:first-child {
  margin-top: 0;
}

.entry {
  margin-bottom: 18px;
}

.entry strong {
  display: block;
}

.entry span {
  color: var(--color-muted);
  font-size: 0.98rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pills span {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--color-butter);
  color: var(--color-on-bright);
  font-size: 0.78rem;
  font-weight: 600;
}


/* ---------- 13. Contact ---------- */

.contact-ticket {
  max-width: 760px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 12px 12px 0 var(--color-coral);
}

.contact-ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  border-bottom: 2px solid var(--color-text);
  background: var(--color-butter);
  color: var(--color-on-bright);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-ticket__body {
  padding: 26px;
}

.details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0 0 28px;
}

.details dt {
  color: var(--color-muted);
}

.details dd {
  margin: 0;
  font-weight: 600;
}

.details .priority {
  color: var(--color-coral-text);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}

.contact-links a:first-child {
  grid-column: 1 / -1;
}

.contact-links a:hover {
  border-color: var(--color-text);
  background: var(--tint-mint);
}

.contact-links svg {
  flex: none;
  width: 22px;
  height: 22px;
}

.contact-links small {
  display: block;
  color: var(--color-muted);
  font-size: 0.85rem;
  word-break: break-all;
}


/* ---------- 14. Footer ---------- */

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.95rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}


/* ---------- 15. Bug hunt ---------- */

.bug {
  position: absolute;
  z-index: 3;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: rotate(var(--angle, 0deg));
  transition: transform 0.2s;
}

.bug:hover {
  transform: rotate(var(--angle, 0deg)) scale(1.25);
}

.bug svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Where each bug hides */
.bug--hero     { top: 18px;    right: 6%; --angle: 24deg; }
.bug--about    { bottom: 30px; left: 46%; --angle: -35deg; }
.bug--skills   { top: 110px;   right: 4%; --angle: 110deg; }
.bug--projects { bottom: 36px; left: 3%;  --angle: -70deg; }
.bug--contact  { bottom: 60px; right: 8%; --angle: 200deg; }

/* A found bug turns into a green check */
.bug.is-found {
  cursor: default;
  pointer-events: none;
  transform: none;
}

.bug.is-found svg {
  display: none;
}

.bug.is-found::after {
  content: "✓";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--color-success);
  color: #FFFFFF;
  font-weight: 800;
  animation: pop 0.35s ease-out;
}

@keyframes pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.bug-counter {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--color-coral-text);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(15, 61, 62, 0.25);
}

.bug-counter.is-complete {
  background: var(--color-success);
}

.toast {
  position: fixed;
  bottom: 76px;
  left: 50%;
  z-index: 61;
  max-width: min(92vw, 440px);
  padding: 12px 18px;
  border: 2px solid var(--color-text);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.98rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 0.25s, transform 0.25s;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast strong {
  color: var(--color-coral-text);
}


/* ---------- 16. Responsive ---------- */

/* Large desktops */
@media (min-width: 1440px) {
  body {
    font-size: 1.125rem;
  }

  .container {
    max-width: 1280px;
  }

  .hero {
    padding: 110px 0 120px;
  }

  .terminal {
    font-size: 0.92rem;
  }

  .terminal__screen {
    height: 380px;
  }
}

/* Small laptops */
@media (max-width: 1100px) {
  .hero__inner {
    gap: 36px;
  }

  .terminal {
    font-size: 0.8rem;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .hero__inner,
  .about,
  .education {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .skills,
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }

  .terminal {
    width: 100%;
    max-width: 640px;
    font-size: 0.86rem;
  }
}

/* Phones */
@media (max-width: 720px) {
  /* Navigation becomes a dropdown menu */
  .menu-toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px 24px 14px;
    border-bottom: 2px solid var(--color-text);
    background: var(--color-surface);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links .mobile-only {
    display: block;
  }

  .nav__links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-text);
    font-size: 1.05rem;
  }

  .nav__links li:last-child a {
    border-bottom: 0;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero__photo {
    width: 104px;
    height: 104px;
  }

  .hero__note {
    font-size: 1.25rem;
  }

  .hero__lede {
    font-size: 1.1rem;
  }

  .section {
    padding: 64px 0;
  }

  .skills,
  .projects,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .skill-group--wide {
    grid-column: auto;
  }

  .terminal,
  .terminal:focus-within {
    box-shadow: 6px 6px 0 var(--color-coral);
  }

  .terminal__screen {
    height: 300px;
    padding: 14px 14px 10px;
  }

  .terminal__commands {
    padding: 10px 12px 12px;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline__item {
    padding-left: 20px;
  }

  .timeline__item::before {
    left: -30px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .details dd {
    margin-bottom: 10px;
  }

  .footer {
    padding-bottom: 96px;
  }

  .bug-counter {
    right: 12px;
    bottom: 12px;
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }

  .nav__contact {
    display: none;
  }

  .hero__title {
    font-size: 2.6rem;
  }

  .hero__photo {
    width: 88px;
    height: 88px;
  }

  .hero__avatar {
    font-size: 2rem;
  }

  .hero__actions .btn {
    flex: 1;
    padding: 12px 14px;
  }

  .terminal {
    font-size: 0.68rem;
  }

  .contact-ticket {
    box-shadow: 6px 6px 0 var(--color-coral);
  }

  .contact-ticket__body {
    padding: 20px;
  }

  .facts li {
    flex-direction: column;
    gap: 2px;
  }

  .facts strong {
    text-align: left;
  }
}


/* ---------- 17. Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}