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

:root {
  --green-deep:    #0a2e1a;
  --green-dark:    #0f3d24;
  --green-mid:     #1a5c38;
  --green-accent:  #2d9e5f;
  --green-bright:  #3ec878;
  --green-glow:    #5dde8e;
  --cream:         #f5f0e8;
  --cream-dark:    #ede7d9;
  --gold:          #c8a84b;
  --white:         #ffffff;
  --text-muted:    rgba(245,240,232,0.55);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--green-deep);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* ── RADIAL GLOW BACKGROUND ── */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(45,158,95,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(26,92,56,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(15,61,36,0.4) 0%, transparent 60%);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  background: rgba(10,46,26,0.6);
  animation: fadeDown 0.8s ease both;
}

.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--green-bright);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}

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

.nav-cta {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-bright);
  border: 1px solid var(--green-accent);
  padding: 0.55rem 1.3rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}

.nav-cta:hover {
  background: var(--green-accent);
  color: var(--white);
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 4rem;
  gap: 4rem;
}

.hero-left {
  padding-top: 5rem;
  animation: fadeUp 1s ease 0.3s both;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 2rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--green-bright);
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 1rem;
}

.hero-name span {
  color: var(--green-bright);
  font-style: italic;
}

.hero-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 3rem;
}

.hero-desc strong {
  color: var(--cream);
  font-weight: 500;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--green-accent);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--green-bright);
  color: var(--green-deep);
  transform: translateY(-2px);
}

/* ── FOCUS OUTLINES — replace browser purple with green ── */
.btn-primary:focus-visible {
  outline: 2px solid var(--green-accent);
  outline-offset: 3px;
}

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

.btn-primary:focus:not(:focus-visible),
.back-link:focus:not(:focus-visible) {
  outline: none;
}

.btn-ghost {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s;
}

.btn-ghost:hover { color: var(--cream); }

.btn-ghost svg { transition: transform 0.25s; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ── HERO RIGHT ── */
.hero-right {
  padding-top: 5rem;
  animation: fadeUp 1s ease 0.5s both;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── STACK CARD ── */
.stack-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1.8rem 2rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
}

.stack-card:hover {
  border-color: rgba(61,200,120,0.3);
  background: rgba(45,158,95,0.06);
}

.stack-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 1rem;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--cream-dark);
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s, color 0.2s;
}

.pill:hover {
  border-color: var(--green-accent);
  color: var(--green-bright);
}

/* ── AVAILABILITY BADGE ── */
.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-bright);
  border: 1px solid rgba(61,200,120,0.25);
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  background: rgba(61,200,120,0.05);
  width: fit-content;
}

/* ── DOTS ── */
.dot {
  width: 7px;
  height: 7px;
  background: var(--green-bright);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.dot-gold {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

/* ── STAT ROW ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.stat {
  background: rgba(10,46,26,0.8);
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--green-bright);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── SCROLL INDICATOR ── */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeUp 1s ease 1.2s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green-accent), transparent);
  animation: scrollLine 2s ease infinite;
}

/* ── DECORATIVE CORNER ── */
.corner-mark {
  position: absolute;
  top: 6rem;
  right: 4rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  text-transform: uppercase;
  animation: fadeUp 1s ease 0.8s both;
}

/* ── CURRENTLY BUILDING TEXT ── */
.building-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--cream-dark);
}

.building-text strong {
  color: var(--green-bright);
}

/* ── HINT TEXT (test card) ── */
.hint {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── PROJECT CARD ── */
.project-card {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1.8rem 2rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s, transform 0.25s;
  cursor: pointer;
}

.project-card:hover {
  border-color: rgba(61,200,120,0.4);
  background: rgba(45,158,95,0.07);
  transform: translateY(-3px);
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.project-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.project-subline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  font-style: italic;
}

.project-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-bright);
  white-space: nowrap;
  transition: gap 0.2s;
}

.project-card:hover .project-arrow { gap: 0.7rem; }

/* ── PROJECT DETAIL PAGE ── */
.project-hero {
  position: relative;
  z-index: 1;
  padding: 8rem 4rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeUp 1s ease 0.2s both;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.25s;
}

.back-link:hover { color: var(--green-bright); }
.back-link svg { transition: transform 0.25s; }
.back-link:hover svg { transform: translateX(-4px); }

