:root {
  --bg: #edccbe;
  --card: #fff8ef;
  --ink: #331917;
  --muted: #7a5a52;
  --accent: #c4471d;
  --accent-soft: #f3e6a8;
  --line: #e8d3c4;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(51,25,23,.05), 0 8px 24px rgba(51,25,23,.06);
  --shadow-hover: 0 2px 4px rgba(51,25,23,.06), 0 16px 40px rgba(51,25,23,.12);
  --display: "Fraunces", "Canora", Georgia, serif;
  --serif: "Newsreader", "Noe Text", Georgia, serif;
  --sans: "Inter", "Neue Haas Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; text-transform: none; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero h1 { font-size: clamp(3.2rem, 11vw, 9rem); line-height: 1; margin-bottom: .35em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(237,204,190,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--display); font-weight: 900; font-size: 1.2rem; text-decoration: none; }
.nav nav { display: flex; gap: 6px; align-items: center; }
.nav nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.nav nav a.pill { background: var(--ink); color: #fff; }
.nav nav a.pill:hover { background: var(--accent); }

main { max-width: 1160px; margin: 0 auto; padding: clamp(16px, 3vw, 32px); }
.section { margin-top: clamp(40px, 7vw, 80px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }

/* cards */
.grid { display: grid; gap: 20px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); margin: 0; overflow: hidden;
  border: 1px solid rgba(0,0,0,.02);
}

.hero-grid { grid-template-columns: repeat(12, 1fr); }
.hero { grid-column: 1 / -1; background: none; box-shadow: none; border: 0; border-radius: 0; overflow: visible; padding: clamp(48px, 9vw, 120px) 0 clamp(40px, 7vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 span { color: var(--accent); font-family: var(--serif); font-style: italic; font-weight: 400; }
.hero p { font-size: 1.15rem; max-width: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 14px !important; }
.photo { grid-column: 1 / span 4; grid-row: 2 / span 2; padding: 0; min-height: 280px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.who { grid-column: 5 / -1; grid-row: 2; background: var(--accent-soft); }
.quote { grid-column: 5 / -1; grid-row: 3; margin: 0; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.quote p { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.45; }
.quote footer { color: #d8ce7e; font-size: .95rem; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 600; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); background: #a63a14; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: var(--bg); color: var(--ink); }
.btn.light:hover { background: #fff8ef; }

.facts, .refs { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 8px 0; border-bottom: 1px dashed rgba(0,0,0,.12); }
.facts li:last-child { border: 0; }

/* work */
.work-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.work { display: flex; flex-direction: column; padding: 0; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.work > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--line); }
.work .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work h3 { margin-bottom: .3em; }
.work p { color: var(--muted); font-size: .96rem; }
.work .sub { font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 1.05rem; }
.work.feature { grid-column: span 2; flex-direction: row; }
.work.feature > img { width: 46%; aspect-ratio: auto; height: 100%; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.more { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.thumb { position: relative; }
.thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--accent); display: grid; place-items: center;
  font-size: 1.2rem; padding-left: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: transform .2s;
}
a.work:hover .play { transform: scale(1.12); }

/* info */
.info-grid { grid-template-columns: repeat(3, 1fr); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 14px; display: flex; flex-direction: column; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--card); }
.timeline li:last-child { padding-bottom: 0; }
.years { font-size: .8rem; font-weight: 600; color: var(--accent); }
.timeline em { color: var(--muted); font-style: normal; }
.timeline a { color: var(--muted); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.timeline a:hover { color: var(--accent); }
.space { margin-top: 28px; }
.skills dt { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-top: 12px; }
.skills dd { margin: 2px 0 0; }
.chips-label { margin: 22px 0 8px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.accent { background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; margin: 0; }
.accent p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); font-style: italic; line-height: 1.25; margin: 0; }
.friends { background: var(--accent-soft); }
.friends p { font-family: var(--serif); font-size: 1.15rem; margin: 0; }
.muted { color: var(--muted); font-size: .9rem; }
.refs li { padding: 10px 0; border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; }
.refs li:last-child { border: 0; }
.refs span { color: var(--muted); font-size: .92rem; }
.photo.small { padding: 0; min-height: 240px; grid-column: auto; }

/* contact */
.contact { background: var(--ink); color: #fff; text-align: center; padding: clamp(36px, 6vw, 72px) 24px; }
.contact p { max-width: 46ch; margin: 0 auto 24px; color: #edccbe; }
.socials { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; color: #edccbe; }
.socials a { color: #fff; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.socials a:hover { color: #d8ce7e; }

.footer { text-align: center; padding: 40px 16px; color: var(--muted); font-size: .9rem; }

/* responsive */
@media (max-width: 960px) {
  .hero, .quote { grid-column: span 12; }
  .photo { grid-column: span 12; grid-row: auto; min-height: 0; aspect-ratio: 1 / 1; max-height: 420px; }
  .who { grid-column: span 12; grid-row: auto; }
  .quote { grid-row: auto; }
  .work-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .work.feature { grid-column: span 2; }
}
@media (max-width: 640px) {
  .nav nav a:not(.pill) { display: none; }
  .work-grid, .info-grid { grid-template-columns: 1fr; }
  .work.feature { grid-column: auto; flex-direction: column; }
  .work.feature > img { width: 100%; aspect-ratio: 16 / 10; height: auto; }
  .card { padding: 22px; }
  .work { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
