:root {
  --ink: #1f2933;
  --muted: #5d6b75;
  --line: #dde5e9;
  --paper: #ffffff;
  --soft: #f5f8f8;
  --teal: #0e7c7b;
  --blue: #25618d;
  --gold: #d89b2b;
  --coral: #d75f42;
  --shadow: 0 18px 45px rgba(26, 43, 52, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
}

.brand:hover { text-decoration: none; }
.brand small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-weight: 800;
  letter-spacing: 0;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 24px);
  flex-wrap: wrap;
}

nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

nav a[aria-current="page"] { color: var(--teal); }

.header-call {
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--coral);
  font-weight: 800;
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 6vw, 82px) clamp(18px, 6vw, 80px);
  background:
    linear-gradient(115deg, rgba(245, 248, 248, .98), rgba(245, 248, 248, .78)),
    radial-gradient(circle at 82% 12%, rgba(216, 155, 43, .22), transparent 32%);
}

.hero h1, .page-hero h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.hero p, .page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.hero figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero figure img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary { color: white; background: var(--teal); }
.button.secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-band div {
  padding: 28px clamp(18px, 4vw, 54px);
  background: white;
}

.trust-band strong { display: block; font-size: 30px; line-height: 1; }
.trust-band span { color: var(--muted); }

.section, .content-wrap, .page-hero, .post-nav {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.section { padding: clamp(48px, 7vw, 90px) 0; }

.section-heading {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2, .split-section h2, .cta-strip h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.item-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  transition: transform .18s ease, box-shadow .18s ease;
}

.item-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.item-card a { display: block; height: 100%; color: inherit; }
.item-card a:hover { text-decoration: none; }
.item-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); }
.item-card span { display: block; margin: 18px 18px 6px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.item-card h3 { margin: 0 18px 8px; line-height: 1.15; }
.item-card p { margin: 0 18px 22px; color: var(--muted); }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(44px, 7vw, 90px) clamp(18px, 6vw, 80px);
  background: var(--soft);
}

.split-section img {
  width: 100%;
  aspect-ratio: 5 / 3.7;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

blockquote {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

blockquote p { margin-top: 0; color: var(--ink); }
blockquote cite { color: var(--teal); font-style: normal; font-weight: 800; }
.center { text-align: center; margin-top: 28px; }

.cta-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 6vw, 80px);
  background: var(--blue);
  color: white;
}

.cta-strip a { color: white; font-size: clamp(28px, 4vw, 48px); font-weight: 900; }

.page-hero {
  padding: clamp(44px, 7vw, 90px) 0 26px;
}

.page-hero h1 { font-size: clamp(38px, 5vw, 64px); }

.content-wrap {
  padding: 16px 0 clamp(56px, 8vw, 100px);
}

.content-wrap.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
}

.prose {
  font-size: 18px;
}

.prose h2, .prose h3, .prose h4 {
  margin: 1.55em 0 .45em;
  line-height: 1.15;
  letter-spacing: 0;
}

.prose h4 { font-size: 26px; color: var(--blue); }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose img {
  margin: 22px 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.owner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 34px 0 44px;
}

.owner-card {
  margin: 0;
}

.owner-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.owner-card figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.date {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sidebar-card {
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.sidebar-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 14px;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 72px;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 80px);
  color: white;
  background: #263238;
}

.site-footer p { margin: 6px 0 0; color: rgba(255,255,255,.74); }
.footer-actions { display: flex; gap: 16px; flex-wrap: wrap; align-content: start; justify-content: end; }
.site-footer a { color: white; font-weight: 800; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr; }
  nav { justify-content: start; }
  .header-call { justify-self: start; }
  .hero, .split-section, .section-heading, .content-wrap.with-sidebar { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .card-grid, .quote-grid, .trust-band { grid-template-columns: 1fr; }
  .site-footer, .cta-strip { flex-direction: column; align-items: flex-start; }
  .footer-actions { justify-content: start; }
}

@media (max-width: 520px) {
  .hero h1, .page-hero h1 { font-size: 38px; }
  .hero p, .page-hero p { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .owner-grid { grid-template-columns: 1fr; }
}
