/* Main only. Phi families, not a claim that every pair of dimensions is golden.
   A 16px reading base; whole/half steps for hierarchy, quarter step for metadata.
   Circles, minimum touch targets, media aspect ratios and motion are exceptions. */
.cadence-edition {
  --phi:1.618033988749895;
  --g-unit:1rem;
  --g-xs:calc(var(--g-unit) * 0.381966011250);
  --g-sm:calc(var(--g-unit) * 0.618033988750);
  --g-md:calc(var(--g-unit) * 1.000000000000);
  --g-lg:calc(var(--g-unit) * 1.618033988750);
  --g-xl:calc(var(--g-unit) * 2.618033988750);
  --g-2xl:calc(var(--g-unit) * 4.236067977500);
  --g-3xl:calc(var(--g-unit) * 6.854101966250);
  --g-4xl:calc(var(--g-unit) * 11.090169943749);
  --g-meta:calc(var(--g-unit) * 0.886651779312);
  --g-copy:calc(var(--g-unit) * 1.127838485562);
  --g-title:calc(var(--g-unit) * 2.058171027271);
  --g-layout-max:calc(var(--g-unit) * 96.690227567026);
  --g-section:clamp(var(--g-xl),8vw,var(--g-3xl));
  --g-section-space:clamp(var(--g-2xl),8vw,var(--g-3xl));
  --g-group-space:clamp(var(--g-lg),4vw,var(--g-xl));
  --page-gutter:clamp(var(--g-lg),4.4vw,var(--g-2xl));
  --r-sm:var(--g-xs);--r-md:var(--g-sm);--r-lg:var(--g-md);--r-xl:var(--g-lg);--r-2xl:var(--g-xl);
}
/* Contours are computed from the short side / phi^n on ResizeObserver.
   Nested layers inherit exactly the same radius, so no mismatched corners. */
.cadence-edition [data-golden-radius] {border-radius:var(--golden-radius,var(--g-md));}
.cadence-edition [data-client-showcase] .client-track[data-golden-radius],
.cadence-edition .ask-ai > div[data-golden-radius] {border-radius:var(--golden-radius,var(--g-md));}
.cadence-edition .cap-card-inner {border-radius:inherit;}
/* The header and its controls are deliberately full pills, outside contour families. */
.cadence-edition .site-header .header__inner,
.cadence-edition .site-header.is-stuck .header__inner,
.cadence-edition .site-header .btn,
.cadence-edition .lang-toggle,
.cadence-edition .lang-toggle__btn,
.cadence-edition .lang-toggle__thumb {border-radius:999px;}
.cadence-edition .voice-toggle,.cadence-edition .voices-nav button,
.cadence-edition .voices-pages button,.cadence-edition .menu-toggle,
.cadence-edition .menu-close {border-radius:50%;aspect-ratio:1;flex-shrink:0;}
.cadence-edition .lang-toggle__btn,.cadence-edition .lang-toggle__thumb {border-radius:inherit;}

/* One content edge and related spacing families throughout the reading page. */
.cadence-edition .wide,.cadence-edition .cap-window.wide {max-width:var(--g-layout-max);}
.cadence-edition [data-client-showcase] .client-window {width:100%;max-width:var(--g-layout-max);padding-inline:var(--page-gutter);}
.cadence-edition :is(.capabilities,.client-ribbon[data-client-showcase],.voices,.about-copy,.process-new) {padding-block:var(--g-section-space);}
.cadence-edition .manifesto {padding-block:var(--g-3xl) var(--g-section-space);}
.cadence-edition .cap-heading {padding-bottom:var(--g-group-space);}
.cadence-edition .cap-track {gap:var(--g-md);}
.cadence-edition .cap-card {--cap-pad:var(--g-lg);}
.cadence-edition .cap-content {padding:var(--g-3xl) var(--cap-pad) var(--g-lg);}
.cadence-edition .cap-panel {margin-top:var(--g-xl);}
.cadence-edition .cap-panel li {padding-block:var(--g-sm);min-height:var(--g-xl);font-size:var(--g-md);line-height:1.45;}
.cadence-edition .client-button {aspect-ratio:var(--phi);padding:var(--g-lg);}
.cadence-edition .client-heading {margin-bottom:var(--g-group-space);}
/* Floating client details keep their own compact scale in clients-showcase.css. */

