:root {
  --bg: #f5f0e3;
  --bg-alt: #fdfbf5;
  --ink: #121212;
  --ink-soft: #494339;
  --gold: #f2b61f;
  --gold-deep: #c9910b;
  --line: rgba(18, 18, 18, 0.1);
  --card: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 60px rgba(18, 18, 18, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body.basil-premium-body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(242, 182, 31, 0.16), transparent 26%),
    linear-gradient(180deg, #f8f3e8 0%, #f5f0e3 48%, #fbf8f1 100%);
}

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

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(12, 12, 12, 0.84);
  border-bottom: 1px solid rgba(242, 182, 31, 0.16);
}

.site-header__inner,
.site-footer__inner,
.hero-section,
.content-section,
.page-hero__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

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

.brand-mark__badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #121212;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark__text {
  display: grid;
  gap: 2px;
  color: #f6f2e7;
}

.brand-mark__text strong {
  font-size: 0.98rem;
}

.brand-mark__text span {
  font-size: 0.78rem;
  color: rgba(246, 242, 231, 0.72);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  color: #f6f2e7;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav__cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-nav__cta,
.button--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #121212;
  box-shadow: 0 14px 36px rgba(201, 145, 11, 0.22);
}

.button--secondary {
  border: 1px solid rgba(18, 18, 18, 0.14);
  background: rgba(255, 255, 255, 0.64);
}

.site-nav__cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #f6f2e7;
}

.site-main {
  padding-bottom: 72px;
}

.hero-section {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: currentColor;
}

.hero-section h1,
.section-heading h2,
.page-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 18px 0 18px;
}

.hero-section h1 {
  font-size: clamp(3rem, 7vw, 6.1rem);
  max-width: 11ch;
}

.hero-section p,
.surface-card p,
.timeline-card p,
.service-card p,
.page-hero p,
.surface-card li {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1.02rem;
}

.hero-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-metrics li,
.visual-card,
.surface-card,
.timeline-card,
.service-card,
.cta-band {
  background: var(--card);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  display: block;
  font-size: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero-section__visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-section__visual::before,
.hero-section__visual::after {
  content: "";
  position: absolute;
  inset: 10% 18% auto auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(242, 182, 31, 0.22);
  filter: blur(22px);
}

.hero-section__visual::after {
  inset: auto auto 8% 12%;
  width: 160px;
  height: 160px;
  background: rgba(18, 18, 18, 0.1);
}

.visual-card {
  position: absolute;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.visual-card span {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
  font-weight: 800;
}

.visual-card strong {
  display: block;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 10px;
}

.visual-card--main {
  inset: 4% 8% auto auto;
  max-width: 320px;
}

.visual-card--accent {
  inset: auto auto 14% 0;
  max-width: 290px;
}

.visual-grid {
  position: absolute;
  inset: auto 6% 4% auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.visual-grid span {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.9);
  color: #f6f2e7;
  font-size: 0.84rem;
  font-weight: 700;
}

.content-section {
  padding: 44px 0;
}

.content-section--split .content-grid-two,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  max-width: 11ch;
}

.section-heading--light h2,
.section-heading--light .eyebrow {
  color: #fff;
}

.section-heading--light .eyebrow::before {
  background: rgba(255, 255, 255, 0.6);
}

.surface-card,
.timeline-card,
.service-card,
.cta-band {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.surface-card--feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(250,244,231,0.96) 100%);
}

.card-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(242, 182, 31, 0.14);
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.surface-card--wide {
  max-width: 900px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
}

.timeline,
.services-grid {
  display: grid;
  gap: 18px;
}

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

.timeline-card__date {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(242, 182, 31, 0.14);
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-card h3,
.service-card h3,
.surface-card h3,
.cta-band h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 16px 0 12px;
}

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

.service-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.content-section--dark {
  background: linear-gradient(145deg, #111111 0%, #1b1b1b 100%);
  border-radius: 40px;
  color: #fff;
  padding: 56px 0;
  margin-top: 12px;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.keyword-cloud span {
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.process-strip article {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.process-strip span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  margin-bottom: 16px;
}

.process-strip h3 {
  color: #fff;
  margin: 0 0 12px;
}

.process-strip p {
  margin: 0;
  color: rgba(255,255,255,0.76);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(242,182,31,0.14) 0%, rgba(255,255,255,0.08) 100%);
}

.page-hero {
  padding: 68px 0 22px;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.contact-section .surface-card form p {
  margin-top: 0;
}

.contact-section .surface-card .wpcf7-form {
  display: grid;
  gap: 10px;
}

.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="tel"],
.contact-section input[type="file"],
.contact-section textarea {
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__inner h2 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 10px;
}

.site-footer__inner p,
.site-footer__links a {
  color: var(--ink-soft);
}

.site-footer__links {
  display: grid;
  gap: 10px;
  justify-items: end;
}

@media (max-width: 1080px) {
  .hero-section,
  .content-section--split .content-grid-two,
  .contact-layout,
  .timeline,
  .services-grid,
  .process-strip,
  .cta-band,
  .site-footer__inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-section {
    padding-top: 52px;
  }

  .hero-section__visual {
    min-height: 420px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: rgba(12, 12, 12, 0.95);
    border: 1px solid rgba(242, 182, 31, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand-mark__text span {
    display: none;
  }

  .visual-card--main {
    inset: 0 auto auto 0;
  }

  .visual-card--accent {
    inset: auto 0 18% auto;
  }

  .visual-grid {
    position: static;
    margin-top: 260px;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .site-footer__inner,
  .hero-section,
  .content-section,
  .page-hero__inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-section h1 {
    max-width: none;
  }

  .section-heading h2,
  .page-hero h1 {
    max-width: none;
  }

  .visual-card {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .hero-section__visual {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .visual-grid {
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .timeline-card,
  .service-card,
  .surface-card,
  .cta-band {
    padding: 22px;
  }
}
