:root {
  --bg: #f6f1e8;
  --bg-2: #efe7db;
  --paper: rgba(255, 251, 246, 0.78);
  --panel: #fffaf4;
  --text: #1f2430;
  --muted: #5d6470;
  --line: rgba(31, 36, 48, 0.1);
  --navy: #233247;
  --navy-deep: #172132;
  --clay: #ca7352;
  --clay-soft: #ebc1ad;
  --moss: #6c7b59;
  --gold: #b6924a;
  --shadow: 0 24px 60px rgba(23, 33, 50, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(202, 115, 82, 0.12), transparent 26%),
    radial-gradient(circle at left 20%, rgba(108, 123, 89, 0.12), transparent 28%),
    linear-gradient(180deg, #faf5ee 0%, #f2ebdf 52%, #eee5d8 100%);
}

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

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

.site-shell {
  overflow: clip;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(250, 245, 238, 0.76);
  border-bottom: 1px solid rgba(31, 36, 48, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--clay));
  color: #fff8f1;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 0.95rem;
}

.brand-text span,
.section-note,
.hero-lead,
.portfolio-body p,
.about-copy p,
.process-card p,
.contact-copy p,
.contact-signoff,
.footer-inner p {
  color: var(--muted);
  line-height: 1.7;
}

.brand-text span {
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fffaf2;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero,
.about-section,
.offers-section,
.portfolio-section,
.process-section,
.closing-section,
.contact-section {
  padding: 5rem 0;
}

.hero {
  padding-top: 4.5rem;
}

.hero-grid,
.about-grid,
.process-grid,
.contact-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2,
.process-grid h2,
.closing-card h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
}

.hero-lead {
  max-width: 58ch;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: var(--navy);
  color: #fff8f1;
  box-shadow: 0 18px 40px rgba(35, 50, 71, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(31, 36, 48, 0.12);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.72);
  border: 1px solid rgba(31, 36, 48, 0.08);
}

.hero-points li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  flex: 0 0 auto;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--clay), var(--gold));
}

.hero-visual {
  position: relative;
  min-height: 690px;
}

.portrait-card {
  position: relative;
  max-width: 430px;
  margin-left: auto;
  border-radius: 220px 220px 28px 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #ddd5c8, #f7f0e6);
  box-shadow: var(--shadow);
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(23, 33, 50, 0.14));
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5.25;
  object-fit: cover;
}

.signal-card {
  position: absolute;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid rgba(31, 36, 48, 0.08);
  box-shadow: var(--shadow);
}

.card-label,
.panel-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-card {
  left: 0;
  top: 5.5rem;
  max-width: 250px;
}

.intro-card p,
.contact-card-mini a {
  margin: 0;
  line-height: 1.6;
}

.contact-card-mini {
  right: 0;
  bottom: 2.5rem;
  max-width: 255px;
  display: grid;
  gap: 0.35rem;
}

.contact-card-mini a {
  color: var(--navy);
  font-weight: 500;
}

.trust-strip {
  padding: 0 0 1rem;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.trust-strip-inner p {
  margin: 0;
  min-width: 180px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.trust-strip ul,
.chip-list,
.stack-list,
.offer-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-strip li,
.chip-list li {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.8);
  border: 1px solid rgba(31, 36, 48, 0.08);
}

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

.about-copy h2,
.section-heading h2,
.process-grid h2,
.closing-card h2,
.contact-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.about-side,
.process-cards {
  display: grid;
  gap: 1.25rem;
}

.detail-panel,
.offer-card,
.portfolio-card,
.process-card,
.contact-panel,
.closing-card {
  border: 1px solid rgba(31, 36, 48, 0.08);
  background: rgba(255, 251, 246, 0.78);
  box-shadow: var(--shadow);
}

.detail-panel {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.accent-panel {
  background: linear-gradient(180deg, rgba(255, 244, 236, 0.96), rgba(255, 251, 246, 0.86));
}

.stack-list {
  display: grid;
  gap: 0.7rem;
}

.stack-list li {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.stack-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 2rem;
  align-items: end;
}

.section-note {
  margin: 0;
}

.offer-grid,
.portfolio-grid {
  display: grid;
  gap: 1.25rem;
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.offer-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.offer-card h3,
.process-card h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.offer-card ul {
  display: grid;
  gap: 0.75rem;
}

.offer-card li {
  color: var(--muted);
  line-height: 1.65;
}

.featured-card {
  background: linear-gradient(180deg, rgba(35, 50, 71, 0.95), rgba(23, 33, 50, 0.95));
  color: #fff8f1;
}

.featured-card li {
  color: rgba(255, 248, 241, 0.8);
}

.portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.portfolio-card {
  overflow: hidden;
  border-radius: 28px;
}

.video-frame {
  background: linear-gradient(180deg, rgba(35, 50, 71, 0.92), rgba(23, 33, 50, 1));
  padding: 1rem;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  object-fit: cover;
  background: #111;
}

.portfolio-body {
  padding: 1.25rem 1.3rem 1.4rem;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.portfolio-body p {
  margin: 0;
}

.process-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.process-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(202, 115, 82, 0.12);
  color: var(--clay);
  font-weight: 700;
}

.closing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(235, 193, 173, 0.45), transparent 28%),
    linear-gradient(135deg, rgba(255, 249, 242, 0.96), rgba(245, 236, 225, 0.98));
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
}

.contact-panel {
  padding: 1.6rem;
  border-radius: 28px;
  display: grid;
  gap: 0.9rem;
}

.contact-panel a {
  font-size: 1rem;
}

.contact-panel a:not(.button) {
  color: var(--navy);
  font-weight: 500;
}

.contact-signoff {
  margin: 0.2rem 0 0.5rem;
}

.footer {
  padding: 0 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-inner p {
  margin: 0;
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .process-grid,
  .contact-layout,
  .split-heading,
  .offer-grid,
  .portfolio-grid,
  .process-cards {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 2rem;
  }

  .portrait-card {
    margin: 0 auto;
  }

  .signal-card {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.97);
    border: 1px solid rgba(31, 36, 48, 0.08);
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: inline-block;
  }

  .hero,
  .about-section,
  .offers-section,
  .portfolio-section,
  .process-section,
  .closing-section,
  .contact-section {
    padding: 4rem 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.9rem, 15vw, 4.9rem);
  }

  .closing-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  .topbar-inner {
    padding: 0.85rem 0;
  }

  .hero-actions,
  .button,
  .contact-panel .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .portfolio-meta,
  .footer-inner {
    justify-content: flex-start;
    flex-direction: column;
  }

  .hero-points li,
  .offer-card,
  .detail-panel,
  .process-card,
  .contact-panel,
  .closing-card {
    border-radius: 22px;
  }

  .video-frame {
    padding: 0.8rem;
  }

  .video-frame video {
    border-radius: 18px;
  }
}
