:root {
  --ink: #17241f;
  --muted: #69736c;
  --ivory: #fbf8ef;
  --shell: #efe7d7;
  --paper: #fffdf7;
  --olive: #52654a;
  --deep: #14342d;
  --plum: #563448;
  --gold: #b98a4c;
  --sea: #5d9691;
  --line: rgba(23, 36, 31, .14);
  --shadow: 0 24px 70px rgba(20, 52, 45, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px) 16px;
  color: #fff;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled,
.site-header:has(.main-nav.is-open) {
  color: var(--ink);
  background: rgba(251, 248, 239, .94);
  box-shadow: 0 12px 40px rgba(23, 36, 31, .1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 178px;
  justify-self: center;
}

.site-logo {
  display: block;
  width: 148px;
  height: auto;
  max-height: 86px;
  object-fit: contain;
  box-shadow: none;
  filter: none;
}

.site-header.is-scrolled .site-logo,
.site-header:has(.main-nav.is-open) .site-logo {
  box-shadow: none;
}


.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  font-size: 13px;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.top-actions a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
}

.button.primary,
.nav-cta {
  color: #fff;
  border-color: var(--deep);
  background: var(--deep);
}

.site-header:not(.is-scrolled) .nav-cta {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.14);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.14);
}

.button.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.button.full {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding: 140px clamp(22px, 7vw, 96px) 88px;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-media iframe,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: var(--deep);
}

.hero-media img,
.hero-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media iframe {
  border: 0;
  pointer-events: none;
  transform: scale(1.22);
  opacity: 1;
}

.hero-media img {
  filter: saturate(1.08) contrast(1.02);
  object-position: center 58%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 25, 21, .68), rgba(8, 25, 21, .24) 50%, rgba(8, 25, 21, .06)),
    linear-gradient(0deg, rgba(8, 25, 21, .42), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .34);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  font-weight: 500;
}

h1 {
  max-width: 900px;
  font-size: clamp(52px, 8vw, 108px);
}

h2 {
  font-size: clamp(34px, 5vw, 66px);
}

h3 {
  font-size: 28px;
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 34px;
  z-index: 3;
  width: min(360px, calc(100vw - 40px));
  padding: 24px;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(20, 52, 45, .26);
  backdrop-filter: blur(14px);
}

.hero-card span {
  display: block;
  margin-bottom: 8px;
  color: #f5dcb1;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card strong {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
}

.atzaro-hero {
  min-height: 96vh;
}

.atzaro-hero .hero-content {
  max-width: 900px;
}

.statement-block {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 92px;
  text-align: center;
}

.atzaro-explore-head {
  margin-top: 0;
  padding-top: 0;
}

.statement-block h2 {
  max-width: 900px;
  margin: 0 auto;
}

.statement-block p:last-child {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 20px;
}

.atzaro-category-grid {
  display: grid;
  gap: 1px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 110px;
  background: var(--line);
}

.atzaro-category-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  min-height: 520px;
  background: var(--paper);
}

.atzaro-category-card:nth-child(even) {
  grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr);
}

.atzaro-category-card:nth-child(even) img {
  order: 2;
}

.atzaro-category-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.atzaro-category-card div {
  display: grid;
  align-content: center;
  padding: clamp(34px, 6vw, 78px);
}

.atzaro-category-card p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
  font-size: 19px;
}

.editorial-band {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: clamp(34px, 7vw, 86px);
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 70px;
  border-top: 1px solid var(--line);
}

.editorial-band > p {
  color: var(--muted);
  font-size: 20px;
}

.image-rail {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1fr;
  gap: 18px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto 104px;
}

.image-rail figure {
  margin: 0;
}

.image-rail img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.image-rail figure:nth-child(2) img {
  height: 640px;
  margin-top: 58px;
}

.atzaro-split {
  border-top: 1px solid var(--line);
}

.archive-head span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 110px;
  background: var(--line);
}

.archive-card {
  background: var(--paper);
}

.archive-card a {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 28px;
  text-decoration: none;
}

.archive-card span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.1;
}

.archive-card p {
  margin: 0;
  color: var(--muted);
}

.archive-card:hover {
  background: #f4efe4;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 110px;
}

.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.blog-card a {
  display: grid;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}

.blog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8e0d1;
}

