/* Shared editorial system for RSMH Fjällsjö's internal pages. */

:where(.page-menu, .page-accommodation, .page-services, .page-about, .page-contact) {
  --inner-page-accent: var(--clay-400);
  --inner-page-wash: rgba(217, 134, 98, .1);
}

.page-accommodation,
.page-contact {
  --inner-page-accent: var(--lake-500);
  --inner-page-wash: rgba(78, 143, 149, .12);
}

.page-services {
  --inner-page-accent: var(--forest-600);
  --inner-page-wash: rgba(47, 122, 92, .1);
}

:where(.page-menu, .page-accommodation, .page-services, .page-about, .page-contact) main {
  overflow: clip;
}

/* --- A shared opening chapter --- */
.inner-hero {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(13, 48, 37, .12);
  background:
    radial-gradient(circle at 86% 12%, var(--inner-page-wash), transparent 24rem),
    radial-gradient(circle at 10% 92%, rgba(78, 143, 149, .08), transparent 22rem),
    linear-gradient(120deg, #fff 0%, var(--cream-100) 58%, #eef6f4 100%);
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background:
    linear-gradient(90deg, rgba(13, 48, 37, .035) 1px, transparent 1px),
    linear-gradient(rgba(13, 48, 37, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, #000, transparent 68%);
  pointer-events: none;
}

.inner-hero::after {
  content: attr(data-page-marker);
  position: absolute;
  z-index: 2;
  right: max(1.5rem, calc((100vw - var(--container-wide)) / 2));
  top: 50%;
  color: rgba(13, 48, 37, .5);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.inner-hero .page-hero-inner,
.inner-hero .about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.inner-hero .page-hero-copy,
.inner-hero .about-hero-copy {
  min-width: 0;
  max-width: 42rem;
}

.inner-hero .page-hero-inner.reveal,
.inner-hero .about-hero-inner.reveal,
.inner-hero .page-hero-image.reveal,
.inner-hero .about-hero-image.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.inner-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.25rem;
  color: var(--forest-800);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.inner-hero-kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--inner-page-accent);
}

.inner-hero h1 {
  max-width: 11ch;
  margin: 0 0 1.35rem;
  color: #0b1328;
  font-size: clamp(3.4rem, 6.5vw, 6rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.inner-hero h1 > span {
  display: block;
}

.inner-hero-accent {
  margin-top: .12em;
  color: var(--forest-800);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .62em;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

.inner-hero .page-hero-lead,
.inner-hero .about-hero-copy > p:not(.inner-hero-proof) {
  max-width: 35rem;
  margin: 0 0 1.25rem;
  color: #314b43;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.inner-hero-proof {
  display: flex;
  align-items: center;
  gap: .65rem;
  max-width: 35rem;
  margin: 0;
  color: var(--forest-800);
  font-size: .95rem;
  font-weight: 800;
}

.inner-hero-proof::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--inner-page-accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--inner-page-accent) 16%, transparent);
}

.inner-hero .page-hero-image,
.inner-hero .about-hero-image {
  position: relative;
  min-width: 0;
  aspect-ratio: 5 / 4;
  margin: 0 2.5rem 0 0;
  overflow: hidden;
  border: 1px solid rgba(13, 48, 37, .14);
  border-radius: clamp(2rem, 5vw, 4rem) 1.5rem clamp(2rem, 5vw, 4rem) 1.5rem;
  background: #eaf2ee;
  box-shadow: var(--experience-shadow);
  transform: rotate(.7deg);
}

.inner-hero .page-hero-image::before,
.inner-hero .about-hero-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 8px solid rgba(255, 255, 255, .45);
  border-radius: inherit;
  pointer-events: none;
}

.inner-hero .page-hero-image img,
.inner-hero .about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2, .75, .25, 1);
}

.inner-hero .page-hero-image:hover img,
.inner-hero .about-hero-image:hover img {
  transform: scale(1.025);
}

.inner-hero-caption {
  position: absolute;
  z-index: 3;
  inset: auto 1rem 1rem;
  display: flex;
  width: fit-content;
  max-width: calc(100% - 2rem);
  flex-wrap: wrap;
  gap: .25rem .65rem;
  align-items: center;
  padding: .75rem .9rem;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 1rem;
  color: var(--forest-950);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 30px rgba(13, 48, 37, .14);
  backdrop-filter: blur(14px);
  font-size: .78rem;
}

