:root {
  --petrol: #1d4654;
  --petrol-dark: #122e38;
  --petrol-light: #2a6478;
  --terracotta: #c9826b;
  --terracotta-soft: #e9c5b8;
  --cream: #faf6f0;
  --cream-warm: #f3ece1;
  --charcoal: #2a2a2a;
  --charcoal-soft: #4a4a4a;
  --muted: #7a7a7a;
  --line: rgba(29, 70, 84, 0.12);
  --gold: #b89968;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--petrol-dark);
  letter-spacing: -0.01em;
}

a { color: var(--petrol); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--terracotta); }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 32px;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  transition: padding 0.3s;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--petrol-dark);
  letter-spacing: -0.01em;
}

.logo span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 2px;
}

nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

nav a {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  font-weight: 500;
}

nav a.cta {
  background: var(--petrol);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
}

nav a.cta:hover {
  background: var(--terracotta);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--petrol-dark);
}

/* ARTICLE LAYOUT */
.article-hero {
  padding: 80px 0 60px;
  background: var(--cream-warm);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--terracotta-soft) 0%, transparent 70%);
  opacity: 0.35;
  border-radius: 50%;
  pointer-events: none;
}

.article-hero-inner {
  position: relative;
}

.breadcrumb {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--terracotta);
  opacity: 0.8;
}

.breadcrumb a:hover { opacity: 1; }

.article-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 20px;
  flex-wrap: wrap;
}

.article-meta strong {
  color: var(--petrol-dark);
  font-weight: 500;
}

.article-body {
  padding: 80px 0;
}

.article-body p {
  font-size: 1.12rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 24px;
}

.article-body p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--petrol-dark);
  margin-bottom: 32px;
}

.article-body h2 {
  font-size: 1.9rem;
  margin-top: 56px;
  margin-bottom: 20px;
  font-weight: 500;
}

.article-body h3 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--petrol);
}

.article-body blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--petrol-dark);
  padding: 32px 0 32px 32px;
  margin: 40px 0;
  border-left: 2px solid var(--terracotta);
}

.article-body ul, .article-body ol {
  margin: 24px 0 32px 24px;
}

.article-body li {
  font-size: 1.08rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 10px;
}

.article-body strong { color: var(--petrol-dark); font-weight: 600; }

.article-body em { font-style: italic; }

.article-body a {
  border-bottom: 1px solid var(--terracotta-soft);
  padding-bottom: 1px;
}

.article-body a:hover {
  border-bottom-color: var(--terracotta);
}

/* PULL QUOTE */
.pullquote {
  background: var(--cream-warm);
  padding: 40px 36px;
  margin: 48px -36px;
  border-radius: 4px;
  border-left: 4px solid var(--terracotta);
}

.pullquote p {
  font-family: 'Fraunces', serif !important;
  font-style: italic;
  font-size: 1.35rem !important;
  line-height: 1.5 !important;
  color: var(--petrol-dark) !important;
  margin-bottom: 0 !important;
}

/* INFOBOX */
.infobox {
  background: var(--petrol-dark);
  color: var(--cream);
  padding: 36px;
  margin: 48px -36px;
  border-radius: 4px;
}

.infobox h3 {
  color: var(--cream);
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.infobox p {
  color: rgba(250, 246, 240, 0.85) !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
}

.infobox p:last-child { margin-bottom: 0 !important; }

.infobox a {
  color: var(--terracotta-soft);
  border-bottom-color: var(--terracotta);
}

/* ARTICLE FAQ */
.article-faq {
  background: var(--cream-warm);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.article-faq h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  color: var(--petrol-dark);
  transition: color 0.2s;
}

.faq-question:hover { color: var(--terracotta); }

.faq-question .icon {
  font-size: 1.5rem;
  color: var(--terracotta);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 24px;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 28px;
}

.faq-answer p {
  font-size: 1.02rem;
  color: var(--charcoal-soft);
  line-height: 1.7;
  padding-right: 48px;
}

/* CTA SECTION */
.article-cta {
  background: var(--petrol);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--terracotta-soft) 0%, transparent 70%);
  opacity: 0.2;
  border-radius: 50%;
}

.article-cta-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px;
}

.article-cta h2 {
  color: var(--cream);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.article-cta p {
  font-size: 1.12rem;
  color: rgba(250, 246, 240, 0.85);
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--cream);
  color: var(--petrol-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--petrol);
  border: 1px solid var(--petrol);
}

