:root {
  --bg: #f4efe6;
  --bg-deep: #e9dfcf;
  --paper: rgba(255, 251, 244, 0.92);
  --paper-strong: #fffaf2;
  --ink: #16231f;
  --muted: #5f6a63;
  --forest: #173f3a;
  --forest-deep: #0d2825;
  --sage: #7a9489;
  --gold: #bc8c42;
  --gold-soft: #ead7b3;
  --line: rgba(22, 35, 31, 0.12);
  --shadow: 0 24px 64px rgba(15, 40, 36, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(188, 140, 66, 0.18), transparent 25%),
    radial-gradient(circle at 90% 8%, rgba(23, 63, 58, 0.16), transparent 26%),
    linear-gradient(180deg, #fcf8f1 0%, var(--bg) 52%, var(--bg-deep) 100%);
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(252, 248, 241, 0.86);
  border-bottom: 1px solid rgba(22, 35, 31, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand-lockup {
  width: clamp(188px, 25vw, 280px);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--forest);
  background: rgba(23, 63, 58, 0.08);
}

.site-nav .nav-cta {
  color: #fff9ef;
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  box-shadow: 0 14px 28px rgba(23, 63, 58, 0.18);
}

.site-nav .nav-cta:hover {
  color: #fff9ef;
  background: linear-gradient(135deg, #1a4a44, #102d29);
}

.hero-band,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-band {
  padding: 34px 0 24px;
}

.hero-grid,
.section-grid,
.card-grid,
.footer-grid,
.footer-bar,
.metrics-row,
.mini-grid,
.detail-grid,
.cta-actions,
.form-grid,
.service-landing-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.78fr);
  align-items: stretch;
}

.hero-copy,
.hero-card,
.metric-card,
.panel,
.service-card,
.quote-panel,
.cta-panel,
.detail-card,
.policy-card,
.insight-card,
.industry-card,
.service-summary-card,
.form-shell,
.contact-side,
.success-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-card,
.panel,
.cta-panel,
.success-shell,
.form-shell,
.contact-side {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 56px 34px 38px;
  background:
    linear-gradient(145deg, rgba(13, 40, 37, 0.96), rgba(23, 63, 58, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #f9f3e9;
}

.hero-copy h1,
.page-hero h1,
h2,
h3 {
  margin: 0;
  font-family: Baskerville, "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.02;
}

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

.page-hero {
  padding: 42px 0 18px;
}

.page-hero-shell {
  padding: 46px 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(13, 40, 37, 0.96), rgba(23, 63, 58, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  color: #f9f3e9;
  box-shadow: 0 24px 70px rgba(13, 40, 37, 0.22);
}

.page-hero-shell h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 4.9rem);
}

.kicker,
.eyebrow,
.section-label,
.card-tag {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.kicker,
.eyebrow,
.section-label,
.card-tag,
.hero-copy .section-label {
  color: var(--gold-soft);
}

.section-label,
.panel .section-label,
.metric-card .eyebrow,
.service-card .card-tag,
.page-body .section-label {
  color: var(--forest);
}

.lede,
.hero-copy p,
.hero-card p,
.metric-card p,
.panel p,
.service-card p,
.quote-panel span,
.footer-copy,
.footer-bar,
.policy-card p,
.insight-card p,
.industry-card p,
.service-summary-card p,
.detail-card p,
.contact-side p,
.success-shell p {
  line-height: 1.78;
  color: inherit;
}

.lede {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 1.14rem;
  color: rgba(249, 243, 233, 0.86);
}

.hero-copy .action-row {
  margin-top: 28px;
}

.action-row,
.center-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #c79d59);
  color: #1d2019;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 12px 28px rgba(188, 140, 66, 0.26);
}

.button:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #f9f3e9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.panel .button-secondary,
.cta-panel .button-secondary,
.service-card .button-secondary,
.form-shell .button-secondary,
.contact-side .button-secondary,
.site-nav .button-secondary {
  color: var(--forest);
  background: rgba(23, 63, 58, 0.08);
  border: 1px solid rgba(23, 63, 58, 0.14);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.signal-strip span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(249, 243, 233, 0.84);
  font-size: 0.92rem;
}

.hero-card {
  padding: 28px 24px;
}

.stack-list,
.bullet-list,
.footer-links,
.service-points,
.contact-list,
.policy-list {
  margin: 0;
  padding-left: 18px;
}

.stack-list {
  list-style: none;
  padding: 0;
}

.stack-list article,
.mini-panel,
.detail-card,
.industry-card,
.insight-card,
.service-summary-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(22, 35, 31, 0.08);
}

.stack-list article + article {
  margin-top: 12px;
}

.stack-list strong,
.metric-card strong,
.service-card h3,
.mini-panel strong,
.industry-card h3,
.insight-card h3,
.service-summary-card h3,
.detail-card h3 {
  display: block;
  margin-bottom: 8px;
}

.metrics-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.metric-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.section-grid {
  margin-top: 18px;
}

.two-up {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  align-items: start;
}

.panel,
.cta-panel,
.success-shell,
.contact-side,
.form-shell {
  padding: 28px 24px;
}

.bullet-list,
.service-points,
.contact-list,
.policy-list,
.footer-links {
  color: var(--muted);
  line-height: 1.75;
}

.card-grid {
  margin-top: 18px;
}

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

.service-card,
.policy-card,
.insight-card,
.industry-card,
.service-summary-card {
  display: block;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.policy-card:hover,
.insight-card:hover,
.industry-card:hover,
.service-summary-card:hover {
  transform: translateY(-2px);
  border-color: rgba(188, 140, 66, 0.35);
  box-shadow: 0 28px 56px rgba(13, 40, 37, 0.14);
}

.section-head {
  margin-top: 18px;
}

.center-row {
  justify-content: center;
  margin-top: 20px;
}

.profile-band {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr);
}

.mini-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.quote-panel {
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(23, 63, 58, 0.98), rgba(13, 40, 37, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  color: #f9f3e9;
}

.quote-panel p {
  margin: 0;
  font-family: Baskerville, "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.6rem;
  line-height: 1.35;
}

.quote-panel span {
  display: block;
  margin-top: 18px;
  color: rgba(249, 243, 233, 0.74);
}

.dark-panel {
  background:
    linear-gradient(135deg, rgba(13, 40, 37, 0.96), rgba(23, 63, 58, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  color: #f9f3e9;
}

.dark-panel p,
.dark-panel h2,
.dark-panel .section-label {
  color: inherit;
}

.dark-panel .section-label {
  color: var(--gold-soft);
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-weight: 700;
}

.cta-panel {
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(200px, 0.8fr) minmax(200px, 0.8fr);
  align-items: start;
  padding: 28px 0 16px;
}

.site-footer {
  margin-top: 42px;
  background: rgba(12, 31, 29, 0.95);
  color: #f2eadf;
}

.footer-logo {
  width: min(220px, 100%);
  margin-bottom: 14px;
}

.footer-heading {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 800;
  color: #d8bf90;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: rgba(242, 234, 223, 0.86);
}

.footer-bar {
  grid-template-columns: 1fr 1fr;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(242, 234, 223, 0.72);
  font-size: 0.9rem;
}

.page-body {
  padding-bottom: 8px;
}

.lead-paragraph {
  font-size: 1.05rem;
  line-height: 1.85;
}

.service-landing-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.detail-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.detail-card {
  border-radius: var(--radius-lg);
}

.insight-card p strong,
.industry-card p strong {
  color: var(--ink);
}

.form-section {
  margin-top: 18px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
}

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

.field,
.field.full {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(22, 35, 31, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(188, 140, 66, 0.24);
  border-color: rgba(188, 140, 66, 0.55);
}

.field-note,
.fine-print,
.status-message {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.status-message {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(23, 63, 58, 0.08);
  border: 1px solid rgba(23, 63, 58, 0.12);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.7;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.contact-side .alert-box,
.form-shell .alert-box,
.success-shell .alert-box {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(188, 140, 66, 0.12);
  border: 1px solid rgba(188, 140, 66, 0.18);
  color: #4b4130;
}

.success-shell {
  margin-top: 18px;
}

.policy-grid,
.industry-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.policy-card,
.insight-card,
.industry-card,
.service-summary-card {
  border-radius: var(--radius-lg);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(12, 31, 29, 0.96);
  color: #f2eadf;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.cookie-copy p {
  margin: 6px 0 0;
  color: rgba(242, 234, 223, 0.76);
}

.cookie-button {
  flex: 0 0 auto;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero-grid,
  .profile-band,
  .two-up,
  .cta-panel,
  .form-layout,
  .footer-grid,
  .footer-bar {
    grid-template-columns: 1fr;
  }

  .metrics-row,
  .mini-grid,
  .detail-grid,
  .policy-grid,
  .industry-grid,
  .insight-grid,
  .three-up,
  .service-landing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 18px, 1180px);
  }

  .hero-band {
    padding-top: 18px;
  }

  .hero-copy,
  .page-hero-shell,
  .hero-card,
  .panel,
  .quote-panel,
  .cta-panel,
  .form-shell,
  .contact-side,
  .success-shell {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .hero-copy h1,
  .page-hero-shell h1 {
    max-width: none;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .metrics-row,
  .mini-grid,
  .detail-grid,
  .policy-grid,
  .industry-grid,
  .insight-grid,
  .three-up,
  .service-landing-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 8px;
  }

  .site-nav a {
    padding: 8px 12px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
