/* ==========================================================================
   purfecto — Design & Consulting
   style.css — Design tokens, base styles, layout, components
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --c-void: #0b0c0e;
  --c-anthracite: #1c1f23;
  --c-anthracite-soft: #33373d;
  --c-paper: #f6f4f0;
  --c-white: #ffffff;
  --c-ink: #24262a;
  --c-mist: #85888d;
  --c-line: rgba(11, 12, 14, 0.1);
  --c-line-invert: rgba(255, 255, 255, 0.14);
  --c-accent: #ff5a1f;
  --c-accent-dark: #d84a15;
  --c-accent-soft: #ffe6d9;

  /* Type */
  --f-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* Scale */
  --step-hero: clamp(2.6rem, 5.2vw + 1rem, 5.6rem);
  --step-h1: clamp(2.2rem, 3.2vw + 1rem, 3.4rem);
  --step-h2: clamp(1.7rem, 2vw + 1rem, 2.4rem);
  --step-h3: clamp(1.25rem, 1vw + 1rem, 1.6rem);
  --step-body: 1.0625rem;
  --step-small: 0.875rem;
  --step-eyebrow: 0.8rem;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--c-void);
}

p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

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

/* ---------- Layout utilities ---------- */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--dark {
  background: var(--c-void);
  color: var(--c-paper);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--c-white);
}

.section--paper-alt {
  background: var(--c-white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-mono);
  font-size: var(--step-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section--dark .eyebrow {
  color: var(--c-accent);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--wide {
  max-width: 760px;
}

.section-head p {
  margin-top: 1.1rem;
  color: var(--c-mist);
  font-size: 1.05rem;
}

.section--dark .section-head p {
  color: rgba(246, 244, 240, 0.68);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
}

.btn-primary:hover {
  background: var(--c-accent-dark);
}

.btn-ghost {
  border-color: var(--c-line);
  color: var(--c-void);
}

.btn-ghost:hover {
  border-color: var(--c-void);
}

.section--dark .btn-ghost {
  border-color: var(--c-line-invert);
  color: var(--c-white);
}

.section--dark .btn-ghost:hover {
  border-color: var(--c-white);
}

.btn-arrow {
  display: inline-flex;
  transition: transform 0.35s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header.is-scrolled {
  background: rgba(246, 244, 240, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--c-line);
  padding-block: 0.75rem;
}

.logo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--c-void);
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.logo span {
  color: var(--c-accent);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav-desktop a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: 0.3rem;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-desktop a.is-active {
  color: var(--c-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--c-void);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Offcanvas */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--c-void);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
}

.nav-mobile.is-open {
  transform: translateY(0);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-mobile a {
  font-family: var(--f-display);
  font-size: clamp(2rem, 8vw, 2.8rem);
  font-weight: 700;
  padding-block: 0.4rem;
  display: inline-block;
}

.nav-mobile .mobile-meta {
  margin-top: 2.5rem;
  color: rgba(246, 244, 240, 0.6);
  font-family: var(--f-mono);
  font-size: 0.85rem;
}

.nav-mobile .mobile-meta a {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--c-accent);
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 16vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--c-paper);
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle at 30% 30%, var(--c-accent-soft), transparent 68%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-mono);
  font-size: var(--step-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 1.4rem;
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero h1 {
  font-size: var(--step-hero);
  max-width: 15ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--c-accent);
}

.hero-lede {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: 1.15rem;
  color: var(--c-anthracite-soft);
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-aside {
  border-left: 1px solid var(--c-line);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-aside p {
  font-size: 1rem;
  color: var(--c-anthracite-soft);
  max-width: 34ch;
}

.hero-aside .hero-pillars {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-pillars li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--c-void);
}

.hero-pillars li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.45; }
}

/* ---------- Marquee strip ---------- */
.marquee {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
  background: var(--c-white);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--c-void);
  padding-inline: 1.6rem;
  opacity: 0.85;
}

.marquee-track span::after {
  content: "\2022";
  color: var(--c-accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  padding: 2.2rem 2rem;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 24px 48px -20px rgba(11, 12, 14, 0.25);
}

.service-card .index {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--c-accent);
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-size: var(--step-h3);
  margin-top: 1.1rem;
}

.service-card p {
  margin-top: 0.8rem;
  color: var(--c-mist);
  font-size: 0.98rem;
}

.service-card .tags {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-card .tags span {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--c-paper);
  color: var(--c-anthracite-soft);
}

.service-card .card-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-void);
}

.service-card .card-link svg {
  transition: transform 0.35s var(--ease);
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

/* ---------- Manifesto / process stack (Arbeitsweise) ---------- */
.manifesto {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.manifesto-stack {
  border-left: 1px solid var(--c-line-invert);
}

.manifesto-item {
  position: relative;
  padding: 1.7rem 0 1.7rem 2.1rem;
  border-bottom: 1px solid var(--c-line-invert);
}

.manifesto-item:last-child {
  border-bottom: none;
}

.manifesto-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 2rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-accent);
  transform: translateX(-50%);
}

