:root {
  --chalk: #f7f2e9;
  --cream: #efe3d0;
  --linen: #fbf8f1;
  --stone: #b9aa98;
  --timber: #a75a2a;
  --terracotta: #bd5634;
  --sea-glass: #a9c7c4;
  --deep-sea: #264b55;
  --ink: #26211d;
  --charcoal: #37302b;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(38, 33, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--linen);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(23, 20, 17, 0.78), rgba(23, 20, 17, 0.52) 58%, rgba(23, 20, 17, 0));
  backdrop-filter: blur(8px);
}

.brand {
  display: grid;
  gap: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.brand span {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(0.98rem, 1.75vw, 1.42rem);
  font-weight: 700;
}

.brand small {
  margin-top: 4px;
  padding-left: 6px;
  font-size: 0.72rem;
}

nav {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a.active,
nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

nav a.active {
  text-decoration-thickness: 3px;
  font-weight: bold;
}

.aperture {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.aperture::before {
  content: none;
}

.aperture-hero {
  place-items: end start;
  background-image: url("assets/web/carols-cottage-07.jpg");
}

.aperture-abbey {
  place-items: center start;
  background-image: url("assets/web/carols-cottage-06.jpg");
}

.aperture-kitchen {
  place-items: center end;
  background-image: url("assets/web/carols-cottage-27.jpg");
}

.aperture-window {
  place-items: center start;
  background-image: url("assets/web/carols-cottage-25.jpg");
}

.page-hero {
  place-items: end start;
}

.hero-copy,
.aperture-panel {
  position: relative;
  z-index: 2;
  width: min(650px, calc(100% - 36px));
  margin: 0 clamp(18px, 8vw, 110px) clamp(42px, 9vw, 110px);
  color: var(--white);
}

.hero-copy {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  border-left: 4px solid var(--terracotta);
  background: rgba(29, 25, 21, 0.52);
  backdrop-filter: blur(3px);
}

.hero-copy h1,
.aperture-panel h2 {
  margin: 0;
  font-family: "Alegreya Sans", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 700;
  line-height: 0.88;
  text-wrap: balance;
}

.page-hero .hero-copy h1 {
  max-width: 920px;
  font-size: clamp(3.8rem, 8vw, 8rem);
}

.hero-copy p {
  max-width: 570px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.eyebrow,
.aperture-panel span {
  display: block;
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.aperture-panel span {
  color: var(--cream);
}

.hero-actions,
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  color: var(--white);
  border-color: var(--terracotta);
  background: var(--terracotta);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary {
  color: var(--deep-sea);
  background: var(--white);
}

.section {
  padding: clamp(72px, 9vw, 130px) clamp(18px, 5vw, 70px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(32px, 6vw, 90px);
}

h2,
h3 {
  margin: 0;
  font-family: "Alegreya Sans", "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.02;
}

.section h2,
.booking-card h2 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  text-wrap: balance;
}

.copy-stack p,
.details-layout p,
.booking-card p {
  margin: 0 0 18px;
  color: #554b43;
}

.intro-section {
  background: var(--chalk);
}

.rooms-section {
  background: var(--linen);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 60px);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.room-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.room-grid div {
  padding: 22px;
}

.room-grid h3 {
  font-size: 1.55rem;
}

.room-grid p {
  margin: 12px 0 0;
  color: #62574d;
  font-size: 0.95rem;
}

.feature-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-links a {
  display: grid;
  overflow: hidden;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-links img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-links span {
  display: block;
  padding: 24px 24px 0;
  color: var(--deep-sea);
  font-family: "Alegreya Sans", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
}

.feature-links p {
  margin: 0;
  padding: 12px 24px 26px;
  color: #62574d;
}

.aperture-panel {
  max-width: 540px;
  margin-bottom: 0;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 8px;
  border-left: 4px solid var(--terracotta);
  background: rgba(29, 25, 21, 0.52);
  backdrop-filter: blur(3px);
}

.aperture-panel.align-right {
  margin-left: auto;
}

.aperture-panel h2 {
  max-width: 460px;
  font-size: clamp(2.4rem, 4.4vw, 5rem);
  line-height: 1.27;
}

.details-section {
  background: linear-gradient(120deg, var(--deep-sea), #20373d);
  color: var(--white);
}

.details-section .eyebrow {
  color: var(--sea-glass);
}

.details-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.details-layout p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
}

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

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

.feature-columns li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.review-band {
  padding: clamp(64px, 8vw, 105px) clamp(18px, 5vw, 70px);
  color: var(--ink);
  background: var(--sea-glass);
}

.score {
  margin: 0 0 28px;
  font-family: "Alegreya Sans", "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

blockquote {
  margin: 0;
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

blockquote p {
  margin: 0 0 18px;
}

cite {
  color: var(--deep-sea);
  font-style: normal;
  font-weight: 800;
}

.gallery-section {
  background: var(--chalk);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.gallery img:nth-child(1),
.gallery img:nth-child(6) {
  grid-column: span 2;
}

.booking-section {
  padding: clamp(76px, 10vw, 140px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(rgba(247, 242, 233, 0.88), rgba(247, 242, 233, 0.88)),
    url("assets/web/carols-cottage-09.jpg") center / cover;
}

.booking-card {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 64px);
  border-radius: 8px;
  background: var(--linen);
  box-shadow: var(--shadow);
}

.contact-section {
  background: var(--linen);
}

.map-section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 5vw, 70px);
  background: var(--chalk);
}

.map-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--stone);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(360px, 56vw, 560px);
  border: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.contact-card {
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card.muted {
  background: var(--chalk);
}

.contact-card h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.8rem);
}

.contact-card p {
  margin: 18px 0 0;
  color: #554b43;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(38, 33, 29, 0.16);
}

.site-footer {
  padding: 42px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--charcoal);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer-contact {
  display: grid;
  gap: 3px;
}

.footer-contact h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-contact p {
  margin: 0;
  line-height: 1.45;
}

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

.footer-social {
  display: flex;
  gap: 12px;
  padding-top: 4px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease;
}

.footer-social a:hover {
  border-color: var(--sea-glass);
  background: rgba(255, 255, 255, 0.08);
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-social a:last-child svg {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 980px) {
  .split,
  .details-layout,
  .reviews,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .room-grid,
  .gallery,
  .feature-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  nav {
    max-width: 235px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.68rem;
  }

  .aperture {
    min-height: 100svh;
    background-attachment: scroll;
  }

  .aperture-hero {
    background-position: 58% center;
  }

  .hero-copy {
    margin-bottom: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(4rem, 18vw, 6.5rem);
  }

  .room-grid,
  .gallery,
  .feature-columns,
  .feature-links {
    grid-template-columns: 1fr;
  }

  .gallery img:nth-child(1),
  .gallery img:nth-child(6) {
    grid-column: auto;
  }

  .gallery img {
    min-height: 340px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
