@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@300;400&display=swap');

:root {
  --mint:        #d6f0e8;
  --lavender:    #e2ddf5;
  --sky:         #d4eaf7;
  --cream:       #f8f6f2;
  --stone:       #e8e4de;
  --ink:         #1c1c1e;
  --ink-mid:     #4a4a52;
  --ink-soft:    #8a8a94;
  --accent-mint: #5bbfa0;
  --accent-lav:  #9b8ec4;
  --accent-sky:  #5ba0cc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Animations ── */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(.22,.68,0,1.1),
              transform 0.55s cubic-bezier(.22,.68,0,1.1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Layout ── */
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px clamp(20px, 5vw, 60px);
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(248,246,242,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone);
  animation: fade 0.5s ease 0.1s both;
}
.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400; letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

/* ── Hero ── */
.hero {
  padding-top: clamp(110px, 14vw, 164px);
  padding-bottom: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--stone);
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-mint); margin-bottom: 22px;
  animation: rise 0.5s cubic-bezier(.22,.68,0,1.1) 0.3s both;
}
.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 8.5vw, 96px);
  font-weight: 300; line-height: 0.95; letter-spacing: -0.02em;
  margin-bottom: 32px;
  animation: rise 0.6s cubic-bezier(.22,.68,0,1.1) 0.45s both;
}
.hero-name em { font-style: italic; color: var(--accent-lav); }
.hero-desc {
  max-width: 500px; font-size: 15px; color: var(--ink-mid); line-height: 1.85;
  animation: rise 0.5s cubic-bezier(.22,.68,0,1.1) 0.6s both;
}

/* ── Sections ── */
section { padding: clamp(44px, 6vw, 80px) 0; border-bottom: 1px solid var(--stone); }
section:last-of-type { border-bottom: none; }

.section-label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 36px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--stone); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.about-p { font-size: 15px; color: var(--ink-mid); line-height: 1.85; }
.about-p + .about-p { margin-top: 18px; }

.pcb-quote {
  margin-top: 28px; padding: 20px 24px;
  border-left: 2px solid var(--accent-lav);
  background: var(--lavender);
}
.pcb-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-style: italic; font-weight: 300;
  color: var(--ink); line-height: 1.45;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: 11px; letter-spacing: 0.07em; padding: 5px 14px; border-radius: 100px; font-weight: 400; }
.c-mint { background: var(--mint);     color: #2d7a5e; }
.c-lav  { background: var(--lavender); color: #6b5ea0; }
.c-sky  { background: var(--sky);      color: #2d6a99; }

/* ── Domains ── */
.domains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--stone); }
.domain-card { background: var(--cream); padding: 30px 26px; transition: background 0.2s; cursor: default; }
.domain-card:hover { background: #fff; }
.domain-icon { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.domain-icon svg { width: 16px; height: 16px; fill: none; stroke-width: 1.5; }
.di-mint { background: var(--mint); }     .di-mint svg { stroke: var(--accent-mint); }
.di-lav  { background: var(--lavender); } .di-lav  svg { stroke: var(--accent-lav); }
.di-sky  { background: var(--sky); }      .di-sky  svg { stroke: var(--accent-sky); }
.domain-name { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 400; color: var(--ink); margin-bottom: 9px; }
.domain-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.75; }

/* ── Career ── */
.career-list { display: flex; flex-direction: column; gap: 2px; background: var(--stone); }
.career-entry { background: var(--cream); display: grid; grid-template-columns: 140px 1fr; transition: background 0.2s; }
.career-entry:hover { background: #fff; }
.career-period {
  padding: 24px 20px; border-right: 1px solid var(--stone);
  font-family: 'DM Mono', monospace; font-size: 11px; color: var(--ink-soft);
  letter-spacing: 0.05em; line-height: 1.6;
  display: flex; flex-direction: column; gap: 4px;
}
.career-body { padding: 24px 28px; }
.career-role { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 2px; letter-spacing: 0.01em; }
.career-company { font-size: 12px; color: var(--accent-mint); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.career-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.75; }
.career-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ctag { font-size: 10px; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 100px; background: var(--stone); color: var(--ink-mid); }

/* ── Thinking ── */
.thinking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 36px); }
.thinking-item { padding: 26px 0; border-top: 2px solid var(--stone); transition: border-color 0.25s; }
.thinking-item:hover { border-top-color: var(--accent-mint); }
.t-num { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--ink-soft); margin-bottom: 9px; letter-spacing: 0.1em; }
.t-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400; margin-bottom: 9px; }
.t-body { font-size: 13px; color: var(--ink-mid); line-height: 1.75; }

/* ── Beyond ── */
.beyond-strip { display: flex; gap: 2px; background: var(--stone); }
.beyond-cell { flex: 1; background: var(--cream); padding: 26px 22px; display: flex; flex-direction: column; gap: 7px; transition: background 0.2s; }
.beyond-cell:hover { background: #fff; }
.b-icon { font-size: 20px; margin-bottom: 2px; }
.b-title { font-size: 13px; font-weight: 500; color: var(--ink); }
.b-note { font-size: 12px; color: var(--ink-soft); line-height: 1.65; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-intro { font-family: 'Cormorant Garamond', serif; font-size: clamp(20px, 2.8vw, 30px); font-weight: 300; line-height: 1.45; }
.contact-links { display: flex; flex-direction: column; }
.contact-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 0; border-bottom: 1px solid var(--stone);
  font-size: 13px; text-decoration: none; color: var(--ink); transition: color 0.2s;
}
.contact-row:hover { color: var(--accent-mint); }
.c-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.c-arrow { opacity: 0; transition: opacity 0.2s, transform 0.2s; font-size: 15px; }
.contact-row:hover .c-arrow { opacity: 1; transform: translateX(4px); }

/* ── Footer ── */
footer { padding: 28px 0; font-size: 11px; color: var(--ink-soft); letter-spacing: 0.05em; border-top: 1px solid var(--stone); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .about-grid, .thinking-grid, .contact-grid { grid-template-columns: 1fr; }
  .domains-grid { grid-template-columns: 1fr; }
  .beyond-strip { flex-direction: column; }
  .career-entry { grid-template-columns: 1fr; }
  .career-period { border-right: none; border-bottom: 1px solid var(--stone); }
  .nav-links { display: none; }
}
