/* Samuel Stanley Coaching — shared styles */
:root {
  --navy: #17172F;
  --aubergine: #30234D;
  --violet: #454D82;
  --lavender: #9290C5;
  --pale: #EAE7F2;
  --paper: #F6F4FA;
  --white: #FFFFFF;
  --ink: #17172F;
  --ink-soft: #4B4A66;
  --line: #D6D1E6;
  --serif: Calibri, Carlito, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --sans: Calibri, Carlito, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 0.18em; }
a:hover { color: var(--aubergine); }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.005em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.005em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 40ch; }
.measure { max-width: 62ch; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--navy); padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { color: var(--white); text-decoration: none; line-height: 1.1; }
.brand:hover { color: var(--white); }
.brand strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.brand span { display: block; font-size: 0.8rem; color: var(--lavender); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 1.02rem; font-weight: 500; padding: 0.5rem 0.75rem; border-radius: 8px; }
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--lavender); border-radius: 0; }
.nav .btn { margin-left: 0.75rem; }
.nav a.btn { border-radius: 999px; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--white); font: inherit; font-weight: 600; padding: 0.5rem 0.9rem; border-radius: 999px; cursor: pointer; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; padding: 0.5rem var(--gutter) 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0.25rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--lavender); }
  .nav .btn { margin: 1rem 0 0; justify-content: center; border-bottom: 0; }
  .nav a.btn { border-radius: 999px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700; font-size: 1.05rem; line-height: 1;
  padding: 0.95rem 1.4rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--lavender); color: var(--navy); }
.btn-primary:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--aubergine); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.06); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.nav .btn-primary { padding: 0.7rem 1.1rem; font-size: 0.95rem; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.bg-pale { background: var(--pale); }
.bg-white { background: var(--white); }
.bg-dark { background: var(--navy); color: var(--white); }
.bg-aub { background: var(--aubergine); color: var(--white); }
.bg-dark .lede, .bg-aub .lede { color: rgba(255,255,255,0.78); }
.bg-dark a:not(.btn), .bg-aub a:not(.btn) { color: var(--lavender); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; max-width: 58ch; }
.bg-dark .section-head p, .bg-aub .section-head p { color: rgba(255,255,255,0.75); }

/* Home hero */
.hero { background: var(--navy); color: var(--white); padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin-bottom: 0.4em; }
.hero h1 .second { display: block; }
.hero .lede { color: rgba(255,255,255,0.8); max-width: 46ch; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-photo::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1.5px solid var(--violet); border-radius: var(--radius); z-index: -0; pointer-events: none; }
.hero-photo img { position: relative; z-index: 1; }
.assurances { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 1.02rem; color: rgba(255,255,255,0.75); }
.assurances li { display: flex; align-items: center; gap: 0.5rem; }
.assurances li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: var(--white); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { color: rgba(255,255,255,0.78); max-width: 52ch; }
.page-hero.with-photo .wrap { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.page-hero.with-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .page-hero.with-photo .wrap { grid-template-columns: 1fr; } .page-hero.with-photo img { max-width: 340px; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.top { align-items: start; }
.split img { border-radius: var(--radius); width: 100%; }
.split .photo-tall { aspect-ratio: 4 / 5; object-fit: cover; }
.caption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.75rem; }
.bg-dark .caption, .bg-aub .caption { color: rgba(255,255,255,0.6); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* The four thoughts */
.thoughts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.thought { padding: 2rem 2rem 2.25rem 0; border-bottom: 1px solid var(--line); }
.thought:nth-child(odd) { border-right: 1px solid var(--line); }
.thought:nth-child(even) { padding-left: 2rem; padding-right: 0; }
.thought h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-style: italic; font-weight: 500; }
.thought p { color: var(--ink-soft); max-width: 46ch; margin: 0; }
@media (max-width: 760px) {
  .thoughts { grid-template-columns: 1fr; }
  .thought, .thought:nth-child(even) { padding: 1.75rem 0; border-right: 0; }
}

/* Pull quote */
.pull { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.015em; max-width: 22ch; margin: 0; }
.pull-cite { margin-top: 1.25rem; color: var(--lavender); font-size: 1rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--violet); display: block; margin-bottom: 0.75rem; }
.steps p { color: var(--ink-soft); margin: 0; }
.bg-aub .steps li, .bg-dark .steps li { border-top-color: var(--lavender); }
.bg-aub .steps li::before, .bg-dark .steps li::before { color: var(--lavender); }
.bg-aub .steps p, .bg-dark .steps p { color: rgba(255,255,255,0.78); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Feature list */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 0.55rem 0 0.55rem 1.9rem; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0.15rem; top: 1.05rem; width: 0.8rem; height: 0.45rem; border-left: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(-45deg); }
.ticks li.no::before { border: 0; width: 0.75rem; height: 2px; background: var(--ink-soft); transform: none; top: 1.25rem; }
.ticks li.muted { color: var(--ink-soft); }
.bg-dark .ticks li, .bg-aub .ticks li { border-bottom-color: rgba(255,255,255,0.12); }
.bg-dark .ticks li::before, .bg-aub .ticks li::before { border-color: var(--lavender); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillars div { background: var(--white); padding: 1.5rem; }
.pillars h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.pillars p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1rem; padding-top: 0.85rem; align-items: stretch; }
.tier { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; }
.tier h3 { font-size: 1.75rem; margin-bottom: 0.15rem; }
.tier .for { color: var(--ink-soft); font-size: 0.98rem; min-height: 3.2em; }
.tier .price { font-family: var(--serif); font-size: 2.3rem; line-height: 1; margin: 1rem 0 0.25rem; font-weight: 600; }
.tier .price small { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.tier .price .text { font-size: 1.7rem; }
.tier .per { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.tier .level { font-size: 0.9rem; font-weight: 600; color: var(--violet); margin-bottom: 0.6rem; }
.tier .ticks { font-size: 0.97rem; flex: 1; margin-bottom: 1.5rem; }
.tier .btn { justify-content: center; text-align: center; }
.tier.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tier.featured .for, .tier.featured .per, .tier.featured .price small { color: rgba(255,255,255,0.7); }
.tier.featured .level { color: var(--lavender); }
.tier.featured .ticks li { border-bottom-color: rgba(255,255,255,0.12); }
.tier.featured .ticks li::before { border-color: var(--lavender); }
.badge { position: absolute; top: -0.85rem; left: 1.5rem; display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--pale); color: var(--aubergine); margin-bottom: 1rem; }
.tier.featured .badge { background: var(--lavender); color: var(--navy); }
@media (max-width: 1080px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } .tier .for { min-height: 0; } }

/* Tier summary (home) */
.tier-rows { border-top: 1px solid var(--line); }
.tier-row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 1.5rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.tier-row h3 { margin: 0; font-size: 1.6rem; }
.tier-row p { margin: 0; color: var(--ink-soft); }
.tier-row .amount { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) { .tier-row { grid-template-columns: 1fr auto; } .tier-row p { grid-column: 1 / -1; grid-row: 2; } }

/* Discovery panel */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.panel h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; align-self: start; }
.facts li { background: var(--paper); padding: 1rem; font-size: 0.95rem; }
.facts li strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.note { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } }

