/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --paper: #fafaf9;
  --ink: #121212;
  --ink-soft: #6e6e73;
  --void: #0b0b0c;
  --void-soft: #a8a8ad;

  /* Brand secondary palette — exact hex from logo files */
  --gold: #cdaa5f;
  --blue: #5f82cd;
  --purple: #6a5d81;

  --amber: var(--gold); /* primary accent, kept as --amber for back-compat */
  --line: #e5e4df;
  --line-dark: #262624;

  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gutter: clamp(24px, 5vw, 64px);
  --section-pad: clamp(64px, 10vw, 140px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  padding-top: 84px;
}
main {
  position: relative;
  z-index: 1;
}
html {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--ink-soft); text-transform: uppercase; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 20px;
}
.eyebrow--light { color: var(--gold); }

.reveal {
  opacity: 0.2;
  transform: translateX(-96px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}
.nav--scrolled {
  background: rgba(250, 250, 249, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: block; line-height: 0; }
.nav__logo-img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--amber); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
}
.nav__toggle span {
  width: 22px; height: 2px; background: var(--ink); display: block;
}

@media (max-width: 760px) {
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    gap: 16px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: flex; }
}

.ascii-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ascii-grid-inner {
  position: absolute;
  inset: 0;
  padding: 12px 24px 32px;
  opacity: 0.95;
  will-change: transform;
}
.ascii-grid-dot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  --wind-x: 0px;
  --wind-y: 0px;
  width: 14px;
  height: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  color: rgba(205, 170, 95, 0.95);
  opacity: 0.9;
  transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) scale(1);
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1), text-shadow 0.25s ease;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  pointer-events: none;
}
.ascii-grid-dot::before { content: '·'; }
.ascii-grid-dot.active {
  color: var(--gold);
  opacity: 1;
  transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) scale(2.6);
  text-shadow: 0 0 26px rgba(205, 170, 95, 0.85), 0 0 46px rgba(205, 170, 95, 0.48);
}

@keyframes float-drift {
  0% { transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) translate(0px, 0px) scale(1); opacity: 0.65; }
  20% { transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) translate(6px, -5px) scale(1.03); opacity: 0.85; }
  40% { transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) translate(-10px, 8px) scale(1.05); opacity: 0.95; }
  60% { transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) translate(8px, 6px) scale(1.04); opacity: 0.9; }
  80% { transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) translate(-4px, -3px) scale(1.02); opacity: 0.85; }
  100% { transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) translate(0px, 0px) scale(1); opacity: 0.65; }
}

.ascii-grid-dot[data-float="true"] {
  animation-name: float-drift;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/* Very lightweight, slow float for mobile devices */
@keyframes float-drift-mobile {
  0% { transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) translate(0px, 0px) scale(1); opacity: 0.72; }
  50% { transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) translate(0px, 6px) scale(1.02); opacity: 0.86; }
  100% { transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) translate(0px, 0px) scale(1); opacity: 0.72; }
}
.ascii-grid-dot[data-float="mobile"] {
  animation-name: float-drift-mobile;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  will-change: transform;
}
@keyframes ascii-dot-pulse {
  0%, 100% { opacity: 0.44; }
  50% { opacity: 0.84; }
}

@media (max-width: 760px) {
  /* Reduce ASCII dot visual weight on small screens for performance */
  .ascii-grid-dot {
    text-shadow: none;
    transition: none;
    opacity: 0.7 !important;
  }
  .ascii-grid-dot.active {
    transform: translate(calc(-50% + var(--wind-x)), calc(-50% + var(--wind-y))) scale(1.2);
    text-shadow: none;
  }
  .ascii-grid-inner { will-change: auto; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(80px, 16vw, 180px) var(--gutter) var(--section-pad);
  text-align: center;
}
.hero__logo {
  margin: 0 auto 28px;
  max-width: 260px;
}
.hero__logo-img {
  width: 100%;
  height: auto;
}
.hero--page { padding-bottom: clamp(48px, 8vw, 96px); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.hero--page .hero__title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.hero__sub {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--ink-soft);
  font-size: 18px;
}
.hero--page .hero__sub { margin-bottom: 0; }
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { opacity: 0.85; }
.section--dark .btn--primary { background: var(--gold); color: #0b0b0c; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.section--dark .btn--ghost { border-color: var(--void-soft); color: var(--paper); }

/* =========================================================
   SECTIONS (generic)
   ========================================================= */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}
.section--dark {
  max-width: none;
  background: var(--void);
  color: var(--paper);
}
.section--dark > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

/* Reduce excessive spacing between hero page and following section */
.hero--page + .section { padding-top: clamp(24px, 4vw, 48px); }
.section__title--light { color: var(--paper); }

/* =========================================================
   MISSION
   ========================================================= */
.mission { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.mission__statement {
  max-width: 760px;
  margin: 0 auto 56px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mission__extra {
  max-width: 760px;
  margin: 32px auto 56px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.pillars {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
}
.pillar { padding: 0 6px; }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 10px;
  color: var(--amber);
  position: relative;
  padding-top: 16px;
}
.pillar h3::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 2px;
  background: var(--amber);
}
.pillar p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   FEATURED RELEASE / CAROUSEL
   ========================================================= */
.featured__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.featured__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 4px 0 8px;
}
.featured__desc { color: var(--void-soft); margin-top: 16px; max-width: 440px; }
.featured__player { display: flex; justify-content: center; }
.bandcamp-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  line-height: 0;
}
/* Ensure embedded players never cause horizontal overflow on small viewports */
.bandcamp-frame {
  max-width: 420px;
  width: 100%;
}
.bandcamp-frame iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  border: 0 !important;
}
.featured__player { overflow: hidden; }
@media (max-width: 820px) {
  .featured__grid { grid-template-columns: 1fr; text-align: center; }
  .featured__desc { margin-left: auto; margin-right: auto; }
  .bandcamp-frame { margin: 0 auto; }
}

