/* The Art of Recovery: see DESIGN.md beside site/ */
:root {
  --ink: #1c2125;
  --ink-2: #2a3136;
  --aqua: #3fbfb8;
  --aqua-deep: #0f6f6a;
  --bonnet: #3c4fa3;
  --paper: #f6f8f7;
  --grout: #dfe6e4;
  --muted: #4f5b5f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6rem;
  --wrap: 72rem;
  --gloss: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 24px -14px rgba(28,33,37,.45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.65 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--bonnet); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--bonnet); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 var(--s2); letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 var(--s2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s3); }
.prose { max-width: 40rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: var(--s1) var(--s2); z-index: 10; }
.skip:focus { left: var(--s2); }

/* header */
.site-head { border-bottom: 1px solid var(--grout); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-top: var(--s2); padding-bottom: var(--s2); flex-wrap: wrap; }
.wordmark { text-decoration: none; color: var(--ink); font-family: var(--serif); line-height: 1; display: inline-flex; flex-direction: column; }
.wordmark:hover { color: var(--ink); }
.wordmark .the { font-size: .8rem; font-style: italic; color: var(--muted); }
.wordmark .name { font-size: 1.55rem; font-weight: 600; }
.wordmark .name i { color: var(--aqua-deep); font-weight: 500; }
.nav-toggle { display: none; font: 600 1rem var(--sans); background: none; border: 1px solid var(--ink); color: var(--ink); padding: .55rem .9rem; cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-size: 1rem; padding: .4rem 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--aqua); color: var(--ink); }
.nav .nav-cta a { border: 1px solid var(--aqua-deep); padding: .4rem .8rem; color: var(--aqua-deep); }
.nav .nav-cta a:hover { background: var(--aqua-deep); color: #fff; }
@media (max-width: 52rem) {
  .js .nav-toggle { display: inline-block; }
  .js .nav { display: none; width: 100%; }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: .7rem 0; font-size: 1.1rem; }
  .nav .nav-cta a { margin-top: var(--s1); }
}

/* buttons */
.btn { display: inline-block; font: 600 1.05rem var(--sans); text-decoration: none; padding: .85rem 1.4rem; background: var(--aqua-deep); color: #fff; border: 2px solid var(--aqua-deep); cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.on-dark .btn { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.on-dark .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.textlink { font-weight: 600; }

/* the drip */
.drip { position: relative; width: 6px; height: var(--drip, 7rem); background: var(--aqua); border-radius: 0 0 3px 3px; margin-bottom: 18px; }
.drip::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 16px; height: 16px; margin-left: -8px; background: var(--aqua); border-radius: 0 50% 50% 50%; transform: rotate(45deg); }

/* opening */
.opening { padding: var(--s4) 0 var(--s5); }
.opening .wrap { display: grid; column-gap: var(--s3); row-gap: var(--s2); grid-template-columns: 6px minmax(0,1fr) 8.5rem;
  grid-template-areas: "drip h1 h1" "drip intro photo" "drip quote quote" "drip act act"; align-items: start; }
