:root {
  --ink: #151515;
  --muted: #66615a;
  --paper: #fbfaf7;
  --line: #ded8ce;
  --forest: #143d36;
  --wine: #8f2f2f;
  --gold: #c59b4a;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(21, 21, 21, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
}

.brand-name { white-space: nowrap; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.8vw, 34px);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 28px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--wine);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav .active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img { object-fit: cover; }

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.82), rgba(21, 21, 21, 0.32) 54%, rgba(21, 21, 21, 0.12)),
    linear-gradient(0deg, rgba(21, 21, 21, 0.48), transparent 42%);
}

.hero-content {
  position: relative;
  width: min(730px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 8vw, 96px) clamp(18px, 6vw, 86px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--wine); }

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 { font-size: clamp(42px, 7vw, 86px); }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { margin: 0; font-size: 22px; letter-spacing: 0; }

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-primary {
  background: var(--wine);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.ticker-strip {
  display: flex;
  gap: 34px;
  overflow: auto;
  padding: 16px clamp(18px, 4vw, 58px);
  background: var(--ink);
  color: var(--white);
  scrollbar-width: none;
}

.ticker-strip span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) 0;
}

.intro-grid,
.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.lead,
.page-hero > p {
  font-size: 18px;
  margin: 0;
}

.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 112px) 0 clamp(34px, 5vw, 66px);
}

.category-row {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 18px;
  padding-top: 0;
}

.category-tile {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
}

.category-tile.large { min-height: 520px; }

.category-tile img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 0.35s ease;
}

.category-tile:hover img { transform: scale(1.04); }

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21, 21, 21, 0.72), transparent 54%);
}

.category-tile span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.split-copy p { font-size: 17px; }

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--wine);
  border-bottom: 2px solid var(--wine);
  transform: rotate(-45deg);
}

.text-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--wine);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.feature-panel {
  position: relative;
  min-height: 560px;
}

.feature-panel img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.metric-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(245px, calc(100% - 44px));
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.metric-card strong {
  display: block;
  color: var(--wine);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 52px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.service-grid,
.article-grid,
.process-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.plan-card,
.process-grid article,
.article-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.card-number,
.process-grid span {
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}

.service-card p,
.plan-card p,
.article-grid p,
.process-grid p { margin-bottom: 0; }

.service-card a {
  display: inline-block;
  margin-top: 24px;
  color: var(--wine);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.editorial-banner {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 480px;
  margin-top: 36px;
  overflow: hidden;
  color: var(--white);
}

.editorial-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 21, 0.64);
}

.editorial-banner div {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  text-align: center;
}

.editorial-banner .btn { margin-top: 26px; }

.site-footer {
  padding: 0 clamp(18px, 4vw, 58px);
  background:
    linear-gradient(135deg, rgba(197, 155, 74, 0.14), transparent 32%),
    var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) 1.7fr;
  gap: clamp(34px, 7vw, 92px);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 78px) 0;
}

.footer-brand-block {
  display: grid;
  align-content: start;
  gap: 22px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 430px;
}

.footer-brand .brand-mark { background: var(--gold); color: var(--ink); }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 48px);
}

.footer-nav div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-nav h3 {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-detail-list { display: grid; gap: 28px; }

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 34px);
}

.service-detail.reverse { grid-template-columns: 1.1fr 0.9fr; }
.service-detail.reverse img { order: 2; }
.service-detail img { width: 100%; height: 440px; object-fit: cover; }

.dark-band {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 4vw, 58px);
  background: var(--forest);
  color: var(--white);
}

.dark-band h2 { max-width: 720px; }

.promise-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.promise-grid span,
.comparison-grid span {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-weight: 800;
}

.comparison-grid span {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.plan-controls {
  display: flex;
  gap: 10px;
  padding-top: 0;
  padding-bottom: 24px;
}

.filter-btn {
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--ink);
  color: var(--white);
}

.plan-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plan-card.featured {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.plan-card.featured p { color: rgba(255, 255, 255, 0.76); }
.plan-card .btn { margin-top: auto; }
.plan-price { font-weight: 800; color: var(--wine); }

.insight-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  padding-top: 0;
}

.insight-feature img,
.article-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.article-grid article { padding: 0; overflow: hidden; }
.article-grid article > *:not(img) { margin-left: 22px; margin-right: 22px; }
.article-grid article p:last-child { margin-bottom: 24px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding-top: 0;
}

.contact-form,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 34px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 13px;
  font: inherit;
  color: var(--ink);
}

.contact-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin-bottom: 24px;
}

.form-status { margin-bottom: 0; font-weight: 700; color: var(--forest); }

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(21, 21, 21, 0.72);
}

.search-panel.open { display: grid; }

.search-box {
  position: relative;
  width: min(680px, 100%);
  padding: 34px;
  background: var(--white);
}

.search-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-links a {
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: inline-grid; }

  .intro-grid,
  .page-hero,
  .split-section,
  .service-detail,
  .service-detail.reverse,
  .insight-feature,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse img { order: 0; }
  .category-row,
  .service-grid,
  .article-grid,
  .process-grid,
  .plan-grid,
  .promise-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 68px;
    padding-inline: 14px;
  }

  .brand-name { font-size: 14px; }
  .brand-mark,
  .icon-btn { width: 38px; height: 38px; }
  .header-actions { gap: 6px; }
  .main-nav { inset: 68px 0 auto 0; }
  .hero { min-height: 680px; }
  .hero-content { margin: 0 auto 38px; }
  h1 { font-size: 40px; }
  h2 { font-size: 31px; }
  .section { width: min(100% - 28px, 1180px); padding: 52px 0; }
  .page-hero { width: min(100% - 28px, 1180px); }
  .category-row,
  .service-grid,
  .article-grid,
  .process-grid,
  .plan-grid,
  .promise-grid,
  .comparison-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .category-tile,
  .category-tile.large { min-height: 360px; }
  .feature-panel,
  .feature-panel img { min-height: 430px; }
  .service-detail img,
  .insight-feature img,
  .article-grid img { height: 300px; }
  .footer-main,
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .plan-controls { overflow-x: auto; }
  .filter-btn { flex: 0 0 auto; }
}