.carousel { position: relative; padding: 0 40px; overflow: visible; touch-action: pan-y; overscroll-behavior-x: contain; }
.carousel__track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(11, 11, 12, 0.84);
  color: var(--paper);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}
.carousel__arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(11, 11, 12, 0.96); transform: translateY(-50%) scale(1.08); }
.carousel__arrow:active { transform: translateY(-50%) scale(0.94); }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }
.carousel--artists .carousel__arrow { display: flex; background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: 0 14px 30px rgba(0,0,0,0.08); }
.carousel--artists .carousel__arrow:hover { border-color: var(--amber); color: var(--amber); background: var(--paper); }
@media (max-width: 820px) {
  .carousel--artists .carousel__arrow { display: none; }
}
.carousel__dots { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 999px;
  border: none; background: var(--line-dark); padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
}
.carousel__dots button.is-active { width: 22px; background: var(--gold); }

.carousel--artists {
  position: relative;
  padding: 0 40px;
}
.carousel--artists .carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  position: relative;
}
.carousel--artists .carousel__viewport::after {
  content: "";
  position: absolute;
  inset: 0 0 8px auto;
  width: 88px;
  background: linear-gradient(90deg, rgba(250,250,249,0) 0%, rgba(250,250,249,0.88) 70%, rgba(250,250,249,1) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
@media (max-width: 820px) {
  .carousel--artists .carousel__viewport::after {
    opacity: 0;
    pointer-events: none;
    animation: none;
    display: none;
  }
}
.carousel--artists .carousel__viewport::-webkit-scrollbar {
  display: none;
}
.carousel--artists .carousel__track {
  display: flex;
  gap: 24px;
}
.carousel--artists .artist-card {
  flex: 0 0 260px;
  min-width: 260px;
  scroll-snap-align: start;
}
.carousel--artists .artist-card__photo {
  min-height: 260px;
}
@media (max-width: 820px) {
  .carousel--artists { padding: 0 20px; }
  .carousel--artists .artist-card { flex: 0 0 220px; min-width: 220px; }
  .carousel--artists .carousel__viewport::after {
    opacity: 0;
    display: none;
    animation: none;
  }
}
@keyframes swipe-hint-fade {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.55; }
}

/* =========================================================
   GRIDS (shared)
   ========================================================= */
.grid { display: grid; gap: 32px; }
.grid--artists { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--services { grid-template-columns: 1fr 1fr; gap: 40px; }
.section--dark .section__title,
.section--dark .eyebrow,
.section--dark .grid--services {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.grid--catalog-full { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--artist-releases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .grid--services { grid-template-columns: 1fr; }
  .grid--artist-releases { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .grid--artist-releases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Artists */
.artist-card__photo {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  margin-bottom: 16px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.artist-card h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.1rem; }
.artist-card__bio { color: var(--ink-soft); font-size: 14px; margin: 0 0 12px; }
.artist-card__links { display: flex; gap: 16px; font-size: 13px; font-weight: 600; }
.artist-card__links a { border-bottom: 1px solid var(--line); }

/* Services */
.service-card {
  padding: 32px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
}
.section:not(.section--dark) .service-card--outline { background: transparent; border: 1px solid var(--line); }
.section--dark .service-card { border: 1px solid var(--line-dark); }
.service-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 8px 0 12px; }
.service-card p { margin: 0 0 8px; }
.section--dark .service-card p:not(.mono):not(.price) { color: var(--void-soft); }
.price { font-weight: 600; color: var(--amber); }
.link-arrow { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery__item { aspect-ratio: 3/4; border-radius: 14px; }
@media (max-width: 760px) { .gallery { grid-column: 1; } }

/* Catalog cards (shared between homepage scroller and full catalog page) */
.release-card {
  background: none; border: none; padding: 0; text-align: left; color: inherit; display: block;
}
.release-card__art { aspect-ratio: 1/1; border-radius: 16px; margin-bottom: 14px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease; }
.release-card:hover .release-card__art { transform: translateY(-6px) scale(1.015); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.release-card h3 { margin: 4px 0 2px; font-family: var(--font-display); font-size: 1.05rem; }
.release-card__artist { color: var(--ink-soft); font-size: 13px; margin: 0 0 6px; }
.release-card .tag { margin: 0; font-size: 14px; font-weight: 600; }
.release-card--placeholder { cursor: default; }
.release-card--placeholder .tag { opacity: 0.6; }

.tag--triphop { color: var(--gold); }
.tag--bigbeat { color: var(--blue); }
.tag--ambient { color: var(--purple); }

/* Homepage catalog scroller */
.catalog-scroller-wrap { position: relative; }
.catalog-scroller {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Embed container used on catalog and artist pages */
.embed-container { margin-top: 12px; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.embed-hidden { display: none; }

/* Artists grid page */
.artists-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.artist-tile { display: block; padding: 12px; border-radius: 12px; background: linear-gradient(160deg,#121213,#0d0d0e); color: var(--paper); text-decoration: none; }
.artist-tile .artist-photo { aspect-ratio: 1/1; border-radius: 10px; background-size: contain; background-position: center; background-repeat: no-repeat; margin-bottom: 12px; }

/* Ensure inserted <img> elements show whole images */
.artist-tile .artist-photo img,
.artist-card__photo img,
.artist-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: inherit;
}

/* Hero artist photo sizing for <img> */
.hero .artist-photo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 18px;
}

/* Artist page photo: show full image without cropping */
.hero .artist-photo { width: 140px; height: 140px; border-radius: 18px; background-size: contain; background-position: center; background-repeat: no-repeat; }

/* Combined services layout: place sound + design side-by-side on wide viewports */
.services-combined { max-width: 1180px; margin: 0 auto; padding: var(--section-pad) var(--gutter); display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.service-block { padding: 0; }
@media (max-width: 900px) { .services-combined { grid-template-columns: 1fr; } }

/* Services grid for combined Sound & Design section */
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(420px, 1fr)); gap: 40px; align-items: start; max-width: 1180px; margin-top: 12px; }
@media (max-width: 1100px) { .services-grid { grid-template-columns: 1fr; } }

/* Make service cards consistently outlined and wider */
.service-card { padding: 28px; border-radius: 20px; background: transparent; border: 1px solid var(--line); }
.service-card h3 { margin-top: 8px; margin-bottom: 12px; }
.artist-tile h3 { margin: 0 0 6px; font-family: var(--font-display); }
.artist-tile p { margin: 0; color: rgba(255,255,255,0.8); }

/* Catalog embed card */
.catalog-embed-card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.catalog-embed-card .embed-container { width: 100%; display: flex; justify-content: center; }
.catalog-embed-card h3 { margin: 6px 0 0; }
.catalog-embed-card .mono { margin: 0; }
.embed-container iframe { width: 100%; max-width: 360px; height: 470px; border: 0; }
.catalog-scroller::-webkit-scrollbar { display: none; }
.catalog-scroller .release-card { flex: 0 0 220px; scroll-snap-align: start; }
.catalog-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.catalog-arrow:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-50%) scale(1.08); }
.catalog-arrow:active { transform: translateY(-50%) scale(0.94); }
.catalog-arrow--prev { left: -20px; }
.catalog-arrow--next { right: -20px; }
@media (max-width: 700px) {
  .catalog-arrow { display: none; }
}
.catalog-full-link { display: inline-block; margin-top: 40px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-form { max-width: 560px; }
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 14px; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus,
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.form-note { margin-top: 16px; color: var(--ink-soft); font-size: 13px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px var(--gutter) 32px;
}
.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer__logo-img { height: 64px; width: auto; margin-bottom: 8px; }
.footer__tag { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.footer__contact-link { font-weight: 700; font-size: 15px; }
.footer__social { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__legal { max-width: 1180px; margin: 40px auto 0; color: var(--ink-soft); font-size: 12px; }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
