/* ============================================
   Brixzon — Premium Single-Page Landing
   ============================================ */

@font-face {
  font-family: "Tanker";
  src: url("../assets/fonts/Tanker-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #11201a;
  --bg-elevated: #162821;
  --accent: #fc6215;
  --accent-hover: #e4560e;
  --accent-active: #c84808;
  --text: #fffefe;
  --text-muted: rgba(255, 255, 255, 0.58);
  --text-soft: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 254, 254, 0.12);
  --border-strong: rgba(255, 254, 254, 0.2);

  --font-display: "Tanker", sans-serif;
  --font-body: "Inter Tight", sans-serif;

  --container: 1420px;
  --container-wide: 1600px;
  --pad-x: 24px;
  --section-y: clamp(72px, 12vw, 140px);

  --radius-sm: 8px;
  --radius-md: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.35s;

  --nav-h-pinned: 60px;
  --logo-max: 105px;
  --logo-min: 36px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

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

@media (min-width: 640px) {
  :root { --pad-x: 40px; }
}

@media (min-width: 768px) {
  :root { --pad-x: 64px; }
}

@media (min-width: 1280px) {
  :root { --pad-x: 90px; }
}

/* ---------- Typography ---------- */

.tanker,
.logo__word,
.logo__reg,
.nav-link,
.btn__label,
.hero__kicker,
.hero__heading,
.eyebrow,
.section-title,
.service-item__title,
.service-item__index,
.project__title,
.process__num,
.process__title,
.impact__value,
.filter-btn,
.footer__logo .logo__word {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--accent);
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  max-width: 18ch;
}

.section-lead {
  margin-top: 20px;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 400;
  color: var(--text-soft);
  max-width: 52ch;
  line-height: 1.65;
}

.section-lead--narrow {
  max-width: 44ch;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 20px;
  color: var(--accent);
  transition: color var(--duration) ease;
}

.text-link:hover {
  color: var(--text);
}

.section-head {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 58px;
  min-width: 220px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

@media (min-width: 640px) {
  .btn { width: 238px; }
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fffbf0;
}

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

.btn--primary:active {
  background: var(--accent-active);
  border-color: var(--accent-active);
}

.btn--secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--full {
  width: 100%;
}

.btn__label {
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  overflow: hidden;
}

.btn__label .char {
  display: inline-block;
}

.btn__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: hidden;
  pointer-events: none;
}

.btn__icon svg {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--ease-soft), opacity 0.25s var(--ease-soft);
}

.btn__icon svg:first-child {
  transform: translateX(0);
  opacity: 1;
}

.btn__icon svg:last-child {
  transform: translateX(-140%);
  opacity: 0;
  transition-delay: 0.04s;
}

.btn:hover .btn__icon svg:first-child {
  transform: translateX(140%);
  opacity: 0;
}

.btn:hover .btn__icon svg:last-child {
  transform: translateX(0);
  opacity: 1;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
}

.hero__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__slats {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  user-select: none;
}

.slat {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  border-right: 0 solid transparent;
}

.slat.is-active {
  border-right: 1px solid rgba(17, 32, 26, 0.95);
}

.slat__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slat__img {
  position: absolute;
  top: 0;
  height: 100%;
  max-width: none;
  width: 1400%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.slat__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background: var(--bg);
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.95), -1px 0 2px rgba(255, 255, 255, 0.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 32, 26, 0.4);
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 32, 26, 0.6) 0%,
    transparent 40%,
    rgba(17, 32, 26, 0.85) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  min-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px var(--pad-x) 40px;
  transition: padding-top 0.3s ease;
}

.hero__inner.is-pinned-pad {
  padding-top: 127px;
}

@media (min-width: 1024px) {
  .hero__inner,
  .hero__stage {
    min-height: 100vh;
  }

  .hero__inner {
    min-height: 100vh;
  }
}

/* Nav */

.site-nav {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  transition: all 0.3s ease-out;
  user-select: none;
  z-index: 50;
}

.site-nav.is-pinned {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: none;
  min-height: var(--nav-h-pinned);
  align-items: center;
  background: rgba(17, 32, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  padding: 14px var(--pad-x);
  transform: translateY(0);
  opacity: 1;
}

.site-nav.is-pinned.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
  transform-origin: top left;
  cursor: pointer;
  transition: transform 0.1s ease-out;
  height: var(--logo-max);
}

