/* Days & Nights Operations — DESIGN.md version 2 */
:root {
  --paper: #FFFFFF;
  --ink: #000000;
  --press: #121613;
  --gray: #5D625E;
  --sage: #C8D2C8;
  --wine: #4A0F1C;
  --wine-shadow: rgba(74, 15, 28, 0.4);
  --muted: var(--gray);
  --serif: "Instrument Serif", "Times New Roman", Times, serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --section: clamp(96px, 13vw, 190px);
}
@media (min-width: 700px) { :root { --gutter: 40px; } }
@media (min-width: 1100px) { :root { --gutter: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.45 var(--sans); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.night :focus-visible, .foot :focus-visible, .band :focus-visible { outline-color: var(--paper); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }

.wrap { max-width: 1400px; margin: 0 auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; }
.full { grid-column: 1 / -1; }
.col-l { grid-column: 1 / -1; }
.col-r { grid-column: 1 / -1; max-width: 620px; }
@media (min-width: 900px) {
  .col-l { grid-column: 1 / 7; }
  .col-r { grid-column: 7 / -1; }
  .col-wide { grid-column: 1 / 12; }
}

/* ---------- micro-labels ---------- */
.label, .kicker, .nav a, .btn, .meta, .foot a, .foot p {
  font: 600 11px/1.1 var(--sans); text-transform: uppercase; letter-spacing: 0.02em;
}
.kicker { color: var(--gray); margin-bottom: 24px; }
.label {
  grid-column: 1 / -1; border-top: 1px solid currentColor; padding-top: 12px;
  margin-bottom: clamp(44px, 7vw, 104px); display: flex; gap: 12px;
}
.label .num { color: var(--wine); }
.night .label .num { color: var(--sage); }
.meta { color: var(--gray); }
.night .meta { color: var(--sage); }

/* ---------- masthead ---------- */
.mast .wrap {
  display: grid; align-items: center; grid-template-columns: 1fr auto;
  grid-template-areas: "mark cta" "nav nav"; row-gap: 18px; padding-block: 18px 16px;
}
.mark { grid-area: mark; text-decoration: none; font: 600 17px/1 var(--sans); letter-spacing: -0.02em; white-space: nowrap; }
.mark u { text-decoration: none; border-bottom: 2px solid var(--wine); padding-bottom: 3px; }
.mark .ops { font-weight: 400; }
.nav { grid-area: nav; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); padding-top: 14px; }
.nav ul { display: contents; }
.nav a { text-decoration: none; padding: 5px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--wine); }
.mast .btn { grid-area: cta; padding: 12px 14px; box-shadow: none; }
@media (max-width: 899px) { .mast .cta-d { display: none; } }
@media (max-width: 380px) { .mark .ops { display: none; } }
@media (min-width: 900px) {
  .mast .wrap { grid-template-columns: auto 1fr; grid-template-areas: "mark nav"; padding-block: 26px; }
  .mark { font-size: 19px; }
  .nav { border: 0; padding: 0; justify-content: flex-end; align-items: center; gap: 40px; }
  .nav ul { display: flex; align-items: center; gap: 40px; }
  .mast .btn { grid-area: auto; padding: 14px 20px; }
  .mast .cta-m { display: none; }
}

/* ---------- type ---------- */
.display, .headline, .headline-s { font-family: var(--serif); font-weight: 400; }
.display { font-size: clamp(52px, 9.6vw, 148px); line-height: 0.92; letter-spacing: -0.035em; }
.headline { font-size: clamp(64px, 14vw, 200px); line-height: 0.9; letter-spacing: -0.035em; }
.headline-s { font-size: clamp(44px, 7.6vw, 112px); line-height: 0.95; letter-spacing: -0.03em; }
h2 { font: 600 clamp(34px, 5.4vw, 80px)/1 var(--sans); letter-spacing: -0.04em; }
h3 { font: 600 clamp(22px, 2.2vw, 28px)/1.15 var(--sans); letter-spacing: -0.03em; }
em.x { font-style: italic; color: var(--wine); }
.night em.x { color: inherit; }
.lead { font-size: clamp(20px, 1.75vw, 24px); line-height: 1.3; letter-spacing: -0.02em; }
p + p { margin-top: 1.1em; }

