:root {
  --bg: #f6f6f6;
  --surface: #fff;
  --text: #161616;
  --muted: #737373;
  --primary: hsl(35, 60%, 65%);
  --primary-soft: hsl(33, 67%, 93%);
  --secondary: hsl(0, 45%, 63%);
  --secondary-soft: #f5eeee;
  --border: #e8e2d7;
  --container: 1280px;
  --serif: "Playfair Display", Georgia, serif;
  --shadow-soft: 0 18px 55px rgba(50, 40, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--bg);
  font-family: var(--brand-font, Sora, sans-serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.16;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--text);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 30;
  background: #fff;
}

.site-header .container {
  width: min(1366px, calc(100% - 56px));
}

.nav-wrap {
  display: flex;
  align-items: center;
  padding-block: clamp(13px, calc(0.67vw + 10.7px), 20px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, calc(0.36vw + 9px), 14px);
  border-radius: 4px;
  background: var(--primary);
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: clamp(44px, calc(4.58vw + 16.6px), 79px);
  object-fit: contain;
}

.footer-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, calc(0.36vw + 9px), 14px);
  border-radius: 4px;
  background: var(--primary);
  text-decoration: none;
}

.footer-logo img {
  display: block;
  width: auto;
  height: clamp(44px, calc(4.58vw + 16.6px), 79px);
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, calc(1.15vw + 12.3px), 28px);
  margin-left: clamp(20px, calc(1.87vw + 14px), 40px);
}

.desktop-nav a {
  padding: 6px 0;
  color: #000;
  font-size: clamp(13px, calc(-0.07vw + 14.4px), 14px);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 18px);
  margin-left: auto;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: clamp(12px, calc(1.15vw + 12.3px), 28px);
  color: #000;
  font-size: clamp(13px, calc(-0.07vw + 14.4px), 14px);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.phone-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.phone-link:hover,
.phone-link:focus-visible {
  color: var(--primary);
}

.booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: clamp(10px, calc(0.36vw + 9px), 14px) clamp(18px, calc(1.15vw + 12.3px), 28px);
  border: 1px solid var(--secondary);
  border-radius: 4px;
  color: #000;
  background: var(--secondary);
  font-size: clamp(13px, calc(-0.07vw + 14.4px), 14px);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.booking-button:hover,
.booking-button:focus-visible {
  color: #000;
  background: hsl(0, 45%, 57%);
}

.language-menu {
  display: none;
  position: relative;
  z-index: 40;
}