.inner-hero-caption strong {
  font-family: var(--font-family-display);
  font-size: .88rem;
}

.inner-hero--menu .page-hero-image {
  padding: 1.75rem clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 15% 15%, rgba(217, 134, 98, .3), transparent 13rem),
    linear-gradient(145deg, var(--forest-950), var(--forest-800));
}

.inner-hero--menu .page-hero-image img {
  object-fit: contain;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .3);
  transform: rotate(-2deg);
}

.inner-hero--menu .page-hero-image:hover img {
  transform: rotate(-1deg) scale(1.015);
}

.inner-hero--menu .inner-hero-caption {
  inset: 1rem 1rem auto auto;
}

.inner-hero--services .page-hero-image img {
  object-position: center 78%;
}

/* --- Shared editorial content rhythm --- */
.inner-workspace {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 95% 8%, var(--inner-page-wash), transparent 22rem),
    #fff;
}

.inner-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
  gap: 2rem clamp(3rem, 8vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(13, 48, 37, .16);
}

.inner-section-head .section-kicker,
.panel-kicker {
  display: block;
  margin-bottom: .8rem;
  color: var(--forest-600);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.inner-section-head h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--forest-950);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.inner-section-head > p {
  max-width: 34rem;
  margin: 0;
  color: #486057;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- Menu: choose first, then order --- */
.page-menu .announcement-banner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  color: rgba(255, 255, 255, .86);
  background: var(--forest-950);
  font-size: .9rem;
  letter-spacing: .01em;
}

.page-menu .banner-phone {
  color: #bde7d6;
}

.page-menu .menu-list-section {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 410px);
  gap: clamp(2.5rem, 7vw, 6rem);
}

.page-menu .menu-category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(13, 48, 37, .2);
  color: var(--forest-950);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -.035em;
}

.page-menu .menu-category-title::before {
  content: "01";
  color: var(--clay-400);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .78em;
  font-style: italic;
}

.page-menu .menu-item-text {
  min-height: 68px;
  margin-bottom: .65rem;
  padding: .9rem 1.1rem;
  border-color: rgba(13, 48, 37, .1);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(13, 48, 37, .035);
}

.page-menu .menu-item-text:hover:not(.is-expired),
.page-menu .menu-item-text:focus-visible:not(.is-expired) {
  border-color: rgba(47, 122, 92, .45);
  background: #fff;
  box-shadow: 0 16px 35px rgba(13, 48, 37, .09);
  transform: translateX(3px);
}

.page-menu .menu-item-text:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--forest-600) 48%, white);
  outline-offset: 3px;
}

.page-menu .add-plus-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  background: #edf5f0;
}

.page-menu .order-sidebar {
  top: 100px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(13, 48, 37, .15);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 143, 149, .13), transparent 17rem),
    #fff;
  box-shadow: var(--experience-shadow);
}

.page-menu .order-sidebar::before {
  content: "02 · Beställ";
  display: block;
  margin-bottom: .65rem;
  color: var(--forest-600);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.page-menu .order-sidebar > h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -.04em;
}

/* --- Accommodation: proof on the left, calm booking on the right --- */
.page-accommodation .accommodation-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.page-accommodation .room-story {
  min-width: 0;
}

.page-accommodation .room-gallery-primary {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 2.5rem;
  overflow: hidden;
  border: 1px solid rgba(13, 48, 37, .13);
  border-radius: 1.5rem 4rem 1.5rem 4rem;
  box-shadow: var(--experience-shadow);
}

.page-accommodation .room-gallery-primary img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 78%;
}

.page-accommodation .room-story h2 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  color: var(--forest-950);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.page-accommodation .room-story > p {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: #486057;
  font-size: 1.08rem;
  line-height: 1.75;
}

.page-accommodation .room-facts {
  margin: 0 0 2rem;
  padding: 1.6rem;
  border: 1px solid rgba(13, 48, 37, .13);
  border-radius: 1.6rem;
  background: var(--cream-100);
}

.page-accommodation .room-facts ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem !important;
}

.page-accommodation .room-facts li {
  min-height: 76px;
  padding: 1rem;
  align-items: flex-start !important;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .68);
  font-size: 1rem !important;
}

.page-accommodation .room-facts li span {
  color: var(--clay-400) !important;
}

.page-accommodation .phone-booking-card {
  padding: 2rem;
  border-radius: 1.75rem;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 143, 149, .35), transparent 15rem),
    var(--forest-950);
  box-shadow: var(--experience-shadow);
  text-align: left;
}