.blog-card div {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.blog-card span,
.source-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.05;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.blog-card:hover {
  transform: translateY(-4px);
  transition: transform .24s ease;
}

.blog-body img {
  margin: 34px auto;
}

.source-note {
  margin-top: 46px;
}

.intro-band,
.split-story,
.section-head,
.page-river,
.contact-grid,
.content-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 7vw, 86px);
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}

.intro-band > p {
  margin: 28px 0 0;
  font-size: 20px;
  color: var(--muted);
}

.feature-grid,
.event-grid {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 40px 0 96px;
}

.feature-grid article {
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fffdf7, #f4efe4);
}

.feature-grid p:last-child,
.event-card p,
.page-river small,
.content-body,
.booking-panel,
.contact-grid p {
  color: var(--muted);
}

.split-story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(34px, 8vw, 92px);
  padding: 96px 0;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.image-stack img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  grid-row: span 2;
  height: 634px;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--plum);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 82px 0 28px;
  border-top: 1px solid var(--line);
}

.event-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 96px;
}

.event-grid.wide {
  padding-top: 64px;
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 52, 45, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.event-card a {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.event-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.event-card div {
  padding: 25px;
}

.event-card span {
  color: var(--sea);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.event-card h3 {
  margin-top: 8px;
  font-size: 25px;
}

.event-card p {
  margin-bottom: 0;
}

.event-card,
.feature-grid article,
.booking-panel,
.install-card,
.admin-cards article,
.admin-panel {
  border-radius: 2px;
}

.page-river {
  padding: 82px 0 110px;
}

.page-river h2 {
  max-width: 780px;
}

.page-river .eyebrow {
  color: var(--sea);
}

.river-list a:hover,
.main-nav a:hover,
.text-link:hover {
  color: var(--gold);
}

.river-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
}

.river-list a {
  display: grid;
  gap: 8px;
  padding: 26px;
  text-decoration: none;
  background: var(--ivory);
}

.river-list span {
  font-family: Georgia, serif;
  font-size: 25px;
}

.page-hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 72vh;
  padding: 150px clamp(22px, 7vw, 96px) 76px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 28, 24, .76), rgba(12, 28, 24, .34)),
    var(--hero-image) var(--hero-position, center center) / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(0deg, rgba(251,248,239,1), rgba(251,248,239,0));
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero.compact {
  min-height: 54vh;
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  font-size: 20px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  padding: 78px 0 110px;
  align-items: start;
}

.content-layout.single {
  grid-template-columns: minmax(0, 820px);
}

.content-body {
  font-size: 18px;
}

.content-body p,
.content-body li {
  max-width: 820px;
}

.content-body p:first-child {
  font-size: 21px;
  color: var(--ink);
}

.content-body:empty::before {
  content: "Details are being prepared. Please contact Kathy's Island Retreat for current information and availability.";
}

.content-body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 680px;
  margin: 24px 0;
  object-fit: contain;
}

.content-body h2,
.content-body h3 {
  color: var(--ink);
  margin-top: 34px;
}

.rooms-intro,
.rooms-showcase,
.rooms-collection,
.rooms-gallery-band,
.rooms-note {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.rooms-intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 7vw, 86px);
  align-items: end;
  padding: 100px 0 76px;
  border-bottom: 1px solid var(--line);
}

.rooms-intro p:last-child,
.rooms-showcase p,
.rooms-collection p,
.rooms-note p {
  color: var(--muted);
  font-size: 19px;
}

.rooms-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
  padding: 82px 0;
}

.rooms-showcase figure {
  margin: 0;
}

.rooms-showcase img,
.rooms-collection img,
.rooms-gallery-band img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--shell);
}

.rooms-showcase img {
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

.rooms-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0;
  background: var(--line);
}

.rooms-facts span {
  padding: 16px 18px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
}

.rooms-collection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  margin-bottom: 92px;
}

.rooms-collection article {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper);
}

.rooms-collection img {
  height: 390px;
}

.rooms-collection article:nth-child(2) img {
  object-position: center 46%;
}

.rooms-collection div {
  padding: clamp(26px, 4vw, 44px);
}

.rooms-collection span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rooms-collection h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.rooms-gallery-band {
  display: grid;
  grid-template-columns: 1.2fr .82fr 1fr;
  gap: 18px;
  padding-bottom: 96px;
}

.rooms-gallery-band img {
  height: 500px;
}

