/* ==========================================================================
   Gurwinder Gill - site styles
   Editorial direction: Spectral for reading and headings, Inter for furniture.

   COLOUR LIVES IN ONE PLACE. The four values under "Brand" below are taken
   from Gurwinder's logo (the blue version, #004667). Change them and the
   whole site recolours. Nothing else needs editing.
   ========================================================================== */

:root {
  /* Brand - from her logo */
  --brand:        #004667;   /* headings, rules, buttons */
  --brand-dark:   #00324a;   /* banner, footer */
  --brand-light:  #e8f0f3;   /* tinted section backgrounds */
  --brand-accent: #3f7187;   /* eyebrows, numbers, quiet detail */

  /* Neutrals */
  --ink:          #20252a;
  --ink-soft:     #4f575e;
  --paper:        #ffffff;
  --paper-alt:    #f6f7f8;
  --rule:         #dcdfe3;
  --on-dark:      #e7ebee;
  --on-dark-soft: #a8b3bc;

  /* Placeholder markers - removed before launch */
  --flag:         #8a5a00;
  --flag-bg:      #fdf6e7;

  /* Type scale */
  --t-display:  clamp(2.4rem, 5.6vw, 3.9rem);
  --t-h1:       clamp(2.1rem, 4.6vw, 3.1rem);
  --t-h2:       clamp(1.55rem, 2.9vw, 2.05rem);
  --t-h3:       1.3rem;
  --t-body:     1.125rem;
  --t-lede:     1.3rem;
  --t-small:    0.9375rem;
  --t-label:    0.75rem;

  --measure:    66ch;
  --wrap:       1100px;
  --section-y:  5.5rem;

  --font-body: "Spectral", Georgia, "Times New Roman", serif;
  --font-ui:   "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.72;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Accessibility ------------------------------------------------------ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

/* --- Header ------------------------------------------------------------- */

.site-header {
  background: var(--paper);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem 1.1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  width: auto;
  height: 64px;
  flex: 0 0 auto;
}

.brand-text { display: flex; flex-direction: column; gap: 0.15rem; }

.brand-name {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--brand);
}

.brand-business {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* The menu bar sticks to the top of the screen once the logo has scrolled away. */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  display: inline-block;
  padding-block: 0.95rem 0.8rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--brand-accent); border-bottom-color: var(--brand-accent); }
.site-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }

/* --- Eyebrow labels ----------------------------------------------------- */

.eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 0.9rem;
}

.eyebrow--on-dark { color: #9cc4d6; }

/* --- Banner ------------------------------------------------------------- */

.banner {
  background: var(--brand-dark);
  color: var(--on-dark);
  padding-block: calc(var(--section-y) * 1.15);
}

.banner h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1.4rem;
  color: #fff;
  max-width: 24ch;
}

.banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem 4rem;
}

.banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.banner-actions .button { text-align: center; }

.banner-actions .button--large {
  font-size: 1.2rem;
  padding: 1.4rem 2.75rem;
  min-width: 20rem;
}

.banner .lede {
  font-size: var(--t-lede);
  line-height: 1.62;
  color: var(--on-dark-soft);
  max-width: 54ch;
  margin: 0;
}

/* --- Page headers (inner pages) ----------------------------------------- */

.page-header {
  background: var(--brand-light);
  border-bottom: 1px solid var(--rule);
  padding-block: 3.75rem;
}

.page-header h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-h1);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--brand);
  margin: 0 0 1rem;
}

.page-header .lede {
  font-size: var(--t-lede);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0;
}

/* --- Sections ----------------------------------------------------------- */

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.7); }
.section--tint  { background: var(--paper-alt); }
.section--rule  { border-top: 1px solid var(--rule); }

.section h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-h2);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin: 0 0 1.4rem;
}

.section h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-h3);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.section p { max-width: var(--measure); }

/* --- Prose: text written in the editor (headings, lists, emphasis) ------- */