.page-accommodation .phone-booking-card h3 {
  margin-bottom: .6rem;
  color: #fff;
  font-size: 1.65rem;
}

.page-accommodation .phone-booking-card p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, .76);
}

.page-accommodation .phone-booking-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 1.15rem;
  font-weight: 850;
}

.page-accommodation .booking-panel {
  top: 100px !important;
  padding: clamp(1.6rem, 4vw, 2.8rem) !important;
  border: 1px solid rgba(13, 48, 37, .15);
  border-radius: 2.2rem !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(78, 143, 149, .11), transparent 18rem),
    #fff !important;
  box-shadow: var(--experience-shadow);
}

.page-accommodation .booking-panel > h3 {
  margin: 0 0 1rem !important;
  text-align: left !important;
  font-size: clamp(2.25rem, 4vw, 3.5rem) !important;
  line-height: 1 !important;
}

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

.booking-steps li {
  counter-increment: booking-step;
  display: flex;
  align-items: center;
  gap: .45rem;
  color: #5b6f68;
  font-size: .72rem;
  font-weight: 750;
}

.booking-steps li::before {
  content: counter(booking-step);
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest-950);
  background: #e4f1ec;
  font-size: .68rem;
  font-weight: 850;
}

/* --- Services: three distinct routes --- */
.page-services .services-choice-section {
  background:
    radial-gradient(circle at 8% 15%, rgba(78, 143, 149, .08), transparent 22rem),
    var(--cream-100) !important;
}

.page-services .services-grid {
  counter-reset: service-route;
  gap: 1.25rem;
}

.page-services .service-card {
  counter-increment: service-route;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 48, 37, .13) !important;
  border-radius: 2rem !important;
  background: #fff !important;
  box-shadow: 0 18px 50px rgba(13, 48, 37, .08) !important;
}

.page-services .service-card:hover {
  box-shadow: var(--experience-shadow) !important;
  transform: translateY(-5px);
}

.page-services .service-card .card-img-wrapper {
  height: 250px !important;
  overflow: hidden;
}

.page-services .service-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2, .75, .25, 1);
}

.page-services .service-card:first-child .card-img-wrapper img {
  object-position: center 18%;
}

.page-services .service-card:hover .card-img-wrapper img {
  transform: scale(1.035);
}

.page-services .service-card .card-body {
  padding: 1.7rem !important;
}

.service-index {
  display: block;
  margin-bottom: .8rem;
  color: var(--clay-400);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
}

.page-services .service-card h3 {
  margin-bottom: .8rem !important;
  font-size: clamp(1.7rem, 3vw, 2.3rem) !important;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.page-services .service-card p {
  margin-bottom: 1.5rem !important;
}

.page-services .service-card .btn {
  width: 100%;
  margin-top: auto;
}

.page-services .service-card#medlem {
  color: #fff;
  background: var(--forest-950) !important;
}

.page-services .service-card#medlem h3,
.page-services .service-card#medlem p {
  color: #fff !important;
}

.page-services .service-card#medlem p {
  opacity: .76;
}

.page-services .service-card#medlem .btn {
  color: var(--forest-950);
  background: #fff;
  box-shadow: none;
}

.page-services .services-contact-strip {
  padding: clamp(2rem, 5vw, 3.5rem) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 2.2rem !important;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(78, 143, 149, .35), transparent 18rem),
    var(--forest-950) !important;
  box-shadow: var(--experience-shadow);
}

.page-services .services-contact-strip h2,
.page-services .services-contact-strip p {
  color: #fff !important;
}

.page-services .services-contact-strip p {
  opacity: .75;
}

.page-services .services-contact-strip .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
}

.services-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr);
  gap: 2rem clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.services-contact-actions {
  display: grid;
  gap: .75rem;
}

/* --- About: a compact, cinematic history sequence --- */
.page-about .timeline-section {
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 95% 6%, rgba(217, 134, 98, .1), transparent 24rem),
    #fff;
}

.history-cinema {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: .75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 2.6rem;
  color: #fff;
  background:
    radial-gradient(circle at 82% -20%, rgba(78, 143, 149, .36), transparent 32rem),
    var(--forest-950);
  box-shadow: 0 34px 90px rgba(13, 48, 37, .22);
}

.history-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.history-cinema-topbar {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 1.1rem;
}

