:root {
  --bg: #1a1614; /* Deep Espresso / Dark Coffee */
  --bg-soft: #241f1c; /* Rich Moka */
  --bg-elevated: #2d2824; /* Warm Cedar */
  --surface: rgba(197, 160, 89, 0.03);
  --surface-strong: rgba(197, 160, 89, 0.08);
  --text: #f5f2f0; /* Warm Off-white */
  --text-muted: #bdaea6; /* Muted Taupe */
  --text-soft: #8c7e76;
  --accent: #c5a059; /* Burnished Gold */
  --accent-soft: rgba(197, 160, 89, 0.15);
  --accent-strong: #d4af37;
  --line: rgba(197, 160, 89, 0.1);
  --line-strong: rgba(197, 160, 89, 0.2);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
  --shadow-md: 0 10px 30px -10px rgba(0,0,0,0.6);
  --shadow-lg: 0 20px 50px -15px rgba(0,0,0,0.8);
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  --container: min(1400px, calc(100vw - 80px));
  --serif: "Playfair Display", serif;
  --sans: "Montserrat", sans-serif;
  --logo: "Syncopate", sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(197, 160, 89, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(197, 160, 89, 0.03) 0%, transparent 40%);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

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

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

button,
a.button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.section-sm {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

.section-heading h2,
.section-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 300; /* Light weight for luxury look */
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 em, h2 em, h3 em {
  color: var(--accent);
  font-style: italic;
}

.section-heading p {
  margin: 32px 0 0;
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease;
  padding: 20px 0;
}

.topbar.scrolled {
  background: rgba(26, 22, 20, 0.98); /* Match new --bg tone */
  backdrop-filter: blur(15px);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

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

.brand-mark {
  display: none; /* More minimal */
}

.brand-copy strong {
  font-family: var(--logo);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3em; /* Very wide for a modern, architectural look */
  text-transform: uppercase;
  color: var(--text);
  display: block;
  line-height: 1.2;
}

.brand-copy span {
  display: none;
}

.nav {
  display: flex;
  gap: 48px;
}

.nav a {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  opacity: 0.6;
}

.nav a:hover, .nav a.is-active {
  opacity: 1;
  color: var(--accent);
}

.nav a::after {
  display: none;
}

.topbar-actions {
  display: flex;
  gap: 24px;
}

.topbar-actions .button {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 0.7rem;
  color: #fff;
  opacity: 0.6;
}

.topbar-actions .button:hover {
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.topbar-actions .button-primary {
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

/* Slider Hero */
.slider-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}

.slider-container {
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  display: flex;
  align-items: center;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) sepia(0.2) contrast(1.1);
  transform: scale(1.1);
  transition: transform 8s linear;
}

.slide.is-active .slide-bg img {
  transform: scale(1);
}

.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 22, 20, 0.4), rgba(26, 22, 20, 0.8));
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.slide-content h1 {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 24px 0;
  color: var(--text);
}

.slide-content h1 span {
  display: block;
  font-style: italic;
  color: var(--accent);
  padding-left: 8vw;
}

.slide-content p {
  font-size: 1.25rem;
  font-weight: 300;
  max-width: 600px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 10;
}

.slider-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-dots {
  display: flex;
  gap: 12px;
}

.dot {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.is-active {
  background: var(--accent);
}

.slider-arrows {
  display: flex;
  gap: 24px;
}

.slider-prev, .slider-next {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-prev:hover, .slider-next:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Maintain original Hero for other pages */
.hero {
  padding: 120px 0 100px;
  position: relative;
  background: var(--bg-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.hero-visual {
  position: relative;
}

.portrait-wrap {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-meta {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: #fff;
  padding: 32px;
  color: #000;
  width: 300px;
}

.portrait-meta strong {
  display: block;
  font-size: 1.5rem;
  font-family: var(--serif);
}

.portrait-meta span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.portrait-meta p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: stretch;
}

.panel,
.card,
.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.015));
  box-shadow: none;
}

.panel {
  padding: clamp(26px, 3vw, 38px);
}

.panel h3,
.card h3 {
  margin-top: 0;
}

.lead-text {
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--text-muted);
}

.image-panel {
  overflow: hidden;
  position: relative;
  min-height: 100%;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.9);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(6, 6, 7, 0.86));
}

.image-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 1;
  color: var(--text);
}

.image-caption strong {
  display: block;
  font-size: 1.24rem;
  margin-bottom: 8px;
  font-family: var(--serif);
}