.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 1.25rem; margin: 1rem 0 1.25rem; }
.prose li { margin-block: 0.45rem; }
.prose ul { list-style: disc; }
.prose ul ul { list-style: circle; }
.prose li > ul { margin: 0.4rem 0 0.6rem; }
.prose li::marker { color: var(--brand-accent); }
.prose h3 {
  font-family: var(--font-body);
  font-size: var(--t-h3);
  font-weight: 600;
  color: var(--brand);
  margin: 2.4rem 0 0.7rem;
}
.prose h4 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 1.8rem 0 0.4rem;
}
.prose h4 + p { margin-top: 0; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose--compact ul { margin: 0.6rem 0 0; }
.prose--compact p + p { margin-top: 0.8rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- Buttons ------------------------------------------------------------ */

.button-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }

.button {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--brand);
  background: var(--brand);
  color: #fff;
}
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.button--ghost { background: transparent; color: var(--brand); }
.button--ghost:hover { background: var(--brand-light); color: var(--brand); border-color: var(--brand); }

.button--on-dark { background: #fff; border-color: #fff; color: var(--brand-dark); }
.button--on-dark:hover { background: var(--brand-light); border-color: var(--brand-light); color: var(--brand-dark); }

.button--ghost-dark { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.button--ghost-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

/* --- Home: intro callout ----------------------------------------------- */

.callout {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  padding: 2rem 2.25rem;
}
.callout h2 { font-size: var(--t-h3); margin-bottom: 0.8rem; }
.callout .more-link { margin-top: 1.25rem; }

/* --- Home: opening statement, numbers, pull quote ---------------------- */

.statement {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.3;
  font-weight: 500;
  color: var(--brand);
  max-width: none !important;
  margin: 0 0 2.5rem;
}

.stats-band {
  background: var(--brand-dark);
  color: var(--on-dark);
  padding-block: 3.25rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem 3rem;
  margin: 0;
}
.stat { border-left: 2px solid rgba(255, 255, 255, 0.25); padding-left: 1.4rem; }
.stat dt {
  font-family: var(--font-body);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.stat dd {
  margin: 0.7rem 0 0;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--on-dark-soft);
  max-width: 26ch;
}

.pull-quote {
  margin: 2rem 0 0;
  padding: 0 0 0 1.4rem;
  border-left: 3px solid var(--brand-accent);
}
.pull-quote blockquote { margin: 0; }
.pull-quote p {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--brand);
  margin: 0;
}
.pull-quote figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  color: var(--ink-soft);
}

/* Home book section: the three short reviews side by side under the book. */
.home-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
/* Each review is a column so the names line up along the bottom, however long the review. */
.home-reviews .pull-quote { margin: 0; display: flex; flex-direction: column; }
.home-reviews .pull-quote p { font-size: 1.15rem; }
.home-reviews .pull-quote figcaption { margin-top: auto; padding-top: 0.7rem; }
.pull-quote p + p, .quote-band .quote-text + .quote-text { margin-top: 0.6em; }

/* Why Our Work Matters: one thin line down the left, a dot beside each item. */
.line-list { margin-top: 2.25rem; max-width: 52rem; }
.line-list > ul { list-style: none; margin: 0; padding: 0; }
.line-list > ul > li {
  position: relative;
  margin: 0;
  padding: 0 0 1.9rem 2.6rem;
  font-size: 1.2rem;
  line-height: 1.5;
}
.line-list > ul > li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--brand);
  box-sizing: border-box;
  z-index: 1;
}
.line-list > ul > li::after {
  content: "";
  position: absolute;
  left: calc(0.3rem + 0.425rem - 1px);
  top: 1.3rem;
  bottom: -0.45rem;
  width: 2px;
  background: #c3d3db;
}
.line-list > ul > li:last-child { padding-bottom: 0; }
.line-list > ul > li:last-child::after { content: none; }
.line-list li > ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.line-list li > ul { list-style: disc; padding-left: 1.3rem; }
.line-list li > ul > li { margin: 0.25rem 0; }
.line-list li > ul > li::marker { color: var(--brand-accent); }

/* Student Training: problem, arrow, solution. */
.problem-solution {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin: 1.5rem 0 0;
}
.ps-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink-soft);
  padding: 1.6rem 1.8rem;
}
.ps-panel--solution { border-top-color: var(--brand); }
.section .ps-panel h3, .section .ps-panel h2 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brand);
  margin: 0 0 0.9rem;
}
.ps-arrow {
  align-self: center;
  font-family: var(--font-ui);
  font-size: 2rem;
  color: var(--brand-accent);
}

/* --- Services: boxes, calls to action, contact band ---------------------- */