/* Shared typography roles outside the independently drawn hero wordmark. */
.cadence-edition :is(.display,.manifesto .display,.cap-title,.voices-title,.process-new .display,.closing .display,.scene-copy .display) {font-size:var(--g-section);line-height:1.04;}
.cadence-edition [data-service-reveal] .scene-copy .display {font-size:var(--g-section);}
.cadence-edition [data-service-reveal] .scene-bottom {left:var(--page-gutter);right:var(--page-gutter);gap:var(--g-lg);}
.cadence-edition [data-service-reveal] .scene-bottom h3 {margin-bottom:var(--g-sm);}
.cadence-edition :is(.cap-card-title,.client-heading,.process-panel > p:first-child) {font-size:var(--g-title);line-height:1.12;}
.cadence-edition .client-heading {max-width:none;}
.cadence-edition :is(.body-copy,.scene-bottom p,.voice-transcript) {font-size:clamp(var(--g-copy),2vw,var(--g-lg));line-height:1.45;}
.cadence-edition :is(.about-detail,.process-panel > p:nth-child(2),.closing-actions p) {font-size:var(--g-copy);line-height:var(--phi);}
.cadence-edition :is(.location,.quiet-link,.voice-company,.closing-foot) {font-size:var(--g-meta);}
.cadence-edition .pledge {font-size:clamp(var(--g-title),3vw,var(--g-xl));line-height:1.27201965;}
.cadence-edition .process-choice {font-size:clamp(var(--g-title),3.7vw,var(--g-xl));padding-block:var(--g-md);}
.cadence-edition .team-caption {font-size:clamp(var(--g-title),4.7vw,var(--g-2xl));}
.cadence-edition .team-title {font-size:clamp(var(--g-2xl),12.5vw,var(--g-4xl));}

.cadence-edition .manifesto-foot {grid-template-columns:1fr 1.61803398875fr;gap:var(--g-2xl);margin-top:var(--g-2xl);}
.cadence-edition .about-copy {grid-template-columns:1fr 1.61803398875fr;gap:var(--g-2xl);}
.cadence-edition .about-detail {margin-top:var(--g-lg);}
.cadence-edition .voices-heading {gap:var(--g-lg);margin-bottom:var(--g-xl);}
.cadence-edition .voices-nav {gap:var(--g-sm);}
.cadence-edition .voice-card {grid-template-columns:minmax(0,1fr) minmax(0,1.61803398875fr);}
.cadence-edition .voice-content {padding:clamp(var(--g-lg),3.5vw,var(--g-xl));}
.cadence-edition .voice-player {gap:var(--g-lg);}
.cadence-edition .voice-author {margin-top:var(--g-lg);padding-bottom:var(--g-lg);gap:var(--g-xs) var(--g-md);}
.cadence-edition .voice-quote {margin-top:var(--g-lg);}
.cadence-edition .voice-meta {gap:var(--g-lg);padding-top:var(--g-lg);}
.cadence-edition .voices-foot {gap:var(--g-md);padding-top:var(--g-lg);}
.cadence-edition .voice-sample {left:var(--g-lg);bottom:var(--g-lg);padding:var(--g-xs) var(--g-sm);}
.cadence-edition .process-layout {grid-template-columns:1fr 1.61803398875fr;gap:var(--g-2xl);margin-top:var(--g-2xl);}
.cadence-edition .process-panel {padding-top:var(--g-lg);}
.cadence-edition .process-panel > p:nth-child(2) {margin-top:var(--g-lg);}
.cadence-edition .process-panel > span {margin-top:var(--g-xl);}
.cadence-edition .closing {padding-block:var(--g-section-space) var(--g-lg);}
.cadence-edition .closing-top {grid-template-columns:1.61803398875fr 1fr;gap:var(--g-xl);}
.cadence-edition .closing-actions {gap:var(--g-lg);}
.cadence-edition .closing-word {margin-block:var(--g-section-space) var(--g-xl);}
.cadence-edition .closing-foot {gap:var(--g-lg);padding-top:var(--g-lg);}
.cadence-edition .closing-foot > div {gap:var(--g-lg);}
.cadence-edition .ask-ai > div {padding:var(--g-lg);gap:var(--g-sm);}
.cadence-edition [data-service-reveal] .scene-aperture {clip-path:inset(0 round var(--golden-radius,16px));}
.cadence-edition [data-service-reveal].is-revealing .scene-copy {clip-path:inset(0 round var(--golden-radius,16px));}
@media(max-width:1100px) {
  .cadence-edition .cap-content {padding-top:var(--g-2xl);}
}
@media(max-width:860px) {
  .cadence-edition {--g-section:clamp(var(--g-xl),13vw,var(--g-2xl));}
  .cadence-edition :is(.manifesto-foot,.about-copy,.process-layout,.closing-top) {grid-template-columns:1fr;gap:var(--g-lg);}
  .cadence-edition .manifesto-foot {margin-top:var(--g-xl);}
  .cadence-edition .process-layout {margin-top:var(--g-xl);}
  .cadence-edition .scene-bottom {gap:var(--g-lg);}
}
@media(max-width:700px) {
  .cadence-edition .voice-card {display:flex;}
  .cadence-edition .voices-title {max-width:8ch;}
  .cadence-edition .voices-heading {gap:var(--g-md);}
  .cadence-edition .voices-nav {gap:var(--g-xs);}
  .cadence-edition .voices-nav button {width:44px;height:44px;}
  .cadence-edition .voice-content {padding:var(--g-lg);}
  .cadence-edition .voice-player {gap:var(--g-md);}
}
@media(max-width:620px) {
  .cadence-edition .cap-content {padding-top:var(--g-2xl);}
  .cadence-edition .cap-panel {margin-top:var(--g-lg);}
  .cadence-edition .client-heading {font-size:var(--g-lg);}
}
@media(prefers-reduced-motion:reduce) {
  .cadence-edition [data-service-reveal] .scene-aperture {clip-path:inset(0 round var(--golden-radius,16px))!important;}
}
