@charset "UTF-8";

:root {
  --sip-ground: #F0FAF3;
  --sip-ink: #22292F;
  --sip-accent: #807433;
  --sip-support: #C5D0E2;
  --sip-surface: #FAFCFB;
  --sip-copy: "Lunasima", "Trebuchet MS", sans-serif;
  --sip-display: "Abhaya Libre", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--sip-ink); background: var(--sip-ground); font: 18px/1.75 var(--sip-copy); }
img { max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 3px; text-decoration-color: var(--sip-accent); }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--sip-accent); outline-offset: 6px; }
::selection { color: var(--sip-ink); background: var(--sip-support); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--sip-display); font-weight: 700; }
h1 { font-size: clamp(48px, 5.5vw, 82px); line-height: .97; letter-spacing: -.025em; }
h2 { font-size: clamp(38px, 4.5vw, 66px); line-height: 1; letter-spacing: -.015em; }
p + p { margin-top: 23px; }
.sip-skip { position: absolute; top: -90px; left: 20px; padding: 10px 18px; z-index: 10; background: var(--sip-ink); color: var(--sip-surface); }
.sip-skip:focus { top: 12px; }
.sip-span { width: min(100% - 112px, 1328px); margin-inline: auto; }
.sip-icon { display: inline-flex; flex: 0 0 auto; width: 22px; height: 22px; font-style: normal; }
.sip-icon svg { width: 100%; height: 100%; stroke-width: 1.7; }

/* The three baselines and their gaps are the whole masthead. */
.sip-mast { height: 110px; padding-top: 18px; position: relative; z-index: 4; }
.sip-broken-sign { width: 363px; height: 82px; position: relative; }
.sip-name { position: absolute; left: 0; top: 0; display: grid; font: 700 32px/.83 var(--sip-display); text-decoration: none; }
.sip-name span { height: 26px; }
.sip-name span:nth-child(2) { padding-left: 25px; }
.sip-name span:nth-child(3) { padding-left: 53px; }
.sip-name:hover { text-decoration: none; color: var(--sip-accent); }
.sip-gap-nav { position: absolute; top: 0; left: 203px; display: grid; grid-template-rows: repeat(3, 26px); }
.sip-gap-nav a { display: flex; align-items: center; gap: 9px; width: max-content; font-size: 14px; line-height: 1; text-decoration: none; padding-inline: 3px 8px; }
.sip-gap-nav a:hover, .sip-gap-nav a[aria-current="page"] { background: var(--sip-support); box-shadow: 5px 3px 0 var(--sip-surface); }
.sip-gap-nav .sip-icon { width: 15px; height: 15px; }