.image-caption span {
  color: var(--text-muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 24px;
}

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.card {
  padding: 48px 0;
  border-radius: var(--radius-lg);
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card:hover {
  background: transparent;
  border-top-color: var(--accent);
  transform: none;
  box-shadow: none;
}

.card h3 {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  margin: 0;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 200ms ease;
}

.card:hover .card-link {
  gap: 12px;
}

.icon-badge {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 8px;
  opacity: 0.5;
}

.list-clean,
.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.list-clean li {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  line-height: 1.75;
}

.check-list li::before {
  content: "—";
  color: var(--accent);
}

.list-clean li::before {
  content: "•";
  color: var(--accent);
}

.hero-strip {
  display: none; /* Removed for more minimal look */
}

.strip-card {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
}

.strip-card strong {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

.strip-card span {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.featured-post {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.featured-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post .card {
  padding: 0;
  overflow: hidden;
}

.featured-post-copy {
  padding: 26px;
}

.featured-post-copy .meta,
.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.article-card .thumb {
  aspect-ratio: 1.12 / 0.78;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
}

.cta-band {
  background: #fdf8f3; /* Warm Cream / Linen */
  color: #2d2824; /* Deep Cedar */
  padding: 120px 100px;
  border: none;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(197, 160, 89, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-family: var(--serif);
  margin: 0;
  line-height: 1.1;
  color: #2d2824;
  font-weight: 300;
}

.cta-band h2 em {
  color: var(--accent);
  font-style: italic;
}

.cta-band p {
  font-size: 1.25rem;
  color: #6a5f58;
  max-width: 600px;
  margin: 32px 0 0;
}

.cta-band .button-primary {
  background: #2d2824;
  color: #fff;
}

.cta-band .button-primary:hover {
  background: var(--accent);
  color: #000;
}

.cta-band .button-secondary {
  border-color: rgba(45, 40, 36, 0.2);
  color: #2d2824;
}

.cta-band .button-secondary:hover {
  background: #2d2824;
  color: #fff;
  border-color: #2d2824;
}

/* Page Hero (Subpages) */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.page-hero-card {
  max-width: 900px;
}

.page-hero-card h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin: 24px 0;
}

.page-hero-card p {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.breadcrumbs a {
  color: #fff;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.breadcrumbs a:hover {
  opacity: 1;
}

.breadcrumbs span {
  opacity: 0.3;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.article-body {
  padding: 60px;
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  margin: 48px 0 24px;
  color: var(--text);
  line-height: 1.2;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--accent);
}

.article-body p,
.article-body li {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body ul {
  padding-left: 24px;
  margin-bottom: 32px;
}

.article-body .lead {
  font-size: 1.4rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 40px;
  font-family: var(--serif);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.article-aside {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 140px;
}

.info-box {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
}

.info-box h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text);
}

.info-box p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.info-box .button {
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-card {
  padding: 60px;
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.contact-item {
  display: grid;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.contact-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-item span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-item strong,
.contact-item a {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
  transition: color 200ms ease;
}

.contact-item a:hover {
  color: var(--accent);
}

.map-placeholder {
  border-radius: var(--radius-xl);
  padding: 60px;
  background: 
    radial-gradient(circle at 0% 0%, rgba(197, 168, 124, 0.1), transparent 40%),
    var(--bg-elevated);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-placeholder strong {
  font-family: var(--serif);
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--text);
}

.map-placeholder p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.map-lines {
  margin-bottom: 40px;
}

.map-lines span {
  display: block;
  height: 2px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.3;
}

.footer {
  padding: 120px 0 60px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  gap: 80px;
  margin-bottom: 120px;
}

.footer-top h2 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-style: italic;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
}

.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 32px;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 200ms ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.sticky-mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 40;
  display: none;
  gap: 12px;
}

.sticky-mobile-cta .button {
  flex: 1 1 0;
  min-height: 56px;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 11, 0.92);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1), transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .container {
    --container: calc(100vw - 40px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 15vw, 6rem);
  }

  .hero-copy h1 span {
    padding-left: 0;
  }

  .hero-copy p {
    margin: 32px auto 0;
    border-left: none;
    padding-left: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .portrait-meta {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    margin-top: -20px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .nav {
    display: none; /* Mobile menu needed but simplified for now */
  }

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

  .split-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .cta-band {
    padding: 60px 32px;
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

@media (max-width: 760px) {
  :root {
    --container: min(1200px, calc(100vw - 24px));
  }

  .section,
  .hero {
    padding: 78px 0;
  }

  .topbar-inner {
    min-height: 76px;
  }

  .brand-copy span {
    display: none;
  }

  .hero-copy h1,
  .page-hero-card h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .hero-metrics,
  .hero-strip,
  .grid-3,
  .grid-2,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .strip-card {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
  }

  .portrait-wrap {
    min-height: 420px;
  }

  .sticky-mobile-cta {
    display: flex;
  }

  .footer {
    padding-bottom: 136px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }
}
