@font-face {
  font-family: "Tanker";
  src: url("fonts/Tanker-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --g: #11302a;
  --g2: #183f36;
  --g3: #235444;
  --ink: #eaf2e3;
  --dim: #a9c2b2;
  --sheet: #e2ebd7;
  --sheet-ink: #12322c;
  --sheet-dim: #46665a;
  --stamp: #e26d4c;
  --stamp-deep: #b8421f;
  --pad: clamp(16px, 3.2vw, 48px);
  --notch: 11px;
  --display: "Tanker", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background-color: var(--g);
  /* grain lives on the substrate, under all content */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .92 0 0 0 0 .95 0 0 0 0 .89 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2 { margin: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: var(--pad); top: -60px; background: var(--ink); color: var(--g); padding: 10px 14px; z-index: 20; }
.skip:focus { top: 10px; }

.arrow { width: .62em; height: .62em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; transition: transform .28s cubic-bezier(.2, .7, .2, 1); }

/* nav */
.nav {
  position: sticky; top: 12px; z-index: 10;
  display: flex; align-items: center; gap: clamp(14px, 3vw, 40px);
  margin: 12px var(--pad) 0;
  padding: 10px 12px 10px 22px;
  background: var(--g2);
  /* one cut corner; content is padded well clear of it */
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  animation: nav-in .6s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes nav-in { from { transform: translateY(-18px); } }
.nav__mark { font-family: var(--display); font-size: 26px; letter-spacing: .03em; line-height: 1; text-transform: uppercase; text-decoration: none; margin-right: auto; padding-top: 3px; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav__links a { text-decoration: none; color: var(--dim); font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--display); font-size: 25px; letter-spacing: .035em; line-height: 1; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--g); background: var(--ink);
  padding: 15px 22px 12px; border-radius: 3px;
  transition: background-color .2s;
}
.btn:hover { background: #cfe0c6; }
.btn:hover .arrow, a:hover > .arrow, a:hover > span > .arrow { transform: translate(3px, -3px); }
.btn--small { font-size: 19px; padding: 11px 16px 8px; margin-right: 10px; }

/* hero */
.hero {
  min-height: calc(100svh - 70px);
  display: grid; grid-template-rows: auto auto 1fr; gap: clamp(18px, 3vh, 34px);
  padding: clamp(22px, 5vh, 56px) var(--pad) var(--pad);
}
.hero__title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 11.6vw, 232px); line-height: .88; letter-spacing: .012em;
  text-wrap: balance;
}
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: clamp(14px, 2.4vw, 32px); }
.hero__say { max-width: 52ch; color: var(--dim); font-size: clamp(16px, 1.25vw, 19px); }
.hero__say span { color: var(--ink); }

