/* Golden Disability — component styles. Every value comes from tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg-page); color: var(--text-body);
  font-family: var(--font-sans); font-size: 18px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 560; color: var(--text-heading); margin: 0 0 var(--space-4); font-variation-settings: "SOFT" 50; text-wrap: balance; }
h5, h6 { font-family: var(--font-sans); font-weight: 700; color: var(--text-heading); margin: 0 0 var(--space-2); }
h1 { font-size: clamp(40px, 2.4vw + 28px, 64px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 1.6vw + 24px, 48px); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-size: clamp(26px, 0.9vw + 22px, 32px); line-height: 1.2; }
h4 { font-size: clamp(22px, 0.6vw + 19px, 26px); line-height: 1.28; }
h5 { font-size: 20px; line-height: 1.4; }
h6 { font-size: 18px; line-height: 1.45; }
p { margin: 0 0 var(--space-4); max-width: 68ch; }
a { color: var(--text-link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { color: var(--text-link-hover); text-decoration-thickness: 2.5px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: var(--border-focus) solid var(--focus-ring); outline-offset: 2px; }
.gd-on-brand :focus-visible, .gd-on-brand:focus-visible { outline-color: var(--focus-ring-inverse); }
.gd-display { font-family: var(--font-display); font-size: clamp(52px, 5.4vw + 30px, 112px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 520; font-variation-settings: "SOFT" 50; }
.gd-lead { font-size: clamp(20px, 0.4vw + 18px, 22px); line-height: 1.55; }
.gd-muted { color: var(--text-muted); }
.gd-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-accent); margin: 0 0 var(--space-3); }
.gd-eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.gd-on-brand .gd-eyebrow { color: var(--text-on-brand-accent); }
.gd-highlight { color: var(--text-accent); font-style: italic; }
.gd-on-brand .gd-highlight { color: var(--text-on-brand-accent); }
.gd-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gd-icon { width: var(--size-icon-md); height: var(--size-icon-md); flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gd-icon--sm { width: var(--size-icon-sm); height: var(--size-icon-sm); }
.gd-icon--lg { width: var(--size-icon-lg); height: var(--size-icon-lg); }

/* ---------- Layout ---------- */
.gd-container { width: 100%; max-width: calc(var(--container-lg) + 2 * var(--gutter-desktop)); margin-inline: auto; padding-inline: var(--gutter-mobile); }
.gd-container--md { max-width: calc(var(--container-md) + 2 * var(--gutter-desktop)); }
.gd-container--prose { max-width: calc(var(--container-prose) + 2 * var(--gutter-desktop)); }
.gd-container--xl { max-width: calc(var(--container-xl) + 2 * var(--gutter-desktop)); }
@media (min-width: 768px) { .gd-container { padding-inline: var(--gutter-tablet); } }
@media (min-width: 1024px) { .gd-container { padding-inline: var(--gutter-desktop); } }
.gd-section { padding-block: var(--space-12); }
@media (min-width: 768px) { .gd-section { padding-block: var(--space-16); } }
@media (min-width: 1024px) { .gd-section { padding-block: var(--space-20); } }
.gd-section--cream { background: var(--bg-cream); }
.gd-section--lavender { background: var(--bg-lavender); }
.gd-section--subtle { background: var(--bg-subtle); }
.gd-on-brand, .gd-section--brand { background: var(--bg-brand); color: var(--text-on-brand); }
.gd-section--brand h1, .gd-section--brand h2, .gd-section--brand h3, .gd-section--brand h4, .gd-on-brand h1, .gd-on-brand h2, .gd-on-brand h3, .gd-on-brand h4, .gd-on-brand h5 { color: var(--text-on-brand); }
.gd-on-brand p { color: var(--text-on-brand-muted); }
.gd-on-brand a:not(.gd-btn) { color: var(--text-on-brand); }
.gd-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(var(--cols-sm, 1), minmax(0, 1fr)); }
@media (min-width: 768px) { .gd-grid { grid-template-columns: repeat(var(--cols-md, 2), minmax(0, 1fr)); gap: var(--space-8); } }
@media (min-width: 1024px) { .gd-grid { grid-template-columns: repeat(var(--cols-lg, 3), minmax(0, 1fr)); } }
.gd-section-head { max-width: 760px; margin-bottom: var(--space-10); }
.gd-section-head--center { margin-inline: auto; text-align: center; }
.gd-section-head--center .gd-eyebrow { justify-content: center; }
.gd-section-head--center p { margin-inline: auto; }
.gd-stack > * + * { margin-top: var(--space-4); }
.gd-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ---------- Skip link ---------- */
.gd-skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: var(--z-skiplink); background: var(--action-primary); color: var(--action-primary-fg); padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill); font-weight: 700; text-decoration: none; }
.gd-skip-link:focus { top: var(--space-4); outline-color: var(--focus-ring-inverse); }

/* ---------- Buttons ---------- */
.gd-btn {
  --btn-h: var(--size-control-md);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--btn-h); padding: 0 var(--space-6); border-radius: var(--radius-pill);
  border: var(--border-control) solid transparent; font-family: var(--font-sans); font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.gd-btn:hover { text-decoration: none; }
