@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600&family=New+Rocker&display=swap");

:root {
    --color-bg: #0a0a0c; /* page background */
    --color-surface: #141418; /* footer & cards */
    --color-border: #26262d; /* lines and outlines */
    --color-text: #f2f2f2; /* main text */
    --color-text-muted: #a3a3ad; /* secondary title and idle icons */
    --color-accent: #ff5a1f; /* accents */
    --color-accent-2: #3ee6ff; /* small details */
    --color-on-accent: #0a0a0c; /* text that sits on top of accent color */

    --font-display: "Chakra Petch", system-ui, sans-serif; /* headings, nav, buttons */
    --font-title:   "New Rocker", system-ui;
    --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --logo-filter: invert(1);

    /* Frosted glass panes */
    --glass-bg: color-mix(in srgb, var(--color-bg) 45%, transparent); /* tint behind the blur */
    --glass-blur: 20px;                                               /* how blurry */
    --glass-border: color-mix(in srgb, var(--color-text) 12%, transparent);

    --max-width: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-height: 128px;           /* banner height at the top of the page */
    --header-height-scrolled: 64px;   /* banner height after scrolling */
    --logo-height: 84px;              /* logo size at the top of the page */
    --logo-height-scrolled: 40px;     /* logo size after scrolling */
    --logo-height-mobile: 56px;       /* phones/tablets, at the top */
    --logo-height-mobile-scrolled: 30px;
    --header-height-mobile: 124px;           /* phones/tablets banner, at the top */
    --header-height-mobile-scrolled: 88px;   /* phones/tablets banner, after scrolling */
    --radius: 6px;
    --transition: 200ms ease;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-space-scrolled) + 16px);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
p { max-width: 65ch; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { 
    font-family: var(--font-title);
    font-size: clamp(2.25rem, 6vw, 4rem);
}
h2 {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
h3 { font-size: 1.25rem; }

::selection { background: var(--color-accent); color: var(--color-on-accent); }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.4em;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover {
  background: color-mix(in srgb, var(--color-accent) 80%, white);
  border-color: color-mix(in srgb, var(--color-accent) 80%, white);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--outline:hover {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-muted);
  border-radius: var(--radius);
  transition: color var(--transition);
}
.social-links a:hover { color: var(--color-accent); }

/* ---------- BANNER (site header) ----------
   The banner floats over the page (position: fixed) and the page reserves its
   full height at the top. Shrinking it on scroll then doesn't move anything
   below it, which is what used to make it flicker near the top of the page. */
:root {
  --header-space: var(--header-height);                   /* room reserved at the top of every page */
  --header-space-scrolled: var(--header-height-scrolled);
}
body { padding-top: var(--header-space); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 transparent; /* a line that doesn't add height */
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--color-border); }

/* Left and right columns are equal (1fr), so the logo is always dead center */
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-height);
  transition: height var(--transition);
}
.is-scrolled .header-inner { height: var(--header-height-scrolled); }

.header-socials {
  justify-self: start;
  margin-left: -10px; /* lines the first icon up with the page edge */
}

.logo { justify-self: center; }
.logo img {
  height: var(--logo-height);
  width: auto;
  filter: var(--logo-filter);
  transition: height var(--transition);
}
.is-scrolled .logo img { height: var(--logo-height-scrolled); }

.site-nav { justify-self: end; }
.site-nav ul {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  list-style: none;
  padding: 0;
}
.site-nav a {
  display: block;
  padding-block: 6px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav a:hover { color: var(--color-text); }
.site-nav a[aria-current="page"] {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

/* Tablets & phones: logo on top, links underneath, social icons live in the footer */

@media (max-width: 1000px) {
  :root {
    --header-space: var(--header-height-mobile);
    --header-space-scrolled: var(--header-height-mobile-scrolled);
  }
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 6px;
    height: var(--header-height-mobile);
  }
  .is-scrolled .header-inner { height: var(--header-height-mobile-scrolled); }

  .header-socials { display: none; }

  .logo img { height: var(--logo-height-mobile); }
  .is-scrolled .logo img { height: var(--logo-height-mobile-scrolled); }

  .site-nav { justify-self: center; }
  .site-nav ul { gap: 20px; }
  .site-nav a { font-size: 0.85rem; }
}

@media (max-width: 360px) {
  .site-nav ul { gap: 14px; }
  .site-nav a { font-size: 0.8rem; letter-spacing: 0.05em; }
}


/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 0;
  padding-block: 56px 32px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.signup h2 { font-size: 1.5rem; margin-bottom: 8px; }
.signup > p { color: var(--color-text-muted); margin-bottom: 20px; }

.signup-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
}
.signup-form input {
  flex: 1;
  min-width: 0;
  padding: 0.75em 1em;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.signup-form input::placeholder { color: var(--color-text-muted); }
.signup-form input:focus-visible { outline-offset: 0; border-color: var(--color-accent-2); }

.form-status {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--color-accent-2);
}