.logo__word {
  font-size: 140px;
  line-height: 90%;
  color: var(--text);
  display: block;
}

.logo__reg {
  font-size: 47.825px;
  line-height: 65px;
  color: var(--text);
  display: block;
}

.site-nav.is-pinned .logo {
  transform: scale(0.3428);
  height: 36px;
}

.nav-desktop {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
}

.site-nav.is-pinned .nav-desktop {
  padding-top: 0;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

@media (min-width: 1024px) {
  .nav-desktop { gap: 32px; }
}

.nav-link {
  font-size: 24px;
  line-height: 1;
  color: var(--text-soft);
  transition: color 0.2s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--text);
  transition: color 0.2s ease;
  margin-top: 8px;
}

.site-nav.is-pinned .nav-toggle {
  margin-top: 0;
}

.nav-toggle:hover {
  color: var(--accent);
}

.nav-toggle__icon--close {
  display: none;
}

.nav-toggle.is-open .nav-toggle__icon--open {
  display: none;
}

.nav-toggle.is-open .nav-toggle__icon--close {
  display: block;
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  background: rgba(17, 32, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 24px;
  overflow: hidden;
}

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

.nav-mobile .nav-link {
  text-align: left;
  font-size: 24px;
}

@media (min-width: 768px) {
  .nav-mobile { display: none !important; }
}

.hero__spacer {
  flex: 1;
  min-height: 48px;
}

@media (min-width: 768px) {
  .hero__spacer { min-height: 120px; }
}

@media (min-width: 1024px) {
  .hero__spacer { min-height: 220px; }
}

.hero__content {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

@media (min-width: 1024px) {
  .hero__content {
    flex-direction: row;
    align-items: flex-end;
    gap: 48px;
  }
}

@media (min-width: 1280px) {
  .hero__content { gap: 120px; }
}

.hero__media {
  width: 100%;
  max-width: 360px;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  pointer-events: none;
  user-select: none;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.hero__copy {
  width: 100%;
  max-width: 721px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

@media (min-width: 1024px) {
  .hero__copy { gap: 60px; }
}

@media (min-width: 1280px) {
  .hero__copy { gap: 100px; }
}

.hero__kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.hero__kicker {
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .hero__kicker { font-size: 18px; }
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

@media (min-width: 640px) {
  .hero__dots { margin-left: 8px; }
}

.hero__dot {
  height: 3px;
  width: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero__dot.is-active {
  width: 24px;
  background: var(--accent);
}

.hero__heading {
  font-size: 26px;
  line-height: 140%;
  letter-spacing: 0;
  min-height: 220px;
  width: 100%;
}

@media (min-width: 640px) {
  .hero__heading {
    font-size: 30px;
    min-height: 195px;
  }
}

@media (min-width: 768px) {
  .hero__heading {
    font-size: 34px;
    min-height: 210px;
  }
}

.hero__heading .seg-muted {
  color: var(--text-muted);
}

.hero__caret {
  display: inline-block;
  width: 3px;
  height: 0.75em;
  background: var(--accent);
  margin-left: 6px;
  vertical-align: middle;
  transition: opacity 0.15s ease;
}

.hero__caret.is-done {
  opacity: 0.4;
  animation: caret-pulse 1.2s ease-in-out infinite;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* ---------- ABOUT ---------- */

.about {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(252, 98, 21, 0.08), transparent 55%),
    var(--bg);
}

.about__grid {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.about__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  min-height: 360px;
}

@media (max-width: 1023px) {
  .about__figure {
    width: calc(100% + (var(--pad-x) * 2));
    margin-inline: calc(var(--pad-x) * -1);
  }
}

@media (min-width: 1024px) {
  .about__figure {
    width: calc(100% + var(--pad-x));
    margin-right: calc(var(--pad-x) * -1);
  }
}

.about__figure img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.about__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 32, 26, 0.25), transparent 50%);
  pointer-events: none;
}

/* ---------- SERVICES ---------- */

.services {
  background: linear-gradient(180deg, var(--bg) 0%, #0d1914 100%);
  border-top: 1px solid var(--border);
}

.services__layout {
  display: grid;
  gap: 40px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .services__layout {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.service-item {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.service-item:last-child {
  border-bottom: 1px solid var(--border);
}

.service-item__btn {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 20px;
  text-align: left;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.service-item__index {
  font-size: 14px;
  color: var(--text-muted);
  min-width: 2ch;
}

.service-item__title {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.1;
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.service-item.is-active .service-item__title,
.service-item__btn:hover .service-item__title {
  color: var(--accent);
}

.service-item__desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
  padding-left: calc(2ch + 20px);
  max-width: 48ch;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s ease, margin 0.35s ease;
  margin-top: 0;
}

.service-item.is-active .service-item__desc {
  max-height: 160px;
  opacity: 1;
  margin-top: 14px;
}

.services__visual {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: var(--bg-elevated);
}

@media (min-width: 1024px) {
  .services__visual {
    min-height: 560px;
  }
}

.services__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease, transform 0.8s var(--ease-out);
}

.services__visual.is-swapping img {
  opacity: 0;
  transform: scale(1.04);
}

/* ---------- PROJECTS ---------- */

.projects {
  background:
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(252, 98, 21, 0.06), transparent 50%),
    var(--bg);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  font-size: 18px;
  padding: 10px 4px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.filter-btn.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.projects__grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 640px) {
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1100px) {
  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

.project {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.project.is-filtered-out {
  display: none;
}

.project__link {
  display: block;
}

.project__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
}

.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.project__link:hover .project__media img {
  transform: scale(1.06);
}

.project__meta {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(0);
  transition: transform 0.35s var(--ease-out);
}

.project__link:hover .project__meta {
  transform: translateY(-4px);
}

.project__title {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
}

.project__info {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- PROCESS ---------- */

.process {
  border-top: 1px solid var(--border);
  background: #0e1a15;
}

.process__timeline {
  display: grid;
  gap: 0;
  counter-reset: none;
}

@media (min-width: 900px) {
  .process__timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
}

.process__step {
  position: relative;
  padding: 28px 0 28px 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .process__step {
    padding: 0 20px 0 0;
    border-top: none;
    border-left: 1px solid var(--border);
    padding-left: 24px;
  }

  .process__step:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.process__num {
  display: block;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.process__title {
  font-size: clamp(22px, 2vw, 28px);
  margin-bottom: 12px;
  line-height: 1.1;
}

.process__text {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 28ch;
}

/* ---------- IMPACT ---------- */

.impact {
  padding-block: clamp(64px, 10vw, 100px);
  background:
    linear-gradient(90deg, rgba(252, 98, 21, 0.12), transparent 40%),
    var(--bg);
  border-block: 1px solid var(--border);
}

.impact__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
}

@media (min-width: 768px) {
  .impact__row {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.impact__value {
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 12px;
}

.impact__value::after {
  content: "+";
  color: var(--accent);
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 2px;
}

.impact__label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ---------- VOICES ---------- */

.voices {
  background: var(--bg);
}

.voices__stage {
  position: relative;
  max-width: 900px;
  min-height: 280px;
}

.voice {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out), visibility 0.5s;
}

.voice.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.voice__quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.voice__by {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voice__by cite {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
}

.voice__by span {
  color: var(--text-muted);
  font-size: 14px;
}

.voices__controls {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}

.voice-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.25s ease, transform 0.25s ease;
}

.voice-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

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

.contact {
  background:
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(252, 98, 21, 0.1), transparent 55%),
    #0d1914;
  border-top: 1px solid var(--border);
}

.contact__grid {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}

@media (min-width: 960px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact__details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.contact__details a {
  transition: color 0.2s ease;
}

.contact__details a:hover {
  color: var(--accent);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  padding: 14px 0;
  color: var(--text);
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFFEFE' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 28px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  font-size: 15px;
  color: var(--accent);
  margin-top: 4px;
}

.form-status.is-error {
  color: #ff8a6a;
}

/* ---------- FOOTER ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  background: var(--bg);
}

.footer__grid {
  display: grid;
  gap: 32px;
}

.footer__logo .logo__word {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 90%;
}

.footer__logo .logo__reg {
  font-size: clamp(16px, 2.5vw, 24px);
  line-height: 1;
}

.footer__logo {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
}

.footer__nav,
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.footer__nav a,
.footer__social a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 18px;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.footer__nav a:hover,
.footer__social a:hover {
  color: var(--accent);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo nav"
      "copy social";
    align-items: end;
    gap: 28px 40px;
  }

  .footer__logo { grid-area: logo; }
  .footer__nav { grid-area: nav; justify-content: flex-end; }
  .footer__social { grid-area: social; justify-content: flex-end; }
  .footer__copy { grid-area: copy; border-top: none; padding-top: 0; }
}