/* Four boxes under the Services heading, each jumping to its service. */
.service-cards {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 1040px) {
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem 1.7rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand);
  text-decoration: none;
  color: var(--ink);
}
.service-card:hover { border-color: var(--brand); color: var(--ink); }
.service-card:hover .service-card-more { text-decoration: underline; }
.service-card-num {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-accent);
  opacity: 0.7;
}
.service-card-title {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--brand);
  margin: 0.4rem 0 0.6rem;
  overflow-wrap: break-word;
}
.service-card-text { font-size: 1rem; line-height: 1.55; color: var(--ink-soft); flex: 1; }
.service-card-more {
  margin-top: 1.1rem;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--brand);
}

/* Dark band at the foot of Services. */
.contact-band {
  background: var(--brand);
  color: var(--on-dark);
  padding-block: calc(var(--section-y) * 0.9);
}
.contact-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem 4rem;
}
.contact-band h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-h1);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 1rem;
}
.contact-band p { color: #cfe0e8; font-size: var(--t-lede); line-height: 1.6; max-width: 46ch; margin: 0; }
.contact-band .contact-band-email { margin-top: 1rem; font-family: var(--font-ui); font-size: var(--t-small); }
.contact-band a:not(.button) { color: var(--on-dark); }
.contact-band .button--xl { font-size: 1.2rem; padding: 1.4rem 2.75rem; min-width: 20rem; text-align: center; }

[id] { scroll-margin-top: 4.5rem; }

/* Pricing: what a quote is based on, as tiles. */
.quote-factors {
  margin: 2rem 0;
  padding: 1.6rem 1.75rem;
  background: var(--brand-light);
}
.quote-factors-intro { margin: 0 0 1rem !important; font-weight: 500; }
.factor-tiles {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: none !important;
}
.factor-tiles li {
  margin: 0 !important;
  background: var(--paper);
  border-top: 3px solid var(--brand);
  padding: 1rem 1.1rem;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 600;
  line-height: 1.4;
  color: var(--brand);
}
.quote-factors-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.4rem;
}
.quote-factors-cta p { margin: 0 !important; font-style: italic; }

/* Quick facts: short sub-sections side by side. */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.fact {
  background: var(--brand-light);
  border-top: 3px solid var(--brand);
  padding: 1.25rem 1.4rem 1.3rem;
}
.fact dt {
  font-family: var(--font-ui);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.fact dd { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.fact dd p { margin: 0; }
.fact dd p + p, .fact dd p + ul { margin-top: 0.5rem; }
.fact dd ul { margin: 0; padding-left: 1.1rem; }
.fact dd li { margin-block: 0.25rem; }

.cta-box {
  margin-top: 2.5rem;
  padding: 1.6rem 1.9rem;
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  max-width: var(--measure);
}
.cta-box p { margin: 0 0 1.1rem; font-style: italic; }

/* Show-details buttons: long lists sit behind these until clicked. */
.more {
  margin: 1.75rem 0;
  max-width: var(--measure);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brand);
  background: var(--paper);
}
.more summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--brand);
  padding: 0.95rem 1.25rem;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before {
  content: "+";
  display: inline-block;
  width: 1.25rem;
  font-weight: 600;
}
.more[open] summary::before { content: "\2212"; }
.more summary:hover { background: var(--brand-light); }
.more-body { padding: 0.25rem 1.25rem 1.25rem; border-top: 1px solid var(--rule); }
.more-body > :first-child { margin-top: 1rem; }

.note-block {
  margin-top: 3rem;
  max-width: var(--measure);
}
.note-block h2 { font-size: var(--t-h3); margin-bottom: 0.6rem; }

/* --- Book page ---------------------------------------------------------- */

.lead-text { font-size: var(--t-lede); line-height: 1.6; }
.section .lead-text p { max-width: none; }
.lead-text p + p { margin-top: 1rem; }

