/* ==========================================================================
   Swetha Sirupa — GTM Consulting
   Design system: warm ivory ground, near-black ink, clay accent.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:            #F0EEE6;
  --surface:       #FFFFFF;
  --surface-alt:   #FAF9F5;
  --surface-ink:   #141413;

  /* Ink */
  --ink:           #141413;
  --ink-soft:      #3D3D3A;
  --muted:         #73716C;
  --muted-light:   #9A968E;
  --on-ink:        #F5F3EE;

  /* Line + accent */
  --border:        #E3DFD5;
  --border-strong: #D6D1C4;
  --accent:        #D97757;
  --accent-deep:   #BD5D3A;
  --accent-wash:   #F7EDE7;

  /* Type */
  --font-display: "Newsreader", Iowan Old Style, Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Space + shape */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --pad-section: 104px;
  --maxw: 1120px;
  --maxw-prose: 680px;

  --shadow-sm: 0 1px 2px rgba(20, 20, 19, .04);
  --shadow:    0 2px 14px rgba(20, 20, 19, .05);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* --- Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--ink); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.eyebrow {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.55; }
.fine  { font-size: .78rem; line-height: 1.5; color: var(--muted-light); }

/* --- Layout --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--pad-section); }
.section--tight { padding-block: 72px; }

.section + .section { border-top: 1px solid var(--border); }

.prose { max-width: var(--maxw-prose); }
.center { text-align: center; }
.center-x { margin-inline: auto; }

.stack > * + * { margin-top: 1.05rem; }
.stack-lg > * + * { margin-top: 2rem; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--muted); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--surface-ink);
  color: var(--on-ink);
}
.btn--primary:hover { background: var(--accent-deep); }

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--secondary:hover { border-color: var(--ink); background: rgba(20, 20, 19, .03); }

.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Inline text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: var(--accent-deep);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow .arrow { transition: transform .18s ease; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* --- Cards ---------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.card--flat { background: var(--surface-alt); }
.card--pad-lg { padding: clamp(32px, 5vw, 64px); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 238, 230, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

/* Brand lockup: iitA logo + the consultant's name, separated by a hairline.
   The name is real text, not part of the image, so it stays selectable,
   searchable and legible at any zoom. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand__logo {
  height: 34px;
  width: auto;
  flex: none;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding-left: 14px;
  border-left: 1px solid var(--border-strong);
  color: var(--ink);
}

.site-footer .brand__logo { height: 44px; }
.site-footer .brand { margin-bottom: 4px; }

/* Below ~430px the divider + name crowd the menu button. */
@media (max-width: 430px) {
  .brand__name { display: none; }
}

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

.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* `.nav a` outranks `.btn--primary` on specificity, which would leave the
   header CTA dark-grey on near-black. Restate the button colours here. */
