/*
Theme Name: Spira Coaching Theme
Theme URI: https://aaronspira.com/
Author: Aaron Spira / OpenAI
Description: Custom theme for Aaron Spira Coaching landing page and consultation flow.
Version: 2.0.1
Text Domain: spira-coaching-theme
*/

/* ===========================================================
   Aaron Spira Coaching — theme stylesheet (consultation + generic pages).
   Consultation page root element must have class "asc-consult"; the
   namespace keeps its class names from colliding with the landing page,
   whose styles ship separately in assets/landing.css.
   =========================================================== */

/* ---- shared keyframes ---- */
@keyframes ascFadeUp{from{transform:translateY(14px)}to{transform:none}}
@keyframes ascRevealUp{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* Homepage styles now live in assets/landing.css (generated from the design
   source aaron-spira-site/landing-page.html), enqueued only on the front page
   / ASC Landing template. The old .asc-home block was removed with them. */

/* ================ CONSULTATION PAGE (.asc-consult) ============== */
.asc-consult *{box-sizing:border-box;margin:0;padding:0}
.asc-consult{font-family:'Hanken Grotesk',system-ui,sans-serif;background:#F6F3EE;color:#1A1A17;color-scheme:light;-webkit-font-smoothing:antialiased;line-height:1.55;min-height:100vh;display:flex;flex-direction:column}
.asc-consult ::selection{background:#1F6F5C;color:#fff}
.asc-consult a{transition:color .25s ease,background-color .25s ease,border-color .25s ease}
.asc-consult a:focus-visible, .asc-consult summary:focus-visible{outline:3px solid #C2714B;outline-offset:2px;border-radius:4px}
.asc-consult .asc-header{background:rgba(246,243,238,0.82);backdrop-filter:blur(12px);border-bottom:1px solid #E4DFD6}
.asc-consult .asc-header-in{max-width:1100px;margin:0 auto;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.asc-consult .asc-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.asc-consult .asc-brand>span{display:flex;flex-direction:column;justify-content:center}
.asc-consult .asc-logo{width:30px;height:30px;border-radius:50%;background:#17211D url("assets/spira-icon-white.png") center/78% no-repeat;display:inline-block;flex:none}
.asc-consult .asc-brand-name{font-weight:700;letter-spacing:0.04em;font-size:15px;color:#1A1A17;display:block;line-height:1.15;white-space:nowrap}
.asc-consult .asc-brand-sub{font-size:10.5px;letter-spacing:0.22em;color:#6B6A62;font-weight:600;display:block;line-height:1.15;white-space:nowrap}
.asc-consult .asc-back{text-decoration:none;color:#3A3833;font-size:14px;font-weight:500;display:inline-flex;align-items:center;gap:8px}
.asc-consult .asc-back:hover{color:#1F6F5C}
.asc-consult .asc-main{flex:1;max-width:1100px;width:100%;margin:0 auto;padding:clamp(40px,6vw,80px) 28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:clamp(36px,5vw,64px);align-items:start}
.asc-consult .asc-left{animation:ascFadeUp .7s ease both}
.asc-consult .asc-eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12px;letter-spacing:0.16em;font-weight:600;color:#1F6F5C;text-transform:uppercase;margin-bottom:20px}
.asc-consult .asc-eyebrow .dot{width:7px;height:7px;border-radius:50%;background:#1F6F5C}
.asc-consult .asc-h1{font-family:'Newsreader',serif;font-weight:500;font-size:clamp(32px,4.4vw,52px);line-height:1.05;letter-spacing:-0.02em;color:#16201C;text-wrap:balance}
.asc-consult .asc-lede{margin-top:20px;font-size:17px;color:#4B4A43;max-width:32em;text-wrap:pretty}
.asc-consult .asc-steps-title{font-size:13px;font-weight:700;color:#16201C;letter-spacing:0.04em;text-transform:uppercase;margin-bottom:6px}
.asc-consult .asc-steps{margin-top:18px;display:flex;flex-direction:column}
.asc-consult .asc-step{display:flex;gap:18px;padding-bottom:24px}
.asc-consult .asc-step .rail{display:flex;flex-direction:column;align-items:center;flex:none}
.asc-consult .asc-step .num{width:34px;height:34px;border-radius:50%;background:#1F6F5C;color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Newsreader',serif;font-weight:600;font-size:15px}
.asc-consult .asc-step .line{width:2px;flex:1;background:#DDD7CB;margin-top:6px}
.asc-consult .asc-step:last-child .line{display:none}
.asc-consult .asc-step .body{padding-top:3px}
.asc-consult .asc-step .t{font-weight:600;font-size:16px;color:#16201C}
.asc-consult .asc-step .d{margin-top:5px;font-size:14.5px;color:#54524B;line-height:1.5;text-wrap:pretty}
.asc-consult .asc-guar{margin-top:8px;background:#E8F0EC;border:1px solid #C9E0D6;border-radius:14px;padding:20px 22px;display:flex;gap:14px;align-items:flex-start}
.asc-consult .asc-guar .ic{width:36px;height:36px;border-radius:50%;background:#1F6F5C;color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;flex:none}
.asc-consult .asc-guar .gt{font-weight:600;font-size:15px;color:#16201C}
.asc-consult .asc-guar .gd{font-size:13.5px;color:#33433C;margin-top:4px;line-height:1.5}
.asc-consult .asc-right{position:sticky;top:28px;animation:ascFadeUp .9s ease both}
.asc-consult .asc-form-card{background:#fff;border:1px solid #E4DFD6;border-radius:20px;padding:clamp(28px,3.5vw,40px);box-shadow:0 30px 60px -36px rgba(22,32,28,0.4)}
.asc-consult .asc-form-card h2{font-family:'Newsreader',serif;font-weight:600;font-size:24px;color:#16201C;letter-spacing:-0.01em}
.asc-consult .asc-form-card .sub{font-size:14px;color:#7A776E;margin-top:6px}
.asc-consult .asc-form-host{margin-top:24px;min-height:300px;border:1px solid #E4DFD6;border-radius:14px;background:#FBFAF7;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 24px;gap:8px}
.asc-consult .asc-form-host .tag{font-size:13px;font-weight:600;letter-spacing:0.06em;color:#1F6F5C;text-transform:uppercase}
.asc-consult .asc-form-host .hint{font-size:13px;color:#7A776E;max-width:34em;line-height:1.55}
.asc-consult .asc-form-foot{margin-top:14px;font-size:12.5px;color:#9A9486;text-align:center;line-height:1.55}
.asc-consult .asc-form-foot a{color:#1F6F5C;text-decoration:underline}
.asc-consult .asc-disclaimer{margin-top:18px;background:#fff;border:1px solid #E4DFD6;border-radius:14px;padding:18px 20px}
.asc-consult .asc-disclaimer p{font-size:12.5px;color:#6B6A62;line-height:1.6;text-wrap:pretty}
.asc-consult .asc-footer{background:#121A17;color:#9DAEA5;text-align:center;padding:22px 28px;font-size:12.5px}
.asc-consult .asc-footer a{color:#B7C3BB;text-decoration:none}

/* ---- consultation form controls ---- */
.asc-consult .asc-hp{display:none !important;position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.asc-consult .asc-form{margin-top:26px;display:flex;flex-direction:column;gap:20px}
.asc-consult .asc-field{display:flex;flex-direction:column;gap:8px}
.asc-consult .asc-label{font-size:13.5px;font-weight:600;color:#16201C;letter-spacing:0.01em;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.asc-consult .asc-label .req{color:#1F6F5C;font-size:10.5px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase}
.asc-consult .asc-label .opt{color:#9A9486;font-size:10.5px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase}
.asc-consult .asc-form input[type=text],
.asc-consult .asc-form input[type=email],
.asc-consult .asc-form input[type=tel],
.asc-consult .asc-form input[type=date],
.asc-consult .asc-form textarea,
.asc-consult .asc-form select{-webkit-appearance:none;appearance:none;width:100%;font-family:inherit;font-size:15px;color:#1A1A17;background:#FBFAF7;border:1px solid #DCD6CA;border-radius:11px;padding:13px 15px;line-height:1.5;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;-webkit-appearance:none;appearance:none}
.asc-consult .asc-form input::placeholder,
.asc-consult .asc-form textarea::placeholder{color:#A8A296}
.asc-consult .asc-form input:hover,
.asc-consult .asc-form textarea:hover,
.asc-consult .asc-form select:hover{border-color:#C2BBAC}
.asc-consult .asc-form input:focus,
.asc-consult .asc-form textarea:focus,
.asc-consult .asc-form select:focus{outline:none;border-color:#1F6F5C;background:#fff;box-shadow:0 0 0 3px rgba(31,111,92,0.14)}
.asc-consult .asc-form textarea{resize:vertical;min-height:108px}
.asc-consult .asc-form input[type=date]{min-height:49px;cursor:pointer}
.asc-consult .asc-form input[type=date]::-webkit-calendar-picker-indicator{opacity:0.55;cursor:pointer}
.asc-consult .asc-select-wrap{position:relative}
.asc-consult .asc-select-wrap::after{content:"";position:absolute;right:17px;top:50%;width:8px;height:8px;border-right:2px solid #6B6A62;border-bottom:2px solid #6B6A62;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.asc-consult .asc-form select{padding-right:42px;cursor:pointer}
/* radio choices */
.asc-consult .asc-choices{display:flex;flex-direction:column;gap:9px}
.asc-consult .asc-choice input{position:absolute;opacity:0;width:1px;height:1px}
.asc-consult .asc-choice label{display:flex;align-items:center;gap:12px;cursor:pointer;border:1px solid #DCD6CA;background:#FBFAF7;border-radius:11px;padding:13px 16px;font-size:14.5px;color:#33312C;font-weight:500;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}
.asc-consult .asc-choice label .mark{width:19px;height:19px;border-radius:50%;border:2px solid #C2BBAC;flex:none;display:grid;place-items:center;transition:border-color .2s ease}
.asc-consult .asc-choice label .mark::after{content:"";width:9px;height:9px;border-radius:50%;background:#1F6F5C;transform:scale(0);transition:transform .18s ease}
.asc-consult .asc-choice label:hover{border-color:#1F6F5C}
.asc-consult .asc-choice input:checked + label{border-color:#1F6F5C;background:#EDF4F0;box-shadow:inset 0 0 0 1px #1F6F5C}
.asc-consult .asc-choice input:checked + label .mark{border-color:#1F6F5C}
.asc-consult .asc-choice input:checked + label .mark::after{transform:scale(1)}
.asc-consult .asc-choice input:focus-visible + label{outline:3px solid #C2714B;outline-offset:2px}
/* consent checkbox */
.asc-consult .asc-consent{display:flex;gap:12px;align-items:flex-start;cursor:pointer;background:#FBFAF7;border:1px solid #DCD6CA;border-radius:11px;padding:14px 16px;transition:border-color .2s ease,background-color .2s ease}
.asc-consult .asc-consent:hover{border-color:#C2BBAC}
.asc-consult .asc-consent input{position:absolute;opacity:0;width:1px;height:1px}
.asc-consult .asc-consent .box{width:21px;height:21px;border-radius:6px;border:2px solid #C2BBAC;flex:none;margin-top:1px;display:grid;place-items:center;background:#fff;transition:border-color .2s ease,background-color .2s ease}
.asc-consult .asc-consent .box::after{content:"";width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;margin-top:-3px;transform:rotate(-45deg) scale(0);transition:transform .18s ease}
.asc-consult .asc-consent input:checked + .box{background:#1F6F5C;border-color:#1F6F5C}
.asc-consult .asc-consent input:checked + .box::after{transform:rotate(-45deg) scale(1)}
.asc-consult .asc-consent input:focus-visible + .box{outline:3px solid #C2714B;outline-offset:2px}
.asc-consult .asc-consent .ctxt{font-size:13px;color:#54524B;line-height:1.5}
/* submit */
.asc-consult .asc-submit{margin-top:4px;width:100%;font-family:inherit;font-weight:600;font-size:16px;color:#fff;background:#1F6F5C;border:none;border-radius:11px;padding:16px 24px;cursor:pointer;box-shadow:0 4px 14px rgba(31,111,92,0.28);transition:background-color .25s ease,transform .2s ease,box-shadow .25s ease}
.asc-consult .asc-submit:hover{background:#185749;transform:translateY(-1px);box-shadow:0 8px 22px rgba(31,111,92,0.32)}
.asc-consult .asc-submit:active{transform:translateY(0)}
.asc-consult .asc-submit:focus-visible{outline:3px solid #C2714B;outline-offset:2px}
/* validation + status */
.asc-consult .asc-field.has-error input,
.asc-consult .asc-field.has-error textarea,
.asc-consult .asc-field.has-error .asc-consent{border-color:#C2714B;background:#FBF1EB}
.asc-consult .asc-err{font-size:12.5px;color:#A8502A;font-weight:500}
.asc-consult .asc-error{background:#FBEEE7;border:1px solid #E7C6B4;color:#9A4A26;font-size:13.5px;font-weight:500;line-height:1.5;border-radius:11px;padding:12px 15px;margin-top:18px}
.asc-consult .asc-sent{text-align:center;padding:12px 4px 6px}
.asc-consult .asc-sent-ic{width:60px;height:60px;border-radius:50%;background:#1F6F5C;color:#fff;font-size:30px;display:grid;place-items:center;margin:0 auto 20px;box-shadow:0 12px 28px -10px rgba(31,111,92,0.55)}
.asc-consult .asc-sent h2{font-family:'Newsreader',serif;font-weight:600;font-size:26px;color:#16201C;letter-spacing:-0.01em}
.asc-consult .asc-sent p{font-size:15px;color:#4B4A43;line-height:1.6;margin-top:12px;max-width:32em;margin-left:auto;margin-right:auto;text-wrap:pretty}
.asc-consult .asc-sent-back{display:inline-flex;align-items:center;gap:8px;margin-top:24px;color:#1F6F5C;font-weight:600;font-size:14.5px;text-decoration:none}
.asc-consult .asc-sent-back:hover{color:#185749}

/* ---- consultation page — responsive ---- */
@media (max-width:860px){
.asc-consult .asc-right{position:static;top:auto}
}
@media (max-width:640px){
.asc-consult .asc-header-in{padding:14px 20px}
.asc-consult .asc-main{padding:32px 20px 48px;gap:32px}
.asc-consult .asc-h1{font-size:clamp(30px,8vw,40px)}
.asc-consult .asc-lede{font-size:16px;margin-top:16px}
.asc-consult .asc-form-card{padding:24px 20px;border-radius:16px}
/* 16px controls prevent iOS auto-zoom on focus */
.asc-consult .asc-form input[type=text],
.asc-consult .asc-form input[type=email],
.asc-consult .asc-form input[type=tel],
.asc-consult .asc-form input[type=date],
.asc-consult .asc-form textarea,
.asc-consult .asc-form select{font-size:16px}
.asc-consult .asc-footer{padding:20px}
}


/* ===================== Generic content pages ===================== */
.asc-privacy-page{
  font-family:'Hanken Grotesk',system-ui,sans-serif;
  background:#F6F3EE;
  color:#1A1A17;
  min-height:100vh;
  padding:clamp(36px,6vw,72px) 24px;
  line-height:1.65;
}
.asc-privacy-page main{
  max-width:860px;
  margin:0 auto;
  background:#fff;
  border:1px solid #E4DFD6;
  border-radius:18px;
  padding:clamp(28px,5vw,54px);
  box-shadow:0 30px 80px -50px rgba(22,32,28,.38);
}
.asc-privacy-page h1,.asc-privacy-page h2{
  font-family:'Newsreader',serif;
  color:#16201C;
  line-height:1.1;
}
.asc-privacy-page h1{font-size:clamp(34px,5vw,56px);margin-bottom:18px}
.asc-privacy-page h2{font-size:clamp(23px,3vw,32px);margin:34px 0 10px}
.asc-privacy-page p,.asc-privacy-page li{font-size:16px;color:#4B4A43}
.asc-privacy-page ul{padding-left:1.25em;margin:10px 0 0}
.asc-privacy-page a{color:#1F6F5C}

/* ================ CLIENT AGREEMENT PAGE (.asc-agree) ============ */
/* Root carries BOTH .asc-consult (form controls, header, footer) and
   .asc-agree (document typography below). */
.asc-agree .asc-doc{flex:1;width:100%;max-width:760px;margin:0 auto;padding:clamp(44px,6vw,80px) 28px clamp(64px,8vw,104px)}
.asc-agree .asc-updated{margin-top:14px;font-size:13.5px;color:#7A776E}
.asc-agree .asc-doc h2{font-family:'Newsreader',serif;font-weight:600;font-size:24px;line-height:1.15;letter-spacing:-0.01em;color:#16201C;margin-top:44px}
.asc-agree .asc-doc h3{font-size:16px;font-weight:600;color:#16201C;margin-top:26px}
.asc-agree .asc-doc h2 + p,.asc-agree .asc-doc h2 + ul,.asc-agree .asc-doc h3 + p,.asc-agree .asc-doc h3 + ul{margin-top:10px}
.asc-agree .asc-doc p{font-size:15.5px;color:#44423B;line-height:1.65;text-wrap:pretty;margin-top:12px}
.asc-agree .asc-doc ul{margin-top:12px;padding-left:22px;display:flex;flex-direction:column;gap:8px}
.asc-agree .asc-doc li{font-size:15.5px;color:#44423B;line-height:1.6;text-wrap:pretty}
.asc-agree .asc-doc a{color:#1F6F5C;text-decoration:underline;text-underline-offset:2px}
.asc-agree .asc-doc strong{color:#16201C;font-weight:600}
.asc-agree .asc-callout{margin-top:24px;background:linear-gradient(158deg,#F7EFE7 0%,#F3E7DA 100%);border:1px solid #DBBFA4;border-radius:14px;padding:18px 20px;box-shadow:0 1px 2px rgba(22,32,28,0.08),0 6px 14px -4px rgba(22,32,28,0.10),inset 0 1px 0 rgba(255,255,255,0.6)}
.asc-agree .asc-callout p{font-size:14px;color:#5C4A38;line-height:1.6;margin:0}
.asc-agree .asc-callout strong{color:#3F3226}
.asc-agree .asc-form-card{margin-top:52px;background:linear-gradient(180deg,#FFFFFF 0%,#FBF8F1 100%);border:1px solid #DFD7C7;border-radius:20px;padding:clamp(28px,3.5vw,40px);box-shadow:0 3px 10px rgba(22,32,28,0.10),0 24px 48px -12px rgba(22,32,28,0.26),0 52px 92px -26px rgba(22,32,28,0.32),inset 0 1px 0 rgba(255,255,255,0.85)}
.asc-agree .asc-form-card h2{margin-top:0;font-family:'Newsreader',serif;font-weight:600;font-size:24px;color:#16201C;letter-spacing:-0.01em}
.asc-agree .asc-form-card .sub{font-size:14px;color:#7A776E;margin-top:6px;line-height:1.55}
.asc-agree .asc-note{font-size:12.5px;color:#9A9486;line-height:1.5}
.asc-agree .asc-signature{font-family:'Newsreader',serif;font-style:italic;font-size:19px !important;letter-spacing:0.01em}
.asc-agree .asc-form-foot{margin-top:14px;font-size:12.5px;color:#9A9486;text-align:center;line-height:1.55}
.asc-agree .asc-form-foot a{color:#1F6F5C;text-decoration:underline}
.asc-agree .asc-consent .ctxt a{color:#1F6F5C}
@media (max-width:640px){
  .asc-agree .asc-doc{padding-left:20px;padding-right:20px}
  .asc-agree .asc-doc h2{font-size:21px;margin-top:36px}
  .asc-agree .asc-doc p,.asc-agree .asc-doc li{font-size:15px}
  .asc-agree .asc-form-card{padding:24px 20px}
}

/* privacy policy contact card */
.asc-agree .asc-contact{margin-top:44px;background:linear-gradient(180deg,#FFFFFF 0%,#FBF8F1 100%);border:1px solid #DFD7C7;border-radius:16px;padding:24px 26px;box-shadow:0 1px 2px rgba(22,32,28,0.08),0 6px 14px -4px rgba(22,32,28,0.10),0 20px 36px -14px rgba(22,32,28,0.18),inset 0 1px 0 rgba(255,255,255,0.85)}
.asc-agree .asc-contact .ct{font-weight:600;font-size:16px;color:#16201C}
.asc-agree .asc-contact p{margin-top:8px;font-size:14.5px}