.language-menu summary {
  min-width: 54px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid hsl(34, 64%, 79%);
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary:hover,
.language-menu summary:focus-visible,
.language-menu[open] summary {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.language-menu summary svg {
  width: 11px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.language-menu[open] summary svg {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 176px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid hsl(34, 64%, 79%);
  border-radius: 4px;
  background: #fff;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.08);
}

.language-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.language-options a:hover,
.language-options a:focus-visible {
  background: hsl(34, 67%, 86%);
}

.language-options a.active {
  color: #6f5423;
  background: var(--primary-soft);
}

.language-options small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  width: 48px;
  height: 48px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 9px;
  border: 0;
  border-radius: 4px;
  background: #000;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 100%;
  height: 1px;
  display: block;
  background: #fff;
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  width: min(340px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 4px;
  color: #fff;
  background: var(--text);
  box-shadow: var(--shadow-soft);
}

.mobile-menu nav a {
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu nav .booking-button {
  margin-top: 14px;
  border-bottom: 1px solid var(--secondary);
  color: #000;
}

main {
  flex: 1;
}

main.container {
  padding-top: 52px;
  padding-bottom: 96px;
}

.page-intro {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 34px;
  padding: clamp(42px, 8vw, 92px);
  border-radius: 0 0 86px 0;
  background:
    radial-gradient(circle at 85% 0, rgba(196, 167, 96, 0.28), transparent 36%),
    linear-gradient(120deg, #f5eeee 0%, #f9f4ec 100%);
}

.page-intro::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  background: var(--primary);
  content: "";
}

.page-intro-content {
  position: relative;
  z-index: 1;
  width: min(760px, 75%);
}

.eyebrow {
  margin: 0 0 14px;
  color: #9d8350;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.page-intro h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(46px, 7vw, 84px);
  letter-spacing: -0.035em;
}

.intro-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #595959;
  font-size: clamp(16px, 1.6vw, 19px);
}

.intro-ornament {
  position: absolute;
  right: clamp(24px, 8vw, 110px);
  width: clamp(100px, 15vw, 180px);
  color: var(--primary);
  fill: currentColor;
  opacity: 0.72;
}

.posts-section {
  margin-bottom: 38px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
  align-items: stretch;
}

.post-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0 0 42px 0;
  background: var(--surface);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.post-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.post-card-media-link {
  display: block;
  overflow: hidden;
}

.post-cover {
  width: 100%;
  height: 255px;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .post-cover {
  transform: scale(1.025);
}

.post-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 26px 28px;
}

.post-card h2,
.post-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 31px);
}

.post-title-link {
  text-decoration: none;
  transition: color 180ms ease;
}

.post-title-link:hover,
.post-title-link:focus-visible {
  color: #9b7d35;
}

.post-date,
.post-meta {
  margin: 0;
  color: #9a8050;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.post-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.read-more span {
  transition: transform 180ms ease;
}

.read-more:hover span {
  transform: translateX(4px);
}

.empty-state,
.error-page {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 0 0 48px 0;
  background: var(--secondary-soft);
  text-align: center;
}

.empty-state h2,
.error-page h1 {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 52px);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 46px 0 0;
}

.page-link {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.page-link:hover,
.page-link.active {
  border-color: var(--primary);
  background: var(--primary);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a {
  color: #8a6e31;
  font-weight: 500;
  text-decoration: none;
}

.post-article {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0 0 74px 0;
  background: var(--surface);
  box-shadow: 0 20px 70px rgba(50, 40, 25, 0.05);
}

.article-header {
  padding: clamp(36px, 6vw, 76px) clamp(24px, 7vw, 92px) 0;
}

.article-header-copy {
  max-width: 900px;
  margin-inline: auto;
}

.article-header h1 {
  margin: 20px 0;
  font-size: clamp(42px, 6.5vw, 76px);
  letter-spacing: -0.035em;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 12px;
}

.article-byline strong {
  color: var(--text);
  font-weight: 500;
}

.article-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #555;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
}

.post-cover-large {
  width: 100%;
  max-height: 680px;
  display: block;
  margin-top: clamp(34px, 5vw, 62px);
  object-fit: cover;
}

.post-article-body {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(38px, 6vw, 78px) clamp(24px, 4vw, 50px) clamp(52px, 8vw, 96px);
}

.post-content {
  color: #383838;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 20px);
  line-height: 1.85;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin: 1.8em 0 0.65em;
  color: var(--text);
}

.post-content h2 {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border);
  font-size: clamp(30px, 4vw, 44px);
}

.post-content h3 {
  font-size: clamp(25px, 3vw, 34px);
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content table,
.post-content figure {
  margin: 0 0 1.35em;
}

.post-content ul,
.post-content ol {
  padding-left: 1.45em;
}

.post-content li {
  padding-left: 0.25em;
}

.post-content li::marker {
  color: var(--primary);
}

.post-content a {
  color: #8a6e31;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.post-content hr {
  margin: 2.5em 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.post-content > *:first-child {
  margin-top: 0;
}

.post-content > *:last-child {
  margin-bottom: 0;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0 0 38px 0;
}

.post-content iframe,
.post-content table,
.post-content pre {
  max-width: 100%;
}

.post-content table {
  width: 100%;
  border: 1px solid var(--border);
  border-spacing: 0;
  border-collapse: collapse;
  background: var(--surface);
  font-family: var(--brand-font, Sora, sans-serif);
  font-size: 14px;
}

.post-content th,
.post-content td {
  padding: 14px 16px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.post-content th {
  background: var(--primary-soft);
  font-weight: 600;
}

.post-content code {
  padding: 0.12em 0.35em;
  border-radius: 3px;
  color: var(--code-text);
  background: var(--code-bg);
  font-size: 0.85em;
}

.post-content pre {
  overflow-x: auto;
  padding: 20px;
  color: var(--code-text);
  background: var(--code-bg);
}

.post-content pre code {
  padding: 0;
  background: transparent;
}

.post-content blockquote {
  margin: 2em 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--primary);
  color: #5d5d5d;
  font-size: 1.18em;
  font-style: italic;
}

.post-content blockquote > :last-child {
  margin-bottom: 0;
}

.post-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--brand-font, Sora, sans-serif);
  font-size: 12px;
  text-align: center;
}

