:root {
  --bg: #f7f3eb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-alt: #e9eef1;
  --text: #173245;
  --muted: #5d6f7c;
  --line: rgba(18, 48, 71, 0.14);
  --accent: #123047;
  --accent-soft: #d8e2e8;
  --accent-warm: #a8743f;
  --shadow: 0 24px 70px rgba(18, 48, 71, 0.08);
  --shadow-soft: 0 10px 28px rgba(18, 48, 71, 0.06);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::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(180, 131, 82, 0.11), transparent 24%),
    linear-gradient(90deg, rgba(180, 131, 82, 0.04) 0, rgba(180, 131, 82, 0.04) 1px, transparent 1px, transparent 56px),
    linear-gradient(180deg, #f8f4ec 0%, #f3f6f8 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(247, 243, 235, 0.82);
  border-bottom: 1px solid rgba(18, 48, 71, 0.08);
  box-shadow: 0 8px 24px rgba(18, 48, 71, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
  padding: 0.45rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 0.85rem;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 62px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(145deg, #163549, #284f69 68%, #355f78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 34px rgba(18, 48, 71, 0.2);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 17px;
  border: 1px solid rgba(168, 116, 63, 0.34);
  pointer-events: none;
}

.brand-initial {
  position: absolute;
  font-family: "Newsreader", serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f8f4ec;
}

.brand-initial-h {
  top: 12px;
  left: 13px;
  font-size: 1.55rem;
}

.brand-initial-m {
  right: 12px;
  bottom: 10px;
  font-size: 1.55rem;
}

.brand-divider {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 116, 63, 0.85), transparent);
  transform: rotate(-32deg);
  transform-origin: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(18, 48, 71, 0.07);
  box-shadow: 0 12px 26px rgba(18, 48, 71, 0.05);
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.78);
}

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--accent);
}

.hero,
.section,
.site-footer {
  position: relative;
}

.hero {
  padding: 1.4rem 0 3rem;
}

.hero-shell {
  position: relative;
  padding: clamp(1.1rem, 1.6vw, 1.45rem);
  border-radius: 40px;
  border: 1px solid rgba(18, 48, 71, 0.1);
  background:
    radial-gradient(circle at top left, rgba(168, 116, 63, 0.1), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48)),
    linear-gradient(180deg, rgba(233, 238, 241, 0.34), rgba(255, 255, 255, 0.12));
  box-shadow: 0 28px 80px rgba(18, 48, 71, 0.1);
  overflow: hidden;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 42%),
    radial-gradient(circle at bottom right, rgba(18, 48, 71, 0.05), transparent 24%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  gap: 1.8rem;
  align-items: start;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.75rem);
  max-width: 13.5ch;
  text-wrap: pretty;
  line-height: 1.02;
}

.hero-kicker {
  margin: 0 0 1rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-subheadline {
  margin: 0.95rem 0 0.85rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--text);
  max-width: 34rem;
}

.hero-trust {
  max-width: 33rem;
  font-size: 0.97rem;
}

.hero-trust,
.section-heading p,
.content-stack p,
.service-card p,
.problem-card p,
.benefit-item p,
.process-step p,
.faq-list p,
.contact-lead,
.contact-details,
.footer-tagline,
.form-note {
  color: var(--muted);
  line-height: 1.72;
}

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

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

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.hero-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 48, 71, 0.08);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(18, 48, 71, 0.05);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #16384f, #123047);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 14px 28px rgba(18, 48, 71, 0.14);
}

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

.button-outline {
  border-color: rgba(18, 48, 71, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent);
  border-color: rgba(18, 48, 71, 0.08);
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.hero-panel {
  display: grid;
  gap: 0.85rem;
  align-self: start;
  padding: 0.25rem;
  border-radius: 32px;
  background: rgba(18, 48, 71, 0.04);
}

.portrait-card {
  margin: 0;
  position: relative;
  padding: 0.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, rgba(216, 226, 232, 0.5), transparent 44%);
  border: 1px solid rgba(18, 48, 71, 0.1);
  border-radius: 36px;
  box-shadow: 0 26px 70px rgba(18, 48, 71, 0.11);
  overflow: hidden;
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(168, 116, 63, 0.14), transparent 30%),
    linear-gradient(180deg, transparent 58%, rgba(18, 48, 71, 0.08) 100%);
  pointer-events: none;
}

.portrait-image {
  width: 100%;
  aspect-ratio: 4 / 4.45;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 28px;
}

.portrait-caption {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.95rem 1.05rem;
  border-radius: 22px;
  background: rgba(18, 48, 71, 0.8);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 48, 71, 0.18);
}

.portrait-caption strong {
  font-size: 1.02rem;
}

.portrait-caption span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.panel-card,
.service-card,
.problem-card,
.process-step,
.contact-form,
.audience-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 1.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, rgba(216, 226, 232, 0.55), transparent 40%);
}

.hero-copy {
  max-width: 38rem;
}

.panel-label {
  margin: 0 0 1rem;
  font-weight: 800;
  color: var(--accent);
}

.panel-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.2rem;
}