.footer-links {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.footer-links .social-links { margin-right: -10px; }

.footer-email {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-email:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.footer-bottom a { text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--color-accent-2); }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; align-items: flex-start; }
  .footer-links .social-links { margin-right: 0; margin-left: -10px; }
  .signup-form { flex-direction: column; }
}


/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- SHARED SECTIONS (used on every page) ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section + .section { padding-top: 0; } /* stacked sections share one gap */

.section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin-top: 8px; }

.text-link {
  display: inline-block;
  padding-block: 4px; /* bigger tap area on phones */
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.text-link:hover { border-bottom-color: currentColor; }

/* Click-to-load YouTube video (built by main.js) */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.video > iframe,
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-play { padding: 0; background: none; cursor: pointer; }
.video-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter var(--transition), transform 400ms ease;
}
.video-play:hover img { filter: brightness(0.85); transform: scale(1.03); }

.video-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: clamp(56px, 8vw, 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: scale var(--transition);
}
.video-play:hover .video-play-icon { scale: 1.08; }
.video-play-icon::after { /* the play triangle */
  content: "";
  margin-left: 12%;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--color-on-accent);
}

/* Shown only if JavaScript fails to load */
.video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
}


/* ---------- HOME PAGE ---------- */

/* Hero: latest release */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(80vh, 760px);
  padding-block: clamp(48px, 8vw, 96px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { /* darkens the art so the text stays readable, fades into the page at the bottom */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--color-bg) 0%, transparent 35%),
    color-mix(in srgb, var(--color-bg) 30%, transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.hero-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.hero-text {
  padding: clamp(24px, 4vw, 48px);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) * 2);
}
.hero-text h1 { margin-bottom: 8px; }
.hero-meta {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-actions .btn--outline { background: color-mix(in srgb, var(--color-bg) 50%, transparent); }
.hero-also {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.hero-also a {
  color: var(--color-text);
  text-decoration-color: var(--color-border);
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.hero-also a:hover { color: var(--color-accent); }

@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cover { max-width: 280px; }
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  gap: 24px 64px;
}
.about h2 { margin-top: 8px; }
.about-text p { font-size: 1.125rem; }
.about-text p + p { margin-top: 20px; }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- PAGE TITLE BANNER (top of inner pages) ----------
   Reuses the hero's background art (.hero-bg), cropped to a short strip. */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(220px, 30vw, 360px);
  padding-block: 48px clamp(24px, 4vw, 40px);
}
.page-head .hero-bg img { object-position: center 35%; }
.page-head .hero-bg::after {
  background:
    linear-gradient(to top, var(--color-bg) 0%, transparent 70%),
    color-mix(in srgb, var(--color-bg) 35%, transparent);
}
.page-head h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.page-head + .section { padding-top: clamp(32px, 5vw, 56px); }


/* ---------- MUSIC PAGE ---------- */

/* Releases */
.release {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.release + .release {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--color-border);
}
.release h3 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.release-meta {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.release-desc { margin-top: 16px; color: var(--color-text-muted); }
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.release-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--color-surface);
  border-left: 2px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.release-note a { display: inline-block; margin-top: 6px; }

.release-embed iframe {
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 860px) {
  .release { grid-template-columns: 1fr; }
}

/* Featured On */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px 24px;
  list-style: none;
  padding: 0;
}
.feature-card a { display: block; text-decoration: none; }
.feature-cover {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.feature-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 400ms ease;
}
.feature-card a:hover .feature-cover img { transform: scale(1.04); }
.feature-card h3 {
  margin-top: 14px;
  font-size: 1.1rem;
  transition: color var(--transition);
}
.feature-card a:hover h3 { color: var(--color-accent); }
.feature-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* Listen everywhere */
.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
}