/* A photograph fills the ground. A continuous cut of mint carries all the words. */
.sip-opening { position: relative; isolation: isolate; overflow: hidden; }
.sip-wash { position: absolute; width: 100%; height: 100%; inset: 0; z-index: -3; object-fit: cover; object-position: 65% 56%; color: transparent; }
.sip-reading-ground { position: absolute; inset: 0; z-index: -2; background: var(--sip-ground); clip-path: polygon(0 0, 57% 0, 50% 68%, 55% 100%, 0 100%); }
.sip-opening-inner { position: relative; min-height: 724px; padding-top: 46px; padding-bottom: 60px; }
.sip-home-copy { position: relative; z-index: 2; width: 51%; }
.sip-opening h1 { max-width: 650px; font-size: clamp(64px, 5.9vw, 88px); line-height: .94; }
.sip-welcome { max-width: 410px; margin-top: 25px; font-size: 18px; line-height: 1.65; }
.sip-promise { position: relative; width: 480px; max-width: calc(100% - 40px); margin: 68px 0 18px 32px; font-size: 16px; line-height: 1.6; }
.sip-promise::before { content: ""; position: absolute; width: 32px; height: 32px; top: -56px; left: -56px; background: var(--sip-accent); }
.sip-promise::after { content: ""; position: absolute; width: 12px; height: 12px; bottom: -43px; left: 75%; background: var(--sip-accent); }
.sip-falling-field { position: absolute; top: 96px; right: -2%; width: 49%; height: 500px; z-index: 1; pointer-events: none; }
.sip-falling-field::before { content: ""; position: absolute; top: 24px; left: 20px; width: 100%; height: 350px; background: var(--sip-support); clip-path: polygon(8% 0, 100% 9%, 92% 87%, 0 100%); transform: rotate(8deg); }
.sip-photo { position: absolute; background: var(--sip-support); }
.sip-photo img { width: 100%; height: 100%; object-fit: cover; color: transparent; display: block; }
.sip-photo-main { top: 0; left: 0; width: 100%; height: 350px; clip-path: polygon(8% 0, 100% 9%, 92% 87%, 0 100%); transform: rotate(8deg); animation: sip-settle 900ms cubic-bezier(.2,.7,.2,1) both; }
.sip-photo-main img { object-position: 42% 50%; }
.sip-photo-mid { top: 372px; left: 7%; width: 145px; height: 110px; clip-path: polygon(0 12%, 88% 0, 100% 82%, 18% 100%); transform: rotate(-11deg); }
.sip-photo-low { top: 438px; right: 3%; width: 120px; height: 87px; clip-path: polygon(0 0, 100% 18%, 83% 100%, 10% 86%); transform: rotate(14deg); }
.sip-hero-caption { position: absolute; right: 8%; bottom: 40px; width: 360px; padding: 18px 27px 20px; background: var(--sip-surface); font-size: 14px; line-height: 1.5; box-shadow: 11px 11px 0 var(--sip-support); transform: rotate(-3deg); }
@keyframes sip-settle { from { transform: translateY(-12px) rotate(6deg); } to { transform: translateY(0) rotate(8deg); } }

/* Text falls diagonally; the open spaces hold the other loose pieces. */
.sip-fall { padding-top: 175px; padding-bottom: 160px; }
.sip-piece { position: relative; isolation: isolate; width: 45%; max-width: 580px; }
.sip-piece + .sip-piece { margin-top: 176px; }
.sip-piece:nth-child(1) { margin-left: 6%; }
.sip-piece:nth-child(2) { margin-left: 28%; }
.sip-piece:nth-child(3) { margin-left: 53%; }
.sip-piece-index { position: absolute; left: -75px; top: -110px; z-index: -1; color: var(--sip-support); font: 500 190px/.8 var(--sip-display); letter-spacing: -.08em; }
.sip-piece-mark { color: var(--sip-accent); margin-bottom: 18px; }
.sip-piece h2 { max-width: 490px; margin-bottom: 29px; font-size: clamp(50px, 5.1vw, 76px); }
.sip-piece p { font-size: 18px; line-height: 1.8; }
.sip-piece::after { content: ""; position: absolute; pointer-events: none; }
.sip-piece:first-child::after { left: 132%; top: 15px; width: 50%; aspect-ratio: 1.1; background: url("./ochre-dust.webp") 30% 50% / cover; clip-path: polygon(6% 0, 100% 15%, 84% 100%, 0 79%); transform: rotate(10deg); }
.sip-piece:nth-child(2)::after { left: -52%; top: 75px; width: 17%; height: 75px; background: var(--sip-accent); clip-path: polygon(10% 0, 100% 13%, 85% 100%, 0 80%); transform: rotate(-9deg); }
.sip-piece:nth-child(3)::after { left: -105%; top: -10px; width: 60%; aspect-ratio: 1.3; background: url("./mint-chip.webp") 40% 50% / cover; clip-path: polygon(0 12%, 88% 0, 100% 86%, 13% 100%); transform: rotate(-8deg); }
.sip-whole { position: relative; padding: 86px 0 98px; background: var(--sip-surface); }
.sip-whole::before { content: ""; position: absolute; top: -28px; left: 9%; width: 83px; height: 66px; background: var(--sip-accent); clip-path: polygon(0 14%, 92% 0, 100% 81%, 13% 100%); }
.sip-whole .sip-span { position: relative; }
.sip-loose-motif { position: absolute; width: 240px; height: 110px; top: -150px; right: 0; }
.sip-whole h2 { max-width: 890px; margin-bottom: 42px; font-size: clamp(54px, 6.3vw, 92px); }
.sip-essay { columns: 2; column-gap: 72px; }
.sip-essay p { break-inside: avoid; margin-bottom: 23px; }
.sip-essay p + p { margin-top: 0; }

