/* AlphaTech Counsel: Google Ads landing pages. Tokens and component styles follow css/Alphatechv2.css. */

:root {
  --slate: #414c52;
  --slate-deep: #3d484d;
  --forest: #2d640d;
  --forest-hover: #2e7a05;
  --leaf: #7ec74d;
  --leaf-nav: #6fb640;
  --ink: #2c3e50;
  --ink-body: #495057;
  --grey: #6e6e6e;
  --error: #b3261e;
  --mist: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
  --header-h: 70px;
  --pagenav-h: 44px;
  --top-h: var(--header-h);
}
html.has-pagenav { --top-h: calc(var(--header-h) + var(--pagenav-h)); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink-body);
  background: #fff;
  overflow-x: hidden;
}

a:focus-visible, button:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: #fff; color: var(--ink); padding: 0.6rem 1rem; }
.skip-link:focus { left: 8px; top: 8px; }
/* Header */
.header-block {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.3);
}
.header-logo {
  width: clamp(140px, 12vw, 190px);
  height: auto;
  margin-left: clamp(15px, 2vw, 29px);
  display: block;
}
.desktop-nav {
  display: flex; align-items: center;
  gap: clamp(20px, 2.5vw, 35px);
  padding-right: clamp(15px, 2vw, 30px);
}
.nav-btn {
  position: relative;
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.95em, 1.5vw, 1.3em);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--grey);
  text-decoration: none;
  padding: 12px 0;
  transition: color 0.2s ease;
}
.nav-btn::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  height: 4px; width: 0; background: var(--leaf-nav); transition: 0.2s;
}
.nav-btn:hover, .nav-btn[aria-current="page"] { color: var(--leaf-nav); }
.nav-btn:hover::after, .nav-btn[aria-current="page"]::after { width: 110%; left: -5%; }

