/* ROSE & RIDGE Nail Atelier - offline styles */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbf6f2;
  --bg-soft: #f3e8e1;
  --bg-card: #fffdfb;
  --ink: #2a2420;
  --ink-muted: rgba(42, 36, 32, 0.68);
  --accent: #c4848a;
  --accent-deep: #a86b72;
  --accent-soft: rgba(196, 132, 138, 0.14);
  --border: #e6d5cc;
  --dark: #1f1a17;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(42, 36, 32, 0.08);
  --radius: 1rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --container: 72rem;
  --header-offset: 5.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(196, 132, 138, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #f7efe9 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-block-end: 4.75rem;
}

img {
  max-inline-size: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button,
select,
input {
  font: inherit;
}

button,
[role="button"],
.btn,
.specialty__card,
.nav__toggle,
.drawer__close,
.modal__close,
.text-link {
  cursor: pointer;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

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

h1,
h2,
h3,
.brand__name,
.price {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -3rem;
  background: var(--dark);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  z-index: 1000;
  border-radius: 0.4rem;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon--lg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Top bar */
.topbar {
  background: var(--bg-soft);
  border-block-end: 1px solid rgba(42, 36, 32, 0.06);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-muted);
}

.topbar__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 0.35rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.topbar__inner::-webkit-scrollbar {
  display: none;
}

.topbar__right {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.topbar__hours-full {
  display: none;
}

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

@media (min-width: 768px) {
  .topbar {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .topbar__inner {
    padding-block: 0.45rem;
    overflow: visible;
  }

  .topbar__right {
    gap: 1rem;
  }

  .topbar__hours-short {
    display: none;
  }

  .topbar__hours-full {
    display: inline-flex;
  }
}

/* Header / nav */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(251, 246, 242, 0.78);
  border-block-end: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-block-end-color: rgba(42, 36, 32, 0.08);
  background: rgba(251, 246, 242, 0.92);
  box-shadow: 0 8px 24px rgba(42, 36, 32, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.15rem;
}

.brand__name {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.nav__desktop {
  display: none;
  gap: 2rem;
  font-size: 0.92rem;
  font-weight: 500;
}

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

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.45rem;
}

.nav__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .nav__desktop {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }
}

/* Mobile bottom navigation */
.bottom-nav {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.15rem;
  padding: 0.45rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 253, 251, 0.96);
  border-block-start: 1px solid var(--border);
  box-shadow: 0 -10px 28px rgba(42, 36, 32, 0.08);
  backdrop-filter: blur(12px);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3rem;
  padding: 0.25rem 0.15rem;
  border-radius: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}

.bottom-nav__item svg {
  width: 1.2rem;
  height: 1.2rem;
}

.bottom-nav__item:hover,
.bottom-nav__item.is-current {
  color: var(--accent-deep);
  background: rgba(196, 132, 138, 0.1);
}

.bottom-nav__item--book {
  color: var(--accent-deep);
}

@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }

  body {
    padding-block-end: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--dark:hover {
  background: var(--accent-deep);
}

.btn--rose {
  background: var(--accent);
  color: var(--white);
}

.btn--rose:hover {
  background: var(--accent-deep);
}

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

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

.btn--soft {
  background: var(--bg-soft);
  color: var(--ink);
}

.btn--soft:hover {
  background: var(--border);
}

.btn--block {
  width: 100%;
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 26, 23, 0.45);
  z-index: 60;
}

.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(20rem, 88vw);
  background: var(--bg);
  z-index: 70;
  padding: 1.25rem 1.35rem 2rem;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer__nav a {
  padding: 0.85rem 0.25rem;
  font-size: 1.15rem;
  font-family: var(--font-serif);
  border-block-end: 1px solid rgba(42, 36, 32, 0.08);
}

.drawer__book {
  margin-block-start: 1rem;
}

body.nav-open {
  overflow: hidden;
}

/* Hero */
.hero {
  padding-block: 3rem 4.5rem;
  position: relative;
}

.hero__copy {
  text-align: center;
  max-inline-size: 48rem;
  margin-inline: auto;
  margin-block-end: 3rem;
}

.hero__brand {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  line-height: 1;
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero__accent {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
}

.hero__lead {
  max-inline-size: 28rem;
  margin: 0 auto 1.5rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero__gallery {
  position: relative;
  max-inline-size: 56rem;
  margin-inline: auto;
}

/* Mobile Instagram-style stories slider */
.hero__stories {
  position: relative;
  width: min(100% - 1.5rem, 20rem);
  margin-inline: auto;
  aspect-ratio: 3 / 4.2;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #1f1a17;
}

.hero__progress {
  position: absolute;
  inset-inline: 0.65rem;
  inset-block-start: 0.65rem;
  z-index: 5;
  display: flex;
  gap: 0.3rem;
}

.hero__progress-seg {
  flex: 1;
  height: 0.18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.hero__progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: inherit;
  transform-origin: left center;
}

.hero__progress-seg.is-done .hero__progress-fill {
  width: 100%;
}

.hero__progress-seg.is-active .hero__progress-fill {
  animation: heroStoryFill var(--story-duration, 4s) linear forwards;
}

@keyframes heroStoryFill {
  from { width: 0%; }
  to { width: 100%; }
}

.hero__stage {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

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

.hero__tap {
  position: absolute;
  inset-block: 0;
  width: 42%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 4;
}

.hero__tap--prev {
  inset-inline-start: 0;
}

.hero__tap--next {
  inset-inline-end: 0;
}

.hero__arches--desktop {
  display: none;
}

.arch {
  margin: 0;
  aspect-ratio: 1 / 1.85;
  overflow: hidden;
  border-radius: 200px 200px 100px 100px;
  box-shadow: var(--shadow);
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.arch:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .hero {
    padding-block-start: 4rem;
  }

  .hero__stories {
    display: none;
  }

  .hero__arches--desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    padding-inline: 0.5rem;
  }

  .arch--offset {
    margin-block-start: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__progress-seg.is-active .hero__progress-fill {
    animation: none;
    width: 100%;
  }
}

/* Sections shared */
.section-head {
  text-align: center;
  margin-block-end: 2.75rem;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0.15rem 0;
}

.section-head__italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--accent-deep);
  margin: 0;
  font-weight: 400;
}

.section-head__sub {
  max-inline-size: 32rem;
  margin: 0.85rem auto 0;
  color: var(--ink-muted);
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-block-end: 0.5rem;
}

/* Specialty */
.specialty {
  padding-block: 4rem;
  position: relative;
}

.specialty__grid {
  display: grid;
  gap: 1rem;
  max-inline-size: 56rem;
  margin-inline: auto;
}

.specialty__card {
  width: 100%;
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(230, 213, 204, 0.7);
  border-radius: 1.25rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.specialty__card:hover {
  box-shadow: 0 16px 36px rgba(196, 132, 138, 0.12);
  transform: translateY(-3px);
}

.specialty__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-inline: auto;
  margin-block-end: 1rem;
}

.specialty__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.specialty__card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.specialty__card p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .specialty__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* About */
.about {
  padding-block: 4.5rem;
  background: rgba(243, 232, 225, 0.55);
}

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

.about__media {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

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

.about__copy p {
  font-size: 1.08rem;
  color: rgba(42, 36, 32, 0.82);
  margin: 0 0 1rem;
}

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Services */
.services {
  padding-block: 4.5rem;
}

.services__intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block-end: 2.75rem;
}

.services__intro h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0;
}

.services__note {
  text-align: start;
}

.services__note p {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  max-inline-size: 16rem;
}

@media (min-width: 768px) {
  .services__intro {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .services__note {
    text-align: end;
  }

  .services__note p {
    margin-inline-start: auto;
  }
}

.menu-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
    row-gap: 2.75rem;
  }

  .menu-block--wide {
    grid-column: 1 / -1;
  }
}