.rooms-gallery-band img:nth-child(2) {
  height: 620px;
  object-position: center 45%;
}

.rooms-note {
  padding: 84px 0 112px;
  border-top: 1px solid var(--line);
}

.rooms-note h2 {
  max-width: 780px;
}

.rooms-note p {
  max-width: 780px;
}

.about-intro,
.about-split,
.about-band,
.about-grid,
.about-values,
.about-cta {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.about-intro {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(34px, 7vw, 90px);
  padding: 88px 0 70px;
  align-items: end;
}

.about-intro h2,
.about-band h2,
.about-values h2,
.about-cta h2 {
  margin: 0;
}

.about-intro > p,
.about-band > p,
.about-values > p,
.about-cta > p {
  color: var(--muted);
  font-size: 20px;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
  padding: 70px 0;
}

.about-split.reverse {
  grid-template-columns: .9fr 1fr;
}

.about-split.reverse figure {
  order: 2;
}

.about-split figure {
  margin: 0;
}

.about-split img,
.about-grid img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.about-split img {
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
}

.about-split h2,
.about-grid h2 {
  margin-top: 0;
}

.about-split p:not(.eyebrow),
.about-grid p:not(.eyebrow),
.about-values li {
  color: var(--muted);
  font-size: 18px;
}

.about-band {
  padding: 82px clamp(24px, 6vw, 82px);
  margin-block: 36px 74px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 52, 45, .92), rgba(20, 52, 45, .72)),
    url("../media/IMG_2272-1024x683.jpeg") center 56% / cover no-repeat;
}

.about-band .eyebrow,
.about-band p {
  color: rgba(255, 255, 255, .84);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: rgba(255, 255, 255, .24);
}

.about-stats span {
  display: grid;
  gap: 4px;
  padding: 24px;
  background: rgba(255, 255, 255, .1);
}

.about-stats strong {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 86px;
  background: var(--line);
}

.about-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
}

.about-grid img {
  aspect-ratio: 16 / 11;
}

.about-grid article > div {
  padding: clamp(26px, 4vw, 48px);
}

.about-values {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: clamp(34px, 6vw, 78px);
  padding: 76px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-values ul {
  grid-column: 2;
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.about-cta {
  padding: 88px clamp(24px, 6vw, 90px);
  margin-block: 56px 110px;
  text-align: center;
  background: linear-gradient(145deg, #fffdf7, #efe7d7);
}

.about-cta p {
  max-width: 760px;
  margin-inline: auto;
}

.about-cta div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.booking-panel {
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.booking-panel h2 {
  font-size: 30px;
}

.booking-page {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(34px, 7vw, 86px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 112px;
}

.booking-page > div:first-child {
  align-self: start;
  position: sticky;
  top: 118px;
}

.booking-page p {
  color: var(--muted);
  font-size: 19px;
}

.room-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.room-choice-list span {
  padding: 18px;
  background: var(--paper);
  font-weight: 800;
}

.booking-form {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.booking-modal:target {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 21, .62);
  backdrop-filter: blur(10px);
}

.booking-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  padding: clamp(24px, 5vw, 46px);
  background: var(--ivory);
  box-shadow: 0 30px 90px rgba(8, 25, 21, .32);
}

.booking-dialog .booking-form {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.modal-intro {
  color: var(--muted);
  font-size: 19px;
}

.masonry-gallery {
  columns: 3 280px;
  column-gap: 18px;
  width: min(1240px, calc(100% - 40px));
  margin: 64px auto 110px;
}

.masonry-gallery figure {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  background: var(--paper);
  overflow: hidden;
}

.masonry-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .7s ease, filter .7s ease;
}

.masonry-gallery figure:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.035);
}

.masonry-gallery .tall img {
  aspect-ratio: 3 / 4;
}

.masonry-gallery figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 58px;
  padding: 82px 0 110px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

.enquiry-form,
.editor-form {
  display: grid;
  gap: 18px;
}

.site-footer {
  padding: 70px clamp(22px, 6vw, 80px) 34px;
  color: #f8f1df;
  background: var(--deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 38px;
}

.footer-logo {
  width: 108px;
  height: auto;
  margin: 0 0 20px;
  background: transparent;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .2));
}

.footer-mark {
  max-height: 108px;
  object-fit: contain;
}

.site-footer h2 {
  font-size: 40px;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.site-footer a {
  display: block;
  color: #f8f1df;
  text-decoration: none;
  opacity: .88;
}

.footer-bottom {
  margin: 42px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.66);
}

.install-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(20,52,45,.46), rgba(20,52,45,.46)),
    url("../media/Kathy_NorweigenG-13-1200-x-1800.jpg") center / cover;
}