.history-cinema-topbar p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.history-cinema-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.history-cinema-brand > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay-400);
  box-shadow: 0 0 0 6px rgba(217, 134, 98, .12);
  animation: history-recording-pulse 1.8s ease-in-out infinite;
}

.history-cinema-count {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  font-variant-numeric: tabular-nums;
}

.history-cinema-count [data-history-position] {
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  font-style: italic;
}

.history-stage {
  position: relative;
  display: grid;
  gap: 1rem;
}

.history-stage:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .86);
  outline-offset: 4px;
}

.history-stage::before,
.history-stage::after {
  content: "";
  position: absolute;
  z-index: 8;
  right: 1rem;
  left: 1rem;
  height: 7px;
  pointer-events: none;
  opacity: .48;
  background: repeating-linear-gradient(90deg, transparent 0 15px, rgba(255, 255, 255, .72) 15px 28px, transparent 28px 41px);
}

.history-stage::before { top: 10px; }
.history-stage::after { bottom: 10px; }

.history-scene {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2rem;
  background: #102e25;
}

.history-scene::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 23, .94) 0%, rgba(6, 31, 23, .78) 40%, rgba(6, 31, 23, .25) 72%, rgba(6, 31, 23, .08) 100%),
    linear-gradient(0deg, rgba(6, 31, 23, .42), transparent 45%);
}

.history-scene-media,
.history-scene-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.history-scene-media img {
  object-fit: cover;
  object-position: center;
  will-change: transform, opacity;
}

.history-scene:nth-of-type(4) .history-scene-media img {
  object-position: center 72%;
}

.history-scene:nth-of-type(7) .history-scene-media img {
  object-position: center 32%;
}

.history-scene-year-ghost {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 4vw, 3.5rem);
  bottom: -.1em;
  max-width: 70%;
  overflow: hidden;
  color: rgba(255, 255, 255, .17);
  font-family: var(--font-family-display);
  font-size: clamp(6rem, 15vw, 13rem);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.08em;
  white-space: nowrap;
  will-change: transform, opacity;
}

.history-scene-copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: clamp(2rem, 6vw, 5rem);
  width: min(52%, 39rem);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 1.75rem .85rem 1.75rem .85rem;
  background: rgba(7, 43, 32, .76);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.history-scene-copy > * {
  will-change: transform, opacity;
}

.history-scene-chapter {
  display: block;
  margin-bottom: 1.15rem;
  color: #a8dcc7;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.history-scene-copy time,
.history-scene-time {
  display: block;
  margin-bottom: .45rem;
  color: var(--clay-400);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-style: italic;
  line-height: .9;
  letter-spacing: -.05em;
}

.history-scene-copy h3 {
  max-width: 13ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.history-scene-copy p {
  max-width: 35rem;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  line-height: 1.7;
}

.history-film-sweep {
  position: absolute;
  z-index: 7;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 247, 234, .38), transparent);
  filter: blur(4px);
  transform: translateX(-150%);
  will-change: transform, opacity;
}

