:root {
  --bg: #0f1115;
  --text: #f1efe9;
  --text-muted: rgba(241, 239, 233, 0.68);
  --text-soft: rgba(241, 239, 233, 0.5);
  --panel: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --container: 1180px;
  --nav-height: 78px;
  --section-space: 72px;
  --section-space-mobile: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

body::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(42, 60, 95, 0.24), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(31, 44, 70, 0.18), transparent 28%),
    radial-gradient(circle at 55% 78%, rgba(24, 36, 58, 0.22), transparent 34%),
    linear-gradient(135deg, #0f1115 0%, #10141b 34%, #121823 66%, #0e1014 100%);
  transform: scale(1.08);
}

body::after {
  background:
    radial-gradient(circle at center, transparent 38%, rgba(8, 9, 12, 0.38) 100%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 34%);
  z-index: -2;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0.6px, transparent 0.8px),
    radial-gradient(circle at 80% 35%, rgba(255, 255, 255, 0.09) 0.5px, transparent 0.7px),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.1) 0.6px, transparent 0.85px),
    radial-gradient(circle at 72% 82%, rgba(255, 255, 255, 0.07) 0.5px, transparent 0.75px);
  background-size: 170px 170px, 210px 210px, 190px 190px, 230px 230px;
  mix-blend-mode: soft-light;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(13, 15, 19, 0.76), rgba(13, 15, 19, 0.54));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links,
.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.mobile-menu a {
  color: var(--text-muted);
  transition: color 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.nav-links a.is-active,
.mobile-menu a.is-active,
.brand:hover,
.brand:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  color: var(--text);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-button span {
  position: relative;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: background 200ms var(--ease);
}

.menu-button span::before,
.menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 240ms var(--ease), top 240ms var(--ease), bottom 240ms var(--ease);
}

.menu-button span::before { top: -6px; }
.menu-button span::after { bottom: -6px; }
.menu-button[aria-expanded="true"] span { background: transparent; }
.menu-button[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span::after { bottom: 0; transform: rotate(-45deg); }

.mobile-menu-wrap {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 260ms var(--ease);
}

.mobile-menu {
  display: grid;
  gap: 4px;
  padding: 10px 0 18px;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

main {
  position: relative;
  z-index: 1;
  padding: 0 0 var(--section-space);
}

section + section {
  margin-top: var(--section-space);
}

.section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--text-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero {
  padding: 0;
  background: var(--bg);
}

.hero .container {
  position: relative;
  min-height: clamp(360px, 39vw, 500px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 17, 21, 1) 0%, rgba(15, 17, 21, 0.98) 34%, rgba(15, 17, 21, 0.72) 56%, rgba(15, 17, 21, 0.18) 100%),
    url("../assets/images/brand-growth-guidelines-hero.webp") right center / cover no-repeat;
}

.hero-layout {
  display: block;
  width: 100%;
}

.hero-layout > div {
  width: min(52%, 640px);
  max-width: 640px;
  padding: clamp(38px, 4.5vw, 62px) 0;
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #d8e3f2;
  font-weight: 600;
}

.hero-copy-stack {
  display: grid;
  gap: 16px;
  max-width: 40rem;
  margin-top: 24px;
}

.hero-copy {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.32vw, 1.12rem);
}

.hero-copy strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.panel,
.step-card,
.deliverable-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow);
}

.panel {
  padding: 34px 32px;
  border-radius: calc(var(--radius) + 2px);
}

.section-header {
  width: 75%;
  margin-bottom: 34px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 600;
}

.section-copy,
.panel p,
.step-card p,
.deliverable-card p,
.outcome-list,
.problem-list {
  color: var(--text-muted);
}

.section-copy {
  margin-top: 14px;
}

.problem-section {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.problem-main {
  display: grid;
  gap: 34px;
}

.problem-intro {
  width: 100%;
  max-width: 760px;
}

.problem-intro h2 {
  max-width: none;
}

.problem-intro p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
}

.problem-list,
.outcome-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 0;
}

.problem-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  line-height: 1.55;
}

.problem-list li:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.problem-list i {
  margin-top: 5px;
  color: #b9c8e5;
  font-size: 0.9rem;
}

.problem-tip {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border: 1px solid rgba(185, 200, 229, 0.11);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 10%, rgba(185, 200, 229, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow);
}

