/* RIX Rooms — beige hospitality theme */
:root {
  --bg: #ebe4d8;
  --bg-soft: #e0d6c8;
  --bg-lift: #f5f0e8;
  --ink: #2a241c;
  --ink-soft: #4f463b;
  --muted: #857868;
  --line: rgba(42, 36, 28, 0.12);
  --accent: #5c4a38;
  --accent-hover: #463729;
  --accent-soft: rgba(92, 74, 56, 0.12);
  --foam: #f7f2ea;
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(1.25rem, 4vw, 3rem);
  --max: 72rem;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 70% at 100% 20%, #d9cbb8 0%, transparent 60%),
    radial-gradient(ellipse 50% 55% at 100% 80%, #e0d3c2 0%, transparent 55%),
    linear-gradient(90deg, #f7f1e8 0%, #f0e6d8 42%, #e5d7c4 78%, #d8c8b4 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

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

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1rem 0;
}

.site-header--float {
  position: fixed;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header--float.is-scrolled {
  background: rgba(245, 240, 232, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.site-header--sticky {
  position: sticky;
  top: 0;
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.88;
}

.logo-img {
  display: none;
  width: auto;
  object-fit: contain;
}

.logo-img--wide {
  height: 2.35rem;
}

.logo-img--stacked {
  height: 3.5rem;
}

.site-header--float:not(.is-scrolled) .logo-img--light,
.site-header--float:not(.is-scrolled) .logo-img--stacked-light {
  display: block;
}

.site-header--float.is-scrolled .logo-img--dark,
.site-header--float.is-scrolled .logo-img--stacked-dark,
.site-header--sticky .logo-img--dark,
.site-header--sticky .logo-img--stacked-dark {
  display: block;
}

.site-header--float:not(.is-scrolled) .logo-img--stacked-light {
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 701px) {
  .logo-img--stacked {
    display: none !important;
  }

  .logo-img--wide {
    height: 2.65rem;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 0.85rem 0 0.65rem;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .logo {
    width: 100%;
  }

  .logo-img--wide {
    display: none !important;
  }

  .logo-img--stacked {
    height: 4.25rem;
    margin-inline: auto;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 0.45rem 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
  }
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

/* Light header over hero photo */
.site-header--float:not(.is-scrolled) .nav a {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.site-header--float:not(.is-scrolled) .nav a:hover {
  color: #fff;
  opacity: 0.85;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--foam);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Hero — full-bleed photo, centered brand (like RIX Coffee) */
.hero {
  position: relative;
  min-height: 85svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 36, 28, 0.28) 0%, rgba(42, 36, 28, 0.45) 42%, rgba(42, 36, 28, 0.82) 100%),
    url("../assets/hero-building.png") center 22% / cover no-repeat,
    linear-gradient(145deg, #6b5a48, #2a241c 60%);
  transform: scale(1);
  will-change: transform;
  animation: hero-drift 16s var(--ease) infinite alternate;
}

@supports (background-image: -webkit-image-set(url(x.webp) 1x)) {
  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(42, 36, 28, 0.28) 0%, rgba(42, 36, 28, 0.45) 42%, rgba(42, 36, 28, 0.82) 100%),
      -webkit-image-set(url("../assets/hero-building.webp") 1x),
      linear-gradient(145deg, #6b5a48, #2a241c 60%);
  }
}

@supports (background-image: image-set(url(x.webp) type("image/webp"))) {
  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(42, 36, 28, 0.28) 0%, rgba(42, 36, 28, 0.45) 42%, rgba(42, 36, 28, 0.82) 100%),
      image-set(url("../assets/hero-building.webp") type("image/webp") 1x),
      linear-gradient(145deg, #6b5a48, #2a241c 60%);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.03) translate3d(0, -1%, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-width: 100%;
  margin: 0 auto;
  padding: 5.5rem 0 2rem;
  text-align: center;
}

.brand-mark {
  margin: 0 auto 0.85rem;
  line-height: 0;
  animation: rise 1s var(--ease) both;
}

.brand-mark img {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.35));
}

@media (max-width: 700px) {
  .hero-content {
    padding-top: 6.75rem;
  }

  .brand-mark img {
    width: min(92vw, 19rem);
  }
}

.hero-title {
  margin: 0 auto 1.15rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.4;
  color: var(--foam);
  max-width: 22rem;
  animation: rise 1s var(--ease) 0.1s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  justify-content: center;
  animation: rise 1s var(--ease) 0.22s both;
}

.hero-content .btn {
  padding: 0.7rem 1.05rem;
  font-size: 0.88rem;
}

.hero .btn-ghost {
  color: var(--foam);
  border-color: rgba(247, 242, 234, 0.45);
}

.hero .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(224, 211, 194, 0.55) 0%, rgba(232, 220, 203, 0.7) 100%);
}

.section-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 2.25rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.address-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.address-link:hover {
  color: var(--accent);
}

/* Rooms */
.room-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.room-card {
  background: var(--bg-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.room-media {
  aspect-ratio: 16 / 10;
  background: #d9cfc0;
  overflow: hidden;
}

.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-body {
  padding: 1.15rem 1.25rem 1.25rem;
}

.room-name {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.room-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Amenities */
.amenity-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .amenity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.amenity-grid li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.amenity-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* About */
.about-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .about-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: stretch;
  }

  .about-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .about-text .section-title {
    margin-bottom: 0.35rem;
  }

  .about-text p {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.about-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.about-text p {
  color: var(--ink-soft);
}

.about-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d4c8b8;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Booking */
.booking-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .booking-layout {
    grid-template-columns: 1.4fr 0.7fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.booking-form {
  background: var(--bg-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

@media (min-width: 860px) {
  .booking-form {
    padding: 1.75rem;
  }
}

.form-row {
  display: grid;
  gap: clamp(0.65rem, 2vw, 1rem);
  margin-bottom: 1rem;
  min-width: 0;
}

.form-row--2 {
  grid-template-columns: 1fr;
}

.form-row--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 980px) {
  .form-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

.child-ages {
  margin-bottom: 1rem;
  padding: 0.85rem 0 0.15rem;
  border-top: 1px dashed var(--line);
}

.child-ages[hidden] {
  display: none;
}

.child-ages-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  min-width: 0;
  overflow: hidden;
}

.form-row .field {
  margin-bottom: 0;
}

.field > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field em {
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #faf6f0;
  color: var(--ink);
}

.field input[type="date"] {
  -webkit-min-logical-width: 0;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}


.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

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

.form-note {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
  color: var(--accent);
}

.form-status.is-error {
  color: #8a4a3a;
}

.booking-aside {
  padding: 0.25rem 0;
}

.booking-aside-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
}

.booking-aside .contact-card-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.booking-aside .contact-card-row:hover {
  color: var(--accent);
}

.booking-score-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.85rem;
  align-items: center;
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem 1.1rem;
  background: var(--accent);
  color: var(--foam);
  border-radius: var(--radius);
  text-decoration: none;
}

.booking-score-card:hover {
  background: var(--accent-hover);
  color: #fff;
}

.booking-score-mark {
  grid-row: 1;
  display: grid;
  place-items: center;
  min-width: 3.1rem;
  height: 2.35rem;
  padding: 0 0.55rem;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  border-radius: 4px 4px 4px 0;
}

.booking-score-meta {
  grid-row: 1;
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.booking-score-meta strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.booking-score-meta em {
  font-style: normal;
  font-size: 0.75rem;
  opacity: 0.82;
}

.booking-score-cta {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(247, 242, 234, 0.22);
}

.booking-aside .contact-card-row .icon {
  opacity: 0.75;
}

/* Contact */
.contact-cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--bg-lift);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

/* Gallery strip — full-bleed band before contact */
.gallery-strip {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--after-gallery {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.gallery-grid {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-card {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  overflow: hidden;
  background: #d4c8b8;
  border: 1px solid rgba(42, 36, 28, 0.16);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card:nth-child(4) img {
  object-position: center 30%;
}

.contact-card-label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card-stack {
  display: grid;
  gap: 0.35rem;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  display: block;
}

.contact-card .contact-card-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.35rem 0;
}

.contact-card .contact-card-row:hover {
  color: var(--accent);
}

.map-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  min-height: 18rem;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 1rem;
  padding: var(--space);
  text-align: center;
  background: var(--bg-soft);
}

.map-placeholder p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.reviews-block {
  margin-top: 2.75rem;
}

.reviews-block .section-title {
  margin-bottom: 1.5rem;
}

.reviews-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 10rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-lift);
}

.review-stars {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.review-text {
  flex: 1;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
}

.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.review-author {
  color: var(--ink);
  font-weight: 600;
}

.review-source {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.reviews-more {
  margin: 1.35rem 0 0;
  font-size: 0.88rem;
}

.reviews-more a {
  color: var(--accent);
}

/* Legal pages */
.page-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 1.5rem;
}

.page-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.legal-content {
  padding-bottom: 4rem;
  max-width: 42rem;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-list {
  padding-left: 1.2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, #ddd0be 0%, #d4c4af 100%);
}

.site-footer-grid {
  display: grid;
  gap: 1.25rem;
}

.site-footer-brand p {
  margin: 0;
}

.site-footer-credit {
  margin-top: 0.25rem !important;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer-links,
.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  font-size: 0.9rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--ink-soft);
}

.site-footer a:hover {
  color: var(--accent);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* QR page — printable card */
.qr-body {
  background: var(--bg);
}

.qr-page {
  min-height: 100svh;
  display: grid;
  place-content: center;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center;
}

.qr-print-sheet {
  display: flex;
  justify-content: center;
}

.qr-tent {
  width: min(100%, 18rem);
  aspect-ratio: 1 / 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.5rem 1.25rem 1.35rem;
  background: var(--foam);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(42, 36, 28, 0.12);
}

.qr-brand {
  display: block;
  margin: 0 0 0.1rem;
  line-height: 0;
}

.qr-brand img {
  display: block;
  width: min(100%, 9.5rem);
  height: auto;
  margin-inline: auto;
}

.qr-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.qr-frame {
  width: 68%;
  margin: 0.35rem 0;
}

.qr-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.qr-cta {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.qr-url {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.qr-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

@media print {
  .qr-body,
  .qr-page {
    background: #fff !important;
    min-height: auto;
    padding: 0;
  }

  .no-print {
    display: none !important;
  }

  .qr-tent {
    box-shadow: none;
    width: 100mm;
    aspect-ratio: auto;
    border: 1px solid #d7cbb8;
    break-inside: avoid;
  }
}

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

  .hero-media {
    animation: none;
    transform: scale(1);
  }

  .brand-mark,
  .hero-title,
  .cta-row {
    animation: none;
  }
}

