:root {
  --brand-blue: #0788e8;
  --brand-teal: #35d98b;
  --brand-navy: #173448;
  --ink: #17212b;
  --muted: #5b6571;
  --line: #d9e0e7;
  --paper: #ffffff;
  --soft: #f6f8f7;
  --limestone: #e8e2d6;
  --sage: var(--brand-teal);
  --brand: var(--brand-blue);
  --brand-dark: var(--brand-navy);
  --accent: var(--brand-teal);
  --accent-soft: #e6f7f4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: var(--brand);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav-wrap,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  line-height: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 58px;
  max-width: min(240px, 32vw);
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 2px solid var(--brand-dark);
  border-radius: 6px;
  padding: 8px;
  background: var(--paper);
  color: var(--brand-dark);
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.nav-toggle:focus-visible,
.nav a:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

.nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.96rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand-blue);
}

.hero {
  background:
    linear-gradient(90deg, rgba(4, 18, 29, 0.42) 0%, rgba(4, 18, 29, 0.14) 47%, rgba(4, 18, 29, 0) 67%),
    url("assets/images/away-consulting-hero.png");
  background-color: var(--brand-navy);
  background-size: cover;
  background-position: 68% center;
  color: #fff;
  border-bottom: 1px solid var(--line);
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 80px 0 64px;
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero .hero-content > * {
  max-width: 540px;
}

.hero .eyebrow {
  color: var(--brand-teal);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h2,
h3 {
  color: var(--brand-navy);
}

h1 {
  margin: 0 0 18px;
  max-width: 720px;
  font-size: 4.4rem;
}

h2 {
  margin: 0 0 18px;
  font-size: 2.3rem;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.hero p {
  max-width: 710px;
  margin: 0 0 28px;
  font-size: 1.32rem;
}

.hero-tagline {
  color: #fff;
  font-weight: 800;
}

.hero .brand-blue {
  color: var(--brand-blue);
}

.hero .brand-teal {
  color: var(--brand-teal);
}

.hero .button {
  background: var(--brand-teal);
  color: var(--brand-navy);
}

.hero .button.secondary {
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  color: #fff;
}

.hero .button:hover,
.hero .button:focus-visible {
  filter: brightness(1.12);
}

.site-header .nav a[href="index.html"][aria-current="page"] {
  color: var(--brand-blue);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: var(--brand-navy);
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: currentColor;
  color: inherit;
}

.button:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

.button:hover {
  background: #008a76;
  color: #fff;
}

.button.secondary:hover,
.button.dark:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}

.section {
  padding: 56px 0;
}

.section.compact {
  padding-top: 34px;
}

.page-title {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-title .section {
  padding: 42px 0;
}

.lead {
  max-width: 840px;
  font-size: 1.12rem;
  color: var(--muted);
}

.support-intro {
  padding-bottom: 28px;
}

.support-actions {
  margin-top: 24px;
}

.support-studio {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 56px;
}

.support-studio img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: left center;
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(31, 52, 66, 0.14);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(31, 52, 66, 0.06);
}

.card strong {
  color: var(--brand-dark);
}

.service-card-grid {
  margin-top: 24px;
}

.service-card ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.service-card li + li {
  margin-top: 8px;
}

.help-feature {
  padding-top: 64px;
  padding-bottom: 64px;
}

.help-feature-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  box-shadow: 0 18px 42px rgba(6, 30, 51, 0.13);
}

.help-feature-banner > img {
  display: block;
  width: 100%;
  height: auto;
}

.help-feature-copy {
  position: absolute;
  z-index: 1;
  top: 10%;
  left: 5.5%;
  width: 34%;
  color: var(--brand-navy);
}

.help-feature-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 2.7vw, 2.65rem);
}

.help-feature-copy p {
  margin: 0 0 22px;
  font-size: 1.08rem;
}

.help-feature-copy .button {
  min-width: 154px;
}

.custom-pc-section {
  padding-top: 12px;
}

.custom-pc-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.custom-pc-image {
  width: 100%;
  max-width: 360px;
  margin: 0;
}

.custom-pc-image img,
.custom-pc-image video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 52, 66, 0.12);
}

.custom-pc-copy p {
  color: var(--muted);
}

