:root {
  --bg: #f6efe8;
  --bg-soft: #fdf7f2;
  --surface: rgba(255, 252, 248, 0.84);
  --surface-dark: #161514;
  --text: #1f1b18;
  --muted: #6f655d;
  --accent: #d66a2f;
  --accent-deep: #9f4115;
  --accent-soft: #f3d4c3;
  --ink: #10222d;
  --line: rgba(31, 27, 24, 0.1);
  --shadow: 0 28px 70px rgba(31, 27, 24, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --content-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 106, 47, 0.16), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(16, 34, 45, 0.1), transparent 22%),
    linear-gradient(180deg, #fff8f1 0%, #f6efe8 52%, #f0e6dd 100%);
  line-height: 1.65;
}

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

.container {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 239, 232, 0.78);
  border-bottom: 1px solid rgba(31, 27, 24, 0.07);
}

.site-header__inner,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-header__inner { padding: 1rem 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand__logo {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(214, 106, 47, 0.2);
}

.brand__title,
.site-nav a,
.button,
h1,
h2,
h3,
strong {
  font-family: "Sora", sans-serif;
}

.brand__title {
  display: block;
  font-size: 1.12rem;
  font-weight: 700;
}

.brand__subtitle,
.hero-text,
.page-copy,
.footer-copy,
.content-card__item p,
.service-card p,
.portfolio-card p,
.quote-card p,
.post-card p,
.page-panel p,
.prose-panel p,
.cta-banner p { color: var(--muted); }

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

.site-nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.78); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: white;
  box-shadow: 0 18px 35px rgba(214, 106, 47, 0.26);
}
.button--secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(31, 27, 24, 0.08);
}

.hero,
.page-hero { padding: 4.5rem 0 2.5rem; }

.hero-grid,
.split-grid,
.testimonial-grid,
.page-hero__grid,
.cta-banner {
  display: grid;
  gap: 1.5rem;
}

.hero-grid,
.split-grid,
.page-hero__grid,
.cta-banner {
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.9fr);
  align-items: center;
}

.testimonial-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  background: rgba(214, 106, 47, 0.12);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.04; }
h1 { font-size: clamp(3rem, 7vw, 5.2rem); max-width: 11ch; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.2rem; }

.hero-actions,
.button-row,
.metric-row,
.badge-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.metric-card,
.hero-panel,
.content-card,
.service-card,
.portfolio-card,
.testimonial-featured,
.quote-card,
.post-card,
.page-panel,
.prose-panel,
.footer-panel,
.cta-banner,
.badge-pill {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.metric-card,
.hero-panel,
.content-card,
.service-card,
.portfolio-card,
.testimonial-featured,
.quote-card,
.post-card,
.page-panel,
.prose-panel,
.footer-panel,
.cta-banner {
  padding: 1.5rem;
}

.metric-card strong { display: block; font-size: 1.6rem; }

.hero-panel {
  background: linear-gradient(180deg, rgba(16, 34, 45, 0.98), rgba(26, 45, 57, 0.98));
  color: #eef7fb;
}

.hero-panel__grid,
.testimonial-list,
.portfolio-list,
.archive-list {
  display: grid;
  gap: 1rem;
}

.hero-panel__item span {
  display: block;
  color: rgba(238, 247, 251, 0.65);
  font-size: 0.88rem;
}

.section { padding: 1.5rem 0 4rem; }
.section--dark {
  background: linear-gradient(180deg, #151313 0%, #1d1a18 100%);
  color: #f7efe7;
}
.section--accent {
  background: linear-gradient(180deg, rgba(243, 212, 195, 0.36), rgba(255, 246, 239, 0.78));
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

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

.content-card,
.testimonial-list,
.prose-panel { background: rgba(255, 255, 255, 0.78); }

.content-card__item + .content-card__item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.service-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }
.section--dark .service-card p,
.section--dark .text-link { color: rgba(247, 239, 231, 0.74); }

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #f0a175);
  margin-bottom: 1rem;
}

.portfolio-card__meta,
.post-card__meta {
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-pill {
  padding: 0.8rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  box-shadow: none;
}

.quote-text { font-size: 1.1rem; line-height: 1.8; }

.site-footer {
  padding: 2rem 0 3rem;
  background: linear-gradient(180deg, #181513 0%, #100f0f 100%);
  color: #f7efe7;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.85fr);
  align-items: start;
}

.footer-copy,
.site-footer p,
.site-footer a { color: rgba(247, 239, 231, 0.74); }

.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding: 1.2rem 2rem;
  font-size: .78rem; color: rgba(247,239,231,.35);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid rgba(247,239,231,.1);
}
.footer-hosted { font-size: .76rem; color: rgba(247,239,231,.28); }
.footer-hosted a { color: rgba(247,239,231,.45); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.footer-hosted a:hover { color: #f7c948; }

.prose-panel h2,
.prose-panel h3 { margin-top: 1.4rem; }

.archive-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.reveal { animation: rise 720ms ease both; }
.reveal:nth-child(2) { animation-delay: 80ms; }
.reveal:nth-child(3) { animation-delay: 160ms; }
.reveal:nth-child(4) { animation-delay: 240ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .testimonial-grid,
  .page-hero__grid,
  .cta-banner,
  .footer-grid,
  .card-grid--three,
  .metric-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header__inner,
  .site-nav,
  .section-heading,
  .archive-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .page-hero { padding-top: 3rem; }

  .hero-grid,
  .split-grid,
  .testimonial-grid,
  .page-hero__grid,
  .cta-banner,
  .footer-grid,
  .card-grid--three,
  .metric-row {
    grid-template-columns: 1fr;
  }

  h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
}