:root {
  --ink: #171715;
  --muted: #77746e;
  --paper: #f3f0e9;
  --line: rgba(23, 23, 21, .14);
  --accent: #c9a66b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 5vw; background: rgba(243,240,233,.82);
  backdrop-filter: blur(14px); border-bottom: 1px solid transparent;
}
.brand { font-size: 2rem; font-weight: 600; letter-spacing: .22em; }
nav { display: flex; gap: 30px; font-size: .82rem; color: var(--muted); }
nav a:hover, .socials a:hover { color: var(--ink); }
.menu { display: none; border: 0; background: none; font-size: 1.2rem; }
.hero {
  min-height: 100vh; padding: 150px 5vw 80px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw;
  align-items: center;
}
.eyebrow, .section-label { font-size: .7rem; letter-spacing: .2em; font-weight: 600; }
.eyebrow { color: var(--muted); margin-bottom: 22px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", serif; font-weight: 500; line-height: .98; }
h1 { font-size: clamp(4rem, 8vw, 8.5rem); letter-spacing: -.055em; margin-bottom: 35px; }
h2 { font-size: clamp(3rem, 5.5vw, 6rem); letter-spacing: -.045em; }
em { font-style: italic; font-weight: 500; }
.intro { max-width: 540px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button {
  display: inline-flex; gap: 20px; align-items: center; padding: 15px 20px;
  font-size: .82rem; font-weight: 600; transition: transform .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--ink); color: var(--paper); }
.text-link { font-size: .82rem; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.hero-visual { position: relative; max-width: 620px; width: 100%; justify-self: end; }
.photo-frame {
  aspect-ratio: 4 / 5; overflow: hidden; background: #ddd8cd;
  border: 1px solid var(--line);
}
.photo-frame img {
  width: 100%; height: 100%; display: block; object-fit: cover;
}
.floating-card {
  position: absolute; bottom: 24px; left: -38px; padding: 14px 18px; background: var(--ink);
  color: var(--paper); font-size: .7rem; letter-spacing: .04em;
}
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 9px; }
.section { padding: 150px 5vw; border-top: 1px solid var(--line); display: grid; grid-template-columns: 20% 1fr; gap: 5vw; }
.section-label { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.two-col h2 { margin: 0; }
.body-copy { max-width: 560px; color: var(--muted); font-size: 1rem; }
.body-copy p + p { margin-top: 28px; }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.skills-grid article { padding: 30px 30px 35px 0; border-bottom: 1px solid var(--line); }
.skills-grid article:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 40px; }
.skills-grid article:nth-child(even) { padding-left: 40px; }
.skills-grid span, .project-number { color: var(--muted); font-size: .72rem; }
.skills-grid h3, .project h3 { font-family: "Playfair Display", serif; font-size: 1.8rem; font-weight: 500; margin: 18px 0 10px; }
.skills-grid p, .project p { color: var(--muted); font-size: .9rem; max-width: 440px; }
.project { display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.project:last-child { border-bottom: 1px solid var(--line); }
.project h3 { margin: 0 0 5px; }
.project p { margin: 0; }
.project-arrow { font-size: 1.3rem; }
.contact { padding: 170px 5vw; background: var(--ink); color: var(--paper); text-align: center; }
.contact .eyebrow { color: #a5a198; }
.contact h2 { font-size: clamp(3.2rem, 6vw, 7rem); margin: 30px auto 55px; }
.contact-link { font-size: clamp(1.1rem, 2vw, 1.7rem); border-bottom: 1px solid #77746e; padding-bottom: 8px; }
.contact-link span { margin-left: 18px; }
.socials { display: flex; justify-content: center; gap: 28px; margin-top: 70px; color: #aaa69c; font-size: .8rem; }
footer { display: flex; justify-content: space-between; padding: 25px 5vw; background: var(--ink); color: #77746e; border-top: 1px solid #33322f; font-size: .7rem; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 800px) {
  nav { display: none; }
  .menu { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-visual { justify-self: stretch; max-width: 520px; }
  .floating-card { left: 15px; }
  .section { grid-template-columns: 1fr; gap: 35px; padding: 100px 7vw; }
  .two-col, .skills-grid { grid-template-columns: 1fr; }
  .skills-grid article:nth-child(odd) { border-right: 0; padding-right: 0; }
  .skills-grid article:nth-child(even) { padding-left: 0; }
  h1 { font-size: clamp(3.7rem, 18vw, 6rem); }
  footer { padding: 22px 7vw; }
}

.page-hero {
  min-height: 58vh; padding: 155px 5vw 90px; display: flex;
  align-items: flex-end; border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 0; max-width: 1000px; }
.page-content { padding: 100px 5vw; max-width: 1250px; margin: 0 auto; }
.page-content p { color: var(--muted); max-width: 760px; font-size: 1.02rem; }
.page-content h2 { font-size: clamp(2.5rem, 5vw, 5rem); margin-bottom: 30px; }
.page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); margin-top: 50px; }
.page-card { background: var(--paper); padding: 38px; min-height: 220px; }
.page-card h3 { font-family: "Playfair Display", serif; font-size: 1.8rem; font-weight: 500; }
.project-detail { padding: 38px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 30px; }
.project-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-box { border: 1px solid var(--line); padding: 50px; margin-top: 40px; }
.contact-box a { display: inline-block; font-size: clamp(1.2rem, 2vw, 1.8rem); border-bottom: 1px solid var(--ink); padding-bottom: 7px; }
@media (max-width: 800px) {
  .page-grid { grid-template-columns: 1fr; }
  .page-content { padding: 75px 7vw; }
  .contact-box { padding: 30px; }
}
