/* Royce Chris — piano portfolio
   Dark, minimal, quiet type */

:root {
  --bg: #19120F;
  --bg-elevated: #241A15;
  --text: #F3EEE6;
  --text-muted: #B0A69A;
  --text-faint: #756A60;
  --border: #3B2C23;
  --border-soft: #2C211B;
  --accent: #D2C2AA;
  --focus: #B99A70;
  --red: #A83B32;
  --yellow: #C5A13A;
  --blue: #24476B;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;
  --max: 68rem;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Anchor targets clear the sticky header (66–73px) */
main section[id] {
  scroll-margin-top: 5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
  color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: var(--space-sm);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(25, 18, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text);
}

.logo:hover {
  color: #fff;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.site-nav a.is-active,
.mobile-nav a.is-active {
  color: var(--text);
  border-bottom-color: var(--red);
}

.mobile-nav a.is-active {
  display: inline-block;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: var(--text);
  margin-inline: auto;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--border-soft);
  padding: 1rem 1.5rem 1.25rem;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav a {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
}

.mobile-nav[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Main sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-2xl) 1.5rem;
}

.section-header {
  max-width: 32rem;
  margin-bottom: var(--space-xl);
}

.section h2 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--text);
  border-bottom: 1px solid rgba(36, 71, 107, 0.75);
}

.section-lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 36rem;
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-2xl) 1.5rem var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  min-height: calc(100vh - 4.5rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--red);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--text);
}

.pitch {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.positioning {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted, #a8a29e);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s;
}

.btn-ghost {
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--text-muted);
  color: #fff;
}

.btn-ghost:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-primary {
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--red);
  background: transparent;
  color: var(--text);
}

.btn-primary:hover:not(:disabled) {
  background: var(--red);
  border-color: var(--red);
  color: var(--accent);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-text {
  padding: 0.5rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
}

.btn-text:hover {
  color: var(--text);
  border-bottom-color: var(--border);
}

/* Media frames — abstract placeholders */
.media-frame {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.media-frame--hero {
  aspect-ratio: 4 / 5;
  max-height: 32rem;
  background: var(--bg-elevated);
}

.media-frame--hero .portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.media-frame--embed {
  aspect-ratio: 16 / 9;
}

.media-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%),
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.03), transparent 55%);
}

.media-placeholder--sm {
  background:
    linear-gradient(160deg, #2C211B 0%, #19120F 100%);
}

.media-label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.media-hint {
  font-size: 0.75rem;
  color: var(--text-faint);
  opacity: 0.7;
}

/* Performance grid */
.performance-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.performance-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.card-meta {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.card-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* About */
.about {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: var(--space-xl);
  align-items: start;
}

.about-body p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 38rem;
}

.about-body p:last-of-type {
  margin-bottom: var(--space-lg);
}

.about-facts {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}

.about-facts div {
  display: grid;
  grid-template-columns: minmax(6rem, 7.5rem) 1fr;
  gap: 1rem;
  align-items: baseline;
}

.about-facts dt {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.about-facts dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.about-portrait {
  margin: var(--space-md) 0 0;
  max-width: 11rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.about-aside {
  font-size: 0.875rem !important;
  color: var(--text-faint) !important;
  letter-spacing: 0.01em;
}

.about-subheading {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.about-credits {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 38rem;
}

.about-credits li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.about-credits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.35rem;
  height: 1px;
  background: var(--text-faint);
}

.about-credits em {
  font-style: italic;
  color: var(--text);
  font-family: var(--font-serif);
}

/* Contact */
.contact-inner {
  max-width: 28rem;
}

.contact-email {
  margin: var(--space-lg) 0 var(--space-xl);
}

.contact-email a {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 400;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
}

.contact-email a:hover {
  border-bottom-color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: var(--space-xl);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-faint);
}

.form-row input:disabled,
.form-row textarea:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-faint);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  margin: 0 0 var(--space-md);
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.form-success[hidden] {
  display: none;
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.social-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.social-links a:hover {
  color: var(--text);
}

/* Footer */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-lg) 1.5rem var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--border-soft);
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.footer-name {
  color: var(--text-muted);
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    min-height: auto;
    padding-top: var(--space-xl);
  }

  .media-frame--hero {
    aspect-ratio: 16 / 10;
    max-height: none;
  }

  .performance-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-portrait {
    max-width: 8.5rem;
  }

  .media-frame--hero .portrait {
    object-position: center 12%;
  }

  .section {
    padding: var(--space-xl) 1.5rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .performance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Offstage links — channel + app */
.offstage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.35rem;
  margin: 1.65rem 0 0;
  max-width: 36rem;
}

.offstage-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.2rem 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.offstage-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  color: var(--text-faint);
}

.offstage-link:hover,
.offstage-link:focus-visible {
  color: var(--text);
}

.offstage-link:hover .offstage-icon,
.offstage-link:focus-visible .offstage-icon {
  color: var(--text-muted);
}

.offstage-note {
  color: var(--text-faint);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.offstage-note::before {
  content: "·";
  margin-right: 0.4rem;
}

@media (max-width: 640px) {
  .offstage {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-top: 1.35rem;
  }
}

/* Language switcher — quiet, minimal */
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-switch a {
  font-family: var(--font-sans);
  font-size: 1.03125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  text-transform: none;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--text-muted);
}