.opening .drip { grid-area: drip; --drip: 9rem; margin-top: .8rem; }
.opening h1 { grid-area: h1; text-wrap: balance; }
.opening .intro { grid-area: intro; font-size: 1.08rem; line-height: 1.5; margin: 0; align-self: center; }
.opening .quote { grid-area: quote; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; margin: 0; max-width: 34rem; }
.opening .actions { grid-area: act; display: flex; flex-wrap: wrap; gap: .75rem; margin: var(--s1) 0 0; }
.opening .portrait { grid-area: photo; }
.opening .portrait img { border-width: 6px; }
.opening .portrait figcaption { font-size: .8rem; line-height: 1.3; }
@media (max-width: 30rem) { .opening .actions .btn { padding: .8rem 1rem; font-size: 1rem; } }
.opening h1 em { font-style: italic; font-weight: 500; color: var(--aqua-deep); }
.portrait { margin: 0; justify-self: start; max-width: 22rem; }
.portrait img { border: 10px solid #fff; box-shadow: var(--gloss); aspect-ratio: 1; object-fit: cover; object-position: 30% 40%; }
figcaption { font-size: .95rem; color: var(--muted); margin-top: .6rem; }
@media (min-width: 52rem) {
  .opening { padding: var(--s5) 0 var(--s6); }
  .opening .wrap { grid-template-columns: 6px 7fr 4fr; column-gap: var(--s4); row-gap: var(--s3);
    grid-template-areas: "drip h1 photo" "drip intro photo" "drip quote photo" "drip act photo"; }
  .opening .drip { --drip: 12rem; grid-row: 1 / 3; }
  .opening .portrait { grid-row: 1 / 5; align-self: end; justify-self: end; }
  .opening .portrait img { border-width: 10px; }
  .opening .portrait figcaption { font-size: .95rem; }
  .opening .intro { font-size: 1.25rem; }
}

/* dark band: this week */
.on-dark { background: var(--ink); color: #eef3f2; }
.on-dark a:not(.btn) { color: var(--aqua); }
.on-dark a:not(.btn):hover { color: #fff; }
.week { padding: var(--s5) 0; }
.week .wrap { display: grid; gap: var(--s4); grid-template-columns: 1fr; align-items: center; }
.ticket { display: grid; grid-template-columns: 1fr; border: 1px solid #4b585d; }
@media (min-width: 30rem) { .ticket { grid-template-columns: auto 1fr; } }
.ticket .date { background: var(--aqua); color: var(--ink); padding: var(--s2) var(--s3); font-family: var(--serif); line-height: 1; display: flex; align-items: baseline; gap: .75rem; }
@media (min-width: 30rem) { .ticket .date { display: block; text-align: center; padding: var(--s3); white-space: nowrap; } }
.ticket .date b { display: block; font-size: 2.6rem; }
.ticket .date span { font: 600 1rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.ticket .what { padding: var(--s3); }
.ticket h3 { margin-bottom: var(--s1); }
.ticket p { margin: 0; color: #c9d4d2; }
@media (min-width: 52rem) { .week .wrap { grid-template-columns: 5fr 6fr; } }

/* placeholder marker */
.tbd { display: inline-block; border: 1px dashed currentColor; padding: 0 .4rem; font-size: .9em; color: var(--muted); }
.on-dark .tbd { color: #b9c6c4; }

/* tile wall */
.tiles-sec { padding: var(--s6) 0 var(--s5); }
.tiles-head { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
@media (min-width: 52rem) { .tiles-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; background: var(--grout); padding: 6px; }
.wall .big { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 52rem) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } .wall .big { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; } .wall .wide { grid-column: span 2; } }
.tile { position: relative; background: #fff; aspect-ratio: 1; padding: var(--s2); display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--gloss); color: var(--ink); text-decoration: none; }
.wall .wide { aspect-ratio: auto; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.55) 0 18%, rgba(255,255,255,0) 40%); pointer-events: none; }
.tile.g-ink::before { background: linear-gradient(135deg, rgba(255,255,255,.1) 0 18%, rgba(255,255,255,0) 40%); }
.tile .says { position: relative; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.25; margin: 0 0 auto; max-width: 22rem; color: var(--bonnet); text-wrap: balance; }
.tile .says::before { content: "\201C"; } .tile .says::after { content: "\201D"; }
.tile.g-white { border-top: 6px solid var(--bonnet); }
.tile h3 { font-size: 1.25rem; margin: 0 0 .3rem; position: relative; }
.tile p { font-size: .95rem; margin: 0; position: relative; }
.tile .soon { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.tile.g-aqua { background: #cfeeec; }
.tile.g-bonnet { background: #d7dcf1; }
.tile.g-ink { background: var(--ink); color: #eef3f2; }
.tile.g-ink .soon { color: #b9c6c4; }
.tile.g-white { background: #fff; }
.tile.big h3 { font-size: 1.8rem; }
.tile.big p { font-size: 1.05rem; max-width: 24rem; }
a.tile:hover { outline: 3px solid var(--aqua); outline-offset: -3px; color: inherit; }
a.tile.g-ink:hover { color: #fff; }

/* steps on a line */
.air { padding: var(--s5) 0; border-top: 1px solid var(--grout); }
.air h2 { max-width: 30rem; }
.line-steps { list-style: none; padding: 0; margin: var(--s4) 0 var(--s3); display: grid; gap: var(--s4); counter-reset: s; position: relative; }
.line-steps li { position: relative; padding-left: 3.5rem; counter-increment: s; }
.line-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--aqua-deep); color: var(--aqua-deep); font: 600 1.1rem var(--serif); }
.line-steps h3 { margin-bottom: .4rem; }
.line-steps q { font-family: var(--serif); font-style: italic; }
@media (min-width: 52rem) {
  .line-steps { grid-template-columns: repeat(3, 1fr); }
  .line-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1.2rem; height: 2px; background: var(--aqua); }
  .line-steps li { padding-left: 0; padding-top: 3.6rem; }
  .line-steps.vertical { grid-template-columns: 1fr; }
  .line-steps.vertical::before { display: none; }
  .line-steps.vertical li { padding-left: 3.5rem; padding-top: 0; }
}
.line-steps.vertical { margin-top: var(--s3); gap: var(--s3); }

/* commission */
.commission { padding: var(--s6) 0; background: #e8f1ef; }
.commission .wrap { display: grid; gap: var(--s4); }
.bigquote { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; margin: 0; color: var(--ink); }
.bigquote p::before { content: "\201C"; color: var(--aqua-deep); }
.bigquote p::after { content: "\201D"; color: var(--aqua-deep); }
.bigquote cite { display: block; font: normal 400 1rem var(--sans); margin-top: var(--s2); color: var(--muted); }
.bigquote p { text-wrap: balance; }
@media (min-width: 52rem) { .commission .wrap { grid-template-columns: 3fr 2fr; align-items: start; } }

/* page heads (vary per page) */
.page-head { padding: var(--s5) 0 var(--s4); }
.page-head .kicker { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-deep); font-weight: 600; margin-bottom: var(--s1); }
.page-head p.intro { font-size: 1.2rem; max-width: 38rem; }
.page-head.split .wrap { display: grid; grid-template-columns: 6px 1fr; gap: var(--s3); }
.page-head.split .drip { --drip: 6rem; margin-top: .8rem; }
.page-head.dark { background: var(--ink); color: #eef3f2; }
.page-head.dark .kicker { color: var(--aqua); }
.page-head.bonnet { border-bottom: 6px solid var(--bonnet); }

/* article */
.article { padding-top: var(--s4); padding-bottom: var(--s5); }
.article .prose h2 { margin-top: var(--s4); font-size: 2rem; }
.pull { font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1.25; border-left: 6px solid var(--aqua); padding: .2rem 0 .2rem var(--s3); margin: var(--s4) 0; max-width: 34rem; }
.pull cite { display: block; font: normal .95rem var(--sans); color: var(--muted); margin-top: var(--s1); }
.photo-slot { border: 1px dashed #9fb0ad; background: #fff; aspect-ratio: 16/9; display: grid; place-content: center; gap: .5rem; justify-items: center; text-align: center; padding: var(--s3); color: var(--muted); font-size: .95rem; margin: var(--s3) 0; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 var(--s3); padding: 0; list-style: none; }
.filters button { font: 600 .95rem var(--sans); background: #fff; border: 1px solid var(--grout); color: var(--ink); padding: .55rem .9rem; cursor: pointer; }
.filters button:hover { border-color: var(--aqua-deep); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; background: var(--grout); padding: 6px; margin-bottom: var(--s5); }
.gallery .tile { aspect-ratio: auto; min-height: 13rem; }
@media (min-width: 40rem) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery .tile { aspect-ratio: 1; } }
@media (min-width: 60rem) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gallery .tile { aspect-ratio: 4 / 3; } }
.gallery [hidden] { display: none; }
.gallery .tile a { position: relative; font-size: .9rem; font-weight: 600; margin-top: .5rem; display: inline-block; padding: .2rem 0; }
.gallery .g-ink a { color: var(--aqua); }

/* forms */
.form-wrap { background: #fff; border: 1px solid var(--grout); padding: var(--s4) var(--s3); }
form[data-hp-form] { display: grid; gap: var(--s2); }
.row2 { display: grid; gap: var(--s2); }
@media (min-width: 40rem) { .row2 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: .3rem; }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: 400 1.05rem var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #a9b8b5; padding: .75rem .8rem; border-radius: 0; }
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--aqua); outline-offset: 0; border-color: var(--aqua-deep); }
.form-note { font-size: .95rem; color: var(--muted); margin: 0; }

/* two-column page body */
.cols { display: grid; gap: var(--s4); padding-top: var(--s4); padding-bottom: var(--s5); }
@media (min-width: 52rem) { .cols { grid-template-columns: 5fr 7fr; } .cols.flip { grid-template-columns: 7fr 5fr; } }
.facts { list-style: none; padding: 0; margin: 0 0 var(--s3); border-top: 1px solid var(--grout); }
.facts li { padding: var(--s2) 0; border-bottom: 1px solid var(--grout); }
.facts b { display: block; font-family: var(--serif); font-size: 1.2rem; }

/* markets */
.markets { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.market { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--grout); }
.market .when { font-family: var(--serif); line-height: 1.05; }
.market .when b { display: block; font-size: 2.2rem; }
.market.past { color: var(--muted); }
.market h3 { margin-bottom: .3rem; }

/* footer */
.site-foot { background: var(--ink); color: #c9d4d2; padding: var(--s5) 0 var(--s4); margin-top: 0; }
.site-foot .wrap { display: grid; gap: var(--s4); }
@media (min-width: 52rem) { .site-foot .wrap { grid-template-columns: auto 1fr 1fr 1fr; align-items: start; } }
.site-foot a { color: #eef3f2; }
.site-foot a:hover { color: var(--aqua); }
.site-foot h2 { font-size: 1.05rem; font-family: var(--sans); color: #fff; letter-spacing: .02em; margin-bottom: var(--s1); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { padding: .25rem 0; }
.site-foot .wordmark { color: #fff; }
.site-foot .wordmark .the { color: #b9c6c4; }
.site-foot .wordmark .name i { color: var(--aqua); }
.pendant { display: flex; flex-direction: column; align-items: center; width: 2.6rem; }
.pendant .chain { width: 2px; height: 3.5rem; background: var(--aqua); }
.pendant .loop { width: 12px; height: 12px; border: 2px solid #d9e2e0; border-radius: 50%; margin-top: -2px; }
.pendant .stone { width: 26px; height: 34px; margin-top: -2px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--aqua) 22%, var(--bonnet) 100%); box-shadow: 0 0 0 2px #d9e2e0; }
.foot-base { grid-column: 1 / -1; border-top: 1px solid #3a4448; padding-top: var(--s3); font-size: .95rem; display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: space-between; }

/* 404 */
.lost { padding: var(--s6) 0; }
.lost .wrap { display: grid; grid-template-columns: 6px 1fr; gap: var(--s3); }
.lost .drip { --drip: 14rem; }

@media (prefers-reduced-motion: no-preference) {
  .opening .text .drip, .page-head.split .drip { animation: drip 1.6s ease-out both; transform-origin: top; }
  @keyframes drip { from { height: 0; } }
}

/* forms: heading inside the white panel is a step down */
.form-wrap h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
@media (max-width: 30rem) { .form-wrap { padding: var(--s3) var(--s2); } }

/* process page: steps index beside the article */
.process-grid { display: grid; gap: var(--s4); }
.steps-index { display: none; }
@media (min-width: 60rem) {
  .process-grid { grid-template-columns: 14rem minmax(0, 40rem); column-gap: var(--s5); }
  .steps-index { display: grid; grid-template-columns: 6px 1fr; gap: var(--s3); position: sticky; top: var(--s3); align-self: start; margin-top: var(--s4); }
  .steps-index .drip { --drip: 9rem; }
  .steps-index ol { list-style: none; margin: 0; padding: 0; font-family: var(--serif); font-size: 1.25rem; }
  .steps-index li { padding: .35rem 0; }
  .steps-index a { color: var(--ink); text-decoration: none; }
  .steps-index a:hover { color: var(--aqua-deep); text-decoration: underline; }
}
.page-head.dark .wrap { position: relative; }
.page-head.dark h1 em { color: var(--aqua); font-weight: 500; }