.btn-secondary:hover {
  background: var(--petrol);
  color: var(--cream);
}

/* RELATED ARTICLES */
.related {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.related-title {
  font-size: 1.8rem;
  margin-bottom: 40px;
  text-align: center;
}

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

.related-card {
  background: var(--cream-warm);
  padding: 32px 28px;
  border-radius: 4px;
  border: 1px solid var(--line);
  transition: all 0.3s;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29, 70, 84, 0.1);
  border-color: var(--terracotta-soft);
}

.related-card .number {
  font-family: 'Fraunces', serif;
  font-size: 0.88rem;
  color: var(--terracotta);
  font-style: italic;
  margin-bottom: 12px;
}

.related-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.related-card a {
  color: var(--petrol-dark);
  border: none;
}

.related-card a:hover { color: var(--terracotta); }

.related-card p {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.related-card .read-more {
  font-size: 0.85rem;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* BLOG INDEX */
.blog-index-hero {
  padding: 100px 0 60px;
  background: var(--cream-warm);
  border-bottom: 1px solid var(--line);
}

.blog-index-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 20px;
  font-weight: 400;
}

.blog-index-hero p {
  font-size: 1.15rem;
  color: var(--charcoal-soft);
  max-width: 640px;
}

.blog-list {
  padding: 80px 0;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 840px;
  margin: 0 auto;
}

.blog-list-card {
  background: var(--cream-warm);
  padding: 40px 36px;
  border-radius: 4px;
  border: 1px solid var(--line);
  transition: all 0.3s;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 32px;
  align-items: start;
}

.blog-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(29, 70, 84, 0.1);
}

.blog-list-number {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  color: var(--terracotta);
  font-style: italic;
  font-weight: 300;
}

.blog-list-card h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  line-height: 1.25;
}

.blog-list-card h2 a {
  color: var(--petrol-dark);
}

.blog-list-card h2 a:hover { color: var(--terracotta); }

.blog-list-card .excerpt {
  font-size: 1rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-list-card .read-link {
  font-size: 0.85rem;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* FOOTER */
footer {
  background: var(--petrol-dark);
  color: rgba(250, 246, 240, 0.6);
  padding: 56px 0 32px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a { color: rgba(250, 246, 240, 0.7); }

.footer-col a:hover { color: var(--terracotta-soft); }

.footer-about {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
  color: rgba(250, 246, 240, 0.8);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(250, 246, 240, 0.5);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .menu-toggle { display: block; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }

  nav ul.open { display: flex; }

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

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

  .blog-list-card { grid-template-columns: 1fr; gap: 16px; }

  .blog-list-number { font-size: 2rem; }

  .article-hero { padding: 56px 0 48px; }

  .article-body { padding: 48px 0; }

  .pullquote, .infobox {
    margin-left: -24px;
    margin-right: -24px;
    padding: 28px 24px;
  }

  .article-body h2 { font-size: 1.6rem; }

  .container, .container-narrow {
    padding: 0 24px;
  }
}

/* ============ TESTIMONIALS PAGE ============ */
.testimonials-hero {
  padding: 100px 0 60px;
  background: var(--cream-warm);
  border-bottom: 1px solid var(--line);
}

.testimonials-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 20px;
  font-weight: 400;
}

.testimonials-hero p {
  font-size: 1.15rem;
  color: var(--charcoal-soft);
  max-width: 640px;
}

.testimonials-section {
  padding: 80px 0;
}

.testimonials-masonry {
  columns: 2;
  column-gap: 32px;
}

.testimonial-card-full {
  break-inside: avoid;
  background: var(--cream-warm);
  padding: 36px 32px;
  border-radius: 4px;
  border: 1px solid var(--line);
  margin-bottom: 32px;
  position: relative;
  transition: all 0.3s;
}

.testimonial-card-full:hover {
  box-shadow: 0 12px 32px rgba(29, 70, 84, 0.08);
  border-color: var(--terracotta-soft);
}

.testimonial-card-full .mark {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  color: var(--terracotta-soft);
  line-height: 0.4;
  display: block;
  margin-bottom: 16px;
}

.testimonial-card-full p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.testimonial-card-full .attr {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  font-weight: 600;
  display: block;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonials-note {
  max-width: 740px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .testimonials-masonry { columns: 1; }
}
