:root {
  color-scheme: light;
  --navy: #081f38;
  --ink: #10263c;
  --blue: #1755a8;
  --teal: #13b8b5;
  --orange: #f07830;
  --gray: #e5e7eb;
  --muted: #495d71;
  --white: #f7f9fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.6 Inter, "Segoe UI", sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.header a:focus-visible, .hero a:focus-visible, .contact a:focus-visible { outline-color: #71eee5; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: Montserrat, "Segoe UI", sans-serif; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.045em; }
h3 { font-size: 1.25rem; line-height: 1.22; }
.wrap { width: min(100% - 3rem, 71rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 5; padding: .6rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header, .hero, .contact { background: var(--navy); color: var(--white); }
.header { border-bottom: 1px solid #ffffff24; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .95rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; font-weight: 750; line-height: 1.15; }
.brand img { border-radius: .5rem; }
.brand small { display: block; margin-top: .3rem; color: #79d9d8; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }
nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(.9rem, 3vw, 2.25rem); }
nav a, footer a { text-decoration: none; font-size: .92rem; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero { overflow: hidden; background: radial-gradient(ellipse at 80% 45%, #133c5a, var(--navy) 62%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; min-height: 33rem; }
.hero-copy { position: relative; z-index: 1; padding-block: clamp(3.25rem, 8vw, 6rem); align-self: center; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: #86e8e3; font-size: .875rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; }
.eyebrow span, .rule { width: 2rem; height: 3px; flex: 0 0 2rem; background: linear-gradient(90deg, var(--teal), var(--orange)); }
h1 { margin: .75rem 0 1.1rem; font-size: clamp(4rem, 9.25vw, 8.1rem); font-weight: 790; line-height: .9; letter-spacing: -.06em; }
.period { color: var(--orange); }
.hero-text { max-width: 33ch; color: #d9e3ef; font-size: 1.15rem; }
.studio { margin-right: min(-1.5rem, (71rem - 100vw) / 2); background: linear-gradient(90deg, #081f38 1%, transparent 36%), linear-gradient(0deg, #081f38b0, transparent 28%), url("assets/studio.jpg") 58% 43% / cover no-repeat; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.hero .actions { margin-top: 1.65rem; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .4rem; font-weight: 750; text-decoration: none; line-height: 1.3; transition: background-color .15s, border-color .15s; }
.primary { color: var(--navy); background: var(--teal); }
.primary:hover { background: #66e0db; }
.outline { color: var(--white); border-color: #9cb1c5; }
.outline:hover { background: #ffffff20; }
.play { width: 0; height: 0; border-block: .38rem solid transparent; border-left: .6rem solid currentColor; }
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-heading { display: grid; gap: .85rem; margin-bottom: 1.5rem; }
.demos { background: #edf3f7; }
.demo-panel { display: flex; align-items: center; gap: 1.25rem; padding: 1.4rem; background: var(--navy); color: var(--white); border-radius: .7rem; }
.demo-samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.demo-sample { min-width: 0; padding: 1.15rem; background: white; border: 1px solid #d9e2eb; border-radius: .65rem; }
.demo-sample iframe { display: block; width: 100%; border: 0; margin-block: .75rem; }
.demo-copy { flex: 1; }
.demo-copy p { color: #cfdae5; margin-top: .3rem; }
.headphones { flex: 0 0 3.35rem; height: 3.35rem; display: grid; place-items: center; border-radius: .45rem; background: #175078; color: #8eede4; }
.headphones span { width: 1.55rem; height: 1.34rem; position: relative; border: 2px solid currentColor; border-bottom: 0; border-radius: .85rem .85rem 0 0; }
.headphones span::before, .headphones span::after { content: ""; position: absolute; bottom: -.13rem; height: .7rem; width: .32rem; background: currentColor; border-radius: .15rem; }
.headphones span::before { left: -2px; }
.headphones span::after { right: -2px; }
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.book { display: grid; grid-template-columns: minmax(7.25rem, 34%) 1fr; gap: 1.15rem; align-items: center; border: 1px solid #d9e2eb; border-radius: .65rem; padding: 1rem; }
.cover img { width: 100%; height: auto; border-radius: .25rem; }
.book-copy p { margin-block: .55rem; color: var(--muted); }
.book-copy .genre { margin: 0 0 .4rem; color: #21537b; font-size: .85rem; font-weight: 650; }
.retailers { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.retailer { color: var(--blue); font-weight: 700; text-underline-offset: .25em; }
.about { background: #edf3f7; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, 16rem); align-items: center; gap: 1.5rem 3rem; }
.headshot { width: 100%; height: auto; border-radius: .65rem; }
.about-inner p { max-width: 58ch; }
.about-inner .section-heading, .contact-inner .section-heading { margin-bottom: .7rem; }
.contact { background: linear-gradient(120deg, var(--navy), #143b5a); }
.contact p { color: #d9e3ef; }
footer { background: #06182a; color: #d2deea; }
@media (max-width: 900px) {
  .books, .demo-samples { grid-template-columns: 1fr; }
  .book { grid-template-columns: minmax(7rem, 10rem) 1fr; }
  .contact-inner { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .65rem; }
  nav a { padding-block: .25rem; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-block: 3rem 2.4rem; }
  .studio { min-height: 17rem; margin-inline: -1rem; background-position: center, center, center 32%; }
  .demo-panel { flex-wrap: wrap; gap: .85rem; padding: 1.1rem; }
  .demo-copy { min-width: 50%; }
  .about-inner { grid-template-columns: 1fr; }
  .headshot { max-width: 13rem; }
}
@media (max-width: 370px) {
  .book { grid-template-columns: 1fr; }
  .cover { width: 8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
