@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
:root{color-scheme:dark;--ink:#ece7df;--muted:#a49c90;--dim:#77736d;--ground:#0c0d0e;--panel:#141516;--line:#34302c;--gold:#caa66c;--gold-soft:#a98151;font-family:Montserrat,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--ground);color:var(--ink)}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #e6ba76;outline-offset:4px}button:disabled{opacity:.42;cursor:not-allowed}
.topbar{height:91px;max-width:1480px;margin:auto;padding:0 clamp(24px,5vw,76px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #242424}.brand{letter-spacing:.29em;font-size:.9rem;font-weight:600}.brand-dot{color:var(--gold);font-size:1.5rem;line-height:0}.topbar-label,.section-kicker{font-size:.69rem;font-weight:600;letter-spacing:.22em;color:#bda47e}.topbar-label{color:#817b72}
.layout{max-width:1480px;min-height:calc(100vh - 91px);padding:clamp(20px,3.5vw,48px) clamp(20px,5vw,76px) clamp(26px,4vw,64px);margin:auto;display:grid;grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr);gap:clamp(18px,3.5vw,52px)}.experience{min-width:0;border:1px solid #302c28;border-radius:20px;background:linear-gradient(157deg,#1b1b1a 0%,#121314 60%,#171412 100%);box-shadow:0 25px 90px #0005;display:flex;flex-direction:column;padding:clamp(21px,2.5vw,37px)}.experience-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.round-indicator{color:#8e8c86;font-size:.8rem;text-align:right}.breathing-surface{flex:1;min-height:460px;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;isolation:isolate;overflow:hidden}.ambient{position:absolute;border-radius:50%;pointer-events:none;z-index:-1}.ambient-one{width:min(95%,590px);aspect-ratio:1;background:radial-gradient(circle,#87603e12 0%,#52381910 35%,transparent 70%)}.ambient-two{width:min(72%,430px);aspect-ratio:1;border:1px solid #7861410d}.symbol-field{width:min(78%,385px);aspect-ratio:1;display:grid;place-items:center}.symbol{width:100%;height:100%;transform-origin:center;will-change:transform;transform:scale(.84)}.symbol svg{height:100%;width:100%;display:block;overflow:visible}.symbol svg [data-ring]{transition:filter .12s ease}.symbol.cue-in svg [data-ring="0"],.symbol.cue-in svg [data-ring="1"],.symbol.cue-in svg [data-ring="2"]{filter:brightness(1.45)}.symbol.cue-out svg [data-ring="5"],.symbol.cue-out svg [data-ring="6"]{filter:brightness(1.55)}
.phase-readout{text-align:center;min-height:96px;margin-top:-12px}.phase-name{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.65rem,3.2vw,2.5rem);line-height:1.15}.phase-count{font-variant-numeric:tabular-nums;color:var(--gold);font-size:.92rem;letter-spacing:.13em;margin-top:10px;min-height:20px}.playback{border-top:1px solid #37312d;padding-top:23px}.progress-labels{display:flex;justify-content:space-between;gap:16px;color:#bfb9af;font-size:.82rem;margin-bottom:12px}.progress-labels span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.progress-track{height:3px;background:#39332e;border-radius:3px;overflow:hidden}.progress-fill{height:100%;width:0;background:linear-gradient(90deg,#9f7048,#e4bd7b);border-radius:3px}.playback-actions{display:flex;align-items:center;gap:16px;margin-top:24px}.primary-action{border:1px solid #d2ae78;background:#caa46f;color:#211912;min-height:54px;border-radius:8px;padding:0 30px;font-weight:600;letter-spacing:.015em}.primary-action:hover{background:#e1bd85}.quiet-action{color:#b4aca2;border:0;background:transparent;min-height:50px;padding:0 10px}.quiet-action:hover{color:#f3e9dd}
.controls{padding:clamp(8px,1.5vw,24px) 0 4px;min-width:0}.controls-head h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(2.4rem,4.2vw,4.2rem);line-height:1.06;letter-spacing:-.035em;margin:22px 0 14px}.controls-head p{color:var(--muted);font-size:1rem;line-height:1.55;margin:0 0 32px;max-width:370px}.mode-tabs{display:flex;border-bottom:1px solid #3a342d;margin-bottom:16px;gap:26px}.mode-tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:0 2px 15px;color:#98928a;font-size:.9rem}.mode-tab.active{border-color:#d7ac70;color:#ede1d0}.preset-list{display:grid;gap:9px}.preset{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#161717;border:1px solid #38322e;color:var(--ink);border-radius:10px;padding:16px 17px;min-height:78px}.preset:hover{border-color:#866d51;background:#1c1b19}.preset.active{border-color:#c29b63;background:#241e18}.preset strong{display:block;font-weight:550;font-size:.96rem}.preset small{display:block;color:#a69e92;font-size:.78rem;margin-top:5px;line-height:1.35}.preset code{color:#d4b077;font-size:.75rem;letter-spacing:.07em;white-space:nowrap;font-family:inherit}.custom-hint{color:#aaa297;font-size:.87rem;line-height:1.5;margin:2px 0 18px}.timing-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.timing-grid label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:12px 14px;border:1px solid #40382e;border-radius:10px;background:#171717;color:#ece1d5;font-size:.85rem}.timing-grid label span{font-size:.72rem;color:#847a70}.timing-grid input{grid-column:1/-1;width:100%;background:transparent;color:#e4bf85;border:0;font-size:1.5rem;font-family:Georgia,serif;outline:none;padding:3px 0}.timing-grid input:focus-visible{outline:2px solid #e6ba76;outline-offset:2px}.field-error{color:#e5a99c;font-size:.82rem}.duration-group{margin-top:32px;padding-top:23px;border-top:1px solid #36312d}.duration-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:.72rem;letter-spacing:.15em;color:#a8a094}.duration-heading span:last-child{font-variant-numeric:tabular-nums;letter-spacing:0;font-size:.82rem;color:#c6bbaa}.duration-options{display:flex;gap:8px;margin-top:14px}.duration-options button{flex:1;min-height:45px;background:#151515;border:1px solid #433b32;border-radius:8px;color:#bcb5aa;font-size:.9rem}.duration-options button.active{color:#f5e9d8;border-color:#c49a64;background:#282018}.comfort-note{color:#837d74;font-size:.79rem;line-height:1.5;margin:24px 0 0;max-width:420px}
@media(max-width:980px){.layout{grid-template-columns:1fr;max-width:760px}.experience{min-height:580px}.controls{padding:16px 4px 20px}.breathing-surface{min-height:390px}}
@media(max-width:570px){.topbar{height:67px;padding:0 20px}.topbar-label{font-size:.57rem;letter-spacing:.13em}.brand{font-size:.75rem}.layout{padding:14px 13px 36px;gap:20px}.experience{padding:18px;min-height:505px;border-radius:14px}.breathing-surface{min-height:321px}.symbol-field{width:min(85%,285px)}.phase-readout{min-height:80px;margin-top:-12px}.phase-name{font-size:1.75rem}.playback{padding-top:17px}.playback-actions{margin-top:16px}.primary-action{flex:1;min-height:50px;padding:0 12px}.controls{padding:12px 8px 28px}.controls-head h1{margin:12px 0;font-size:2.6rem}.controls-head p{margin-bottom:22px}.preset{min-height:70px;padding:13px}.duration-group{margin-top:27px}.section-kicker{font-size:.62rem}.round-indicator{font-size:.72rem}}
.embed .topbar{display:none}.embed .layout{min-height:100vh;padding:16px;gap:20px}.embed .experience{box-shadow:none}
@media(max-width:570px){.embed .layout{padding:8px}.embed .experience{min-height:480px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.symbol svg [data-ring]{transition:none}}
/* First Overtone brand refinements; precise tokens can follow the design system. */
.breathing-surface{min-height:550px}.symbol-field{width:min(96%,440px)}.symbol{transform:scale(.68)}
.phase-name,.controls-head h1,.timing-grid input{font-family:inherit}.controls-head h1{font-weight:500;letter-spacing:-.045em}.phase-name{font-weight:500;letter-spacing:-.025em}
.primary-action,.duration-options button{border-radius:999px}.preset{border-radius:22px}
@media(max-width:980px){.breathing-surface{min-height:490px}}
@media(max-width:570px){.experience{min-height:585px}.breathing-surface{min-height:400px}.symbol-field{width:min(100%,320px)}.phase-name{font-size:1.55rem}}
.layout{min-height:100vh}.controls-head h1,.phase-name{font-weight:300}.preset strong{font-weight:400}
.controls .duration-group{margin:0 0 26px;padding:0 0 25px;border-top:0;border-bottom:1px solid #36312d}
.experience{background:radial-gradient(circle at 50% 44%,#000000 0%,#000000 23%,#171717 61%,#303030 100%)}
.control-icon,.exit-action svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.control-icon.icon-play{fill:currentColor;stroke:none}.primary-action{display:inline-flex;align-items:center;justify-content:center;gap:10px}.primary-action .icon-pause{display:none}.primary-action[data-state="running"] .icon-play{display:none}.primary-action[data-state="running"] .icon-pause{display:block}.quiet-action{display:inline-flex;align-items:center;justify-content:center}.quiet-action[hidden]{display:none}.quiet-action .control-icon{width:21px;height:21px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.exit-action{border:0;background:transparent;color:#88817a;width:40px;height:40px;padding:10px;cursor:pointer}.exit-action:not([hidden]){display:grid;place-items:center}.exit-action:hover{color:#eee4d8}.exit-action:focus-visible{outline:2px solid #e6ba76;outline-offset:2px}
.embed .layout{min-height:0}
body.practice-active .layout{display:block;max-width:100%;min-height:0;height:min(100svh,780px);padding:0}body.practice-active .experience{width:100%;height:100%;min-height:0;border:0;border-radius:0;box-shadow:none;padding:clamp(18px,3vw,32px);background:radial-gradient(circle at 50% 44%,#000000 0%,#000000 23%,#171717 61%,#303030 100%)}body.practice-active .controls{display:none}body.practice-active .experience-head{position:relative;min-height:38px;justify-content:flex-end}body.practice-active .experience-head .section-kicker,body.practice-active .round-indicator{display:none}body.practice-active .exit-action{position:absolute;right:0;top:0;z-index:2}body.practice-active .breathing-surface{min-height:0}body.practice-active .phase-readout{margin-top:-4px}body.practice-active .playback{border:0;padding:0}body.practice-active .progress-labels{display:none}body.practice-active .progress-track{width:min(70%,320px);margin:auto;opacity:.35}body.practice-active .playback-actions{justify-content:center;gap:28px;margin-top:18px}body.practice-active .primary-action{flex:0 0 46px;width:46px;height:46px;min-height:46px;padding:0;border-radius:50%;border-color:#6c5b47;background:#29221c;color:#d9bd94}body.practice-active .primary-action:hover{background:#3a2c20}body.practice-active .primary-action .control-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.practice-active .quiet-action{width:46px;height:46px;min-height:46px;padding:0;color:#8f8478}body.practice-active .quiet-action:hover{color:#eee4d8}
@media(max-width:570px){body.practice-active .layout{height:min(100svh,720px)}body.practice-active .experience{padding:16px 20px 22px}body.practice-active .symbol-field{width:min(100%,320px)}body.practice-active .phase-name{font-size:1.75rem}body.practice-active .phase-count{font-size:.78rem}body.practice-active .progress-track{width:min(65%,230px)}}

/* The Duda iframe is the tool: keep its ready state compact enough to act on. */
@media(min-width:981px){
  body.embed:not(.practice-active) .layout{max-width:1440px;min-height:0;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);gap:30px;padding:16px 24px 28px;align-items:start}
  body.embed:not(.practice-active) .experience{height:640px;min-height:0;padding:26px 32px}
  body.embed:not(.practice-active) .breathing-surface{min-height:0}
  body.embed:not(.practice-active) .symbol-field{width:min(80%,370px)}
  body.embed:not(.practice-active) .phase-readout{min-height:75px;margin-top:-8px}
  body.embed:not(.practice-active) .phase-name{font-size:clamp(1.65rem,2.4vw,2.25rem)}
  body.embed:not(.practice-active) .playback{padding-top:16px}
  body.embed:not(.practice-active) .playback-actions{margin-top:16px}
  body.embed:not(.practice-active) .controls{padding:10px 0 0}
  body.embed:not(.practice-active) .controls-head h1,
  body.embed:not(.practice-active) .controls-head p{display:none}
  body.embed:not(.practice-active) .controls .duration-group{margin:22px 0 18px;padding-bottom:18px}
  body.embed:not(.practice-active) .preset-list{gap:7px}
  body.embed:not(.practice-active) .preset{min-height:62px;padding:10px 14px;border-radius:16px}
  body.embed:not(.practice-active) .preset small{margin-top:2px}
  body.embed:not(.practice-active) .mode-tabs{margin-bottom:10px}
  body.embed:not(.practice-active) .mode-tab{padding-bottom:11px}
  body.embed:not(.practice-active) .comfort-note{margin-top:13px}
}

/* Clear ready-state action and prominent, aligned exercise rhythms. */
body:not(.practice-active) .playback-actions{justify-content:center;margin:0 0 20px}
body:not(.practice-active) .primary-action{flex:0 1 auto;min-width:210px}
.phase-name:empty{display:none}
.preset-headings{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:12px;padding:0 14px 9px;color:#bdb5aa;font-size:.875rem}
.preset-headings span:last-child{text-align:right}
.preset{display:grid;grid-template-columns:minmax(0,1fr) 132px}
.preset code{font-size:1.125rem;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.025em;color:#e2bd83;text-align:right}
.preset.active code{color:#ffdaa0}
@media(max-width:570px){
  .preset-headings{grid-template-columns:minmax(0,1fr) 116px;padding-inline:13px}
  .preset{grid-template-columns:minmax(0,1fr) 116px;gap:10px}
  .preset code{font-size:1.0625rem;letter-spacing:0}
}
@media(max-width:360px){
  .preset-headings{grid-template-columns:minmax(0,1fr) 105px}
  .preset{grid-template-columns:minmax(0,1fr) 105px}
  .preset code{font-size:1rem}
}

/* Logo hero on the left, six exercise cards on the right. */
body:not(.practice-active) .layout,body.embed:not(.practice-active) .layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);max-width:1440px;padding:16px 24px 28px;gap:30px;min-height:0;align-items:start}
body:not(.practice-active) .controls,body.embed:not(.practice-active) .controls{order:1;width:100%;padding:10px 0 0}
body:not(.practice-active) .controls-head h1,body.embed:not(.practice-active) .controls-head h1{display:block;margin:0 0 24px;font-size:1.5rem;font-weight:300;letter-spacing:.06em;text-transform:uppercase}
body:not(.practice-active) .controls .duration-group,body.embed:not(.practice-active) .controls .duration-group{max-width:430px;margin:0 0 24px;padding:0;border:0}
.duration-heading{font-size:.875rem;letter-spacing:.08em}.duration-options{margin-top:12px}
.rhythm-key{display:flex;flex-direction:column;gap:5px;color:#c4b7a2;font-size:.875rem;margin:0 0 14px}.rhythm-key span{color:#aaa49b}
.preset-list,body.embed:not(.practice-active) .preset-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.preset,body.embed:not(.practice-active) .preset{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:12px;min-height:190px;padding:18px 14px;border-radius:22px;border:1px solid #37332d;background:linear-gradient(160deg,#20201e,#111213 75%);transition:border-color .2s,background .2s,box-shadow .2s}
.preset:hover{border-color:#a78657}.preset.active,body.embed:not(.practice-active) .preset.active{border-color:#d2ac73;background:radial-gradient(ellipse at 50% 110%,#68502d55,transparent 80%),#201c17;box-shadow:inset 0 0 28px #c69d5b0d,0 8px 30px #0003}
.preset::before{content:'';width:20px;height:2px;background:#73624b;margin-bottom:4px}.preset.active::before{background:#e4bd7b;width:36px}
.preset>span{flex:1}.preset strong{font-size:1.125rem;line-height:1.3;font-weight:300;letter-spacing:-.025em}.preset small,body.embed:not(.practice-active) .preset small{font-size:.875rem;line-height:1.5;margin-top:12px;color:#aaa399}
.preset code{font-size:1.0625rem;font-weight:500;letter-spacing:0;text-align:left;color:#e8c691;white-space:nowrap}
.mix-card code{font-weight:300;font-size:1.4rem}.mix-card{border-style:dashed}
/* Persistent tabs keep both exercise modes visible above their panels. */
.mode-tabs,body.embed:not(.practice-active) .mode-tabs{display:grid;grid-template-columns:1fr 1fr;border:0;border-bottom:1px solid #51473b;gap:0;margin:0 0 20px}
.mode-tab,body.embed:not(.practice-active) .mode-tab{display:block;min-height:48px;padding:12px 6px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-size:.875rem;color:#a9a297}
.mode-tab.active,body.embed:not(.practice-active) .mode-tab.active{border-bottom-color:#d7ac70;color:#f2dfc0;background:linear-gradient(0deg,#b38c4920,transparent)}
.mode-tab:hover{color:#f2dfc0}
.round-indicator:empty{display:none}
#customPanel{max-width:640px;margin:20px auto 0}.timing-grid{grid-template-columns:repeat(2,1fr)}
.mix-sequence{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:22px;text-align:center}.mix-sequence[hidden]{display:none}.mix-sequence b{font-size:.875rem;font-weight:400;color:#e2c79f}.mix-sequence small{display:block;font-size:.875rem;color:#a9a094;margin-top:7px}
body:not(.practice-active) .experience,body.embed:not(.practice-active) .experience{order:0;width:100%;height:640px;min-height:0;padding:26px 32px;display:flex;flex-direction:column;align-items:stretch;gap:0}
body:not(.practice-active) .experience-head{display:flex}
body:not(.practice-active) .breathing-surface,body.embed:not(.practice-active) .breathing-surface{min-height:0;height:auto;flex:1}
body:not(.practice-active) .symbol-field,body.embed:not(.practice-active) .symbol-field{width:min(96%,400px)}
body:not(.practice-active) .phase-readout{display:none}
body:not(.practice-active) .playback,body.embed:not(.practice-active) .playback{border-top:1px solid #37312d;padding:20px 0 0;max-width:none;width:100%}
body:not(.practice-active) .progress-labels{justify-content:center;flex-wrap:wrap;font-size:.875rem}body:not(.practice-active) .progress-track{display:none}
.mix-stage{font-size:.875rem;color:#c9b592;min-height:22px;margin-bottom:14px}.mix-stage:empty{display:none}
@media(max-width:980px){
 body:not(.practice-active) .layout,body.embed:not(.practice-active) .layout{grid-template-columns:1fr;max-width:760px}
 body:not(.practice-active) .experience,body.embed:not(.practice-active) .experience{height:540px}
}
@media(max-width:700px){
 body:not(.practice-active) .layout,body.embed:not(.practice-active) .layout{padding:22px 14px;gap:20px}
 .preset-list,body.embed:not(.practice-active) .preset-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .preset,body.embed:not(.practice-active) .preset{min-height:195px;padding:18px 14px;gap:14px;border-radius:18px}.preset strong{font-size:1.2rem}.preset code{font-size:1.05rem}
 .rhythm-key{flex-direction:column;gap:5px}.timing-grid{grid-template-columns:1fr 1fr}
 body:not(.practice-active) .experience,body.embed:not(.practice-active) .experience{display:flex;flex-direction:column;gap:0;padding:18px;height:480px}
 body:not(.practice-active) .breathing-surface,body.embed:not(.practice-active) .breathing-surface{height:auto;min-height:300px;width:100%;flex:1}
 body:not(.practice-active) .symbol-field,body.embed:not(.practice-active) .symbol-field{width:min(100%,320px)}
 .mix-sequence{flex-direction:column;gap:14px;margin-top:18px}.mix-sequence small{margin-top:4px}
}
@media(prefers-reduced-motion:reduce){.preset{transition:none}}

@media(max-width:700px){
 .preset strong{font-size:1rem;line-height:1.3}
 .preset small,body.embed:not(.practice-active) .preset small{font-size:.8125rem;line-height:1.45;margin-top:8px}
 .preset code,.mix-card code{font-size:1rem}
 .preset,body.embed:not(.practice-active) .preset{min-height:174px;padding:16px 13px;gap:12px}
 .rhythm-key,.duration-heading,.duration-heading span:last-child{font-size:.8125rem}
 .duration-options button,.custom-hint,.timing-grid label{font-size:.875rem}
 .primary-action{font-size:.875rem}
 body:not(.practice-active) .progress-labels{font-size:.8125rem}
 body.practice-active .phase-name{font-size:1.5rem}
}