.band {
  background: linear-gradient(90deg, var(--soft), #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intake-section {
  background: #fff;
}

.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: start;
}

.intake-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, #fff, var(--soft));
  box-shadow: 0 14px 34px rgba(31, 52, 66, 0.08);
}

.intake-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.button.dark {
  border-color: var(--brand-dark);
  color: var(--brand-dark);
}

.intake-response {
  margin-top: 20px;
}

.response-block {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}

.response-block h3 {
  color: var(--brand-dark);
}

.response-block ul {
  padding-left: 20px;
  margin: 0;
}

.response-block li + li {
  margin-top: 6px;
}

.follow-up {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.service-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--sage);
  background: var(--soft);
  font-weight: 700;
}

.service-list-dense {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.local-service .grid,
.contact-cta .actions {
  margin-top: 22px;
}

.about-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.about-preview-copy {
  max-width: 880px;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.about-portrait {
  width: 100%;
  max-width: 320px;
  margin: 0;
}

.about-portrait img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 52, 66, 0.12);
}

.about-preview-copy p {
  font-size: 1.08rem;
  color: var(--muted);
}

.about-preview-copy .button {
  margin-top: 8px;
}

.callout {
  border-left: 5px solid var(--accent);
  background: var(--accent-soft);
  padding: 18px 20px;
  margin: 24px 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: start;
}

label {
  display: block;
  margin: 0 0 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #b9c5cf;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.field {
  margin-bottom: 16px;
}

.helper {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.local-levels-callout {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, var(--soft), var(--accent-soft));
}

.local-levels-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.local-levels-inner h2 {
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 1.25rem;
}

.local-levels-inner p {
  margin: 0;
  color: var(--muted);
}

.local-levels-button {
  flex: 0 0 auto;
  max-width: 100%;
  background: var(--accent);
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--brand-navy);
  color: #e8f4f7;
}

.footer-inner {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 760px) {
  .support-studio {
    margin-bottom: 40px;
  }

  .contact-panel,
  .intake-layout,
  .intro-grid,
  .about-intro {
    display: block;
  }

  .about-story {
    display: block;
  }

  .custom-pc-layout {
    display: block;
  }

  .custom-pc-image {
    width: min(100%, 360px);
    max-width: 360px;
    margin: 0 auto 28px;
  }

  .about-portrait {
    width: min(100%, 320px);
    max-width: 320px;
    margin: 0 auto 28px;
  }

  .local-levels-inner {
    display: block;
  }

  .local-levels-button {
    margin-top: 18px;
  }

  .hero {
    min-height: 540px;
    padding: 58px 0 48px;
    background:
      linear-gradient(90deg, rgba(4, 18, 29, 0.88) 0%, rgba(4, 18, 29, 0.62) 58%, rgba(4, 18, 29, 0.18) 100%),
      url("assets/images/away-consulting-hero.png");
    background-size: cover;
    background-position: 60% center;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1.12rem;
  }

  .intake-panel {
    margin-top: 22px;
    padding: 18px;
  }

  .help-feature {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .help-feature-banner {
    overflow: hidden;
  }

  .help-feature-copy {
    position: static;
    width: auto;
    padding: 28px 24px;
    background: var(--soft);
  }

  .help-feature-copy h2 {
    font-size: 1.75rem;
  }

  .help-feature-copy p {
    font-size: 1rem;
  }

  .help-feature-copy .button {
    min-height: 46px;
  }

  .help-feature-banner > img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: right center;
  }
}

@media (max-width: 820px) {
  .help-feature {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .help-feature-copy {
    position: static;
    width: auto;
    padding: 28px 24px;
    background: var(--soft);
  }

  .help-feature-copy h2 {
    font-size: 1.75rem;
  }

  .help-feature-copy p {
    font-size: 1rem;
  }

  .help-feature-copy .button {
    min-height: 46px;
  }

  .help-feature-banner > img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: right center;
  }

  .nav-wrap {
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    padding: 14px 0;
  }

  .brand img {
    height: 46px;
    max-width: min(190px, calc(100vw - 96px));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    grid-column: 1 / -1;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 0 14px;
  }

  .nav[hidden] {
    display: none;
  }

  .nav a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 9px 4px;
  }
}