/* inline photo tile in the home headline */
.tile {
  display: inline-block; width: 1.02em; height: 0.66em; margin: 0 0.06em; vertical-align: -0.02em;
  border: 1px solid var(--ink); overflow: hidden;
}
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 9%; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section.tight-top { padding-top: 0; }
.night { background: var(--press); color: var(--paper); }
.hero { padding-block: clamp(48px, 6vw, 96px) var(--section); }
.hero .lead { margin-top: clamp(40px, 5.5vw, 84px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 44px; }
.stack > * + * { margin-top: 24px; }
.mt-l { margin-top: clamp(48px, 6vw, 96px); }
@media (max-width: 899px) { .col-r { margin-top: 32px; } .hero .col-r { margin-top: 0; } }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border: 0;
  background: var(--wine); color: var(--paper); padding: 20px 30px; border-radius: 5px;
  box-shadow: var(--wine-shadow) 1px 8px 20px 0; transition: background-color 150ms, color 150ms;
}
.btn:hover { background: #360A14; }
.night .btn { background: transparent; color: var(--paper); border: 1px solid var(--paper); border-radius: 10px; box-shadow: none; padding: 22px 30px; }
.night .btn:hover { background: var(--paper); color: var(--press); }
.tlink { font: 400 16px/1.2 var(--sans); letter-spacing: -0.01em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tlink:hover { text-decoration-thickness: 2px; }
.mailbig {
  display: inline-block; font: italic 400 clamp(26px, 6vw, 96px)/1 var(--serif); letter-spacing: -0.025em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; overflow-wrap: anywhere;
}
.mailbig:hover { text-decoration-thickness: 2px; }

/* ---------- lists ---------- */
.plain li { border-top: 1px solid currentColor; padding: 16px 0 16px 30px; position: relative; }
.plain li:last-child { border-bottom: 1px solid currentColor; }
.plain li::before { content: "—"; position: absolute; left: 0; }
.night .plain li, .night .prog li, .night .stats li { border-color: rgba(255, 255, 255, 0.3); }

.prog li { border-top: 1px solid; padding: 28px 0 34px; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 10px; }
.prog li:last-child { border-bottom: 1px solid; }
.prog .num { font: 600 11px/1 var(--sans); letter-spacing: 0.02em; color: var(--wine); padding-top: 10px; }
.prog .t { font-size: clamp(24px, 2.7vw, 38px); line-height: 1.05; letter-spacing: -0.035em; }
.prog .meta { grid-column: 2; display: block; margin-top: 10px; }
.prog p { grid-column: 2; max-width: 620px; }
@media (min-width: 900px) {
  .prog li { grid-template-columns: 96px 5fr 6fr; column-gap: 20px; }
  .prog .head { grid-column: 2; }
  .prog p { grid-column: 3; grid-row: 1; padding-top: 4px; }
}

.stats li { border-top: 1px solid; padding: 18px 0 26px; display: grid; gap: 6px; align-items: end; }
.stats li:last-child { border-bottom: 1px solid; }
.stats .n { font: 400 clamp(64px, 13.5vw, 190px)/0.9 var(--serif); letter-spacing: -0.04em; white-space: nowrap; color: var(--gray); }
.night .stats .n { color: var(--sage); }
.stats .n .arr { font-size: 0.55em; vertical-align: 0.16em; padding: 0 0.1em; letter-spacing: 0; }
@media (min-width: 900px) { .stats li { grid-template-columns: 1fr auto; } .stats .meta { text-align: right; padding-bottom: 22px; } }

/* ---------- two panels ---------- */
.doors { display: grid; }
.door { padding: clamp(56px, 8vw, 120px) var(--gutter); display: flex; flex-direction: column; gap: 24px; }
.door .t { font: 400 clamp(40px, 5.4vw, 84px)/0.95 var(--serif); letter-spacing: -0.03em; }
.door .t em { display: block; font-style: italic; }
.door p { max-width: 520px; }
.door .tlink { margin-top: auto; padding-top: 16px; align-self: flex-start; }
.door.night { background: var(--press); color: var(--paper); }
.door.dayd { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
@media (min-width: 900px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .door { min-height: 600px; padding-inline: var(--gutter) clamp(40px, 6vw, 96px); }
  .door.night { padding-inline: clamp(40px, 6vw, 96px) var(--gutter); }
}

/* ---------- closing ---------- */
.closing { text-align: center; }
.closing h2 { font: 400 clamp(52px, 10vw, 150px)/0.92 var(--serif); letter-spacing: -0.035em; }
.closing p { max-width: 520px; margin: 32px auto 0; }
.closing .actions { justify-content: center; margin-top: 48px; }
.small { font-size: 14px; }
.night .small { color: var(--sage); }

/* ---------- portrait ---------- */
.portrait img { width: 100%; max-width: 440px; margin-inline: auto; }
.portrait figcaption { margin-top: 12px; border-top: 1px solid var(--ink); padding-top: 12px; }
@media (min-width: 900px) {
  .about-hero .col-l { grid-column: 1 / 8; align-self: end; padding-bottom: 24px; }
  .about-hero .portrait { grid-column: 9 / -1; }
}
@media (max-width: 899px) { .about-hero .portrait { grid-column: 1 / -1; margin-top: 48px; } }

/* ---------- footer + wine band ---------- */
.foot { background: var(--press); color: var(--paper); padding-block: clamp(56px, 7vw, 96px) 32px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.foot .line { font: 400 18px/1.4 var(--sans); letter-spacing: -0.01em; text-transform: none; max-width: 460px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 14px 36px; border-top: 1px solid rgba(255, 255, 255, 0.3); margin-top: clamp(48px, 6vw, 80px); padding-top: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot .mail { text-transform: none; font-weight: 500; font-size: 13px; }
@media (min-width: 900px) { .foot li.mail { margin-left: auto; } }
.foot .mark { display: inline-block; font-size: clamp(22px, 3vw, 40px); margin-bottom: 28px; }
.foot .mark u { border-bottom-color: var(--sage); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.foot .mark { text-transform: none; letter-spacing: -0.02em; font-weight: 600; line-height: 1; }
.foot .mark:hover { text-decoration: none; }
