/* Élan Atelier — clean production stylesheet */
:root {
  --ink: #211e1c;
  --muted: #706861;
  --paper: #f4f0ea;
  --white: #fffdf9;
  --line: #d8d0c7;
  --clay: #a85f46;
  --clay-dark: #8f4d38;
  --lilac: #ded3db;
  --sage: #dbe1d6;
  --sand: #e6d8cc;
  --acid: #d4dc72;
  --container: 1180px;
  --header-height: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: calc(100svh - var(--header-height));
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid #397bc2;
  outline-offset: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgb(244 240 234 / 94%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

.site-nav a,
.header-cta {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after,
.header-cta::after {
  position: absolute;
  right: 100%;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: right 220ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after,
.header-cta:hover::after {
  right: 0;
}

.nav-cabinet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-cabinet::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
}

.header-cta {
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 260ms var(--ease),
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Shared typography and controls */
.eyebrow {
  margin: 0 0 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--ink);
}

em {
  font-family: Georgia, serif;
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 200ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: var(--clay-dark);
}

.button-light {
  background: white;
  color: var(--ink);
}

.button-light:hover {
  background: var(--acid);
}

.text-link,
.back-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid #a89f97;
  font-size: 12px;
  text-decoration: none;
}

.text-link:hover,
.back-link:hover {
  border-color: var(--ink);
}

.section {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  padding-block: 72px;
}

.large-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

/* Home */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 45% 55%;
  width: min(1280px, 100%);
  height: min(720px, calc(100svh - var(--header-height) - 38px));
  min-height: 590px;
  margin-inline: auto;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 48px clamp(34px, 4vw, 52px) 46px;
}

.hero h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.hero-lead {
  max-width: 410px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--sand);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 14px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: white;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-stamp {
  position: absolute;
  right: calc(55% - 50px);
  bottom: 24px;
  display: grid;
  place-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--acid);
  text-align: center;
  transform: rotate(-7deg);
}