.menu-block__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  opacity: 0.85;
}

.menu-list {
  display: grid;
  gap: 0.85rem;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-block-end: 1px solid rgba(42, 36, 32, 0.1);
  padding-block-end: 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.price {
  color: var(--accent-deep);
  font-style: italic;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .menu-list--split {
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
  }
}

/* Gallery */
.gallery {
  padding-block: 4.5rem;
  background: rgba(243, 232, 225, 0.28);
}

.gallery__social {
  display: inline-block;
  margin-block-start: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.gallery__social:hover {
  color: var(--accent-deep);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.gallery__item {
  margin: 0;
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.9rem;
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item figcaption {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  background: linear-gradient(transparent, rgba(31, 26, 23, 0.72));
  color: var(--white);
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* Locations */
.locations {
  padding-block: 4.5rem;
}

.locations__grid {
  display: grid;
  gap: 1.5rem;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid rgba(230, 213, 204, 0.8);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(42, 36, 32, 0.04);
}

.map-placeholder {
  height: 11rem;
  background:
    linear-gradient(135deg, rgba(196, 132, 138, 0.18), transparent 45%),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(42, 36, 32, 0.04) 18px, rgba(42, 36, 32, 0.04) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(42, 36, 32, 0.04) 18px, rgba(42, 36, 32, 0.04) 19px),
    #ebe0d7;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-placeholder--alt {
  background:
    linear-gradient(225deg, rgba(168, 107, 114, 0.16), transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(42, 36, 32, 0.04) 18px, rgba(42, 36, 32, 0.04) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(42, 36, 32, 0.04) 18px, rgba(42, 36, 32, 0.04) 19px),
    #e7d8ce;
}

.map-placeholder__pin {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50% 50% 50% 0;
  background: var(--accent-deep);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(196, 132, 138, 0.2);
}

.location-card__body {
  padding: 1.5rem;
}

.location-card__body h3 {
  margin: 0 0 0.65rem;
  font-size: 1.55rem;
}

.location-card__body p {
  margin: 0 0 0.55rem;
  color: var(--ink-muted);
}

.location-card__hours {
  font-size: 0.9rem;
}

.text-link {
  display: inline-block;
  margin-block-start: 0.5rem;
  color: var(--accent-deep);
  font-weight: 500;
  font-size: 0.92rem;
  border-block-end: 1px solid transparent;
}

.text-link:hover {
  border-block-end-color: var(--accent-deep);
}

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

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255, 253, 251, 0.88);
  padding-block: 3.5rem 1.5rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-block-end: 2.5rem;
}

.brand--footer .brand__name {
  color: var(--white);
}

.brand--footer .brand__tag {
  color: rgba(255, 253, 251, 0.55);
}

.footer__blurb {
  margin: 0.85rem 0 0;
  max-inline-size: 18rem;
  color: rgba(255, 253, 251, 0.55);
  font-size: 0.92rem;
}

.footer h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: rgba(255, 253, 251, 0.5);
  font-weight: 500;
}

.footer__list {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

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

.footer__base {
  border-block-start: 1px solid rgba(255, 253, 251, 0.1);
  padding-block-start: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 253, 251, 0.45);
}

.footer__base p {
  margin: 0;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 23, 0.55);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: min(100%, 28rem);
  background: var(--bg);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  z-index: 1;
  max-block-size: min(92vh, 40rem);
  overflow: auto;
}

.modal__close {
  position: absolute;
  inset-block-start: 0.85rem;
  inset-inline-end: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.modal__close:hover {
  background: var(--bg-soft);
}

.modal__panel h2 {
  margin: 0 2rem 0.4rem 0;
  font-size: 1.85rem;
}

.modal__lead {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

#booking-form {
  display: grid;
  gap: 0.85rem;
}

#booking-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
}

#booking-form input,
#booking-form select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: var(--white);
  color: var(--ink);
}

#booking-form input:focus,
#booking-form select:focus {
  outline: 2px solid rgba(196, 132, 138, 0.45);
  border-color: var(--accent);
}

#booking-form .is-invalid {
  border-color: #b45454;
}

/* Toast */
.toast {
  position: fixed;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  z-index: 100;
  max-inline-size: 24rem;
  margin-inline: auto;
  background: var(--dark);
  color: var(--white);
  padding: 0.95rem 1.15rem;
  border-radius: 0.85rem;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast[hidden] {
  display: block;
  pointer-events: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(1.25rem);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

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

  .reveal,
  .arch img,
  .gallery__item img,
  .drawer,
  .toast {
    transition: none;
  }

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
