/* ravoicetalent.com — "Southern documentary" look
   Aged paper, film grain, warm earthy tones, modern sans-serif type (Plus Jakarta Sans + Inter).
   The Record_Simple banner on Home keeps the logo's own blue box. */
:root {
  --paper: #efe5d0;
  --paper-2: #e6d8bb;
  --card: #f7f0e1;
  --ink: #2a1c11;
  --ink-soft: #5a4330;
  --clay: #a3421c;        /* Mississippi red clay */
  --clay-dark: #7e2f12;
  --gold: #c39033;
  --night: #1b130d;
  --night-2: #2a1e14;
  --cream: #f4ead6;
  --line: rgba(42, 28, 17, .18);
  --line-light: rgba(244, 234, 214, .16);
  /* Record_Simple logo colours */
  --rs-box: #0b1118;
  --rs-cyan: #16c7f4;
  --rs-blue: #087bff;
  --max: 1180px;
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --type: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .16 0 0 0 0 .08 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='turbulence' baseFrequency='.012 .09' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  background-image: var(--fibers), radial-gradient(ellipse at 50% 0%, #f5ecd9 0%, var(--paper) 55%, var(--paper-2) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: var(--grain); mix-blend-mode: multiply; opacity: .6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); }
::selection { background: var(--clay); color: var(--cream); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 19, 13, .96); color: var(--cream);
  border-bottom: 3px double var(--gold);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1; color: var(--cream); text-decoration: none; }
.brand:hover { color: var(--cream); }
.brand .name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; }
.brand .name i { color: var(--gold); font-style: normal; }
.brand .sub { font-family: var(--type); font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: #bfae8e; margin-top: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-light); color: var(--cream); padding: 8px 14px; font-family: var(--type); font-size: .85rem; cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.site-nav a { display: block; color: #d8c9ac; text-decoration: none; padding: 8px 14px; font-family: var(--type); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.site-nav a:hover { color: var(--cream); }
.site-nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 8px; text-decoration-thickness: 2px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--night); padding: 8px 16px 20px; border-bottom: 3px double var(--gold); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px 8px; }
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); color: inherit; letter-spacing: -.02em; }
h2 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; margin: 0 0 24px; }
h3 { font-weight: 700; font-size: 1.6rem; line-height: 1.15; margin: 0 0 12px; }
.prose { max-width: 64ch; }
.prose p { margin: 0 0 1.3em; }
.about-grid .prose p:first-child::first-letter { /* the big opening letter on About */
  float: left; font-family: var(--display); font-weight: 800; font-size: 9.5rem; line-height: .78;
  padding: 10px 18px 0 0; color: var(--clay);
}
@media (max-width: 560px) { .about-grid .prose p:first-child::first-letter { font-size: 7rem; padding-right: 12px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--clay); color: var(--cream);
  text-decoration: none; font-family: var(--type); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  padding: 15px 26px; border: 1px solid var(--clay); cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--clay-dark); color: var(--cream); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: rgba(42,28,17,.06); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { background: #b9a98d; border-color: #b9a98d; color: #f1e8d6; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- Sections ---------- */
section.block { padding: 90px 0; position: relative; }
@media (max-width: 700px) { section.block { padding: 60px 0; } }
.page-head { text-align: center; padding: 84px 0 64px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-weight: 800; font-size: clamp(3.2rem, 10vw, 7rem); line-height: .95; margin: 0; }
.page-head::after { content: ""; display: block; width: 120px; height: 12px; margin: 26px auto 0;
  background: linear-gradient(var(--clay), var(--clay)) top/100% 2px no-repeat, linear-gradient(var(--clay), var(--clay)) bottom/100% 1px no-repeat; }

/* ---------- Home: Record_Simple banner (the logo's blue box) ---------- */
.banner-wrap { padding: 40px 0 0; }
.bluebox {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 32px; align-items: center;
  padding: 44px 56px;
  border: 9px solid transparent; border-radius: 44px;
  background: linear-gradient(var(--rs-box), var(--rs-box)) padding-box,
              linear-gradient(90deg, var(--rs-cyan), var(--rs-blue)) border-box;
  box-shadow: 0 0 0 4px #000, 0 26px 60px rgba(27,19,13,.35);
  color: #fff;
  animation: box-in .7s ease-out both;
}
.emblem { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.emblem .pc { position: absolute; overflow: visible; }
.wordmark { font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; text-align: center; width: 100%; container-type: inline-size; }
.wordmark .name { white-space: nowrap; font-size: clamp(2rem, 13.4cqi, 8rem); font-weight: 700; line-height: 1; margin: 0; letter-spacing: -.01em; }
.wordmark .name span { display: inline-block; }
.wordmark .name .simple { color: var(--rs-cyan); }
.wordmark .cee { margin: 18px 0 6px; font-weight: 700; letter-spacing: .08em; font-size: clamp(.95rem, 1.9vw, 1.6rem); }
.wordmark .tagline { margin: 0; color: #c9d6e2; font-size: clamp(.9rem, 1.5vw, 1.25rem); }
@media (max-width: 760px) {
  .bluebox { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 30px 22px 34px; gap: 18px; border-radius: 32px; border-width: 7px; }
  .emblem { max-width: 210px; }
}

/* the pieces play in, like the Record_Simple loading screen */
.pc-paper { animation: paper-in .8s cubic-bezier(.2,.8,.3,1) .5s both; }
.pc-wave .bar { transform-box: fill-box; transform-origin: center; animation: bar-in .5s cubic-bezier(.3,1.6,.5,1) both; }
.pc-wave .bar:nth-child(1)  { animation-delay: 1.55s; } .pc-wave .bar:nth-child(8)  { animation-delay: 1.55s; }
.pc-wave .bar:nth-child(2)  { animation-delay: 1.45s; } .pc-wave .bar:nth-child(9)  { animation-delay: 1.45s; }
.pc-wave .bar:nth-child(3)  { animation-delay: 1.35s; } .pc-wave .bar:nth-child(10) { animation-delay: 1.35s; }
.pc-wave .bar:nth-child(4)  { animation-delay: 1.25s; } .pc-wave .bar:nth-child(11) { animation-delay: 1.25s; }
.pc-wave .bar:nth-child(5)  { animation-delay: 1.65s; } .pc-wave .bar:nth-child(12) { animation-delay: 1.65s; }
.pc-wave .bar:nth-child(6)  { animation-delay: 1.75s; } .pc-wave .bar:nth-child(13) { animation-delay: 1.75s; }
.pc-wave .bar:nth-child(7)  { animation-delay: 1.85s; }
.pc-mic { animation: mic-in .75s cubic-bezier(.3,1.4,.5,1) .9s both; }
.pc-arrow { animation: arrow-in .7s cubic-bezier(.2,.8,.3,1) 2.1s both; }
.wordmark .rec { animation: rise .6s ease-out 2.5s both; }
.wordmark .simple { animation: rise .6s ease-out 2.8s both; }
.wordmark .cee, .wordmark .tagline { animation: fade .8s ease-out 3.2s both; }
@keyframes box-in { from { opacity: 0; transform: scale(.97); } }
@keyframes paper-in { from { opacity: 0; transform: translateX(-60%) rotate(-12deg); } }
@keyframes mic-in { from { opacity: 0; transform: translateY(-80%); } }
@keyframes bar-in { from { transform: scaleY(0); } }
@keyframes arrow-in { from { opacity: 0; transform: translateX(120%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) rotateX(70deg); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bluebox, .bluebox * { animation: none !important; } }

/* ---------- Home: carousel ---------- */
.carousel-wrap { padding: 0; }
.carousel { position: relative; overflow: hidden; border-radius: 18px; background: var(--night); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); touch-action: pan-y; user-select: none; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .6s ease; }
.carousel-slide { flex: 0 0 100%; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: #0e0a07; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(244,234,214,.5);
  background: rgba(27,19,13,.75); color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.carousel-btn:hover { background: var(--clay); }
.carousel-btn.prev { left: 12px; } .carousel-btn.next { right: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 4px; padding: 10px 0; background: var(--night-2); }
.carousel-dots button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.carousel-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #6b5640; }
.carousel-dots button[aria-current="true"]::before { background: var(--gold); }
.carousel-empty { color: #d8c9ac; padding: 60px 20px; text-align: center; font-family: var(--type); }
@media (max-width: 560px) { .carousel { box-shadow: 6px 6px 0 var(--ink); } .carousel-btn { width: 38px; height: 38px; font-size: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

/* ---------- Home: intro + showreel ---------- */
.intro h1 { font-weight: 800; font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.04; margin: 0 0 22px; max-width: 22ch; }
.intro p { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 56ch; margin: 0 0 34px; color: var(--ink-soft); }
.reel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; max-width: 460px; box-shadow: 0 3px 10px rgba(42,28,17,.16); position: relative; }
.reel audio { width: 100%; height: 40px; position: relative; display: block; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: 0 3px 10px rgba(42,28,17,.16); }
.card p { margin: 0; }
.tag { display: inline-block; font-family: var(--type); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--clay); border: 1px solid currentColor; border-radius: 6px; padding: 3px 10px; margin-bottom: 16px; }
.card .art { margin: -12px -12px 22px; border-radius: 10px; overflow: hidden; background: #1b130d; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 16px; }
.card .art img { max-height: 100%; width: auto; }
.card .art.placeholder-art { background: repeating-linear-gradient(45deg, #2a1e14 0 14px, #241a11 14px 28px); color: #d8c9ac; font-family: var(--type); font-size: .85rem; text-align: center; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.photo-frame { position: relative; background: #fbf6ea; padding: 12px 12px 46px; box-shadow: 0 20px 44px rgba(42,28,17,.26); transform: rotate(-2deg); max-width: 320px; margin: 0 auto; }
.photo-frame::before { content: ""; position: absolute; top: -13px; left: 50%; width: 110px; height: 28px; margin-left: -55px; background: rgba(230,214,170,.8); box-shadow: 0 1px 3px rgba(0,0,0,.15); transform: rotate(-3deg); }
.photo-frame img { filter: sepia(.25); }

/* ---------- Software ---------- */
.product { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 40px; } }
.features { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-weight: 600; display: flex; gap: 12px; align-items: center; }
.features li::before { content: "\2713"; color: var(--clay); font-weight: 700; }
.buy-box { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 26px; box-shadow: 8px 8px 0 var(--clay); max-width: 400px; justify-self: center; width: 100%; }
.buy-box::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 11px; pointer-events: none; }
.buy-box > * { position: relative; }
.buy-box .for { font-family: var(--type); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); margin: 0; }
.price { font-family: var(--display); font-weight: 800; font-size: 3.7rem; line-height: 1; margin: 0 0 8px; }
.buy-box .btn { width: 100%; margin: 14px 0 4px; font-size: .95rem; padding: 13px; border-radius: 12px; }
.delivery-note { font-size: .93rem; color: var(--ink-soft); border-top: 1px dashed var(--ink-soft); padding-top: 16px; margin: 18px 0 0; line-height: 1.65; }

.eula-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: 0 3px 10px rgba(42,28,17,.16); max-width: 820px; }
.eula-box {
  height: 320px; overflow-y: auto; padding: 22px 24px; margin: 0 0 20px;
  background: #fffaf0; border: 1px solid var(--ink-soft); border-radius: 10px; font-size: .98rem; line-height: 1.65;
}
.eula-box h3 { font-size: 1.3rem; margin: 0 0 6px; }
.eula-box p { margin: 0 0 12px; }
.eula-box b { font-family: var(--display); }
.eula-hint { font-family: var(--type); font-size: .85rem; color: var(--ink-soft); margin: 0 0 14px; }
.eula-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.eula-status { margin: 14px 0 0; font-weight: 600; color: var(--clay); min-height: 1.6em; }
[hidden] { display: none !important; }

.motto { text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4.6vw, 3.2rem); line-height: 1.15; margin: 0 auto; max-width: 20ch; color: var(--clay); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
form { margin-top: 28px; }
#contact-form .btn { border-radius: 12px; background: var(--night); border-color: #000; color: var(--cream); }
#contact-form .btn:hover { background: var(--night-2); color: var(--cream); }
form .field { margin-bottom: 20px; }
form label { display: block; font-family: var(--type); font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
form input, form textarea, form select { width: 100%; font: inherit; font-size: 1rem; padding: 12px; color: var(--ink); background: rgba(255,250,240,.75); border: 1px solid var(--ink-soft); border-radius: 10px; }
form textarea { min-height: 160px; resize: vertical; }
form input:focus, form textarea:focus, form select:focus { outline: 2px solid var(--clay); outline-offset: 0; border-color: var(--clay); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-weight: 600; color: var(--clay); }
.mail-card { background: var(--night); color: var(--cream); padding: 28px; background-image: var(--grain); border: 1px solid #000; border-radius: 14px; box-shadow: 0 3px 10px rgba(42,28,17,.16);
  display: flex; align-items: center; gap: 22px; }
.mail-logo { width: 96px; height: 96px; flex: none; padding-right: 22px; border-right: 2px solid #fff; box-sizing: content-box; }
.mail-text { min-width: 0; }
.mail-text h3 { margin: 0 0 6px; }
.mail-text p { margin: 0; }
@media (max-width: 400px) { .mail-logo { width: 72px; height: 72px; padding-right: 16px; } .mail-card { gap: 16px; padding: 22px; } }
.mail-card h3 { color: var(--gold); }
.mail-card .mail-sub { margin-top: 18px; }
.mail-card a { color: var(--gold); overflow-wrap: anywhere; font-size: 1.1rem; }

/* ---------- Placeholders: things Rock still needs to supply ---------- */
.placeholder { outline: 2px dashed #d0402a; outline-offset: 4px; }
.placeholder-note { display: block; font-family: var(--body); font-size: .8rem; color: #c0341f; font-weight: 700; margin-top: 8px; letter-spacing: 0; text-transform: none; }
.mail-card .placeholder-note, .site-footer .placeholder-note { color: #ff9b80; }

/* ---------- Footer ---------- */
.site-footer { background: #120c08; color: #bfae8e; padding: 40px 0; font-size: .9rem; border-top: 3px double var(--gold); margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.site-footer a { color: var(--gold); }
.char-count { margin: 6px 0 0; font-size: .82rem; color: var(--ink-soft); text-align: right; }

/* thin lines between the Home page sections */
.divider { border: 0; height: 2px; margin: 56px 0; background: linear-gradient(90deg, transparent, var(--ink-soft) 12%, var(--ink-soft) 88%, transparent); opacity: .45; }
.showreel-sec { padding-bottom: 70px; }
.showreel-sec h2 { margin-bottom: 10px; }
.reel-intro { margin: 0 0 18px; color: var(--ink-soft); }
.reel-list { max-width: 760px; margin-top: 0; }
@media (max-width: 700px) { .divider { margin: 36px 0; } }

/* ---------- Software: feature buttons open a picture pop-up ---------- */
.features li { padding: 0; }
.features li::before { display: none; }
.feature-btn {
  width: 100%; min-height: 52px; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--ink); text-align: left;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background .15s ease, transform .15s ease;
}
.feature-btn::before { content: "\2713"; color: var(--clay); font-weight: 700; }
.feature-btn span { flex: 1; }
.feature-btn .zoom { width: 22px; height: 22px; color: var(--clay); flex: none; }
.feature-btn:hover { background: rgba(163,66,28,.07); }
.feature-btn:active { transform: scale(.98); }
.features li:has(.feature-btn:hover) { box-shadow: 0 3px 10px rgba(42,28,17,.16); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: none; max-height: none;
  width: 100%; height: 100%; margin: 0; overflow: hidden;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(15,10,6,.93); }
.lightbox figure { margin: 0; padding: 16px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img {
  max-width: min(94vw, 1400px); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px);
  width: auto; height: auto; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #111;
  touch-action: pinch-zoom;
}
.lightbox figcaption { color: var(--cream); font-weight: 700; font-size: 1.1rem; text-align: center; }
.lightbox-close {
  position: fixed; top: 14px; right: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(244,234,214,.5); background: rgba(27,19,13,.85); color: var(--cream);
  font-size: 2rem; line-height: 1; cursor: pointer; touch-action: manipulation;
}
.lightbox-close:hover { background: var(--clay); }
html.lightbox-open { overflow: hidden; }

.eula-actions .btn { border-radius: 12px; }

/* contact form: errors and thank-you */
.form-status.is-error { color: #b3261e; }
form [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
#contact-form .btn[disabled] { opacity: .7; cursor: wait; }
.form-thanks { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: 0 3px 10px rgba(42,28,17,.16); }
.form-thanks:focus { outline: none; }
.form-thanks h3 { margin: 0 0 6px; color: var(--clay); }
.form-thanks p { margin: 0; }

/* Hear It: four audio samples, same grid and card look as the feature buttons */
.divider-tight { margin: 34px 0 26px; }
.hear-head { font-size: 1.15rem; margin: 0; }
.samples { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .samples { grid-template-columns: 1fr; } }
.sample { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sample-label { font-weight: 600; display: flex; gap: 12px; align-items: center; }
.sample-label::before { content: "\266A"; color: var(--clay); font-weight: 700; }
.sample audio { width: 100%; height: 36px; display: block; }

/* Software: price card runs from the top of the feature buttons to the bottom of Hear It,
   with the same card look as the buttons */
.product { grid-template-areas: "intro ." "list buy"; row-gap: 0; }
.product-intro { grid-area: intro; margin-bottom: 26px; }
.product-list { grid-area: list; }
.product-list .features { margin-top: 0; }
.product .buy-box {
  grid-area: buy; align-self: stretch; max-width: none; justify-self: stretch;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: none; padding: 26px 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.product .buy-box::before { display: none; }
.product .buy-box .btn { margin: 0; border-radius: 10px; }
.product .buy-box .delivery-note { margin: 0; }
@media (max-width: 900px) {
  .product { grid-template-areas: "intro" "list" "buy"; row-gap: 0; }
  .product .buy-box { margin-top: 40px; }
}

/* Thank-you page (PayPal return): same card look as the Software page */
.thanks-card { max-width: 560px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.thanks-card .for { font-family: var(--type); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); margin: 0; }
.thanks-card p { margin: 0; }
.thanks-card .btn { align-self: flex-start; border-radius: 10px; }
.page-head h1.h1-long { font-size: clamp(2rem, 6vw, 3.6rem); max-width: 18ch; margin-left: auto; margin-right: auto; }
.thanks-card { margin: 0 auto; }
.thanks-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px dashed var(--ink-soft); padding-top: 18px; }
.thanks-actions .btn { width: 100%; margin: 0; border-radius: 10px; text-align: center; }
@media (max-width: 560px) { .thanks-actions { grid-template-columns: 1fr; } }
.thanks-card { max-width: 660px; }
.thanks-actions .btn { white-space: nowrap; }
/* Thank-you buttons: one row, 3px apart */
.thanks-card { max-width: 820px; }
.thanks-actions { grid-template-columns: auto auto 1fr; gap: 3px; }
.thanks-actions .btn { padding-left: 16px; padding-right: 16px; font-size: .85rem; }
@media (max-width: 760px) { .thanks-actions { grid-template-columns: 1fr; } }
.thanks-actions { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .thanks-actions { grid-template-columns: 1fr; } }
.thanks-actions .btn { font-size: .8rem; padding-left: 12px; padding-right: 12px; }