/* Smaller photographs and displaced captions carry the idea through the essays. */
.sip-crumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; line-height: 1.5; margin: 25px 0 42px; }
.sip-crumb .sip-icon { width: 15px; height: 15px; }
.sip-inner-top { padding-bottom: 52px; }
.sip-inner-top h1 { max-width: 980px; }
.sip-intro-prose { max-width: 700px; margin: 30px 0 0 24%; font-size: 20px; line-height: 1.7; }
.sip-band { position: relative; margin: 0 0 94px; }
.sip-band::before { content: ""; position: absolute; width: 100%; height: 250px; top: 17px; background: var(--sip-support); clip-path: polygon(0 8%, 100% 0, 100% 90%, 0 100%); }
.sip-band img { position: relative; display: block; width: 100%; height: 280px; object-fit: cover; object-position: 50% 60%; color: transparent; clip-path: polygon(0 7%, 100% 0, 100% 87%, 0 100%); }
.sip-band figcaption { position: relative; width: min(450px, 37%); margin: -38px 7% 0 auto; padding: 22px 28px; font-size: 15px; line-height: 1.6; background: var(--sip-surface); box-shadow: 10px 10px 0 var(--sip-support); transform: rotate(-2deg); }
.sip-article { padding-bottom: 115px; }
.sip-note { position: relative; max-width: 700px; margin-top: 94px; }
.sip-note:nth-child(3n + 1) { margin-left: 8%; }
.sip-note:nth-child(3n + 2) { margin-left: 25%; }
.sip-note:nth-child(3n) { margin-left: 40%; }
.sip-note-mark { position: absolute; left: -58px; top: 5px; width: 36px; height: 40px; padding: 7px; color: var(--sip-ink); background: var(--sip-support); clip-path: polygon(0 7%, 92% 0, 100% 86%, 10% 100%); }
.sip-note h2 { margin-bottom: 27px; max-width: 710px; font-size: 49px; }
.sip-note p { max-width: 710px; }
.sip-note ul { padding-left: 23px; margin: 0; }
.sip-note li { padding-left: 3px; margin-bottom: 22px; }
.sip-note li::marker { color: var(--sip-accent); }
.sip-table-scroll { max-width: 100%; overflow-x: auto; margin-top: 36px; background: var(--sip-surface); box-shadow: 11px 11px 0 var(--sip-support); }
table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.55; text-align: left; }
th, td { padding: 18px 16px; vertical-align: top; border-bottom: 2px solid var(--sip-ground); }
th { font-weight: 700; background: var(--sip-support); }

.sip-footer { position: relative; padding: 68px 0 36px; background: var(--sip-ground); border-top: 10px solid var(--sip-support); }
.sip-footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; }
.sip-footer-name { font: 700 44px/.91 var(--sip-display); max-width: 230px; }
.sip-footer-links { display: flex; flex-wrap: wrap; gap: 14px 26px; max-width: 700px; font-size: 15px; }
.sip-footer-links a { padding: 3px 0; }
.sip-guide-line { max-width: 760px; margin-top: 42px; font-size: 15px; line-height: 1.65; }
.sip-copyright { font-size: 13px; margin-top: 15px; }
.sip-lost { padding: 85px 0 110px; }
.sip-lost h1 { max-width: 840px; }
.sip-lost p { max-width: 580px; margin-top: 32px; }
.sip-lost img { width: 260px; margin-top: 48px; }