.hero-stamp b {
  font-family: Georgia, serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.hero-stamp span {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 24px;
  background: var(--ink);
  color: white;
}

.ticker-static {
  width: min(var(--container), 100%);
  margin-inline: auto;
  text-align: center;
}

.ticker-static span {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 48px;
}

.intro-grid h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 5.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.index-mark {
  display: block;
  margin-top: 28px;
  color: #8a8179;
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto 72px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 330px;
  padding: 28px 24px 25px;
  border-right: 1px solid rgb(33 30 28 / 12%);
  background: var(--white);
  text-decoration: none;
  transition:
    transform 260ms var(--ease),
    filter 200ms ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:nth-child(2) {
  background: var(--lilac);
}

.service-card:nth-child(3) {
  background: var(--sage);
}

.service-card:nth-child(4) {
  background: var(--sand);
}

.service-card:hover {
  z-index: 1;
  filter: brightness(0.98);
  transform: translateY(-5px);
}

.service-index {
  color: #71675f;
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.service-card .icon {
  width: 20px;
  height: 20px;
  margin: 16px 0 30px;
  object-fit: contain;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.service-card b {
  margin-top: auto;
  padding-top: 26px;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.manifesto {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  margin-bottom: 72px;
  padding: 54px;
  background: #d8cec2;
}

.manifesto-image {
  height: 520px;
  overflow: hidden;
}

.manifesto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-copy h2 {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.manifesto-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin: 30px 0;
  color: #5f5750;
  font-size: 17px;
}

.manifesto-copy dl {
  display: flex;
  gap: 48px;
  margin: 32px 0;
}

.manifesto-copy dl div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.manifesto-copy dt {
  font-family: Georgia, serif;
  font-size: 38px;
}

.manifesto-copy dd {
  max-width: 120px;
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-team {
  padding-top: 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.mini-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-team article {
  min-width: 0;
}

.mini-team img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
}

.mini-team h3 {
  margin: 14px 0 3px;
  font-size: 19px;
  font-weight: 600;
}

.mini-team p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.booking-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 240px;
  padding: 48px max(24px, calc((100vw - var(--container)) / 2));
  background: var(--clay);
  color: white;
}

.booking-banner h2 {
  margin: 0;
  color: white;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.booking-banner .eyebrow {
  color: white;
}

/* Shared page heroes */
.page-hero,
.page-title {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.page-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  min-height: 500px;
  padding: 56px 0;
}

.page-hero h1,
.page-title h1 {
  margin: 0;
  font-size: clamp(62px, 7.5vw, 104px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.page-hero > div:first-child > p:last-child,
.page-intro,
.page-title > div + p {
  max-width: 460px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.shape-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 390px;
  overflow: hidden;
  background: #d9d2cb;
}

.shape-stage > img {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
}

.shape {
  position: absolute;
  border-radius: 50%;
}

.shape-a {
  top: -70px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: var(--clay);
}

.shape-b {
  right: -100px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 42% 58% 55% 45%;
  background: var(--lilac);
}

.page-title {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 72px;
  align-items: end;
  min-height: 360px;
  padding: 64px 0 58px;
}

.page-title > div + p,
.page-title > div + span {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
}

.journal-title {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--container)) / 2));
  background: var(--lilac);
}

/* Services */
.service-detail-list {
  padding-top: 12px;
  padding-bottom: 36px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 0;
  padding: 50px 0;
  border-top: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail h2 {
  margin: 8px 0 0;
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.service-detail > div:last-child > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.service-detail dl {
  display: flex;
  gap: 52px;
  margin: 28px 0;
}

.service-detail dt {
  color: #847b73;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-detail dd {
  margin: 5px 0 0;
  font-size: 16px;
}

.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  column-gap: 80px;
  align-items: start;
  padding-top: 0;
  padding-bottom: 72px;
}

.faq-heading {
  grid-column: 1;
}

.faq-heading h2 {
  margin: -4px 0 0;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.faq-list {
  grid-column: 2;
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 62px;
  gap: 20px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  transition: transform 280ms ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease;
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  max-width: 620px;
  margin: 0;
  padding: 0 40px 20px 0;
  color: var(--muted);
}

/* About */
.editorial-hero figure {
  position: relative;
  height: 440px;
  margin: 0;
  overflow: hidden;
}

.editorial-hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-hero figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 12px;
  background: var(--acid);
  font-size: 10px;
}

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.editorial h2 {
  margin: 0;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.editorial > div:last-child {
  padding-top: 42px;
}

.editorial > div:last-child > p:last-child {
  color: var(--muted);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 64px max(24px, calc((100vw - var(--container)) / 2));
  background: #d9cfc2;
}

.values article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgb(33 30 28 / 16%);
}

.values b {
  font-family: Georgia, serif;
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
}

.values h3 {
  margin: 50px 0 10px;
  font-size: 23px;
  font-weight: 500;
}

.values p {
  max-width: 280px;
  margin: 0;
  color: #5f5750;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 24px;
  padding-top: 20px;
}

.team-grid article {
  min-width: 0;
}

.portrait-frame {
  position: relative;
  height: 500px;
  margin-bottom: 22px;
  overflow: hidden;
  background: var(--sand);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 11px;
  background: var(--acid);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-grid h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.team-grid article > p:not(.eyebrow) {
  max-width: 460px;
  color: var(--muted);
}

/* Journal */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 24px;
  align-items: start;
  padding-top: 56px;
}

.article-grid article {
  min-width: 0;
}

.article-grid article > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}

.article-grid article > div {
  padding-top: 20px;
}

.article-grid .featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.article-grid .featured > img {
  aspect-ratio: 16 / 10;
}

.article-grid h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.article-grid article:not(.featured) h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.article-grid article p:not(.eyebrow) {
  color: var(--muted);
}

.article-page,
.legal-page {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
  padding: 72px 0 90px;
}

.article-page h1,
.legal-page h1 {
  margin: 20px 0;
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.article-lead {
  color: var(--muted);
  font-size: 21px;
}

.article-page > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 40px 0;
  object-fit: cover;
}

.article-body p,
.legal-page > p {
  font-size: 17px;
  line-height: 1.75;
}

.article-page aside {
  margin: 36px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--clay);
  background: var(--sand);
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
}

.legal-page h2 {
  margin: 42px 0 10px;
  font-size: 30px;
}

/* Contacts */
.contact-hero {
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 500px;
}

.map-abstract {
  position: relative;
  display: grid;
  place-content: center;
  height: 390px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      32deg,
      transparent 0 68px,
      rgb(33 30 28 / 8%) 69px 71px
    ),
    repeating-linear-gradient(
      112deg,
      transparent 0 98px,
      rgb(33 30 28 / 7%) 99px 101px
    ),
    #cad2c5;
}

.map-abstract span {
  display: grid;
  place-content: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--clay);
  color: white;
  font-family: Georgia, serif;
  font-size: 38px;
  font-style: italic;
}

.map-abstract b {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 9px 12px;
  background: var(--white);
  font-size: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 78px;
}

.contact-grid article {
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-grid article:nth-child(2) {
  background: var(--sage);
}

.contact-grid article:nth-child(3) {
  background: var(--lilac);
}

.contact-grid h2 {
  margin: 56px 0 14px;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.contact-grid p:not(.eyebrow),
.contact-grid a {
  color: var(--muted);
}

/* Booking */
.booking-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(var(--container), calc(100% - 48px));
  min-height: 660px;
  margin: 52px auto 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.booking-intro {
  padding: 56px clamp(38px, 5vw, 64px);
  background: linear-gradient(145deg, #d9cfc2, #cbbdc7);
}

.booking-intro h1 {
  margin: 0;
  font-size: clamp(52px, 5.7vw, 78px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.booking-intro > p:not(.eyebrow) {
  max-width: 440px;
  margin: 30px 0 0;
}

.booking-intro ul {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.booking-intro li {
  margin: 12px 0;
}

.booking-intro li::before {
  margin-right: 10px;
  content: "↳";
}

.booking-form {
  display: grid;
  align-content: center;
  gap: 18px;
  width: 100%;
  padding: 46px clamp(36px, 4.5vw, 62px);
}

.booking-form label:not(.consent) {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #cbbfb5;
  border-radius: 7px;
  outline: 0;
  background: white;
  color: var(--ink);
  font-size: 15px;
  text-transform: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.booking-form select {
  padding-right: 42px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-repeat: no-repeat;
  background-size:
    5px 5px,
    5px 5px;
}

.booking-form textarea {
  min-height: 104px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgb(168 95 70 / 14%);
}

.booking-form .consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 12px;
}

.booking-form .consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--clay);
}

.booking-form .consent .field-error {
  grid-column: 2;
}

.field-error {
  display: block;
  color: #a03932;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.invalid input,
.invalid select,
.invalid textarea {
  border-color: #a03932;
  background: #fff9f7;
}

.form-server-error {
  padding: 12px;
  border: 1px solid #dbaaa4;
  background: #fff1ef;
  color: #8e302a;
}

.form-note {
  margin: -4px 0 0;
  color: #857b73;
  font-size: 10px;
  text-align: center;
}

/* Cabinet */
.cabinet-page {
  width: min(var(--container), calc(100% - 48px));
  min-height: 620px;
  margin-inline: auto;
  padding: 64px 0 88px;
}

.cabinet-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.cabinet-heading h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.cabinet-heading > p {
  max-width: 440px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
}

.booking-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.booking-status-card {
  min-height: 230px;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--white);
}

.booking-status-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5803b;
}

.booking-status-card[data-status="confirmed"] .status-dot,
.booking-status-card[data-status="done"] .status-dot {
  background: #46a171;
}

.booking-status-card[data-status="cancelled"] .status-dot {
  background: #e56458;
}

.booking-status-card h2 {
  margin: 34px 0;
  font-size: 25px;
  font-weight: 500;
}

.booking-status-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}

.booking-status-card dt {
  color: #847b73;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-status-card dd {
  margin: 4px 0 0;
}

.cabinet-empty {
  display: grid;
  place-content: center;
  min-height: 300px;
  margin-top: 30px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.cabinet-empty h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 500;
}

.cabinet-empty .button {
  margin: 18px auto 0;
}

.cabinet-empty small {
  display: block;
  max-width: 500px;
  margin-top: 16px;
  color: var(--muted);
}

/* 404 */
.not-found {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: min(var(--container), calc(100% - 48px));
  min-height: calc(100svh - var(--header-height));
  margin-inline: auto;
  padding: 60px 0;
}

.not-found h1 {
  margin: 0 0 24px;
  font-size: clamp(56px, 7vw, 94px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.error-art {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: clamp(110px, 15vw, 210px);
  font-style: italic;
}

.error-art i {
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 0.35em;
  font-style: normal;
}

/* Messages */
.messages {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 120;
}

.message {
  margin: 0;
  padding: 13px 17px;
  background: var(--ink);
  color: white;
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
}

/* Footer */
footer {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 42px;
  padding: 46px max(24px, calc((100vw - var(--container)) / 2)) 22px;
  background: var(--ink);
  color: white;
}

.footer-brand .brand-mark {
  margin-bottom: 18px;
}

.footer-brand h2 {
  margin: 0;
  color: white;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}

.footer-brand p {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 48%);
  font-size: 12px;
}

.footer-label {
  margin: 3px 0 16px;
  color: rgb(255 255 255 / 42%);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 7px 0;
  color: rgb(255 255 255 / 75%);
  font-size: 12px;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: rgb(255 255 255 / 42%);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom a {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 28px;
    padding: 24px max(24px, calc((100vw - var(--container)) / 2));
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 220ms ease,
      transform 260ms var(--ease),
      visibility 220ms;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .hero {
    grid-template-columns: 46% 54%;
  }

  .hero-stamp {
    right: calc(54% - 46px);
    width: 86px;
    height: 86px;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(33 30 28 / 12%);
  }

  .page-hero,
  .page-title,
  .contact-hero {
    grid-template-columns: 1fr 1fr;
  }

  .booking-page {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* Mobile */
@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    height: var(--header-height);
    padding-inline: 20px;
  }

  .brand {
    font-size: 11px;
  }

  .site-nav {
    top: var(--header-height);
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .section {
    width: min(100% - 40px, var(--container));
    padding-block: 54px;
  }

  .hero {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .hero-copy {
    min-height: calc(82svh - var(--header-height));
    padding: 58px 24px 48px;
  }

  .hero h1 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-visual {
    height: 65svh;
  }

  .hero-stamp {
    right: 20px;
    bottom: calc(65svh - 42px);
  }

  .ticker {
    min-height: 36px;
    padding-inline: 20px;
  }

  .ticker-static span {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .intro-grid,
  .manifesto,
  .editorial,
  .page-hero,
  .page-title,
  .service-detail,
  .faq,
  .article-grid .featured,
  .contact-hero,
  .booking-page,
  .cabinet-heading,
  .not-found {
    grid-template-columns: 1fr;
  }

  .editorial > div:last-child {
    padding-top: 0;
  }

  .intro-grid {
    gap: 28px;
    padding-bottom: 40px;
  }

  .intro-grid h2 {
    font-size: 46px;
  }

  .service-cards {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    margin-bottom: 54px;
  }

  .service-card {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid rgb(33 30 28 / 12%);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .manifesto {
    gap: 34px;
    margin-bottom: 54px;
    padding: 28px;
  }

  .manifesto-image {
    height: 430px;
  }

  .manifesto-copy h2,
  .section-heading h2 {
    font-size: 46px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-team,
  .team-grid,
  .article-grid,
  .contact-grid,
  .booking-list,
  .values {
    grid-template-columns: 1fr;
  }

  .mini-team img,
  .portrait-frame {
    height: 430px;
    aspect-ratio: auto;
  }

  .booking-banner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 44px 20px;
  }

  .page-hero,
  .page-title {
    width: calc(100% - 40px);
    min-height: 0;
    gap: 34px;
    padding: 54px 0;
  }

  .page-hero h1,
  .page-title h1 {
    font-size: 58px;
  }

  .shape-stage,
  .map-abstract,
  .editorial-hero figure {
    height: 340px;
  }

  .journal-title {
    width: 100%;
    padding-inline: 20px;
  }

  .service-detail {
    gap: 24px;
    padding: 40px 0;
  }

  .service-detail h2 {
    font-size: 43px;
  }

  .faq {
    gap: 28px;
  }

  .faq-heading,
  .faq-list {
    grid-column: 1;
  }

  .faq-heading h2 {
    font-size: 46px;
  }

  .faq-question {
    min-height: 58px;
    font-size: 16px;
  }

  .values {
    padding: 46px 20px;
  }

  .values article {
    min-height: 220px;
  }

  .article-grid {
    gap: 42px;
  }

  .article-grid .featured {
    gap: 20px;
  }

  .article-page,
  .legal-page {
    width: calc(100% - 40px);
    padding-block: 54px 70px;
  }

  .contact-grid {
    gap: 12px;
    padding-top: 8px;
  }

  .contact-grid article {
    min-height: 250px;
  }

  .booking-page {
    width: calc(100% - 40px);
    min-height: 0;
    margin: 28px auto 54px;
  }

  .booking-intro,
  .booking-form {
    padding: 42px 24px;
  }

  .booking-intro h1 {
    font-size: 54px;
  }

  .cabinet-page {
    width: calc(100% - 40px);
    padding: 52px 0 70px;
  }

  .cabinet-heading {
    gap: 22px;
  }

  .not-found {
    width: calc(100% - 40px);
    min-height: 0;
    padding: 60px 0;
  }

  .error-art {
    order: -1;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px 20px;
  }

  .footer-bottom {
    grid-column: 1;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Booking system */
.booking-wizard,
.success-page,
.auth-page,
.booking-detail {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 90px;
}
.booking-wizard > header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 38px;
}
.booking-wizard > header h1 {
  font-size: clamp(52px, 6vw, 86px);
  margin: 0;
  line-height: 0.95;
}
.wizard-step {
  padding: 38px;
  border: 1px solid var(--line);
  background: #fffdf9;
}
.wizard-step > span {
  font-family: Georgia, serif;
  font-style: italic;
}
.wizard-step h2 {
  font-size: 42px;
  margin: 8px 0 28px;
}
.wizard-step label {
  display: grid;
  gap: 8px;
}
.wizard-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.slot-button {
  padding: 15px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.slot-button:hover,
.slot-button.selected {
  background: var(--ink);
  color: #fff;
}
.slots-status {
  min-height: 24px;
  color: var(--muted);
}
.booking-review {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.booking-review div,
.success-card dl div,
.booking-detail dl div {
  padding: 16px;
  border-top: 1px solid var(--line);
}
.success-card {
  max-width: 680px;
  padding: 34px;
  background: #fff;
}
.success-card .button,
.success-card .text-link {
  margin: 14px 14px 0 0;
}
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
  gap: 60px;
}
.detail-hero h1 {
  font-size: clamp(54px, 7vw, 94px);
  line-height: 0.92;
}
.detail-hero > img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.review-grid blockquote {
  margin: 0;
  padding: 30px;
  border: 1px solid var(--line);
  font-size: 22px;
}
.review-grid blockquote footer {
  display: block;
  padding: 18px 0 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
}
.auth-page form,
.booking-detail form {
  max-width: 620px;
  margin-top: 28px;
}
.auth-page label,
.booking-detail label {
  display: grid;
  gap: 8px;
}
@media (max-width: 760px) {
  .booking-wizard,
  .success-page,
  .auth-page,
  .booking-detail {
    width: calc(100% - 40px);
    padding: 44px 0;
  }
  .booking-wizard > header,
  .detail-hero {
    grid-template-columns: 1fr;
  }
  .wizard-step {
    padding: 24px;
  }
  .form-grid,
  .booking-review,
  .gallery-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.wizard-progress li {
  font-size: 0.75rem;
  opacity: 0.55;
  border-top: 2px solid currentColor;
  padding-top: 0.45rem;
}
.wizard-progress li[aria-current="step"] {
  opacity: 1;
}
.master-choice-grid,
.nearest-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}
.master-choice-card {
  border: 1px solid var(--line, #c9c2b8);
  background: transparent;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
}
.master-choice-card.selected {
  background: var(--ink, #1f2420);
  color: #fff;
}
.slot-button input {
  position: absolute;
  opacity: 0;
}
.slot-button:has(input:checked) {
  background: var(--ink, #1f2420);
  color: #fff;
}
.slot-button:focus-within {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .wizard-progress {
    grid-template-columns: repeat(3, 1fr);
  }
}

.master-choice-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  text-align: left;
}
.master-choice-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  aspect-ratio: 1;
}
.master-choice-card span {
  display: grid;
  gap: 4px;
}
.master-choice-card small {
  color: var(--muted, #6f6b66);
}
.master-choice-card.selected,
.master-choice-card[aria-pressed="true"] {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 24px 6vw 64px;
}
.related-articles {
  margin-top: 64px;
}
:focus-visible {
  outline: 3px solid #2783de;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .pagination {
    gap: 12px;
    flex-wrap: wrap;
  }
}

.step-error {
  min-height: 1.5rem;
  margin: 0 0 1rem;
  color: #8f2f25;
  font-weight: 600;
}
.step-error:empty {
  min-height: 0;
  margin: 0;
}
[aria-invalid="true"] {
  border-color: #8f2f25 !important;
  outline: 2px solid rgba(143, 47, 37, 0.18);
  outline-offset: 2px;
}


/* Booking and cabinet final responsive pass */
.booking-wizard,
.success-page,
.auth-page,
.booking-detail,
.cabinet-page,
.page-title,
.manifesto > * {
  min-width: 0;
}

.booking-wizard,
.success-page,
.auth-page,
.booking-detail {
  width: min(1080px, calc(100% - 48px));
}

.booking-wizard > header {
  align-items: end;
}

.booking-wizard > header .eyebrow {
  align-self: start;
}

.wizard-step,
.success-card,
.auth-card,
.booking-detail-card,
.cabinet-empty,
.booking-status-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.wizard-step {
  max-width: 960px;
}

.wizard-step input:not([type="hidden"]):not([type="checkbox"]),
.wizard-step select,
.wizard-step textarea,
.auth-page input:not([type="hidden"]),
.booking-detail input:not([type="hidden"]):not([type="checkbox"]),
.booking-detail select,
.booking-detail textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #a9a098;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.wizard-step textarea,
.booking-detail textarea {
  min-height: 112px;
  resize: vertical;
}

.wizard-step .consent {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
}

.wizard-step .consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
}

.wizard-actions {
  flex-wrap: wrap;
}

.wizard-actions .button,
.wizard-actions .text-link {
  min-height: 44px;
}

.master-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.master-choice-card {
  width: 100%;
  min-width: 0;
  min-height: 96px;
  border-radius: 0;
  background: #fff;
}

.master-choice-card span,
.master-choice-card small,
.slot-button,
.booking-review dd,
.success-card,
.auth-page,
.booking-detail,
.booking-status-card,
.cabinet-heading {
  overflow-wrap: anywhere;
}

.slot-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 50px;
  text-align: center;
}

.success-page,
.auth-page,
.booking-detail {
  max-width: 820px;
}

.success-page > h1,
.auth-page > h1,
.booking-detail > h1 {
  margin: 0 0 28px;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.auth-card,
.booking-detail-card {
  padding: clamp(24px, 4vw, 38px);
}

.auth-card > p:first-child,
.booking-detail-card > p:first-child {
  margin-top: 0;
}

.auth-page form,
.booking-detail form {
  max-width: none;
}

.auth-page form p,
.booking-detail form p {
  margin: 0 0 18px;
}

.auth-page .errorlist,
.booking-detail .errorlist,
.wizard-step .errorlist {
  margin: 6px 0 0;
  padding: 0;
  color: #8f2f25;
  font-size: 14px;
  list-style: none;
}

.booking-detail dl,
.success-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 26px 0;
}

.booking-detail dt,
.success-card dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-detail dd,
.success-card dd {
  margin: 6px 0 0;
  font-size: 18px;
}

.booking-detail-actions,
.success-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.booking-detail-actions .button,
.booking-detail-actions .text-link,
.success-actions .button,
.success-actions .text-link {
  margin: 0;
}

.cabinet-heading {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cabinet-heading .eyebrow {
  max-width: 100%;
}

.booking-status-card {
  display: block;
  min-width: 0;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms var(--ease);
}

.booking-status-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.booking-status-card strong {
  color: var(--clay-dark);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cabinet-empty {
  padding: 32px;
}

.gallery-filters {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.gallery-filters a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 760px) {
  .booking-wizard,
  .success-page,
  .auth-page,
  .booking-detail {
    width: calc(100% - 32px);
    padding: 48px 0 64px;
  }

  .booking-wizard > header {
    gap: 32px;
    margin-bottom: 28px;
  }

  .booking-wizard > header h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .wizard-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    margin: 24px 0 30px;
  }

  .wizard-progress li {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .wizard-step {
    padding: 24px 20px;
  }

  .wizard-step h2 {
    margin-bottom: 22px;
    font-size: 36px;
  }

  .form-grid,
  .master-choice-grid,
  .booking-review,
  .booking-detail dl,
  .success-card dl {
    grid-template-columns: 1fr;
  }

  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizard-actions,
  .booking-detail-actions,
  .success-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wizard-actions .button,
  .booking-detail-actions .button,
  .success-actions .button,
  .wizard-actions .text-link,
  .booking-detail-actions .text-link,
  .success-actions .text-link {
    width: 100%;
    min-height: 48px;
    text-align: center;
  }

  .auth-card,
  .booking-detail-card,
  .success-card {
    width: 100%;
    max-width: none;
    padding: 24px 20px;
  }

  .auth-page .button,
  .booking-detail .button {
    width: 100%;
  }

  .cabinet-heading {
    grid-template-columns: 1fr;
  }

  .cabinet-heading form,
  .cabinet-heading .text-link {
    width: 100%;
  }

  .booking-status-card {
    min-height: 0;
  }

  .page-title > * {
    min-width: 0;
    width: 100%;
  }

  .gallery-filters {
    width: 100%;
  }

  .manifesto {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .hero-copy {
    padding-inline: 20px;
  }

  .manifesto {
    width: 100%;
    padding: 20px;
  }

  .manifesto-copy dl {
    flex-direction: column;
    gap: 16px;
  }

  .slot-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    max-width: calc(100vw - 88px);
    letter-spacing: 0.11em;
  }
}


button.text-link {
  appearance: none;
  width: auto;
  min-height: 44px;
  padding: 8px 0 4px;
  border: 0;
  border-bottom: 1px solid #a89f97;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.booking-detail form > .text-link {
  margin: 4px 0 18px;
}

.cabinet-page > section + section {
  margin-top: 52px;
}

@media (max-width: 760px) {
  .cabinet-heading button.text-link {
    text-align: left;
  }
}


.slot-button {
  position: relative;
}

.slot-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}


/* Compact booking flow: keep the title, progress and active card together. */
.booking-wizard {
  width: min(1120px, calc(100% - 48px));
  padding: 46px 0 76px;
}

.booking-wizard > header {
  display: block;
  margin-bottom: 28px;
}

.booking-wizard > header .eyebrow {
  margin-bottom: 14px;
}

.booking-wizard > header h1 {
  max-width: 900px;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.booking-wizard .wizard-progress {
  grid-column: 1 / -1;
  width: 100%;
  margin: 30px 0 0;
}

.booking-wizard form,
.booking-wizard .wizard-step {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.booking-review {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
  margin: 0;
}

.booking-review div {
  min-width: 0;
  padding: 16px 12px 18px;
}

.booking-review dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-review dd {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.wizard-step h2[tabindex="-1"]:focus {
  outline: none;
}

.wizard-step {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

@media (max-width: 760px) {
  .booking-wizard {
    width: calc(100% - 32px);
    padding: 34px 0 56px;
  }

  .booking-wizard > header {
    margin-bottom: 22px;
  }

  .booking-wizard > header h1 {
    font-size: clamp(40px, 12vw, 52px);
    line-height: 0.98;
  }

  .booking-wizard .wizard-progress {
    margin-top: 24px;
  }

  .booking-review {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
