:root {
  --bg: #0c0b09;
  --panel: #151311;
  --panel-soft: #1d1916;
  --paper: #f4eee5;
  --text: #f5efe6;
  --muted: #cbbfae;
  --dark-text: #1d1712;
  --line: rgba(255, 245, 232, 0.12);
  --accent: #c59b5c;
  --accent-deep: #a67d42;
  --success: #bfd8b5;
  --error: #ffb3a7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(197, 155, 92, 0.12), transparent 28%),
    linear-gradient(180deg, #0c0b09 0%, #14110f 100%);
  color: var(--text);
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.section {
  padding: 5.5rem 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Prata", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(12, 11, 9, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.brand__mark {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  color: var(--accent);
}

.brand__text {
  display: grid;
  gap: 0.18rem;
}

.brand__text strong {
  font-size: 0.96rem;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-toggle {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  gap: 0.22rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav {
  position: fixed;
  inset: 4.8rem 1rem auto;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(18, 16, 14, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav a {
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #e0bc83);
  color: #1e150a;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(197, 155, 92, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(197, 155, 92, 0.3);
}

.button--nav {
  margin-top: 0.25rem;
}

.button--full-mobile {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
}

.text-link::after {
  content: "";
  width: 2.1rem;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 0;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 11, 9, 0.86), rgba(12, 11, 9, 0.38) 52%, rgba(12, 11, 9, 0.74)),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  min-height: 44rem;
  align-items: end;
  padding: 4rem 0 2rem;
}

.hero__content {
  padding: 1.8rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16, 14, 12, 0.75), rgba(16, 14, 12, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero__content h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
}

.hero__lead,
.story__quote p,
.story__details p,
.service-row__body p,
.merit p,
.team-panel p,
.contact-layout__left p,
.contact-block p,
.intro-band__grid p,
.process-step p,
.testimonial p,
.resource-card p,
.faq-item p,
.hero__panel-intro {
  color: var(--muted);
  line-height: 1.8;
}

.hero__lead {
  max-width: 46rem;
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.hero__actions,
.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}

.hero__panel {
  align-self: end;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(180deg, rgba(244, 238, 229, 0.96), rgba(238, 229, 216, 0.92));
  color: var(--dark-text);
  box-shadow: var(--shadow);
}

.hero__panel-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  font-weight: 800;
}

.hero__panel-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.08;
}

.hero__panel-intro {
  color: rgba(29, 23, 18, 0.74);
}

.hero__panel-item {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(29, 23, 18, 0.12);
}

.hero__panel-item strong {
  font-size: 1.05rem;
}

.hero__panel-item span,
.form-note {
  color: rgba(29, 23, 18, 0.72);
  line-height: 1.7;
}

.hero__panel-link {
  margin-top: 0.25rem;
  color: var(--accent-deep);
}

.intro-band {
  background: var(--paper);
  color: var(--dark-text);
}

.intro-band__grid {
  display: grid;
  gap: 1rem;
  padding: 1.2rem 0;
}

.intro-band__grid > div {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(29, 23, 18, 0.1);
}

.intro-band__grid > div:last-child {
  border-bottom: 0;
}

.intro-band__stat {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.story__grid,
.merits__grid,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.story__quote h2,
.section-heading h2,
.cta-strip__inner h2,
.contact-layout__left h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
}

.section-heading--center {
  text-align: center;
}

.story__quote,
.story__details,
.services__shell,
.merit,
.team-panel,
.contact-layout__right,
.process__shell,
.testimonial,
.resource-card,
.faq-item {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.story__quote {
  padding: 2rem;
  background: linear-gradient(160deg, rgba(197, 155, 92, 0.18), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}

.story__details,
.services__shell,
.process__shell {
  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.story__tiles {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.story__tiles article {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story__tiles span,
.process-step span,
.contact-block span,
.field span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.services {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.services__stack,
.process__grid,
.testimonials__grid,
.resources__grid,
.faq__list {
  display: grid;
  gap: 1rem;
}

.services__stack {
  margin-top: 2rem;
}

.service-row {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-row__index {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
}

.service-row__body h3,
.merit h3,
.process-step h3,
.resource-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.merits__list {
  display: grid;
  gap: 1rem;
}

.merit,
.testimonial,
.resource-card,
.faq-item {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.process__grid {
  margin-top: 2rem;
}

.process-step {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.testimonials {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.testimonials__grid,
.resources__grid {
  margin-top: 2rem;
}

.testimonial strong {
  display: block;
  margin-top: 1rem;
  color: var(--accent);
}

.team-columns {
  display: grid;
  gap: 1rem;
}

.team-panel {
  padding: 1.6rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.team-panel--accent {
  background: linear-gradient(160deg, rgba(197, 155, 92, 0.18), rgba(255, 255, 255, 0.03));
}

.team-panel__top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.team-panel__image-wrap {
  margin: -0.35rem -0.35rem 1.35rem;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.team-panel__image {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  object-position: center top;
}

.team-panel__badge {
  color: var(--text);
  font-size: 1.4rem;
}

.team-panel__meta {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.team-panel__links,
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.team-panel__links {
  margin-top: 1.25rem;
}

.team-panel__links a,
.contact-block a {
  color: var(--accent);
  font-weight: 700;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 1rem;
}

.cta-strip {
  padding-top: 1.5rem;
}

.cta-strip__inner {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(197, 155, 92, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-layout__left {
  max-width: 36rem;
}

.contact-layout__right {
  padding: 1.6rem;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
}

.contact-form,
.contact-meta {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(197, 155, 92, 0.7);
  box-shadow: 0 0 0 3px rgba(197, 155, 92, 0.12);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: rgba(255, 179, 167, 0.8);
}

.form-note {
  font-size: 0.92rem;
}

.form-message {
  min-height: 1.4rem;
  font-size: 0.96rem;
  font-weight: 700;
}

.form-message.is-error {
  color: var(--error);
}

.form-message.is-success {
  color: var(--success);
}

.contact-block {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .intro-band__grid,
  .team-columns,
  .merits__list,
  .process__grid,
  .testimonials__grid,
  .resources__grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .section {
    padding: 7rem 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    inset: auto;
    display: flex;
    align-items: center;
    gap: 1.3rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .button--nav {
    margin-top: 0;
    margin-left: 0.35rem;
  }

  .hero__layout {
    grid-template-columns: 1.2fr 0.7fr;
    align-items: end;
    padding: 5.5rem 0 0;
  }

  .hero__content {
    margin-bottom: 4rem;
  }

  .hero__panel {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .intro-band__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .intro-band__grid > div {
    padding: 1.3rem 0;
    border-bottom: 0;
  }

  .story__grid,
  .merits__grid,
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .service-row {
    grid-template-columns: 90px 1fr;
    align-items: start;
  }

  .cta-strip__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
