/* ============================================================
   home.css — page-specific layout for index.html
   ============================================================ */

.hide-sm { display: inline; }

/* ---------- photo frames (real portrait) ---------- */
.photo-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--paper-2);
}
.photo-frame img.portrait {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- HERO ---------- */
.hero { padding-top: clamp(56px, 7vw, 100px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero .kicker { margin-bottom: 1.7rem; }
.hero-copy .lede { margin-top: 1.8rem; margin-bottom: 0; max-width: 600px; }
.cred-strip {
  list-style: none; margin: 3.6rem 0 0; padding: 1.15rem 1.4rem;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex; flex-wrap: nowrap; align-items: center;
  gap: 1.4rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.cred-strip li { display: flex; align-items: center; }
.cred-strip li + li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--terra); margin-right: 1.4rem; flex: 0 0 auto;
}
@media (max-width: 900px) {
  .cred-strip {
    flex-wrap: wrap; justify-content: center; white-space: normal; overflow-x: visible;
    gap: 0.6rem 1.1rem; font-size: 0.9rem;
  }
  .cred-strip li + li::before { margin-right: 1.1rem; }
}
/* ---------- transition into the dark booking panel ---------- */
.book-transition { background: var(--paper); text-align: center; padding: clamp(34px, 5vw, 56px) 0 clamp(20px, 3vw, 30px); }
.book-transition p {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25; color: var(--ink); max-width: 30ch;
  margin: 0 auto 0.6rem;
}
.book-transition .bt-arrow { display: inline-block; color: var(--terra); overflow: visible; }
.book-transition .bt-arrow path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-photo { position: relative; }
.hero-photo .photo-frame { aspect-ratio: 4 / 5; }
.hero-photo img.portrait { object-position: 50% 20%; }
.hero-note {
  display: flex; align-items: flex-start; justify-content: flex-end; gap: 0.5rem;
  margin-top: 1.2rem; text-align: right;
}
.hero-note .note { font-size: 1.4rem; line-height: 1.06; }
.hero-note .note-arrow { flex: 0 0 auto; margin-top: 4px; }

/* ---------- THE PROBLEM ---------- */
.problem-head { max-width: 60ch; }
.problem-head .h2 { max-width: 20ch; }

/* marked-up browser mockup */
.audit-wrap {
  position: relative;
  max-width: 860px;
  margin: clamp(46px, 6vw, 78px) auto clamp(46px, 6vw, 78px);
  padding: 18px clamp(20px, 7vw, 90px);
}
.browser {
  position: relative;
  border-radius: 14px;
}
.browser-inner {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: #EAE4DB;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #CFC6BA; }
.browser-url {
  margin-left: 12px; font-family: var(--sans); font-size: 0.72rem; color: #9b9183;
  background: #F4F0EA; border-radius: 7px; padding: 4px 12px;
}
.browser-body { position: relative; background: #fcfcfb; padding: 0 0 18px; min-height: 280px; }
.fake-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid #eee;
}
.fake-logo { font-family: Arial, sans-serif; font-size: 0.8rem; letter-spacing: 0.12em; color: #b9b1a6; font-weight: 700; }
.fake-links { display: flex; gap: 12px; }
.fake-links span { width: 34px; height: 7px; background: #e4e0d9; border-radius: 3px; }
.fake-hero { text-align: center; padding: 40px 24px 26px; }
.fake-h { font-family: Georgia, serif; font-size: clamp(1.1rem, 3vw, 1.7rem); color: #c3bbb0; margin-bottom: 10px; }
.fake-sub { font-family: Arial, sans-serif; font-size: 0.72rem; color: #cdc6bb; max-width: 42ch; margin: 0 auto 18px; line-height: 1.5; }
.fake-img { height: clamp(70px, 14vw, 120px); background: repeating-linear-gradient(135deg,#efece6,#efece6 10px,#e7e3db 10px,#e7e3db 20px); border-radius: 6px; max-width: 70%; margin: 0 auto; }
.fake-foot { display: flex; justify-content: space-between; padding: 16px 24px 4px; font-family: Arial, sans-serif; font-size: 0.62rem; color: #cbc4b9; }

/* annotations on the mockup */
.anno { position: absolute; display: flex; align-items: flex-start; gap: 4px; z-index: 6; }
.anno .note { font-size: 1.2rem; line-height: 1.05; }
.anno-1 { top: -6px; right: -8px; flex-direction: column; align-items: flex-end; text-align: right; }
.anno-1 .note-arrow { transform: scaleX(-1); margin-top: 2px; }
.anno-2 { top: 46%; left: -14px; flex-direction: row; align-items: center; }
.anno-2 .note { text-align: right; }
.anno-3 { bottom: 8px; right: -6px; flex-direction: column; align-items: flex-end; text-align: right; }

/* five problems grid */
.prob-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2.4vw, 34px);
}
.prob-grid li { border-top: 2px solid var(--line-strong); padding-top: 1rem; }
.prob-n { font-family: var(--sans); font-weight: 700; font-size: 0.82rem; color: var(--terra); letter-spacing: 0.06em; }
.prob-grid h4 { margin: 0.7rem 0 0.5rem; font-size: 1.12rem; }
.prob-grid p { font-size: 0.96rem; margin: 0; }

/* big pull quote */
.bigquote { margin: clamp(44px,6vw,80px) auto 0; max-width: 22ch; text-align: center; }
.bigquote blockquote {
  margin: 0; font-family: var(--display);
  font-size: clamp(1.7rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -0.015em;
}
.bigquote .uline { color: var(--terra-ink); }

/* ---------- OFFER ---------- */
.offer-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.offer-facts { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 2rem; }
.offer-facts > div { display: flex; flex-direction: column; }
.fact-n { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); line-height: 1; }
.fact-l { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-2); margin-top: 0.4rem; max-width: 16ch; }
.offer-card { position: relative; padding: clamp(28px, 3.4vw, 42px); }
.check-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.95rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 1.04rem; line-height: 1.35; }
.offer-foot { margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.offer-note { top: -34px; right: 18px; text-align: right; }
.offer-note .note-arrow { margin: 4px 18px 0 auto; display: block; }

/* ---------- FREE AUDIT ---------- */
.audit-grid {
  list-style: none; margin: clamp(40px,5vw,64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.audit-grid li { background: var(--paper-2); padding: clamp(24px, 2.6vw, 36px); }
.audit-n {
  font-family: var(--display); font-size: 1.5rem; color: var(--terra);
  display: inline-block; margin-bottom: 0.7rem;
}
.audit-grid h4 { font-size: 1.16rem; margin-bottom: 0.5rem; }
.audit-grid p { font-size: 0.98rem; margin: 0; }
.audit-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--card) !important; }

/* ---------- BEFORE / AFTER ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px,5vw,56px); }
.ba-col { margin: 0; position: relative; }
.ba-label { font-family: var(--sans); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.7rem; display: inline-block; padding: 0.3em 0.7em; border-radius: 999px; }
.ba-before { color: var(--ink-2); background: var(--paper-2); }
.ba-after { color: #fff; background: var(--terra); }
.ba-col figcaption { margin-top: 0.9rem; }

/* ---------- ADDITIONAL SERVICES ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(36px, 5vw, 56px);
}
.svc { border-top: 2px solid var(--line-strong); padding-top: 1.1rem; }
.svc-n { font-family: var(--sans); font-weight: 700; font-size: 0.82rem; color: var(--terra); letter-spacing: 0.06em; }
.svc h4 { margin: 0.7rem 0 0.5rem; }
.svc p { margin: 0; font-size: 0.98rem; }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; gap: 0; }
  .svc { padding: 1.1rem 0; border-top: 1px solid var(--line); }
  .svc:first-child { border-top: 2px solid var(--line-strong); }
}

/* before/after mockups (original, built from the site's own motif) */
.ba-mock { aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; }
.ba-mock .browser, .ba-mock .browser-inner { height: 100%; border-radius: 16px; }
.ba-mock .browser-inner { display: flex; flex-direction: column; }
.ba-mock .browser-body { flex: 1; min-height: 0; padding-bottom: 0; }
.ba-mock .fake-hero { padding: clamp(14px, 3vw, 26px) 18px 12px; }
.ba-mock .fake-img { height: clamp(46px, 10vw, 96px); }

/* the refreshed "after" mockup */
.mk-body { background: var(--paper); height: 100%; display: flex; flex-direction: column; }
.mk-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-bottom: 1px solid var(--line);
}
.mk-logo { font-family: var(--display); font-size: clamp(0.82rem, 2vw, 1.05rem); color: var(--ink); }
.mk-cta {
  font-family: var(--sans); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.04em;
  background: var(--terra); color: #fff; padding: 6px 11px; border-radius: 999px;
}
.mk-hero { flex: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(10px, 2vw, 18px); align-items: center; padding: clamp(12px, 2.6vw, 22px) 16px; }
.mk-stars { font-size: 0.62rem; letter-spacing: 1.5px; color: var(--terra); margin-bottom: 8px; }
.mk-stars em { font-style: normal; font-family: var(--sans); color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.mk-h { font-family: var(--display); font-size: clamp(0.95rem, 3vw, 1.5rem); line-height: 1.02; color: var(--ink); margin-bottom: 8px; }
.mk-sub { font-family: var(--sans); font-size: clamp(0.58rem, 1.4vw, 0.72rem); line-height: 1.5; color: var(--ink-2); margin-bottom: 12px; }
.mk-btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: clamp(0.58rem, 1.4vw, 0.7rem); background: var(--terra); color: #fff; padding: 8px 13px; border-radius: 999px; }
.mk-hero-img { align-self: stretch; min-height: clamp(80px, 18vw, 150px); border-radius: 12px; background: linear-gradient(150deg, var(--paper-2), #e6d6bd 55%, #d8b79a); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04); }

/* ---------- WORK / CASE STUDIES ---------- */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(38px,5vw,58px); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 2.6vw, 34px); }
.work-card {
  text-decoration: none; color: var(--on-dark);
  background: rgba(243,232,215,0.05); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: 14px 14px 26px; transition: transform .22s ease, background .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-5px); background: rgba(243,232,215,0.09); border-color: rgba(243,232,215,0.28); }
.work-thumb { position: relative; margin-bottom: 1.2rem; }
.work-meta { padding: 0 8px; }
.work-meta .h3 { color: var(--on-dark); margin-bottom: 0.3rem; }
.work-outcome { font-size: 1.02rem; color: var(--on-dark-2); margin: 0.8rem 0 1.2rem; line-height: 1.45; }

/* ---------- FIT CHECK ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,32px); margin-top: clamp(36px,5vw,54px); }
.fit-col { padding: clamp(28px,3vw,40px); border-radius: var(--radius-lg); position: relative; }
.fit-yes { background: var(--card); border: 1px solid var(--line); }
.fit-no { background: transparent; border: 1.5px dashed var(--line-strong); }
.fit-head { font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra-ink); margin: 0 0 1.3rem; }
.fit-no .fit-head { color: var(--ink-3); }
.fit-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.fit-col li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.35; }
.hx { flex: 0 0 auto; color: var(--ink-3); margin-top: 0.18em; }
.hx path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* ---------- PROCESS ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px,2.6vw,34px);
  margin-top: clamp(40px,5vw,62px); position: relative;
}
.step { position: relative; }
.step-n {
  font-family: var(--display); font-size: 2.6rem; color: var(--terra);
  line-height: 1; display: block; margin-bottom: 0.8rem;
  -webkit-text-stroke: 0; opacity: 0.9;
}
.step h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.98rem; margin: 0; }

/* ---------- PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px,5vw,72px); align-items: center; }
.price-statement {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px,3.4vw,46px); box-shadow: var(--shadow-md);
}
.price-big {
  font-family: var(--display); font-size: clamp(3.4rem, 7vw, 5rem); line-height: 0.9;
  color: var(--ink); display: flex; align-items: baseline; gap: 0.3em; margin: 0.6rem 0 1.4rem;
}
.price-from { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.price-points { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.2rem; }
.price-points li { font-family: var(--sans); font-size: 0.96rem; color: var(--ink-2); display: flex; align-items: center; gap: 0.55rem; }
.price-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); flex: 0 0 auto; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px,5vw,72px); align-items: center; }
.about-photo { position: relative; }
.about-note { right: -8px; bottom: 26px; text-align: right; }
.about-note .note-arrow { display: block; margin: 0 14px -4px auto; }
.about-copy p { max-width: 56ch; }

/* ---------- BOOK / FINAL CTA ---------- */
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,64px); align-items: start; }
.how-audit { list-style: none; margin: 2rem 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.how-audit li { display: flex; gap: 1rem; align-items: center; font-family: var(--sans); font-size: 1.02rem; color: var(--on-dark); }
.how-audit span {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--terra); color: #E9A07C; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.calendly-slot { margin-top: 1.6rem; border: 1.5px dashed rgba(243,232,215,0.22); border-radius: var(--radius); overflow: hidden; background: rgba(243,232,215,0.04); }
.cal-placeholder { padding: clamp(28px,4vw,44px); text-align: center; }
.book-form { padding: clamp(28px,3.4vw,42px); color: var(--ink); }
.book-form .h3 { color: var(--ink); }
.form-rows { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); }
.form-foot { display: flex; align-items: center; gap: 1.2rem; margin-top: var(--gut); flex-wrap: wrap; }
.form-success { font-family: var(--serif); font-style: italic; color: var(--terra-ink); margin: 1.2rem 0 0; font-size: 1.05rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 440px; }
  .offer-grid, .pricing-grid, .book-grid, .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 440px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .prob-grid { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .audit-grid { grid-template-columns: repeat(2, 1fr); }
  .work-head { align-items: flex-start; }
}
@media (max-width: 680px) {
  .hide-sm { display: none; }
  body { font-size: 18px; }
  .fit-grid, .ba-grid, .form-rows, .price-points { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .prob-grid { grid-template-columns: 1fr 1fr; }
  .audit-grid { grid-template-columns: 1fr; }
  .hero-note { right: 0; bottom: -10px; }
  .hero-note .note { font-size: 1.2rem; }
  .audit-wrap { padding: 10px 0 0; }
  .anno { display: none; } /* keep mobile clean; annotations are a desktop delight */
  .browser-inner { box-shadow: var(--shadow-md); }
  .offer-note { position: static; text-align: left; margin-top: 1.4rem; }
  .offer-note .note-arrow { display: none; }
  .bigquote { max-width: 100%; }
}
@media (max-width: 420px) {
  .prob-grid { grid-template-columns: 1fr; }
}
