/*
 * Style, Direction B. Morning and evening light: limewash plaster by day,
 * indigo by lamp light, set in Fraunces, a face that can change its own
 * character. The verb tries on three styles of itself before it settles.
 * Motion is slow and soft, like paint drying: fades and gentle settles.
 */
@font-face {
  font-family: "Fraunces";
  src: url(/_assets/previews/b/style/fonts/fraunces-var.7e74484902.woff2) format("woff2");
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url(/_assets/previews/b/style/fonts/fraunces-italic-var.04a14ea380.woff2) format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url(/_assets/previews/b/style/fonts/instrument-sans-var.8b74e9bc6e.woff2) format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
}

:root {
  --ground: light-dark(#EBD9D3, #171A2A);
  --raise: light-dark(#F5EAE6, #212538);
  --ink: light-dark(#1E2340, #F3E7E2);
  --muted: light-dark(#574B52, #C2B4B4);
  --accent: light-dark(#2C3F98, #A9B8FF);
  --oak: light-dark(#7A4E22, #D9A86C);
  --line: light-dark(#CDB3AB, #39405C);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --paint: cubic-bezier(.3, .7, .1, 1);
}

/* ---------- Seal ---------- */
.seal { color: var(--ink); }
.seal .lattice { stroke: var(--accent); stroke-width: 1.3; stroke-linejoin: round; }
.seal .hair { stroke: currentColor; stroke-width: 1.2; }
.seal .mono path { fill: currentColor; }
.seal .ring-text { font: 600 10.5px/1 var(--body); letter-spacing: .3em; fill: currentColor; }
.seal .ring-long { font-size: 9.6px; letter-spacing: .14em; }
.seal-mini .lattice { stroke-width: 2.4; }

.h2 {
  font-family: var(--display); font-weight: 420; letter-spacing: -.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(2.1rem, 1.3rem + 2.8vw, 4rem); line-height: 1.02;
}
.h3 { font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; font-variation-settings: "opsz" 36, "SOFT" 100; }
.lede { margin-top: var(--s4); color: var(--muted); font-size: 1.125rem; max-width: 52ch; }

/* ---------- Hero ---------- */
.hero { display: grid; }
.hero-text { padding: clamp(1.5rem, 5vh, 4rem) var(--gutter) var(--s7); display: grid; align-content: center; justify-items: start; }
.hero-title { font-family: var(--display); line-height: .95; color: var(--ink); }
.hero-title .lead { display: block; font: 600 clamp(1.1rem, .9rem + .8vw, 1.5rem)/1.2 var(--body); color: var(--muted); margin-bottom: var(--s3); }
.big-verb {
  display: inline-block; color: var(--accent);
  font-size: clamp(5.5rem, 2rem + 9vw, 10rem);
  letter-spacing: -.03em;
}
.big-verb .vw { position: relative; display: inline-block; }
.big-verb .main { display: inline-block; font-style: italic; font-weight: 560; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.big-verb .try { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; }
.big-verb .t1 { font-weight: 140; font-variation-settings: "opsz" 144, "SOFT" 0; }
.big-verb .t2 { font-weight: 900; font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; }
.big-verb .t3 { font-style: italic; font-weight: 300; font-variation-settings: "opsz" 9, "SOFT" 0; }
.hero-title .tail { display: block; margin-top: var(--s2); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.25rem); font-weight: 340; font-variation-settings: "opsz" 72, "SOFT" 100; letter-spacing: -.015em; }
.swatch { display: flex; gap: 6px; margin-top: var(--s5); }
.swatch i { display: block; width: 3rem; height: 1.1rem; border-radius: 2px; transform-origin: bottom; }
.swatch i:nth-child(1) { background: light-dark(#D7B8AE, #4B3A44); }
.swatch i:nth-child(2) { background: var(--accent); }
.swatch i:nth-child(3) { background: var(--oak); }
.swatch i:nth-child(4) { background: light-dark(#7E8C73, #8FA083); }
.hero-line { margin-top: var(--s5); font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); max-width: 36ch; }
.hero-actions { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; }
.hero-text .note { margin-top: var(--s6); }
.hero-room { position: relative; margin: 0; }
.hero-room picture, .hero-room img { width: 100%; }
.hero-room img { aspect-ratio: 3 / 2; object-fit: cover; }
.hero-room figcaption {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; justify-content: space-between;
  padding: var(--s3) var(--gutter); font-size: .875rem; color: var(--muted);
}
.lamp {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  padding: .45rem .9rem; border-radius: 999px; cursor: pointer;
  background: var(--raise); color: var(--ink); border: 1.5px solid color-mix(in srgb, var(--ink) 50%, transparent);
  font: 600 .9375rem/1 var(--body);
  transition: background-color .3s var(--paint);
}
.lamp:hover { background: color-mix(in srgb, var(--raise) 80%, var(--accent) 20%); }
.lamp-dot { width: .8rem; height: .8rem; border-radius: 50%; background: #F2B45A; box-shadow: 0 0 0 3px color-mix(in srgb, #F2B45A 30%, transparent); }
.lamp-off, .lamp[aria-pressed="true"] .lamp-on { display: none; }
.lamp[aria-pressed="true"] .lamp-off { display: inline; }
@media (min-width: 64rem) {
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: calc(100svh - 4.25rem); }
  .hero-text { padding-left: max(var(--gutter), calc((100vw - 88rem) / 2 + var(--gutter))); }
  .hero-room { display: grid; grid-template-rows: 1fr auto; }
  .hero-room picture { height: 100%; }
  .hero-room img { height: 100%; aspect-ratio: auto; min-height: 30rem; border-bottom-left-radius: 4px; }
  .hero-room figcaption { padding-inline: var(--s5) var(--gutter); }
}

/* The verb tries on three styles and settles into its own. */
@media (prefers-reduced-motion: no-preference) {
  .lt-ready .big-verb .t1 { animation: try1 1.7s linear .25s both; }
  .lt-ready .big-verb .t2 { animation: try2 1.7s linear .25s both; }
  .lt-ready .big-verb .t3 { animation: try3 1.7s linear .25s both; }
  .lt-ready .big-verb .main { animation: settle-in 1.7s linear .25s both; }
  .lt-ready .swatch i { animation: chip .7s var(--paint) both; }
  .lt-ready .swatch i:nth-child(1) { animation-delay: 1.5s; }
  .lt-ready .swatch i:nth-child(2) { animation-delay: 1.6s; }
  .lt-ready .swatch i:nth-child(3) { animation-delay: 1.7s; }
  .lt-ready .swatch i:nth-child(4) { animation-delay: 1.8s; }
  .lt-ready .hero-title .lead, .lt-ready .hero-title .tail, .lt-ready .hero-line, .lt-ready .hero-actions, .lt-ready .hero-text .note {
    animation: soft-up .9s var(--paint) both;
  }
  .lt-ready .hero-title .tail { animation-delay: 1.4s; }
  .lt-ready .hero-line { animation-delay: 1.6s; }
  .lt-ready .hero-actions { animation-delay: 1.7s; }
  .lt-ready .hero-text .note { animation-delay: 1.8s; }
  .lt-ready .hero-room picture { animation: wash 1.4s var(--paint) .1s both; }
}
@media (prefers-reduced-motion: reduce) {
  .lt-ready .hero { animation: fade .3s ease-out both; }
}
@keyframes try1 { 0% { opacity: 1; } 22% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes try2 { 0%, 24% { opacity: 0; } 32%, 46% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes try3 { 0%, 48% { opacity: 0; } 56%, 68% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes settle-in { 0%, 70% { opacity: 0; } 82%, 100% { opacity: 1; } }
@keyframes chip { from { transform: scaleY(0); } }
@keyframes soft-up { from { opacity: 0; transform: translateY(.75rem); } }
@keyframes wash { from { opacity: 0; transform: scale(1.03); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- What I do ---------- */
.rooms { padding-block: var(--s9); }
.rooms-grid { display: grid; gap: var(--s7); }
.crafts { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.crafts p { margin-top: var(--s2); color: var(--muted); max-width: 36ch; }
.crafts em { font-family: var(--display); font-style: italic; color: var(--ink); }
.board img { width: 100%; border-radius: 4px; }
.board figcaption { margin-top: var(--s2); font-size: .875rem; color: var(--muted); }
@media (min-width: 64rem) {
  .rooms-grid { grid-template-columns: 1fr 1fr; column-gap: var(--s9); align-items: start; }
  .rooms-head { grid-column: 1 / -1; }
  .board { grid-column: 2; grid-row: 2; }
}

/* ---------- Prices: a fan deck from pale to deep ---------- */
.prices { padding-block: var(--s9); background: var(--raise); }
.prices-head { margin-bottom: var(--s7); }
.ladder { display: grid; gap: var(--s6) var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.rung { display: flex; flex-direction: column; gap: var(--s3); padding-top: var(--s5); position: relative; }
.rung::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .5rem; border-radius: 2px; background: var(--chip); }
.rung:nth-child(1) { --chip: light-dark(#E3C7BE, #4B3A44); }
.rung:nth-child(2) { --chip: light-dark(#C9A196, #5A4B6A); }
.rung:nth-child(3) { --chip: light-dark(#8E9BCB, #6C7CC0); }
.rung:nth-child(4) { --chip: light-dark(#4D5FAE, #8D9EEA); }
.rung:nth-child(5) { --chip: light-dark(#1E2340, #C8D1FF); }
.rung-name { font-family: var(--display); font-weight: 600; font-size: 1.375rem; font-variation-settings: "opsz" 36, "SOFT" 100; }
.rung-price { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 2rem + 1.6vw, 3.5rem); line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 50; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.rung-price span { font-size: 1.125rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; color: var(--muted); }
.rung-what { font-weight: 550; }
.incl { display: grid; gap: var(--s2); font-size: .9688rem; color: var(--muted); }
.incl li { padding-left: 1.1rem; position: relative; }
.incl li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 1px; background: var(--chip); }
.turn { margin-top: auto; padding-top: var(--s3); font-size: .875rem; font-weight: 600; color: var(--oak); border-top: 1px solid var(--line); }
.excl { margin-top: var(--s7); max-width: 60rem; font-size: 1rem; color: var(--muted); }
.excl b { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .rung.lt-arrived::before { animation: chip-wide .9s var(--paint) both; transform-origin: left; }
}
@keyframes chip-wide { from { transform: scaleX(.15); } }

/* ---------- Booking ---------- */
.booking { padding-block: var(--s9) var(--s7); }
.booking-grid { display: grid; gap: var(--s6); }
.steps { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.steps li { display: flex; gap: var(--s4); align-items: flex-start; }
.step-n {
  flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: 1.5rem; font-weight: 500;
  color: var(--accent); border: 1.5px solid currentColor; border-radius: 50%;
}
.steps p { margin-top: var(--s1); color: var(--muted); max-width: 32ch; }

.family-sentence { font-weight: 380; font-variation-settings: "opsz" 144, "SOFT" 100; }
.foot .seal-mini { width: 3.25rem; height: 3.25rem; }
