:root {
  --ink: #183942;
  --deep: #0d2931;
  --sand: #f4f0e8;
  --cream: #fbfaf7;
  --gold: #bd8e50;
  --gold-light: #e3c89f;
  --line: rgba(24, 57, 66, .16);
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

button { font: inherit; }

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

.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Header */
.lounge-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  transition: background .25s ease, border-color .25s ease;
}

.lounge-header.is-scrolled {
  position: fixed;
  background: var(--deep);
  border-color: rgba(255, 255, 255, .12);
}

.lounge-nav {
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 64px));
  min-height: 70px;
  margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; }

.brand img {
  width: auto;
  height: 25px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  height: 70px;
  margin-left: auto;
}

.nav-links a {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0 20px;
  border-left: 1px solid rgba(255, 255, 255, .24);
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-links a:not(.nav-contact):hover,
.nav-links a.is-active {
  color: var(--gold-light);
}

.nav-links .nav-contact {
  height: auto;
  margin-left: 15px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .7);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 32px;
  color: #fff;
  background: var(--deep);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: .28s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mobile-menu a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.04em;
}

/* Hero */
.lounge-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
  text-align: center;
}

.lounge-hero__media {
  position: absolute;
  inset: 0;
}

.lounge-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lounge-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 24, 29, .72), rgba(5, 24, 29, .42));
}

.lounge-hero__content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 70px;
}

.lounge-hero .eyebrow {
  color: var(--gold-light);
}

.lounge-hero h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1.05;
}

.lounge-hero h1 strong {
  font-weight: 700;
}

.lounge-hero p {
  max-width: 560px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  line-height: 1.7;
}

.hero-scroll {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll span {
  width: 1px;
  height: 40px;
  background: var(--gold-light);
  animation: loungeScroll 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes loungeScroll {
  0%, 100% { transform: scaleY(.25); opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Listing intro */
.lounge-listing {
  padding: 105px 0 120px;
  background: #fff;
}

.lounge-listing__head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.lounge-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  color: rgba(24, 57, 66, .68);
  text-align: center;
}

.lounge-listing__head h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.05;
}

/* Filters */
.lounge-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 52px;
}

.lounge-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.lounge-filter:hover {
  border-color: var(--gold);
}

.lounge-filter select {
  appearance: none;
  padding: 0 18px 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.lounge-filter::after {
  position: absolute;
  right: 14px;
  width: 0;
  height: 0;
  border-top: 4px solid var(--gold);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
  pointer-events: none;
}

.lounge-filter button {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Article grid */
.lounge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

.lounge-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  transition: transform .3s ease;
}

.lounge-card:hover {
  transform: translateY(-4px);
}

.lounge-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--deep);
}

.lounge-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.lounge-card:hover .lounge-card__image img {
  transform: scale(1.04);
}

.lounge-card__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 4px 0;
}

.lounge-card__category {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lounge-card__content h3 {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.lounge-card__content p {
  margin: 0 0 20px;
  color: #526b73;
  font-size: 14px;
  line-height: 1.65;
}

.lounge-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.lounge-card__link:hover {
  color: var(--gold);
}

/* Article detail */
.lounge-article__hero {
  position: relative;
  display: flex;
  min-height: 600px;
  height: 90svh;
  max-height: 900px;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
  text-align: center;
}

.lounge-article__hero .lounge-hero__content {
  padding-bottom: 90px;
}

.lounge-article__hero .lounge-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}

.lounge-article__hero .lounge-hero__meta span + span::before {
  margin-right: 10px;
  color: var(--gold-light);
  content: "•";
}

.lounge-article__body {
  padding: 90px 0 120px;
  background: #fff;
}

.lounge-article__container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.lounge-article__lead {
  margin: 0 0 48px;
  font-size: 20px;
  line-height: 1.7;
  color: #3a5056;
}

.lounge-article__content h2 {
  margin: 56px 0 22px;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.lounge-article__content p {
  margin: 0 0 22px;
  color: #425a60;
  font-size: 16px;
  line-height: 1.75;
}

.lounge-article__content figure {
  margin: 44px 0;
}

.lounge-article__content figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lounge-article__content figcaption {
  margin-top: 12px;
  color: #6d8287;
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.lounge-article__content blockquote {
  margin: 44px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.35;
}

.lounge-article__content ul,
.lounge-article__content ol {
  margin: 0 0 22px;
  padding-left: 24px;
  color: #425a60;
}

.lounge-article__content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.lounge-article__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.lounge-article__cta:hover {
  background: var(--gold);
  color: #fff;
}

.lounge-article__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.lounge-article__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lounge-article__author img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.lounge-article__author div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lounge-article__author strong {
  font-size: 14px;
  font-weight: 700;
}

.lounge-article__author span {
  color: #6d8287;
  font-size: 13px;
}

.lounge-article__share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.lounge-article__share:hover {
  color: var(--gold);
}

.lounge-article__updated {
  width: 100%;
  margin-top: 12px;
  color: #8a9b9f;
  font-size: 12px;
  text-align: right;
}

/* Footer */
.footer {
  padding: 62px 0 24px;
  color: #dce5e2;
  background: #0a2229;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 55px;
}

.footer .brand { margin-bottom: 18px; }

.footer-brand p {
  max-width: 310px;
  margin: 0;
  color: #91a8aa;
  font-size: 14px;
}

.footer h3 {
  margin: 7px 0 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-links { display: grid; gap: 9px; }

.footer-links a,
.footer-contact a {
  color: #b7c7c8;
  font-size: 14px;
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--gold-light); }

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #82999b;
  font-size: 12px;
}

.footer-bottom a { color: #a7bbba; }

/* Mobile */
@media (max-width: 760px) {
  .container,
  .lounge-nav,
  .lounge-hero__content,
  .lounge-article__container {
    width: min(100% - 40px, 1180px);
  }

  .nav-links { display: none; }

  .menu-toggle { display: block; }

  .lounge-hero { min-height: 680px; }

  .lounge-hero__content { padding-top: 110px; }

  .lounge-hero h1 { font-size: 43px; }

  .lounge-hero p { font-size: 15px; }

  .lounge-listing { padding: 76px 0; }

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

  .lounge-article__hero { min-height: 500px; height: auto; }

  .lounge-article__hero .lounge-hero__content { padding-bottom: 70px; }

  .lounge-article__body { padding: 60px 0 80px; }

  .lounge-article__container { padding: 0; }

  .lounge-article__lead { font-size: 18px; }

  .lounge-article__content h2 { font-size: 24px; }

  .lounge-article__content blockquote { font-size: 18px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }

  .footer-bottom { display: block; }

  .footer-bottom span + span { display: block; margin-top: 8px; }
}