/* About the Book: her three points as numbered tiles. */
.point-tiles {
  list-style: none;
  counter-reset: pt;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.point-tiles li {
  counter-increment: pt;
  background: var(--paper);
  border-top: 3px solid var(--brand);
  padding: 1.5rem 1.6rem 1.6rem;
  font-size: 1.15rem;
  line-height: 1.5;
}
.point-tiles li::before {
  content: counter(pt, decimal-leading-zero);
  display: block;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-accent);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.statement--closing { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0.5rem 0 0; font-style: italic; font-weight: 400; }

/* Who It's For: roles as tags, audiences as cards. */
.tags, .prose ul.tags { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: none; }
.tags li {
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 500;
  line-height: 1.35;
  color: var(--brand);
  background: var(--paper);
}
.tags--quiet li { border-color: var(--rule); color: var(--ink); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.audience {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  padding: 1.6rem 1.75rem;
}
.audience h3 { color: var(--brand); margin-bottom: 0.4rem; }
.audience-lead { font-style: italic; color: var(--ink-soft); margin: 0 0 0.8rem; }
.audience ul { margin: 0; padding-left: 1.1rem; }
.audience li { margin-block: 0.35rem; font-size: 1.0625rem; }
.audience li::marker { color: var(--brand-accent); }

/* Pricing: three price cards, then the extras. */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.9rem;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand);
  background: var(--paper);
}
.price-card--bulk { background: var(--brand-light); }
.price-card-label {
  font-family: var(--font-ui);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.price-card-big {
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--brand);
  margin: 0.8rem 0 0.35rem;
}
.price-card-note { font-family: var(--font-ui); font-size: var(--t-small); color: var(--ink-soft); }
.price-highlight {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.4rem;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 600;
  max-width: none !important;
}
.price-small { margin: 0.9rem 0 0; font-family: var(--font-ui); font-size: var(--t-small); color: var(--ink-soft); }
.order-list { margin-top: 2.25rem; }
.order-list > p { margin: 0; font-weight: 500; }

/* Purchase button before she sends a link: visible, not clickable. */
.button--pending { cursor: default; opacity: 0.75; }
.contact-band-body p { margin: 0; }

/* --- Who is Gurwinder ---------------------------------------------------- */

.profile { padding-top: calc(var(--section-y) * 0.8); }
.profile-name {
  font-family: var(--font-body);
  font-size: var(--t-h1);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand);
  margin: 0 0 0.6rem;
}
.profile-titles {
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 1.5rem !important;
}
.profile .tags { margin: 0.25rem 0 1.25rem; }

.timeline { margin-top: 2rem; }
.timeline-org { display: block; font-weight: 600; color: var(--brand); }
.timeline-role {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--brand-accent);
  margin-top: 0.15rem;
}
.timeline-summary { display: block; font-size: 1.0625rem; color: var(--ink-soft); margin-top: 0.4rem; max-width: var(--measure); }

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.trio-col {
  background: var(--paper);
  border-top: 3px solid var(--brand);
  padding: 1.6rem 1.7rem 1.75rem;
}
.trio-col h3 {
  font-family: var(--font-ui) !important;
  font-size: var(--t-label) !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand) !important;
  margin: 0 0 1rem !important;
}
.trio-col p { margin: 0 0 0.75rem; font-size: 1.0625rem; }
.award + .award { margin-top: 1.1rem; }
.award strong { display: block; font-size: 1.15rem; color: var(--ink); }
.award strong::before { content: "\2605"; color: var(--brand-accent); margin-right: 0.45rem; }
.award span { display: block; font-size: 1rem; color: var(--ink-soft); margin-top: 0.2rem; }
.trio-list { margin: 0; padding-left: 1.1rem; }
.trio-list li { margin-block: 0.5rem; font-size: 1rem; line-height: 1.5; }
.trio-list li::marker { color: var(--brand-accent); }
.trio .tags { margin-top: 0.25rem; }

/* Education list on Who is Gurwinder: two columns of school + certificate. */
.edu-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.5rem;
  max-width: 60rem;
}
.edu-list li { margin: 0; padding-left: 1rem; border-left: 3px solid var(--brand); }

