/*
Theme Name: AI Strategy Group 2026
Theme URI: https://aistrategy.group/
Author: AI Strategy Group
Description: Block theme for AI Strategy Group — a refined think-tank design (navy, gold, ivory; Newsreader + Instrument Sans). Includes editable header/footer template parts and section patterns.
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aistrategy-2026
Tags: full-site-editing, block-patterns, one-column, custom-colors, editor-style
*/

/* ---------- base ---------- */
body{-webkit-font-smoothing:antialiased}
.wp-site-blocks > * + *{margin-block-start:0}
.asg-landing > .wp-block-post-content{margin-block-start:0}
.asg-landing .wp-block-post-content > .alignfull{margin-block:0}
:where(.wp-site-blocks) :focus-visible{outline:3px solid var(--wp--preset--color--gold);outline-offset:3px}
h1,h2,h3{text-wrap:balance}
mark.has-inline-color{padding:.08em .45em;border:1px dashed currentColor;border-radius:2px;font-size:.8em;font-weight:600;letter-spacing:.06em;font-family:var(--wp--preset--font-family--sans)}

/* ---------- block styles ---------- */
.is-style-asg-eyebrow{display:flex;align-items:center;gap:.8rem;font-size:.78rem!important;letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:var(--wp--preset--color--gold-deep);margin-bottom:1.4rem}
.is-style-asg-eyebrow::before{content:"";width:2.4rem;height:1px;background:currentColor;flex:none}
.has-navy-background-color .is-style-asg-eyebrow,.asg-hero .is-style-asg-eyebrow{color:var(--wp--preset--color--gold)}
.is-style-asg-lead{font-family:var(--wp--preset--font-family--serif);font-size:var(--wp--preset--font-size--lead)!important;line-height:1.45}
.is-style-asg-framed{position:relative;z-index:0}
.is-style-asg-framed img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:60% 50%}
.is-style-asg-framed::after{content:"";position:absolute;inset:1.2rem -1.2rem -1.2rem 1.2rem;border:1px solid var(--wp--preset--color--gold);z-index:-1}
.wp-block-quote.is-style-asg-statement{border:0;padding:0;margin-inline:auto;text-align:center;max-width:56rem}
.wp-block-quote.is-style-asg-statement p{font-family:var(--wp--preset--font-family--serif);font-size:clamp(1.8rem,3.8vw,3rem);line-height:1.2;letter-spacing:-.01em}
.wp-block-quote.is-style-asg-statement em{color:var(--wp--preset--color--gold);font-style:italic}
.wp-block-quote.is-style-asg-statement cite{display:block;margin-top:2rem;font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;font-style:normal;opacity:.65}
.wp-block-button.is-style-asg-dark .wp-block-button__link{background:var(--wp--preset--color--navy);border-color:var(--wp--preset--color--navy);color:#fff}
.wp-block-button.is-style-asg-dark .wp-block-button__link:hover{background:transparent;color:var(--wp--preset--color--navy)}
.wp-block-button.is-style-outline.asg-btn-light .wp-block-button__link{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.wp-block-button.is-style-outline.asg-btn-light .wp-block-button__link:hover{color:var(--wp--preset--color--gold);border-color:var(--wp--preset--color--gold)}
.wp-block-button__link{transition:background .3s,color .3s,border-color .3s}

/* ---------- header ---------- */
.asg-header{padding-block:1.4rem;position:relative;z-index:20}
.asg-brand a{text-decoration:none;display:inline-flex;align-items:center;gap:.7rem;color:inherit}
.asg-brand a::before{content:"AI";width:30px;height:30px;border:1px solid var(--wp--preset--color--gold);border-radius:50%;display:inline-grid;place-items:center;font:600 .72rem/1 var(--wp--preset--font-family--sans);letter-spacing:.04em;color:var(--wp--preset--color--gold);flex:none}
.asg-nav .wp-block-navigation-item__content{color:rgba(255,255,255,.86);text-decoration:none}
.asg-nav .wp-block-navigation__container{gap:2.2rem;align-items:center}
.asg-nav .wp-block-navigation-item:not(.asg-nav-cta) .wp-block-navigation-item__content:hover,.asg-nav .current-menu-item>.wp-block-navigation-item__content{color:#fff;text-decoration:underline;text-decoration-color:var(--wp--preset--color--gold);text-underline-offset:.45em}
.asg-nav .asg-nav-cta>.wp-block-navigation-item__content{background:var(--wp--preset--color--gold);color:var(--wp--preset--color--navy);padding:.6rem 1.2rem;border:1px solid var(--wp--preset--color--gold);border-radius:2px;font-weight:600}
.asg-nav .asg-nav-cta>.wp-block-navigation-item__content:hover{background:transparent;color:var(--wp--preset--color--gold)}
.asg-nav .wp-block-navigation__responsive-container-open{border:1px solid rgba(255,255,255,.4);border-radius:999px;padding:.4rem .7rem}
.asg-nav .wp-block-navigation__responsive-container.is-menu-open{padding:1.6rem 1.5rem 2rem}
.asg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:flex-start!important;padding-top:3.5rem}
.asg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:1.6rem;align-items:flex-start!important;font-size:1.25rem}
.asg-nav .wp-block-navigation__responsive-container.is-menu-open .asg-nav-cta>.wp-block-navigation-item__content{padding:.8rem 1.4rem}

/* ---------- sections ---------- */
.asg-section{padding-block:var(--wp--preset--spacing--80)}
.asg-section--tight{padding-block:var(--wp--preset--spacing--70)}
.asg-dark p{color:rgba(255,255,255,.8)}
.asg-dark .asg-intro{max-width:42rem}
.asg-small{font-size:.9rem}

/* hero */
.wp-block-cover.asg-hero{padding-block:7rem 6rem;margin-block-start:0}
.asg-hero .asg-hero__title{max-width:13ch;margin-bottom:1.6rem;color:#fff}
.asg-hero .asg-hero__sub{font-family:var(--wp--preset--font-family--serif);font-style:italic;font-size:clamp(1.35rem,2.4vw,1.9rem);line-height:1.35;color:var(--wp--preset--color--sand);max-width:30ch;margin-bottom:1.8rem}
.asg-hero .asg-hero__desc{max-width:52ch;color:rgba(255,255,255,.8);margin-bottom:2.4rem}
.asg-page-hero{padding-block:5rem 6rem}
.asg-page-hero h1{font-size:clamp(2.4rem,5vw,4rem);max-width:20ch}
.asg-page-hero__lead{font-family:var(--wp--preset--font-family--serif);font-style:italic;font-size:var(--wp--preset--font-size--lead);color:var(--wp--preset--color--sand);max-width:40ch}

/* who / split */
.asg-split{gap:clamp(2rem,6vw,6rem)!important}
.asg-link-arrow a{font-weight:600;text-decoration:none;border-bottom:1px solid var(--wp--preset--color--gold);padding-bottom:2px;color:var(--wp--preset--color--navy)}
.asg-link-arrow a::after{content:" \2192"}

/* quote */
.asg-quote{padding-block:clamp(5rem,10vw,9rem)}

/* mission + focus */
.asg-mission{max-width:56rem}
.asg-mission__title{font-size:clamp(2.2rem,4.6vw,3.6rem)!important}
.asg-mission__title em{color:var(--wp--preset--color--gold-deep)}
.wp-block-columns.asg-focus{gap:0!important;margin-top:4rem;border-top:1px solid rgba(15,23,42,.14)}
.asg-focus>.wp-block-column{padding:2rem 1.6rem;border-right:1px solid rgba(15,23,42,.14)}
.asg-focus>.wp-block-column:first-child{padding-left:0}
.asg-focus>.wp-block-column:last-child{border-right:0}
.asg-focus h3{margin-bottom:.8rem}
.asg-focus p:not(.asg-num){font-size:.98rem;color:var(--wp--preset--color--muted)}
.asg-num{font-family:var(--wp--preset--font-family--serif);color:var(--wp--preset--color--gold-deep);letter-spacing:.1em;margin-bottom:2.2rem!important}

/* timeline */
.wp-block-columns.asg-steps{gap:0!important;margin-top:3.5rem}
.asg-steps>.wp-block-column{position:relative;padding:2.8rem 1.6rem 0 0}
.asg-steps>.wp-block-column::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:rgba(255,255,255,.25)}
.asg-steps>.wp-block-column::after{content:"";position:absolute;top:-5px;left:0;width:11px;height:11px;border-radius:50%;background:var(--wp--preset--color--gold)}
.asg-steps h3{font-size:1.35rem;margin:0 0 .6rem;color:#fff}
.asg-steps p{font-size:.97rem}
.asg-step-k{font-size:.75rem!important;letter-spacing:.2em;text-transform:uppercase;color:var(--wp--preset--color--gold)!important;margin-bottom:.6rem!important}

/* cta */
.asg-cta h2{max-width:18ch;margin-inline:auto!important}
.asg-cta p{color:var(--wp--preset--color--muted)}

/* about prose */
.asg-prose p{font-size:1.1rem}
.asg-prose h2{margin-top:3.5rem;font-size:clamp(1.8rem,3.2vw,2.5rem)}
.asg-prose strong{font-weight:600;color:var(--wp--preset--color--navy);background:linear-gradient(transparent 62%,rgba(220,165,74,.35) 0)}
.wp-block-columns.asg-stats{margin-block:3rem;gap:2rem}
.asg-stat{border-top:2px solid var(--wp--preset--color--gold);padding-top:1.2rem}
.asg-stat__num{font-family:var(--wp--preset--font-family--serif);font-size:clamp(3rem,6vw,4.6rem)!important;line-height:1;color:var(--wp--preset--color--navy)}
.asg-stat__label{font-size:.95rem!important;color:var(--wp--preset--color--muted)}
.asg-belief{padding:clamp(2.2rem,5vw,4rem);margin-top:4rem!important}
.asg-belief h2{margin-top:0!important;color:#fff}
.asg-belief p{color:rgba(255,255,255,.85)}
.asg-belief strong{color:#fff;background:linear-gradient(transparent 62%,rgba(220,165,74,.45) 0)}
.wp-block-columns.asg-profile{margin-top:2.5rem;max-width:52rem;padding:2.2rem 2.4rem;background:rgba(255,255,255,.55);border:1px solid rgba(15,23,42,.08);gap:clamp(1.6rem,4vw,3.2rem)!important;align-items:center}
.is-style-asg-portrait{margin:0}
.is-style-asg-portrait img{width:220px;height:220px;object-fit:cover;object-position:center 12%;border-radius:50%;border:1px solid var(--wp--preset--color--gold);box-shadow:0 0 0 6px var(--wp--preset--color--sand)}
.asg-profile h3{font-size:2rem;margin-bottom:.4rem}
.asg-role{font-size:.78rem!important;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--wp--preset--color--gold-deep);margin-bottom:1rem!important}
.asg-profile p:not(.asg-role){color:var(--wp--preset--color--muted);font-size:1.02rem}
@media (max-width:781px){
  .wp-block-columns.asg-profile{padding:1.8rem 0 0;background:transparent;border:0}
  .is-style-asg-portrait img{width:160px;height:160px}
}

/* contact */
.wp-block-columns.asg-contact{gap:clamp(2rem,6vw,6rem)}
.asg-address{font-family:var(--wp--preset--font-family--serif);font-size:1.4rem;line-height:1.5}
.asg-address a{border-bottom:1px solid var(--wp--preset--color--gold);text-decoration:none}
.asg-h-sm{font-size:1.8rem!important}
.wpcf7-form label{display:block;font-size:.85rem;font-weight:600;letter-spacing:.04em;margin:0 0 1.4rem}
.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form textarea{width:100%;font:inherit;font-weight:400;letter-spacing:0;padding:.85rem 1rem;border:1px solid rgba(15,23,42,.35);background:#fff;border-radius:2px;color:var(--wp--preset--color--ink);margin-top:.4rem;box-sizing:border-box}
.wpcf7-form textarea{min-height:11rem;resize:vertical}
.wpcf7-form input[type=submit]{background:var(--wp--preset--color--navy);color:#fff;border:1px solid var(--wp--preset--color--navy);padding:.95rem 1.7rem;border-radius:2px;font:600 .98rem var(--wp--preset--font-family--sans);cursor:pointer}
.wpcf7-form input[type=submit]:hover{background:transparent;color:var(--wp--preset--color--navy)}

/* footer */
.asg-footer{padding-block:4rem 2rem;font-size:.95rem}
.asg-footer a{text-decoration:none}.asg-footer a:hover{color:var(--wp--preset--color--gold)}
.asg-footer .asg-brand{color:#fff;margin-bottom:1rem}
.asg-foot-h{font-family:var(--wp--preset--font-family--sans)!important;font-size:.75rem!important;letter-spacing:.2em;text-transform:uppercase;color:var(--wp--preset--color--gold);font-weight:600!important}
.asg-foot-list{list-style:none;padding:0}
.asg-footer__cols{padding-bottom:2.5rem;border-bottom:1px solid rgba(255,255,255,.14)}
.asg-footer__legal{padding-top:1.5rem;font-size:.85rem}
.asg-footer mark.has-inline-color{background:transparent!important;color:var(--wp--preset--color--gold)!important}

/* ---------- optional scroll reveal (JS adds .asg-js; disabled for reduced motion) ---------- */
.asg-js .asg-reveal{opacity:0;transform:translateY(22px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.asg-js .asg-reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.asg-js .asg-reveal{opacity:1;transform:none;transition:none}}

/* ---------- responsive ---------- */
@media (max-width:781px){
  .asg-focus>.wp-block-column{border-right:0;border-bottom:1px solid rgba(15,23,42,.14);padding-left:0}
  .wp-block-columns.asg-steps{row-gap:2.5rem!important}
  .wp-block-cover.asg-hero{padding-block:5rem 4rem}
  .wp-block-cover.asg-hero .wp-block-cover__background{background:linear-gradient(180deg,rgba(15,23,42,.75),#0F172A 85%)!important}
  .is-style-asg-framed{max-width:420px}
  .is-style-asg-framed::after{inset:.8rem -.6rem -.8rem .6rem}
}