.gd-btn:active { transform: translateY(1px); }
.gd-btn .gd-icon { width: var(--size-icon-sm); height: var(--size-icon-sm); stroke-width: 2; }
.gd-btn--primary { background: var(--action-primary); color: var(--action-primary-fg); }
.gd-btn--primary:hover { background: var(--action-primary-hover); color: var(--action-primary-fg); }
.gd-btn--primary:active { background: var(--action-primary-active); }
.gd-btn--accent { background: var(--action-accent); color: var(--action-accent-fg); }
.gd-btn--accent:hover { background: var(--action-accent-hover); color: var(--action-accent-fg); }
.gd-btn--secondary { background: transparent; color: var(--action-secondary-fg); border-color: var(--action-secondary-border); }
.gd-btn--secondary:hover { background: var(--action-ghost-hover); color: var(--action-secondary-fg); }
.gd-btn--tertiary { background: transparent; color: var(--action-secondary-fg); padding-inline: var(--space-2); border-radius: var(--radius-sm); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.gd-btn--tertiary:hover { text-decoration-thickness: 2.5px; color: var(--text-link-hover); }
.gd-btn--ghost { background: transparent; color: var(--action-secondary-fg); }
.gd-btn--ghost:hover { background: var(--action-ghost-hover); color: var(--action-secondary-fg); }
.gd-on-brand .gd-btn--secondary, .gd-btn--secondary.gd-btn--inverse { color: var(--text-on-brand); border-color: var(--text-on-brand); }
.gd-on-brand .gd-btn--secondary:hover, .gd-btn--secondary.gd-btn--inverse:hover { background: rgba(255, 255, 255, 0.12); color: var(--text-on-brand); }
.gd-on-brand .gd-btn--ghost, .gd-on-brand .gd-btn--tertiary { color: var(--text-on-brand); }
.gd-btn--sm { --btn-h: var(--size-control-sm); padding-inline: var(--space-5); font-size: 16px; }
.gd-btn--lg { --btn-h: var(--size-control-lg); padding-inline: var(--space-8); font-size: 19px; }
.gd-btn--block { width: 100%; }
.gd-btn[disabled], .gd-btn[aria-disabled="true"] { background: var(--bg-subtle); color: var(--text-disabled); border-color: var(--border-subtle); cursor: not-allowed; transform: none; }
.gd-btn[aria-busy="true"] { cursor: progress; }
.gd-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: gd-spin 800ms linear infinite; }
@keyframes gd-spin { to { transform: rotate(360deg); } }

.gd-icon-btn { display: inline-grid; place-items: center; width: var(--size-touch-min); height: var(--size-touch-min); border-radius: var(--radius-circle); border: var(--border-control) solid transparent; background: transparent; color: var(--action-secondary-fg); cursor: pointer; transition: background-color 160ms ease; }
.gd-icon-btn:hover { background: var(--action-ghost-hover); }
.gd-icon-btn--filled { background: var(--action-primary); color: var(--action-primary-fg); }
.gd-icon-btn--filled:hover { background: var(--action-primary-hover); }
.gd-icon-btn--outline { border-color: var(--action-secondary-border); }
.gd-icon-btn--gold { background: var(--action-accent); color: var(--action-accent-fg); }
.gd-icon-btn--gold:hover { background: var(--action-accent-hover); }

/* ---------- Header & navigation ---------- */
.gd-header { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--surface-raised); border-bottom: var(--border-hairline) solid var(--border-subtle); }
.gd-header__utility { background: var(--bg-brand-deep); color: var(--text-on-brand-muted); font-size: 15px; }
.gd-header__utility .gd-container { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 40px; }
.gd-header__utility a { color: var(--text-on-brand); }
.gd-header__bar { display: flex; align-items: center; gap: var(--space-6); min-height: var(--size-header-h-mobile); }
@media (min-width: 1024px) { .gd-header__bar { min-height: var(--size-header-h); } }
.gd-logo { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--text-heading); }
.gd-logo img { height: 52px; width: auto; }
.gd-logo__chip { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-circle); background: var(--bg-brand); }
.gd-logo__chip img { width: 36px; height: 36px; }
.gd-logo__word { font-family: var(--font-display); font-weight: 640; font-size: 22px; line-height: 1; letter-spacing: 0.04em; color: var(--text-heading); }
.gd-logo__word small { display: block; font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; color: var(--text-accent); margin-top: 4px; }
.gd-nav { display: none; margin-left: auto; }
@media (min-width: 1024px) { .gd-nav { display: block; } }
.gd-nav__list { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.gd-nav__link { display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--size-touch-min); padding: 0 var(--space-3); border-radius: var(--radius-pill); color: var(--text-heading); font-size: 17px; font-weight: 600; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
.gd-nav__link:hover { background: var(--action-ghost-hover); color: var(--text-heading); }
.gd-nav__link[aria-current="page"] { color: var(--text-link); box-shadow: inset 0 calc(-1 * var(--border-accent)) 0 var(--gold-400); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.gd-nav__link[aria-expanded="true"] { background: var(--action-ghost-hover); }
.gd-nav__link .gd-icon { width: 18px; height: 18px; transition: transform 160ms ease; }
.gd-nav__link[aria-expanded="true"] .gd-icon { transform: rotate(180deg); }
.gd-header__actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
@media (min-width: 1024px) { .gd-header__actions { margin-left: var(--space-4); } }
.gd-header__phone { display: none; }
@media (min-width: 1280px) { .gd-header__phone { display: inline-flex; } }
.gd-header__menu-btn { display: inline-grid; }
@media (min-width: 1024px) { .gd-header__menu-btn { display: none; } }

/* Mega menu */
.gd-mega { background: var(--surface-raised); border-radius: 0 0 var(--radius-xl) var(--radius-xl); box-shadow: var(--shadow-lg); border: var(--border-hairline) solid var(--border-subtle); border-top: 0; z-index: var(--z-megamenu); }
.gd-mega__inner { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-8); padding: var(--space-8); }
.gd-mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.gd-mega__item { display: flex; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius-md); text-decoration: none; color: var(--text-body); }
.gd-mega__item:hover { background: var(--bg-lavender); color: var(--text-body); }
.gd-mega__item strong { display: block; color: var(--text-heading); font-size: 17px; line-height: 1.3; margin-bottom: 2px; }
.gd-mega__item span { font-size: 15px; line-height: 1.45; color: var(--text-muted); }
.gd-mega__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--surface-gold-soft); color: var(--gold-700); }
.gd-mega__feature { background: var(--bg-brand); color: var(--text-on-brand); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.gd-mega__feature h3 { color: var(--text-on-brand); font-size: 24px; margin: 0; }
.gd-mega__feature p { color: var(--text-on-brand-muted); font-size: 16px; margin: 0; }

/* Mobile menu */
.gd-drawer { background: var(--surface-raised); width: 100%; max-width: 420px; min-height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.gd-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-5); border-bottom: var(--border-hairline) solid var(--border-subtle); min-height: var(--size-header-h-mobile); }
.gd-drawer__nav { padding: var(--space-3) var(--space-5); flex: 1; }
.gd-drawer__list { list-style: none; margin: 0; padding: 0; }
.gd-drawer__list > li { border-bottom: var(--border-hairline) solid var(--border-subtle); }
.gd-drawer__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0 var(--space-2); font-family: inherit; font-size: 19px; font-weight: 700; color: var(--text-heading); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.gd-drawer__sub { list-style: none; margin: 0 0 var(--space-3); padding: 0 0 0 var(--space-3); }
.gd-drawer__sub a { display: flex; align-items: center; min-height: var(--size-touch-min); color: var(--text-body); text-decoration: none; font-size: 17px; padding-inline: var(--space-2); border-radius: var(--radius-sm); }
.gd-drawer__sub a:hover { background: var(--bg-lavender); }
.gd-drawer__foot { padding: var(--space-5); display: grid; gap: var(--space-3); background: var(--bg-cream); }