/* --- Speaking band (Home and Services) ------------------------------------ */
.speaking-band {
  background: var(--brand-dark);
  color: var(--on-dark);
  padding-block: calc(var(--section-y) * 0.85);
}
.speaking-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}
.speaking-band h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-h2);
  color: #fff;
  margin: 0 0 0.8rem;
}
.speaking-intro { margin: 0; font-size: 1.15rem; color: var(--on-dark); }
.tags--on-dark li { background: transparent; border-color: var(--on-dark-soft); color: #fff; }
.speaking-list { list-style: none; margin: 0; padding: 0; }
.speaking-list li {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.15rem;
  line-height: 1.45;
  color: #fff;
}
.speaking-list li:first-child { border-top: 0; padding-top: 0; }

/* --- Featured quote (one per page) ------------------------------------- */
.quote-feature {
  background: var(--brand-light);
  padding-block: calc(var(--section-y) * 0.75);
  text-align: center;
}
.quote-feature figure { margin: 0 auto; max-width: 52rem; }
.quote-feature blockquote { margin: 0; }
.quote-feature p {
  margin: 0 auto;
  max-width: none;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--brand);
}
.quote-feature figcaption {
  margin-top: 1.1rem;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

/* --- Services: five key terms ------------------------------------------- */
.term-tiles {
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.term-tile {
  background: var(--paper);
  border-top: 3px solid var(--brand);
  padding: 1.3rem 1.25rem 1.4rem;
}
.term-tile dt {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.45rem;
}
.term-tile dd { margin: 0; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
@media (max-width: 1040px) {
  .term-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* With the shoe picture: picture on the left, the five terms beside it. */
.terms-layout--image {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 1.25rem;
}
.terms-layout--image .term-tiles { margin: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.terms-layout--image .term-tile { padding: 1.1rem 1rem 1.2rem; }
.terms-layout--image .term-tile dt { font-size: 1.2rem; }
.terms-layout--image .term-tile dd { font-size: 0.98rem; }
.terms-img { display: block; width: 100%; height: 100%; min-height: 100%; object-fit: cover; border-top: 3px solid var(--brand); }
@media (max-width: 1040px) {
  .terms-layout--image { grid-template-columns: 1fr; }
  .terms-layout--image .term-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .terms-img { display: none; }
}

/* Book launch pictures, stacked. Each stays at its own width (924px) except the
   last, the launch collage, which runs the full width of the page. */
.launch-images { display: grid; gap: 1rem; margin-top: 2rem; }
.launch-images img { display: block; width: 100%; max-width: 924px; height: auto; border: 1px solid var(--rule); }
.launch-images img:last-child { max-width: none; }

/* --- Book: case study examples ------------------------------------------ */
.cases-quote { margin: 0 0 2.25rem; max-width: 46rem; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand);
}
.case-card-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-card-body { padding: 1.4rem 1.5rem 1.5rem; }
.case-card-label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.5rem;
}
.section .case-card h3 { color: var(--brand); margin-bottom: 0.7rem; }
.case-card .prose p { font-size: 1.02rem; }

/* --- Two-column split --------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.split--narrow-left { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }

/* --- Numbered service entries ------------------------------------------- */

.service-list { margin: 0; padding: 0; list-style: none; counter-reset: service; }

.service-list > li {
  counter-increment: service;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.75rem;
  padding-block: 2.25rem;
  border-top: 1px solid var(--rule);
}

.service-list > li::before {
  content: counter(service, decimal-leading-zero);
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--brand-accent);
  opacity: 0.55;
}

.service-list h2 { margin-bottom: 1.2rem; }
.service-list .prose > p { margin: 0.9rem 0 0; }
.service-list > li:first-child { border-top: 0; padding-top: 0; }

/* Unnumbered variant, used for the short list on the home page */
.service-list--plain { counter-reset: none; }
.service-list--plain > li { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 1.6rem; }
.service-list--plain > li::before { content: none; }

.sub-list { margin: 0.9rem 0 0; padding-left: 1.15rem; }
.sub-list li { margin-block: 0.4rem; }

/* --- Fee block ---------------------------------------------------------- */

.fee-block {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brand-accent);
  padding: 2rem 2.25rem;
  max-width: var(--measure);
}

.fee-block h2 { margin-bottom: 0.8rem; }

/* --- Quote band --------------------------------------------------------- */

.quote-band {
  background: var(--brand-light);
  border-block: 1px solid var(--rule);
  padding-block: calc(var(--section-y) * 0.85);
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
}
.quote-band .eyebrow { text-align: center; }

.quote-band .eyebrow { margin-bottom: 1.6rem; }

.carousel-slide + .carousel-slide { margin-top: 2.5rem; }
.carousel.is-enhanced .carousel-track { display: grid; }
.carousel.is-enhanced .carousel-slide { grid-area: 1 / 1; margin: 0 auto; visibility: hidden; }
.carousel.is-enhanced .carousel-slide.is-active { visibility: visible; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.carousel-arrow {
  font: 600 1.1rem/1 var(--font-ui);
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--brand);
  background: transparent;
  color: var(--brand);
  cursor: pointer;
}
.carousel-arrow:hover { background: var(--brand); color: #fff; }

.quote-band .quote-text {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.42;
  color: var(--brand);
  margin: 0;
  max-width: none;
}

.quote-band .quote-attribution span { display: block; font-weight: 500; letter-spacing: 0.04em; text-transform: none; margin-top: 0.3rem; }

.quote-band .quote-attribution {
  font-family: var(--font-ui);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1.4rem;
  max-width: none;
}

/* --- Book --------------------------------------------------------------- */

.book-cover {
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--paper-alt);
  border: 1px dashed var(--brand-accent);
  color: var(--brand-accent);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.book-cover-img, .portrait-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}

.book-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-h2);
  line-height: 1.2;
  color: var(--brand);
  margin: 0 0 0.5rem;
}