.install-card {
  width: min(520px, 100%);
  padding: 36px;
  background: rgba(251,248,239,.94);
  box-shadow: var(--shadow);
}

.notice {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--shell);
}

.notice.success {
  border-color: rgba(82,101,74,.35);
  background: rgba(82,101,74,.12);
}

.notice.error {
  border-color: rgba(86,52,72,.35);
  background: rgba(86,52,72,.12);
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  background: #f7f1e6;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  color: #fff;
  background: var(--deep);
}

.admin-brand {
  min-width: 0;
  margin-bottom: 30px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a {
  padding: 10px 12px;
  text-decoration: none;
  background: rgba(255,255,255,.08);
}

.admin-main {
  padding: 34px clamp(24px, 4vw, 54px) 60px;
}

.admin-top {
  margin-bottom: 26px;
}

.admin-top h1 {
  font-size: 48px;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.admin-cards article,
.admin-panel {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 35px rgba(20,52,45,.08);
}

.admin-cards span {
  color: var(--muted);
}

.admin-cards strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 42px;
}

.panel-head,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

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

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.admin-media-grid figure {
  margin: 0;
  background: var(--ivory);
}

.admin-media-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.admin-media-grid figcaption {
  padding: 10px;
}

.admin-media-grid input {
  font-size: 12px;
}

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

  .top-actions {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-top: 8px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 112px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .site-header:not(.is-scrolled) .main-nav .nav-cta {
    border-color: var(--deep);
    background: var(--deep);
  }

  .hero {
    min-height: 88vh;
    padding-bottom: 150px;
  }

  .hero-card {
    left: 20px;
    right: auto;
  }

  .intro-band,
  .split-story,
  .editorial-band,
  .rooms-intro,
  .rooms-showcase,
  .about-intro,
  .about-split,
  .about-split.reverse,
  .about-values,
  .booking-page,
  .content-layout,
  .contact-grid,
  .footer-grid,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .event-grid,
  .blog-grid,
  .river-list,
  .archive-grid,
  .rooms-collection,
  .rooms-gallery-band,
  .about-grid,
  .about-stats,
  .room-choice-list,
  .admin-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .atzaro-category-card,
  .atzaro-category-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .atzaro-category-card:nth-child(even) img {
    order: 0;
  }

  .atzaro-category-card,
  .atzaro-category-card img {
    min-height: 0;
  }

  .atzaro-category-card img {
    height: 360px;
  }

  .image-rail {
    grid-template-columns: 1fr;
  }

  .image-rail img,
  .image-rail figure:nth-child(2) img {
    height: auto;
    margin-top: 0;
    aspect-ratio: 4 / 3;
  }

  .rooms-collection img,
  .rooms-gallery-band img,
  .rooms-gallery-band img:nth-child(2),
  .about-split img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .about-split.reverse figure,
  .about-values ul {
    order: 0;
    grid-column: auto;
  }

  .about-intro,
  .about-split,
  .about-values {
    padding-block: 54px;
  }

  .about-band,
  .about-cta {
    padding: 54px 24px;
  }

  .booking-page > div:first-child {
    position: static;
  }

  .booking-dialog {
    max-height: 92vh;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }
}

@media (max-width: 1320px) and (min-width: 961px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    gap: 16px;
    padding-inline: 28px;
  }

  .brand {
    justify-self: start;
    min-width: 0;
  }

  .site-logo {
    width: 108px;
  }

  .top-actions {
    gap: 14px;
    font-size: 11px;
  }

  .main-nav {
    gap: 16px;
    font-size: 12px;
  }

  .nav-cta {
    padding: 0 18px;
  }
}

@media (max-width: 620px) {
  .top-actions {
    justify-content: flex-start;
    font-size: 11px;
  }

  .brand small {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .site-logo {
    width: 118px;
  }

  .hero-media iframe {
    transform: scale(1.55);
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img,
  .image-stack img:first-child {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .section-head,
  .panel-head,
  .form-actions {
    align-items: start;
    flex-direction: column;
  }
}