/* Footer */
.gd-footer { background: var(--bg-brand-deep); color: var(--text-on-brand-muted); font-size: 16px; }
.gd-footer a { color: var(--text-on-brand); text-decoration: none; }
.gd-footer a:hover { text-decoration: underline; color: var(--text-on-brand-accent); }
.gd-footer__top { display: grid; gap: var(--space-10); padding-block: var(--space-16) var(--space-12); grid-template-columns: 1fr; }
@media (min-width: 768px) { .gd-footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .gd-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.gd-footer h2 { font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-brand-accent); margin: 0 0 var(--space-4); }
.gd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.gd-footer li a { display: inline-flex; min-height: 32px; align-items: center; }
.gd-footer__ack { border-top: var(--border-hairline) solid rgba(255, 255, 255, 0.14); padding-block: var(--space-6); font-size: 15px; display: flex; gap: var(--space-4); align-items: flex-start; }
.gd-footer__bottom { border-top: var(--border-hairline) solid rgba(255, 255, 255, 0.14); padding-block: var(--space-5); font-size: 14px; display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; }

/* ---------- Badges ---------- */
.gd-badge { display: inline-flex; align-items: center; gap: var(--space-1); padding: 4px var(--space-3); border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; line-height: 1.4; background: var(--surface-gold-soft); color: var(--gold-800); }
.gd-badge--purple { background: var(--purple-100); color: var(--purple-800); }
.gd-badge--outline { background: transparent; border: var(--border-hairline) solid currentColor; }
[data-theme="dark"] .gd-badge { background: #2e2216; color: var(--gold-200); }
[data-theme="dark"] .gd-badge--purple { background: #2b1b39; color: var(--purple-200); }
.gd-on-brand .gd-badge { background: rgba(243, 226, 185, 0.16); color: var(--text-on-brand-accent); }

/* ---------- Forms ---------- */
.gd-field { display: grid; gap: var(--space-2); }
.gd-field + .gd-field { margin-top: var(--space-6); }
.gd-label { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--text-heading); }
.gd-label__opt { font-weight: 400; color: var(--text-muted); }
.gd-label__req { color: var(--error-fg); margin-left: 2px; }
.gd-hint { font-size: 15px; line-height: 1.45; color: var(--text-muted); margin: 0; }
.gd-input, .gd-select, .gd-textarea {
  width: 100%; min-height: var(--size-control-md); padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans); font-size: 18px; line-height: 1.4; color: var(--text-body);
  background: var(--surface-card); border: var(--border-control) solid var(--border-control); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs); transition: border-color 160ms ease, box-shadow 160ms ease;
}
.gd-input::placeholder, .gd-textarea::placeholder { color: var(--text-muted); opacity: 1; }
.gd-input:hover, .gd-select:hover, .gd-textarea:hover { border-color: var(--border-strong); }
.gd-input:focus-visible, .gd-select:focus-visible, .gd-textarea:focus-visible { border-color: var(--border-strong); outline: var(--border-focus) solid var(--focus-ring); outline-offset: 2px; }
.gd-textarea { min-height: 148px; resize: vertical; }
.gd-select { appearance: none; padding-right: 52px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2355247a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
[data-theme="dark"] .gd-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c3a6da' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.gd-input[readonly] { background: var(--surface-sunken); box-shadow: none; }
.gd-input:disabled, .gd-select:disabled, .gd-textarea:disabled { background: var(--surface-sunken); color: var(--text-disabled); border-color: var(--neutral-300); box-shadow: none; cursor: not-allowed; }
.gd-field--error .gd-input, .gd-field--error .gd-select, .gd-field--error .gd-textarea, .gd-input[aria-invalid="true"] { border-color: var(--error-border); background-color: var(--surface-card); }
.gd-field--success .gd-input { border-color: var(--success-border); }
.gd-msg { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 15px; line-height: 1.45; font-weight: 700; margin: 0; }
.gd-msg .gd-icon { width: 20px; height: 20px; margin-top: 1px; stroke-width: 2; }
.gd-msg--error { color: var(--error-fg); }
.gd-msg--success { color: var(--success-fg); }
.gd-counter { font-size: 14px; color: var(--text-muted); justify-self: end; }

.gd-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.gd-fieldset legend { font-size: 16px; font-weight: 700; color: var(--text-heading); margin-bottom: var(--space-3); padding: 0; }
.gd-choice { position: relative; display: flex; gap: var(--space-3); align-items: flex-start; min-height: var(--size-touch-min); padding: var(--space-3) 0; cursor: pointer; font-size: 18px; line-height: 1.4; }
.gd-choice input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; cursor: pointer; }
.gd-choice__box { flex: none; width: 28px; height: 28px; border: var(--border-control) solid var(--border-control); background: var(--surface-card); border-radius: 6px; display: grid; place-items: center; color: transparent; transition: background-color 120ms ease, border-color 120ms ease; }
.gd-choice__box svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gd-choice--radio .gd-choice__box { border-radius: 50%; }
.gd-choice--radio .gd-choice__box::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: transparent; }
.gd-choice:hover .gd-choice__box { border-color: var(--border-strong); }
.gd-choice input:checked + .gd-choice__box { background: var(--action-primary); border-color: var(--action-primary); color: var(--action-primary-fg); }
.gd-choice--radio input:checked + .gd-choice__box { background: var(--surface-card); border-color: var(--action-primary); }
.gd-choice--radio input:checked + .gd-choice__box::after { background: var(--action-primary); }
.gd-choice input:focus-visible + .gd-choice__box { outline: var(--border-focus) solid var(--focus-ring); outline-offset: 2px; }
.gd-choice input:disabled + .gd-choice__box { border-color: var(--neutral-300); background: var(--surface-sunken); }
.gd-choice input:disabled ~ .gd-choice__text { color: var(--text-disabled); }
.gd-choice__text small { display: block; font-size: 15px; color: var(--text-muted); margin-top: 2px; }
.gd-field--error .gd-choice__box { border-color: var(--error-border); }
.gd-tiles { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.gd-tile { position: relative; display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4); min-height: 64px; border: var(--border-control) solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-card); cursor: pointer; font-weight: 700; }
.gd-tile:hover { border-color: var(--border-strong); }
.gd-tile:has(input:checked) { border-color: var(--action-primary); background: var(--bg-lavender); box-shadow: inset 0 0 0 1px var(--action-primary); }
.gd-tile input { position: absolute; opacity: 0; }
.gd-tile:has(input:focus-visible) { outline: var(--border-focus) solid var(--focus-ring); outline-offset: 2px; }