@media (min-width: 1550px) {
  .sip-reading-ground { clip-path: polygon(0 0, 56% 0, 51% 68%, 55% 100%, 0 100%); }
  .sip-opening-inner { min-height: 755px; }
  .sip-home-copy { width: 52%; }
  .sip-falling-field { right: -1%; }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .sip-span { width: calc(100% - 70px); }
  .sip-opening-inner { min-height: 765px; padding-top: 35px; }
  .sip-reading-ground { clip-path: polygon(0 0, 65% 0, 59% 70%, 66% 100%, 0 100%); }
  .sip-home-copy { width: 59%; }
  .sip-opening h1 { font-size: 62px; }
  .sip-welcome { max-width: 330px; font-size: 17px; }
  .sip-promise { max-width: calc(100% - 24px); margin-left: 16px; margin-top: 69px; }
  .sip-promise::before { left: -35px; }
  .sip-falling-field { width: 38%; top: 105px; }
  .sip-photo-main, .sip-falling-field::before { height: 280px; }
  .sip-photo-mid { top: 320px; left: 15px; width: 100px; height: 85px; }
  .sip-photo-low { top: 425px; width: 85px; height: 70px; }
  .sip-hero-caption { right: 0; bottom: 50px; width: 30%; font-size: 13px; padding: 17px; }
  .sip-piece { width: 49%; }
  .sip-piece:nth-child(3) { margin-left: 49%; }
  .sip-piece-index { left: -42px; font-size: 150px; top: -90px; }
  .sip-piece:first-child::after { left: 130%; width: 46%; }
  .sip-note:nth-child(n) { margin-left: 12%; max-width: 84%; }
  .sip-band figcaption { width: 45%; }
}