.book-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
}

/* --- Portrait ----------------------------------------------------------- */

.portrait {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--paper-alt);
  border: 1px dashed var(--brand-accent);
  color: var(--brand-accent);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* --- Qualifications ----------------------------------------------------- */

.qual-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  max-width: var(--wrap);
}

.qual-list li {
  border-top: 1px solid var(--rule);
  padding-block: 1.1rem;
  padding-right: 2rem;
}

/* --- Placeholder markers ------------------------------------------------ */

.needs-content {
  background: var(--flag-bg);
  border-bottom: 1px dotted var(--flag);
  color: var(--flag);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.1rem 0.4rem;
}

/* --- Contact ------------------------------------------------------------ */

.contact-list { list-style: none; margin: 0; padding: 0; font-family: var(--font-ui); }
.contact-list li { margin-block: 0.4rem; font-size: var(--t-small); }

.contact-panel {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding-top: 2rem;
}

.contact-panel--bare { border-top: 0; margin-top: 0; padding-top: 0; }
.contact-panel h2 { font-size: var(--t-h3); }
.contact-panel .contact-list a { color: var(--brand); }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  background: var(--brand-dark);
  color: var(--on-dark-soft);
  margin-top: 0;
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-heading {
  font-family: var(--font-ui);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}

.footer-business { margin: 0; font-size: var(--t-small); }

.footer-nav { list-style: none; margin: 0; padding: 0; font-family: var(--font-ui); }
.footer-nav li { margin-block: 0.4rem; font-size: var(--t-small); }

.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.4rem;
}

.footer-legal p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--on-dark-soft);
}

/* --- Links -------------------------------------------------------------- */

a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--brand-accent); }

.more-link {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 0.15rem;
  margin-top: 2rem;
}

.more-link:hover { border-bottom-color: var(--brand); }

/* --- Narrow screens ----------------------------------------------------- */

@media (max-width: 820px) {
  :root { --section-y: 3.5rem; --t-body: 1.0625rem; --t-lede: 1.175rem; }

  .header-inner { flex-direction: column; align-items: flex-start; gap: 1.1rem; padding-block: 1.1rem 0.9rem; }
  .site-nav ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .site-nav ul::-webkit-scrollbar { display: none; }
  .site-nav li { flex: 0 0 auto; }
  .site-nav ul { gap: 0 1.3rem; }
  .split, .split--narrow-left { grid-template-columns: 1fr; gap: 2.25rem; }
  .book-cover, .portrait, .book-cover-img, .portrait-img { max-width: 240px; }
  .service-list > li { grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1.1rem; }
  .service-list > li::before { font-size: 1.15rem; }
  .banner-inner { grid-template-columns: 1fr; }
  .banner-actions .button--large { min-width: 0; width: 100%; }
  .service-cards { grid-template-columns: 1fr; }
  .point-tiles, .audience-grid, .price-cards { grid-template-columns: 1fr; }
  .trio, .home-reviews, .edu-list, .speaking-inner { grid-template-columns: 1fr; }
  .speaking-inner { gap: 1.75rem; }
  .term-tiles, .terms-layout--image .term-tiles { grid-template-columns: 1fr; }
  .terms-layout--image { grid-template-columns: 1fr; }
  .factor-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-band-inner { grid-template-columns: 1fr; }
  .contact-band .button--xl { min-width: 0; width: 100%; }
  .problem-solution { grid-template-columns: 1fr; }
  .ps-arrow { transform: rotate(90deg); justify-self: center; }
  .line-list > ul > li { font-size: 1.0625rem; padding-left: 2.2rem; }
  .banner-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .brand-logo { height: 46px; }
  .callout, .cta-box, .review, .fee-block { padding: 1.5rem 1.4rem; }
}

@media print {
  .site-nav, .skip-link { display: none; }
}