.history-direction {
  position: absolute;
  z-index: 9;
  top: 50%;
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 43, 32, .66);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.history-direction:hover {
  color: var(--forest-950);
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.history-direction:focus-visible,
.history-play-toggle:focus-visible,
.history-chapters button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.history-direction svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.history-direction--previous { left: 1.25rem; }
.history-direction--next { right: 1.25rem; }

.history-film-controls {
  position: relative;
  z-index: 5;
  display: none;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding: .9rem .35rem .35rem;
}

.history-play-toggle {
  min-width: 155px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.history-play-toggle:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.history-play-icon {
  position: relative;
  width: 15px;
  height: 16px;
}

.history-play-icon::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.history-play-toggle.is-playing .history-play-icon::before {
  top: 1px;
  left: 2px;
  width: 3px;
  height: 14px;
  border: 0;
  background: currentColor;
  box-shadow: 7px 0 0 currentColor;
}

.history-chapters {
  display: grid;
  grid-template-columns: repeat(7, minmax(78px, 1fr));
  gap: .35rem;
}

.history-chapters button {
  min-width: 0;
  min-height: 50px;
  padding: .55rem .45rem;
  border: 1px solid transparent;
  border-radius: .9rem;
  color: rgba(255, 255, 255, .52);
  background: transparent;
  font: inherit;
  font-size: .66rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.history-chapters button span {
  display: block;
  margin-bottom: .2rem;
  color: rgba(168, 220, 199, .72);
  font-size: .62rem;
  letter-spacing: .12em;
}

.history-chapters button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.history-chapters button[aria-selected="true"] {
  border-color: rgba(168, 220, 199, .34);
  color: #fff;
  background: rgba(47, 122, 92, .32);
}

.history-chapters button[aria-selected="true"] span {
  color: var(--clay-400);
}

.history-film-progress {
  position: relative;
  z-index: 5;
  height: 3px;
  margin: .6rem 1.1rem 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.history-film-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clay-400), #a8dcc7);
  box-shadow: 0 0 14px rgba(217, 134, 98, .42);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.history-film-hint {
  position: relative;
  z-index: 5;
  display: none;
  margin: .75rem 1.1rem .65rem;
  color: rgba(255, 255, 255, .46);
  font-size: .68rem;
  letter-spacing: .02em;
  text-align: center;
}

.history-film-js .history-stage {
  display: block;
  height: clamp(540px, 55vw, 660px);
  overflow: hidden;
  border-radius: 2rem;
  isolation: isolate;
}

.history-film-js .history-scene {
  position: absolute;
  inset: 0;
  min-height: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.history-film-js .history-scene.is-active,
.history-film-js .history-scene.is-leaving {
  visibility: visible;
}

.history-film-js .history-scene.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

.history-film-js .history-scene.is-leaving {
  z-index: 1;
}

.history-film-js .history-direction {
  display: inline-flex;
}

.history-film-js .history-film-controls {
  display: grid;
}

.history-film-js .history-film-hint {
  display: block;
}

.history-film-reduced .history-play-toggle,
.history-film-reduced .history-film-progress {
  display: none;
}

@keyframes history-recording-pulse {
  50% {
    opacity: .52;
    box-shadow: 0 0 0 10px rgba(217, 134, 98, 0);
  }
}

.page-about .history-bridge {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(78, 143, 149, .32), transparent 18rem),
    var(--forest-950);
  box-shadow: var(--experience-shadow);
}

.page-about .about-summary {
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 134, 98, .18), transparent 20rem),
    var(--forest-950);
}

.page-about .about-summary h2,
.page-about .about-summary li {
  color: #fff;
}

.page-about .about-summary p {
  color: rgba(255, 255, 255, .82);
}

.page-about .about-summary p,
.page-about .about-summary li {
  opacity: 1;
}

.page-about .about-summary .about-summary-list li {
  position: relative;
  padding-left: 3.25rem;
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
}

.page-about .about-summary .about-summary-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.35rem;
  width: .65rem;
  height: 2px;
  border-radius: 999px;
  background: var(--clay-400);
  transform: translateY(-50%);
}

.page-about .values-strip {
  background: var(--cream-100);
}

.page-about .values-grid > div {
  border-right-color: rgba(13, 48, 37, .13);
}

.page-about .about-cta-card {
  border: 1px solid rgba(13, 48, 37, .13);
  border-radius: 2.2rem;
  background: #fff;
  box-shadow: var(--experience-shadow);
}

/* --- Contact: a calm letter beside clear wayfinding --- */
.page-contact .contact-choice-head {
  margin-bottom: 1.5rem;
}

.page-contact .contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.page-contact .contact-choice-card {
  position: relative;
  display: flex;
  min-height: 11rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(13, 48, 37, .14);
  border-radius: 1.6rem;
  color: var(--forest-950);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 134, 98, .13), transparent 11rem),
    rgba(255,255,255,.88);
  box-shadow: 0 16px 40px rgba(13,48,37,.07);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.page-contact .contact-choice-card::after {
  content: "→";
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  color: var(--clay-500);
  font-size: 1.35rem;
}

.page-contact .contact-choice-card > span {
  position: absolute;
  top: 1.3rem;
  left: 1.5rem;
  color: var(--forest-600);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.page-contact .contact-choice-card strong {
  font-family: var(--font-family-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.05;
}

.page-contact .contact-choice-card small {
  margin-top: .45rem;
  color: #486057;
  font-size: .88rem;
}

.page-contact .contact-choice-card:hover,
.page-contact .contact-choice-card:focus-visible {
  border-color: rgba(217, 134, 98, .75);
  box-shadow: 0 24px 48px rgba(13,48,37,.12);
  transform: translateY(-4px);
}

.page-contact #skriv,
.page-contact #hitta-hit {
  scroll-margin-top: 6.5rem;
}

.page-contact .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.page-contact .contact-form-panel {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  overflow: hidden;
  border: 1px solid rgba(13, 48, 37, .14);
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 134, 98, .09), transparent 17rem),
    #fff;
  box-shadow: var(--experience-shadow);
}

