:root {
  --bg: #f3f2ed;
  --surface: #faf9f5;
  --ink: #11120f;
  --mid: #5e6059;
  --muted: #8d8f87;
  --line: #d9d9d1;
  --line-soft: #e7e6df;
  --gold: #d2a52b;
  --forest: #16221d;
  --sage: #aab8a8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.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; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(217, 217, 209, 0.75);
  background: rgba(243, 242, 237, 0.9);
  backdrop-filter: blur(20px);
}
.nav-logo, .footer-logo {
  width: fit-content;
  font-family: "Cormorant", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-logo em, .footer-logo em { font-weight: 400; font-style: normal; }
.nav-links { display: flex; gap: 32px; }
.nav-links a, .nav-updated {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a { position: relative; padding: 28px 0 24px; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: 18px; left: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 180ms ease; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-updated { justify-self: end; }

.hero {
  position: relative;
  min-height: 610px;
  padding: 112px 4vw 74px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 22%, rgba(210, 165, 43, 0.12), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 48%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 92px;
  right: 4vw;
  width: min(33vw, 460px);
  aspect-ratio: 1;
  border: 1px solid rgba(17, 18, 15, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(17, 18, 15, 0.018), 0 0 0 140px rgba(17, 18, 15, 0.012);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; max-width: 980px; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::after { content: ""; display: inline-block; width: 36px; height: 1px; margin: 0 0 3px 14px; background: var(--gold); }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero .eyebrow::after { display: none; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(210, 165, 43, 0.13); }
h1, h2, h3 { font-family: "Cormorant", Georgia, serif; }
h1 {
  margin: 0;
  font-size: clamp(4.4rem, 8.25vw, 8.8rem);
  font-weight: 500;
  letter-spacing: -0.062em;
  line-height: 0.74;
}
h1 em { color: #696b64; font-weight: 400; }
.hero-description { max-width: 630px; margin: 52px 0 0; color: var(--mid); font-size: 0.92rem; line-height: 1.85; }
.hero-stats { position: relative; z-index: 1; display: flex; margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); background: rgba(250, 249, 245, 0.58); }
.hero-stats div { min-width: 116px; padding: 24px 22px 22px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt { font-family: "Cormorant", Georgia, serif; font-size: 2.45rem; line-height: 1; }
.hero-stats dd { margin: 9px 0 0; color: var(--muted); font-size: 0.57rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }

.feed-section { padding: 92px 4vw 112px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: clamp(3rem, 5.2vw, 5.4rem); font-weight: 500; letter-spacing: -0.05em; line-height: 0.9; }
.window-label { margin: 0 0 8px; color: var(--muted); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; }
.window-label strong { color: var(--ink); }

.controls { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.search-wrap { flex: 1; max-width: 520px; }
.search-wrap input { width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 0; outline: none; background: var(--surface); color: var(--ink); }
.search-wrap input:focus { border-color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter { height: 44px; padding: 0 17px; border: 1px solid var(--line); background: transparent; color: var(--mid); cursor: pointer; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; transition: background 150ms ease, color 150ms ease; }
.filter:hover, .filter.is-active { border-color: var(--ink); background: var(--ink); color: white; }
.feed-meta { display: flex; justify-content: space-between; margin: 18px 0; color: var(--muted); font-size: 0.59rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; }

.article-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.article-card { grid-column: span 4; height: 650px; min-height: 0; padding: 28px; display: flex; flex-direction: column; background: var(--surface); transition: background 180ms ease; }
.article-card:hover { background: #fff; }
.article-media { height: 235px; margin: -28px -28px 28px; overflow: hidden; background: var(--line-soft); }
.article-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.article-card:hover .article-media img { transform: scale(1.025); }
.article-topline { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 0.57rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.yacht-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 18px; }
.yacht-tag { padding: 5px 8px; border: 1px solid #d8cfaa; background: #f7f1dc; color: #6c5810; font-size: 0.55rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.article-card h3 { margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: clamp(1.7rem, 2.2vw, 2.35rem); font-weight: 500; letter-spacing: -0.026em; line-height: 1.02; }
.article-summary { margin: 20px 0 30px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--mid); font-size: 0.8rem; line-height: 1.72; }
.article-footer { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-soft); }
.service-tags { color: var(--muted); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.read-link, .text-link { position: relative; padding-bottom: 5px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.13em; text-decoration: none; text-transform: uppercase; }
.read-link::after, .text-link::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--gold); transform-origin: left; transition: transform 160ms ease; }
.read-link:hover::after, .text-link:hover::after { transform: scaleX(0.55); }
.empty-state, .error-state { grid-column: 1 / -1; padding: 72px 24px; background: var(--surface); text-align: center; color: var(--mid); }

.sustainability-section { padding: 110px 4vw 120px; border-top: 1px solid #cdd4cc; background: #e7ebe5; }
.sustainability-section .section-heading { margin-bottom: 42px; }
.sustainability-section .article-card { background: #f7f8f4; }
.sustainability-section .article-card:hover { background: #fff; }

footer { padding: 34px 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); background: var(--bg); font-size: 0.62rem; }
footer p { margin: 0; text-align: center; }
footer > a:last-child { justify-self: end; text-decoration: none; font-weight: 600; letter-spacing: 0.08em; }

@media (max-width: 1100px) {
  .hero { align-items: flex-start; flex-direction: column; min-height: auto; }
  .hero-stats { align-self: stretch; }
  .hero-stats div { flex: 1; }
  .article-card { grid-column: span 6; }
}
@media (max-width: 720px) {
  .navbar { grid-template-columns: 1fr auto; height: 64px; }
  .nav-links { display: none; }
  .hero { padding-top: 78px; gap: 54px; }
  .hero::after { display: none; }
  h1 { font-size: clamp(3.7rem, 18vw, 5.5rem); }
  .hero-description { margin-top: 40px; }
  .hero-stats div { min-width: 0; padding: 18px 12px; }
  .feed-section { padding-top: 72px; }
  .controls, .section-heading { align-items: stretch; flex-direction: column; }
  .search-wrap { max-width: none; }
  .filters { display: grid; grid-template-columns: repeat(2, 1fr); }
  .article-card { grid-column: 1 / -1; height: 620px; min-height: 0; padding: 24px; }
  .article-media { height: 245px; margin: -24px -24px 26px; }
  .feed-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
  .sustainability-section { padding-top: 82px; padding-bottom: 82px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer p, footer > a, footer > a:last-child { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
