@font-face {
  font-family: Editorial;
  src: url('/assets/fonts/DMSerifDisplay-Italic.woff2') format('woff2');
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: Workout;
  src: url('/assets/fonts/ArchivoBlack-Regular.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
:root {
  --ink: #0b1015;
  --paper: #edece5;
  --peach: #ffbc91;
  --muted: #aeb6be;
  --edge: clamp(24px, 4.2vw, 80px);
  color-scheme: dark;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--peach); outline-offset: 8px; }
::selection { background: var(--peach); color: var(--ink); }
.skip-link { position: absolute; z-index: 5; top: -100px; left: 24px; padding: 16px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 12px; }
.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px var(--edge);
}
.wordmark { font-size: 34px; font-weight: 750; letter-spacing: -.075em; line-height: 1; }
.wordmark span { color: var(--peach); }
.about-link { font-size: 13px; line-height: 1.5; }
.about-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 740px;
  height: 100svh;
  max-height: 1080px;
  overflow: hidden;
}
.hero-visual { position: absolute; inset: 0; z-index: -1; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 57% 50%; display: block; }
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #060b1280, #060b1228 48%, transparent 72%), linear-gradient(180deg, #0b101548, transparent 24%, transparent 80%, #0b10154d);
}
.hero-content { width: 100%; padding: 90px var(--edge) 60px; }
h1 { font-weight: 400; font-size: clamp(78px, 8.5vw, 150px); letter-spacing: -.073em; line-height: 1.01; }
h1 em { font-family: Editorial, Georgia, serif; font-weight: 400; letter-spacing: -.047em; }
.hero-content p { max-width: 400px; margin-top: 36px; font-size: 17px; line-height: 1.65; color: #e1e3e4; letter-spacing: -.015em; }
.scroll-link { position: absolute; bottom: 30px; left: var(--edge); display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid #ffffff65; font-size: 13px; }
.scroll-link:hover { color: var(--peach); }
.overview { background: var(--ink); color: var(--paper); padding: 80px var(--edge) 0; scroll-margin-top: 0; border-top: 1px solid #ffffff12; }
.site-footer { max-width: 1500px; margin: 74px auto 0; padding: 27px 0 30px; border-top: 1px solid #ffffff26; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 12px; }
.footer-wordmark { font-size: 25px; }
.footer-wordmark span { color: var(--peach); }
.site-footer p { margin-left: auto; }
.copyright { color: var(--muted); margin-left: 30px; }
.error-page { min-height: 100svh; padding: max(80px, 18vh) var(--edge); background: var(--ink); color: var(--paper); }
.error-page h1 { font-size: clamp(60px, 8vw, 110px); margin: 64px 0 24px; }
.error-page p { font-size: 18px; line-height: 1.6; max-width: 420px; }
.error-page .return-link { display: inline-block; padding: 20px 0; margin-top: 24px; text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 1800px) {
  .hero-image { object-position: center 44%; }
}
@media (max-width: 900px) {
  .hero { min-height: 720px; max-height: 1000px; }
  h1 { font-size: clamp(70px, 9vw, 94px); }
  .hero-image { object-position: 64% center; }
  .hero-content p { max-width: 310px; font-size: 16px; }
  .desktop-break { display: none; }
  .overview { padding-top: 56px; }
}
@media (max-width: 600px) {
  .site-header { padding-top: 26px; }
  .wordmark { font-size: 31px; }
  .about-link { display: none; }
  .hero { display: block; height: auto; min-height: 0; max-height: none; padding-top: 410px; }
  .hero-visual { height: 510px; }
  .hero-image { object-position: 76% center; }
  .hero-visual::after { background: linear-gradient(180deg, #0b10153b, transparent 20%, transparent 46%, #0b101599 77%, var(--ink) 100%); }
  .hero-content { position: relative; padding: 0 var(--edge) 77px; }
  h1 { font-size: clamp(49px, 12.5vw, 75px); line-height: 1.03; letter-spacing: -.065em; }
  .hero-content p { font-size: 15px; line-height: 1.65; max-width: 310px; margin-top: 22px; }
  .scroll-link { display: none; }
  .overview { padding-top: 43px; }
  .site-footer { margin-top: 43px; padding-top: 25px; padding-bottom: 27px; gap: 18px 20px; flex-wrap: wrap; }
  .footer-wordmark { width: 100%; font-size: 26px; }
  .site-footer p { margin-left: 0; font-size: 12px; }
  .copyright { margin-left: auto; font-size: 11px; }
}
@media (max-width: 360px) {
  .hero { padding-top: 360px; }
  .hero-visual { height: 460px; }
  h1 { font-size: 46px; }
  .copyright { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}

/* Real app screens and creative examples stay part of the same dark canvas. */
.training-story { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(36px, 6vw, 100px); align-items: center; padding-top: 24px; }
.training-copy h2 { font-size: clamp(54px, 6.2vw, 94px); font-weight: 400; line-height: 1.02; letter-spacing: -.065em; }
.training-copy h2 em { font-family: Editorial, Georgia, serif; font-weight: 400; }
.training-copy p { max-width: 370px; margin-top: 25px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.coach-note { margin-top: 56px; padding-top: 28px; border-top: 1px solid #ffffff26; max-width: 370px; }
.coach-note h3 { margin: 0; font-family: Editorial, Georgia, serif; font-size: 31px; font-style: italic; font-weight: 400; letter-spacing: -.025em; }
.coach-note p { margin-top: 16px; }
.screen-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); align-items: start; }
.screen-preview { display: block; width: min(100%, 316px); margin: 0 auto; min-width: 0; container-type: inline-size; }
.coach-preview { margin-top: 100px; }
.iphone-frame {
  position: relative;
  display: block;
  padding: 2.7cqw;
  border: 1px solid #777d83;
  border-radius: 16cqw;
  background: linear-gradient(135deg, #555a60, #171a1e 24%, #080a0c 72%, #4c5157);
  box-shadow: inset 0 0 0 1px #b6bcc333, 0 20px 40px #0005;
}
.iphone-frame::before, .iphone-frame::after {
  content: '';
  position: absolute;
  width: 3px;
  background: linear-gradient(90deg, #25292e, #757b82, #33383e);
  border-radius: 2px;
}
.iphone-frame::before { left: -3px; top: 20%; height: 9%; }
.iphone-frame::after { right: -3px; top: 27%; height: 12%; }
.iphone-frame img { width: 100%; height: auto; display: block; border-radius: 13.3cqw; background: #121a20; }
.screen-caption { display: flex; justify-content: space-between; align-items: center; padding: 17px 2px 0; color: #cad0d6; font-size: 13px; }
.screen-caption > span { color: var(--muted); font-size: 12px; }
.screen-preview:hover .screen-caption, .example-grid a:hover + figcaption { color: var(--peach); }
.sample-note { max-width: 1500px; margin: 30px auto 0; color: #939da7; font-size: 12px; line-height: 1.65; }
.studio-examples { max-width: 1500px; margin: 80px auto 0; padding-top: 65px; border-top: 1px solid #ffffff26; }
.examples-intro { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 65px; margin-bottom: 70px; }
.examples-intro h2 { font-weight: 400; font-size: clamp(38px, 4.5vw, 68px); line-height: 1.09; letter-spacing: -.05em; }
.examples-intro h2 em { font-family: Editorial, Georgia, serif; font-weight: 400; }
.studio-copy { max-width: 460px; margin-top: 32px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.studio-preview { width: min(100%, 285px); transform: rotate(3deg); }
.story-link { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; margin-top: 24px; border-bottom: 1px solid #ffffff65; font-size: 14px; }
.story-link:hover { color: var(--peach); }
#photo-story { scroll-margin-top: 32px; }
.studio-copy p:first-child { color: var(--paper); font-size: 18px; line-height: 1.55; margin-bottom: 15px; }
.example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.example-grid a { display: block; }
.example-grid img { display: block; width: 100%; height: auto; background: #162027; }
.example-grid figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; line-height: 1.5; color: #cad0d6; }
.step-description { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.65; max-width: 330px; }
.studio-control { margin-top: 40px; max-width: 700px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.finished-artwork { position: relative; container-type: inline-size; }
.post-text { position: absolute; inset: 0; color: #fbfaf6; pointer-events: none; }
.post-sport { position: absolute; left: 6%; top: 3.3%; font-family: Editorial, Georgia, serif; font-style: italic; font-size: 4.6cqw; }
.post-metrics { position: absolute; top: 71%; left: 0; width: 100%; display: flex; align-items: center; flex-direction: column; font-family: Workout, Arial, sans-serif; text-align: center; }
.post-metrics strong { font-size: 8.33cqw; line-height: 1.05; font-weight: 400; transform: scaleX(1.65); }
.post-metrics > span { font-size: 2.32cqw; line-height: 1.5; margin-top: 1cqw; }
.image-dialog { max-width: calc(100vw - 32px); max-height: calc(100svh - 32px); margin: auto; padding: 18px; background: #111920; color: var(--paper); border: 1px solid #ffffff30; border-radius: 14px; }
.image-dialog::backdrop { background: #020508e8; }
.dialog-content { display: flex; flex-direction: column; align-items: center; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; align-self: stretch; gap: 24px; margin-bottom: 16px; }
.dialog-header h2 { font-size: 15px; font-weight: 400; line-height: 1.5; }
.close-preview { flex: none; background: transparent; border: 1px solid #ffffff40; border-radius: 5px; color: var(--paper); padding: 10px 12px; min-height: 44px; font: inherit; font-size: 13px; cursor: pointer; }
.expanded-image { display: block; max-width: 100%; max-height: calc(100svh - 140px); width: auto; height: auto; object-fit: contain; }
.expanded-artwork { position: relative; }
.expanded-artwork:has(.post-text) { container-type: inline-size; width: min(800px, calc((100svh - 160px) * .8)); max-width: 100%; }
body:has(.image-dialog[open]) { overflow: hidden; }
@media (max-width: 900px) {
  .training-story { gap: 30px; grid-template-columns: .9fr 1.3fr; }
  .training-copy h2 { font-size: 57px; }
  .training-copy p { font-size: 14px; }
  .coach-note { margin-top: 35px; padding-top: 22px; }
  .coach-note h3 { font-size: 26px; }
  .coach-preview { margin-top: 70px; }
  .examples-intro { gap: 35px; }
  .studio-copy { font-size: 14px; }
  .example-grid { gap: 18px; }
}
@media (max-width: 700px) {
  .training-story { display: block; padding-top: 0; }
  .training-copy h2 { font-size: 62px; }
  .training-copy > p { max-width: 420px; font-size: 15px; }
  .coach-note { max-width: 420px; margin-top: 32px; padding-top: 26px; }
  .coach-note p { font-size: 15px; }
  .screen-pair { margin-top: 36px; gap: 18px; }
  .coach-preview { margin-top: 65px; }
  .examples-intro { display: block; margin-bottom: 40px; }
  .studio-preview { width: min(78%, 285px); margin: 38px auto 0; transform: rotate(2deg); }
  .examples-intro h2 { font-size: clamp(34px, 6.5vw, 46px); }
}
@media (max-width: 600px) {
  .sample-note { margin-top: 24px; }
  .studio-examples { margin-top: 46px; padding-top: 43px; }
  .screen-caption { font-size: 12px; }
  .screen-caption > span { font-size: 11px; }
  .studio-copy { margin-top: 23px; max-width: 380px; font-size: 15px; }
  .studio-copy p:first-child { font-size: 17px; margin-bottom: 13px; }
  .example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 14px; }
  .example-grid figure:last-child { grid-column: 1 / -1; width: min(100%, 310px); justify-self: center; }
  .example-grid figcaption { font-size: 12px; margin-top: 12px; }
  .step-description { font-size: 12px; }
  .studio-control { margin-top: 30px; font-size: 14px; }
  .dialog-header { gap: 15px; }
}
