:root {
  --bg: #f3f0eb;
  --paper: #fffdfa;
  --ink: #171a1f;
  --muted: #62676f;
  --line: #d9d4cc;
  --accent: #b86f3b;
  --accent-dark: #7f4528;
  --slate: #252a31;
  --slate-soft: #343b44;
  --radius: 16px;
  --shadow: 0 30px 90px rgba(24, 27, 31, .14);
  --font: ui-sans-serif, "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(184, 111, 59, .08), transparent 28%),
    linear-gradient(180deg, var(--bg), #ebe7df 68%, #e7e2d8);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
p { color: var(--muted); }
h1, h2, h3 { color: var(--ink); letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 11ch; font-size: clamp(3.2rem, 7.4vw, 6.6rem); }
h2 { font-size: clamp(2.15rem, 4.8vw, 4.65rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

.shell { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.skip-link {
  position: absolute;
  top: -60px;
  left: 18px;
  z-index: 60;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: grid; gap: 2px; }
.brand-mark { color: var(--ink); font-size: 1.2rem; font-weight: 820; letter-spacing: -.04em; }
.brand-sub { color: var(--muted); font-size: .75rem; }
.nav-main { justify-self: center; display: flex; align-items: center; gap: 28px; }
.nav-main a {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav-main a:hover { color: var(--ink); }
.header-phone,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 820;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.header-phone {
  padding: 0 18px;
  color: var(--paper);
  background: var(--ink);
}
.header-phone:hover,
.button:hover { transform: translateY(-1px); }
.header-phone:active,
.button:active { transform: translateY(1px) scale(.99); }
.mobile-toggle { display: none; }

.hero { padding: clamp(42px, 7vw, 84px) 0 clamp(64px, 8vw, 100px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(360px, 1.06fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}
.kicker {
  max-width: 38ch;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: .82rem;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-copy > p:not(.kicker) {
  max-width: 44ch;
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { padding: 0 24px; border: 1px solid transparent; }
.button.primary { background: var(--accent-dark); color: var(--paper); }
.button.secondary { border-color: color-mix(in srgb, var(--ink) 28%, transparent); color: var(--ink); background: transparent; }
.hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 14px);
  background: var(--slate);
  box-shadow: var(--shadow);
  transform: rotate(-.6deg);
}
.hero-media img { aspect-ratio: 5 / 4; object-fit: cover; filter: saturate(.9) contrast(.98); }

.profile { border-top: 1px solid var(--line); }
.profile-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: stretch;
}
.profile-panel {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  justify-content: end;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(23, 26, 31, .94), rgba(127, 69, 40, .76)),
    url("assets/business-agency-hero.png") center / cover;
}
.profile-panel span { color: color-mix(in srgb, var(--paper) 76%, transparent); font-weight: 780; }
.profile-panel h2 { margin-top: 18px; color: var(--paper); }
.profile-copy { display: grid; align-content: center; gap: 18px; }
.profile-copy p { max-width: 68ch; font-size: 1.08rem; }
.profile-copy strong { color: var(--ink); }

.section-copy { max-width: 760px; margin-bottom: 34px; }
.section-copy p { max-width: 60ch; margin-top: 14px; font-size: 1.06rem; }
.service-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-areas:
    "featured image"
    "doc image"
    "office image";
  gap: 18px;
}
.service-card,
.service-image,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.service-card { padding: clamp(24px, 4vw, 40px); }
.service-card.featured { grid-area: featured; min-height: 250px; display: flex; flex-direction: column; justify-content: end; background: var(--slate); }
.service-card:nth-of-type(2) { grid-area: doc; }
.service-card:nth-of-type(3) { grid-area: office; }
.service-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.service-card p { margin-top: 12px; max-width: 45ch; }
.service-card.featured h3,
.service-card.featured p { color: var(--paper); }
.service-card.featured span { color: #e6b18d; }
.service-image { grid-area: image; margin: 0; overflow: hidden; min-height: 100%; }
.service-image img { height: 100%; object-fit: cover; filter: saturate(.86); }

.process-panel {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(28px, 5vw, 58px);
  border-radius: calc(var(--radius) + 10px);
  color: var(--paper);
  background: var(--ink);
}
.process-panel h2,
.process-panel p { color: var(--paper); }
.process-panel p { max-width: 56ch; margin-top: 14px; opacity: .78; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.process-steps article {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}
.process-steps strong { color: #f2c19f; font-size: 1.1rem; }
.process-steps p { margin-top: 20px; font-size: .96rem; }

.standards { background: color-mix(in srgb, var(--paper) 68%, transparent); }
.standards-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(30px, 6vw, 78px);
}
.standard-copy p { max-width: 54ch; margin-top: 18px; }
.standard-list { display: grid; gap: 14px; }
.standard-list article {
  display: grid;
  grid-template-columns: minmax(150px, .45fr) 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.standard-list strong { color: var(--ink); font-size: 1.08rem; }
.standard-list span { color: var(--muted); }

.faq-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(28px, 5vw, 72px);
}
.faq-list { display: grid; gap: 10px; }
details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 820;
}
details p { padding: 0 22px 22px; }

.contact { padding-top: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr .96fr .96fr;
  gap: 18px;
  align-items: stretch;
}
.contact-heading { padding-right: 24px; }
.contact-heading p { max-width: 42ch; margin-top: 14px; }
.contact-card { padding: 26px; }
.contact-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .82rem;
}
.contact-card a { color: var(--accent-dark); font-weight: 820; }

.site-footer {
  padding: 54px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .55fr .7fr 1.2fr;
  gap: 32px;
}
.footer-grid p { margin-top: 10px; font-size: .92rem; }
.footer-grid nav { display: grid; align-content: start; gap: 10px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}

.legal-content {
  max-width: 840px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.legal-content h2 {
  margin-top: 30px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-top: 12px; }
.legal-content a { color: var(--accent-dark); font-weight: 820; }

@media (max-width: 940px) {
  .header-inner { grid-template-columns: auto auto; }
  .header-phone { display: none; }
  .mobile-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 4px;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: var(--paper);
  }
  .mobile-toggle span { display: block; width: 18px; height: 2px; border-radius: 99px; background: currentColor; }
  .nav-main {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .nav-main.open { display: grid; justify-items: start; gap: 14px; }
  .hero-grid,
  .profile-grid,
  .process-panel,
  .standards-grid,
  .faq-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { transform: none; }
  .service-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "featured" "doc" "office" "image";
  }
  .service-image img { height: auto; aspect-ratio: 4 / 3; }
  .process-steps { grid-template-columns: 1fr; }
  .standard-list article { grid-template-columns: 1fr; gap: 6px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, var(--container)); }
  .section { padding: 64px 0; }
  .hero { padding-top: 34px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-actions { width: 100%; }
  .button { width: 100%; }
  .profile-panel { min-height: 280px; }
  .process-panel { padding: 24px; }
}
