/* briantan.xyz — recreated from Claude Design handoff (high fidelity) */

body {
  margin: 0;
  background: #f7f6f2;
  color: #333a42;
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

a {
  color: #4a7ba6;
}
a:hover {
  color: #3a6289;
}

h1, h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  color: #242a31;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(48px, 7vw, 100px);
  box-sizing: border-box;
}

.divider {
  border-top: 1px solid rgba(51, 58, 66, .15);
}

.eyebrow {
  margin: 0 0 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  color: #9aa2ab;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-circle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.hero-circle-outer {
  width: 1300px;
  height: 1300px;
  left: -320px;
  border: 1px solid rgba(74, 123, 166, .16);
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 30%, #000 70%, transparent 96%);
  mask-image: linear-gradient(to bottom, transparent 4%, #000 30%, #000 70%, transparent 96%);
}
.hero-circle-inner {
  width: 900px;
  height: 900px;
  left: -120px;
  border: 1px solid rgba(74, 123, 166, .1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 6%, #000 32%, #000 68%, transparent 94%);
  mask-image: linear-gradient(to bottom, transparent 6%, #000 32%, #000 68%, transparent 94%);
}

.hero-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding: 64px clamp(48px, 7vw, 100px);
  box-sizing: border-box;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 60px);
  letter-spacing: -.01em;
  line-height: 1.12;
}

.accent-italic {
  font-style: italic;
  color: #4a7ba6;
}

.hero-body {
  margin: 24px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: #5c6570;
  max-width: 600px;
}

.hero-link {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
}

.hero-photo {
  flex: none;
  position: relative;
}
.hero-photo img {
  width: clamp(180px, 16vw, 240px);
  height: clamp(180px, 16vw, 240px);
  border-radius: 50%;
  object-fit: cover;
}

/* ===== Sections ===== */
.section {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.15;
}

/* ===== My defining traits ===== */
.section-traits {
  padding: clamp(48px, 6vh, 80px) clamp(48px, 7vw, 100px) clamp(48px, 8vh, 100px);
}

.traits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vh, 44px) clamp(36px, 4vw, 56px);
  margin-top: 40px;
}

.trait {
  border-top: 2px solid #4a7ba6;
  padding-top: 18px;
}
.trait strong {
  font-size: 20px;
  color: #242a31;
}
.trait p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #5c6570;
}

/* ===== What I build my life around ===== */
.section-foundations {
  padding: clamp(48px, 4vh, 56px) clamp(48px, 7vw, 100px) clamp(48px, 3vh, 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.section-foundations h2 {
  font-size: clamp(30px, min(2.8vw, 4.5vh), 40px);
}

.foundations-sub {
  margin: clamp(16px, 1.4vh, 12px) 0 16px;
  font-size: clamp(15px, 1.9vh, 16px);
  line-height: 1.55;
  color: #5c6570;
  max-width: 620px;
}

.layer-stack {
  margin-top: clamp(10px, 2.5vh, 28px);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
}

.layer {
  padding: clamp(10px, 2.4vh, 24px) clamp(20px, 2vw, 28px);
}

.layer-label {
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
}

.layer-body {
  margin: 5px 0 0;
  font-size: clamp(14px, 1.7vh, 14.5px);
  line-height: 1.55;
}

.layer-04 { background: #eef1f4; }
.layer-04 .layer-label { color: #5f6b77; }
.layer-04 .layer-body { color: #333a42; }

.layer-03 { background: #dde5ec; }
.layer-03 .layer-label { color: #4f6072; }
.layer-03 .layer-body { color: #2c333b; }

.layer-02 { background: #c3d2df; }
.layer-02 .layer-label { color: #3e5468; }
.layer-02 .layer-body { color: #2c333b; }

.layer-01 { background: #4a7ba6; }
.layer-01 .layer-label { color: #e2edf7; }
.layer-01 .layer-body { color: #f2f6fa; }
.layer-01 a { color: #ffffff; }

/* ===== My career path so far ===== */
.section-timeline {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(48px, 6vh, 80px) clamp(48px, 7vw, 100px);
}

.timeline {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  border-top: 1px solid rgba(51, 58, 66, .12);
}

.role {
  padding: 22px 0;
  border-bottom: 1px solid rgba(51, 58, 66, .12);
}
.role > strong {
  font-size: 18px;
  color: #242a31;
}
.role-title {
  margin: 3px 0 0;
  font-size: 15.5px;
  color: #333a42;
}
.role-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5c6570;
}
.role-meta {
  margin: 8px 0 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .06em;
  color: #9aa2ab;
}
.role-meta-current {
  color: #4a7ba6;
}

/* ===== Footer ===== */
.footer {
  padding-top: 26px;
}
.footer p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #5c6570;
}
.footer p + p {
  margin-top: 20px;
}
.footer-sig {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}
.footer-sig span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #9aa2ab;
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
  .hero-row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 28px;
  }
  .hero-photo img {
    width: 140px;
    height: 140px;
  }
  .traits-grid {
    grid-template-columns: 1fr;
  }
}
