:root {
  --aqua: #76d7c4;
  --aqua-deep: #117a65;
  --aqua-dark: #0b5145;
  --ink: #14211f;
  --muted: #65716f;
  --paper: #f6faf8;
  --white: #ffffff;
  --line: #d9e6e2;
  --night: #102c29;
  --serif: "Cinzel", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.sr-only {
  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: fixed;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 80px;
  padding: 13px clamp(20px, 4vw, 64px);
  background: rgba(246, 250, 248, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand img,
.footer-brand img {
  border-radius: 50%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong,
.footer-brand strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 4px;
  color: var(--aqua-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 36px);
  align-items: center;
  margin-right: clamp(20px, 3vw, 44px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--aqua-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-home {
  color: var(--muted);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: var(--white);
  background: var(--aqua-deep);
  border: 1px solid var(--aqua-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--aqua-deep);
  background: transparent;
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 10px;
}

.button-light {
  color: var(--night);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--aqua-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.journal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: end;
  min-height: 88vh;
  padding: 160px clamp(24px, 7vw, 112px) 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 38%, rgba(118, 215, 196, 0.32), transparent 22%),
    linear-gradient(145deg, #f9fcfa 10%, #e7f5f1 100%);
}

.journal-hero::before {
  position: absolute;
  top: 14%;
  right: 12%;
  width: 28vw;
  height: 28vw;
  min-width: 300px;
  min-height: 300px;
  content: "";
  border: 1px solid rgba(17, 122, 101, 0.16);
  border-radius: 50%;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(17, 122, 101, 0.11);
  border-radius: 50%;
}

.hero-orbit-one {
  top: 6%;
  right: -14%;
  width: 51vw;
  height: 51vw;
}

.hero-orbit-two {
  top: 26%;
  right: 20%;
  width: 12vw;
  height: 12vw;
  background: rgba(255, 255, 255, 0.28);
}

.journal-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.journal-hero h1 {
  max-width: 1030px;
  margin-bottom: 34px;
  font-family: var(--serif);
  font-size: clamp(48px, 7.7vw, 116px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.journal-hero h1 em {
  color: var(--aqua-deep);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 640px;
  margin-bottom: 36px;
  color: #3f504d;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.65;
}

.hero-scroll {
  display: inline-flex;
  gap: 48px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note {
  position: relative;
  z-index: 1;
  align-self: end;
  padding-left: 18px;
  border-left: 1px solid var(--aqua-deep);
}

.hero-note span {
  color: var(--aqua-deep);
  font-size: 11px;
  font-weight: 600;
}

.hero-note p {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
}

.featured-section,
.articles-section,
.related-section {
  padding: clamp(76px, 9vw, 140px) clamp(24px, 7vw, 112px);
}

.featured-section {
  background: var(--white);
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: none;
}

.section-kicker a {
  color: var(--aqua-deep);
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.featured-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dbe9e5;
}

.featured-image img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1);
}

.featured-image:hover img,
.post-card-image:hover img {
  transform: scale(1.025);
}

.image-index {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-meta span:first-child {
  color: var(--aqua-deep);
}

.featured-copy h2 {
  margin: 28px 0 24px;
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.featured-copy > p {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.articles-section {
  background: var(--paper);
}

.articles-heading {
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 44px;
}

.articles-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.filter {
  min-height: 36px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter:hover,
.filter.is-active {
  color: var(--white);
  background: var(--night);
  border-color: var(--night);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.post-card[hidden] {
  display: none;
}

.post-card-image {
  display: block;
  margin-bottom: 24px;
  overflow: hidden;
  background: #dbe9e5;
}

.post-card-image img {
  width: 100%;
  aspect-ratio: 0.94 / 1;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0, 1);
}

.post-card:nth-child(2) .post-card-image img {
  object-position: 44% center;
}

.post-card-content h2 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.post-card-content > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
  padding-bottom: 5px;
  color: var(--aqua-deep);
  border-bottom: 1px solid var(--aqua);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-cta,
.article-appointment {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
  padding: clamp(74px, 9vw, 130px) clamp(24px, 10vw, 160px);
  color: var(--white);
  background: var(--night);
}

.editorial-cta .eyebrow,
.article-appointment .eyebrow {
  color: var(--aqua);
}

.editorial-cta h2,
.article-appointment h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.7vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.editorial-cta > div:last-child p,
.article-appointment > div:last-child p {
  margin-bottom: 28px;
  color: #c9dcd7;
  font-size: 17px;
  line-height: 1.75;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 52px clamp(24px, 7vw, 112px) 28px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer > p {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--aqua-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal {
  grid-column: 1 / -1;
  max-width: none !important;
  padding-top: 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  font-size: 11px !important;
}

/* Article */
.article-header {
  min-height: 76vh;
  padding: 150px clamp(24px, 7vw, 112px) 64px;
  background:
    radial-gradient(circle at 85% 22%, rgba(118, 215, 196, 0.26), transparent 25%),
    var(--paper);
}

.back-link {
  display: inline-block;
  margin-bottom: clamp(60px, 8vw, 110px);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-heading {
  max-width: 1160px;
  margin: 0 auto;
}

.article-heading h1 {
  max-width: 1100px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 100px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.article-deck {
  max-width: 760px;
  margin-bottom: 38px;
  color: #52615f;
  font-family: Georgia, serif;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.55;
}

.article-byline {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-byline > div {
  display: flex;
  gap: 12px;
  align-items: center;
}

.article-byline img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.article-byline strong,
.article-byline small {
  display: block;
}

.article-byline strong {
  font-size: 12px;
}

.article-byline small,
.article-byline time,
.article-byline > div:last-child span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-cover {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}

.article-cover img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
}

.article-cover figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: 100px minmax(0, 740px) 100px;
  justify-content: center;
  padding: clamp(68px, 8vw, 120px) 24px;
  background: var(--white);
}

.article-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-aside a {
  color: var(--aqua-deep);
  font-weight: 600;
}

.article-body {
  grid-column: 2;
}

.article-body p,
.article-body li {
  color: #364542;
  font-family: Georgia, serif;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.9;
}

.article-body .article-lead {
  margin-bottom: 54px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.65;
}

.article-body h2 {
  margin: 62px 0 22px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.article-body ul {
  padding-left: 0;
  margin: 30px 0 40px;
  list-style: none;
}

.article-body li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
}

.article-body li::before {
  position: absolute;
  top: 27px;
  left: 5px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--aqua);
  border-radius: 50%;
}

.article-body blockquote {
  margin: 60px -8vw;
  padding: 42px 8vw;
  color: var(--aqua-dark);
  background: #eaf6f2;
  border-left: 2px solid var(--aqua-deep);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 41px);
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.article-note {
  margin-top: 50px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.article-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--aqua-deep);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-note p {
  margin-bottom: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

.related-section {
  background: var(--paper);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 80px);
  max-width: 1040px;
}

.related-grid .post-card-image img {
  aspect-ratio: 1.3 / 1;
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 18px;
  }

  .nav-home {
    display: none;
  }

  .featured-post {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
  }

  .post-card:first-child .post-card-image {
    margin-bottom: 0;
  }

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

  .site-footer > p:not(.footer-legal) {
    display: none;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 70px;
  }

  .brand-copy,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    padding: 90px 30px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .nav-home {
    display: block;
  }

  .journal-hero {
    grid-template-columns: 1fr;
    min-height: 800px;
    padding-top: 130px;
  }

  .journal-hero h1 {
    font-size: clamp(49px, 13vw, 76px);
  }

  .hero-note {
    display: none;
  }

  .journal-hero::before {
    top: 11%;
    right: -38%;
  }

  .featured-post,
  .editorial-cta,
  .article-appointment {
    grid-template-columns: 1fr;
  }

  .featured-image img {
    aspect-ratio: 1 / 0.9;
  }

  .articles-heading {
    display: block;
  }

  .filters {
    justify-content: start;
    margin-top: 28px;
  }

  .post-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-card:first-child {
    grid-column: auto;
    display: block;
  }

  .post-card:first-child .post-card-image {
    margin-bottom: 24px;
  }

  .post-card-image img {
    aspect-ratio: 1.16 / 1;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-legal {
    grid-column: auto;
    text-align: left;
  }

  .article-header {
    min-height: auto;
    padding-top: 120px;
  }

  .back-link {
    margin-bottom: 54px;
  }

  .article-heading h1 {
    font-size: clamp(42px, 12vw, 68px);
  }

  .article-byline {
    display: block;
  }

  .article-byline > div:last-child {
    margin-top: 18px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    flex-direction: row;
    margin-bottom: 42px;
  }

  .article-body {
    grid-column: 1;
  }

  .article-body blockquote {
    margin-right: 0;
    margin-left: 0;
    padding: 34px 28px;
  }
}

@media (max-width: 480px) {
  .featured-section,
  .articles-section,
  .related-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .journal-hero {
    min-height: 720px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-kicker span:last-child {
    display: none;
  }

  .editorial-cta,
  .article-appointment {
    padding-right: 22px;
    padding-left: 22px;
  }

  .button {
    width: 100%;
  }

  .article-cover {
    padding: 0;
  }

  .article-cover figcaption {
    padding: 0 16px;
  }

  .article-layout {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(17, 122, 101, 0.05);
  border: 1px solid rgba(17, 122, 101, 0.15);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-left: 12px;
  margin-right: 12px;
}

.lang-btn {
  background: none;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 150ms ease;
  text-decoration: none;
}

.lang-btn:hover {
  color: var(--aqua-deep);
}

.lang-btn.is-active {
  color: var(--aqua-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--aqua-deep);
}

.lang-divider {
  color: var(--line);
  font-size: 11px;
}

@media (max-width: 780px) {
  .header-lang-switch {
    margin-left: auto;
    margin-right: 8px;
  }
}
