/*
  Zainab Fashola — editorial portfolio
  Design tokens live at the top. Content lives in content/site-content.js.
*/

:root {
  --cream: #faf5ef;
  --cream-deep: #f1e8de;
  --paper: #fffaf5;
  --blush: #e9b8bf;
  --blush-light: #f3dadd;
  --berry: #7d394d;
  --berry-dark: #61283b;
  --espresso: #49343c;
  --espresso-soft: #6f5b62;
  --sage: #d9dcab;
  --white: #fffdfa;
  --line: rgba(73, 52, 60, 0.2);
  --line-light: rgba(250, 245, 239, 0.24);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hand: "Bradley Hand", "Segoe Print", cursive;
  --container: min(1180px, calc(100vw - 48px));
  --radius: 28px;
  --shadow: 0 22px 70px rgba(73, 52, 60, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--espresso);
  background:
    radial-gradient(circle at 14% 3%, rgba(233, 184, 191, 0.18), transparent 24rem),
    var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  opacity: 0.032;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

body.menu-open { overflow: hidden; }

::selection { background: var(--berry); color: var(--cream); }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; }

button { color: inherit; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { text-wrap: balance; }

p { text-wrap: pretty; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-180%);
  border-radius: 999px;
  color: var(--cream);
  background: var(--espresso);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--berry); outline-offset: 4px; }

.container { width: var(--container); margin-inline: auto; }

.section { padding: 110px 0; }

.section-tight { padding: 76px 0; }

.section-dark {
  color: var(--cream);
  background: var(--espresso);
}

.section-berry {
  color: var(--cream);
  background: var(--berry);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 23px;
  height: 1px;
  content: "";
  background: currentColor;
}

.display {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.055em;
}