.related-posts {
  margin-top: 68px;
}

.related-posts > h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 4vw, 52px);
}

.site-footer {
  margin-top: auto;
  padding: 64px 0 24px;
  background: var(--secondary-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) repeat(2, minmax(160px, 0.7fr));
  gap: clamp(34px, 6vw, 82px);
  padding-bottom: 52px;
}

.footer-brand {
  max-width: 580px;
}

.footer-brand > p {
  max-width: 560px;
  margin: 22px 0;
  color: #606060;
  font-size: 14px;
}

.footer-logo img {
  width: auto;
}

.footer-column h2 {
  margin: 13px 0 19px;
  font-family: var(--brand-font, Sora, sans-serif);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-column nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column a,
.footer-contact > a {
  color: #555;
  font-size: 13px;
  text-decoration: none;
}

.footer-column a:hover {
  color: #8a6e31;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact p {
  margin: 15px 0 0;
  color: #555;
  font-size: 13px;
}

.footer-contact p span {
  display: block;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 22, 22, 0.16);
  border-radius: 50%;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-links a:hover {
  border-color: var(--primary);
  color: var(--text);
  background: var(--primary);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(22, 22, 22, 0.12);
}

.footer-bottom small,
.footer-bottom a {
  color: var(--muted);
  font-size: 11px;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--text);
  text-decoration: underline;
}

button,
.button {
  border: 1px solid var(--secondary);
  border-radius: 0 0 18px 0;
  color: #fff;
  background: var(--secondary);
  padding: 11px 18px;
  font: 600 12px/1.2 var(--brand-font, Sora, sans-serif);
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .phone-link {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    background: transparent;
  }

  .mobile-menu summary span {
    width: 24px;
    height: 2px;
    margin-inline: auto;
    background: #000;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header .container {
    width: calc(100% - 32px);
  }

  .nav-wrap {
    gap: 8px;
  }

  .brand img {
    width: auto;
    height: 44px;
  }

  .brand {
    padding: 10px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions > .booking-button {
    min-height: 50px;
    gap: 12px;
    padding: 12px 17px;
    color: #fff;
    font-size: 15px;
  }

  .nav-actions > .booking-button:hover,
  .nav-actions > .booking-button:focus-visible {
    color: #fff;
  }

  .mobile-menu summary {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  main.container {
    padding-top: 24px;
    padding-bottom: 64px;
  }

  .page-intro {
    min-height: 410px;
    align-items: flex-end;
    padding: 42px 28px 52px;
    border-radius: 0 0 52px 0;
  }

  .page-intro-content {
    width: 100%;
  }

  .page-intro h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .intro-ornament {
    top: 30px;
    right: 28px;
    width: 92px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-cover {
    height: min(64vw, 320px);
  }

  .post-card-content {
    padding: 22px;
  }

  .post-card h2,
  .post-card h3 {
    font-size: 28px;
  }

  .article-header {
    padding-right: 22px;
    padding-left: 22px;
  }

  .article-header h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .post-article-body {
    padding-right: 22px;
    padding-left: 22px;
  }

  .post-content table {
    display: block;
    overflow-x: auto;
  }

  .related-posts {
    margin-top: 48px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom nav {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
