/* ---------------------------------------------------------------
   Hotel Drei Kronen · v2
   Palette drawn from the building: lime-washed walls, slate turret,
   terracotta roof tiles.
---------------------------------------------------------------- */

:root {
  --paper: #f3efe7;
  --paper-2: #e9e3d7;
  --ink: #1c2124;
  --ink-soft: #50565a;
  --rule: rgba(28, 33, 36, 0.14);
  --clay: #a4472e;
  --clay-deep: #8b3a24;
  --slate: #1f2629;
  --on-dark: #ece6db;
  --on-dark-soft: rgba(236, 230, 219, 0.62);
  --rule-dark: rgba(236, 230, 219, 0.16);

  --serif: "Zodiak", "Iowan Old Style", Georgia, serif;
  --sans: "Switzer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut: clamp(20px, 4.2vw, 64px);
  --max: 1400px;
  --hdr: 76px;
  --section: clamp(96px, 13vw, 184px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hdr);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
address { font-style: normal; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--clay); color: var(--paper); }

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

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- Type ---------- */

.label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label .num {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--clay);
}
.label--light { color: var(--on-dark-soft); }
.label--light .num { color: #d98b6f; }

.kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.body-lg {
  font-size: clamp(1.075rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}

p { text-wrap: pretty; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg, .book__go svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  transition: transform .35s var(--ease);
}
.btn:hover svg, .book__go:hover svg { transform: translateX(4px); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--clay); }

.btn[target="_blank"]:hover svg { transform: translate(3px, -3px); }

.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.btn--light { border-color: var(--rule-dark); color: var(--on-dark); }
.btn--light:hover { background: var(--on-dark); color: var(--slate); border-color: var(--on-dark); }
.btn--light:hover svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.hdr.is-scrolled {
  background: rgba(243, 239, 231, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
.hdr.is-hidden { transform: translateY(-100%); }

.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--hdr);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mark__crown, .ftr__crown {
  width: 34px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linejoin: round; stroke-linecap: round;
}
.mark__crown { color: var(--clay); }
.mark__text { display: grid; line-height: 1; gap: 5px; }
.mark__name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.01em;
}
.mark__sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav a, .hdr__tel {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.hdr__end { display: flex; align-items: center; gap: 24px; }
.hdr__tel { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hdr__tel:hover { color: var(--ink); }

.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.burger i {
  position: absolute; left: 11px; right: 11px;
  height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger i:nth-of-type(1) { top: 18px; }
.burger i:nth-of-type(2) { top: 25px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--hdr) + 24px) var(--gut) max(40px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  animation: menu-in .35s var(--ease);
}
.menu[hidden] { display: none; }
.menu nav a { animation: menu-link .6s var(--ease) both; }
.menu nav a:nth-child(2) { animation-delay: .04s; }
.menu nav a:nth-child(3) { animation-delay: .08s; }
.menu nav a:nth-child(4) { animation-delay: .12s; }
@keyframes menu-in { from { opacity: 0; } }
@keyframes menu-link { from { opacity: 0; transform: translateY(12px); } }
.menu-open .hdr { background: var(--paper); box-shadow: 0 1px 0 var(--rule); transform: none; }
.menu-open .dock { transform: translateY(calc(100% + 24px)); }
.menu nav { display: grid; }
.menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.menu__foot { display: grid; gap: 8px; color: var(--ink-soft); }
.menu__foot a { text-decoration: none; }
.menu__foot .btn { margin-bottom: 16px; color: var(--paper); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: 20px;
  max-width: var(--max);
  height: max(680px, min(100svh, 1040px));
  margin-inline: auto;
  padding: calc(var(--hdr) + 12px) var(--gut) 0;
}

.hero__copy {
  grid-column: 1 / 7;
  grid-row: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding-block: clamp(24px, 4vh, 48px) 0;
}

.hero__title {
  margin-top: auto;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4.6rem, min(10.2vw, 19svh), 10rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--indent { padding-left: 0.5em; }

.hero__lede {
  max-width: 30em;
  margin-top: clamp(24px, 3.4vw, 40px);
  font-size: clamp(1.05rem, 1.2vw, 1.175rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero__media {
  grid-column: 7 / 13;
  grid-row: 1 / 3;
  position: relative;
  /* bleed to the viewport's right edge, also beyond the max-width */
  margin: 0 calc((min(100vw, var(--max)) - 100vw) / 2 - var(--gut)) clamp(28px, 5svh, 56px) calc(var(--gut) - 20px);
  overflow: hidden;
  background: var(--paper-2);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* One quiet grade across the phone photography */
.hero__media img,
.house__media img,
.g > img { filter: saturate(0.84) contrast(1.03) brightness(1.01); }
.hero__media figcaption {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.hero__media::after {
  content: "";
  position: absolute; inset: auto 0 0; height: 30%;
  background: linear-gradient(to top, rgba(20, 22, 24, 0.42), transparent);
  pointer-events: none;
}
.hero__media figcaption { z-index: 1; }

/* Booking bar */
.book {
  grid-column: 1 / 7;
  grid-row: 2;
  align-self: end;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  margin: clamp(28px, 4.5svh, 48px) 0 clamp(28px, 5svh, 56px);
  background: #fbf9f5;
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px -40px rgba(28, 33, 36, 0.35);
}
.book__cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 16px 20px 14px;
  border-right: 1px solid var(--rule);
  min-width: 0;
}
.book__cell label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.book__cell input,
.book__cell select {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.book__cell select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%231c2124' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 2px center / 10px;
  padding-right: 18px;
}
.book__cell input:focus, .book__cell select:focus { outline: none; }
.book__cell:focus-within { background: #fff; box-shadow: inset 0 -2px 0 var(--clay); }
input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
input[type="date"] { cursor: pointer; }
input[type="date"]:invalid::-webkit-datetime-edit { color: var(--ink-soft); }

.book__go {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.book__go:hover { background: var(--clay); }
.book__go:hover svg { transform: translate(3px, -3px); }
.book__note {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Willkommen ---------- */

.welcome { padding-block: var(--section); }

.welcome__statement {
  max-width: 21em;
  margin-top: 28px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.7vw, 3.55rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.welcome__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  margin-top: clamp(64px, 8vw, 120px);
}

.note {
  grid-column: 1 / 5;
  align-self: start;
  padding-left: 22px;
  border-left: 1px solid var(--clay);
}
.note p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.45;
}
.note footer {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

.facts {
  grid-column: 6 / 13;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}
.facts > div {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--rule);
}
.facts dt {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.facts dd {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.35;
}

/* ---------- Das Haus ---------- */

.house {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.house__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 960px;
  width: 100%;
  background: var(--paper-2);
}
.house__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 20%; }

.house__copy {
  display: grid;
  gap: 28px;
  max-width: 700px;
  padding: 48px var(--gut) 48px clamp(40px, 6vw, 104px);
}
.house__copy .h2 { margin-top: -4px; }
.house__copy p:last-child { color: var(--ink-soft); }

/* ---------- Zimmer ---------- */

.rooms { padding-top: var(--section); padding-bottom: var(--section); }

.rooms__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 28px;
  align-items: end;
}
.rooms__head .label { grid-column: 1 / -1; }
.rooms__head .h2 { grid-column: 1 / 7; }
.rooms__lede { grid-column: 8 / 13; color: var(--ink-soft); }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  margin-top: clamp(56px, 7vw, 104px);
}
.g { position: relative; }
.g > img, .g__img {
  width: 100%;
  object-fit: cover;
  background: var(--paper-2);
}
.g--a { grid-column: 1 / 8; grid-row: 1; }
.g--a img { aspect-ratio: 4 / 3; }

.g--b { grid-column: 9 / 13; grid-row: 1; align-self: end; }
.g--b img { aspect-ratio: 5 / 7; object-position: 40% 50%; }

.g--c { grid-column: 2 / 6; grid-row: 2; margin-top: clamp(64px, 8vw, 128px); }
.g--c img { aspect-ratio: 4 / 5; object-position: 55% 30%; }

.inroom {
  grid-column: 8 / 12;
  grid-row: 2;
  align-self: center;
  margin-top: clamp(64px, 8vw, 128px);
}
.inroom h3 {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.inroom ul { margin: 18px 0 32px; border-top: 1px solid var(--rule); }
.inroom li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.12rem;
}

/* ---------- Lage ---------- */

.where {
  background: var(--slate);
  color: var(--on-dark);
  padding-block: var(--section);
}
.where__in {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
}
.where__copy {
  grid-column: 1 / 6;
  display: grid;
  gap: 28px;
  align-content: start;
  justify-items: start;
}
.where .body-lg { color: var(--on-dark-soft); max-width: 30em; }
.where .btn { margin-top: 8px; }

.walk { grid-column: 7 / 13; padding-top: 6px; }
.walk__head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.walk ol { border-top: 1px solid var(--rule-dark); }
.walk li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-dark);
}
.walk__place {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.walk__time {
  flex: none;
  font-size: 14px;
  color: var(--on-dark-soft);
  font-variant-numeric: tabular-nums;
}
.walk__time b {
  margin-right: 4px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  color: var(--on-dark);
}
.walk__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--on-dark-soft);
}

/* ---------- Anfrage ---------- */

.ask { padding-block: var(--section); }

/* anchor jumps skip the section's top padding */
.rooms, .where, .ask { scroll-margin-top: calc(var(--section) * -1 + 28px); }
.ask__in {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
}
.ask__copy {
  grid-column: 1 / 6;
  display: grid;
  gap: 28px;
  align-content: start;
}
.ask__copy .body-lg { color: var(--ink-soft); max-width: 28em; }

.ask__copy .btn { justify-self: start; margin-top: 8px; }

.reach { grid-column: 7 / 13; border-top: 1px solid var(--rule); }
.reach > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 8px 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.reach dt {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.reach dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.reach dd a { text-decoration: none; transition: color .3s var(--ease); }
.reach dd a:hover { color: var(--clay); }
.reach__big {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.reach .reach__route {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.ftr {
  background: var(--ink);
  color: var(--on-dark);
  padding-top: clamp(72px, 8vw, 112px);
}
.ftr__in {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.ftr__crown { width: 40px; height: 28px; color: #d98b6f; }
.ftr__name {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.ftr__claim { margin-top: 10px; color: var(--on-dark-soft); }
.ftr__col { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.ftr__col h3 {
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.ftr__col a { text-decoration: none; justify-self: start; }
.ftr__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr__col address { line-height: 1.6; }
.ftr__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid var(--rule-dark);
  font-size: 13px;
  color: var(--on-dark-soft);
}
.ftr__legal { display: flex; gap: 24px; }
.ftr__legal a { text-decoration: none; }
.ftr__legal a:hover { color: var(--on-dark); }

/* ---------- Mobile dock ---------- */

.dock { display: none; }

/* ---------- Motion ---------- */

.js [data-rise] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-rise].is-in { opacity: 1; transform: none; }

.js .hero__title .line[data-rise] { opacity: 1; transform: none; }
.js .hero__title .line > span {
  transform: translateY(105%);
  transition: transform 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .hero__title .line.is-in > span { transform: none; }

/* The observed figure stays unclipped (IntersectionObserver ignores fully clipped targets) */
.js [data-unveil] > img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.1);
  transform-origin: 50% 100%;
  transition: clip-path 1.5s var(--ease), transform 2.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-unveil].is-in > img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .g[data-unveil] > img { transform: none; }
.js [data-unveil] figcaption { opacity: 0; transition: opacity 1s var(--ease) calc(var(--d, 0s) + .6s); }
.js [data-unveil].is-in figcaption { opacity: 1; }
.js .hero__media::after { opacity: 0; transition: opacity 1s var(--ease) .8s; }
.js .hero__media.is-in::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise],
  .js .hero__title .line > span,
  .js [data-unveil] > img,
  .js [data-unveil] figcaption,
  .js .hero__media::after {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hdr__tel { display: none; }
}

@media (max-width: 1360px) {
  .book { grid-template-columns: 1fr 1fr 1fr; }
  .book__cell:nth-child(3) { border-right: 0; }
  .book__go { grid-column: 1 / -1; justify-content: center; height: 54px; }
}

@media (max-width: 960px) {
  :root { --hdr: 68px; }
  .nav, .hdr__end .btn { display: none; }
  .burger { display: block; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    padding-top: calc(var(--hdr) + 20px);
  }
  .hero__copy, .book, .hero__media { grid-column: 1; }
  .hero__copy { grid-row: 1; padding-top: 12px; }
  .hero__title { margin-top: 36px; font-size: clamp(4.2rem, 19vw, 9rem); }
  .hero__media {
    grid-row: 2;
    margin: 36px calc(var(--gut) * -1) 0;
    aspect-ratio: 4 / 5;
    max-height: 78svh;
    width: auto;
  }
  .book { grid-row: 3; margin: -44px 0 0; }

  .welcome__grid { row-gap: 48px; }
  .note, .facts { grid-column: 1 / -1; }

  .house { grid-template-columns: 1fr; }
  .house__media { aspect-ratio: 4 / 3.4; }
  .house__copy { max-width: 720px; padding: 56px var(--gut) 0; }

  .rooms__head .h2, .rooms__lede { grid-column: 1 / -1; }
  .gallery { row-gap: 48px; }
  .g--a { grid-column: 1 / -1; }
  .g--b { grid-column: 1 / 6; grid-row: 2; align-self: start; }
  .g--c { grid-column: 6 / 13; grid-row: 2; margin-top: 0; align-self: end; }
  .g--c img { aspect-ratio: 4 / 5; }
  .inroom { grid-column: 1 / -1; grid-row: 3; margin-top: 8px; }

  .where__copy, .walk { grid-column: 1 / -1; }
  .walk { margin-top: 64px; }

  .ask__copy, .reach { grid-column: 1 / -1; }
  .reach { margin-top: 64px; }

  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }

  .dock {
    position: fixed;
    left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr;
    background: var(--ink);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
    transform: translateY(calc(100% + 24px));
    transition: transform .5s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock a {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; padding: 0 20px;
    color: var(--paper); font-size: 15px; font-weight: 500; text-decoration: none;
  }
  .dock__call { border-right: 1px solid rgba(255, 255, 255, 0.14); }
  .dock__call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .dock__ask { background: var(--clay); }
  .ftr__bar { padding-bottom: 96px; }
}

@media (max-width: 600px) {
  .book { grid-template-columns: 1fr 1fr; }
  .book__cell:nth-child(2) { border-right: 0; }
  .book__cell:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--rule); border-right: 0; }
  .book__cell:nth-child(1), .book__cell:nth-child(2) { }
  .facts { grid-template-columns: 1fr; }
  .walk li { gap: 16px; }
  .reach > div { grid-template-columns: 1fr; padding: 22px 0; }
  .ftr__bar { flex-direction: column; }
}