.section-title {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.4vw, 5.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-title em, .display em {
  color: var(--berry);
  font-weight: 400;
}

.section-dark .section-title em, .section-berry .section-title em { color: var(--blush); }

.lede {
  max-width: 760px;
  color: var(--espresso-soft);
  font-size: clamp(1.16rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.section-dark .lede, .section-berry .lede { color: rgba(250, 245, 239, 0.75); }

.hand-note {
  display: inline-block;
  color: var(--berry);
  font-family: var(--hand);
  font-size: 1.05rem;
  line-height: 1.3;
  transform: rotate(-4deg);
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  color: var(--cream);
  background: var(--espresso);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 300ms var(--ease), color 300ms, background 300ms;
}

.button:hover { transform: translateY(-3px); background: var(--berry); border-color: var(--berry); }

.button.secondary { color: var(--espresso); background: transparent; }

.button.secondary:hover { color: var(--cream); background: var(--espresso); }

.button.light { color: var(--espresso); background: var(--cream); border-color: var(--cream); }

.button.light:hover { color: var(--cream); background: transparent; }

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link span { transition: transform 250ms var(--ease); }
.text-link:hover span { transform: translateX(5px); }

.is-placeholder { opacity: 0.65; cursor: not-allowed; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 84px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid transparent;
  transition: height 300ms var(--ease), background 300ms, border-color 300ms, transform 400ms var(--ease);
}

.site-header.is-scrolled {
  height: 70px;
  border-color: var(--line);
  background: rgba(250, 245, 239, 0.91);
}

.brand {
  position: relative;
  z-index: 102;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.brand span { color: var(--berry); }

.site-menu { display: flex; align-items: center; gap: 30px; }

.site-menu nav { display: flex; align-items: center; gap: 26px; }

.site-menu nav a {
  position: relative;
  padding: 7px 0;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.site-menu nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--berry);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.site-menu nav a:hover::after,
.site-menu nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.resume-link {
  padding: 10px 16px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 250ms, background 250ms;
}

.resume-link:hover { color: var(--cream); background: var(--espresso); }

.menu-toggle { display: none; border: 0; background: transparent; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(350px, 0.72fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  min-height: 100svh;
  padding-top: 120px;
  padding-bottom: 64px;
}

.hero-copy { position: relative; z-index: 2; }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker span { width: 40px; height: 1px; background: var(--berry); }

.hero h1 {
  max-width: 820px;
  margin-bottom: 32px;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.8vw, 6.75rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.hero h1 .line { display: block; }
.hero h1 .line:nth-child(2) { padding-left: 0.48em; color: var(--berry); font-style: italic; }
.hero h1 .line:nth-child(3) { padding-left: 0.08em; }

.hero-intro {
  max-width: 650px;
  margin-left: clamp(0px, 7vw, 90px);
  color: var(--espresso-soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-intro .button-row { margin-top: 28px; }

.hero-visual { position: relative; align-self: stretch; min-height: 620px; }

.portrait-frame {
  position: absolute;
  inset: 8% 0 5% 4%;
  overflow: hidden;
  border: 1px solid rgba(73, 52, 60, 0.18);
  border-radius: 190px 190px 24px 24px;
  background: var(--blush-light);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.portrait-frame::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(73, 52, 60, 0.18);
  border-radius: inherit;
  content: "";
}

.hero-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }

.portrait-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(150deg, transparent 42%, rgba(125, 57, 77, 0.13) 42% 44%, transparent 44%),
    radial-gradient(circle at 50% 34%, var(--cream) 0 15%, transparent 15.5%),
    radial-gradient(ellipse at 50% 92%, var(--berry) 0 38%, transparent 38.5%),
    linear-gradient(155deg, var(--blush), var(--cream-deep));
}

.portrait-art .photo-label {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: calc(100% - 70px);
  padding: 11px 14px;
  border: 1px solid rgba(73, 52, 60, 0.24);
  border-radius: 999px;
  background: rgba(250, 245, 239, 0.86);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.hero-sticker {
  position: absolute;
  z-index: 3;
  top: 13%;
  right: -19px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  padding: 14px;
  border-radius: 50%;
  color: var(--cream);
  background: var(--berry);
  font-family: var(--hand);
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: center;
  transform: rotate(9deg);
}

.hero-note { position: absolute; right: 6%; bottom: 0; color: var(--berry); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue::after { width: 1px; height: 38px; content: ""; background: var(--espresso); }

.field-notes {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.field-notes-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.field-notes span {
  display: flex;
  align-items: center;
  gap: 46px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.field-notes span::after { content: "✦"; color: var(--berry); font-family: var(--sans); font-size: 0.65rem; }

@keyframes ticker { to { transform: translateX(-50%); } }

.split-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 62px;
}

.split-heading .section-title { margin-bottom: 0; }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.highlight-card {
  position: relative;
  grid-column: span 6;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}

.highlight-card:nth-child(2), .highlight-card:nth-child(3) { grid-column: span 6; }
.highlight-card:hover { z-index: 2; transform: translateY(-7px) rotate(-0.6deg); box-shadow: var(--shadow); }

.highlight-card.tone-berry { color: var(--cream); background: var(--berry); border-color: var(--berry); }
.highlight-card.tone-sage { background: var(--sage); }
.highlight-card.tone-blush { background: var(--blush-light); }
.highlight-card.tone-cream { background: var(--cream-deep); }

.highlight-index {
  display: block;
  margin-bottom: 60px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}

.highlight-card h3 {
  max-width: 430px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.highlight-card p { max-width: 490px; margin-bottom: 0; opacity: 0.76; }

.highlight-eyebrow {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.highlight-card::after {
  position: absolute;
  right: -35px;
  bottom: -72px;
  width: 165px;
  height: 165px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.2;
}

.project-list { display: grid; gap: 22px; }

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: var(--cream);
  background: rgba(250, 245, 239, 0.045);
  transition: transform 450ms var(--ease), background 450ms;
}

.project-card:hover { transform: translateY(-8px); background: rgba(250, 245, 239, 0.08); }

.project-card:nth-child(even) .project-visual { order: 2; }

.project-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 64px);
}

.project-card h3 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.project-card p { max-width: 530px; color: rgba(250, 245, 239, 0.72); }

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 70px;
  color: var(--blush);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  margin: 18px;
  background: var(--blush);
}

.project-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.photo-note { position: absolute; z-index: 2; right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: .45rem .7rem; border-radius: 999px; background: rgba(250, 245, 239, .96); color: var(--espresso); font-size: .65rem; font-weight: 700; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; }
.project-card:hover .project-visual img, .work-tile:hover .work-tile-visual img { transform: scale(1.035); }

.project-visual::before, .project-visual::after { position: absolute; content: ""; }
.project-visual::before { inset: 12%; border: 1px solid rgba(73, 52, 60, 0.28); border-radius: 50%; }
.project-visual::after { inset: 24% -12%; border-top: 1px solid rgba(73, 52, 60, 0.28); transform: rotate(-20deg); }

.project-visual.tone-berry { background: var(--blush); }
.project-visual.tone-sage { background: var(--sage); }
.project-visual.tone-blush { background: var(--blush-light); }
.project-visual.tone-cream { background: var(--cream-deep); }
.project-visual.tone-espresso { background: #9c858d; }

.project-number {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  font-family: var(--serif);
  font-size: clamp(7rem, 16vw, 15rem);
  font-style: italic;
  line-height: 1;
  opacity: 0.82;
  transform: translate(-50%, -50%);
}

.project-photo-label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 11px 14px;
  border: 1px solid rgba(73, 52, 60, 0.25);
  border-radius: 999px;
  background: rgba(250, 245, 239, 0.82);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.personal-strip {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 84px;
  align-items: center;
}

.scrapbook-stack { position: relative; min-height: 520px; }

.scrap-photo {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 16px 16px 48px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(73, 52, 60, 0.1);
}

.scrap-photo::before {
  width: 100%;
  height: 100%;
  min-height: 250px;
  content: "";
  background: linear-gradient(135deg, var(--sage), var(--cream-deep));
}

.scrap-photo img { position: absolute; inset: 16px 16px 48px; width: calc(100% - 32px); height: calc(100% - 64px); object-fit: cover; }

.scrap-photo span { position: absolute; bottom: 16px; font-family: var(--hand); font-size: 0.9rem; }
.scrap-photo.one { inset: 2% 26% 25% 2%; transform: rotate(-6deg); }
.scrap-photo.two { inset: 23% 0 1% 36%; transform: rotate(5deg); }
.scrap-dot { position: absolute; top: 12%; right: 14%; width: 80px; height: 80px; border-radius: 50%; background: var(--berry); }

.personal-copy blockquote {
  margin: 30px 0;
  padding-left: 24px;
  border-left: 2px solid var(--berry);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1.2;
}

.contact-band { position: relative; overflow: hidden; }
.contact-band::after { position: absolute; right: -8vw; bottom: -20vw; width: 46vw; height: 46vw; border: 1px solid rgba(250,245,239,.18); border-radius: 50%; content: ""; }

.contact-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 50px;
  align-items: end;
}

.contact-band .section-title { max-width: 900px; margin-bottom: 0; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact-actions p { margin: 0; color: rgba(250,245,239,.72); font-size: .78rem; }

.page-hero {
  position: relative;
  min-height: 74svh;
  padding: 190px 0 90px;
  overflow: hidden;
}

.page-hero .display { max-width: 980px; }
.page-hero .lede { max-width: 700px; margin-left: clamp(0px, 18vw, 260px); }
.page-hero .chapter-number { position: absolute; right: max(24px, calc((100vw - 1180px) / 2)); top: 180px; color: var(--blush); font-family: var(--serif); font-size: clamp(7rem, 17vw, 16rem); font-style: italic; line-height: .8; opacity: .55; }

.story-grid {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: clamp(50px, 10vw, 150px);
  align-items: start;
}

.story-sticky { position: sticky; top: 130px; }
.story-sticky .hand-note { margin-top: 22px; }

.story-copy p:first-child::first-letter {
  float: left;
  margin: 4px 10px 0 0;
  color: var(--berry);
  font-family: var(--serif);
  font-size: 5rem;
  line-height: .7;
}

.story-copy p { margin-bottom: 28px; color: var(--espresso-soft); font-size: clamp(1.08rem, 1.6vw, 1.28rem); }

.education-list { border-top: 1px solid var(--line-light); }

.education-item {
  display: grid;
  grid-template-columns: 1fr 0.46fr;
  gap: 30px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line-light);
}

.education-item h3 { margin-bottom: 8px; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 400; line-height: 1; }
.education-item .degree { color: var(--blush); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.education-item .date { margin-bottom: 12px; font-family: var(--serif); font-style: italic; }
.education-item p { margin: 0; color: rgba(250,245,239,.7); }

.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.skill-group { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,253,250,.55); }
.skill-group h3 { margin-bottom: 28px; color: var(--berry); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.skill-group ul { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.skill-group li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }

.interest-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.interest-cloud span { padding: 16px 22px; border: 1px solid var(--line-light); border-radius: 999px; color: var(--cream); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); font-style: italic; transition: color 250ms, background 250ms, transform 250ms var(--ease); }
.interest-cloud span:hover { color: var(--espresso); background: var(--sage); transform: rotate(-2deg); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 42px; }
.filter-button { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.filter-button[aria-pressed="true"], .filter-button:hover { color: var(--cream); background: var(--espresso); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.analysis-overview { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; align-items: end; margin: 0 0 26px; padding: 0 0 34px; border-bottom: 1px solid var(--line); }
.analysis-overview h2 { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.analysis-overview h2 em { color: var(--berry); }
.analysis-overview p { max-width: 620px; margin: 0; color: var(--espresso-soft); font-size: 1.04rem; line-height: 1.7; }
.analysis-period-note { display: flex; gap: 14px; align-items: flex-start; max-width: 800px; margin: 0 0 76px; padding: 19px 22px; border-radius: 14px; background: var(--sage); }
.analysis-period-note > span { font-size: 1.1rem; font-weight: 700; }
.analysis-period-note p { margin: 0; font-size: .88rem; line-height: 1.6; }
.analysis-industry { margin: 0 0 78px; }
.analysis-industry-heading { display: flex; gap: 28px; align-items: baseline; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.analysis-industry-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 400; line-height: 1.1; }
.analysis-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.analysis-project-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 320px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform 350ms var(--ease), box-shadow 350ms; }
.analysis-project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.analysis-card-top { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 25px; }
.analysis-period, .analysis-card-index { color: var(--berry); font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.analysis-card-index { color: var(--espresso-soft); }
.analysis-project-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.analysis-project-card > p { margin: 0 0 20px; color: var(--espresso-soft); line-height: 1.65; }
.analysis-card-focus { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; }
.analysis-card-focus span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--espresso-soft); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.analysis-project-card .button { margin-top: auto; }
.analysis-footnote { max-width: 780px; margin: -20px 0 0; color: var(--espresso-soft); font-size: .78rem; line-height: 1.6; }
.work-tile { position: relative; overflow: hidden; min-height: 580px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform 400ms var(--ease), box-shadow 400ms; }
.work-tile:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.work-tile[hidden] { display: none; }
.work-tile-visual { position: relative; display: grid; place-items: center; min-height: 330px; overflow: hidden; border-radius: 18px; background: var(--blush-light); }
.work-tile-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.work-tile-visual:has(img)::before, .work-tile-visual:has(img)::after { display: none; }
.work-tile-visual::before { position: absolute; width: 220px; height: 220px; border: 1px solid rgba(73,52,60,.27); border-radius: 50%; content: ""; }
.work-tile-visual::after { position: absolute; width: 380px; height: 1px; background: rgba(73,52,60,.27); content: ""; transform: rotate(35deg); }
.work-tile-visual.tone-sage { background: var(--sage); }
.work-tile-visual.tone-berry { background: var(--blush); }
.work-tile-visual.tone-cream { background: var(--cream-deep); }
.work-tile-visual.tone-espresso { color: var(--cream); background: var(--espresso-soft); }
.work-tile-index { position: relative; z-index: 1; font-family: var(--serif); font-size: 8rem; font-style: italic; line-height: 1; }
.work-tile-content { padding: 28px 10px 12px; }
.work-tile-content .category { color: var(--berry); font-size: .63rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.work-tile-content h2 { margin: 12px 0 14px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.work-tile-content p { margin-bottom: 24px; color: var(--espresso-soft); }

.timeline-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.timeline-intro { position: sticky; top: 120px; }
.timeline-intro p { color: var(--espresso-soft); }
.timeline { position: relative; padding-left: 46px; }
.timeline::before { position: absolute; top: 8px; bottom: 0; left: 7px; width: 1px; content: ""; background: var(--line); }
.timeline-item { position: relative; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,253,250,.62); transition: background 300ms, transform 300ms var(--ease); }
.timeline-item::before { position: absolute; top: 31px; left: -45px; width: 13px; height: 13px; border: 4px solid var(--cream); border-radius: 50%; content: ""; background: var(--berry); box-shadow: 0 0 0 1px var(--berry); }
.timeline-item:hover { transform: translateX(5px); background: var(--paper); }
.timeline-toggle { width: 100%; padding: 28px 30px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.timeline-date { display: block; margin-bottom: 10px; color: var(--berry); font-size: .63rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.timeline-title-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.timeline-title-row h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; line-height: 1; }
.timeline-plus { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; transition: transform 300ms; }
.timeline-item.is-open .timeline-plus { transform: rotate(45deg); }
.timeline-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease); }
.timeline-item.is-open .timeline-detail { grid-template-rows: 1fr; }
.timeline-detail-inner { overflow: hidden; }
.timeline-detail-content { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; padding: 0 30px 30px; }
.timeline-mini-photo { position: relative; display: grid; place-items: center; min-height: 155px; padding: 18px; border-radius: 16px; background: var(--blush-light); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.timeline-mini-photo img { width: 100%; height: 100%; min-height: 155px; max-height: 230px; object-fit: cover; border-radius: inherit; }
.timeline-detail-content .kicker { margin-bottom: 8px; color: var(--berry); font-family: var(--serif); font-style: italic; }
.timeline-detail-content p { margin: 0; color: var(--espresso-soft); }
.timeline-video { margin: 20px 0 0; }
.timeline-video video { display: block; width: min(100%, 420px); max-height: 72vh; background: #241e21; border-radius: 14px; }
.timeline-video figcaption { margin-top: 9px; color: var(--espresso-soft); font-size: .78rem; }
.timeline-video a { color: var(--berry); font-weight: 700; }

.life-grid { display: grid; grid-template-columns: 1.05fr .95fr; grid-auto-rows: 240px; gap: 18px; margin-top: 52px; }
.life-card { position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: 24px; border-radius: 24px; color: var(--espresso); background: var(--blush-light); }
.life-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.life-card-portrait > img { object-position: center 5%; }
.life-card-wide > img { object-position: center 15%; }
.life-card-focus-lower { align-items: flex-start; }
.life-card-focus-lower > img { object-position: center 36%; }
.life-card:nth-child(2) { background: var(--sage); }
.life-card:nth-child(3) { grid-column: span 2; background: var(--cream-deep); }
.life-card::before { position: absolute; inset: 16px; border: 1px solid rgba(73,52,60,.2); border-radius: 18px; content: ""; }
.life-card-content { position: relative; z-index: 1; max-width: 390px; padding: 16px; border-radius: 15px; background: rgba(250,245,239,.8); backdrop-filter: blur(8px); }
.life-card h3 { margin-bottom: 4px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.life-card p { margin: 0; font-size: .76rem; }

.project-hero { min-height: 92svh; padding: 170px 0 70px; }
.project-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 74px; }
.project-hero .category { color: var(--berry); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.project-hero .display { max-width: 1050px; }
.project-hero .dek { max-width: 700px; margin-left: auto; color: var(--espresso-soft); font-size: clamp(1.16rem, 2vw, 1.5rem); }
.project-stage { position: relative; display: grid; place-items: center; min-height: 520px; margin-top: 68px; overflow: hidden; border-radius: var(--radius); background: var(--blush-light); }
.project-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-stage.tone-sage { background: var(--sage); }
.project-stage.tone-berry { background: var(--blush); }
.project-stage.tone-cream { background: var(--cream-deep); }
.project-stage.tone-espresso { color: var(--cream); background: var(--espresso-soft); }
.project-stage::before { position: absolute; width: 380px; height: 380px; border: 1px solid rgba(73,52,60,.25); border-radius: 50%; content: ""; }
.project-stage::after { position: absolute; width: 90%; height: 1px; background: rgba(73,52,60,.25); content: ""; transform: rotate(-16deg); }
.project-stage .project-number { position: relative; top: auto; left: auto; transform: none; }

.case-layout { display: grid; grid-template-columns: .36fr .64fr; gap: clamp(55px, 10vw, 150px); }
.case-aside { position: sticky; top: 115px; align-self: start; }
.case-aside dl { margin: 0; }
.case-aside div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.case-aside dt { margin-bottom: 4px; color: var(--berry); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-aside dd { margin: 0; }
.case-main { max-width: 720px; }
.case-section { padding: 0 0 76px; }
.case-section + .case-section { padding-top: 76px; border-top: 1px solid var(--line); }
.case-section h2 { margin-bottom: 22px; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 400; line-height: 1; }
.case-section p { color: var(--espresso-soft); font-size: 1.08rem; }
.numbered-list { padding: 0; margin: 32px 0 0; list-style: none; counter-reset: approach; }
.numbered-list li { display: grid; grid-template-columns: 38px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--espresso-soft); counter-increment: approach; }
.numbered-list li::before { content: "0" counter(approach); color: var(--berry); font-family: var(--serif); font-style: italic; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 26px 0 0; list-style: none; }
.tag-list li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .76rem; }
.reflection { padding: clamp(30px, 5vw, 54px); border-radius: 24px; background: var(--blush-light); }
.reflection .eyebrow { margin-bottom: 18px; }
.reflection blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.45rem); font-style: italic; line-height: 1.25; }
.confidentiality-note { margin-top: 34px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--espresso-soft); font-size: .78rem; }
.case-documents { margin-top: 36px; }
.case-documents h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.case-documents ul { padding: 0; margin: 18px 0; list-style: none; border-top: 1px solid var(--line); }
.case-documents li { border-bottom: 1px solid var(--line); }
.case-documents li a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.case-documents li a span { color: var(--berry); font-weight: 700; }
.case-documents li a small { color: var(--espresso-soft); }
.case-weeks { margin: 34px 0 42px; }
.case-weeks h3 { margin-bottom: 18px; font-family: var(--serif); font-size: 1.9rem; font-weight: 400; }
.case-weeks article { padding: 20px 0; border-top: 1px solid var(--line); }
.case-weeks .week-title { color: var(--berry); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.case-weeks article p { margin: 12px 0 8px; }
.case-weeks article small { color: var(--espresso-soft); }

.contact-page-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(60px, 10vw, 150px); align-items: end; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.contact-card h2 { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.contact-list { padding: 0; margin: 24px 0 0; list-style: none; }
.contact-list li { border-top: 1px solid var(--line); }
.contact-list a, .contact-list button, .contact-list span { display: flex; justify-content: space-between; width: 100%; padding: 18px 0; border: 0; background: transparent; text-align: left; }
.contact-list button { cursor: pointer; }
.contact-list small { color: var(--espresso-soft); }
.contact-note { margin-top: 22px; padding: 16px; border-radius: 14px; background: var(--cream-deep); font-size: .75rem; }

.not-found { display: grid; place-items: center; min-height: 100svh; padding: 120px 24px; text-align: center; }
.not-found .display { color: var(--berry); font-size: clamp(8rem, 25vw, 18rem); }

.site-footer { padding: 54px 0 30px; border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner { width: var(--container); margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding-bottom: 42px; }
.footer-mark { font-family: var(--serif); font-size: clamp(4rem, 9vw, 8rem); font-weight: 700; line-height: .8; letter-spacing: -.08em; }
.footer-mark span { color: var(--berry); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a, .footer-links span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--espresso-soft); font-size: .68rem; }

.page-wipe { position: fixed; z-index: 999; inset: 0; pointer-events: none; background: var(--berry); transform: translateY(100%); }
body.is-leaving .page-wipe { animation: wipe-in 420ms var(--ease) forwards; }
@keyframes wipe-in { to { transform: translateY(0); } }

.noscript { max-width: 720px; margin: 150px auto; padding: 30px; border: 1px solid var(--line); border-radius: 20px; }

@media (max-width: 960px) {
  :root { --container: min(100% - 34px, 760px); }
  .site-header { height: 72px; padding-inline: 20px; }
  .menu-toggle { position: relative; z-index: 102; display: grid; width: 44px; height: 44px; place-content: center; gap: 6px; cursor: pointer; }
  .menu-toggle i { display: block; width: 24px; height: 1px; background: var(--espresso); transition: transform 300ms, opacity 300ms; }
  .menu-open .menu-toggle i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .site-menu { position: fixed; z-index: 101; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 34px; padding: 100px 28px 40px; background: var(--cream); transform: translateY(-103%); transition: transform 500ms var(--ease); }
  .menu-open .site-menu { transform: translateY(0); }
  .site-menu nav { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-menu nav a { font-family: var(--serif); font-size: clamp(2.1rem, 10vw, 4rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
  .resume-link { font-size: .78rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 150px; }
  .hero h1 { max-width: 700px; font-size: clamp(3.5rem, 11.5vw, 5.8rem); }
  .hero-intro { margin-left: 0; }
  .hero-visual { min-height: 630px; }
  .portrait-frame { inset: 3% 8% 5% 14%; }
  .hero-sticker { right: 2%; }
  .scroll-cue { display: none; }
  .split-heading, .story-grid, .timeline-layout, .case-layout, .personal-strip, .contact-band-inner, .contact-page-grid, .analysis-overview { grid-template-columns: 1fr; }
  .split-heading { gap: 18px; }
  .story-sticky, .timeline-intro, .case-aside { position: static; }
  .project-card { grid-template-columns: 1fr; }
  .project-card:nth-child(even) .project-visual { order: 0; }
  .project-visual { min-height: 380px; }
  .project-meta { margin-bottom: 44px; }
  .contact-band-inner { align-items: start; }
  .page-hero .lede { margin-left: 0; }
  .page-hero .chapter-number { top: 150px; opacity: .25; }
  .timeline-layout { gap: 52px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 680px) {
  :root { --container: calc(100vw - 30px); --radius: 22px; }
  body { font-size: 15px; }
  .section { padding: 82px 0; }
  .section-tight { padding: 60px 0; }
  .hero { padding-top: 124px; padding-bottom: 46px; }
  .hero-kicker { margin-bottom: 22px; font-size: .64rem; }
  .hero h1 { margin-bottom: 26px; font-size: clamp(3rem, 14.5vw, 4.5rem); line-height: .92; }
  .hero h1 .line:nth-child(2) { padding-left: .18em; }
  .hero-visual { min-height: 490px; }
  .portrait-frame { inset: 3% 2% 5% 4%; border-radius: 150px 150px 22px 22px; }
  .hero-sticker { top: 2%; right: -3%; width: 92px; height: 92px; font-size: .78rem; }
  .hero-note { right: 4%; bottom: -4%; }
  .button { width: 100%; }
  .button-row { flex-direction: column; }
  .split-heading { margin-bottom: 38px; }
  .highlight-card, .highlight-card:nth-child(2), .highlight-card:nth-child(3) { grid-column: span 12; min-height: 290px; padding: 27px; }
  .highlight-index { margin-bottom: 54px; }
  .project-card-content { padding: 30px 25px 36px; }
  .project-card h3 { font-size: 2.8rem; }
  .project-visual { min-height: 300px; margin: 12px; }
  .scrapbook-stack { min-height: 420px; }
  .scrap-photo::before { min-height: 200px; }
  .contact-actions { width: 100%; }
  .page-hero { min-height: 66svh; padding: 140px 0 70px; }
  .page-hero .chapter-number { display: none; }
  .education-item { grid-template-columns: 1fr; gap: 18px; }
  .skills-grid, .work-grid, .analysis-project-grid { grid-template-columns: 1fr; }
  .work-tile { min-height: 520px; padding: 14px; }
  .work-tile-visual { min-height: 280px; }
  .timeline { padding-left: 30px; }
  .timeline::before { left: 4px; }
  .timeline-item::before { left: -31px; }
  .timeline-toggle { padding: 24px 22px; }
  .timeline-detail-content { grid-template-columns: 1fr; padding: 0 22px 24px; }
  .life-grid { grid-template-columns: 1fr; grid-auto-rows: 290px; }
  .life-card:nth-child(3) { grid-column: span 1; }
  .project-hero { padding-top: 130px; }
  .project-hero-top { align-items: flex-start; flex-direction: column; margin-bottom: 46px; }
  .project-stage { min-height: 350px; margin-top: 45px; }
  .case-section { padding-bottom: 58px; }
  .case-section + .case-section { padding-top: 58px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .button-row, .page-wipe, .field-notes { display: none !important; }
  body { color: #000; background: #fff; }
  main { padding-top: 0; }
  .section, .page-hero, .project-hero { min-height: auto; padding: 30px 0; }
}