/* Alerts & error summary */
.gd-alert { display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); border: var(--border-hairline) solid; font-size: 17px; line-height: 1.5; color: var(--text-body); }
.gd-alert .gd-icon { margin-top: 1px; stroke-width: 2; }
.gd-alert strong { display: block; margin-bottom: 2px; }
.gd-alert p { margin: 0; }
.gd-alert--info { background: var(--info-bg); border-color: var(--info-border); }
.gd-alert--info .gd-icon, .gd-alert--info strong { color: var(--info-fg); }
.gd-alert--success { background: var(--success-bg); border-color: var(--success-border); }
.gd-alert--success .gd-icon, .gd-alert--success strong { color: var(--success-fg); }
.gd-alert--warning { background: var(--warning-bg); border-color: var(--warning-border); }
.gd-alert--warning .gd-icon, .gd-alert--warning strong { color: var(--warning-fg); }
.gd-alert--error { background: var(--error-bg); border-color: var(--error-border); }
.gd-alert--error .gd-icon, .gd-alert--error strong { color: var(--error-fg); }
.gd-error-summary ul { margin: var(--space-2) 0 0; padding-left: var(--space-5); }
.gd-error-summary a { color: var(--error-fg); font-weight: 700; }

/* ---------- Cards ---------- */
.gd-card { display: flex; flex-direction: column; background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; color: var(--text-body); transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease; position: relative; }
.gd-card__media { aspect-ratio: 3 / 2; background: var(--purple-100); overflow: hidden; }
.gd-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gd-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); flex: 1; }
@media (min-width: 1024px) { .gd-card__body { padding: var(--space-8); } }
.gd-card__title { font-family: var(--font-display); font-size: 24px; line-height: 1.28; font-weight: 560; color: var(--text-heading); margin: 0; }
.gd-card__title a { color: inherit; text-decoration: none; }
.gd-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gd-card__title a:focus-visible { outline: none; }
.gd-card:has(.gd-card__title a:focus-visible) { outline: var(--border-focus) solid var(--focus-ring); outline-offset: 3px; }
.gd-card__text { font-size: 16px; line-height: 1.55; color: var(--text-muted); margin: 0; }
.gd-card__meta { display: flex; flex-wrap: wrap; gap: var(--space-3); font-size: 14px; color: var(--text-muted); }
.gd-card__more { margin-top: auto; padding-top: var(--space-2); display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; color: var(--text-link); }
.gd-card__more .gd-icon { width: 20px; height: 20px; transition: transform 200ms ease; stroke-width: 2; }
.gd-card--interactive:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-default); }
.gd-card--interactive:hover .gd-card__more .gd-icon { transform: translateX(4px); }
.gd-card--flat { box-shadow: none; }
.gd-card--gold { background: var(--surface-gold); border-color: transparent; color: var(--text-on-gold); }
.gd-card--gold .gd-card__title, .gd-card--gold .gd-card__text { color: var(--text-on-gold); }
.gd-card--brand { background: var(--bg-brand); border-color: transparent; color: var(--text-on-brand); }
.gd-card--brand .gd-card__title { color: var(--text-on-brand); }
.gd-card--brand .gd-card__text { color: var(--text-on-brand-muted); }

/* Image placeholder used in previews and wireframes */
.gd-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; background: var(--purple-200); color: var(--purple-900); font-size: 14px; font-weight: 700; text-align: center; padding: var(--space-4); }

/* Service block */
.gd-service { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8) var(--space-6); background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-lg); transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease; }
.gd-service:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--purple-200); }
.gd-service__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 24px; background: var(--surface-gold-soft); color: var(--gold-700); margin-bottom: var(--space-2); }
.gd-service__icon .gd-icon { width: 36px; height: 36px; stroke-width: 1.6; }
[data-theme="dark"] .gd-service__icon, [data-theme="dark"] .gd-mega__icon { color: var(--gold-300); }
.gd-service h3 { font-size: 24px; line-height: 1.28; margin: 0; }
.gd-service h3 a { color: inherit; text-decoration: none; }
.gd-service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.gd-service:has(h3 a:focus-visible) { outline: var(--border-focus) solid var(--focus-ring); outline-offset: 3px; }
.gd-service h3 a:focus-visible { outline: none; }
.gd-service p { font-size: 16px; line-height: 1.55; color: var(--text-muted); margin: 0; }
.gd-service__ndis { font-size: 14px; color: var(--text-muted); }
.gd-service--feature { background: var(--bg-brand); border-color: transparent; }
.gd-service--feature h3 { color: var(--text-on-brand); }
.gd-service--feature p { color: var(--text-on-brand-muted); }
.gd-service--feature .gd-service__icon { background: rgba(243, 226, 185, 0.14); color: var(--gold-200); }
.gd-service--feature .gd-card__more { color: var(--text-on-brand-accent); }

