:root {
  --bg: #232120;
  --bg-deep: #1a1817;
  --card: #e9e3de;
  --card-dark: #b7a99d;
  --text: #f3ede7;
  --text-dark: #2e2926;
  --muted: #c3b4a8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #c98c45;
  --accent-soft: #b8a79b;
  --shell: min(1280px, calc(100% - 48px));
  --shell-narrow: min(1120px, calc(100% - 48px));
  --ease: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell--narrow {
  width: var(--shell-narrow);
}

.section--dark {
  background: var(--bg);
}

.section--light {
  background: var(--card);
  color: var(--text-dark);
}

.section-title {
  margin: 0 0 40px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.3rem, 6vw, 5.8rem);
  line-height: 0.95;
  font-weight: 500;
  color: #c7b7ac;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition:
    background-color var(--ease),
    color var(--ease),
    border-color var(--ease),
    transform var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.button--light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button--soft {
  color: #fff;
  border-color: var(--accent-soft);
  background: var(--accent-soft);
}

.button--soft:hover {
  background: #a39286;
  border-color: #a39286;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(33, 31, 30, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 66px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav--right {
  justify-content: flex-end;
}

.nav__link {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: #ddc8b1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 0;
  color: #f4ebe1;
}

.brand__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.brand__subtitle {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px auto;
  background: #fff;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-toggle.is-open span:first-child {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 24px 24px;
  background: rgba(33, 31, 30, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a {
  padding: 12px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.mobile-nav.is-open {
  display: flex;
}

/* Hero */
.blog-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.blog-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 17, 0.48);
}

.blog-hero__frame {
  position: relative;
  z-index: 2;
  padding: 12px;
}

.blog-hero__frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.blog-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 696px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: center;
  padding: 40px 48px;
}

.blog-hero__card img {
  height: 500px;
  object-fit: cover;
}

.blog-hero__content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}

.blog-hero__content h1 {
  margin: 0;
  justify-self: end;
  text-align: right;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 0.93;
  font-weight: 500;
  color: #f0e7df;
}

.blog-hero__categories {
  justify-self: end;
  margin-top: 170px;
  text-align: right;
}

.blog-hero__categories h2 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
}

.blog-hero__categories ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-hero__categories li {
  margin-bottom: 10px;
}

.blog-hero__categories a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

/* Featured */
.featured-posts {
  padding: 70px 0 90px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.post-card a {
  display: block;
}

.post-card img {
  height: 290px;
  object-fit: cover;
  margin-bottom: 14px;
}

.post-card__category {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.post-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.97;
  font-weight: 500;
  color: #f3e9df;
}

/* Recent */
.recent-posts {
  padding: 70px 0 0;
}

.recent-posts__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.recent-posts__feature img {
  height: 650px;
  object-fit: cover;
}

.recent-posts__side h2 {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.95;
  font-weight: 500;
  color: #9f8c7e;
}

.recent-posts__side img {
  height: 440px;
  object-fit: cover;
}

.recent-posts__headline {
  padding: 40px 0 30px;
}

.recent-posts__headline h3 {
  margin: 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.7rem);
  line-height: 0.95;
  font-weight: 500;
  color: #2f2a27;
}

.recent-posts__highlight {
  position: relative;
  padding: 10px 0 70px;
}

.highlight-image img {
  width: min(100%, 760px);
  height: 610px;
  object-fit: cover;
}

.highlight-card {
  position: absolute;
  right: 30px;
  top: 95px;
  width: min(100%, 420px);
  padding: 48px 38px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  border: 1px solid rgba(46, 41, 38, 0.2);
}

.highlight-card__kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.highlight-card h4 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 0.95;
  font-weight: 500;
}

.highlight-card p {
  margin: 0 0 20px;
  color: #57504b;
}

.highlight-card__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d7766;
}

.recent-posts__pagination {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(46, 41, 38, 0.25);
  border-bottom: 1px solid rgba(46, 41, 38, 0.25);
  background: var(--card-dark);
}

.recent-posts__pagination a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

/* Guide box */
.guide-box {
  padding: 90px 0;
}

.guide-box__inner {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  background: #fff;
  color: var(--text-dark);
}

.guide-box__content {
  padding: 48px 44px;
}

.guide-box__kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8d7766;
}

.guide-box__content h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 0.95;
  font-weight: 500;
}

.guide-box__content p {
  margin: 0 0 22px;
  color: #57504b;
}

.guide-box__image img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* CTA */
.cta {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 15, 14, 0.52);
}

.cta__inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.cta__card {
  width: min(100%, 430px);
  padding: 46px 40px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--text-dark);
  text-align: center;
}

.cta__card h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4vw, 3.7rem);
  line-height: 0.95;
  font-weight: 500;
}

.cta__card p {
  margin: 0 0 24px;
  color: #5d5550;
}

/* Footer */
.site-footer {
  background: #232120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  padding-top: 14px;
}

.site-footer__gallery img {
  height: 220px;
  object-fit: cover;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 58px 0 40px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 34px;
  justify-content: start;
}

.site-footer__col {
  display: grid;
  gap: 12px;
}

.site-footer__nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__brand {
  text-align: center;
}

.site-footer__brand h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 6vw, 6.4rem);
  line-height: 0.9;
  font-weight: 500;
  color: #c8b7aa;
}

.site-footer__brand p {
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__cta-side {
  text-align: right;
}

.site-footer__cta-side p {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  color: #f1e7de;
}

.site-footer__bottom {
  padding: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom p {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
}

/* Responsive */
@media (max-width: 1200px) {
  .blog-hero__inner,
  .blog-hero__content,
  .recent-posts__inner,
  .guide-box__inner,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .blog-hero__content h1,
  .blog-hero__categories {
    justify-self: start;
    text-align: left;
  }

  .blog-hero__categories {
    margin-top: 0;
  }

  .site-footer__nav,
  .site-footer__cta-side {
    justify-content: center;
    text-align: center;
  }

  .highlight-card {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 22px;
  }
}

@media (max-width: 950px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer__gallery img {
    height: 180px;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 1fr auto auto;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .blog-hero__inner {
    padding: 36px 18px;
    gap: 34px;
  }

  .blog-hero__card img {
    height: 360px;
    max-width: 320px;
  }

  .highlight-image img {
    width: 100%;
    height: 420px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 28px, 1000px);
    --shell-narrow: min(100% - 28px, 1000px);
  }

  .brand__title {
    font-size: 1.55rem;
  }

  .brand__subtitle {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__gallery img {
    height: 150px;
  }

  .guide-box__content {
    padding: 30px 22px;
  }

  .cta__card {
    padding: 30px 22px;
  }
}