.project-page-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 1.2rem;
}

.project-page-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--green-bright);
}

.project-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.project-page-title span {
  color: var(--green-bright);
  font-style: italic;
}

.project-page-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 3.5rem;
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.meta-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.88rem;
  color: var(--cream);
  font-weight: 500;
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 6rem;
}

.section-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.section-text {
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.section-text strong {
  color: var(--cream);
  font-weight: 500;
}

.objective-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.objective-list li {
  display: flex;
  gap: 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.objective-list li::before {
  content: '→';
  color: var(--green-bright);
  font-family: 'DM Mono', monospace;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.outcome-item {
  background: rgba(10,46,26,0.8);
  padding: 1.5rem 1.2rem;
  text-align: center;
}

.outcome-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-bright);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.outcome-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CONTACT PAGE ── */
.contact-page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 4rem 6rem;
  animation: fadeUp 1s ease 0.2s both;
}

.contact-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1rem;
}

.contact-title span {
  color: var(--green-bright);
  font-style: italic;
}

.contact-intro {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── FORM ── */
.contact-form-col { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
}

.form-input::placeholder { color: rgba(245,240,232,0.25); }

.form-input:focus {
  border-color: var(--green-accent);
  background: rgba(45,158,95,0.05);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(245,240,232,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-select option { background: var(--green-dark); color: var(--cream); }

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.form-submit { margin-top: 0.5rem; align-self: flex-start; }

/* ── INFO COLUMN ── */
.contact-info-col { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: opacity 0.2s;
}

.contact-info-item:last-child { border-bottom: none; }
.contact-info-item:hover { opacity: 0.75; }

.contact-info-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-bright);
  flex-shrink: 0;
}

.contact-info-text { display: flex; flex-direction: column; gap: 0.15rem; }

.contact-info-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-info-value {
  font-size: 0.82rem;
  color: var(--cream-dark);
}

/* ── EXPECT LIST ── */
.expect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.expect-dot {
  width: 5px;
  height: 5px;
  background: var(--green-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ── LOCATION ── */
.contact-location {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.location-value {
  font-size: 0.84rem;
  color: var(--cream-dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.4rem 2rem; }
  .nav-links { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 0 2rem;
    padding-top: 5rem;
    gap: 2.5rem;
    min-height: unset;
    padding-bottom: 4rem;
  }

  .hero-right { padding-top: 0; }

  .corner-mark {
    position: static;
    writing-mode: horizontal-tb;
    font-size: 0.65rem;
    text-align: center;
    margin-top: 0.5rem;
    opacity: 0.5;
  }

  .scroll-hint { display: none; }

  .project-hero { padding: 7rem 2rem 3rem; }
  .outcome-grid { grid-template-columns: 1fr 1fr; }
  .project-meta-row { gap: 1.2rem; }

  .contact-page { padding: 7rem 2rem 4rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
/* ── HAMBURGER MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE MENU PANEL ── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99;
  background: rgba(10,46,26,0.97);
  backdrop-filter: blur(16px);
  padding: 6rem 2rem 3rem;
  flex-direction: column;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.nav-mobile.open {
  transform: translateY(0);
}

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile-links li a {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}

.nav-mobile-links li a:hover { color: var(--green-bright); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .nav-cta { display: none; }
}


/* ── =========================================================================== ── */

/* ── SERVICES SECTION ── */
.services-section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.services-header {
  max-width: 580px;
  margin-bottom: 4rem;
}

.services-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1rem;
}

.services-title span {
  color: var(--green-bright);
  font-style: italic;
}

.services-intro {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.service-card {
  background: rgba(10,46,26,0.7);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: background 0.3s;
}

.service-card:hover {
  background: rgba(45,158,95,0.08);
}

.service-icon {
  color: var(--green-bright);
  margin-bottom: 0.2rem;
}

.service-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
}

.service-desc {
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--text-muted);
  flex: 1;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.services-cta-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.services-cta-note a {
  color: var(--green-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(61,200,120,0.3);
  transition: border-color 0.2s;
}

.services-cta-note a:hover {
  border-color: var(--green-bright);
}

/* ── PILL LINK RESET ── */
a.pill {
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .services-section { padding: 4rem 2rem; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
       ABOUT SECTION — Additional CSS only
       Borrows all tokens from style.css
    ═══════════════════════════════════════════ */

    /* ── SCROLL-TRIGGERED FADE-UP ── */
    .fade-up {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .fade-up.delay-1 { transition-delay: 0.1s; }
    .fade-up.delay-2 { transition-delay: 0.2s; }
    .fade-up.delay-3 { transition-delay: 0.32s; }
    .fade-up.delay-4 { transition-delay: 0.44s; }

    /* ── SECTION WRAPPER ── */
    .about-section {
      position: relative;
      z-index: 1;
      padding: 6rem 4rem 2rem;
    }

    /* ── SECTION HEADER ── */
    .about-header {
      max-width: 560px;
      margin-bottom: 4rem;
    }

    .about-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 700;
      line-height: 1.1;
      color: var(--cream);
      margin-bottom: 1rem;
    }

    .about-title span {
      color: var(--green-bright);
      font-style: italic;
    }

    .about-intro {
      font-size: 0.98rem;
      line-height: 1.85;
      color: var(--text-muted);
    }

    /* ── TWO-COLUMN GRID ── */
    .about-grid {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 4rem;
      align-items: start;
      margin-bottom: 4rem;
    }

    /* ── LEFT: STORY ── */
    .about-story {
      display: flex;
      flex-direction: column;
      gap: 2.2rem;
    }

    .story-block {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .story-marker {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--green-bright);
      margin-bottom: 0.2rem;
    }

    .story-marker::before {
      content: '';
      display: block;
      width: 20px;
      height: 1px;
      background: var(--green-bright);
    }

    .story-text {
      font-size: 0.97rem;
      line-height: 1.9;
      color: var(--text-muted);
    }

    .story-text strong {
      color: var(--cream);
      font-weight: 500;
    }

    /* ── RIGHT: CARDS COLUMN ── */
    .about-cards {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    /* ── EDUCATION CARD ── */
    .edu-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 4px;
      padding: 1.8rem 2rem;
      backdrop-filter: blur(8px);
      transition: border-color 0.3s, background 0.3s;
    }

    .edu-card:hover {
      border-color: rgba(61,200,120,0.3);
      background: rgba(45,158,95,0.05);
    }

    .edu-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.2rem;
    }

    .edu-icon {
      width: 38px;
      height: 38px;
      border: 1px solid rgba(61,200,120,0.2);
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--green-bright);
      flex-shrink: 0;
    }

    .edu-year {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-muted);
      border: 1px solid rgba(255,255,255,0.08);
      padding: 0.3rem 0.7rem;
      border-radius: 2px;
    }

    .edu-degree {
      font-family: 'Playfair Display', serif;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--cream);
      line-height: 1.3;
      margin-bottom: 0.3rem;
    }

    .edu-school {
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--green-bright);
      margin-bottom: 0.8rem;
    }

    .edu-spec {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .edu-spec::before {
      content: '→';
      font-family: 'DM Mono', monospace;
      color: var(--green-accent);
      font-size: 0.75rem;
    }

    /* ── VALUES CARD ── */
    .values-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 4px;
      padding: 1.8rem 2rem;
      backdrop-filter: blur(8px);
      transition: border-color 0.3s, background 0.3s;
    }

    .values-card:hover {
      border-color: rgba(61,200,120,0.3);
      background: rgba(45,158,95,0.05);
    }

    .values-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .value-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .value-item:last-child { border-bottom: none; }

    .value-number {
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.14em;
      color: var(--green-bright);
      opacity: 0.5;
      flex-shrink: 0;
      margin-top: 0.05rem;
    }

    .value-text {
      font-family: 'DM Mono', monospace;
      font-size: 0.72rem;
      line-height: 1.65;
      color: var(--cream-dark);
      letter-spacing: 0.02em;
    }

    /* ── TIMELINE STRIP ── */
    .about-timeline {
      position: relative;
      margin-bottom: 5rem;
    }

    .timeline-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 1.8rem;
    }

    .timeline-track {
      position: relative;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 4px;
      overflow: hidden;
    }

    /* Animated progress line above the track */
    .timeline-track::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      height: 2px;
      width: 0%;
      background: linear-gradient(to right, var(--green-accent), var(--green-bright));
      transition: width 1.4s ease 0.3s;
      z-index: 2;
    }

    .timeline-track.visible::before {
      width: 100%;
    }

    .timeline-node {
      background: rgba(10,46,26,0.8);
      padding: 1.6rem 1.6rem 1.4rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      position: relative;
      transition: background 0.3s;
    }

    .timeline-node:hover {
      background: rgba(45,158,95,0.07);
    }

    .timeline-year {
      font-family: 'Playfair Display', serif;
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--green-bright);
      line-height: 1;
    }

    .timeline-event {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--cream);
      line-height: 1.3;
    }

    .timeline-desc {
      font-family: 'DM Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      line-height: 1.6;
      text-transform: uppercase;
    }

    /* ── BUSINESS CARD ── */
    .biz-card-wrapper {
      margin-bottom: 6rem;
    }

    .biz-card-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 1.8rem;
    }

    .biz-card {
      position: relative;
      background: rgba(15,61,36,0.6);
      border: 1px solid rgba(61,200,120,0.15);
      border-radius: 6px;
      padding: 2.4rem 2.8rem;
      backdrop-filter: blur(16px);
      overflow: hidden;
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 2.8rem;
      align-items: center;
      transition: border-color 0.4s, box-shadow 0.4s;
      max-width: 860px;
    }

    .biz-card:hover {
      border-color: rgba(61,200,120,0.35);
      box-shadow: 0 12px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(61,200,120,0.08);
    }

    /* Decorative diagonal stripe — bottom right */
    .biz-card::before {
      content: '';
      position: absolute;
      bottom: -30px; right: -30px;
      width: 180px; height: 180px;
      background: radial-gradient(circle, rgba(45,158,95,0.12) 0%, transparent 70%);
      pointer-events: none;
    }

    /* TKM watermark — large faint letters */
    .biz-card::after {
      content: 'TKM';
      position: absolute;
      bottom: -0.6rem; right: 1.8rem;
      font-family: 'Playfair Display', serif;
      font-size: 6rem;
      font-weight: 700;
      color: rgba(61,200,120,0.04);
      letter-spacing: 0.1em;
      pointer-events: none;
      user-select: none;
      line-height: 1;
    }

    /* ── PHOTO COLUMN ── */
    .biz-photo-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6rem;
    }

    .biz-photo-frame {
      width: 84px;
      height: 84px;
      border-radius: 3px;
      border: 1px solid rgba(61,200,120,0.25);
      overflow: hidden;
      background: rgba(255,255,255,0.03);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    /* Photo placeholder — replace src with real image */
    .biz-photo-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Placeholder silhouette shown when no image */
    .biz-photo-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.3rem;
      color: rgba(61,200,120,0.3);
    }

    .biz-photo-hint {
      font-family: 'DM Mono', monospace;
      font-size: 0.48rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(245,240,232,0.2);
      text-align: center;
      line-height: 1.5;
    }

    /* ── INFO COLUMN ── */
    .biz-info-col {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }

    .biz-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.55rem;
      font-weight: 700;
      color: var(--cream);
      line-height: 1.15;
      margin-bottom: 0.2rem;
    }

    .biz-name span {
      color: var(--green-bright);
      font-style: italic;
    }

    .biz-role {
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.9rem;
    }

    .biz-divider {
      width: 36px;
      height: 1px;
      background: rgba(61,200,120,0.3);
      margin-bottom: 0.9rem;
    }

    .biz-contacts {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }

    .biz-contact-line {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
      transition: opacity 0.2s;
    }

    .biz-contact-line:hover { opacity: 0.7; }

    .biz-contact-icon {
      color: var(--green-bright);
      flex-shrink: 0;
      opacity: 0.8;
    }

    .biz-contact-text {
      font-family: 'DM Mono', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.06em;
      color: var(--cream-dark);
    }

    .biz-uni-line {
      margin-top: 0.6rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .biz-uni-text {
      font-size: 0.78rem;
      color: var(--text-muted);
      font-style: italic;
    }

    /* ── QR COLUMN ── */
    .biz-qr-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.7rem;
    }

    .biz-qr-frame {
      width: 90px;
      height: 90px;
      border: 1px solid rgba(61,200,120,0.2);
      border-radius: 3px;
      padding: 6px;
      background: var(--green-deep);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .biz-qr-frame svg {
      width: 100%;
      height: 100%;
    }

    .biz-qr-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.52rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-muted);
      text-align: center;
      line-height: 1.5;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .about-section { padding: 4rem 2rem 2rem; }

      .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      .timeline-track {
        grid-template-columns: 1fr 1fr;
      }

      .biz-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
      }

      .biz-photo-col,
      .biz-qr-col {
        flex-direction: row;
        align-items: center;
        gap: 1.2rem;
      }

      .biz-photo-hint,
      .biz-qr-label {
        text-align: left;
      }

      .biz-card::after { font-size: 4rem; }
    }

    @media (max-width: 560px) {
      .timeline-track { grid-template-columns: 1fr; }
    }
    @media (max-width: 900px) {
  .about-section { padding: 6rem 2rem 2rem; }
}

 /* ── =============================================================================================================================================================================== ── */
 /* ── BUSINESS CARD — redesigned ── */