/* Team profile */
.gd-team { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.gd-team__photo { width: 168px; height: 168px; border-radius: var(--radius-circle); overflow: hidden; border: 6px solid var(--surface-gold); box-shadow: var(--shadow-sm); margin-bottom: var(--space-3); }
.gd-team__name { font-family: var(--font-display); font-size: 24px; font-weight: 560; color: var(--text-heading); margin: 0; }
.gd-team__role { font-size: 16px; font-weight: 700; color: var(--text-accent); margin: 0; }
.gd-team__bio { font-size: 16px; color: var(--text-muted); margin: var(--space-1) 0 0; }
.gd-team__langs { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-top: var(--space-2); }

/* Testimonial */
.gd-testimonial { position: relative; display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-10) var(--space-8) var(--space-8); background: var(--surface-gold); border-radius: var(--radius-xl); color: var(--text-on-gold); }
.gd-testimonial__mark { position: absolute; top: -18px; left: var(--space-8); width: 56px; height: 56px; border-radius: var(--radius-circle); background: var(--purple-600); color: #ffffff; display: grid; place-items: center; font-family: var(--font-display); font-size: 48px; line-height: 1; padding-top: 18px; }
.gd-testimonial blockquote { margin: 0; }
.gd-testimonial blockquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(21px, 0.8vw + 18px, 26px); line-height: 1.42; font-weight: 400; color: var(--text-on-gold); max-width: none; margin: 0; }
.gd-testimonial figcaption { display: flex; align-items: center; gap: var(--space-3); font-size: 16px; }
.gd-testimonial figcaption strong { display: block; font-size: 17px; }
.gd-testimonial__avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; }
.gd-testimonial--light { background: var(--surface-card); color: var(--text-body); border: var(--border-hairline) solid var(--border-subtle); }
.gd-testimonial--light blockquote p { color: var(--text-heading); }

/* Statistics */
.gd-stats { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .gd-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gd-stat { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); }
.gd-stat__value { font-family: var(--font-display); font-size: clamp(52px, 2.6vw + 40px, 80px); line-height: 0.95; letter-spacing: -0.03em; font-weight: 480; color: var(--text-link); }
.gd-stat__label { font-size: 16px; line-height: 1.45; color: var(--text-body); font-weight: 700; }
.gd-on-brand .gd-stat { background: rgba(255, 255, 255, 0.06); border-color: rgba(243, 226, 185, 0.22); }
.gd-on-brand .gd-stat__value { color: var(--text-on-brand-accent); }
.gd-on-brand .gd-stat__label { color: var(--text-on-brand); }

/* FAQ accordion */
.gd-faq { display: grid; gap: var(--space-3); }
.gd-faq details { background: var(--surface-card); border: var(--border-hairline) solid var(--border-default); border-radius: var(--radius-md); transition: border-color 160ms ease; }
.gd-faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.gd-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 64px; padding: var(--space-4) var(--space-5); cursor: pointer; font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--text-heading); border-radius: var(--radius-md); }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary:hover { background: var(--bg-lavender); }
.gd-faq__chev { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--purple-100); color: var(--purple-700); transition: transform 200ms ease; }
[data-theme="dark"] .gd-faq__chev { background: #2b1b39; color: var(--purple-200); }
.gd-faq details[open] .gd-faq__chev { transform: rotate(180deg); }
.gd-faq__answer { padding: 0 var(--space-5) var(--space-5); font-size: 17px; }
.gd-faq__answer p:last-child { margin-bottom: 0; }

/* Blog & news */
.gd-blog-card .gd-card__media { aspect-ratio: 16 / 10; }
.gd-news { display: grid; grid-template-columns: 112px 1fr; gap: var(--space-5); align-items: start; padding: var(--space-5) 0; border-bottom: var(--border-hairline) solid var(--border-default); position: relative; }
.gd-news__date { display: grid; place-items: center; text-align: center; aspect-ratio: 1; border-radius: var(--radius-md); background: var(--surface-gold-soft); color: var(--gold-800); font-weight: 700; line-height: 1.1; }
[data-theme="dark"] .gd-news__date { color: var(--gold-200); }
.gd-news__date b { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 600; }
.gd-news h3 { font-family: var(--font-sans); font-size: 20px; line-height: 1.35; margin: var(--space-1) 0 var(--space-2); }
.gd-news h3 a { color: var(--text-heading); text-decoration: none; }
.gd-news h3 a::after { content: ""; position: absolute; inset: 0; }
.gd-news:hover h3 a { text-decoration: underline; }
.gd-news p { font-size: 16px; color: var(--text-muted); margin: 0; }

/* ---------- Conversion ---------- */
.gd-form-panel { background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: var(--space-6); }
@media (min-width: 768px) { .gd-form-panel { padding: var(--space-10); } }
.gd-form-panel__head { margin-bottom: var(--space-6); }
.gd-form-grid { display: grid; gap: var(--space-6); }
@media (min-width: 768px) { .gd-form-grid--2 { grid-template-columns: 1fr 1fr; } .gd-form-grid .gd-span-2 { grid-column: 1 / -1; } }
.gd-form-grid .gd-field + .gd-field { margin-top: 0; }
.gd-form-foot { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; margin-top: var(--space-8); padding-top: var(--space-6); border-top: var(--border-hairline) solid var(--border-subtle); }
.gd-privacy { display: flex; gap: var(--space-2); font-size: 15px; color: var(--text-muted); max-width: 46ch; margin: 0; }
.gd-steps { display: flex; gap: var(--space-2); list-style: none; margin: 0 0 var(--space-6); padding: 0; counter-reset: s; }
.gd-steps li { flex: 1; display: grid; gap: var(--space-2); font-size: 14px; font-weight: 700; color: var(--text-muted); }
.gd-steps li::before { content: ""; height: 6px; border-radius: 6px; background: var(--border-default); }
.gd-steps li[aria-current="step"], .gd-steps li.is-done { color: var(--text-heading); }
.gd-steps li[aria-current="step"]::before, .gd-steps li.is-done::before { background: var(--action-primary); }

.gd-cta { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--bg-brand); color: var(--text-on-brand); padding: var(--space-10) var(--space-6); display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 768px) { .gd-cta { padding: var(--space-16) var(--space-12); grid-template-columns: 1.4fr 1fr; } }
.gd-cta h2 { color: var(--text-on-brand); margin: 0 0 var(--space-3); }
.gd-cta p { color: var(--text-on-brand-muted); margin: 0; }
.gd-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: flex-start; position: relative; z-index: 1; }
@media (min-width: 768px) { .gd-cta__actions { justify-content: flex-end; } }
.gd-cta__orbit { position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(243, 226, 185, 0.08); pointer-events: none; }
.gd-cta--gold { background: var(--surface-gold); color: var(--text-on-gold); }
.gd-cta--gold h2, .gd-cta--gold p { color: var(--text-on-gold); }
.gd-cta--gold .gd-cta__orbit { border-color: rgba(106, 49, 144, 0.08); }