.metric-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-strip div {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(18, 48, 71, 0.05);
}

.metric-strip strong,
.outcome,
.footer-name,
.contact-form h3 {
  color: var(--accent);
}

.metric-strip span {
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(233, 238, 241, 0.56), rgba(255, 255, 255, 0));
}

.section::before {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-warm), transparent);
  margin-bottom: 1.4rem;
}

.hero::before,
.site-footer::before {
  display: none;
}

.section-grid,
.two-column-highlight,
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.2rem;
}

.section h2 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  max-width: 14ch;
}

.content-stack {
  display: grid;
  gap: 1.1rem;
}

.about-credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.about-credential {
  padding: 1.1rem 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(18, 48, 71, 0.08);
  box-shadow: var(--shadow-soft);
}

.about-credential strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent);
}

.about-credential span {
  color: var(--muted);
}

.services-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.6rem;
}

.services-intro-item {
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(18, 48, 71, 0.08);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.services-intro-item strong,
.service-index {
  display: block;
  color: var(--accent);
}

.services-intro-item strong {
  margin-bottom: 0.35rem;
}

.services-intro-item span {
  color: var(--muted);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.55rem;
  border-radius: 26px;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, rgba(216, 226, 232, 0.42), transparent 52%);
  border: 1px solid rgba(18, 48, 71, 0.09);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(18, 48, 71, 0.1);
  border-color: rgba(18, 48, 71, 0.14);
}

.project-index {
  margin: 0 0 0.8rem;
  color: var(--accent-warm);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 0.8rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.project-card span {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.card-grid,
.problem-grid,
.benefit-list,
.process-grid,
.audience-grid,
.projects-grid {
  display: grid;
  gap: 1.2rem;
}

.card-grid,
.problem-grid,
.benefit-list,
.audience-grid,
.projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.problem-card,
.process-step,
.audience-item {
  padding: 1.6rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.7rem 1.65rem 1.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    linear-gradient(135deg, rgba(216, 226, 232, 0.48), transparent 48%);
  border-color: rgba(18, 48, 71, 0.09);
  box-shadow: 0 20px 42px rgba(18, 48, 71, 0.08);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-warm), rgba(18, 48, 71, 0.25));
}

.service-index {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.problem-card,
.process-step,
.audience-item,
.contact-form {
  box-shadow: var(--shadow-soft);
}

.service-card h3,
.problem-card h3,
.benefit-item h3,
.process-step h3,
.contact-form h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.outcome {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 48, 71, 0.08);
  font-weight: 700;
}

.section-cta {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
}

.audience-item {
  display: flex;
  align-items: center;
  min-height: 88px;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66));
}

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

.benefit-item {
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

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

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 1rem;
}

.problem-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.76));
}

.benefit-item,
.faq-list details {
  background: rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  padding: 1.2rem;
}

.benefit-item {
  border-top: 1px solid rgba(18, 48, 71, 0.08);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  border: 1px solid rgba(18, 48, 71, 0.08);
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--accent);
}

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

.faq-list p {
  margin-bottom: 0;
}

.section-contact {
  padding-bottom: 5.5rem;
}

.section-contact .container {
  padding: 2.25rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(233, 238, 241, 0.42));
  border: 1px solid rgba(18, 48, 71, 0.08);
  box-shadow: var(--shadow);
}

.contact-form {
  padding: 1.8rem;
}

.contact-form label {
  display: block;
  margin: 1rem 0 0.35rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 48, 71, 0.16);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(18, 48, 71, 0.22);
  border-color: var(--accent);
}

.contact-details {
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
}

.contact-details li + li {
  margin-top: 0.7rem;
}

.site-footer {
  padding: 3.2rem 0 1.3rem;
  background:
    radial-gradient(circle at top right, rgba(168, 116, 63, 0.16), transparent 24%),
    linear-gradient(180deg, #173649, #112938);
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-name,
.footer-title {
  margin: 0;
}

.footer-name {
  font-family: "Newsreader", serif;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.footer-title {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 0.3rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-grid,
  .two-column-highlight,
  .contact-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .problem-grid,
  .benefit-list,
  .audience-grid,
  .services-intro,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-credentials {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    align-self: auto;
    padding-top: 0;
  }

  .hero-copy,
  .hero-kicker,
  .hero-subheadline,
  .hero-trust {
    max-width: none;
  }
}

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

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .footer-grid {
    flex-direction: column;
  }

  .section-contact .container {
    padding: 1.4rem;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1rem;
  }

  .hero-shell {
    padding: 1rem;
    border-radius: 28px;
  }

  .service-card,
  .problem-card,
  .process-step,
  .audience-item,
  .project-card,
  .services-intro-item,
  .benefit-item,
  .faq-list details {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .hero-subheadline,
  .hero-trust {
    max-width: none;
  }

  .button,
  .button-outline,
  .button-ghost {
    width: 100%;
  }

  .hero-signals {
    gap: 0.5rem;
  }

  .hero-signals span {
    width: 100%;
    justify-content: center;
  }

  .portrait-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem 0.95rem;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }
}
