@font-face {
  font-family: "IBM Plex Sans Fallback";
  src: local("Arial");
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Barlow Semi Condensed Fallback";
  src: local("Arial Narrow"), local("Arial");
  size-adjust: 90%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/barlow-semi-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

:root {
  --paper: #e6eef1;
  --sheet: #ffffff;
  --ink: #1b2228;
  --muted: #5e6b75;
  --line: #5e6b75;
  --link: #1b2228;
  --focus: #1b2228;
  --danger: #9b1c1c;
  --stripe: #1b2228;
  --action-bg: #1b2228;
  --action-fg: #e6eef1;
  --action-bg-hover: #0f1418;
  --action-fg-hover: #e6eef1;
  --band: #1b2228;
  --band-ink: #e6eef1;
  --band-action-bg: #f5a300;
  --band-action-fg: #1b2228;
  --amber: #f5a300;
  --font: "IBM Plex Sans", "IBM Plex Sans Fallback", Arial, sans-serif;
  --display: "Barlow Semi Condensed", "Barlow Semi Condensed Fallback", "Arial Narrow", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 70rem;
  --measure: 40rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b2228;
    --sheet: #2a3238;
    --ink: #e6eef1;
    --muted: #a8b4bc;
    --line: #9aa6ae;
    --link: #f5a300;
    --focus: #f5a300;
    --danger: #ffb4ab;
    --stripe: #f5a300;
    --action-bg: #f5a300;
    --action-fg: #1b2228;
    --action-bg-hover: #e6eef1;
    --action-fg-hover: #1b2228;
    --band: #f5a300;
    --band-ink: #1b2228;
    --band-action-bg: #1b2228;
    --band-action-fg: #e6eef1;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 1.2rem + 3.6vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  min-height: 2.2em;
}

h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}

p,
ul,
ol,
dd {
  margin: 0 0 0.9rem;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link);
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--amber);
  color: #1b2228;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--sheet);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  z-index: 2;
}

.skip:focus {
  transform: none;
}

.stripe {
  height: 8px;
  background: linear-gradient(90deg, var(--stripe) 0 70%, var(--amber) 70% 100%);
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.measure {
  max-width: var(--measure);
}

.site-header {
  padding: 0.75rem 0 0.25rem;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  flex: none;
  color: #1b2228;
}

@media (prefers-color-scheme: dark) {
  .brand-mark {
    color: #e6eef1;
  }
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-name small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 500;
}

.nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.section {
  padding: 2.5rem 0;
}

.section-tight {
  padding: 1.75rem 0;
}

.hero {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-visual {
  position: relative;
  min-height: min(78vh, 44rem);
  display: grid;
  align-items: end;
  padding: 0;
  overflow: clip;
  background: #1b2228;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-drift 28s ease-in-out alternate infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Left-weighted: keep copy readable; let the right of the plant still show. */
  background:
    linear-gradient(90deg, rgba(15, 20, 24, 0.9) 0%, rgba(15, 20, 24, 0.62) 38%, rgba(15, 20, 24, 0.22) 72%, rgba(15, 20, 24, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 20, 24, 0.55) 0%, transparent 50%);
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3rem;
  color: #ffffff;
  max-width: 40rem;
  animation: hero-rise 0.7s ease-out both;
}

.hero-panel .actions .button,
.hero-panel .actions .button-quiet {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

/* Desktop light mode uses Graphite action buttons — invisible on the dark plant still. */
.hero-panel .button {
  background: #f5a300;
  color: #1b2228;
}

.hero-panel .button:hover {
  background: #ffffff;
  color: #1b2228;
}

.hero-panel .button-quiet {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(15, 20, 24, 0.35);
}

.hero-panel .button-quiet:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.6%, 0);
  }
}

@keyframes hero-rise {
  from {
    transform: translateY(0.75rem);
  }
  to {
    transform: translateY(0);
  }
}

.hero-panel .lede,
.hero-panel .hint,
.hero-panel a {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(15, 20, 24, 0.55);
}

.hero-panel .hint a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero-panel h1 {
  color: #ffffff;
  min-height: 0;
  text-shadow: 0 1px 3px rgba(15, 20, 24, 0.65);
}

.button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  background: transparent;
  color: #e6eef1;
  border: 1px solid #e6eef1;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.button-quiet:hover {
  background: rgba(230, 238, 241, 0.12);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.lede {
  font-size: 1.2rem;
  max-width: 36rem;
}

.hint {
  color: var(--muted);
  font-size: 0.98rem;
}

.follow {
  margin-top: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  background: var(--action-bg);
  color: var(--action-fg);
  text-decoration: none;
  font-weight: 500;
  /* Match .button-quiet 1px border so hero CTAs share one height. */
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.button:hover {
  background: var(--action-bg-hover);
  color: var(--action-fg-hover);
}

.button-on-band {
  background: var(--band-action-bg);
  color: var(--band-action-fg);
}

.button-on-band:hover {
  filter: brightness(1.05);
}

.plan {
  margin: 0;
  padding: 1.25rem;
  background: var(--sheet);
  border: 1px solid var(--line);
}

.plan figcaption {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.plan-edge,
.plan-room {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
}

.plan-name {
  font-weight: 500;
  margin: 0 0 0.25rem;
}

.plan-stem {
  width: 2px;
  height: 1.25rem;
  margin: 0.25rem auto;
  background: var(--amber);
}

.plan-ot {
  border-color: var(--amber);
  border-width: 2px;
}

.weeks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .weeks {
    grid-template-columns: 1fr 1fr;
  }
}

.weeks > li {
  padding: 1rem 0 0;
  border-top: 3px solid var(--amber);
}

.weeks.compact > li {
  padding-top: 0.85rem;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.plain-list {
  padding-left: 1.15rem;
}

.plain-list li {
  margin-bottom: 0.45rem;
}

.spec {
  margin: 0;
}

.spec dt {
  font-weight: 500;
  margin-top: 0.85rem;
}

.spec dt:first-child {
  margin-top: 0;
}

.spec dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.caption,
.price-note,
.form-note,
.fine {
  color: var(--muted);
  font-size: 0.98rem;
}

.band {
  background: var(--band);
  color: var(--band-ink);
  padding: 2.5rem 0;
  margin-top: 1rem;
}

.band a:not(.button) {
  color: inherit;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.form {
  display: grid;
  gap: 0.85rem;
  max-width: 32rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--sheet);
  border: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  min-height: 44px;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-status {
  min-height: 1.4em;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
