/* Responsive audit, October 2026. Loaded after the established visual styles. */
.price-card .button{max-width:100%;white-space:nowrap;appearance:none;border:0;box-shadow:none}
.price{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(min-width:701px) and (max-width:900px){
  .program{grid-template-columns:minmax(0,1fr);gap:40px}
  .program-side{position:static;max-width:680px}
  .program-side>p{max-width:620px}
  .program-visual{display:none}
  .week-artifact{display:block;height:280px;max-width:560px;margin-top:24px;overflow:hidden;border:1px solid #66533e;border-radius:var(--radius-control);background:#24201b;padding:10px}
  .week-artifact .artifact-window{height:100%}
  .week{padding-block:36px}
  .week h3{font-size:32px}
  .week-lead{max-width:680px}
 .author-project{grid-template-columns:100px minmax(0,1fr);padding:16px}
  .footer-main{grid-template-columns:1fr 1fr;gap:32px}
  .footer-identity{grid-column:1/-1}
}
@media(max-width:700px){
  .price{font-size:clamp(44px,14vw,70px);margin-block:32px 28px}
  .price-card{padding:24px}
 .author-project{grid-template-columns:84px minmax(0,1fr);min-height:144px}
  .footer-nav a,.footer-docs a,.footer-bottom>a{display:inline-flex;align-items:center;min-height:44px}
  .footer-nav,.footer-docs{row-gap:4px}
  .author-socials .social-link{width:44px;height:44px}
}
@media(max-width:380px){
  :root{--gutter:16px}
  h2{font-size:clamp(28px,8.5vw,32px)}
  .hero h1{font-size:clamp(24px,7vw,27px)}
  .header{gap:8px}
  .header .header-island-main{padding-inline:12px;gap:8px}
  .header .brand img,.footer .brand img{width:48px;height:auto}
  .header .menu-toggle{width:24px;min-width:24px;padding:0}
  .header .nav-cta{font-size:12px;padding-inline:12px;gap:8px;min-height:44px;white-space:nowrap}
  .header .nav-cta svg{width:16px}
  .header-island-action{padding:4px}
  .header .header-popover{max-width:calc(100vw - 32px)}
 .author-project{padding:12px;gap:12px;grid-template-columns:72px minmax(0,1fr)}
  .author-project strong{font-size:22px}
  .demo-input,.demo-result{padding-inline:16px}
  .demo-chat{gap:10px}
  .demo-chat .demo-message{padding:14px}
  .demo-chat .demo-message p{font-size:15px}
  .footer-bottom{flex-wrap:wrap;gap:8px}
}
/* The touch-menu button already provides the arrow below the hover-nav breakpoint. */
@media(max-width:799px){.header .nav-hint{display:none}}

/* Align the intro with the AI column's outer border, preserving its text width. */
@media(min-width:1101px){
  .process .section-intro{grid-template-columns:1.7fr 1fr;column-gap:0}
  .process .section-intro>p{width:66.825%;max-width:360px;justify-self:start}
}

/* The tariff introduction follows the same columns as the cards below. */
@media(min-width:701px){
  .tariffs .section-intro{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
  .tariffs .section-intro>p{max-width:360px;justify-self:start}
}

/* Separate the final CTA vertically while keeping its space in the layout. */
@media(min-width:701px){
  .closing-bottom>p{margin-bottom:100px}
}
@media(max-width:700px){
  .closing .button{margin-top:64px}
}

/* Match the example introduction to the two equal cards. */
@media(min-width:801px){
  .process-demo-heading{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
  .process-demo-heading h3{max-width:632px;width:calc(100% - 32px)}
  .process-demo-heading p{justify-self:start}
}

@media(min-width:701px){
  .tariffs .section-intro h2{max-width:10em;text-wrap:balance}
}

/* Anchor the bio at the top and the project group at the bottom. */
@media(min-width:701px){
  .author-content{justify-content:flex-start;padding-block:0}
  .author-content>.author-outro{margin-top:auto;padding-top:28px}
}

/* Audience copy fills each column with a tighter reading rhythm. */
.audiences article>p{max-width:none;width:100%;line-height:1.3}

/* Closing section notes have more separation from the main content. */
.boundary{margin-top:64px;line-height:1.4}
.process .estimate{margin-top:44px;line-height:1.4}
@media(max-width:700px){
  .boundary,.process .estimate{margin-top:40px}
}

/* The program heading and preview share the same maximum width. */
.program-side{--program-preview-width:600px}
.program-side h2{max-width:var(--program-preview-width)}
.program-visual{max-width:var(--program-preview-width)}

.price-feature-accent{color:var(--acid);font-weight:inherit}

.price-group{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px 20px;margin-block:40px 32px}
.price-group .price{font-size:clamp(36px,3.8vw,64px);font-weight:600;margin:0;letter-spacing:-.045em}
.price-previous{display:flex;align-items:center;gap:8px;color:#827c74;font-size:clamp(16px,1.35vw,22px);white-space:nowrap}
.price-previous s{text-decoration-thickness:1px}
.price-info{position:relative;display:inline-flex}
.price-info-button{display:grid;place-items:center;width:32px;height:32px;padding:4px;border:0;background:none;color:inherit;cursor:pointer;border-radius:50%}
.price-info-button svg{width:20px;height:20px}
.price-info-button:hover,.price-info-button:focus-visible{color:var(--acid)}
.price-tooltip{position:absolute;z-index:5;bottom:calc(100% + 8px);left:50%;right:auto;transform:translateX(calc(-50% + var(--tooltip-shift, 0px)));width:220px;max-width:calc(100vw - 32px);padding:12px 14px;border:1px solid #51483d;border-radius:10px;background:#34302a;color:#eee9e2;box-shadow:0 8px 24px #0005;font-size:14px;font-weight:400;line-height:1.4;white-space:normal;visibility:hidden;opacity:0;transition:opacity .15s}
.price-info::before{content:'';position:absolute;bottom:100%;height:8px;width:100%}
.price-info:not(.is-dismissed):hover .price-tooltip,.price-info:not(.is-dismissed):focus-within .price-tooltip,.price-info.is-open .price-tooltip{visibility:visible;opacity:1}
@media(max-width:700px){.price-group{margin-block:32px 28px;gap:12px 16px}.price-group .price{font-size:clamp(32px,9.4vw,44px)}.price-info-button{width:44px;height:44px}}


/* Excluded features share one opacity, including their monochrome checks. */
.price-lines .unavailable{color:inherit;opacity:.4}
.price-lines .unavailable .feature-mark{color:inherit}
/* Long nonbreaking feature phrases must not enlarge the mobile price grid. */
.price-card{min-width:0}
.price-lines li>span:nth-child(2){min-width:0;overflow-wrap:anywhere}

.price-card .price-name{display:flex;align-items:center;gap:10px;font-size:clamp(18px,1.3vw,22px);line-height:1.2;letter-spacing:-.025em}
.price-name svg{width:20px;height:20px;flex:none;color:var(--acid)}

/* FAQ answers use the same text size as tariff features. */
.faq-item>p,.faq-item>.faq-answer>p{font-size:17px;line-height:1.4}
@media(max-width:700px){.faq-item>p,.faq-item>.faq-answer>p{font-size:16px}}

.price-card .price-name{color:var(--acid)}
.price-name svg{stroke-width:1.75}

/* Size the portrait by the stretched card height, not the narrow column width. */
@media(min-width:701px){
  
}

@media(min-width:1001px){
  .author-lead{max-width:770px}
  .author-outro{max-width:748px}
}

.hero h1 .hero-title-accent{color:var(--acid)}

/* Secondary heading phrases keep contrast appropriate to their section. */
.process h2 .muted{color:#6b655d}
.closing h2{color:#fff}

/* Both portraits share one square coordinate system, anchored to the bottom.
   Sculpture framing compensates for its differently cropped transparent canvas. */
.author-portrait-images{position:absolute;left:50%;bottom:0;height:100%;width:auto;max-width:none;aspect-ratio:1;transform:translateX(-50%);pointer-events:none;user-select:none;filter:drop-shadow(0 18px 34px #0006)}
@media(max-width:700px){.author-portrait-images{height:auto;width:110%;bottom:-24%}}
@media(max-width:430px){.author-portrait-images{width:124%;bottom:-17%}}
.author-portrait-images img{position:absolute;bottom:0;max-width:none;transform:none;filter:none;pointer-events:none;user-select:none;-webkit-user-drag:none;transition:opacity .35s ease}
.author-portrait-images .author-photo{left:0;width:100%;height:100%;opacity:0}
.author-portrait-images .author-sculpture{left:10.73%;width:78.31%;height:98.81%;opacity:1}
@media(hover:hover){
  .author-portrait:hover .author-photo{opacity:1}
  .author-portrait:hover .author-sculpture{opacity:0}
}
.author-portrait:focus-within .author-photo{opacity:1}
.author-portrait:focus-within .author-sculpture{opacity:0}
@media(prefers-reduced-motion:reduce){.author-portrait-images img{transition:none}}

/* Fluid canvas uses the exact same coordinate system as both image layers. */
.author-reveal-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.author-portrait.has-fluid-reveal .author-portrait-images img{opacity:0;transition:none}
.author-portrait.has-fluid-reveal:focus-within .author-photo{opacity:1}
.author-portrait.has-fluid-reveal:focus-within .author-reveal-canvas{visibility:hidden}

/* The preview sets the card height; copy shares its top and bottom edges. */
.author-content{container-type:inline-size;container-name:author-content}
.author-projects{grid-template-columns:repeat(2,minmax(0,1fr))}
.author-project{min-height:0;grid-template-columns:minmax(0,34%) minmax(0,1fr);align-items:stretch}
.author-project-copy{justify-content:space-between}
.author-project-shot{align-self:start;aspect-ratio:4/3}
.author-project-shot img{object-fit:contain}
@container author-content (max-width:520px){
  .author-projects{grid-template-columns:1fr}
}
@container author-content (min-width:521px) and (max-width:800px){
  .author-project{grid-template-columns:40% minmax(0,1fr);padding:12px;gap:10px}
  .author-project strong{font-size:18px}
  .author-project small{font-size:12px;line-height:1.35}
  .author-project-copy{gap:6px}
}
@container author-content (max-width:520px){
 .author-project{padding:14px;gap:12px}
  .author-project strong{font-size:20px;line-height:1.15;padding-right:18px}
  .author-project small{font-size:14px;line-height:1.4}
  .author-project-link{top:12px;right:12px;width:16px;height:16px}
}
@container author-content (max-width:460px){
 .author-project{grid-template-columns:40% minmax(0,1fr);padding:12px;gap:10px}
  .author-project strong{font-size:18px;padding-right:0}
  .author-project small{font-size:12px;line-height:1.35}
  .author-project-copy{gap:6px}
}

/* Supplied artwork scales at its native ratio without cropping. */
.process-demo-images{min-height:0;align-items:start}
.process-demo-images .demo-input,.process-demo-images .demo-result{display:block;min-height:0;padding:0;border:0;box-shadow:none}
.process-demo-image{display:block;width:100%;height:auto;object-fit:contain}

/* Keep the connector centered independently of reveal animation transforms. */
.process-demo-images .demo-bridge{position:absolute;left:50%;top:50%;margin:0;border:2px solid #ebe9e6;box-shadow:none;transform:none;translate:-50% -50%}
@media(max-width:800px){
  .process-demo-images .demo-bridge svg{transform:rotate(90deg)}
}
body:has(.process-demo:hover) .cursor-aura{opacity:0!important}

.ai-sparkles{display:inline-block;flex-shrink:0;vertical-align:middle}
.mobile-label .ai-sparkles{width:16px;height:16px;margin-left:4px}

.price-lines .price-bonus{color:var(--acid)}

@media(min-width:701px){
  .price-card .button{min-width:min(235px,100%)}
}

/* Match the poster and WebGL framing; grow upward from the same baseline. */
@media(max-width:700px){
  .hero-portrait>img,.hero-portrait .hero-model{
    width:125%;
    max-width:calc(clamp(300px,90vw,390px) * 1.2);
    height:125%;
    top:auto;
    bottom:-10px;
  }
}

/* Keep the complete sticky program preview inside shorter laptop windows. */
@media(min-width:901px){
  .program-visual{max-width:min(var(--program-preview-width),var(--program-fit-width,600px))}
}
@media(min-width:901px) and (max-height:800px){
  .program-side{top:116px}
  .program-side h2{font-size:clamp(30px,4.8svh,38px)}
  .program-side>p{font-size:15px;line-height:1.5;margin-top:16px}
  .program-visual{margin-top:24px}
}
@media(min-width:901px) and (max-height:540px){
  .program-side{position:static}
  .program-visual{max-width:var(--program-preview-width)}
}

/* Smaller navigation islands on laptops, without scaling their text. */
@media(max-width:1440px){
  :root{--header-space:68px}
  .header{height:56px;top:12px;margin-top:12px}
  .header .brand img,.footer .brand img{width:56px}
  .header .header-island-main{padding-inline:20px;gap:20px}
  .header .header-island-action{padding:4px}
  .header .nav-cta{min-height:48px;padding-inline:16px;gap:14px}
}
@media(max-width:700px){
  :root{--header-space:60px}
  .header{height:52px;top:8px;margin-top:8px}
  .header .header-island-main{padding-inline:12px;gap:6px}
  .header .brand img,.footer .brand img{width:48px}
  .header .nav-cta{min-height:44px;padding-inline:12px;gap:8px;font-size:12px}
  .header .menu-toggle{width:28px;flex-basis:28px;height:44px}
}

/* Give the author portrait a stable share of the desktop/tablet layout. */
@media(min-width:701px) and (max-width:1440px){
  .author-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,3vw,44px)}
}

/* Reserve the date's actual width so the two hero panels cannot intersect. */
.hero-portrait .hero-promise{right:var(--hero-date-right,0px);margin-right:0}
.hero-facts{padding:6px 0 6px 4px;gap:0}
.hero-facts>span{padding:8px 10px;gap:8px}
@media(min-width:701px){
  .hero-facts{width:min(760px,var(--hero-facts-width,calc(100% - 240px)));max-width:none}
}
@media(max-width:700px){
  .hero-facts{padding:0 0 0 4px}
  .hero-facts>span{padding:10px 12px}
}

@media(min-width:701px){
  .hero-portrait .hero-promise{box-sizing:border-box;height:var(--hero-panel-height,auto);min-height:0;padding-block:12px;align-items:center}
}

/* Stacked tablet facts fit their content; only the mobile block fills the row. */
@media(min-width:701px) and (max-width:1100px){
  .hero-facts{display:grid;grid-template-columns:minmax(0,1fr);width:max-content;max-width:min(100%,var(--hero-facts-width,calc(100% - 240px)));justify-self:start}
  .hero-facts>span+span::after{left:40px;right:10px;top:0;bottom:auto;width:auto;height:1px}
}
@media(max-width:700px){
  .hero-facts{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%}
  .hero-facts>span+span::after{left:42px;right:12px;top:0;bottom:auto;width:auto;height:1px}
}

/* A compact, centered date label over the static mobile portrait. */
@media(max-width:700px){
  .hero-portrait .hero-promise{left:50%;right:auto;bottom:12px;translate:-50% 0;width:max-content;max-width:calc(100% - 16px);height:auto;margin:0;padding:10px 12px;gap:8px;align-items:center;font-size:clamp(11px,3.2vw,13px);white-space:nowrap}
  .hero-promise .start-copy{display:flex;align-items:baseline;gap:5px}
  .hero-promise .start-copy br{display:none}
  .hero-promise .start-copy strong{margin:0}
  .hero-promise .start-calendar{width:18px;height:18px;flex-basis:18px}
  .hero-portrait .hero-model{display:none}
  .hero-portrait.has-model>img{opacity:1}
}

/* Editable sale badges follow the presence of the previous price. */
.price-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.price-heading .price-name{min-width:0;overflow-wrap:anywhere}
.price-sale-badge{flex:0 1 auto;max-width:60%;padding:5px 9px;border-radius:6px;background:#f2bd781f;color:var(--acid);font-size:12px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
@media(max-width:700px){.price-group.price-group-wrapped{row-gap:6px;margin-bottom:14px}}