.gd-call { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--bg-brand); color: var(--text-on-brand); }
.gd-call__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--action-accent); color: var(--action-accent-fg); box-shadow: var(--shadow-gold-ring); }
.gd-call__icon .gd-icon { width: 30px; height: 30px; stroke-width: 1.9; }
.gd-call__text { flex: 1 1 220px; }
.gd-call__text p { margin: 0; color: var(--text-on-brand-muted); font-size: 16px; }
.gd-call__number { display: block; font-family: var(--font-display); font-size: clamp(28px, 1vw + 24px, 36px); font-weight: 600; letter-spacing: 0.01em; color: var(--text-on-brand); text-decoration: none; line-height: 1.15; }
.gd-call__number:hover { color: var(--text-on-brand-accent); text-decoration: underline; }
.gd-call__hours { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 15px; color: var(--text-on-brand-accent); font-weight: 700; }
.gd-call__dot { width: 10px; height: 10px; border-radius: 50%; background: #7fd4a6; box-shadow: 0 0 0 4px rgba(127, 212, 166, 0.25); }
.gd-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom)); background: var(--surface-raised); box-shadow: 0 -4px 16px rgba(45, 19, 66, 0.12); }
@media (min-width: 1024px) { .gd-callbar { display: none; } }

.gd-booking { background: var(--surface-card); border-radius: var(--radius-xl); border: var(--border-hairline) solid var(--border-subtle); box-shadow: var(--shadow-lg); padding: var(--space-6); }
.gd-booking__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-2); }
.gd-slot { display: grid; place-items: center; gap: 2px; min-height: 64px; padding: var(--space-2); border-radius: var(--radius-md); border: var(--border-control) solid var(--border-default); background: var(--surface-card); color: var(--text-body); font-family: inherit; font-size: 15px; line-height: 1.2; cursor: pointer; }
.gd-slot b { font-size: 20px; color: var(--text-heading); }
.gd-slot:hover { border-color: var(--border-strong); }
.gd-slot[aria-pressed="true"], .gd-slot[aria-checked="true"] { background: var(--action-primary); border-color: var(--action-primary); color: var(--action-primary-fg); }
.gd-slot[aria-pressed="true"] b, .gd-slot[aria-checked="true"] b { color: var(--action-primary-fg); }
.gd-slot:disabled { color: var(--text-disabled); background: var(--surface-sunken); border-style: dashed; cursor: not-allowed; text-decoration: line-through; }
.gd-booking__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: var(--space-2); }
.gd-booking__times .gd-slot { min-height: var(--size-touch-min); font-size: 17px; font-weight: 700; }

