/* v3-warm.css - Warm theme specific styles */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}

header.scrolled {
  background: var(--bg);
  backdrop-filter: blur(6px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: #FBF6EF;
  transition: color 0.35s ease;
}

header.scrolled .logo {
  color: var(--ink);
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  font-size: 16px;
  color: rgba(251, 246, 239, 0.75);
  transition: color 0.15s ease;
}

nav a:hover {
  color: #FBF6EF;
}

header.scrolled nav a {
  color: var(--ink-dim);
}

header.scrolled nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

@media (max-width: 680px) {
  nav ul {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    padding: 20px 32px;
    gap: 16px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  nav ul.open {
    transform: translateY(0);
  }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FBF6EF;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.35s ease, border-color 0.35s ease;
  }

  header.scrolled .nav-toggle {
    color: var(--ink);
    border-color: var(--line);
  }
}

/* Sections */
section {
  padding: 64px 0;
  scroll-margin-top: 68px;
}

#timeline,
#now {
  background: var(--bg-raised);
}

#now {
  padding-bottom: 40px;
}

/* Hero section */
#hero {
  min-height: 100vh;
  background-color: #221D19;
  background-image:
    linear-gradient(rgba(34, 29, 25, 0.88), rgba(34, 29, 25, 0.88)),
    url('../images/macbook-pro-apple-laptop-headphones.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 100px;
  scroll-margin-top: 0;
  border-bottom: none;
  position: relative;
}

.hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-greeting {
  font-size: 22px;
  color: #C4B49E;
  margin-bottom: 20px;
  font-weight: 400;
}

#hero h1 {
  color: #FBF6EF;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.1;
}

.hero-type-line {
  font-size: 20px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 14px;
  min-height: 1.8em;
  font-family: var(--body);
}

.typewriter-cursor {
  display: inline-block;
  animation: tw-blink 0.7s step-end infinite;
  margin-left: 1px;
}

@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

#hero .btn-ghost {
  color: #FBF6EF;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

#hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid #C1622D;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: #C1622D;
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%   { transform: translateY(0);   opacity: 1; }
  60%  { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0);   opacity: 0; }
}

/* About section */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 56px;
  align-items: flex-start;
}

.about-text p {
  color: var(--ink-dim);
  margin-bottom: 18px;
  font-size: 16px;
}

.about-text strong {
  color: var(--ink);
  font-weight: 600;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.about-fact {
  display: flex;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.about-fact:nth-last-child(-n+2) {
  border-bottom: none;
}

.fact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink);
  min-width: 72px;
  flex-shrink: 0;
}

.fact-value {
  font-size: 14px;
  color: var(--ink-dim);
}

.about-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 680px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-photo {
    display: none;
  }
  .about-facts {
    grid-template-columns: 1fr;
  }
  .about-fact:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .about-fact:last-child {
    border-bottom: none;
  }
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.tl-entry {
  position: relative;
  padding-bottom: 52px;
}

.tl-entry:last-child {
  padding-bottom: 0;
}

.tl-marker {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.tl-marker--filled {
  background: var(--accent);
}

.tl-date {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.tl-title {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.tl-sub {
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 16px;
}

.tl-link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  font-size: 13px;
}

.tl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}

.tl-list li {
  color: var(--ink-dim);
  font-size: 15px;
  padding-left: 18px;
  position: relative;
}

.tl-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.tl-desc {
  color: var(--ink-dim);
  font-size: 15px;
  margin-bottom: 14px;
}

.tl-tags {
  margin-top: 16px;
}

/* Timeline screenshots */
.tl-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 20px;
}

.tl-screenshot {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-raised);
}

.tl-screenshot img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.tl-screenshot img.img-dark-contain {
  object-fit: contain;
  background: #16191f;
}

.tl-screenshot img.img-light-contain {
  object-fit: contain;
  background: #f0efe9;
}

.tl-screenshot-label {
  font-size: 11px;
  color: var(--ink-dim);
  padding: 5px 10px;
  border-top: 1px solid var(--line);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .tl-screenshots {
    grid-template-columns: 1fr;
  }
}

/* Coursework grid */
.coursework-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.coursework-grid span {
  font-size: 13px;
  color: var(--ink-dim);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 3px;
}

/* Skills tiers */
.skills-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.skill-tier {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tier-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

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

@media (max-width: 680px) {
  .skills-tiers {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.tag-dim {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
}

.tag-learning {
  background: transparent;
  border: 1px dashed var(--accent);
  color: var(--accent);
  opacity: 0.75;
}

/* CTA bar */
.cta-bar {
  background: var(--accent);
  padding: 28px 0;
}

.cta-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-bar-text {
  font-family: var(--display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: #FBF6EF;
}

.cta-bar-btn {
  color: #FBF6EF;
  border-color: rgba(251, 246, 239, 0.5);
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-bar-btn:hover {
  background: #FBF6EF;
  border-color: #FBF6EF;
  color: var(--accent);
}

/* Headshot (about section) */
.headshot {
  width: 260px;
  height: 340px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Stats strip */
#stats {
  padding: 48px 0;
  background: var(--accent-soft);
}

.stats-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.stat-num {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--ink-dim);
  margin-top: 8px;
}

/* Pull-quote */
.pull-quote {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
}

.pull-quote p {
  font-size: 14px;
  color: #6B3319;
  line-height: 1.6;
}

.pull-quote strong {
  color: #4A2210;
}

/* Now section */
.now-spotlight {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
}

.now-spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 16px;
}

.now-spotlight-eyebrow {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.now-spotlight-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.now-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.now-spotlight-desc {
  font-size: 15px;
  color: var(--ink-dim);
  margin-bottom: 20px;
  max-width: 65ch;
}

.now-updated {
  font-size: 12px;
  color: var(--ink-dim);
  opacity: 0.5;
  margin-top: 10px;
}

/* Footer */
footer {
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-dim);
}