@media (max-width: 700px) {
  body { font-size: 16px; line-height: 1.75; }
  .sip-span { width: calc(100% - 40px); }
  .sip-mast { height: 90px; padding-top: 15px; }
  .sip-broken-sign { width: min(310px, 100%); height: 65px; }
  .sip-name { font-size: 27px; }
  .sip-name span { height: 21px; }
  .sip-name span:nth-child(2) { padding-left: 21px; }
  .sip-name span:nth-child(3) { padding-left: 42px; }
  .sip-gap-nav { left: 176px; grid-template-rows: repeat(3, 21px); }
  .sip-gap-nav a { font-size: 12px; gap: 7px; min-height: 21px; }
  .sip-gap-nav .sip-icon { width: 13px; height: 13px; }
  .sip-opening { padding-bottom: 25px; }
  .sip-opening-inner { min-height: 0; padding-top: 18px; padding-bottom: 0; }
  .sip-home-copy { width: auto; background: var(--sip-ground); }
  .sip-opening h1 { max-width: 345px; font-size: 32px; line-height: 1.03; letter-spacing: -.015em; }
  .sip-welcome { margin-top: 18px; max-width: 337px; font-size: 16px; line-height: 1.5; }
  .sip-promise { width: auto; max-width: none; margin: 60px 0 0 40px; font-size: 16px; line-height: 1.46; }
  .sip-promise::before { width: 32px; height: 32px; top: -56px; left: -56px; }
  .sip-promise::after { width: 10px; height: 10px; bottom: -39px; left: 72%; }
  .sip-falling-field { position: relative; top: auto; right: auto; width: calc(100% + 40px); height: 100px; margin-top: 67px; margin-left: -20px; background: url("./playground-fall.webp") 60% 55% / cover; }
  .sip-falling-field::before { top: 10px; left: calc(50% - 82px); width: 200px; height: 100px; }
  .sip-photo-main { top: -3px; left: calc(50% - 100px); width: 200px; height: 100px; }
  .sip-photo-mid { top: 25px; left: 8px; width: 45px; height: 39px; }
  .sip-photo-low { top: 65px; right: 8px; width: 45px; height: 30px; }
  .sip-wash, .sip-reading-ground { display: none; }
  .sip-hero-caption { position: relative; right: auto; bottom: auto; width: 290px; max-width: calc(100% - 24px); padding: 13px 16px; margin: 25px 0 8px auto; font-size: 13px; line-height: 1.45; box-shadow: 6px 6px 0 var(--sip-support); transform: rotate(-2deg); }
  .sip-fall { padding-top: 119px; padding-bottom: 100px; }
  .sip-piece { width: auto; max-width: none; }
  .sip-piece:nth-child(1) { margin-left: 8px; margin-right: 25px; }
  .sip-piece:nth-child(2) { margin-left: 30px; margin-right: 0; }
  .sip-piece:nth-child(3) { margin-left: 5px; margin-right: 20px; }
  .sip-piece + .sip-piece { margin-top: 117px; }
  .sip-piece-index { left: -9px; top: -70px; font-size: 110px; }
  .sip-piece-mark { margin-left: 66px; margin-bottom: 17px; }
  .sip-piece-mark .sip-icon { width: 21px; height: 21px; }
  .sip-piece h2 { font-size: 45px; margin-bottom: 23px; }
  .sip-piece p { font-size: 16px; line-height: 1.8; }
  .sip-piece:first-child::after, .sip-piece:nth-child(3)::after { display: none; }
  .sip-piece:nth-child(2)::after { left: -29px; top: -50px; width: 20px; height: 29px; }
  .sip-loose-motif { width: 150px; height: 75px; top: -105px; right: 5px; }
  .sip-whole { padding: 54px 0 43px; }
  .sip-whole::before { width: 47px; height: 38px; top: -15px; left: 7%; }
  .sip-whole h2 { font-size: 44px; margin-bottom: 25px; }
  .sip-essay { columns: 1; }
  .sip-crumb { font-size: 12px; gap: 7px; margin: 14px 0 26px; }
  .sip-crumb .sip-icon { width: 13px; height: 13px; }
  .sip-inner-top { padding-bottom: 30px; }
  .sip-inner-top h1 { font-size: 41px; line-height: 1.02; }
  .sip-intro-prose { font-size: 17px; margin: 24px 0 0 12px; }
  .sip-band { margin-bottom: 64px; }
  .sip-band img { height: 165px; }
  .sip-band::before { height: 150px; top: 15px; }
  .sip-band figcaption { width: calc(100% - 75px); margin: -15px 21px 0 auto; padding: 16px 19px; font-size: 13px; box-shadow: 6px 6px 0 var(--sip-support); }
  .sip-note { margin-top: 78px; }
  .sip-note:nth-child(3n + 1), .sip-note:nth-child(3n) { margin-left: 6px; margin-right: 16px; }
  .sip-note:nth-child(3n + 2) { margin-left: 23px; margin-right: 0; }
  .sip-note-mark { position: relative; left: auto; top: auto; margin-bottom: 17px; width: 31px; height: 34px; padding: 6px; }
  .sip-note-mark .sip-icon { width: 19px; height: 19px; }
  .sip-note h2 { font-size: 36px; line-height: 1.05; margin-bottom: 22px; }
  .sip-note p, .sip-note li { overflow-wrap: break-word; }
  .sip-note li { margin-bottom: 26px; }
  .sip-article { padding-bottom: 64px; }
  th, td { padding: 12px 9px; min-width: 105px; }
  .sip-table-scroll { box-shadow: 6px 6px 0 var(--sip-support); }
  .sip-footer { padding: 43px 0 28px; border-top-width: 7px; }
  .sip-footer-top { flex-direction: column; gap: 27px; }
  .sip-footer-name { font-size: 38px; }
  .sip-footer-links { gap: 12px 22px; font-size: 14px; }
  .sip-guide-line { font-size: 14px; margin-top: 31px; }
  .sip-copyright { font-size: 12px; }
  .sip-lost { padding: 45px 0 75px; }
  .sip-lost h1 { font-size: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sip-photo-main { animation: none; }
}