/* ---------- Golden Hour: signature motifs ---------- */
/* Twilight band with a flat setting sun. No gradients anywhere in this system. */
.gd-twilight { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-twilight); color: var(--text-on-brand); }
.gd-twilight h1, .gd-twilight h2, .gd-twilight h3, .gd-twilight h4 { color: var(--text-on-brand); }
.gd-twilight p { color: var(--text-on-brand-muted); }
/* The Sun: a solid pale-gold disc, partly below the horizon or off the edge. */
.gd-sun { position: absolute; z-index: -1; border-radius: 50%; background: var(--gold-200); pointer-events: none; }
.gd-sun--deep { background: var(--gold-400); }
.gd-sun--ring { background: transparent; border: 2px solid var(--orbit-line); }
/* Horizon: a solid band the sun sets into. */
.gd-horizon { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; background: var(--bg-brand); pointer-events: none; }
/* The Orbit: hairline rings and broken arcs drawn from the logo. */
.gd-orbit { position: absolute; pointer-events: none; z-index: -1; }
.gd-orbit circle, .gd-orbit path { fill: none; stroke: var(--orbit-line); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.gd-orbit .gd-orbit__arc { stroke-width: 10; stroke-linecap: butt; stroke: var(--orbit-line); }
.gd-orbit .gd-orbit__dot { fill: var(--gold-200); stroke: none; }
.gd-orbit--light circle, .gd-orbit--light path { stroke: var(--orbit-line-light); }
.gd-orbit--light .gd-orbit__dot { fill: var(--gold-400); }
/* The Six: six dots as rhythm marker, divider and step indicator. */
.gd-six { display: inline-grid; grid-template-columns: repeat(3, 8px); gap: 6px; }
.gd-six span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); }
.gd-six span:nth-child(2n) { background: var(--purple-400); }
.gd-on-brand .gd-six span, .gd-twilight .gd-six span { background: var(--gold-200); }
.gd-on-brand .gd-six span:nth-child(2n), .gd-twilight .gd-six span:nth-child(2n) { background: var(--purple-300); }
/* The Arch: welcome / doorway frame for photography, with a gold halo ring. */
.gd-arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-xl) var(--radius-xl); overflow: hidden; background: var(--purple-200); }
.gd-arch img { width: 100%; height: 100%; object-fit: cover; }
.gd-arch-wrap { position: relative; }
.gd-arch-wrap::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 999px 999px var(--radius-xl) var(--radius-xl); border: 1.5px solid var(--orbit-line); pointer-events: none; }
.gd-halo { position: absolute; border-radius: 50%; border: 18px solid var(--gold-200); pointer-events: none; }
/* Trust chip: solid floating pill over photography. */
.gd-glass { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3); border-radius: var(--radius-pill); background: var(--neutral-0); color: var(--purple-900); box-shadow: var(--shadow-lg); font-size: 16px; line-height: 1.3; }
.gd-glass strong { display: block; font-size: 17px; }
.gd-glass span { color: var(--neutral-700); font-size: 14px; }
.gd-glass__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple-600); color: #ffffff; flex: none; }
[data-theme="dark"] .gd-glass { background: #2b1b39; color: #f7eedc; }
[data-theme="dark"] .gd-glass span { color: #d3c5df; }
/* Editorial helpers. */
.gd-kicker-num { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--text-accent); }
.gd-rule-six { display: flex; align-items: center; gap: var(--space-4); color: var(--text-accent); }
.gd-rule-six::before, .gd-rule-six::after { content: ""; flex: 1; height: 1px; background: var(--border-default); }
/* Bento grid for services. */
.gd-bento { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .gd-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); } .gd-bento > * { grid-column: span 3; } .gd-bento .gd-bento--wide { grid-column: span 6; } }
@media (min-width: 1024px) { .gd-bento > * { grid-column: span 2; } .gd-bento .gd-bento--hero { grid-column: span 3; grid-row: span 2; } .gd-bento .gd-bento--half { grid-column: span 3; } .gd-bento .gd-bento--wide { grid-column: span 6; } }
.gd-bento-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-2); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); min-height: 220px; transition: transform 240ms ease, box-shadow 240ms ease; }
.gd-bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gd-bento-tile h3 { font-size: clamp(24px, 0.8vw + 20px, 30px); line-height: 1.15; margin: 0; }
.gd-bento-tile h3 a { color: inherit; text-decoration: none; }
.gd-bento-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.gd-bento-tile:has(h3 a:focus-visible) { outline: var(--border-focus) solid var(--focus-ring); outline-offset: 3px; }
.gd-bento-tile h3 a:focus-visible { outline: none; }
.gd-bento-tile p { font-size: 16px; line-height: 1.5; margin: 0; color: var(--text-muted); max-width: 40ch; padding-right: 60px; }
.gd-bento-tile h3 { padding-right: 60px; }
.gd-bento--wide.gd-bento-tile--photo { min-height: 260px; }
.gd-bento-tile__icon { position: absolute; top: var(--space-6); right: var(--space-6); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-gold-soft); color: var(--gold-700); }
[data-theme="dark"] .gd-bento-tile__icon { color: var(--gold-300); }
.gd-bento-tile__arrow { position: absolute; right: var(--space-6); bottom: var(--space-6); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--text-link); transition: transform 240ms ease, background-color 240ms ease; }
.gd-bento-tile:hover .gd-bento-tile__arrow { transform: rotate(-45deg); background: var(--action-primary); border-color: var(--action-primary); color: var(--action-primary-fg); }
.gd-bento-tile--photo { border: 0; background: var(--purple-200); padding: var(--space-3); }
.gd-bento-tile--photo .gd-bento-tile__media { position: absolute; inset: 0; z-index: -1; }
.gd-bento-tile__label { position: relative; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--bg-twilight); max-width: 520px; }
.gd-bento-tile__label h3 { color: var(--text-on-brand); } .gd-bento-tile__label p { color: var(--text-on-brand-muted); }
.gd-bento-tile__label .gd-bento-tile__arrow { right: var(--space-5); bottom: var(--space-5); color: var(--gold-200); }
.gd-bento-tile--gold { background: var(--surface-gold); border: 0; } .gd-bento-tile--gold h3, .gd-bento-tile--gold p { color: var(--text-on-gold); }
.gd-bento-tile--brand { background: var(--bg-brand); border: 0; } .gd-bento-tile--brand h3 { color: var(--text-on-brand); } .gd-bento-tile--brand p { color: var(--text-on-brand-muted); }
.gd-bento-tile--brand .gd-bento-tile__icon { background: rgba(243, 226, 185, 0.14); color: var(--gold-200); }
.gd-bento-tile--brand .gd-bento-tile__arrow { color: var(--gold-200); }
/* Audience pathways (ICP router). */
.gd-paths { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .gd-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gd-path { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8) var(--space-6) var(--space-6); border-radius: var(--radius-xl); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(243, 226, 185, 0.22); color: var(--text-on-brand); transition: background-color 240ms ease, border-color 240ms ease, transform 240ms ease; }
.gd-path:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold-200); transform: translateY(-4px); }
.gd-path__who { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-brand-accent); }
.gd-path h3 { font-size: 28px; line-height: 1.15; margin: 0; color: var(--text-on-brand); }
.gd-path h3 a { color: inherit; text-decoration: none; } .gd-path h3 a::after { content: ""; position: absolute; inset: 0; }
.gd-path:has(h3 a:focus-visible) { outline: var(--border-focus) solid var(--focus-ring-inverse); outline-offset: 3px; } .gd-path h3 a:focus-visible { outline: none; }
.gd-path p { font-size: 16px; margin: 0; color: var(--text-on-brand-muted); }
.gd-path ul { list-style: none; padding: 0; margin: var(--space-2) 0 0; display: grid; gap: var(--space-2); font-size: 15px; color: var(--text-on-brand-muted); }
.gd-path li { display: flex; gap: var(--space-2); align-items: center; }
.gd-path li .gd-icon { width: 18px; height: 18px; color: var(--gold-300); stroke-width: 2.25; }
.gd-path__go { margin-top: auto; padding-top: var(--space-4); display: inline-flex; gap: var(--space-2); align-items: center; font-weight: 700; color: var(--text-on-brand-accent); }

/* ---------- Golden Hour: motion library ---------- */
/* Every animation below is decorative or enhances an existing state, and turns off under prefers-reduced-motion. */
@keyframes gd-orbit-spin { to { transform: rotate(360deg); } }
@keyframes gd-orbit-spin-rev { to { transform: rotate(-360deg); } }
@keyframes gd-rise { from { opacity: 0; transform: translateY(0.6em) rotate(1.5deg); } to { opacity: 1; transform: none; } }
@keyframes gd-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes gd-arch-open { from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes gd-ken-burns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes gd-draw { from { stroke-dashoffset: var(--len, 600); } to { stroke-dashoffset: 0; } }
@keyframes gd-ribbon { to { transform: translateX(-50%); } }
@keyframes gd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes gd-six-orbit { 0% { transform: rotate(0deg) translateX(18px) rotate(0deg); } 100% { transform: rotate(360deg) translateX(18px) rotate(-360deg); } }
@keyframes gd-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(243, 226, 185, 0.55); } 100% { box-shadow: 0 0 0 22px rgba(243, 226, 185, 0); } }

