@import "tailwindcss";

:root {
  --ink: #153b33;
  --forest: #0e352c;
  --paper: #ffffff;
  --pollen: #d7aa2e;
  --sage: #afc7b3;
  --muted: #5a716b;
  --line: rgba(21, 59, 51, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { width: 100%; height: 100%; display: block; object-fit: cover; }
figure { margin: 0; }

.site-header { height: 88px; padding: 0 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 5; background: #fff; }
.brand { display: flex; align-items: center; width: 145px; height: 64px; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.brand-mark { width: 31px; height: 31px; border-radius: 50% 50% 48% 52%; display: grid; place-items: center; background: var(--pollen); color: var(--forest); font-family: Georgia, serif; font-style: italic; font-weight: 700; }
.site-header nav { display: flex; gap: 29px; font-size: 13px; }
.site-header nav a { transition: opacity .2s; }
.site-header nav a:hover { opacity: .55; }
.site-header nav a.active { border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.menu-dot { justify-self: end; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 15px; }

.hero { min-height: calc(100vh - 88px); display: grid; grid-template-columns: 52% 48%; padding: 4vw; gap: 4vw; align-items: center; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 2vw 0; }
.eyebrow, .section-kicker { margin: 0 0 28px; font-size: 11px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(66px, 7.3vw, 128px); line-height: .82; letter-spacing: -.07em; font-weight: 400; margin: 0; }
.hero h1 em, .projects-section h2 em, .story-copy h2 em { color: var(--pollen); font-weight: 400; }
.hero-intro { max-width: 510px; font-size: clamp(17px, 1.45vw, 23px); line-height: 1.45; margin: 46px 0 38px; letter-spacing: -.025em; }
.text-link { width: fit-content; display: flex; gap: 38px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }
.hero-visual { width: 100%; height: min(38vw, 520px); min-height: 390px; position: relative; overflow: hidden; background: #e4e4e4; }
.hero-visual img { object-position: center 44%; filter: contrast(1.03); }
.hero-visual:after { content: ''; position: absolute; width: 150px; height: 150px; right: -52px; top: 14%; border-radius: 50%; border: 28px solid rgba(215,170,46,.9); mix-blend-mode: multiply; }
.hero-visual figcaption { position: absolute; bottom: 22px; left: 24px; right: 24px; display: flex; justify-content: space-between; color: white; text-transform: uppercase; font-size: 10px; letter-spacing: .14em; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

.manifesto { padding: 10vw 4vw 11vw; display: grid; grid-template-columns: 25% 75%; border-top: 1px solid var(--line); }
.manifesto-text { font-family: Georgia, serif; font-size: clamp(28px, 3.35vw, 55px); letter-spacing: -.04em; line-height: 1.1; margin: 0; max-width: 1080px; }
.manifesto-text strong { font-weight: 400; color: #759d82; }

.visual-story { padding: 0 4vw 10vw; display: grid; grid-template-columns: 1.35fr .65fr; gap: 7vw; align-items: start; }
.story-main { height: min(52vw, 620px); position: relative; background: #050905; overflow: hidden; }
.story-main img { object-position: center; }
.story-main figcaption { position: absolute; left: 24px; bottom: 22px; color: #fff; font-size: 11px; letter-spacing: .08em; }
.story-copy { padding-top: 6vw; }
.story-copy h2 { font-family: Georgia, serif; font-size: clamp(50px, 5vw, 78px); line-height: .9; letter-spacing: -.055em; font-weight: 400; margin: 0 0 34px; }
.story-copy > p:not(.section-kicker) { max-width: 470px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.story-small { margin-top: 55px; height: 230px; }
.story-small img { object-position: center; }

.research-section { padding: 7vw 4vw 9vw; background: #fff; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 38px; }
.section-heading h2, .people-title h2 { font-family: Georgia, serif; font-size: clamp(58px, 7vw, 104px); line-height: .9; letter-spacing: -.055em; font-weight: 400; margin: 0; }
.section-heading > p { max-width: 200px; margin: 0 2vw 7px 0; font-size: 14px; line-height: 1.45; }
.research-grid { border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(4, 1fr); }
.research-card { padding: 20px 24px 30px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.research-card + .research-card { padding-left: 24px; }
.research-card:last-child { border-right: 0; }
.card-top { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 24px; }
.arrow { font-size: 18px; opacity: .45; }
.research-image { width: 100%; height: 235px; overflow: hidden; background: #e9eeeb; }
.research-image img { width: 100%; height: 100%; object-fit: cover; }
.research-card:nth-child(1) .research-image img { object-position: 58% center; }
.research-card:nth-child(2) .research-image img { object-position: 65% center; }
.research-card h3 { font-family: Georgia, serif; font-size: clamp(25px, 2vw, 35px); letter-spacing: -.035em; line-height: 1.04; font-weight: 400; margin: 28px 0 20px; }
.research-card p { font-size: 13px; line-height: 1.6; margin: auto 0 0; max-width: 285px; color: var(--muted); }

.projects-section { background: var(--forest); color: #f6f3e9; padding: 8vw 4vw; display: grid; grid-template-columns: .92fr 1.08fr; gap: 8vw; }
.light { color: var(--sage); }
.projects-section h2 { font-family: Georgia, serif; font-size: clamp(58px, 7vw, 108px); line-height: .88; letter-spacing: -.06em; font-weight: 400; margin: 0 0 40px; }
.project-copy > p:not(.section-kicker) { max-width: 520px; font-size: 17px; line-height: 1.6; color: #c5d2cc; }
.light-link { margin-top: 40px; color: white; }
.project-image { height: 300px; margin-bottom: 28px; overflow: hidden; }
.project-image img { object-position: center 58%; }
.project-list { align-self: center; }
.project-row { border-top: 1px solid rgba(255,255,255,.3); padding: 19px 0; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; color: inherit; text-decoration: none; transition: padding-left .2s ease, color .2s ease; }
.project-row:hover, .project-row:focus-visible { padding-left: 10px; color: var(--sage); }
.project-row:last-child { border-bottom: 1px solid rgba(255,255,255,.3); }
.project-row span { font-size: 11px; color: var(--sage); }
.project-row span:last-child { font-size: 18px; }
.project-row b { font-family: Georgia, serif; font-size: clamp(25px, 2.1vw, 38px); font-weight: 400; letter-spacing: -.03em; }

.people-section { padding: 9vw 4vw; background: #fff; }
.people-title { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; margin-bottom: 70px; }
.people-title p { max-width: 520px; justify-self: end; font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 7px; }
.team-photo { width: min(100%, 1180px); height: min(44vw, 560px); position: relative; overflow: hidden; background: #1a2f29; margin: 0 auto; }
.team-photo img { object-position: center; }
.team-photo figcaption { position: absolute; inset: auto 24px 22px; display: flex; justify-content: space-between; color: #fff; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 700; text-shadow: 0 1px 8px #000; }
.people-grid { width: min(100%, 1180px); margin: 58px auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 42px 22px; }
.person-card { min-width: 0; }
.person-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #e7ece8; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.person-card h3 { margin: 14px 0 4px; font-family: Georgia, serif; font-size: 18px; line-height: 1.15; font-weight: 400; letter-spacing: -.02em; }
.person-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; }
.person-placeholder { position: relative; display: grid; place-items: end center; background: linear-gradient(145deg, #f3f5f2, #dbe3dd); }
.person-placeholder::before { content: ""; width: 31%; aspect-ratio: 1; margin-bottom: 9%; border-radius: 50%; background: #aebbb3; box-shadow: 0 0 26px rgba(9,43,36,.08); }
.person-placeholder span { position: absolute; bottom: -10%; width: 68%; height: 47%; border-radius: 50% 50% 0 0; background: #aebbb3; box-shadow: 0 0 32px rgba(9,43,36,.08); }

.inside-section { padding: 8vw 4vw 10vw; background: #fff; border-top: 1px solid var(--line); }
.journal-grid { width: min(100%, 1180px); margin: 0 auto; display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: 285px 285px; gap: 22px; }
.journal-grid figure { position: relative; overflow: hidden; background: #eff1ef; }
.journal-large { grid-row: 1 / 3; }
.journal-large img { object-position: center; }
.journal-small img { object-position: center; }
.dark-card { background: #07130f !important; }
.dark-card img { object-fit: contain; padding: 42px; }
.journal-grid figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 16px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.journal-grid figcaption span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.journal-grid figcaption b { max-width: 260px; font-family: Georgia, serif; font-size: 23px; line-height: 1.04; font-weight: 400; text-align: right; }

footer { background: #092b24; color: #f7f3e8; padding: 8vw 4vw 3vw; }
.footer-main h2 { font-family: Georgia, serif; font-size: clamp(65px, 9.4vw, 150px); letter-spacing: -.07em; line-height: .82; font-weight: 400; margin: 0 0 60px; }
.footer-main > a { font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.55); display: flex; justify-content: space-between; padding: 15px 0; }
.footer-bottom { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 30px; border-top: 1px solid rgba(255,255,255,.2); margin-top: 100px; padding-top: 24px; font-size: 11px; line-height: 1.7; color: #a9bbb5; }
.footer-bottom > div:not(.footer-mark) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-mark { justify-self: end; align-self: end; font-family: Georgia, serif; font-size: 48px; color: white; letter-spacing: -.06em; }
.footer-mark span { color: var(--pollen); }

/* Standalone pages */
.subpage-hero { padding: 9vw 4vw 7vw; border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 2.2fr; column-gap: 6vw; align-items: end; }
.subpage-hero .section-kicker { align-self: start; }
.subpage-hero h1 { grid-column: 2; font-family: Georgia, serif; font-size: clamp(68px, 8vw, 125px); line-height: .82; letter-spacing: -.065em; font-weight: 400; margin: 0; }
.subpage-hero h1 span { color: var(--pollen); }
.subpage-hero > p:last-child { grid-column: 2; max-width: 640px; margin: 48px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }

.publication-section { padding: 2vw 4vw 9vw; display: grid; grid-template-columns: 1fr 2.2fr; column-gap: 6vw; }
.publication-year { border-top: 1px solid var(--ink); padding-top: 20px; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.publication-item { grid-column: 2; border-top: 1px solid var(--line); padding: 25px 0 34px; }
.publication-year + .publication-item { border-top-color: var(--ink); }
.publication-meta { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.publication-item h2 { max-width: 900px; font-family: Arial, Helvetica, sans-serif; font-weight: 400; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.42; letter-spacing: -.01em; margin: 0 0 15px; }
.publication-authors { max-width: 900px; margin: -5px 0 15px; color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 10px; line-height: 1.55; }
.publication-authors strong { color: var(--ink); font-weight: 600; }
.publication-item > a { display: inline-flex; gap: 14px; border-bottom: 1px solid currentColor; padding-bottom: 4px; font-size: 10px; font-weight: 700; }

.project-catalogue { padding: 2vw 4vw 9vw; }
.project-detail { display: grid; grid-template-columns: 118px 1fr auto; gap: 34px; border-top: 1px solid var(--line); padding: 34px 0 44px; scroll-margin-top: 110px; }
.project-detail:first-child { border-top-color: var(--ink); }
.project-number, .project-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.project-thumb { width: 118px; margin: 0; }
.project-thumb img { display: block; width: 118px; height: 118px; object-fit: cover; }
.project-thumb figcaption { margin-top: 9px; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.project-detail h2 { font-family: Georgia, serif; font-size: clamp(42px, 5.2vw, 80px); font-weight: 400; letter-spacing: -.055em; margin: 10px 0 18px; }
.project-detail p:not(.project-label) { max-width: 750px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.project-symbol { font-size: 24px; opacity: .5; }
.project-meta { max-width: 850px; margin: 26px 0 0; border-top: 1px solid var(--line); }
.project-meta > div { display: grid; grid-template-columns: 105px 1fr; gap: 22px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.project-meta dt { color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-meta dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.project-era { margin: 65px 0 0; padding: 0 0 16px 100px; border-bottom: 1px solid var(--ink); }
.project-era span { color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.project-banner { padding: 7vw 4vw; background: var(--forest); color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 6vw; align-items: center; }
.project-banner figure { height: min(36vw, 450px); }
.project-banner h2 { font-family: Georgia, serif; font-size: clamp(54px, 6vw, 94px); line-height: .9; letter-spacing: -.06em; font-weight: 400; margin: 0 0 30px; }
.project-banner h2 em { color: var(--pollen); font-weight: 400; }
.project-banner p:not(.section-kicker) { max-width: 470px; color: #c5d2cc; line-height: 1.6; }
.compact-footer { margin-top: 0; }
.institution-bar { background: #fff; margin: 70px -4vw -3vw; padding: 24px 4vw; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 94px; }
.institution-bar img { width: auto; height: auto; object-fit: contain; }
.footer-spred-logo { max-width: 128px; max-height: 58px; }
.affiliation-logos { display: flex; align-items: center; justify-content: flex-end; gap: 34px; }
.affiliation-logos img { max-height: 58px; }
.affiliation-logos img:first-child { max-width: 125px; }
.affiliation-logos img:last-child { max-width: 165px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; height: 72px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 55px 5vw 6vw; }
  .hero-visual { height: min(58vw, 470px); min-height: 360px; margin-top: 20px; }
  .manifesto { grid-template-columns: 1fr; gap: 25px; padding: 90px 5vw; }
  .visual-story { grid-template-columns: 1fr; padding: 0 5vw 90px; }
  .story-main { height: 68vw; max-height: 560px; }
  .story-copy { padding-top: 0; }
  .story-small { width: 60%; margin-left: auto; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .research-card:nth-child(2) { border-right: 0; }
  .research-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .projects-section { grid-template-columns: 1fr; }
  .people-title { grid-template-columns: 1fr; gap: 35px; }
  .people-title p { justify-self: start; }
  .journal-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 280px; }
  .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journal-large { grid-column: 1 / 3; grid-row: auto; }
  .footer-bottom { grid-template-columns: 1fr 1fr; }
  .subpage-hero { grid-template-columns: 1fr; padding: 90px 5vw 60px; }
  .subpage-hero h1, .subpage-hero > p:last-child { grid-column: 1; }
  .publication-section { grid-template-columns: 1fr; padding: 30px 5vw 90px; }
  .publication-year, .publication-item { grid-column: 1; }
  .publication-year { margin-top: 24px; }
  .project-catalogue { padding: 30px 5vw 90px; }
  .project-banner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 62px; }
  .hero-visual { height: 350px; min-height: 350px; }
  .story-main { height: 110vw; }
  .story-small { width: 100%; height: 240px; margin-top: 45px; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card, .research-card + .research-card { padding: 18px 0 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .research-card .research-image { height: 220px; }
  .section-heading { align-items: start; flex-direction: column; gap: 28px; }
  .project-image { height: 300px; }
  .people-title { margin-bottom: 42px; }
  .team-photo { height: 68vw; min-height: 300px; }
  .team-photo img { object-position: center; }
  .people-grid { margin-top: 38px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
  .person-card h3 { font-size: 16px; }
  .person-card p { font-size: 9px; }
  .people-note { justify-content: flex-start; }
  .journal-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .journal-large { grid-column: auto; height: 410px; }
  .journal-small { height: 280px; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-mark { justify-self: start; margin-top: 30px; }
  .project-detail { grid-template-columns: 76px 1fr; gap: 18px; }
  .project-thumb, .project-thumb img { width: 76px; }
  .project-thumb img { height: 76px; }
  .project-detail h2 { font-size: clamp(36px, 12vw, 58px); }
  .project-meta > div { grid-template-columns: 1fr; gap: 7px; }
  .project-era { padding-left: 60px; }
  .project-symbol { display: none; }
  .project-banner figure { height: 72vw; }
  .institution-bar { gap: 24px; flex-wrap: wrap; }
  .affiliation-logos { gap: 20px; flex-wrap: wrap; }
}
