@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/SourceSerif4Variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #1b1d1f;
  --panel: #232629;
  --line: #3a3f44;
  --line-strong: #565c62;
  --ink: #eceae4;
  --ink-muted: #b0b3b6;
  --hivis: #ffd21f;
  --hivis-press: #f0c200;
  --on-hivis: #17181a;
  --error: #ff9b8a;

  --bar-h: 2.5rem;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 88rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 1rem);
  scrollbar-color: var(--line-strong) var(--ground);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--bar-h);
  background: var(--ground);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection {
  background: var(--ink);
  color: var(--ground);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Demo banner */
.demo-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem var(--gutter);
  background: var(--ink);
  color: var(--ground);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.demo-bar a {
  flex-shrink: 0;
  font-weight: 600;
  text-decoration: underline;
}

.demo-bar a:focus-visible {
  outline-color: var(--ground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-main {
  background: var(--hivis);
  color: var(--on-hivis);
}

.btn-main:active {
  background: var(--hivis-press);
}

.btn-small {
  min-height: 2.75rem;
  padding: 0 1.1rem;
  font-size: 0.9375rem;
}

.link-quiet {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.brand-name {
  font-weight: 850;
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.nav a {
  text-decoration: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) clamp(3.5rem, 6vw, 5rem);
}

.hero-text {
  padding-bottom: 0.5rem;
}

.hero-title {
  font-weight: 900;
  font-size: clamp(2.6rem, 6.6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: balance;
  hyphens: manual;
}

.hero-lead {
  max-width: 34rem;
  margin-top: 1.75rem;
  color: var(--ink-muted);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 34rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.hero-facts dd {
  margin-top: 0.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--bar-h) - 8rem);
  min-height: 26rem;
  overflow: hidden;
  border-radius: 3px;
  background: var(--panel);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 45%;
  animation: hero-reveal 1100ms var(--ease-out) both;
}

@keyframes hero-reveal {
  from {
    clip-path: inset(0 0 14% 0);
    transform: scale(1.06);
    filter: brightness(0.7);
  }
  to {
    clip-path: inset(0);
    transform: scale(1);
    filter: brightness(1);
  }
}

/* Sections */
.services,
.visit,
.hours,
.booking {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
}

.services,
.visit,
.booking,
.site-footer {
  /* hairline inset to the content edge, not the full container */
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

h2 {
  font-weight: 850;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  font-weight: 750;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.note {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  max-width: 36rem;
}

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table thead th {
  padding: 0 0 0.75rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  border-bottom: 2px solid var(--ink);
}

.price-table thead th:last-child,
.price-table .price {
  text-align: right;
}

.price-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.price-table tbody th,
.price-table td {
  padding: 1.35rem 0;
  vertical-align: baseline;
}

.price-table tbody th {
  width: 30%;
  padding-right: 2rem;
  text-align: left;
  font-weight: 750;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.price-table td:not(.price) {
  color: var(--ink-muted);
  padding-right: 2rem;
  max-width: 38rem;
}

.price-table .price {
  white-space: nowrap;
  font-weight: 850;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
}

/* Visit steps */
.visit h2 {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 2px solid var(--line-strong);
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.steps p {
  margin-top: 0.6rem;
  color: var(--ink-muted);
  max-width: 30ch;
}

/* Photo band */
.band {
  position: relative;
  margin: 0;
  height: clamp(18rem, 52vw, 34rem);
  overflow: hidden;
  background: var(--panel);
}

.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.band figcaption {
  position: absolute;
  left: var(--gutter);
  bottom: 1.25rem;
  max-width: calc(100% - 2 * var(--gutter));
  padding: 0.55rem 0.85rem;
  background: var(--ground);
  color: var(--ink);
  font-size: 0.9375rem;
  border-radius: 2px;
}

/* Hours */
.hours-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  font-variant-numeric: tabular-nums;
}

.hours-list div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hours-list dt {
  color: var(--ink-muted);
}

.hours-list dd {
  margin-top: 0.35rem;
  font-weight: 850;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* Booking */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.booking-intro p:not(.note) {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  max-width: 30rem;
}

.booking-intro .note {
  margin-top: 1rem;
}

.form {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--panel);
  border-radius: 4px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-weight: 650;
  font-size: 0.9375rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--ground);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  caret-color: var(--ink);
  transition: border-color 160ms var(--ease-out);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23eceae4' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

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

.error {
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 600;
}

.error:empty {
  display: none;
}

.btn-submit {
  justify-self: start;
  min-width: 14rem;
}

.form-status:empty {
  display: none;
}

.form-status {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-weight: 650;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem 3rem;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--gutter) 3.5rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand strong {
  color: var(--ink);
  font-weight: 800;
  font-size: 1rem;
}

.footer-brand .brand-mark {
  color: var(--ink);
}

/* Hover, only for real pointers */
@media (hover: hover) and (pointer: fine) {
  .btn-main:hover {
    background: var(--hivis-press);
  }

  .nav a:hover,
  .link-quiet:hover {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: currentColor;
  }

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

  .price-table tbody tr {
    transition: background-color 160ms var(--ease-out);
  }

  .price-table tbody tr:hover {
    background: var(--panel);
  }

  .field input:hover,
  .field textarea:hover,
  .field select:hover {
    border-color: var(--ink-muted);
  }
}

/* Tablet and below */
@media (max-width: 64rem) {
  .nav {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.75rem;
  }
}

@media (max-width: 48rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 1rem;
  }

  .hero-photo {
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: none;
  }

  .hero-photo img {
    object-position: 40% 38%;
  }

  .section-head,
  .booking {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .price-table,
  .price-table tbody,
  .price-table tr {
    display: block;
  }

  .price-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
    align-items: baseline;
    padding: 1.1rem 0;
  }

  .price-table tbody th,
  .price-table td {
    padding: 0;
    width: auto;
  }

  .price-table td:not(.price) {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-right: 0;
    font-size: 0.9375rem;
  }

  .price-table .price {
    grid-column: 2;
    grid-row: 1;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .steps li {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    column-gap: 0.75rem;
  }

  .steps li::before {
    grid-row: span 2;
    margin: 0;
    font-size: 2.5rem;
  }

  .steps p {
    margin-top: 0.35rem;
  }

  .hours-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hours-list div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.9rem 0;
  }

  .hours-list dd {
    margin: 0;
    font-size: 1.5rem;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn-submit {
    justify-self: stretch;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 30rem) {
  :root {
    --bar-h: 3.25rem;
  }

  .demo-bar {
    font-size: 0.75rem;
  }

  .brand-name {
    font-size: 1.0625rem;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .btn:active {
    transform: none;
  }
}

/* Phones: the sample note scrolls away with the page instead of taking fixed space */
@media (max-width: 51.99rem) {
  :root { --bar-h: 0px; }
  .demo-bar { position: relative; z-index: 60; min-height: 0; height: auto; padding: 0.5rem 1rem; }
}

/* Display face: Barlow Condensed ExtraBold, like workshop signage */
@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
h1, h2, .hero-title, .brand-mark, .steps li::before, .footer-brand strong {
  font-family: "Barlow Condensed", "Inter", system-ui, sans-serif; font-weight: 800; letter-spacing: 0;
}
.hero-title { font-size: clamp(3.4rem, 1.6rem + 6vw, 7rem); line-height: 0.9; }