/* Orbit rings drift (90s per revolution); arcs counter-rotate. */
.gd-orbit--drift .gd-orbit__ring { transform-origin: center; transform-box: view-box; animation: gd-orbit-spin var(--duration-orbit) var(--ease-linear) infinite; }
.gd-orbit--drift .gd-orbit__ring--rev { animation-name: gd-orbit-spin-rev; animation-duration: calc(var(--duration-orbit) * 1.6); }
/* The sun rises into place once, then rests; a slow halo pulse is optional. */
@keyframes gd-sun-rise { from { transform: translateY(18%); } to { transform: none; } }
.gd-sun--rise { animation: gd-sun-rise 1800ms var(--ease-out-expo) both; }
/* Headline: words rise in sequence. Wrap each word in <span class="gd-word" style="--i:n">. */
.gd-reveal-words .gd-word { display: inline-block; opacity: 0; animation: gd-rise var(--duration-reveal) var(--ease-out-expo) forwards; animation-delay: calc(120ms + var(--i, 0) * 70ms); }
/* Hand-drawn gold underline under the highlighted phrase. */
.gd-underline-draw { position: relative; white-space: nowrap; }
.gd-underline-draw svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.3em; overflow: visible; }
.gd-underline-draw path { fill: none; stroke: var(--gold-300); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: gd-draw 1200ms var(--ease-out-expo) 900ms forwards; vector-effect: non-scaling-stroke; }
/* Arch photo unveils like a door opening, with a slow settle. */
.gd-arch--reveal { animation: gd-arch-open 1200ms var(--ease-out-expo) 300ms both; }
.gd-arch--reveal > * { animation: gd-ken-burns 2400ms var(--ease-out-expo) 300ms both; }
/* Generic staged entrance. */
.gd-enter { animation: gd-fade-up var(--duration-reveal) var(--ease-out-expo) both; animation-delay: calc(var(--i, 0) * 90ms); }
.gd-float { animation: gd-float 6s var(--ease-in-out-sine) infinite; }
/* Scroll-driven reveals (progressive enhancement; static where unsupported). */
@supports (animation-timeline: view()) {
  .gd-scroll-reveal { animation: gd-fade-up linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  .gd-scroll-arch { animation: gd-arch-open linear both; animation-timeline: view(); animation-range: entry 5% cover 40%; }
}
/* Accent button hover: arrow nudges forward. */
.gd-btn .gd-icon { transition: transform var(--duration-base) var(--ease-soft); }
.gd-btn:hover .gd-icon:last-child { transform: translateX(3px); }
/* Phone disc pulse (stops after 3 cycles). */
.gd-pulse { animation: gd-pulse-ring 2.4s var(--ease-out-expo) 3; }

/* Values ribbon (marquee) with a required pause control. */
.gd-ribbon { position: relative; overflow: hidden; background: var(--surface-gold); color: var(--text-on-gold); padding-block: var(--space-5); }
.gd-ribbon__track { display: flex; width: max-content; animation: gd-ribbon var(--duration-ribbon) var(--ease-linear) infinite; }
.gd-ribbon[data-paused="true"] .gd-ribbon__track { animation-play-state: paused; }
.gd-ribbon__group { display: flex; align-items: center; gap: var(--space-8); padding-right: var(--space-8); }
.gd-ribbon__item { display: inline-flex; align-items: center; gap: var(--space-8); font-family: var(--font-display); font-size: clamp(28px, 1.6vw + 20px, 44px); font-style: italic; font-weight: 420; white-space: nowrap; }
.gd-ribbon__item::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--purple-600); }
.gd-ribbon__toggle { position: absolute; right: var(--space-4); top: 50%; transform: translateY(-50%); z-index: 1; background: var(--surface-card); box-shadow: var(--shadow-md); }
.gd-ribbon:hover .gd-ribbon__track, .gd-ribbon:focus-within .gd-ribbon__track { animation-play-state: paused; }

/* Six-dot loader: the logo's dots orbit, then settle. */
.gd-loader { position: relative; width: 64px; height: 64px; display: inline-block; }
.gd-loader span { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold-500); animation: gd-six-orbit 1600ms var(--ease-in-out-sine) infinite; animation-delay: calc(var(--i) * -266ms); }
.gd-loader span:nth-child(2n) { background: var(--purple-500); }
.gd-on-brand .gd-loader span, .gd-twilight .gd-loader span { background: var(--gold-200); }

/* Page transitions (View Transitions API, same-document or cross-document). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 240ms var(--ease-exit) both gd-fade-out; }
::view-transition-new(root) { animation: 420ms var(--ease-out-expo) both gd-fade-up; }
@keyframes gd-fade-out { to { opacity: 0; } }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .gd-reveal-words .gd-word, .gd-enter, .gd-scroll-reveal, .gd-arch--reveal, .gd-arch--reveal > *, .gd-scroll-arch { opacity: 1 !important; clip-path: none !important; transform: none !important; filter: none !important; animation: none !important; }
  .gd-underline-draw path { stroke-dashoffset: 0 !important; animation: none !important; }
  .gd-ribbon__track { animation: none !important; flex-wrap: wrap; width: auto; }
  .gd-ribbon__group[aria-hidden="true"], .gd-ribbon__toggle { display: none; }
  .gd-sun--rise { animation: none !important; transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .gd-card--interactive:hover, .gd-service:hover, .gd-btn:active, .gd-bento-tile:hover, .gd-path:hover, .gd-bento-tile:hover .gd-bento-tile__arrow { transform: none; }
}
[data-theme="high-contrast"] .gd-sun, [data-theme="high-contrast"] .gd-orbit, [data-theme="high-contrast"] .gd-horizon { display: none; }
@media (forced-colors: active) {
  .gd-btn, .gd-input, .gd-select, .gd-textarea, .gd-choice__box, .gd-card, .gd-service, .gd-slot { border: 2px solid CanvasText; }
  .gd-choice input:checked + .gd-choice__box { background: Highlight; }
}
