/* Eleanor Wu — starter website. Replace these brand tokens in Phase 3. */
:root {
  --bg: #f7f7f3;
  --surface: #eeeee8;
  --text: #202421;
  --muted: #6c756e;
  --accent: #45735f;
  --accent-dark: #2c5241;
  --line: #d8dcd5;
  --white: #fff;
  --radius: 16px;
  --content: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.section { padding-block: 112px; }
.section-alt { background: var(--surface); }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 20; background: var(--text); color: #fff; padding: 10px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247,247,243,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { font-size: 25px; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.brand-dot, .accent-text { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 13px; font-weight: 600; }
.nav-links a:hover, .back-top:hover { color: var(--accent); }
.nav-links .nav-contact { padding: 10px 16px; border: 1px solid var(--line); border-radius: 30px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 12px; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 4px 0; background: var(--text); }
.hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 690px; align-items: center; column-gap: 36px; padding-block: 90px 100px; }
.eyebrow, .section-label { font-size: 11px; letter-spacing: .2em; font-weight: 800; color: var(--accent-dark); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px #dceadf; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; line-height: 1.12; }
h1 { font-size: clamp(48px, 5.8vw, 82px); margin: 25px 0; }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--accent); }
.hero-description { max-width: 535px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px; padding: 12px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; border: 1px solid var(--text); transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--text); }
.button-primary:hover { background: var(--accent-dark); }
.button-outline { background: transparent; }
.button-outline:hover { background: var(--surface); }
.hero-art { position: relative; isolation: isolate; min-height: 430px; border-radius: 50%; display: grid; place-items: center; }
.art-grid { position: absolute; inset: 10%; background-image: linear-gradient(var(--line) 1px, transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 28px 28px; border-radius: 50%; mask-image: radial-gradient(circle,black 40%,transparent 72%); }
.orbit { position: absolute; border: 1px solid #b7c7bc; border-radius: 50%; }
.orbit-outer { width: 91%; aspect-ratio: 1; }
.orbit-inner { width: 67%; aspect-ratio: 1; border-style: dashed; }
.art-core { display: grid; place-items: center; width: 49%; aspect-ratio: 1; background: var(--accent); border-radius: 50%; color: white; font-size: clamp(60px, 8vw, 115px); font-weight: 800; letter-spacing: -.1em; box-shadow: 18px 18px 0 #d7e4d9; }
.art-core span { color: #b9dfc3; }
.art-label { position: absolute; background: var(--bg); border: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 9px 12px; }
.art-label-top { right: -5px; top: 64px; }
.art-label-bottom { left: -12px; bottom: 72px; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; position: absolute; bottom: 28px; left: 0; right: 0; font-size: 10px; letter-spacing: .2em; font-weight: 700; color: var(--muted); }
h2 { font-size: clamp(36px, 4.1vw, 58px); margin: 14px 0 0; }
.muted-heading { color: #929d94; }
.about-grid, .skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-copy { padding-top: 28px; }
.about-copy p { font-size: 17px; color: #4f5a52; }
.about-copy .template-note { font-size: 13px; border-left: 3px solid var(--accent); padding-left: 14px; margin-top: 26px; color: var(--muted); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
.section-intro { max-width: 320px; color: var(--muted); font-size: 14px; margin-bottom: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { min-width: 0; }
.project-visual { position: relative; height: 260px; overflow: hidden; display: grid; place-items: center; border-radius: var(--radius); }
.visual-one { background: #d9e9d9; color: #366a51; }
.visual-two { background: #e4dfe9; color: #79698d; }
.visual-three { background: #ede4d4; color: #a0783b; }
.visual-glyph { font-size: clamp(74px, 8vw, 115px); font-weight: 700; letter-spacing: -.1em; transition: transform .25s ease; }
.project-card:hover .visual-glyph { transform: scale(1.12) rotate(-5deg); }
.visual-corner { position: absolute; top: 18px; left: 19px; font-size: 12px; font-weight: 800; }
.project-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; font-size: 10px; letter-spacing: .11em; color: var(--muted); font-weight: 800; }
h3 { font-size: 23px; letter-spacing: -.04em; margin: 12px 0 8px; }
.project-card p { color: var(--muted); font-size: 14px; min-height: 68px; }
.project-tag { display: inline-block; border: 1px solid var(--line); border-radius: 20px; padding: 5px 11px; font-size: 11px; color: var(--accent-dark); }
.skills-list { padding-top: 24px; }
.skill-row { display: grid; grid-template-columns: 35px 1fr; gap: 5px 12px; border-bottom: 1px solid #cfd5cc; padding: 18px 0; font-weight: 700; }
.skill-number { grid-row: span 2; color: var(--accent); font-size: 11px; }
.skill-detail { grid-column: 2; color: var(--muted); font-size: 12px; font-weight: 400; }
.contact-section { text-align: center; }
.contact-section h2 { max-width: 850px; margin: 18px auto 20px; }
.contact-section > p:not(.section-label):not(.copy-feedback) { color: var(--muted); max-width: 580px; margin: 0 auto 26px; }
.copy-feedback { min-height: 20px; color: var(--accent-dark); font-size: 12px; margin-top: 12px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer p, .back-top { font-size: 12px; color: var(--muted); margin: 0; }
@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-art { width: min(440px,100%); min-height: 380px; margin: 20px auto 5px; }
  .hero-bottom { position: static; margin-top: 20px; }
  .about-grid,.skills-grid { gap: 38px; }
  .project-visual { height: 210px; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 36px),var(--content)); }
  .section { padding-block: 76px; }
  .nav { min-height: 66px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 66px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 18px 22px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 14px 18px #2024210d; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-links .nav-contact { margin-top: 8px; text-align: center; }
  .hero { min-height: auto; padding-top: 70px; padding-bottom: 36px; }
  h1 { font-size: clamp(46px, 10vw, 67px); }
  .hero-description { font-size: 16px; }
  .hero-art { min-height: 320px; }
  .art-label-top { right: 0; top: 40px; }
  .art-label-bottom { left: 0; bottom: 35px; }
  .about-grid,.skills-grid { grid-template-columns: 1fr; gap: 15px; }
  .about-copy { padding-top: 0; }
  .section-top { display: block; }
  .section-intro { margin-top: 22px; }
  .project-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-visual { height: 240px; }
  .project-card p { min-height: auto; }
  .footer-inner { flex-wrap: wrap; padding-block: 25px; }
  .footer p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
