/* Career Space — dark studio ledger page.
   Standalone stylesheet: this page does not share styles.css with the Projects page. */

:root {
  --bg: #0a0908;
  --text: #e9e6df;
  --heading: #f2ecdf;
  --row-title: #eae7de;
  --body: #98958b;
  --muted: #8f8c82;
  --faint: #6e6b60;
  --number: #55524a;
  --tech: #6a675e;
  --skill-text: #c4c1b7;
  --cert-text: #a8a59a;
  --gold: #c9a24a;
  --green: #8fc06a;
  --green-text: #8fce7a;
  --hairline: rgba(255,255,255,0.07);
  --hairline-strong: rgba(255,255,255,0.10);
  --serif: 'Libre Caslon Display', serif;
  --sans: 'Hanken Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; transition: opacity 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  a:hover { opacity: 0.65; }
}
p { margin: 0; text-wrap: pretty; }

/* Ambient gold glow — identical to index.html */
.glow {
  position: fixed;
  right: -160px;
  bottom: -200px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(201,162,74,0.28), rgba(201,162,74,0.05) 45%, transparent 70%);
  pointer-events: none;
}

/* Entrance reveal — identical to index.html */
.reveal {
  opacity: 0;
  animation: rise 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation-name: fade-only; animation-duration: 200ms; }
  @keyframes fade-only {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* Animated wave backdrop */
#wave-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 56px;
}

/* Top bar — identical to index.html */
.topbar { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
/* Brand mark — serif "C" + script "W" monogram, gold divider, wordmark */
.monogram-mark { position: relative; width: 86px; height: 80px; }
.monogram-mark .glyph-serif  { font-family: 'Fraunces', serif; font-weight: 300; font-size: 56px; line-height: 1; color: #F0ECE1; position: absolute; left: 0; top: 0; }
.monogram-mark .glyph-script { font-family: 'Tangerine', cursive; font-weight: 400; font-size: 64px; line-height: 1; color: #CBAE6A; position: absolute; left: 20px; top: 17px; }
.monogram-mark--sm { width: 44px; height: 40px; }
.monogram-mark--sm .glyph-serif  { font-size: 28px; }
.monogram-mark--sm .glyph-script { font-size: 32px; left: 10px; top: 9px; }

.brand-mark { display: flex; align-items: center; gap: 28px; margin: 0 0 48px; }
.brand-divider { width: 1px; height: 72px; background: #B99C5C; flex-shrink: 0; }
.brand-words { display: flex; flex-direction: column; gap: 10px; }
.brand-eyebrow { font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.42em; text-transform: uppercase; color: #B99C5C; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 400; font-size: 36px; letter-spacing: 0.18em; text-transform: uppercase; color: #F0ECE1; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a756a;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-bottom-color 150ms ease;
}
.nav a.active { color: var(--gold); border-bottom-color: rgba(201,162,74,0.6); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { opacity: 1; color: #b5afa2; }
  .nav a.active:hover { opacity: 1; color: #e4bf6a; }
}

/* Hero — same rhythm as index.html */
.intro { max-width: 560px; margin: 0; font-size: 17px; color: var(--body); line-height: 1.55; }
.contacts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; font-size: 14.5px; color: #9b988e; }
.contacts a { border-bottom: 1px solid rgba(233,230,223,0.3); padding-bottom: 2px; }

/* Section label */
.section-label {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--faint);
  margin-top: 80px; padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline-strong);
}
.section-label.first { margin-top: 88px; }

/* Ledger rows */
.row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}
.row .title { font-size: 19px; font-weight: 500; color: var(--row-title); line-height: 1.3; }
.row .title.sm { font-size: 18px; }
.row .sub { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.row .desc { margin-top: 7px; font-size: 14.5px; color: var(--muted); max-width: 580px; }
.row .tech { margin-top: 9px; font-size: 12.5px; color: var(--tech); }
.row .meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(143,192,106,0.6);
  display: inline-block;
}

/* Selected Engagements — image-card grid (design handoff: hover reveals detail,
   no focus/blur on sibling cards) */
.eng-grid {
  display: grid;
  /* handoff specifies 3 columns on an 1120px page; 2 columns on this 760px
     page yields the same intended card width (~340px) */
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}
.eng-card {
  position: relative;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  background: #17171b;
  transition: filter 300ms ease, transform 300ms ease;
}
.eng-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eng-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,9,8,0) 38%, rgba(10,9,8,0.62) 68%, rgba(10,9,8,0.94) 100%);
}
.eng-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; pointer-events: none; }
.eng-tag {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.eng-title { font-family: var(--serif); font-size: 24px; line-height: 1.12; color: var(--heading); margin-bottom: 10px; }
.eng-detail {
  font-size: 14px; line-height: 1.55; color: rgba(233,227,214,0.78);
  margin: 0; overflow: hidden;
  max-height: 0; opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .eng-card:hover .eng-detail { max-height: 120px; opacity: 1; }
  .eng-grid:has(.eng-card:hover) .eng-card:not(:hover) { filter: blur(4px); transform: scale(0.98); }
}
@media (prefers-reduced-motion: reduce) {
  .eng-detail, .eng-card { transition: none; }
  .eng-grid:has(.eng-card:hover) .eng-card:not(:hover) { filter: none; transform: none; }
}

/* Skills */
.skill-row { display: grid; grid-template-columns: 1fr; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.skill-row .text { font-size: 16px; color: var(--skill-text); line-height: 1.5; }
.fields {
  display: flex; flex-wrap: wrap; gap: 14px 30px;
  padding: 22px 0 0;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}

/* Certificates */
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.certs div { font-size: 14px; color: var(--cert-text); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }

@media (max-width: 480px) {
  .brand-mark { flex-direction: column; align-items: flex-start; gap: 16px; }
  .brand-divider { width: 40px; height: 1px; }
}
@media (max-width: 720px) {
  .page { padding: 40px 24px; }
  .brand-name { font-size: 26px; letter-spacing: 0.12em; }
  .row { grid-template-columns: 1fr; row-gap: 0; }
  .row .meta { margin-bottom: 8px; }
  .certs { grid-template-columns: 1fr; }
  .eng-grid { grid-template-columns: 1fr; }
  .eng-card { height: 300px; }
  .eng-detail { max-height: none; opacity: 1; }
}