.nav a.btn { padding: 10px 20px; font-size: .88rem; border-bottom: 0; }
.nav a.btn--primary { color: var(--on-ink); }
.nav a.btn--primary:hover { color: var(--on-ink); background: var(--accent-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}

/* --- Hero ----------------------------------------------------------------- */
.hero { padding-block: clamp(64px, 9vw, 120px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 26px;
}

.hero h1 { margin-bottom: 24px; }
.hero .lede { max-width: 34em; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__note { margin-top: 16px; }

/* --- Photo placeholder ---------------------------------------------------- */
.photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  aspect-ratio: 4 / 5;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* --- Problem list --------------------------------------------------------- */
.symptoms {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  counter-reset: symptom;
}
.symptoms li {
  /* display:grid removes the implicit list-item counter, so count explicitly. */
  counter-increment: symptom;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
}
.symptoms li::before {
  content: counter(symptom, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: .35em;
}

.closing-lines {
  margin-top: 44px;
  text-align: center;
}
.closing-lines p { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; }
.closing-lines .accent { color: var(--accent-deep); }

/* --- Fit (who this is / is not for) --------------------------------------- */
.fit-divider {
  margin: 40px auto;
  width: 100%;
  max-width: 420px;
  height: 1px;
  background: var(--border);
  border: 0;
}

/* --- Steps (How I work) --------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
  position: relative;
}

/* Flex column so the price/terms block sits on a shared baseline across all
   three steps, regardless of how long each description runs. */
.step {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.step__num {
  counter-increment: step;
  width: 44px;
  height: 44px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.step__num::after { content: counter(step); }

/* Connector line between the three numbered circles. */
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: var(--border-strong);
}

.step h3 { margin-bottom: 14px; }
.step p { color: var(--muted); font-size: .95rem; }

.step__meta {
  margin-top: auto;      /* pushes the block to the bottom of the flex column */
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
/* Guarantees breathing room above the divider even when margin-top:auto
   collapses to zero because the description already fills the column. */
.step > p:last-of-type { margin-bottom: 20px; }
.step__price { font-weight: 600; color: var(--ink); font-size: .95rem; }
.step__terms { color: var(--muted-light); font-size: .85rem; font-style: italic; }

/* --- Why me --------------------------------------------------------------- */
/* Text-only Why me card: cap the measure so lines stay readable now that
   there is no photo column holding the text in. */
.why-me { max-width: 820px; margin-inline: auto; }
.why-me h2 { max-width: 18em; }
.why-me p:not(.eyebrow):not(.pullquote) { max-width: 62ch; }

.pullquote {
  margin: 26px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: .95rem;
}

/* --- Testimonials --------------------------------------------------------- */
.quote-feature {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.quote-feature blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  opacity: .55;
  margin-bottom: 12px;
}
.attribution {
  margin-top: 24px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.quote-grid blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.6;
}

.disclaimer {
  margin-top: 32px;
  text-align: center;
}

/* --- Final CTA ------------------------------------------------------------ */
.cta-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-panel h2 { max-width: 18em; margin-inline: auto; }
.cta-panel .btn { margin-top: 12px; }
.cta-panel .fine { margin-top: 18px; }

/* --- Services page -------------------------------------------------------- */

/* Each engagement is its own panel, stacked down the page. */
.svc + .svc,
.svc-intro + .svc,
.svc + .faq-panel,
.faq-panel + .section { margin-top: 28px; }

.svc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}

.svc__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.svc__head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
}
.svc__terms {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Two columns of labelled spec blocks. */
.svc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px clamp(28px, 4vw, 56px);
}
.svc__grid--full { grid-template-columns: 1fr; }

.spec__label {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.spec p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

.spec ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.spec ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: .98rem;
}
.spec ul li:last-child { margin-bottom: 0; }
.spec ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

/* Recessed "what this looks like in practice" block. */
.practice {
  margin-top: 30px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.practice p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

.svc__summary {
  margin: 34px auto 0;
  max-width: 46em;
  text-align: center;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}
.svc__fine {
  margin-top: 16px;
  text-align: center;
}

/* --- FAQ ------------------------------------------------------------------ */
.faq-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.faq-panel > h2 { text-align: center; margin-bottom: 34px; }

.faq dt {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.faq dd {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}
.faq > div {
  padding-block: 22px;
  border-top: 1px solid var(--border);
}
.faq > div:last-child { border-bottom: 1px solid var(--border); }

/* --- Contact page + form -------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.form { display: grid; gap: 20px; }

.field { display: grid; gap: 7px; }

.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.field .hint { font-weight: 400; color: var(--muted-light); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 132px; resize: vertical; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2373716C' stroke-width='1.5' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, .16);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #B4442C; }

.field-error {
  font-size: .82rem;
  color: #B4442C;
  min-height: 1em;
}

/* Honeypot — hidden from people, visible to naive bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.alert {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: .93rem;
}
.alert--ok   { background: #EEF4EC; border-color: #CADCC4; color: #2F5127; }
.alert--err  { background: #FBEDE9; border-color: #EFC9BC; color: #8C3A22; }

.scheduler {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.scheduler__head { padding: 24px 28px; border-bottom: 1px solid var(--border); }
.scheduler__embed { min-height: 640px; }
.scheduler__embed iframe { width: 100%; height: 640px; border: 0; display: block; }

.scheduler__placeholder {
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  min-height: 320px;
  padding: 40px;
  color: var(--muted-light);
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(20, 20, 19, .018) 14px 28px),
    var(--surface-alt);
}

.contact-aside dl { margin: 0; }
.contact-aside dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-light); margin-bottom: 4px; }
.contact-aside dd { margin: 0 0 20px; font-size: .98rem; }
.contact-aside a { color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid transparent; }
.contact-aside a:hover { border-bottom-color: currentColor; }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 56px 40px;
  background: var(--surface-alt);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a {
  font-size: .92rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-footer a:hover { border-bottom-color: var(--accent); }
.site-footer__legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* --- Skip link ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface-ink);
  color: var(--on-ink);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
  font-size: .9rem;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --pad-section: 72px; }

  .hero__grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero .photo { max-width: 380px; margin-inline: auto; }

  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }

  .svc__grid { grid-template-columns: 1fr; gap: 26px; }

  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a[aria-current="page"] { border-bottom-color: var(--border); color: var(--accent-deep); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }

  .site-header { position: relative; }
  .card { padding: 28px 22px; }
}

@media print {
  .site-header, .site-footer, .btn { display: none; }
  body { background: #fff; }
}