.manifesto-item h4 {
  font-size: 1.15rem;
  color: var(--c-white);
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.manifesto-item .step-tag {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--c-accent);
  letter-spacing: 0.1em;
}

.manifesto-item p {
  margin-top: 0.6rem;
  color: rgba(246, 244, 240, 0.66);
  font-size: 0.98rem;
  max-width: 46ch;
}

/* ---------- Stats / Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.why-card {
  border-top: 1px solid var(--c-line);
  padding-top: 1.4rem;
}

.why-card .num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--c-void);
}

.why-card .label {
  margin-top: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-mist);
}

/* ---------- Project / work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(11, 12, 14, 0.25);
}

.work-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--c-anthracite), var(--c-void));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  overflow: hidden;
}

.work-media .work-type {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(11, 12, 14, 0.5);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.work-body {
  padding: 1.4rem 1.5rem 1.7rem;
}

.work-body h3 {
  font-size: 1.15rem;
}

.work-body p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--c-mist);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-bar button {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-anthracite-soft);
  transition: all 0.3s var(--ease);
}

.filter-bar button.is-active,
.filter-bar button:hover {
  background: var(--c-void);
  border-color: var(--c-void);
  color: var(--c-white);
}

/* ---------- Promise / values (replaces generic testimonial defaults) ---------- */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.promise-card {
  padding: 2rem;
  border-radius: var(--radius-m);
  background: var(--c-white);
  border: 1px solid var(--c-line);
}

.promise-card .quote-mark {
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: var(--c-accent);
  line-height: 1;
}

.promise-card p {
  margin-top: 1rem;
  font-size: 1.02rem;
  color: var(--c-anthracite-soft);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-l);
  background: var(--c-void);
  color: var(--c-white);
  padding: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 90, 31, 0.25), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(255, 90, 31, 0.18), transparent 50%);
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  color: var(--c-white);
  font-size: var(--step-h1);
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band p {
  margin-top: 1.1rem;
  color: rgba(246, 244, 240, 0.7);
  max-width: 50ch;
  margin-inline: auto;
}

.cta-band .btn-row {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-void);
  color: rgba(246, 244, 240, 0.7);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--c-line-invert);
}

.footer-brand .logo {
  color: var(--c-white);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 32ch;
  font-size: 0.95rem;
}

.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.6rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-bottom .made {
  font-family: var(--f-mono);
  color: rgba(246, 244, 240, 0.45);
}

/* ---------- Inner page hero ---------- */
.page-hero {
  padding-top: clamp(8rem, 15vw, 10.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background: var(--c-paper);
}

.page-hero .eyebrow {
  color: var(--c-accent-dark);
}

.page-hero h1 {
  font-size: var(--step-h1);
  max-width: 22ch;
}

.page-hero p {
  margin-top: 1.2rem;
  max-width: 56ch;
  font-size: 1.08rem;
  color: var(--c-anthracite-soft);
}

.breadcrumb {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--c-mist);
  margin-bottom: 1.6rem;
}

.breadcrumb a {
  color: var(--c-mist);
}

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

/* ---------- Leistungen detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--c-line);
}

.service-detail:first-of-type {
  border-top: none;
}

.service-detail .num-tag {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--c-accent);
}

.service-detail h2 {
  font-size: var(--step-h2);
  margin-top: 0.8rem;
}

.service-detail-body p {
  color: var(--c-anthracite-soft);
  font-size: 1.02rem;
}

.service-detail-body p + p {
  margin-top: 1rem;
}

.check-list {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--c-ink);
}

.check-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
}

/* ---------- Über uns ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, var(--c-anthracite), var(--c-void));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.8rem;
}

.about-portrait .cap {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: rgba(246, 244, 240, 0.75);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.value-card h4 {
  font-size: 1.05rem;
}

.value-card .tag {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-card p {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--c-mist);
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-info-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--c-line-invert);
}

.contact-info-item:first-child {
  border-top: none;
}

.contact-info-item .tag {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-item p,
.contact-info-item a {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-white);
}

.map-embed {
  margin-top: 1.6rem;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--c-line-invert);
  aspect-ratio: 16/10;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-card {
  background: var(--c-white);
  border-radius: var(--radius-l);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--c-ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-mist);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  padding: 0.85rem 1rem;
  font-family: var(--f-body);
  font-size: 0.98rem;
  background: var(--c-paper);
  color: var(--c-ink);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-accent);
  background: var(--c-white);
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--c-mist);
}

.field-check input {
  margin-top: 0.3rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--c-mist);
}

/* ---------- Legal pages ---------- */
.legal {
  padding-block: clamp(2rem, 5vw, 3rem) clamp(5rem, 8vw, 7rem);
  max-width: 780px;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--c-anthracite-soft);
  font-size: 0.98rem;
  margin-bottom: 0.7rem;
}

.legal a {
  color: var(--c-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal ul {
  list-style: disc;
  padding-left: 1.3rem;
}

/* ---------- Scroll reveal base state ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  animation: revealUp var(--dur) var(--ease) forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
