/* Sentient Music — site styles */

@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #08111f;
  --panel: #0e1a2e;
  --tile: #1b2a44;
  --rule: #2a3a56;
  --text: #eef2f8;
  --muted: #c9d4e6;
  --soft: #a8b6cc;
  --accent: #4fd4ff;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #a9c4ff; }
a:hover { color: #ffffff; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 96px 24px; }
.panel { background: var(--panel); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--accent); color: var(--ink); padding: 10px 14px; border-radius: 6px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 24px; text-decoration: none; }
.brand .mark { width: 102px; height: 102px; }
.brand .word { height: 36px; width: auto; }
@media (max-width: 600px) { .brand .mark { width: 60px; height: 60px; } .brand .word { height: 20px; } .brand { gap: 14px; } }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.site-nav .cta { color: var(--ink); background: var(--accent); padding: 8px 16px; border-radius: 6px; }
.site-nav .cta:hover { color: var(--ink); background: #ffffff; }

/* Hero */
.hero .wrap { padding-top: 72px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(32px, 4.4vw, 62px); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; }
.hero p { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; font-weight: 700; text-decoration: none; border-radius: 6px; font-family: inherit; font-size: 16px; border: 0; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #ffffff; color: var(--ink); }
.btn-ghost { border: 1px solid rgba(238, 242, 248, 0.5); color: var(--text); }
.btn-ghost:hover { border-color: #ffffff; color: #ffffff; }
.mosaic { flex: 0 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mosaic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }

/* Section headings */
.section-title { margin: 0 0 36px; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; text-transform: uppercase; }

/* Catalogue */
.catalogue-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 28px 20px; }
.catalogue-grid li { display: flex; flex-direction: column; gap: 12px; }
.catalogue-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: var(--tile); }
.name { font-size: 17px; font-weight: 700; }

/* Catalogue and writer lists */
.roster { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--rule); }
.roster h3 { margin: 0 0 28px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; color: var(--accent); }
.roster-list { list-style: none; margin: 0; padding: 0; columns: 4 240px; column-gap: 32px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.35; color: var(--muted); }
.roster-list li { padding: 5px 0; break-inside: avoid; }

/* Sync */
.sync-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px 24px; }
.sync-grid li { display: flex; flex-direction: column; gap: 14px; }
.sync-grid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: var(--tile); }

/* Services */
.services-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 0 48px; }
.services-grid li { display: flex; flex-direction: column; gap: 8px; padding: 26px 0; border-top: 1px solid var(--rule); }
.services-grid h3 { margin: 0; font-size: 22px; font-weight: 700; color: var(--accent); }
.services-grid p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* About */
.about .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; }
.about .section-title { margin: 0; }
.about-copy { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.about-copy p { margin: 0; }

/* Contact */
.contact { background: var(--accent); color: var(--ink); }
.contact a { color: var(--ink); }
.contact a:hover { color: #000000; }
.contact .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact h2 { margin: 0; font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 0.98; text-transform: uppercase; }
.contact address { font-style: normal; display: flex; flex-direction: column; gap: 8px; font-size: 18px; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form textarea { min-height: 48px; padding: 12px 14px; border: 2px solid transparent; border-radius: 6px; background: #ffffff; color: var(--ink); font: 16px "Archivo", system-ui, sans-serif; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form .btn { align-self: flex-start; background: var(--ink); color: #ffffff; }
.contact-form .btn:hover { background: #000000; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 14px; line-height: 1.5; }
.form-status { margin: 0; min-height: 1.5em; font-size: 16px; font-weight: 700; }

@media (max-width: 600px) {
  .wrap { padding-top: 64px; padding-bottom: 64px; }
  .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .name { font-size: 15px; }
  .roster { margin-top: 48px; padding-top: 32px; }
  .roster-list { columns: 2; column-gap: 16px; font-size: 12px; letter-spacing: 0.02em; }
  .hero .wrap { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
}

/* Footer */
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--soft); }

/* Privacy page */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 32px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; color: var(--accent); }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: var(--muted); }

/* Digital business card (/peter) */
.card-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.card { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.card-logo { display: flex; flex-direction: column; align-items: center; gap: 16px; text-decoration: none; }
.card-logo .word { height: 20px; width: auto; }
.card-id h1 { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.card-title { margin: 10px 0 0; font-size: 18px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.card-org { margin: 6px 0 0; font-size: 17px; color: var(--muted); }
.card-save { width: 100%; justify-content: center; min-height: 56px; font-size: 17px; }
.card-links { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.card-links a { display: flex; flex-direction: column; gap: 4px; padding: 16px 4px; min-height: 44px; text-align: left; text-decoration: none; color: var(--text); font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--rule); }
.card-links a:hover { color: var(--accent); }
.card-links span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.card-tag { margin: 0; font-size: 14px; color: var(--soft); }