.page-contact .contact-form-panel > h2 {
  margin-bottom: 2rem !important;
  text-align: left !important;
  font-size: clamp(2rem, 4vw, 3.15rem) !important;
  line-height: 1;
  letter-spacing: -.045em;
}

.page-contact .contact-details {
  padding-top: .5rem;
}

.page-contact .contact-details > h2 {
  max-width: 11ch;
  margin-bottom: 2rem !important;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.page-contact .contact-details .map-container {
  height: 300px !important;
  border: 1px solid rgba(13, 48, 37, .15) !important;
  border-radius: 2rem !important;
  box-shadow: 0 18px 45px rgba(13, 48, 37, .1);
}

.page-contact .contact-welcome-note {
  margin-top: 2rem !important;
  padding: 2rem !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 1.75rem !important;
  color: #fff;
  background: var(--forest-950) !important;
  text-align: left !important;
}

.page-contact .contact-welcome-note p {
  margin: 0;
  color: #fff !important;
}

.page-contact .contact-welcome-note strong {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--font-family-display);
  font-size: 1.35rem;
}

.page-contact .contact-safety-note {
  display: grid;
  grid-template-columns: minmax(190px, .35fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: start;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(13,48,37,.14);
  border-radius: 1.25rem;
  color: var(--forest-850);
  background: rgba(247,244,236,.82);
}

.page-contact .contact-safety-note strong {
  color: var(--forest-950);
}

.page-contact .contact-safety-note p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
}

.page-contact .contact-safety-note a {
  color: var(--forest-850);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--clay-400);
  text-decoration-thickness: 2px;
  text-underline-offset: .2rem;
}

