:root {
  --ink: #28262a;
  --muted: #555158;
  --line: #e7e1da;
  --paper: #fffaf4;
  --white: #ffffff;
  --brand: #f7941d;
  --brand-dark: #8f4600;
  --brand-soft: #fff1df;
  --warm-panel: #f4eee7;
  --charcoal: #171619;
  --charcoal-soft: #252326;
  --shadow: 0 22px 60px rgba(40, 38, 42, 0.12);
  --shadow-soft: 0 16px 36px rgba(40, 38, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Avenir, "Avenir Next", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(255, 250, 244, 0.94);
  border-bottom: 1px solid rgba(40, 38, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: clamp(230px, 27vw, 380px);
  height: auto;
}

.footer-brand img {
  width: clamp(210px, 22vw, 300px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(247, 148, 29, 0.13);
  outline: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 11px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.admin-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--warm-panel), var(--paper));
}

.admin-shell { width: min(100%, 920px); }
.admin-back { display: inline-block; margin-bottom: 18px; font-weight: 800; text-decoration: none; }
.admin-card { padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-soft); }
.admin-card > h1, .dashboard-heading h1 { margin-bottom: 8px; font-size: clamp(2rem, 5vw, 3.3rem); }
.admin-form { width: min(100%, 420px); display: grid; gap: 10px; margin-top: 28px; }
.admin-form label { font-weight: 800; }
.admin-form input { min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font: inherit; }
.admin-form input:focus { border-color: var(--brand); outline: 3px solid rgba(247, 148, 29, 0.2); }
.form-message { min-height: 1.7em; margin: 4px 0 0; color: var(--muted); }
.dashboard-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.logout-button { flex: 0 0 auto; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.metrics-grid article, .daily-breakdown { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.metrics-grid span, .metrics-grid small { display: block; color: var(--muted); font-size: 0.84rem; font-weight: 700; }
.metrics-grid strong { display: block; margin: 8px 0 2px; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1; }
.daily-breakdown { margin-top: 18px; }
.daily-breakdown h2 { margin-bottom: 14px; font-size: 1.2rem; }
.daily-row { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line); }

.hero {
  position: relative;
  min-height: 91vh;
  display: grid;
  align-items: center;
  padding: 146px 0 86px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 34%, rgba(247, 148, 29, 0.3), transparent 24%),
    linear-gradient(90deg, rgba(23, 22, 25, 0.08), rgba(23, 22, 25, 0.91)),
    linear-gradient(135deg, #2f2a25, #111113 70%);
}

.hero-media::before {
  content: "";
  position: absolute;
  right: clamp(24px, 8vw, 120px);
  top: 21%;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(247, 148, 29, 0.8) 49.7%, rgba(247, 148, 29, 0.8) 50.3%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(247, 148, 29, 0.8) 49.7%, rgba(247, 148, 29, 0.8) 50.3%, transparent 50.3%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  transform: rotate(45deg);
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1160px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.85rem, 6.2vw, 5.8rem);
  line-height: 0.98;
  max-width: 850px;
}

.no-wrap {
  display: inline-block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.23rem;
  line-height: 1.2;
}

.hero-copy {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 500;
}

.hero-detail {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  max-width: 650px;
}

.hero-proof span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--brand);
  color: var(--charcoal);
  box-shadow: 0 12px 28px rgba(247, 148, 29, 0.25);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.button.outline {
  border-color: rgba(40, 38, 42, 0.22);
  color: var(--ink);
  background: var(--white);
}

.credibility-strip {
  background: var(--charcoal-soft);
  color: var(--white);
}

.credibility-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  justify-content: center;
  padding: 12px 0;
}

.credibility-inner span {
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stat-grid div {
  padding: 28px 30px;
  background: var(--white);
}

.stat-grid strong,
.stat-grid span {
  display: block;
}

.stat-grid strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.stat-grid span,
.copy-stack,
.team-card p,
.service-list p,
.process-grid p,
.contact-section p {
  color: var(--muted);
}

.split-section,
.services-section,
.contact-section {
  padding: clamp(84px, 10vw, 136px) 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(36px, 7vw, 88px);
}

.copy-stack p {
  max-width: 68ch;
  font-size: 1.08rem;
}

.credential-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.credential-list span {
  padding: 13px 16px;
  border-left: 4px solid var(--brand);
  background: var(--white);
  color: #343037;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.why-section {
  padding: clamp(72px, 9vw, 116px) 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid,
.assist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-grid article,
.assist-grid article {
  padding: 26px;
  background: var(--paper);
  border: 1px solid rgba(40, 38, 42, 0.09);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.why-grid article:hover,
.assist-grid article:hover,
.team-card:hover,
.service-list article:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(40, 38, 42, 0.13);
}

.why-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand-dark);
  font-weight: 900;
}

.why-grid p,
.assist-grid p,
.assist-layout > div > p {
  color: var(--muted);
}

