/* ===== AMJ Bookkeeping ===== */
:root {
  --coral: #ff6b5b;
  --coral-dark: #e8543f;
  --teal: #16b8a3;
  --teal-dark: #0f8f7f;
  --sun: #ffc94d;
  --lav: #b9aef2;
  --ink: #24314c;
  --ink-soft: #55607a;
  --cream: #fff8ee;
  --cream-deep: #ffefd9;
  --card: #ffffff;
  --line: #efe4d0;

  --shadow-sm: 0 4px 0 rgba(36, 49, 76, 0.08);
  --shadow-card: 10px 12px 0 rgba(36, 49, 76, 0.09);
  --shadow-pop: 8px 10px 0 var(--ink);

  --radius: 22px;
  --radius-lg: 34px;
  --wrap: 1160px;

  --font-display: "Poppins", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", -apple-system, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--coral-dark); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--ink); margin: 0 0 .5em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 14px 0;
}
.skip-link:focus { left: 0; }

/* ===== buttons ===== */
.btn {
  --btn-bg: var(--coral);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  padding: 13px 24px; border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 6px 0 var(--ink); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; }
.btn-solid { --btn-bg: var(--coral); --btn-fg: #fff; }
.btn-ghost { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }

/* ===== header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 12px; border: 2.5px solid var(--ink); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); line-height: 1; letter-spacing: .01em; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral-dark); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { font-weight: 700; text-decoration: none; color: var(--ink); }
.nav > a:not(.btn):hover { color: var(--coral-dark); }
.nav-cta { margin-left: 4px; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 70% at 12% 0%, var(--cream-deep) 0%, rgba(255,239,217,0) 60%),
  var(--cream);
  padding: 62px 0 40px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--teal-dark); margin: 0 0 14px; }
.eyebrow.center { text-align: center; }

.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.5rem); font-weight: 600; }
.hero h1 .hl { position: relative; color: var(--coral-dark); }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .28em;
  background: var(--sun); border-radius: 999px; z-index: -1; transform: rotate(-1.4deg);
}
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-creds { margin: 0; font-weight: 700; font-size: .95rem; color: var(--ink-soft); }

.hero-art { position: relative; max-width: 100%; }
.hero-art img {
  border: 3.5px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); background: #fff;
  max-width: 100%;
}
.hero-art::before {
  content: ""; position: absolute; inset: 18px 8px -18px 22px;
  background: var(--teal); border-radius: var(--radius-lg); z-index: -1;
  border: 3.5px solid var(--ink);
}

/* ===== trust strip ===== */
.trust { background: var(--ink); color: #fff; border-bottom: 3px solid var(--ink); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; padding: 16px 24px; text-align: center; }
.trust-inner span { font-weight: 700; font-size: .9rem; opacity: .92; }
.trust-inner span + span { position: relative; }

/* ===== sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--cream-deep); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.section-title { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); text-align: center; }
.section-intro { text-align: center; max-width: 60ch; margin: 0 auto 46px; color: var(--ink-soft); font-size: 1.1rem; }
.fineprint { text-align: center; max-width: 62ch; margin: 34px auto 0; color: var(--ink-soft); font-size: .95rem; }

/* ===== tick lists ===== */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 7px;
  background: var(--teal); border: 2.5px solid var(--ink);
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 7px;
  width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(42deg);
}

/* ===== services pillars ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.pillar {
  background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease-out-expo, ease), box-shadow .18s ease;
}
.pillar img {
  width: 92px; height: 92px; border-radius: 20px; border: 3px solid var(--ink);
  margin-bottom: 16px; background: var(--cream);
}
.pillar h3 { font-size: 1.4rem; }

/* shared hover: zoom + glow */
.pillar:hover, .tier:hover, .ind:hover {
  transform: scale(1.05);
  z-index: 3; position: relative;
}
.pillar:hover, .tier:hover {
  box-shadow: 0 0 0 3px var(--ink),
              0 0 34px 6px rgba(255, 201, 77, 0.55),
              0 24px 55px -8px rgba(255, 107, 91, 0.6),
              0 14px 34px -6px rgba(22, 184, 163, 0.55);
}
.tier-featured:hover { transform: translateY(-16px) scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .pillar:hover, .tier:hover { transform: none; }
}

/* ===== industries: cascading pyramid ===== */
.pyramid { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 1080px; margin: 0 auto; }
.prow { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.prow span {
  border: 3px solid var(--ink); border-radius: 999px;
  padding: 13px 24px; font-weight: 800; font-size: 1.02rem;
  box-shadow: var(--shadow-sm); white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease;
}
.prow span:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 24px -6px rgba(36, 49, 76, 0.3);
}
.prow-1 span { background: var(--sun); color: var(--ink); }
.prow-2 span { background: var(--lav); color: var(--ink); }
.prow-3 span { background: var(--teal); color: #fff; }
.prow-4 span { background: var(--coral); color: #fff; }

/* ===== plan builder ===== */
.builder {
  background: var(--card); border: 3.5px solid var(--ink); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-pop); max-width: 860px; margin: 0 auto;
}
.builder-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; counter-reset: none; }
.q-label { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0 0 14px; }
.q-label .opt { font-family: var(--font-body); font-weight: 700; font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; }

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.opts.checks { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.opts label {
  display: flex; align-items: center; gap: 12px;
  border: 2.5px solid var(--ink); border-radius: 16px;
  padding: 13px 16px; font-weight: 700; cursor: pointer; background: var(--cream);
  transition: background .12s ease, transform .12s ease;
}
.opts label:hover { transform: translateY(-2px); background: #fff; }
.opts input { accent-color: var(--coral); width: 18px; height: 18px; flex: none; }
.opts input:focus-visible { outline: 3px solid var(--lav); outline-offset: 2px; }
.opts label:has(input:checked) { background: var(--sun); border-color: var(--ink); }

.builder-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.builder.invalid .q.missing .q-label { color: var(--coral-dark); }
.builder.invalid .q.missing .opts label { border-color: var(--coral); }

.result {
  max-width: 860px; margin: 30px auto 0;
  background: var(--teal); color: #fff;
  border: 3.5px solid var(--ink); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-pop);
}
.result-kicker { text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .8rem; margin: 0 0 8px; color: var(--cream-deep); }
.result-tier { color: #fff; font-size: 2.1rem; margin: 0 0 4px; }
.result-price { font-size: 1.35rem; font-weight: 800; margin: 0 0 20px; }
.result .ticks li { color: #fff; }
.result .ticks li::before { background: var(--sun); }
.result .ticks li::after { border-color: var(--ink); }
.result-note { margin: 20px 0 24px; font-weight: 600; background: rgba(255,255,255,.16); border-radius: 14px; padding: 14px 16px; }
.result .btn { --btn-bg: var(--coral); }

/* ===== pricing ===== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.tier {
  background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tier h3 { font-size: 1.5rem; margin: 0; }
.tier-featured { background: var(--sun); transform: translateY(-16px); box-shadow: var(--shadow-pop); }
.tier-tag { align-self: flex-start; background: var(--ink); color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin: 0; }
.tier-price { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; margin: 0; line-height: 1; }
.tier-price .from { font-family: var(--font-body); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); display: block; }
.tier-price .per { font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.tier-for { color: var(--ink-soft); font-weight: 600; margin: 0; }
.tier .btn { margin-top: auto; }

.tier-custom {
  margin-top: 30px; background: var(--lav); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 28px 32px; box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.tier-custom h3 { margin: 0 0 6px; }
.tier-custom p { margin: 0; font-weight: 600; max-width: 52ch; }

/* ===== about ===== */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about-art { position: relative; max-width: 420px; }
.about-photo {
  width: 100%; border: 3.5px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); background: #fff;
}
.about-art::before {
  content: ""; position: absolute; inset: 20px -18px -20px 20px;
  background: var(--sun); border: 3.5px solid var(--ink); border-radius: var(--radius-lg); z-index: -1;
}
.creds { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.creds li { background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 12px 16px; font-weight: 600; box-shadow: var(--shadow-sm); }

/* ===== contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-details { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-details li { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: baseline; font-weight: 700; }
.contact-details span { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--teal-dark); }

.contact-form {
  background: var(--card); border: 3.5px solid var(--ink); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-pop);
}
.field { margin: 0 0 18px; display: grid; gap: 7px; }
.field label { font-weight: 800; font-size: .9rem; }
.field input, .field textarea {
  font: inherit; padding: 12px 14px; border: 2.5px solid var(--ink); border-radius: 14px;
  background: var(--cream); color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--lav); outline-offset: 1px; background: #fff; }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { display: block; margin-top: 14px; font-weight: 700; }
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: var(--coral-dark); }

/* ===== footer ===== */
.site-footer { background: var(--ink); color: #fff; padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand img { border-color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 700; opacity: .9; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-legal { width: 100%; margin: 8px 0 0; opacity: .7; font-size: .88rem; }
.footer-legal a { color: #fff; }

/* ===== responsive ===== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; max-width: 520px; }
  .hero-art::before { inset: 14px 6px -14px 14px; }
  .lede { max-width: none; }
  .pillars, .tiers { grid-template-columns: 1fr; }
  .pillar:nth-child(2), .tier-featured { transform: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-art { margin: 0 auto; }

  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 3px solid var(--ink);
    padding: 8px 24px 20px; transform: translateY(-140%); transition: transform .22s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav > a { padding: 14px 4px; border-bottom: 2px solid var(--line); }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .builder, .result, .contact-form { padding: 24px; }
  .creds { grid-template-columns: 1fr; }
  .tier-custom { flex-direction: column; align-items: flex-start; }
  .prow span { font-size: .9rem; padding: 10px 16px; white-space: normal; text-align: center; }
}
