@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f5ee;
  --ink: #16392f;
  --ink-deep: #143429;
  --text: #42594e;
  --mint: #e4ebe0;
  --line: #d3dbcf;
  --serif: "Instrument Serif", Georgia, serif;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:where(a, button, input):focus-visible { outline: 2px solid #4d6e36; outline-offset: 5px; }
:where(h1, h2, h3) { font: 400 3rem/.97 var(--serif); letter-spacing: -.018em; }
em { font-weight: 400; }
.wrap { width: min(100% - 6rem, 78rem); margin-inline: auto; }

.skip { position: absolute; inset: .75rem auto auto .75rem; z-index: 3; transform: translateY(-200%); padding: .65rem 1rem; background: white; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header {
  min-height: 5.625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: .58rem; font: 2.1rem/.9 var(--serif); text-decoration: none; }
.brand-period { color: #637e55; }
.mark { position: relative; display: inline-grid; width: 1.1rem; aspect-ratio: 1; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.mark::before { content: ""; width: .62rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.mark::after { content: ""; position: absolute; width: .16rem; aspect-ratio: 1; border-radius: 50%; background: currentColor; }
.site-header nav { display: flex; gap: clamp(1.15rem, 3vw, 2.5rem); font-size: .925rem; font-weight: 600; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1fr); align-items: center; gap: 4%; padding-block: 3rem 4.7rem; }
.hero-copy { padding-block: 1.5rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.6rem; font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow span { width: 1.25rem; height: 1px; background: #637e55; }
.hero h1 { font-size: clamp(4.6rem, 7.7vw, 7.5rem); line-height: .86; }
.hero h1 em { color: #3b6654; }
.hero .intro { max-width: 25rem; margin-top: 1.85rem; font-size: 1.125rem; line-height: 1.65; color: var(--text); }
.hero-actions, .session-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.7rem; }
.hero-visual { min-height: 25rem; aspect-ratio: 1.12; border-radius: 1.2rem; background: linear-gradient(174deg, #a6b3a3, #516d5e 65%, #193b31); overflow: hidden; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.15rem; border-radius: 99px; border: 1px solid transparent; text-decoration: none; font-size: .9375rem; font-weight: 650; transition: background-color .18s; }
.button-dark { color: #fbfbf4; background: var(--ink-deep); }
.button-dark:hover { background: #315f4c; }
.button-quiet { background: transparent; border-color: #b7c4b3; }
.button-quiet:hover { background: #e1e9db; }
.link-action { font-size: .9375rem; font-weight: 600; text-underline-offset: .28em; }
.link-action:hover { color: #3b6654; }

.practice { background: var(--mint); padding-block: 4.3rem 5.1rem; scroll-margin-top: 1rem; }
.practice-wrap { max-width: 61rem; }
.section-heading { text-align: center; }
.section-heading h2, .app h2 { font-size: clamp(3.65rem, 7vw, 5.65rem); }
.section-heading p { color: var(--text); line-height: 1.6; margin-top: .85rem; }
.mode-switch { display: flex; justify-content: center; gap: .2rem; border: 1px solid #bdcbba; border-radius: 99px; padding: .24rem; margin: 1.65rem auto 1.6rem; width: fit-content; max-width: 100%; }
.mode-switch button { border: 0; background: transparent; border-radius: inherit; min-height: 2.75rem; padding: .55rem clamp(.55rem, 2vw, .95rem); font-size: .9375rem; font-weight: 600; }
.mode-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.mode-switch button[aria-pressed="false"]:hover { background: #d6e0d3; }
.session { display: grid; grid-template-columns: 1fr 1fr; border-radius: 1rem; overflow: hidden; background: #f6f7f0; box-shadow: 0 12px 35px #193b3111; }
.session-face { display: grid; place-items: center; position: relative; min-height: 21rem; isolation: isolate; color: #f9fbef; background: radial-gradient(ellipse at center, #325947, #173a31 75%); }
.session-face-focus { background: radial-gradient(ellipse at center, #375743, #18332a 75%); }
.session-face-memory { background: radial-gradient(ellipse at center, #345a4c, #173a31 76%); }
.orb { position: absolute; width: min(53%, 14rem); aspect-ratio: 1; border: 1px solid #b6cda7aa; border-radius: 50%; box-shadow: 0 0 0 1.1rem #bad4b119, 0 0 0 2.3rem #bad4b10b; background: radial-gradient(circle at 55% 38%, #a8c89339, #8dac851a); transform: scale(var(--orb-scale, 1)); transition: transform .12s linear; z-index: -1; }
.dial-copy { text-align: center; }
.phase { font-size: .875rem; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.clock { font: 400 clamp(3rem, 7vw, 4.8rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.session-details { align-self: center; padding: clamp(1.6rem, 4vw, 3.1rem); }
.small-label { font-size: .875rem; font-weight: 600; color: var(--text); }
.session-details h3 { margin-top: .5rem; font-size: clamp(2.5rem, 4.35vw, 3.65rem); }
.session-details p:not(.small-label) { color: var(--text); margin-top: .75rem; line-height: 1.6; }
.duration { border: none; margin: 1.1rem 0 0; padding: 0; }
.duration-options { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .45rem; }
.duration label { position: relative; }
.duration input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.duration input:disabled { cursor: default; }
.duration span { display: block; border-radius: 99px; border: 1px solid #b3c3b0; padding: .48rem .63rem; font-size: .875rem; }
.duration input:checked + span { background: var(--mint); border-color: var(--ink); font-weight: 650; }
.duration input:focus-visible + span { outline: 2px solid #4d6e36; outline-offset: 3px; }
.duration input:disabled + span { opacity: .7; }

.memory-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.35rem, 1vw, .65rem); margin-top: .9rem; }
.memory-slots span { display: grid; place-items: center; width: clamp(2.7rem, 6.5vw, 4.6rem); aspect-ratio: 1; border: 1px solid #bbd0ba86; border-radius: .6rem; background: #a7c5a322; font: 400 clamp(1.65rem, 3.8vw, 3rem)/1 var(--serif); }
.memory-keypad { display: grid; grid-template-columns: repeat(3, minmax(2.75rem, 1fr)); gap: .4rem; max-width: 11rem; margin-top: 1rem; }
.memory-keypad button { min-height: 2.75rem; border: 1px solid #b7c4b3; border-radius: .55rem; background: transparent; font-weight: 650; }
.memory-keypad button:hover { background: var(--mint); }

.app { padding-block: 5.25rem 5.5rem; }
.app .eyebrow { margin-bottom: 1.35rem; }
.app-content { display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: 3rem; }
.app em { color: #3b6654; }
.app-content p { max-width: 27rem; color: var(--text); line-height: 1.7; font-size: 1.125rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.footer-inner p { font-size: .875rem; color: var(--text); }

@media (max-width: 66rem) {
  .wrap { width: calc(100% - 4.25rem); }
  .hero { gap: 3%; padding-block: 2.5rem 3.75rem; }
  .hero h1 { font-size: clamp(4.35rem, 8.8vw, 6.1rem); }
}
@media (max-width: 52rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .site-header { min-height: 4.6rem; }
  .hero { grid-template-columns: 1fr; gap: 1.55rem; padding-block: 1.75rem 2.75rem; }
  .hero-copy { padding-block: .75rem 0; }
  .hero h1 { font-size: clamp(3.55rem, 13vw, 5.65rem); line-height: .9; }
  .hero-break { display: none; }
  .hero .intro { margin-top: 1.4rem; font-size: 1.0625rem; }
  .hero-actions, .session-actions { gap: 1rem; }
  .hero-visual { min-height: 0; aspect-ratio: 1.55; border-radius: .95rem; }
  .practice { padding-block: 3.3rem 3.65rem; }
  .session { grid-template-columns: 1fr; }
  .session-face { min-height: 17rem; }
  .orb { width: min(45%, 11.5rem); }
  .session-details { padding: 1.6rem 1.5rem 1.85rem; }
  .app { padding-block: 3.45rem; }
  .app-content { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 25rem) {
  .site-header nav { gap: .9rem; font-size: .875rem; }
  .wordmark { font-size: 1.875rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { transform: none; transition: none; }
  .button { transition: none; }
}