@media (max-width: 1024px) {
  .page-menu .menu-list-section,
  .page-accommodation .accommodation-layout,
  .page-contact .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-menu .order-sidebar,
  .page-accommodation .booking-panel {
    position: static !important;
  }

  .page-accommodation .room-gallery-primary {
    width: min(100%, 44rem);
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  .page-contact .contact-choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-contact .contact-choice-card {
    min-height: 8.5rem;
  }

  .page-contact .contact-safety-note {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 959px) {
  .inner-hero {
    min-height: auto;
  }

  .inner-hero .page-hero-inner,
  .inner-hero .about-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .inner-hero .page-hero-copy,
  .inner-hero .about-hero-copy {
    max-width: 46rem;
  }

  .inner-hero .page-hero-image,
  .inner-hero .about-hero-image {
    width: min(100%, 44rem);
    margin-right: 0;
    aspect-ratio: 16 / 10;
  }

  .inner-hero::after {
    top: 2rem;
    right: 1.5rem;
    writing-mode: horizontal-tb;
    transform: none;
  }

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

  .history-film-js .history-stage {
    height: 620px;
  }

  .history-scene-copy {
    width: min(66%, 39rem);
  }
}

@media (max-width: 768px) {
  .inner-hero {
    padding: 3.5rem 0 4rem;
  }

  .inner-hero::after {
    display: none;
  }

  .inner-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.75rem, 13vw, 4.25rem);
  }

  .inner-hero .page-hero-image,
  .inner-hero .about-hero-image {
    aspect-ratio: 4 / 3;
    border-radius: 2rem 1rem 2rem 1rem;
    transform: none;
  }

  .inner-hero-caption {
    inset: auto .75rem .75rem;
  }

  .inner-hero--menu .page-hero-image {
    padding: 1.25rem clamp(2.5rem, 14vw, 4.5rem);
  }

  .inner-hero--menu .inner-hero-caption {
    inset: .75rem .75rem auto auto;
  }

  .inner-workspace {
    padding: 4rem 0;
  }

  .inner-section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .inner-section-head h2 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  .page-menu .announcement-banner {
    flex-wrap: wrap;
    padding: .75rem 1rem;
    line-height: 1.45;
  }

  .page-menu .menu-item-text {
    gap: .75rem;
    align-items: flex-start;
  }

  .page-menu .menu-item-text > div:first-child {
    min-width: 0;
  }

  .page-menu .item-name {
    overflow-wrap: anywhere;
  }

  .page-accommodation .room-facts ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-accommodation .room-gallery-primary {
    border-radius: 1.25rem 2.5rem 1.25rem 2.5rem;
  }

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

  .page-services .service-card .card-img-wrapper {
    height: 220px !important;
  }

  .history-cinema {
    padding: .55rem;
    border-radius: 1.8rem;
  }

  .history-cinema-topbar {
    min-height: 50px;
    padding-inline: .75rem;
  }

  .history-cinema-brand {
    font-size: .64rem !important;
  }

  .history-film-js .history-stage {
    height: 650px;
    border-radius: 1.45rem;
  }

  .history-scene {
    min-height: 580px;
    border-radius: 1.45rem;
  }

  .history-scene::after {
    background:
      linear-gradient(0deg, rgba(6, 31, 23, .98) 0%, rgba(6, 31, 23, .9) 46%, rgba(6, 31, 23, .18) 80%, rgba(6, 31, 23, .05) 100%),
      linear-gradient(90deg, rgba(6, 31, 23, .18), transparent);
  }

  .history-scene-media img {
    object-position: center 28%;
  }

  .history-scene:nth-of-type(4) .history-scene-media img {
    object-position: center 63%;
  }

  .history-scene:nth-of-type(7) .history-scene-media img {
    object-position: center 20%;
  }

  .history-scene-year-ghost {
    top: 2rem;
    right: .8rem;
    bottom: auto;
    max-width: calc(100% - 1.6rem);
    font-size: clamp(4.2rem, 20vw, 7rem);
  }

  .history-scene-copy {
    top: auto;
    right: .75rem;
    bottom: 1.15rem;
    left: .75rem;
    width: auto;
    padding: 1.35rem;
    border-radius: 1.35rem .65rem 1.35rem .65rem;
    background: rgba(7, 43, 32, .86);
    transform: none;
  }

  .history-scene-chapter {
    margin-bottom: .85rem;
  }

  .history-scene-copy h3 {
    margin-bottom: .75rem;
    font-size: clamp(1.95rem, 8vw, 2.7rem);
  }

  .history-scene-copy p {
    font-size: .94rem;
    line-height: 1.55;
  }

  .history-direction {
    top: 34%;
    width: 44px;
    height: 44px;
  }

  .history-direction--previous { left: .85rem; }
  .history-direction--next { right: .85rem; }

  .history-film-controls {
    grid-template-columns: minmax(0, 1fr);
    padding: .85rem .25rem .25rem;
  }

  .history-play-toggle {
    width: 100%;
  }

  .history-chapters {
    display: flex;
    padding: .2rem .05rem .35rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .history-chapters::-webkit-scrollbar { display: none; }

  .history-chapters button {
    flex: 0 0 96px;
    scroll-snap-align: start;
  }

  .history-film-progress {
    margin-inline: .75rem;
  }

  .history-film-hint {
    margin-inline: .75rem;
  }

  .page-contact .contact-form-panel,
  .page-contact .contact-welcome-note,
  .page-accommodation .booking-panel {
    border-radius: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .inner-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.55rem);
  }

  .inner-hero-accent {
    font-size: .66em;
  }

  .inner-hero .page-hero-image,
  .inner-hero .about-hero-image {
    aspect-ratio: 1 / 1;
  }

  .inner-hero--menu .page-hero-image {
    padding-inline: 3.25rem;
  }

  .history-film-js .history-stage {
    height: 635px;
  }

  .history-scene-copy {
    padding: 1.15rem;
  }

  .history-scene-copy time,
  .history-scene-time {
    font-size: 2.55rem;
  }

  .history-scene-copy h3 {
    font-size: 1.9rem;
  }

  .history-scene-copy p {
    font-size: .89rem;
  }

  .page-menu .order-sidebar,
  .page-accommodation .booking-panel,
  .page-contact .contact-form-panel {
    padding: 1.25rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inner-hero .page-hero-image,
  .inner-hero .about-hero-image,
  .inner-hero .page-hero-image img,
  .inner-hero .about-hero-image img,
  .page-services .service-card,
  .page-services .service-card img,
  .page-menu .menu-item-text,
  .history-scene,
  .history-scene-media img,
  .history-scene-copy > *,
  .history-scene-year-ghost,
  .history-film-sweep,
  .history-film-progress span {
    transform: none !important;
    transition: none !important;
  }

  .history-cinema-brand > span {
    animation: none !important;
  }
}