/* ---------- SOCIALS PAGE ---------- */

/* Section heading with a button on the right (e.g. YouTube + Subscribe) */
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* Follow cards */
.follow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
}
.follow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}
.follow-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.follow-card::after { /* "opens in a new tab" arrow */
  content: "\2197";
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.follow-card:hover::after { color: var(--color-accent); }

.follow-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.follow-card:hover .follow-icon { color: var(--color-accent); }

.follow-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.follow-handle { font-size: 0.9rem; color: var(--color-text-muted); }
.follow-desc { margin-top: 12px; font-size: 0.95rem; color: var(--color-text-muted); }

/* Latest videos grid (filled by main.js) */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
  list-style: none;
  padding: 0;
}
.video-title {
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.3;
}
.video-date { margin-top: 4px; font-size: 0.85rem; color: var(--color-text-muted); }

@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
}


/* ---------- PRESS PAGE ---------- */

.btn--small { padding: 0.45em 0.9em; font-size: 0.8rem; }

/* Bios on the left, quick facts on the right */
.press-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 72px);
}

.bio + .bio {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}
.bio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.bio-text p { font-size: 1.05rem; }
.bio-text p + p { margin-top: 18px; }

.press-facts {
  position: sticky;
  top: calc(var(--header-space-scrolled) + 24px);
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
}
.press-facts h2 { font-size: 1.25rem; margin-bottom: 20px; }
.press-facts dl { margin-bottom: 24px; }
.press-facts dl > div + div {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}
.press-facts dt {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.press-facts dd { margin: 2px 0 0; }
.press-facts dd a { text-underline-offset: 3px; }
.press-facts dd a:hover { color: var(--color-accent); }

@media (max-width: 900px) {
  .press-layout { grid-template-columns: 1fr; }
  .press-facts { position: static; }
}

/* Downloads */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
}
.download-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
}
.download-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-bg);
  position: relative;
}
.download-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.download-preview--light { background: var(--color-text); } /* black logos need a light backdrop */
.download-preview--light img { inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.download-card h3 { font-size: 1.05rem; }
.download-card p { margin-top: 4px; font-size: 0.9rem; color: var(--color-text-muted); }
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 16px;
}
.download-links a {
  display: inline-block;
  padding-block: 4px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}
.download-links a::before { content: "\2193  "; } /* down arrow */
.download-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Press contact strip */
.press-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.press-contact p { margin-top: 8px; color: var(--color-text-muted); }
.press-contact .btn { /* an email address reads better in normal case, and must fit tiny phones */
  max-width: 100%;
  text-transform: none;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}


/* ---------- CONTACT PAGE ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 72px);
}

/* Form */
.contact-form h2 { margin-bottom: 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8em 1em;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline-offset: 0;
  border-color: var(--color-accent-2);
}
.contact-form textarea { min-height: 180px; resize: vertical; }

/* Custom dropdown arrow, drawn in the theme's muted color */
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.75em; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1.1em;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  translate: 0 -70%;
  rotate: 45deg;
  pointer-events: none;
}
.contact-form option { background: var(--color-surface); color: var(--color-text); }

.contact-form .btn { margin-top: 4px; }
.form-status.is-error { color: var(--color-accent); }

/* Side panel */
.contact-aside {
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 2);
}
.contact-block + .contact-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.contact-block h2 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-block p { margin-bottom: 8px; font-size: 0.95rem; color: var(--color-text-muted); }
.contact-block .social-links { margin-left: -10px; }
.contact-email {
  display: inline-block;
  padding-block: 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
  transition: color var(--transition);
}
.contact-email:hover { color: var(--color-accent); }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}


/* ---------- 404 PAGE ---------- */
.notfound-lead { font-size: 1.2rem; }
.notfound-hint { margin-top: 40px; color: var(--color-text-muted); }
