
:root {
  --bg: #101010;
  --surface: #181818;
  --surface-light: #202020;
  --text: #f2f0eb;
  --muted: #929292;
  --accent: #c7a77b;
  --border: rgba(255, 255, 255, 0.09);
  --font: Arial, Helvetica, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1100px, 88%);
  margin: auto;
}

/* NAVIGATION */

nav {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  transition: color 0.3s;
}

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

/* HERO */

.hero {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 90px 0;
}

.eyebrow,
.number {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: bold;
}

.hero h1 {
  font-size: clamp(65px, 12vw, 130px);
  line-height: 0.95;
  letter-spacing: -7px;
  margin: 25px 0;
  font-weight: 900;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 30px;
}

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

.btn {
  display: inline-block;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 12px 22px;
  font-size: 10px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover,
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #101010;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  color: var(--muted);
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #91a987;
  box-shadow: 0 0 12px rgba(145, 169, 135, 0.4);
}

/* SECTIONS */

section {
  padding: 85px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 25px;
}

section h2 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 20px 0 25px;
}

.intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

/* QUOTE */

.quote {
  margin-top: 45px;
  padding: 30px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  font-size: 19px;
  font-style: italic;
}

.quote small {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 2px;
  margin-top: 15px;
}

/* RANDOM THOUGHTS */

.quote-box {
  margin-top: 30px;
  padding: 35px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 65px;
  line-height: 1;
  color: var(--accent);
}

#quoteText {
  font-family: Georgia, serif;
  font-size: clamp(21px, 4vw, 32px);
  line-height: 1.5;
  margin: 15px 0 25px;
}

#quoteAuthor {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 11px;
}

.quote-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.quote-buttons button {
  font-family: inherit;
}

#copyStatus {
  color: var(--muted);
  font-size: 12px;
  margin-top: 15px;
  min-height: 20px;
}

/* GENERAL CARDS */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 35px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 30px;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.icon {
  font-size: 28px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

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

.tag {
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 5px 9px;
  font-size: 9px;
  letter-spacing: 1px;
}

/* TIMELINE */

.timeline {
  margin-top: 35px;
  border-left: 1px solid var(--accent);
  padding-left: 28px;
}

.timeline-item {
  position: relative;
  padding-bottom: 35px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item small {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 2px;
}

.timeline-item h3 {
  margin: 8px 0;
  font-size: 21px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 14px;
}

/* PROJECTS */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 35px;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 310px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.project-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.project-label {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 2px;
}

.project-symbol {
  color: var(--accent);
  font-size: 22px;
}

.project-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.project-card p {
  color: var(--muted);
  font-size: 14px;
}

.project-card .tags {
  margin-top: auto;
  padding-top: 22px;
}

.project-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 5px;
  transition: opacity 0.3s;
}

.project-link:hover {
  opacity: 0.7;
}

.project-status {
  display: inline-block;
  margin-top: 25px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
}

.project-note {
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
}

/* CONTACT */

.contact-actions {
  margin-top: 30px;
}

.contact-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 20px;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border);
  padding: 35px 0;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
}

footer p {
  margin: 6px 0;
}

footer span {
  color: var(--accent);
}

.back-to-top {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 2px;
}

/* FOCUS ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

/* MOBILE */

@media (max-width: 750px) {
  .container {
    width: 90%;
  }

  nav {
    min-height: 90px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 15px 0;
  }

  .nav-links {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .hero {
    min-height: 470px;
    padding: 70px 0;
  }

  .hero h1 {
    font-size: clamp(58px, 15vw, 85px);
    letter-spacing: -4px;
  }

  .hero p {
    font-size: 14px;
  }

  section {
    padding: 65px 0;
  }

  .grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .project-card {
    padding: 25px;
  }

  .quote {
    font-size: 16px;
    padding: 22px;
  }

  .quote-box {
    padding: 25px;
  }
}

/* SMALL PHONES */

@media (max-width: 380px) {
  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 8px;
  }

  .hero h1 {
    font-size: 55px;
  }

  .btn {
    padding: 11px 15px;
    font-size: 9px;
  }
}

/* REDUCED MOTION */

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


/* PROJECT CARDS */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 310px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.project-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.project-label {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 2px;
}

.project-symbol {
  color: var(--accent);
  font-size: 22px;
}

.project-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.project-card p {
  color: var(--muted);
  font-size: 14px;
}

.project-card .tags {
  margin-top: auto;
  padding-top: 22px;
}

.project-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 5px;
}

.project-status {
  display: inline-block;
  margin-top: 25px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
}

@media (max-width: 750px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   PROJECT IMAGE PREVIEWS
======================================== */

.project-card {
  overflow: hidden;
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 10px;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

@media (max-width: 600px) {
  .project-image {
    aspect-ratio: 16 / 10;
    margin: 16px 0;
  }

  .project-image img {
    object-position: top center;
  }
}