.header-nav {
  display: flex; align-items: center;
  gap: clamp(16px, 2.5vw, 35px);
  padding-right: clamp(15px, 2vw, 30px);
}
.cta-small { font-size: clamp(14px, 1.2vw, 17px); padding: 0.55rem clamp(14px, 1.6vw, 24px); white-space: nowrap; }
@media (max-width: 480px) { .header-nav .nav-contact { display: none; } .header-nav { gap: 14px; } .header-logo { width: 130px; } }
@media (max-width: 359px) { .header-logo { width: 105px; margin-left: 10px; } .header-nav { padding-right: 10px; } .cta-small { font-size: 13px; padding: 0.5rem 11px; } }
/* Hero: same photo, overlay and alpha watermark as the live landing section */
.landing-section {
  position: relative;
  min-height: min(62vh, 640px);
  padding-top: var(--top-h);
  display: flex; align-items: center; justify-content: center;
  background:
    url("lp-images/alpha-watermark.png") no-repeat center center,
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("lp-images/hero-home.jpg") no-repeat center center;
  background-size: auto 62%, cover, cover;
}
.landing-content { position: relative; text-align: center; padding: clamp(1.5rem, 3vw, 3rem); width: 100%; }
.landing-text {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2em, 3.4vw, 3.6em);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.section-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 200;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  letter-spacing: 0.15em;
  margin: 0 0 1.5rem;
}
/* CTA: identical to .cta-btn on the live site */
.cta-container { text-align: center; }
.cta-btn {
  display: inline-block;
  background: var(--forest);
  color: #fff;
  font: 500 clamp(15px, 1.6vw, 20px) 'Lato', sans-serif;
  padding: clamp(12px, 1.2vw, 18px) clamp(28px, 2.8vw, 40px);
  border: 2px solid var(--leaf);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cta-btn:hover { background: var(--forest-hover); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); color: #fff; }
.cta-byline { font-size: clamp(12px, 1.2vw, 16px); font-style: italic; color: #969696; margin: 0.9rem auto 0; line-height: 1.4; }
/* Contact band, mirrors the site's three-column contact block */
.contact-band {
  background: var(--slate);
  color: #fff;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(16px, 6vw, 6rem);
  text-align: center;
}
.contact-band .section-title { color: #fff; }
.contact-band p.lead { margin: -0.5rem auto 1.75rem; color: #dfe3e5; font-size: clamp(15px, 1.1vw, 18px); }
.contact-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
.contact-cols p { margin: 0; font-style: italic; font-size: 1.05rem; }
.contact-cols .normal { font-style: normal; letter-spacing: 1px; display: block; margin-bottom: 0.25rem; }
.contact-hover { color: var(--leaf); text-decoration: underline transparent; transition: 0.4s; }
.contact-hover:hover { text-decoration-color: var(--leaf-nav); }
@media (max-width: 860px) { .contact-cols { grid-template-columns: 1fr; } }

/* Footer */
footer.footer { background: var(--slate-deep); text-align: center; padding: 0.5rem 16px 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.to-top { display: inline-block; color: #fff; padding-top: 6px; transition: color 0.3s ease, transform 0.3s ease; }
.to-top:hover { color: var(--leaf-nav); transform: scale(1.1); }
.footer p { color: #fff; font-size: 0.95rem; letter-spacing: 0.1em; margin: 0; padding-bottom: 5px; }
.footer-legal a { color: var(--leaf); }

.footer .footer-note { font-size: 0.85rem; letter-spacing: 0.02em; max-width: 52rem; margin: 0.75rem auto 0.5rem; color: #dfe3e5; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
/* Landing-page sections, layered on consult.css. Patterns follow the live Services page
   (slate and light bands, image cards, green CTA) and the home page FAQ panels. */

.landing-section.is-tall { min-height: min(82vh, 760px); }
.landing-section.hero-a {
  background:
    url("lp-images/alpha-watermark.png") no-repeat center center,
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("lp-images/hero-series-a.jpg") no-repeat center center;
  background-size: auto 62%, cover, cover;
}
.hero-sub {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 26px);
  color: #fff;
  margin: 1rem auto 0;
  max-width: 34em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.hero-cta { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero-cta .cta-byline { color: #fff; max-width: 36em; font-size: clamp(14px, 1.2vw, 17px); text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.85); }
@media (max-width: 600px) {
  .section-title { letter-spacing: 0.06em; font-size: 1.55rem; }
}

.band .section-title { text-transform: uppercase; }

/* Generic bands */
.band { padding: clamp(2.75rem, 5vw, 4.75rem) clamp(16px, 8vw, 10rem); }
.band-slate { background: var(--slate); color: #fff; }
.band-light { background: var(--mist); color: var(--ink-body); }
.band-inner { max-width: 62rem; margin: 0 auto; }
.band-slate .section-title { color: #fff; }
.band-light .section-title { color: var(--ink); }
.band p { font-size: clamp(16px, 1.2vw, 20px); margin: 0 0 1.25rem; max-width: 46em; }
.band p:last-child { margin-bottom: 0; }
.band-slate a.story-link { color: var(--leaf); cursor: pointer; }
.band-slate a.story-link:hover { color: #a6dc80; }

.pain-list { list-style: none; margin: 0 0 2rem; padding: 0; max-width: 50em; }
.pain-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.6rem;
  font-size: clamp(16px, 1.2vw, 20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.pain-list li:last-child { border-bottom: 0; }
.pain-list li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--leaf);
}

/* Term sheet to close: a genuine sequence, so it is numbered */
.timeline {
  list-style: none; counter-reset: stage; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3.5rem);
}
.timeline li { counter-increment: stage; display: grid; grid-template-columns: 2.75rem 1fr; align-items: start; }
.timeline li::before {
  content: counter(stage);
  font-family: 'Raleway', sans-serif; font-style: italic; font-weight: 300;
  font-size: 2.6rem; line-height: 1; color: var(--forest);
}
.timeline h3 { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); margin: 0.2rem 0 0.4rem; }
.timeline p { font-size: 1rem; margin: 0; color: var(--ink-body); }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }

/* Image cards, same structure as .offering-card on the Services page */
.offering-card {
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 62rem; margin: 0 auto;
}
.offering-card.flip { flex-direction: row-reverse; }
.offering-image {
  width: clamp(220px, 26vw, 360px); aspect-ratio: 8 / 7; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
}
.offering-content { flex: 1; min-width: 0; }
.offering-content .section-title { letter-spacing: 0.1em; }
@media (max-width: 768px) {
  .offering-card, .offering-card.flip { flex-direction: column; align-items: stretch; }
  .offering-image { width: 100%; aspect-ratio: 16 / 9; }
}

/* Practice areas: parallel categories, not a sequence */
.practice-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem); margin-top: 2rem;
}
.practice-grid div { border-left: 3px solid var(--leaf); padding: 0.1rem 0 0.1rem 1rem; }
.practice-grid h3 { font-family: 'Raleway', sans-serif; font-style: italic; font-weight: 400; font-size: 1.35rem; color: #fff; margin: 0 0 0.35rem; }
.practice-grid p { font-size: 1rem; color: #dfe3e5; margin: 0; }
@media (max-width: 680px) { .practice-grid { grid-template-columns: 1fr; } }

/* Fit check */
.fit-lede { font-family: 'Raleway', sans-serif; font-style: italic; font-size: clamp(1.15rem, 1.5vw, 1.4rem) !important; margin-top: 1.75rem !important; }
.fit-list { list-style: none; margin: 1rem 0 2.25rem; padding: 0; max-width: 46em; }
.fit-list li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.5rem; padding: 0.55rem 0; font-size: clamp(16px, 1.2vw, 20px); }
.fit-list svg { margin-top: 0.2rem; color: var(--leaf); }
.band .cta-container { text-align: left; }
.band-slate .cta-byline { color: #c0c0c0; }

/* FAQ, after the home page's collapsible panels */
.faq { max-width: 52rem; }
.faq details { margin-bottom: 0.75rem; border-radius: 3px; background: #fff; border: 1px solid #d7dcdf; }
.faq summary {
  list-style: none; cursor: pointer; padding: 15px 3rem 15px 15px; position: relative;
  font-family: 'Raleway', sans-serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem); color: var(--grey);
  background: #f9f6f0; border-radius: 3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-style: normal; font-size: 1.5rem; color: var(--grey);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--forest); }
.faq details p { padding: 1rem 15px 1.1rem; margin: 0; color: var(--ink-body); }

/* Closing CTA band, after the site's contact section */
.cta-band {
  position: relative; text-align: center; color: #fff;
  padding: clamp(4rem, 9vw, 7.5rem) 16px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("lp-images/band-closing.jpg") no-repeat center center;
  background-size: cover;
}
.cta-band .tagline {
  font-family: 'Raleway', sans-serif; font-style: italic; font-weight: 300;
  font-size: clamp(2em, 3.2vw, 3.4em); margin: 0 0 2rem; white-space: pre-line;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.cta-band .cta-byline { color: #e2e2e2; }

/* Jordan story, styled like the site's #baseModal */
dialog.story {
  width: min(46rem, 92vw); max-height: 82vh; padding: 0; border: 0; border-radius: 10px;
  background: var(--slate); color: #fff; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
dialog.story::backdrop { background: rgba(0, 0, 0, 0.75); }
.story-head {
  position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
  background: var(--slate); padding: 15px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.story-head h2 { font-family: 'Roboto', sans-serif; font-weight: 400; font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 auto; }
.story-head button { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 0.25rem 0.5rem; }
.story-head button:hover { color: var(--leaf-nav); }
.story-body { padding: 20px 24px 28px; overflow-y: auto; }
.story-body p { font-family: 'Lato', sans-serif; font-weight: 300; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; margin: 0; }

.cta-band .tagline { position: relative; }
/* Tagline stays readable to screen readers while it types: its text is made transparent, not removed */
.js .tagline .tw-full { visibility: visible; color: transparent; text-shadow: none; }
.band .cta-container.centered { text-align: center; }
.band .cta-container.centered .cta-byline { margin-left: auto; margin-right: auto; }
.hero-about {
  font-size: clamp(14px, 1.15vw, 17px); color: #fff; max-width: 44em;
  margin: clamp(1.25rem, 2.5vw, 2rem) auto 0; padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.85);
}

/* Type scale: one body size for all running text; headings, leads and small text step from it in even ratios
   (about 1.1 to 1.3 times body). Replaces the mix of fixed 16px and 20px values in the mockup. */
:root { --fs-body: clamp(16px, 1.1vw, 19px); }
.band p, .pain-list li, .fit-list li, .timeline p, .practice-grid p, .faq details p, .story-body p { font-size: var(--fs-body); }
.band p.cta-byline, .hero-cta .cta-byline { font-size: clamp(14px, 1.1vw, 16px); }
.timeline h3 { font-size: clamp(17px, 1.25vw, 21px); }
.practice-grid h3 { font-size: clamp(20px, 1.6vw, 25px); }
.cta-btn { font-size: clamp(16px, 1.5vw, 19px); }
.header-nav .nav-btn { font-size: clamp(15px, 1.1vw, 18px); }
.cta-small { font-size: clamp(15px, 1.1vw, 18px); }
.cta-band .tagline { font-size: clamp(1.8em, 2.8vw, 3em); }
.landing-text { font-size: clamp(1.75em, 3.4vw, 3.6em); }
.footer .footer-note { font-size: 0.875rem; }

/* Narrow phones: keep logo, Home and the Schedule button on one row. Placed last so it wins over the type scale. */
@media (max-width: 400px) {
  .header-logo { width: 108px; margin-left: 10px; }
  .header-nav { gap: 10px; padding-right: 10px; }
  .header-nav .nav-btn { font-size: 14px; }
  .cta-small { font-size: 13px; padding: 0.5rem 10px; }
}

/* Typewriter heading (same effect as alphatechcounsel.com). Full text stays in the page and holds the layout;
   without JavaScript, or with reduced motion, the full text simply shows. */
.landing-text { position: relative; }
.tw-type { display: none; }
.js .tw-full { visibility: hidden; }
.js .tw-type { display: block; position: absolute; top: 0; left: 0; right: 0; }
.tw-type .caret {
  display: inline-block; width: 2px; height: 0.9em; margin-left: 4px;
  background: #fff; vertical-align: -0.08em; animation: blink 0.7s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Site header (same buttons as alphatechcounsel.com) and page nav ---------- */
.header-block { justify-content: flex-start; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; }
.site-nav .nav-btn { font-size: clamp(15px, 1.1vw, 18px); white-space: nowrap; }
.header-block > .cta-small { margin-left: clamp(18px, 2.2vw, 34px); margin-right: clamp(15px, 2vw, 30px); }
.menu-toggle {
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; margin-right: clamp(8px, 2vw, 16px); padding: 0;
  background: none; border: 0; cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--grey); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.page-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 900;
  height: var(--pagenav-h); background: var(--slate-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.page-nav ul {
  list-style: none; margin: 0; height: 100%;
  padding: 0 clamp(15px, 2vw, 29px);
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px);
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.page-nav ul::-webkit-scrollbar { display: none; }
.page-nav a {
  display: inline-block; color: #e9edef; text-decoration: none;
  font-size: 15px; letter-spacing: 0.04em; padding: 5px 0;
  border-bottom: 3px solid transparent; transition: color 0.2s ease, border-color 0.2s ease;
}
.page-nav a:hover { color: #fff; border-bottom-color: var(--leaf); }
.page-nav .page-nav-other { margin-left: auto; }
.page-nav .page-nav-other a { color: var(--leaf); }
.page-nav .page-nav-other a:hover { color: #a6dc80; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .header-block > .cta-small { margin-left: auto; margin-right: 8px; }
  .site-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav .nav-btn { padding: 16px clamp(15px, 4vw, 29px); border-bottom: 1px solid #e5e8ea; font-size: 18px; }
  .site-nav .nav-btn::after { display: none; }
}
@media (max-width: 400px) {
  .header-block > .cta-small { margin-right: 2px; }
  .menu-toggle { width: 40px; margin-right: 4px; }
}
