:root {
  --paper:#2a3035;
  --ink:#F5F3F0;
  --ink-soft:#D4D0CA;
  --accent:#909090;
  --accent-soft:#2A2A2A;
  --muted:#A8B8C8;
  --hair:#1E1D1A;
  --offset:40px;
  --gap:32px;
  --gap-sm:16px;
  --padding-section:48px;
  --max-width:1200px;
  --font-size-base:1.1rem;
  --font-size-sm:0.95rem;
  --font-size-xs:0.85rem;
  --line-height:1.7;
}

@media (prefers-color-scheme: light) {
  :root {
    --paper:#FAFAF8;
    --ink:#14161A;
    --ink-soft:#3A3D42;
    --accent:#606060;
    --accent-soft:#E8E8E8;
    --muted:#8B8578;
    --hair:#E4E2DC;
  }
}
@media (max-width: 768px) {
  :root {
    --offset:20px;
    --gap:24px;
    --padding-section:32px;
  }
}
* {
  box-sizing: border-box;
}

html, body, h1, h2, h3, p, figure, blockquote {
  margin: 0;
  padding: 0;
}

ul {
  padding-left: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1, h2, h3 {
  letter-spacing: -0.01em;
  font-weight: 600;
}

h2 {
  margin-bottom: -4px;
}

.wrap {
  padding-inline: var(--offset);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  max-width: var(--max-width);
  margin-inline: auto;
}

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

a:hover {
  opacity: 0.8;
}

/* SKIP LINK - Accessible but visually hidden */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--paper);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0;
}

/* NAV */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(42, 48, 53, 0.92);
  backdrop-filter: blur(8px);
}

@media (prefers-color-scheme: light) {
  header {
    background: rgba(250, 250, 248, 0.92);
  }
}
nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo svg {
  width: 28px;
  height: 28px;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

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

.nav-toggle {
  display: none;
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open {
    max-height: 320px;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 16px 20px;
    width: 100%;
  }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--ink);
    padding: 8px 12px;
  }
}
/* HERO */
.hero {
  padding: var(--padding-section) var(--offset);
}

.hero > * {
  grid-column: 1/-1;
}

@media (max-width: 768px) {
  .hero {
    display: block;
  }
}
.eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 16px;
}

.hero .role {
  font-size: var(--font-size-base);
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: var(--line-height);
}

.hero .role strong {
  color: var(--ink);
  font-weight: 600;
}

.cta-row {
  display: flex;
  gap: var(--gap-sm);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-row {
    justify-content: center;
    width: 100%;
  }
}
.btn {
  font-size: var(--font-size-base);
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: var(--gap-sm);
  transition: all 0.15s ease;
  font-weight: 500;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
}

.btn-ghost {
  border: 1px solid var(--hair);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--hair);
}

.btn:active {
  transform: scale(0.98);
}

/* SECTION HEADERS */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: var(--gap-sm);
  flex-wrap: wrap;
  grid-column: 1/-1;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
}

.section-num {
  font-size: var(--font-size-xs);
  color: var(--muted);
}

section {
  padding: var(--padding-section) 0;
}

/* ABOUT */
#about {
  padding-bottom: 24px;
}

.about-grid {
  display: contents;
}

.about-grid > div:first-child {
  grid-column: 1/span 5;
}

.about-grid > div:last-child {
  grid-column: 6/span 7;
}

@media (max-width: 900px) {
  .about-grid > div:first-child {
    grid-column: 1/-1;
  }
  .about-grid > div:last-child {
    grid-column: 1/-1;
  }
}
.portrait {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-grid p {
  margin-bottom: 16px;
  color: var(--ink-soft);
}

.about-grid p.closing {
  color: var(--ink);
  padding-top: 16px;
  font-size: var(--font-size-sm);
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  grid-column: 1/-1;
}

@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: var(--gap);
  }
}
.skill-cat h3 {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 12px;
}

.skill-cat ul {
  list-style: none;
}

.skill-cat li {
  padding: 8px 0;
  font-size: var(--font-size-sm);
  color: var(--ink-soft);
}

/* CONTACT / FOOTER */
footer {
  padding: var(--padding-section) 0;
}

.contact-grid {
  display: contents;
}

.contact-grid > div:first-child {
  grid-column: 1/span 6;
  align-self: center;
}

.contact-grid > div:last-child {
  grid-column: 7/span 6;
  align-self: center;
}

@media (max-width: 768px) {
  .contact-grid > div:first-child {
    grid-column: 1/-1;
  }
  .contact-grid > div:last-child {
    grid-column: 1/-1;
  }
}
footer h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

footer .lead {
  color: var(--ink-soft);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

@media (max-width: 768px) {
  .contact-links {
    align-items: center;
  }
}
.contact-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: var(--font-size-sm);
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

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

.copyright {
  font-size: var(--font-size-xs);
  color: var(--muted);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-top: 32px;
  padding-top: 32px;
  grid-column: 1/-1;
}

@media (max-width: 600px) {
  .copyright {
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
  }
}

/*# sourceMappingURL=styles.css.map */
