/* Tonnia Theory: original identity, city light and open sky. */
:root {
  --paper: #fafaf8;
  --ink: #242c2e;
  --muted: #687071;
  --line: #d2d4d1;
  --stone: #dedbd5;
  --sky: #d5deeb;
  --brand-sans: "Semplicita Pro", "SemplicitaPro", "Avenir Next", Avenir, "Century Gothic", sans-serif;
  font-family: var(--brand-sans);
  color: var(--ink);
  background: var(--paper);
}
body { background: var(--paper); }
::selection { background: var(--ink); color: var(--paper); }
.site-header {
  height: 114px;
  min-height: 114px;
  background: var(--paper);
  border-bottom: 0;
  transition: height .4s ease, min-height .4s ease;
}
.site-header nav { color: var(--ink); gap: 34px; }
.site-header nav a, .site-header nav button {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
}
.compact-wordmark {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  max-width: none;
}
.compact-wordmark img {
  display: block;
  width: clamp(255px, 30vw, 430px);
  height: auto;
  transition: width .4s ease;
}
.site-header.is-scrolled {
  height: 82px;
  min-height: 82px;
  background: var(--paper);
  border-color: var(--line);
}
.site-header.is-scrolled .compact-wordmark img { width: 235px; }
.introduction {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 132px var(--gutter) 0;
  background: var(--paper);
  overflow: visible;
}
.introduction h1.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.hero-diptych {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3px;
  height: clamp(320px, 37vw, 570px);
}
.hero-image {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  background: var(--stone);
}
.hero-image img {
  position: absolute;
  inset: -30px 0 auto;
  height: calc(100% + 60px);
  object-position: center 50%;
}
.hero-sky img { object-position: 58% 63%; }
.hero-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 34px;
  padding: 32px 0 26px;
}
.hero-statement {
  position: static;
  margin: 0;
  color: var(--ink);
  font-family: var(--brand-sans);
  font-size: clamp(25px, 3.2vw, 48px);
  font-weight: 300;
  letter-spacing: -.05em;
  line-height: 1.18;
}
.explore-link {
  position: static;
  color: var(--ink);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .17em;
  gap: 12px;
  min-height: 44px;
}
.explore-link span { font-size: 15px; }
.brand-submark {
  display: block;
  width: 28px;
  height: 50px;
  background: #8a8d91;
  mask: url("assets/brand/tonnia-theory-submark.svg") center / contain no-repeat;
  -webkit-mask: url("assets/brand/tonnia-theory-submark.svg") center / contain no-repeat;
}
.collection-heading { padding: 46px 0 20px; }
.collection-heading h2, .collection-heading > span { font-size: 10px; letter-spacing: .16em; }
.gallery-chapter { row-gap: 62px; }
.project-tile { color: var(--ink); }
.tile-media { background: var(--stone); container-type: inline-size; }
.tile-media img { transition-duration: 1.4s; }
.project-tile:hover .tile-media img { transform: scale(1.018); }
.project-cover {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 7%;
  right: 7%;
  display: block;
  color: #fff;
  font-family: var(--brand-sans);
  text-align: left;
}
.project-cover-title {
  display: block;
  font-size: clamp(27px, 8cqw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.055em;
}
.project-cover-line {
  display: block;
  max-width: 32em;
  margin-top: 8px;
  font-size: clamp(12px, 3cqw, 20px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.02em;
  text-wrap: pretty;
}
.tile-tivology::after, .tile-notes::after, .tile-mintelan::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,18,35,.78), rgba(5,18,35,.5) 28%, transparent 62%);
}
.tile-wihouse .project-cover { color: #173347; }
.tile-mytoni { aspect-ratio: .8; }
.tile-mytoni .project-cover { top: 6%; }
.tile-mytoni > img { object-position: 50% 0%; }
.tile-mytoni-notes { background: #152a42; }
.tile-tools.tile-mytoni-notes > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  height: 100%;
  object-position: 50% 65%;
}
.tile-mytoni-notes .project-cover { left: 6%; right: 60%; top: 13%; }
.tile-mytoni-notes .project-cover-title { font-size: clamp(27px, 7cqw, 64px); }
.tile-mytoni-notes .project-cover-line { font-size: clamp(12px, 2.7cqw, 19px); }
.tile-wihouse.tile-structure > img { object-position: 52% 66%; }
.tile-mintelan { color: #fff; background: #182638; }
.tile-mintelan > img, .tile-notes > img { object-position: 50% 25%; }
.mintelan-cover { top: 8%; bottom: auto; }
.mintelan-name {
  font-family: var(--brand-sans);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 78px);
  letter-spacing: -.065em;
}
.mintelan-line { font-family: var(--brand-sans); font-size: clamp(12px, 1.35vw, 22px); font-weight: 400; letter-spacing: -.025em; }
.tile-portrait img { object-position: 58% center; }
.tile-reflection img { object-position: center; }
.tile-wihouse img { object-position: 70% 80%; }
.caption-thought {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: -.015em;
  font-size: 13px;
  font-weight: 400;
}
.tile-pocket {
  padding: 0;
  display: block;
  background: var(--sky);
  color: var(--ink);
}
.tile-pocket > img { position: absolute; inset: 0; }
.pocket-copy { position: absolute; inset: auto 7% 10% 8%; display: block; }
.pocket-name {
  display: block;
  font-family: var(--brand-sans);
  font-weight: 400;
  font-size: clamp(30px, 3.5vw, 60px);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.pocket-thought {
  display: block;
  margin: 16px 0 0;
  font-family: var(--brand-sans);
  font-weight: 400;
  font-size: clamp(12px, 1.2vw, 19px);
  letter-spacing: -.025em;
  line-height: 1.5;
}
.tile-research { background: var(--stone); }
.tile-research > img { display: none; }
.research-thought {
  font-family: var(--brand-sans);
  font-weight: 400;
  font-size: clamp(27px, 3.5vw, 62px);
  letter-spacing: -.055em;
  line-height: 1.14;
}
.tile-notes { background: #182638; }
.tile-notes img { object-position: center; }
.notes-thought {
  left: 8%;
  right: 8%;
  bottom: 11%;
  font-family: var(--brand-sans);
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 34px);
  letter-spacing: -.035em;
  line-height: 1.2;
}
.tile-caption { font-size: 10px; line-height: 1.6; letter-spacing: .075em; }
.tile-caption .caption-name { font-weight: 600; }
.caption-category { color: var(--muted); }
.continuation { border-color: var(--line); }
.continuation button { font-size: 10px; letter-spacing: .17em; }
.continuation p { font-family: var(--brand-sans); font-size: 14px; color: var(--muted); }
.edition-note { color: var(--muted); background: var(--paper); }
.back-top { color: var(--ink); background: var(--paper); border-color: var(--line); }
.chapter-divider { color: var(--muted); }
.chapter-divider:after { background: var(--line); }
.index-heading h1, .index-name, .detail-copy h2 {
  font-family: var(--brand-sans);
  font-weight: 400;
  letter-spacing: -.055em;
}
.index-heading p, .index-category, .index-number, .index-note { color: var(--muted); }
.index-row { border-color: var(--line); }
.index-row:last-child { border-color: var(--line); }
.index-row:hover { color: #4b6388; }
.index-heading h1 { font-weight: 300; }
.index-name { font-size: clamp(25px, 2.8vw, 45px); }
.index-view { padding-top: 160px; }
 dialog { background: var(--paper); color: var(--ink); }
 dialog::backdrop { background: rgba(20, 29, 39, .7); }
.dialog-bar { background: var(--paper); border-color: var(--line); }
.detail-category, .detail-note { color: var(--muted); }
.detail-description, .detail-line p { color: #566269; }
.detail-line, .dialog-navigation { border-color: var(--line); }
.detail-copy h2 { font-size: clamp(40px, 4.2vw, 66px); }
.detail-visual { background: var(--stone); }
.detail-visual .mintelan-name { font-size: clamp(48px, 5.4vw, 90px); }
.detail-visual .pocket-copy { bottom: 12%; }
.detail-visual .pocket-name { font-size: clamp(45px, 5vw, 72px); }
.detail-visual .pocket-thought { font-size: 18px; }
.tile-tivology {
  aspect-ratio: .85;
  background: #20334f;
  color: #fff;
}
.tile-tivology > img { position: absolute; inset: 0; object-position: 56% center; }
.tile-tivology-wide { aspect-ratio: 1.8; }
.tile-tivology-wide > img { object-position: center 62%; }
.studio-cover {
  position: absolute;
  inset: auto 8% 12%;
  display: block;
}
.studio-name {
  display: block;
  font-size: clamp(25px, 2.8vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.05em;
}
.studio-line {
  display: block;
  font-size: clamp(12px, 1.15vw, 19px);
  line-height: 1.45;
  margin-top: 10px;
  letter-spacing: -.025em;
}
.notes-subtitle { font-size: .7em; }
.tile-notes > img { object-position: 65% center; }
.tile-tools { aspect-ratio: 1.45; }
.tile-tools img { object-position: center 32%; }
.tile-mytoni-notes { aspect-ratio: 1.65; }
.business-cover {
  position: absolute;
  top: 8%;
  right: 7%;
  max-width: 72%;
  font-size: clamp(22px, 2.2vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.05em;
}
.business-line {
  display: block;
  margin-top: 10px;
  font-size: clamp(12px, 1.2vw, 20px);
  letter-spacing: -.025em;
}
.entry--structure { grid-column: 1 / span 5; margin-top: 45px; }
.entry--tools { grid-column: 7 / span 6; margin-top: 110px; }
.tile-structure { aspect-ratio: .9; }
.tile-structure img { object-position: 65% center; }
.detail-visual .tile-tivology { aspect-ratio: auto; }
.detail-visual .studio-name { font-size: clamp(42px, 4.5vw, 65px); }
.detail-visual .studio-line { font-size: 18px; }
@media (max-width: 1000px) {
  .site-header nav { gap: 24px; }
  .hero-caption { gap: 22px; }
  .explore-link { font-size: 8px; letter-spacing: .12em; }
  .brand-submark { width: 22px; height: 40px; }
  .pocket-name { font-size: 3.7vw; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 122px; }
  .site-header, .site-header.is-scrolled {
    height: 112px;
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: var(--paper);
    padding: 14px var(--gutter) 6px;
  }
  .site-header .compact-wordmark, .site-header.is-scrolled .compact-wordmark {
    display: block;
    max-width: none;
    opacity: 1;
    visibility: visible;
  }
  .compact-wordmark img, .site-header.is-scrolled .compact-wordmark img {
    width: 215px;
    height: auto;
  }
  .site-header nav, .site-header.is-scrolled nav { gap: 32px; }
  .site-header nav a, .site-header nav button { font-size: 9px; min-height: 40px; padding-block: 10px; }
  .introduction { padding: 130px var(--gutter) 0; }
  .hero-diptych { grid-template-columns: 1.25fr 1fr; gap: 3px; height: 43svh; min-height: 290px; max-height: 460px; }
  .hero-image img { object-position: 56% center; }
  .hero-sky img { object-position: 65% 65%; }
  .hero-caption {
    grid-template-columns: minmax(0, 1fr) 25px;
    column-gap: 20px;
    row-gap: 15px;
    padding: 26px 0 14px;
  }
  .hero-statement { font-size: 28px; letter-spacing: -.055em; max-width: 290px; }
  .explore-link { grid-column: 1; grid-row: 2; font-size: 8px; min-height: 34px; }
  .brand-submark { grid-column: 2; grid-row: 1 / 3; width: 25px; height: 45px; }
  .collection-heading { padding-top: 30px; }
  .gallery-chapter { row-gap: 38px; }
  .mintelan-name { font-size: 10vw; }
  .mintelan-line { font-size: 3.35vw; }
  .pocket-name { font-size: 7.8vw; }
  .pocket-thought { font-size: 12px; line-height: 1.35; }
  .research-thought { font-size: 7.2vw; line-height: 1.15; }
  .notes-thought { font-size: 5.2vw; }
  .tile-caption { font-size: 9px; letter-spacing: .035em; }
  .caption-thought { font-size: 12px; }
  .business-cover { font-size: 6vw; }
  .business-line { font-size: 12px; margin-top: 8px; }
  .index-view { padding-top: 155px; }
  .index-heading h1 { font-size: 64px; }
  .index-name { font-size: 26px; }
  .detail-copy h2 { font-size: 40px; }
  .detail-visual:has(.tile-mytoni) { aspect-ratio: .9; }
  .detail-visual .mintelan-name { font-size: 12vw; }
  .detail-visual .pocket-name { font-size: 10vw; }
  .detail-visual .pocket-thought { font-size: 14px; }
  .entry--structure { grid-column: 1 / span 4; margin-top: 8px; }
  .entry--tools { grid-column: 2 / span 5; margin-top: 8px; }
  .studio-name { font-size: 7.5vw; }
  .studio-line { font-size: 12px; }
  .tile-tivology-wide { aspect-ratio: 1.4; }
  .detail-visual .studio-name { font-size: 10vw; }
  .detail-visual .studio-line { font-size: 14px; }
}

/* A finite collection, with a quiet editorial close. */
.collection { padding-bottom: 0; }
.gallery-chapter { padding-bottom: 64px; }
.gallery-chapter + .gallery-chapter { padding-top: 0; }
.gallery-chapter + .gallery-chapter .entry--research { margin-top: 0; }
.gallery-chapter + .gallery-chapter .entry--notes { margin-top: 80px; }
.chapter-divider { padding: 12px 0 0; }
.site-footer {
  max-width: 1920px;
  margin-inline: auto;
  padding: 0 var(--gutter);
  color: var(--ink);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.65fr);
  gap: 64px;
  border-top: 1px solid var(--line);
  padding: 60px 0 58px;
}
.footer-identity img { display: block; width: clamp(220px, 23vw, 330px); height: auto; max-width: 100%; }
.footer-identity p {
  margin: 22px 0 0;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.035em;
}
.footer-navigation { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 28px; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.footer-label {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.footer-group > a, .footer-group > button {
  display: block;
  min-height: 36px;
  padding-block: 6px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  letter-spacing: -.01em;
}
.footer-group a:hover, .footer-group button:hover, .footer-top:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-contact a > span[aria-hidden] { display: inline-block; margin-left: 12px; }
.footer-link-note { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 15px 0 20px;
}
.footer-bottom p { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .025em; }
.footer-top { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.information-dialog { width: min(780px, 94vw); max-height: 90svh; }
.information-body { padding: 42px 52px 52px; }
.information-edition { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 24px; }
.information-body h2 { font-size: clamp(38px, 4.2vw, 60px); font-weight: 300; line-height: 1.08; letter-spacing: -.055em; margin: 0 0 20px; }
.information-intro { margin: 0 0 34px; font-size: 21px; line-height: 1.4; letter-spacing: -.025em; }
.information-dialog.is-about { width: min(720px, 94vw); }
.is-about .information-body { padding-block: 56px 64px; }
.is-about .information-edition { display: none; }
.is-about .information-body h2 { margin-bottom: 32px; }
.about-copy { max-width: 550px; }
.about-copy .information-intro { margin-bottom: 26px; line-height: 1.55; }
.about-copy > p:last-child { margin: 0; color: #566269; font-size: 16px; line-height: 1.85; }
.information-body section { padding-top: 22px; border-top: 1px solid var(--line); margin-top: 26px; }
.information-body h3 { margin: 0 0 10px; font-size: 13px; font-weight: 500; line-height: 1.5; }
.information-body section p { margin: 0; font-size: 14px; line-height: 1.8; color: #566269; }
.information-body section a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.policy-context { border-block: 1px solid var(--line); padding-block: 20px; margin-bottom: 30px; }
.policy-context p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.policy-lead p { margin: 0 0 16px; font-size: 14px; line-height: 1.8; color: #566269; }
.policy-lead a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.information-body section > p + p, .information-body section > ul + p { margin-top: 14px; }
.information-body ul, .information-body ol { margin: 14px 0; padding-left: 22px; color: #566269; font-size: 14px; line-height: 1.8; }
.information-body li { padding-left: 3px; margin-block: 8px; }
.information-body strong { font-weight: 600; }
.information-body .policy-document-title { margin: 44px 0 22px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 32px; line-height: 1.2; }
.policy-source { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.8; color: var(--muted); }
.policy-source a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) {
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-identity { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .footer-identity img { width: 260px; }
  .footer-identity p { margin: 0; font-size: 19px; }
  .footer-navigation { grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .gallery-chapter { padding-bottom: 45px; }
  .gallery-chapter + .gallery-chapter .entry--notes { margin-top: 8px; }
  .chapter-divider { padding: 5px 0 0; }
  .footer-main { padding: 36px 0 30px; gap: 30px; }
  .footer-identity { display: block; }
  .footer-identity img { width: 215px; }
  .footer-identity p { margin-top: 18px; font-size: 19px; }
  .footer-navigation { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-group:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; width: 100%; }
  .footer-group:last-child .footer-label { grid-column: 1 / -1; }
  .footer-label { margin-bottom: 10px; }
  .footer-group > a, .footer-group > button { min-height: 44px; font-size: 12px; }
  .footer-link-note { font-size: 10px; }
  .footer-bottom { gap: 16px; padding-bottom: 18px; }
  .footer-bottom p { font-size: 9px; }
  .footer-top { font-size: 9px; gap: 10px; }
  .information-body { padding: 30px 24px 36px; }
  .is-about .information-body { padding-block: 36px 42px; }
  .is-about .information-body h2 { margin-bottom: 26px; }
  .about-copy > p:last-child { font-size: 14px; line-height: 1.8; }
  .information-body h2 { font-size: 39px; }
  .information-intro { font-size: 19px; margin-bottom: 28px; }
  .information-body section p { font-size: 13px; }
  .policy-lead p, .information-body ul, .information-body ol { font-size: 13px; }
  .information-body .policy-document-title { font-size: 29px; }
}