.lang-switch a.is-active,
.lang-switch a[aria-current="page"] {
  color: var(--text);
}

.header-lang {
  margin-left: auto;
}

.header-inner .site-nav {
  margin-left: auto;
}

.header-inner .header-lang {
  margin-left: 0;
}

.mobile-nav .lang-switch {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-soft);
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .header-inner {
    gap: 0.75rem;
  }

  .header-inner .site-nav {
    margin-left: 0;
  }

  /* Keep language links visible in the top bar (not only in the menu) */
  .header-lang {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    margin-left: 0;
    gap: 0.45rem;
    min-width: 0;
  }

  .header-lang a {
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
  }

  .mobile-nav .lang-switch {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.65rem;
  }

  .header-lang {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}

/* ===== Hub additions: pillars, watch, build, shop ===== */

.pillar-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
  max-width: 36rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.pillar-card:hover,
.pillar-card:focus-visible {
  border-color: var(--text-muted);
  color: var(--text);
}

.pillar-label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.pillar-desc {
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-faint);
}

.pillar-card:hover .pillar-desc,
.pillar-card:focus-visible .pillar-desc {
  color: var(--text-muted);
}

.pillar--watch {
  border-left: 2px solid var(--yellow);
}

.pillar--piano {
  border-left: 2px solid var(--red);
}

.pillar--build {
  border-left: 2px solid var(--blue);
}

.pillar--shop {
  border-left: 2px solid var(--focus);
}

.hero .pitch {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.subsection-heading {
  margin: var(--space-xl) 0 var(--space-md);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.section .positioning {
  margin-top: 1rem;
}

/* Channel cards */
.channel-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.channel-card {
  margin: 0;
}

.channel-link {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  height: 100%;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.channel-link:hover,
.channel-link:focus-visible {
  border-color: var(--text-muted);
  color: var(--text);
}

.channel-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--text-faint);
}

.channel-link:hover .channel-icon,
.channel-link:focus-visible .channel-icon {
  color: #ff4e45;
}

.channel-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.channel-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

.channel-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-faint);
}

.channel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ext-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
}

.performance-grid--watch {
  margin-top: 0;
}

/* Watch: single channel card + two street-piano embeds */
.channel-grid--single {
  grid-template-columns: 1fr;
  max-width: 40rem;
}

@media (min-width: 641px) {
  .performance-grid--duo {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Piano about block inside section */
.about-block {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-soft);
}

.about-inline-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.piano {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.book-bar {
  margin-top: var(--space-xl);
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.book-line {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.price-chip {
  color: var(--yellow);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Build services */
.service-grid {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.service-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-faint);
}

.service-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.quote-tag {
  margin: auto 0 0;
  padding-top: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.proof-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.25rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.proof-card .service-icon,
.proof-card .channel-icon {
  grid-row: 1 / span 2;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-faint);
}

.proof-card .ext-icon {
  grid-row: 1 / span 2;
  color: var(--text-faint);
}

.proof-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--text);
}

.proof-desc {
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.45;
}

.proof-card:hover,
.proof-card:focus-visible {
  border-color: var(--text-muted);
  color: var(--text);
}

.section-cta {
  margin: var(--space-lg) 0 0;
}

/* Shop */
.shop-card {
  display: block;
  max-width: 32rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-top: 2px solid var(--yellow);
  background: var(--bg-elevated);
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.shop-card:hover,
.shop-card:focus-visible {
  border-color: var(--text-muted);
  border-top-color: var(--yellow);
  color: var(--text);
}

.shop-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shop-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.shop-card-desc {
  font-size: 0.9375rem;
  color: var(--text-faint);
  line-height: 1.5;
}

.shop-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Select field */
.form-row select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%),
    linear-gradient(135deg, var(--text-faint) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) calc(50% - 0.15rem), calc(100% - 0.75rem) calc(50% - 0.15rem);
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  cursor: pointer;
}

.form-row select:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 3px;
}

.watch {
  border-top: 1px solid var(--border-soft);
}

/* Piano-first order: avoid a doubled rule between Piano and Watch; keep a rule above Build */
.piano + .watch {
  border-top: 0;
  border-bottom: 1px solid var(--border-soft);
}

.build {
  border-bottom: 1px solid var(--border-soft);
}

/* Hub responsive */
@media (max-width: 900px) {
  .pillar-row {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .book-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .pillar-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid .service-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-nav ul {
    gap: 1.1rem;
  }

  .site-nav a {
    font-size: 0.75rem;
  }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Override earlier 640 breakpoint for nav — hub has more items */
@media (min-width: 721px) and (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.65rem;
  }

  .header-lang {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}

/* ===== Accent layers (walnut base) ===== */
.section.contact {
  border-top: 1px solid rgba(36, 71, 107, 0.75);
}

/* Piano-only: link back to Royce Chris hub */
.site-nav .nav-home a, .mobile-nav .nav-home a { opacity: 0.7; font-size: 0.92em; }
.site-nav .nav-home a:hover, .mobile-nav .nav-home a:hover { opacity: 1; }
.footer-home { margin: 0.4rem 0; }
.footer-home a { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: 0.8; }