.biz-card-wrapper { margin-bottom: 6rem; }

.biz-card-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.biz-card {
  position: relative;
  display: flex;
  max-width: 620px;
  background: rgba(15,61,36,0.55);
  border: 1px solid rgba(61,200,120,0.18);
  border-radius: 6px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.biz-card:hover {
  border-color: rgba(61,200,120,0.38);
  box-shadow: 0 16px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(61,200,120,0.08);
}

/* faint TKM watermark */
.biz-card::after {
  content: 'TKM';
  position: absolute;
  bottom: -0.8rem; right: 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(61,200,120,0.045);
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Green left accent band */
.biz-card-band {
  width: 4px;
  background: linear-gradient(to bottom, var(--green-bright), var(--green-accent));
  flex-shrink: 0;
}

.biz-card-body {
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

/* ── IDENTITY ROW ── */
.biz-card-identity {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.biz-photo-frame {
  width: 56px;
  height: 56px;
  border-radius: 3px;
  border: 1px solid rgba(61,200,120,0.22);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(61,200,120,0.35);
}

.biz-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-identity-text { display: flex; flex-direction: column; gap: 0.25rem; }

.biz-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
}

.biz-name span {
  color: var(--green-bright);
  font-style: italic;
}

.biz-role {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── DIVIDER ── */
.biz-card-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* ── FOOTER ROW ── */
.biz-card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.biz-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.biz-contact-line,
.biz-location-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.biz-contact-line:hover { opacity: 0.65; }

.biz-contact-icon {
  color: var(--green-bright);
  flex-shrink: 0;
  opacity: 0.75;
}

.biz-contact-text {
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  color: var(--cream-dark);
}

.biz-location-line .biz-contact-text { color: var(--text-muted); }

/* ── QR ── */
.biz-qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.biz-qr-frame {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(61,200,120,0.2);
  border-radius: 3px;
  padding: 5px;
  background: var(--green-deep);
}

.biz-qr-frame svg { width: 100%; height: 100%; display: block; }

.biz-qr-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .biz-card { max-width: 100%; }
  .biz-card-footer-row { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .biz-qr-col { flex-direction: row; align-items: center; gap: 1rem; }
}


    /* ═══════════════════════════════════════════════════
       SKILLS PAGE — Additional CSS only.
       All design tokens, nav, fonts, animations, .pill,
       .hero-tag, .back-link, .btn-primary are from
       style.css — nothing redeclared here.
    ═══════════════════════════════════════════════════ */

    /* ── SCROLL-TRIGGERED FADE ── */
    .fade-up {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .fade-up.visible        { opacity: 1; transform: translateY(0); }
    .fade-up.delay-1        { transition-delay: 0.08s; }
    .fade-up.delay-2        { transition-delay: 0.18s; }
    .fade-up.delay-3        { transition-delay: 0.28s; }
    .fade-up.delay-4        { transition-delay: 0.38s; }

    /* ── PAGE WRAPPER ── */
    .skills-page {
      position: relative;
      z-index: 1;
      padding: 8rem 4rem 0;
    }

    /* ── DOT-GRID BACKGROUND TEXTURE ── */
    .skills-page::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: radial-gradient(circle, rgba(61,200,120,0.07) 1px, transparent 1px);
      background-size: 28px 28px;
      pointer-events: none;
      z-index: 0;
    }

    /* ── PAGE HEADER ── */
    .skills-header {
      max-width: 600px;
      margin-bottom: 4rem;
      position: relative;
      z-index: 1;
    }

    .skills-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 700;
      line-height: 1.1;
      color: var(--cream);
      margin-bottom: 1rem;
    }

    .skills-title span {
      color: var(--green-bright);
      font-style: italic;
    }

    .skills-intro {
      font-size: 0.97rem;
      line-height: 1.88;
      color: var(--text-muted);
    }

    /* ── LEGEND ── */
    .skills-legend {
      display: flex;
      align-items: center;
      gap: 2rem;
      margin-bottom: 3rem;
      position: relative;
      z-index: 1;
    }

    .legend-label {
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-right: 0.5rem;
    }

    .legend-items {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .legend-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .legend-pip {
      width: 20px;
      height: 4px;
      border-radius: 2px;
    }

    .legend-pip.primary   { background: var(--green-bright); }
    .legend-pip.working   { background: var(--green-accent); opacity: 0.6; }
    .legend-pip.studying  {
      background: transparent;
      border: 1px solid rgba(61,200,120,0.35);
    }

    /* ── 2x2 DOMAIN GRID ── */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 4px;
      overflow: hidden;
      margin-bottom: 1px;
      position: relative;
      z-index: 1;
    }

    /* ── DOMAIN CARD ── */
    .domain-card {
      background: rgba(10,46,26,0.75);
      padding: 2.2rem 2.2rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 0;
      transition: background 0.3s;
      position: relative;
      overflow: hidden;
    }

    .domain-card:hover { background: rgba(45,158,95,0.07); }

    /* coloured top border per domain */
    .domain-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
    }

    .domain-card.web::before        { background: var(--green-bright); }
    .domain-card.security::before   { background: var(--gold); }
    .domain-card.infra::before      { background: var(--green-accent); }
    .domain-card.data::before       { background: var(--green-mid); }

    /* large faint domain number watermark */
    .domain-card::after {
      content: attr(data-num);
      position: absolute;
      bottom: -1.2rem; right: 1.4rem;
      font-family: 'Playfair Display', serif;
      font-size: 7rem;
      font-weight: 700;
      color: rgba(61,200,120,0.04);
      line-height: 1;
      pointer-events: none;
      user-select: none;
      transition: color 0.3s, transform 0.3s;
    }

    .domain-card:hover::after {
      color: rgba(61,200,120,0.07);
      transform: scale(1.05);
    }

    /* ── CARD TOP ZONE ── */
    .domain-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 1.6rem;
      gap: 1rem;
    }

    .domain-meta { display: flex; flex-direction: column; gap: 0.4rem; }

    .domain-number {
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .domain-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--cream);
      line-height: 1.2;
    }

    .domain-name span {
      font-style: italic;
    }

    .domain-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      padding: 0.28rem 0.7rem;
      border-radius: 2px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .domain-tag.web      { color: var(--green-bright); background: rgba(62,200,120,0.08); border: 1px solid rgba(62,200,120,0.2); }
    .domain-tag.security { color: var(--gold);         background: rgba(200,168,75,0.08);  border: 1px solid rgba(200,168,75,0.2); }
    .domain-tag.infra    { color: var(--green-accent);  background: rgba(45,158,95,0.08);  border: 1px solid rgba(45,158,95,0.2); }
    .domain-tag.data     { color: var(--green-glow);    background: rgba(26,92,56,0.2);    border: 1px solid rgba(93,222,142,0.2); }

    .domain-desc {
      font-family: 'DM Mono', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 1.6rem;
    }

    /* ── DIVIDER INSIDE CARD ── */
    .domain-divider {
      height: 1px;
      background: rgba(255,255,255,0.05);
      margin-bottom: 1.6rem;
    }

    /* ── SKILL ROWS ── */
    .skill-rows {
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
    }

    .skill-row {
      display: grid;
      grid-template-columns: 140px 1fr 80px;
      align-items: center;
      gap: 1rem;
    }

    .skill-name {
      font-family: 'DM Mono', monospace;
      font-size: 0.7rem;
      letter-spacing: 0.08em;
      color: var(--cream-dark);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* categorical bar track */
    .skill-bar-track {
      height: 3px;
      background: rgba(255,255,255,0.06);
      border-radius: 2px;
      overflow: hidden;
      position: relative;
    }

    .skill-bar-fill {
      height: 100%;
      border-radius: 2px;
      width: 0%;
      transition: width 1s ease 0.4s;
    }

    /* three states */
    .skill-bar-fill.primary  { background: var(--green-bright); width: 100%; }
    .skill-bar-fill.working  { background: var(--green-accent); width: 60%; }
    .skill-bar-fill.studying {
      width: 25%;
      background: rgba(61,200,120,0.35);
    }

    /* bar animation — starts at 0 until .animate is added */
    .skill-bar-fill.primary.animate   { width: 100%; }
    .skill-bar-fill.working.animate   { width: 60%; }
    .skill-bar-fill.studying.animate  { width: 25%; }

    /* reset to 0 before animation */
    .domain-card:not(.animated) .skill-bar-fill { width: 0% !important; }
    .domain-card.animated .skill-bar-fill.primary  { width: 100%; }
    .domain-card.animated .skill-bar-fill.working  { width: 60%; }
    .domain-card.animated .skill-bar-fill.studying { width: 25%; }

    .skill-level {
      font-family: 'DM Mono', monospace;
      font-size: 0.55rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-align: right;
      white-space: nowrap;
    }

    .skill-level.primary  { color: var(--green-bright); }
    .skill-level.working  { color: var(--green-accent); }
    .skill-level.studying { color: var(--text-muted); }

    /* ── CARD ANCHOR NOTE ── */
    .domain-anchor {
      margin-top: 1.4rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .domain-anchor a {
      color: var(--green-bright);
      text-decoration: none;
      border-bottom: 1px solid rgba(61,200,120,0.25);
      transition: border-color 0.2s;
    }

    .domain-anchor a:hover { border-color: var(--green-bright); }

    /* ── TICKER STRIP ── */
    .ticker-section {
      position: relative;
      z-index: 1;
      overflow: hidden;
      border-top: 1px solid rgba(255,255,255,0.06);
      border-bottom: 1px solid rgba(255,255,255,0.06);
      background: rgba(10,46,26,0.6);
      backdrop-filter: blur(8px);
      padding: 0;
      margin-bottom: 0;
    }

    .ticker-label-row {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      padding: 0.9rem 4rem;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .ticker-heading {
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .ticker-divider-line {
      flex: 1;
      height: 1px;
      background: rgba(255,255,255,0.05);
    }

    .ticker-count {
      font-family: 'DM Mono', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.14em;
      color: var(--green-bright);
      opacity: 0.6;
      white-space: nowrap;
    }

    /* scrolling ticker */
    .ticker-track-outer {
      overflow: hidden;
      padding: 1rem 0;
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    }

    .ticker-track {
      display: flex;
      width: max-content;
      animation: tickerScroll 38s linear infinite;
    }

    .ticker-track:hover { animation-play-state: paused; }

    @keyframes tickerScroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    .ticker-item {
      display: inline-flex;
      align-items: center;
      gap: 1.2rem;
      padding: 0 2rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
      white-space: nowrap;
      transition: color 0.2s;
    }

    .ticker-item:hover { color: var(--cream); }

    .ticker-dot {
      width: 4px;
      height: 4px;
      background: var(--green-accent);
      border-radius: 50%;
      opacity: 0.5;
      flex-shrink: 0;
    }

    /* ── CTA STRIP ── */
    .skills-cta {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      padding: 3rem 4rem 6rem;
      flex-wrap: wrap;
    }

    .skills-cta-text {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .skills-cta-heading {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--cream);
    }

    .skills-cta-heading span {
      color: var(--green-bright);
      font-style: italic;
    }

    .skills-cta-sub {
      font-size: 0.84rem;
      color: var(--text-muted);
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .skills-page    { padding: 6rem 2rem 0; }
      .skills-grid    { grid-template-columns: 1fr; }
      .skill-row      { grid-template-columns: 110px 1fr 70px; gap: 0.7rem; }
      .skills-legend  { flex-wrap: wrap; gap: 1rem; }
      .ticker-label-row { padding: 0.9rem 2rem; }
      .skills-cta     { padding: 2.5rem 2rem 5rem; flex-direction: column; align-items: flex-start; }
      .domain-card::after { font-size: 5rem; }
    }

    @media (max-width: 480px) {
      .skill-row { grid-template-columns: 90px 1fr 60px; }
      .skill-name { font-size: 0.62rem; }
    }