/* Fit columns */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.fit h3 { margin-bottom: 1rem; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 500; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; font-weight: 400; color: var(--violet); width: 2.2rem; height: 2.2rem; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); max-width: 62ch; padding-bottom: 1.5rem; margin: 0; }

/* Forms */
.form { display: grid; gap: 1.25rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.98rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 0.8rem 0.9rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(69,77,130,0.18); }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--violet); flex-shrink: 0; }
.form-status { font-size: 0.95rem; color: var(--aubergine); background: var(--pale); border-radius: 10px; padding: 0.9rem 1rem; display: none; }
.form-status.show { display: block; }
.side-card { background: var(--pale); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
.side-card h3 { margin-bottom: 0.75rem; }

/* CTA band */
.cta-band { background: var(--aubergine); color: var(--white); padding: clamp(4rem, 8vw, 6rem) 0; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 52ch; font-size: 1.15rem; }

/* Prose */
.prose p { max-width: 64ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.5rem; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 4rem 0 2rem; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer .brand strong { font-size: 1.6rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.82); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.site-footer .tagline { margin-top: 1rem; max-width: 34ch; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Language switch */
.header-right { display: flex; align-items: center; gap: 0.75rem; order: 3; }
.site-header .nav { order: 2; margin-left: auto; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; padding: 3px; }
.lang a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.6rem; border-radius: 999px; line-height: 1; }
.lang a:hover { color: var(--white); }
.lang a[aria-current="true"] { background: var(--white); color: var(--navy); }
@media (max-width: 960px) { .site-header .nav { margin-left: 0; } }
html[lang="it"] .hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); }
.brand strong, .brand span { white-space: nowrap; }
@media (max-width: 520px) {
  .site-header .wrap { gap: 0.5rem; }
  .brand strong { font-size: 1.15rem; }
  .brand span { font-size: 0.72rem; }
  .header-right { gap: 0.4rem; }
  .menu-toggle { padding: 0.45rem 0.7rem; font-size: 0.9rem; }
  .lang a { padding: 0.32rem 0.45rem; font-size: 0.75rem; }
}

/* Light header, so it stands apart from the dark hero */
.site-header { background: var(--white); color: var(--navy); border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(23,23,47,0.06); }
.site-header .brand, .site-header .brand:hover { color: var(--navy); }
.site-header .brand span { color: var(--violet); }
.site-header .nav a { color: var(--ink-soft); }
.site-header .nav a:hover { color: var(--navy); background: var(--pale); }
.site-header .nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--violet); background: none; }
.site-header .nav a.btn-primary { background: var(--navy); color: var(--white); }
.site-header .nav a.btn-primary:hover { background: var(--aubergine); color: var(--white); }
.site-header .nav a.btn-primary[aria-current="page"] { box-shadow: none; background: var(--aubergine); }
.menu-toggle { border-color: var(--line); color: var(--navy); }
.lang { border-color: var(--line); }
.lang a { color: var(--ink-soft); }
.lang a:hover { color: var(--navy); }
.lang a[aria-current="true"] { background: var(--navy); color: var(--white); }
@media (max-width: 960px) {
  .site-header .nav { background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(23,23,47,0.08); }
  .site-header .nav a { border-bottom-color: var(--line); }
  .site-header .nav a[aria-current="page"] { box-shadow: none; color: var(--violet); }
}
.site-footer .brand, .site-footer .brand:hover { color: var(--white); }
.site-footer .brand span { color: var(--lavender); }