.start { position: relative; z-index: 5; display: grid; gap: 4px; font-size: 14px; color: var(--dim); }
.start__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font: 600 17px/1 var(--body); color: var(--ink); text-align: left;
  background: var(--g2); border: 0; border-radius: 3px; cursor: pointer;
  padding: 14px 14px; min-height: 52px; min-width: 190px;
  transition: background-color .2s;
}
.start__btn:hover, .start__btn[aria-expanded="true"] { background: var(--g3); }
.chev { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.start__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* the picker is a docket of days, cut like the stubs below it */
.cal {
  position: absolute; top: calc(100% + 8px); right: 0; width: 396px;
  background: var(--sheet); color: var(--sheet-ink);
  padding: 20px 20px 18px;
  -webkit-mask:
    radial-gradient(var(--notch) at 0 0, #0000 97%, #000) 0 0 / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 100% 0, #0000 97%, #000) 100% 0 / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 0 100%, #0000 97%, #000) 0 100% / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 100% 100%, #0000 97%, #000) 100% 100% / 51% 51% no-repeat;
          mask:
    radial-gradient(var(--notch) at 0 0, #0000 97%, #000) 0 0 / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 100% 0, #0000 97%, #000) 100% 0 / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 0 100%, #0000 97%, #000) 0 100% / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 100% 100%, #0000 97%, #000) 100% 100% / 51% 51% no-repeat;
}
.cal[hidden], .start[hidden] { display: none; }
.cal__head, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__head { color: var(--sheet-dim); font-size: 13px; text-align: center; padding-bottom: 10px; margin-bottom: 8px; background: radial-gradient(circle, var(--sheet-dim) 1.3px, #0000 1.8px) 0 100% / 11px 4px repeat-x; }
.cal__day {
  display: grid; justify-items: center; gap: 1px;
  font: 13px/1.1 var(--body); color: var(--sheet-dim);
  background: none; border: 0; border-radius: 3px; cursor: pointer;
  padding: 9px 0 7px;
  transition: background-color .15s, color .15s;
}
.cal__day b { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: .03em; color: var(--sheet-ink); transition: color .15s; }
.cal__day:hover:not(:disabled) { background: #cfdcc3; }
.cal__day:focus-visible { outline-color: var(--sheet-ink); }
.cal__day[aria-pressed="true"] { background: var(--sheet-ink); color: var(--dim); }
.cal__day[aria-pressed="true"] b { color: var(--ink); }
.cal__day:disabled { cursor: default; opacity: .32; }

.week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr); min-height: clamp(250px, 36vh, 400px); }
.day {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 26px 22px 24px;
  background: var(--g2);
  transition: background-color .5s;
  /* ticket stub: a punched notch at each corner */
  -webkit-mask:
    radial-gradient(var(--notch) at 0 0, #0000 97%, #000) 0 0 / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 100% 0, #0000 97%, #000) 100% 0 / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 0 100%, #0000 97%, #000) 0 100% / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 100% 100%, #0000 97%, #000) 100% 100% / 51% 51% no-repeat;
          mask:
    radial-gradient(var(--notch) at 0 0, #0000 97%, #000) 0 0 / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 100% 0, #0000 97%, #000) 100% 0 / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 0 100%, #0000 97%, #000) 0 100% / 51% 51% no-repeat,
    radial-gradient(var(--notch) at 100% 100%, #0000 97%, #000) 100% 100% / 51% 51% no-repeat;
}
/* perforation between stubs: round dots, kept clear of the notches */
.day + .day::before {
  content: ""; position: absolute; left: -2px; top: 20px; bottom: 20px; width: 4px;
  background: radial-gradient(circle, var(--g) 1.4px, #0000 1.9px) 50% 0 / 4px 11px repeat-y;
}
.day.is-on { background: var(--g3); }
.day__n { font-family: var(--display); font-size: clamp(64px, 12.2vw, 216px); line-height: .82; letter-spacing: .02em; color: var(--dim); transition: color .5s; margin-bottom: auto; }
.day.is-on .day__n { color: var(--ink); }
.day__date { font-weight: 600; font-variant-numeric: tabular-nums; }
/* two lines reserved, so every date sits on one line across the week */
.day__do { color: var(--dim); font-size: 15px; line-height: 1.35; min-height: 2.7em; }

.day--live { flex-direction: row; justify-content: flex-start; align-items: stretch; gap: 20px; padding-right: 0; padding-top: 0; padding-bottom: 0; }
.day__text { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 26px 0 24px; flex: 0 0 46%; }
.day__proof { position: relative; flex: 1; min-width: 0; margin: 22px 0 0; }
.day__proof img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.stamp {
  position: absolute; left: -18px; bottom: 30px;
  font-family: var(--display); font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: .08em; text-transform: uppercase;
  color: var(--stamp); background: var(--g);
  border: 3px solid var(--stamp); border-radius: 4px;
  padding: 9px 14px 4px 18px;
  transform: rotate(-7deg);
  animation: stamp 1.1s .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes stamp { from { transform: rotate(-16deg) scale(1.5); } }

/* section openers are sentences, not labels */
.say { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(29px, 4.6vw, 76px); line-height: .96; letter-spacing: .015em; max-width: 30ch; text-wrap: balance; }

/* work */
.work { padding: clamp(56px, 9vw, 130px) var(--pad) 0; }
.proofs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 34px); margin-top: clamp(28px, 4vw, 56px); }
.proof { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.proof--lead { grid-column: span 2; grid-row: span 2; }
.proof__sheet {
  --m: var(--dim);
  display: block; padding: 14px; flex: 1;
  /* crop marks at the four corners of the print */
  background:
    linear-gradient(var(--m), var(--m)) 0 14px / 9px 1px,
    linear-gradient(var(--m), var(--m)) 14px 0 / 1px 9px,
    linear-gradient(var(--m), var(--m)) 100% 14px / 9px 1px,
    linear-gradient(var(--m), var(--m)) calc(100% - 14px) 0 / 1px 9px,
    linear-gradient(var(--m), var(--m)) 0 calc(100% - 14px) / 9px 1px,
    linear-gradient(var(--m), var(--m)) 14px 100% / 1px 9px,
    linear-gradient(var(--m), var(--m)) 100% calc(100% - 14px) / 9px 1px,
    linear-gradient(var(--m), var(--m)) calc(100% - 14px) 100% / 1px 9px;
  background-repeat: no-repeat;
}
.proof__sheet img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: filter .3s; }
.proof:hover .proof__sheet img { filter: brightness(1.08) saturate(1.06); }
.proof__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 0 14px; }
.proof__cap b { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.proof__cap span { grid-column: 1; color: var(--dim); font-size: 15px; line-height: 1.35; }
.proof__cap .arrow { grid-column: 2; grid-row: 1; font-size: 24px; margin-top: 3px; }

.more { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; }
.more__lead { color: var(--dim); max-width: 40ch; margin-bottom: 14px; }
.more__list li { background: radial-gradient(circle, var(--g3) 1.4px, #0000 1.9px) 0 0 / 11px 4px repeat-x; }
.more__list a { display: grid; grid-template-columns: minmax(120px, .5fr) minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding: 16px 0 12px; text-decoration: none; }
.more__list b { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.more__list span { color: var(--dim); font-size: 15px; transition: color .2s; }
.more__list a:hover span { color: var(--ink); }
.more__list .arrow { font-size: 22px; align-self: center; }

/* rate card: a printed sheet, torn along a perforation */
.rates { padding: clamp(56px, 9vw, 130px) var(--pad) 0; }
.sheet {
  background: var(--sheet); color: var(--sheet-ink);
  padding: clamp(44px, 6vw, 84px) clamp(20px, 4.4vw, 68px) clamp(30px, 4.4vw, 60px);
  -webkit-mask: radial-gradient(8px at 50% 0, #0000 97%, #000) 50% 0 / 26px 100%;
          mask: radial-gradient(8px at 50% 0, #0000 97%, #000) 50% 0 / 26px 100%;
}
.card { width: 100%; border-collapse: collapse; margin-top: clamp(26px, 4vw, 52px); }
.card thead th { text-align: left; font-weight: 400; font-size: 14px; color: var(--sheet-dim); padding: 0 16px 10px 0; }
.card thead th:nth-child(n + 3), .card__days, .card__price { text-align: right; }
.card tbody tr { background: radial-gradient(circle, var(--sheet-dim) 1.3px, #0000 1.8px) 0 0 / 11px 4px repeat-x; }
/* every cell sits on the row's midline, so a two-line description never hangs below the name and price */
.card tbody th, .card tbody td { padding: 24px 16px 22px 0; vertical-align: middle; }
.card tbody th { text-align: left; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 56px); line-height: 1; letter-spacing: .03em; text-transform: uppercase; width: 22%; }
.card tbody td:nth-child(2) { max-width: 46ch; color: #24473d; }
@media (min-width: 901px) { .card tbody th, .card__days, .card__price { padding-top: 25px !important; padding-bottom: 21px !important; } }
.card__days { font-family: var(--display); font-size: clamp(28px, 2.6vw, 40px); letter-spacing: .03em; width: 10%; white-space: nowrap; }
.card__price { font-family: var(--display); font-size: clamp(38px, 4.6vw, 72px); line-height: 1; letter-spacing: .03em; width: 22%; white-space: nowrap; padding-right: 0 !important; }
.card thead th:last-child { padding-right: 0; }

.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; row-gap: 6px; column-gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(18px, 3vw, 36px); padding-top: clamp(24px, 3vw, 36px); background: radial-gradient(circle, var(--sheet-dim) 1.3px, #0000 1.8px) 0 0 / 11px 4px repeat-x; }
/* title and note share rows across all four, so a wrapped title never knocks a column out of step */
.terms li { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.terms b { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.02; letter-spacing: .03em; text-transform: uppercase; }
.terms em { font-style: normal; color: var(--stamp-deep); }
.terms span { color: #24473d; font-size: 15px; line-height: 1.4; }

.bigger { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: clamp(16px, 2.4vw, 36px); row-gap: 6px; margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(22px, 3vw, 32px); background: radial-gradient(circle, var(--sheet-dim) 1.3px, #0000 1.8px) 0 0 / 11px 4px repeat-x; }
.bigger b, .bigger a { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.02; letter-spacing: .03em; text-transform: uppercase; }
.bigger span { color: #24473d; grid-column: 1; }
.bigger a { grid-column: 2; grid-row: 1 / span 2; }
.bigger a { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; color: var(--sheet-dim); transition: color .2s; }
.bigger a:hover { color: var(--sheet-ink); }

/* who */
.who { display: grid; justify-items: start; gap: 22px; padding: clamp(56px, 9vw, 130px) var(--pad); }
.who__say { font-size: clamp(22px, 2.7vw, 40px); line-height: 1.22; max-width: 34ch; text-wrap: balance; }
.who__link { display: inline-flex; align-items: center; gap: .5em; font-family: var(--display); font-size: 25px; letter-spacing: .035em; text-transform: uppercase; text-decoration: none; color: var(--dim); transition: color .2s; }
.who__link:hover { color: var(--ink); }

/* footer: its own darker floor, wordmark set flush on the bottom edge */
.foot { background: #0b2420; padding: clamp(44px, 6vw, 84px) var(--pad) 0; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.foot__ask { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.3; max-width: 26ch; margin-bottom: 20px; }
.foot__list { display: grid; gap: 10px; }
.foot__list a { text-decoration: none; color: var(--dim); transition: color .2s; }
.foot__list a:hover { color: var(--ink); }
.foot__line { color: var(--dim); font-size: 14px; margin-top: clamp(30px, 5vw, 70px); }
.foot__mark {
  font-family: var(--display); text-transform: uppercase; text-align: center;
  font-size: 33vw; line-height: .72; letter-spacing: .06em; text-indent: .05em;
  color: #143a32; white-space: nowrap;
  margin: 14px calc(var(--pad) * -1) 0;
  padding-top: .09em;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* rises into its seat; the range ends once it has fully entered, which the page bottom always reaches */
    .foot__mark { animation: mark linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes mark { from { transform: translateY(.16em); } }
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  /* narrower stubs wrap to three lines; reserve them so the dates stay level */
  .day__do { min-height: 4.05em; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { min-height: 0; }
  .hero__title { font-size: 18.4vw; }
  .hero__row { grid-template-columns: 1fr 1fr; }
  .hero__say { grid-column: 1 / -1; }
  .start__btn { width: 100%; min-width: 0; }
  .cal { left: 0; right: auto; }
  .week { grid-template-columns: 1fr; min-height: 0; }
  .day { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 20px 22px; flex-wrap: wrap; }
  .day__n { margin: 0; font-size: 60px; flex: 0 0 76px; padding-top: 6px; }
  .day__date { flex: 1 1 auto; white-space: nowrap; }
  .day__do { flex: 1 1 100%; min-height: 0; }
  .day + .day::before { left: 20px; right: 20px; top: -2px; bottom: auto; width: auto; height: 4px; background: radial-gradient(circle, var(--g) 1.4px, #0000 1.9px) 0 50% / 11px 4px repeat-x; }
  .day--live { padding: 20px 22px 0; }
  .day__text { display: contents; }
  .day__proof { flex: 1 1 100%; margin: 4px 0 0 0; height: 250px; }
  .stamp { left: auto; right: 14px; bottom: 26px; }
  .proofs { grid-template-columns: 1fr 1fr; }
  .more { grid-column: 1 / -1; padding: 14px 14px 0; }
  .card thead { display: none; }
  .card tbody tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 22px 0 18px; }
  .card tbody th, .card tbody td { padding: 0; width: auto; }
  .card tbody td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; padding: 8px 0 10px; }
  .card__days { grid-column: 1; grid-row: 3; text-align: left; }
  .card__days::after { content: " days"; }
  .card__price { grid-column: 2; grid-row: 1; }
  .terms { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .bigger { grid-template-columns: 1fr; }
  .bigger a { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .terms li:nth-child(n + 3) b { padding-top: 18px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .btn { font-size: 21px; padding: 14px 16px 11px; }
  .btn--small { font-size: 17px; padding: 10px 12px 7px; margin-right: 8px; }
  .nav__mark { font-size: 22px; }
  .hero__row { grid-template-columns: 1fr; }
  .cal { width: 100%; }
  .proofs { grid-template-columns: 1fr; }
  .proof--lead { grid-column: auto; grid-row: auto; }
  .more__list a { grid-template-columns: minmax(0, 1fr) auto; }
  .more__list span { grid-column: 1; grid-row: 2; }
  .more__list .arrow { grid-column: 2; grid-row: 1; }
  .terms { grid-template-columns: 1fr; }
  .terms li:nth-child(n + 2) b { padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav, .stamp { animation: none; }
  .arrow, .chev, .day, .day__n { transition: none; }
}