.tip-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #d5def0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.problem-tip p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.outcome-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.outcome-list i {
  margin-top: 5px;
  color: #b9c8e5;
  font-size: 0.9rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.deliverable-card {
  border-radius: 18px;
  padding: 24px;
}

.deliverable-card {
  text-align: center;
}

.step-visual {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 22px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(213, 222, 240, 0.08);
}

.step-card p,
.deliverable-card p {
  margin-top: 12px;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.deliverable-card i {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #a9bce4;
  font-size: 2.3rem;
  filter: drop-shadow(0 6px 14px rgba(10, 16, 28, 0.22));
  transition: transform 240ms var(--ease), color 240ms var(--ease);
}

.deliverable-card:hover i {
  transform: translateY(-2px) scale(1.03);
  color: #bfd0ee;
}
.outcome-section {
  display: grid;
  gap: 32px;
}

.outcome-intro {
  width: 75%;
}

.outcome-intro h2 {
  max-width: none;
}

.outcome-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 38px;
  row-gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.outcome-list li {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cta-panel {
  max-width: 920px;
  margin: 0 auto;
}

.cta-layout {
  display: grid;
  gap: 30px;
}

.cta-copy {
  width: 75%;
  margin: 0 auto;
  text-align: center;
}

.cta-copy p {
  margin: 16px auto 0;
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  width: min(100%, 760px);
  margin: 0 auto;
}

.intake-gate {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 2px;
}

.human-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
  cursor: pointer;
}

.human-check[hidden] {
  display: none;
}

.human-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue);
}

.intake-link {
  gap: 10px;
}

.intake-link[hidden] {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text-soft);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-align: left;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  line-height: 1.5;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
  appearance: none;
}

.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(241, 239, 233, 0.62) 50%),
    linear-gradient(135deg, rgba(241, 239, 233, 0.62) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.field select option {
  color: var(--text);
  background-color: #141820;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(241, 239, 233, 0.34);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(143, 166, 214, 0.34);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 4px rgba(35, 50, 79, 0.16);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.form-status {
  display: none;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-success {
  color: #b8c8e8;
}

.form-status.is-error {
  color: #d8b8b8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(40, 56, 88, 0.72), rgba(29, 40, 63, 0.9));
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px rgba(7, 10, 15, 0.32);
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(7, 10, 15, 0.4);
  background: linear-gradient(180deg, rgba(47, 65, 101, 0.78), rgba(30, 42, 68, 0.94));
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

footer {
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.social-links i { font-size: 0.92rem; }

@media (max-width: 980px) {
  .hero-layout,
  .problem-section {
    grid-template-columns: 1fr;
  }

  .problem-list {
    grid-template-columns: 1fr;
  }

  .problem-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .problem-list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-button, .mobile-menu-wrap { display: flex; }
  .mobile-menu-wrap { display: block; }
  .mobile-menu-wrap.is-open { max-height: 380px; }

  main {
    padding-top: 0;
    padding-bottom: var(--section-space-mobile);
  }

  section + section {
    margin-top: var(--section-space-mobile);
  }
  .hero {
    padding: 0;
    background: var(--bg);
  }
  .hero .container {
    min-height: auto;
    align-items: flex-start;
    padding-top: clamp(48px, 12vw, 68px);
    background:
      linear-gradient(180deg, rgba(15, 17, 21, 0.62) 0%, rgba(15, 17, 21, 0.82) 44%, rgba(15, 17, 21, 1) 100%),
      linear-gradient(90deg, rgba(15, 17, 21, 0.96) 0%, rgba(15, 17, 21, 0.74) 58%, rgba(15, 17, 21, 0.44) 100%),
      url("../assets/images/brand-growth-guidelines-hero.webp") center top / 145% auto no-repeat;
  }

  .section-header,
  .problem-intro,
  .outcome-intro,
  .cta-copy {
    width: 100%;
  }

  .hero-layout > div {
    width: 100%;
    max-width: 100%;
    padding: 0 0 46px;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.72rem, 7.2vw, 1.95rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }
  .deliverables-grid,
  .problem-list,
  .outcome-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .problem-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .problem-list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .panel,
  .step-card,
  .deliverable-card {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