.quiet-section {
  padding: clamp(76px, 10vw, 120px) 0;
  background: linear-gradient(180deg, #f8f2eb 0%, #fffaf4 100%);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.team-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(40, 38, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(40, 38, 42, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.team-photo {
  position: relative;
  height: clamp(460px, 50vw, 620px);
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.9), rgba(244, 238, 231, 0.96)),
    var(--warm-panel);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.team-copy {
  padding: clamp(24px, 4vw, 34px);
}

.role {
  margin-bottom: 4px;
  color: #343037;
  font-weight: 800;
}

.qualifications {
  color: var(--brand-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 26px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-list h3,
.team-copy h3 {
  color: #221f24;
}

.service-list span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
}

.service-list h3 {
  margin-bottom: 0;
}

.service-list p {
  margin: 8px 0 0;
}

.topic-panel {
  position: sticky;
  top: 100px;
  padding: 30px;
  background: var(--charcoal);
  border-radius: 8px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.topic-panel ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.topic-panel li {
  padding-left: 18px;
  border-left: 3px solid var(--brand);
  color: rgba(255, 255, 255, 0.9);
}

.assist-section {
  padding: clamp(76px, 9vw, 118px) 0;
  background: var(--white);
}

.assist-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.assist-layout > div > p {
  max-width: 56ch;
  margin-bottom: 28px;
}

.assist-grid {
  grid-template-columns: repeat(2, 1fr);
}

.process-band {
  padding: clamp(68px, 9vw, 104px) 0;
  background:
    linear-gradient(135deg, rgba(247, 148, 29, 0.14), transparent 42%),
    linear-gradient(135deg, var(--charcoal-soft), var(--charcoal));
  color: var(--white);
}

.process-band .eyebrow {
  color: #ffb562;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel a,
.contact-panel address {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
  text-decoration: none;
}

.contact-panel a:hover {
  background: rgba(247, 148, 29, 0.1);
}

.contact-panel span {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  padding: 30px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mobile-contact-bar {
  display: none;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Desktop proportions: keep the page compact and balanced on laptop screens
   without affecting the generous, touch-friendly mobile layout. */
@media (min-width: 901px) {
  .section-shell {
    width: min(1160px, calc(100% - 64px));
  }

  .site-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand img {
    width: clamp(220px, 22vw, 310px);
  }

  .hero {
    min-height: min(82vh, 780px);
    padding: 124px 0 76px;
  }

  .split-section,
  .services-section,
  .contact-section {
    padding: clamp(72px, 8vw, 104px) 0;
  }

  .why-section,
  .quiet-section,
  .assist-section {
    padding: clamp(70px, 8vw, 96px) 0;
  }

  .process-band {
    padding: clamp(64px, 7vw, 88px) 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .team-photo {
    height: clamp(340px, 34vw, 450px);
  }

  .team-copy {
    padding: 26px;
  }

  .why-grid article {
    padding: 28px;
  }

  .services-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
  }

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

  .service-list article {
    min-height: 172px;
    padding: 28px;
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: rgba(255, 250, 244, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    padding: 13px 8px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(23, 22, 25, 0.74), rgba(23, 22, 25, 0.92)),
      linear-gradient(135deg, #252326, #111113);
  }

  .hero-media::before {
    right: -130px;
    top: 45%;
    width: 360px;
  }

  .hero-content {
    margin-left: auto;
  }

  .stat-grid,
  .split-section,
  .team-grid,
  .services-layout,
  .why-grid,
  .assist-layout,
  .process-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .assist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-panel {
    position: static;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: min(680px, 128vw);
  }
}

@media (max-width: 560px) {
  .admin-page { display: block; padding: 20px 14px; }
  .dashboard-heading { align-items: stretch; flex-direction: column; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  body {
    padding-bottom: 74px;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand img {
    width: min(62vw, 260px);
  }

  .hero {
    min-height: auto;
    padding: 124px 0 64px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.72rem, 9vw, 2.35rem);
  }

  .hero-detail,
  .copy-stack p,
  .process-grid p {
    max-width: 34rem;
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .split-section,
  .services-section,
  .contact-section,
  .quiet-section,
  .why-section,
  .assist-section {
    padding: 64px 0;
  }

  .stat-grid div {
    padding: 24px 20px;
  }

  .why-grid,
  .assist-grid {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }

  .contact-panel a,
  .contact-panel address {
    padding: 22px 20px;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(40, 38, 42, 0.1);
    border-radius: 8px;
    background: rgba(255, 250, 244, 0.96);
    box-shadow: 0 16px 40px rgba(40, 38, 42, 0.22);
    backdrop-filter: blur(16px);
  }

  .mobile-contact-bar a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--charcoal);
    color: var(--white);
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-contact-bar a:first-child {
    background: var(--brand);
    color: var(--charcoal);
  }
}
