:root {
  --ink: #172f34;
  --muted: #53676a;
  --paper: #f5f4ef;
  --white: #fffefa;
  --line: #ced5cf;
  --sea: #092e53;
  --sand: #e0d2ad;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
button { color: inherit; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
::selection { background: #d6d9b5; color: var(--sea); }
.skip-link { position: fixed; left: 24px; top: -80px; z-index: 100; padding: 12px 20px; background: var(--white); }
.skip-link:focus { top: 15px; }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.site-header { position: relative; z-index: 20; }
.home .site-header { position: absolute; inset: 0 0 auto; color: white; }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.home .header-inner { border-color: #ffffff38; }
.wordmark { font-family: var(--serif); font-size: 26px; letter-spacing: -.7px; line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.main-nav a { transition: opacity .2s; }
.main-nav a:hover { opacity: .65; }
.main-nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; }
.main-nav .nav-contact { border: 1px solid #95a7a5; border-radius: 30px; padding: 9px 20px; }
.home .nav-contact { border-color: #ffffff80; }
.menu-button { display: none; border: 0; background: transparent; cursor: pointer; }
.eyebrow { font-size: 11px; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; font-weight: 500; }
.hero { min-height: 760px; height: min(960px, 100svh); position: relative; isolation: isolate; color: white; background: var(--sea); overflow: hidden; }
.hero-image { position: absolute; z-index: -3; inset: 0; height: 100%; object-fit: cover; object-position: left 55%; mask-image: linear-gradient(90deg, transparent, #000 50%); }
.hero-image[src="/assets/reef-model.webp"] { transform: translateX(12%); }
.hero-image[hidden] { display: none; }
.hero.is-video-scene { background: #000; }
.hero.is-video-scene .hero-image { object-position: 64% center; }
.hero-video { width: 100%; }
.hero-content { padding-top: clamp(155px, 19vh, 205px); }
.hero-copy { max-width: 780px; }
.hero h1 { font-family: var(--serif); font-size: clamp(66px, 6.8vw, 108px); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; margin: 24px 0 28px; max-width: 780px; }
.hero-description { max-width: 420px; font-size: 17px; line-height: 1.65; color: #f0f3ed; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 12px 22px; min-height: 48px; border: 1px solid var(--sea); border-radius: 30px; font-size: 14px; transition: background .2s, color .2s; }
.button-outline { color: #f3f0e6; border-color: currentColor; background: transparent; }
.button-outline:hover { background: #ffffff12; }
.hero-bottom { position: absolute; bottom: 32px; left: 0; right: 0; display: flex; gap: 30px; align-items: end; justify-content: space-between; }
.hero-scenes { display: flex; gap: 26px; }
.scene-button { border: 0; border-bottom: 1px solid transparent; border-radius: 0; padding: 0 0 10px; background: transparent; cursor: pointer; font-size: 11px; letter-spacing: .12em; }
.scene-button[aria-pressed='true'] { border-bottom-color: var(--sand); color: var(--sand); }
.hero-caption { position: relative; isolation: isolate; text-align: right; font-size: 11px; color: #fff; width: 440px; max-width: 100%; text-shadow: 0 1px 5px #0006; }
.hero-caption::before { content: ""; position: absolute; inset: -24px -40px; z-index: -1; background: #0007; filter: blur(28px); pointer-events: none; }
.hero-caption span { display: block; margin-top: 4px; }
.intro { padding-block: 72px 80px; display: grid; grid-template-columns: 1fr 2.1fr; gap: 65px; }
.intro .eyebrow { max-width: 190px; padding-top: 10px; }
.intro-statement { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); letter-spacing: -.025em; line-height: 1.32; max-width: 850px; }
.intro-statement span { color: var(--muted); }
.section { padding-block: 90px; }
.section-white { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 13px; color: var(--muted); }
.section-title { font-family: var(--serif); font-size: clamp(42px, 4.4vw, 64px); line-height: 1.1; font-weight: 400; letter-spacing: -.045em; }
.section-description { color: var(--muted); max-width: 470px; margin-top: 18px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; font-size: 14px; padding-block: 8px; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--sea); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.project-image { aspect-ratio: 1.55; overflow: hidden; background: #dbe0d8; }
.project-image img, .project-image video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-image.contain { background: #e4e6df; }
.project-image.contain img { mix-blend-mode: multiply; }
.project-image.dark { background: var(--sea); }
.project-card:hover .project-image img, .project-card:hover .project-image video { transform: scale(1.035); }
.project-card .eyebrow { color: var(--muted); margin: 22px 0 7px; font-size: 10px; }
.card-title { display: flex; justify-content: space-between; gap: 15px; align-items: center; font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.035em; line-height: 1.25; }
.home .project-card .card-title { margin-top: 22px; }
.card-description { max-width: 500px; color: var(--muted); margin-top: 12px; font-size: 15px; }
.small-projects { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 52px; border-top: 1px solid var(--line); }
.small-project { padding: 26px 32px 0 0; }
.small-project .project-image { display: block; aspect-ratio: 16 / 9; margin-bottom: 18px; }
.small-project a[href="/projects/mimi.html"] img { height: auto; object-position: center top; }
.terminal-window { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 5px; background: #000; }
.terminal-window .terminal-screen { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.small-project .terminal-preview { display: grid; place-items: center; background: #000; }
.small-project .terminal-window { width: 100%; }
.project-image .scout-screenshot, .detail-hero .scout-screenshot { object-fit: contain; background: #000; }
.detail-hero .terminal-window { max-width: 960px; margin-inline: auto; }
.small-project h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.small-project p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 300px; }
.small-project .eyebrow { margin-bottom: 10px; font-size: 9px; }
.small-project a:hover, .row-title:hover { color: var(--sea); }
.publication { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; padding-block: 26px; border-top: 1px solid var(--line); }
.publication:last-child { border-bottom: 1px solid var(--line); }
.publication .year { font-size: 12px; padding-top: 7px; color: var(--muted); }
.publication h2, .publication h3 { font-family: var(--serif); font-size: 27px; line-height: 1.3; font-weight: 400; letter-spacing: -.025em; max-width: 880px; }
.publication p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.expedition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.expedition-grid .project-image { aspect-ratio: 1.25; }
.expedition-grid .project-image img { object-position: 55% center; }
.expedition-grid a[href="/expeditions/goto-terminal.html"] img { object-position: center; }
.field-links { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.field-links a { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; }
.field-links small { display: block; color: var(--muted); margin-bottom: 5px; font-size: 11px; }
figcaption { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 12px; }
.contact-footer { background: var(--sea); color: #f3f0e6; padding: 70px 0 26px; }
.footer-top { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); gap: 70px; align-items: center; padding-bottom: 56px; }
.footer-portrait { width: 100%; max-width: 360px; aspect-ratio: 1.15; object-fit: cover; }
.footer-top h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.footer-description { max-width: 520px; margin-top: 24px; color: #c1cec7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 24px; }
.footer-bottom { border-top: 1px solid #ffffff30; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 11px; color: #c1cec7; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { width: 64px; height: 64px; }
.social-links { display: flex; gap: 24px; }
.social-links a:hover { color: white; }
.page-heading { padding-block: 65px 50px; max-width: 1000px; }
.breadcrumb { font-size: 11px; color: var(--muted); display: inline-block; margin-bottom: 30px; }
.breadcrumb:hover { text-decoration: underline; }
.page-heading .eyebrow { color: var(--muted); margin-bottom: 20px; }
.page-heading h1 { font-family: var(--serif); font-size: clamp(48px, 5.8vw, 84px); font-weight: 400; letter-spacing: -.05em; line-height: 1.05; }
.page-heading .lead { color: var(--muted); font-size: clamp(18px, 2vw, 24px); line-height: 1.45; max-width: 780px; margin-top: 25px; }
.detail-hero { margin-bottom: 62px; }
.detail-hero iframe { display: block; width: 100%; height: clamp(480px, 60vw, 650px); border: 0; background: var(--sea); }
.detail-hero img { max-height: 680px; object-fit: cover; }
.detail-hero.contain img { max-height: 650px; object-fit: contain; background: #e8eae3; padding: 35px; }
.detail-hero.dark img { background: var(--sea); object-fit: contain; }
.article-layout { display: grid; grid-template-columns: 1fr 2.1fr; gap: 65px; padding-bottom: 90px; }
.article-layout.article-single { display: block; max-width: 800px; margin-inline: auto; }
.article-aside { color: var(--muted); font-size: 13px; }
.article-aside .eyebrow { margin-bottom: 20px; }
.article-aside a { display: block; padding: 5px 0; }
.article-aside a:hover { color: var(--ink); }
.article-resources { margin-bottom: 32px; }
.article-resources a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.article-aside .resource-card { max-width: 320px; margin-top: 20px; padding: 0; color: var(--ink); text-decoration: none; }
.resource-card .resource-title { display: block; margin: 16px 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.resource-card .button { width: 100%; min-height: 54px; padding: 12px 18px; font-size: 16px; background: var(--sea); color: var(--white); }
.resource-card:hover .button { background: var(--ink); }
.resource-card .resource-link { display: block; margin-top: 12px; text-decoration: underline; text-underline-offset: 4px; }
.prose { min-width: 0; max-width: 800px; }
.prose h2 { font-family: var(--serif); font-size: 33px; line-height: 1.2; letter-spacing: -.025em; font-weight: 400; margin: 44px 0 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin: 30px 0 15px; }
.prose p, .prose ul { margin: 0 0 20px; color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { border-bottom: 1px solid #91a4a0; }
.prose a:hover { color: var(--sea); }
.prose ul { padding-left: 20px; }
.prose li { padding-left: 6px; margin-bottom: 8px; }
.prose pre { max-width: 100%; margin: 24px 0; padding: 18px 20px; overflow-x: auto; background: #e8eae3; color: var(--ink); font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.prose pre code { font: inherit; }
.article-gallery { padding-top: 35px; }
.article-gallery figure { margin-bottom: 40px; }
.article-gallery img { max-height: 640px; object-fit: contain; background: #e6e9e1; }
.article-gallery video { display: block; width: 100%; height: auto; }
.listing { padding-bottom: 90px; }
.work-row { display: grid; grid-template-columns: 60px 1fr 1fr; gap: 28px; align-items: start; border-top: 1px solid var(--line); padding: 28px 0; }
.work-row:last-child { border-bottom: 1px solid var(--line); }
.work-row .row-number { font-size: 11px; color: var(--muted); padding-top: 8px; }
.row-title { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -.035em; line-height: 1.2; }
.work-row p { font-size: 14px; color: var(--muted); }
.work-row .eyebrow { font-size: 9px; margin-top: 12px; }
.index-feature { margin-bottom: 60px; }
@media (min-width: 1600px) { .hero-content { padding-top: 190px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .main-nav { gap: 20px; }
  .hero { min-height: 800px; }
  .hero h1 { font-size: 80px; }
  .hero-description { max-width: 380px; }
  .intro, .article-layout { grid-template-columns: 1fr 2fr; gap: 40px; }
  .footer-top { grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 24px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; }
  .wordmark { font-size: 24px; }
  .menu-button { display: block; padding: 10px 0 10px 15px; font-size: 13px; }
  .main-nav { display: none; }
  .main-nav.is-open { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); color: var(--ink); padding: 20px; gap: 0; box-shadow: 0 15px 20px #172f3412; }
  .main-nav.is-open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav.is-open .nav-contact { border: none; border-radius: 0; }
  .hero { height: max(780px, 100svh); min-height: 0; max-height: none; }
  .hero-image { object-position: left center; }
  .hero-content { padding-top: 132px; }
  .hero h1 { font-size: clamp(40px, 12.9vw, 78px); margin-top: 24px; margin-bottom: 30px; }
  .hero-description { font-size: 16px; max-width: 340px; line-height: 1.7; }
  .hero-actions { gap: 10px; margin-top: 28px; }
  .button { padding-inline: 16px; gap: 14px; font-size: 13px; white-space: nowrap; }
  .hero-bottom { bottom: 26px; flex-direction: column; align-items: start; gap: 24px; }
  .hero-scenes { gap: 14px; width: 100%; }
  .scene-button { font-size: 9px; letter-spacing: .01em; white-space: nowrap; }
  .hero-caption { text-align: left; font-size: 10px; }
  .intro { display: block; padding-block: 45px 55px; }
  .intro .eyebrow { max-width: none; margin-bottom: 22px; }
  .intro-statement { font-size: 30px; }
  .section { padding-block: 58px; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 30px; gap: 20px; }
  .section-title { font-size: 43px; }
  .project-grid, .expedition-grid, .field-links { grid-template-columns: 1fr; gap: 36px; }
  .card-title { font-size: 31px; }
  .small-projects { grid-template-columns: 1fr; margin-top: 34px; gap: 24px; }
  .small-project { padding: 0; padding-top: 24px; border-top: 1px solid var(--line); }
  .small-projects { border-top: none; }
  .publication { grid-template-columns: 1fr; gap: 14px; }
  .publication h2, .publication h3 { font-size: 23px; }
  .expedition-grid .project-image { aspect-ratio: 1.4; }
  .field-links { margin-top: 34px; gap: 22px; }
  .contact-footer { padding-top: 50px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 35px; }
  .footer-portrait { max-width: 240px; }
  .footer-bottom { align-items: start; flex-direction: column; }
  .footer-top .text-link { font-size: 13px; gap: 20px; }
  .page-heading { padding-block: 40px; }
  .page-heading h1 { font-size: 52px; }
  .page-heading .lead { font-size: 20px; }
  .detail-hero { margin-bottom: 40px; }
  .detail-hero img { min-height: 250px; max-height: 480px; }
  .detail-hero.contain img { min-height: 0; padding: 14px; }
  .article-layout { display: block; padding-bottom: 55px; }
  .article-aside { margin-bottom: 32px; }
  .prose h2 { font-size: 31px; margin-top: 35px; }
  .work-row { grid-template-columns: 28px 1fr; gap: 14px; padding-block: 24px; }
  .work-row .row-summary { grid-column: 2; grid-row: 2; }
  .row-title { font-size: 29px; }
  .listing { padding-bottom: 55px; }
}
@media (max-width: 1000px), (orientation: portrait) {
  .article-layout:has(nav[aria-label="On this page"]) { display: block; }
  .article-aside:has(nav[aria-label="On this page"]) { margin-bottom: 28px; }
  .article-aside nav[aria-label="On this page"] .eyebrow { margin-bottom: 8px; }
  .article-aside nav[aria-label="On this page"] a { display: inline; line-height: 2.4; }
  .article-aside nav[aria-label="On this page"] a + a::before { content: " • "; white-space: pre; }
  .contact-footer { text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-portrait, .footer-description { margin-inline: auto; }
  .footer-links { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
