/* REC STUDIO: Styles */
/* Schriften wie Sentinel: Pixel-Display (Doto) + Geist Mono */
@font-face {
  font-family: "Doto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/doto-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-mono.woff2") format("woff2");
}

:root {
  /* Palette */
  --red: #c30017;
  --red-deep: #8f0011;
  --stone: #bebbba;
  --paper: #eceaea;
  --ink: #262222;
  --ink-deep: #161313;

  /* Rollen */
  --bg: var(--ink);
  --bg-hero: var(--ink-deep);
  --fg: var(--paper);
  --muted: var(--stone);
  --line: rgba(236, 234, 234, 0.12);
  --accent: var(--red);

  --font-display: "Doto", "Geist Mono", ui-monospace, monospace;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);
  --pad: clamp(20px, 5vw, 64px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg-hero);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: 0; line-height: 1.05; text-wrap: balance; }
h3 { margin: 0; font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 44px; padding: 12px 22px;
  font: 400 14px/1 var(--font-mono); letter-spacing: 0;
  text-decoration: none; border-radius: var(--radius); cursor: pointer;
  transition: transform 160ms var(--ease-ui), background-color 200ms ease, filter 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--dark { background: rgba(14, 12, 12, 0.88); color: var(--fg); border: 1px solid rgba(236,234,234,0.08); }
.btn--arrow { padding: 5px 18px 5px 5px; }
.btn--lg { min-height: 52px; font-size: 16px; padding-right: 24px; }
.btn__icon {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 4px;
  background: rgba(236,234,234,0.08); color: var(--fg);
  transition: transform 200ms var(--ease-ui);
}
.btn--lg .btn__icon { width: 42px; height: 42px; }
.btn__icon--accent { background: var(--red); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { filter: brightness(0.9); }
  .btn--dark:hover { background: rgba(30, 26, 26, 0.95); }
  .btn--arrow:hover .btn__icon { transform: translateX(2px); }
  .btn--arrow:hover .btn__icon--accent { background: var(--red-deep); }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 10px max(16px, calc(var(--pad) - 28px));
  transition: background-color 300ms ease;
}
.nav.is-scrolled { background: rgba(22,19,19,0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (prefers-reduced-transparency: reduce) { .nav.is-scrolled { background: var(--ink-deep); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nav__brand {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: 0.02em;
}
.nav__brand img { width: 30px; height: auto; }
.nav__links {
  display: none; align-items: center; gap: 2px;
  padding: 3px; border-radius: 8px; background: var(--paper);
}
.nav__links a {
  font-size: 14px; color: var(--ink); text-decoration: none;
  padding: 8px 18px; border-radius: 6px;
  transition: background-color 200ms ease, color 200ms ease;
}
.nav__links a.is-active { background: #0e0c0c; color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .nav__links a:not(.is-active):hover { background: rgba(38,34,34,0.08); } }
.nav__cta { justify-self: end; }
@media (min-width: 1000px) { .nav__links { display: flex; } }
@media (max-width: 999px) { .nav { grid-template-columns: 1fr auto; } }
@media (max-width: 420px) { .nav__brand span { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-hero);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  filter: grayscale(1) contrast(1.1) brightness(0.85);
  animation: hero-in 2.4s var(--ease-out) both;
}
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 65% at 50% 48%, rgba(22,19,19,0) 0%, rgba(22,19,19,0.55) 70%, rgba(22,19,19,0.92) 100%),
    linear-gradient(to top, rgba(22,19,19,0.95) 0%, rgba(22,19,19,0) 35%),
    linear-gradient(to bottom, rgba(22,19,19,0.7) 0%, rgba(22,19,19,0) 30%);
}
.hero__center {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  text-align: center; padding: clamp(150px, 22vh, 220px) var(--pad) 40px;
}
.hero__eyebrow {
  font-size: clamp(12px, 1.2vw, 15px); letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(236,234,234,0.8); margin-bottom: clamp(28px, 5vh, 64px);
}
.hero__title {
  font-size: clamp(2.4rem, 5.6vw, 5rem); font-weight: 700;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.nw { white-space: nowrap; }
.dot { display: inline-block; width: 0.13em; height: 0.13em; margin-left: 0.06em; background: var(--red); vertical-align: baseline; }
.hero__bottom {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 0 max(16px, calc(var(--pad) - 28px)) clamp(28px, 5vh, 44px);
}
.hero__text { max-width: 400px; font-size: 14px; color: rgba(190,187,186,0.85); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; background: var(--bg); }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .eyebrow { color: var(--red-deep); }
.section--light p { color: #4a4444; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head h2, .cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.section__note { max-width: 340px; color: var(--muted); }
.section__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
/* Rot nur als Strich: rote Schrift auf dunklem Grund hätte zu wenig Kontrast */
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--red); }
.intro .eyebrow { color: var(--red-deep); }

/* Über uns (hell, Text links, Bild rechts) */
.intro {
  background: var(--paper); color: var(--ink);
  display: grid; align-items: center; gap: 40px;
  padding: clamp(80px, 11vw, 140px) var(--pad) 0;
}
.intro__text { max-width: 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.intro__text h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.intro__text p:not(.eyebrow) { color: #4a4444; }
.intro__img { margin: 0; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; max-height: 760px; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
@media (min-width: 960px) { .intro { grid-template-columns: 5fr 6fr; gap: 72px; } .intro__img { aspect-ratio: 5 / 6; } }

.btn--white { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(38,34,34,0.08); }
.btn__icon--ink { background: #0e0c0c; color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--white:hover { background: #f6f5f5; } }

/* Kachel-Raster (Leistungen) */
.bento-section { background: var(--paper); color: var(--ink); padding: clamp(64px, 9vw, 120px) var(--pad) clamp(80px, 11vw, 140px); }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; max-width: 1400px; margin: 0 auto; }
@media (min-width: 960px) { .bento { grid-template-columns: 1fr 1fr 1fr; } }
.bento__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tile { position: relative; border-radius: 12px; padding: 24px; min-width: 0; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.tile p { color: #5a5353; font-size: 14px; }
.tile h3 { font-size: 1.25rem; }
.tile--light { background: #f7f6f6; }
.tile--grow { flex: 1; min-height: 260px; }
.tile--bottom { justify-content: flex-end; }
.tile--img { padding: 0; overflow: hidden; aspect-ratio: 1; background: #ecebeb; }
.tile--img img { width: 100%; height: 100%; object-fit: cover; }
.tile--dark { background: #0e0c0c; color: var(--paper); overflow: hidden; padding: 32px 32px 0; min-height: 640px; }
.tile--dark p { color: rgba(236,234,234,0.78); }
.tile__lead { font-size: 15px; color: var(--paper) !important; }
.tile__dots { margin: auto -32px 0; }
.tile__dots img { width: 100%; height: auto; }
.tile__btn { position: absolute; left: 32px; bottom: 28px; }
.code { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; line-height: 1; color: var(--red-deep); letter-spacing: 0.02em; }
.code--lg { font-size: clamp(2.2rem, 3.4vw, 3rem); color: var(--ink); margin-top: auto; }
.index { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.index li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.index span { font-family: var(--font-display); font-weight: 800; color: var(--muted); min-width: 3.2em; }
.strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #e2dfdf; border-radius: 10px; padding: 8px 8px 8px 20px; }
.strip p { font-size: 14px; color: #4a4444; }
.strip strong { font-weight: 500; color: var(--ink); }
.sq { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 8px; transition: transform 160ms var(--ease-ui), background-color 200ms ease; }
.sq:active { transform: scale(0.95); }
.sq--ink { background: #0e0c0c; color: #fff; }
.sq--red { background: var(--red); color: #fff; }
@media (hover: hover) and (pointer: fine) { .sq--ink:hover { background: var(--ink); } .sq--red:hover { background: var(--red-deep); } }
@media (max-width: 959px) { .tile--dark { min-height: 560px; } }

/* Werte */
.values { display: grid; gap: 14px; max-width: 1400px; margin: 14px auto 0; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { min-height: 280px; }
.value__title { order: 3; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-top: auto; padding-top: 24px; }

/* Einblicke */
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.shot { margin: 0; overflow: hidden; border-radius: 12px; background: var(--ink-deep); aspect-ratio: 2 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .shot:hover img { transform: scale(1.03); } }
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
  .shot:nth-child(even) { margin-top: 96px; }
}

/* Team */
.team { display: grid; gap: 32px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(3, 1fr); } .member__img { aspect-ratio: 4 / 5; } }
.member__img { overflow: hidden; border-radius: 12px; aspect-ratio: 1 / 1; margin-bottom: 18px; background: var(--stone); }
.member__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 400ms ease; }
@media (hover: hover) and (pointer: fine) { .member:hover .member__img img { filter: none; } }
@media (hover: none) { .member__img img { filter: none; } }
.member h3 { font-size: 1.5rem; margin-bottom: 4px; }
.member__ig { display: inline-block; padding: 6px 0; color: var(--red-deep); font-size: 14px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .member__ig:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* Kontakt */
.cta { position: relative; overflow: hidden; padding: clamp(100px, 16vw, 200px) 0; background: var(--ink-deep); }
.cta__media { position: absolute; inset: 0; opacity: 0.22; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: grayscale(1); }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--ink-deep) 15%, rgba(28,25,25,0.6) 100%); }
.cta__inner { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 22px; }
.cta__text { color: var(--muted); max-width: 480px; margin-bottom: 34px; font-size: 1.05rem; }
.cta__mail { font-size: 14px; color: var(--muted); text-underline-offset: 4px; padding: 10px 0; }
@media (hover: hover) and (pointer: fine) { .cta__mail:hover { color: var(--fg); } }

/* Footer */
.footer { background: var(--ink-deep); border-top: 1px solid var(--line); padding: 36px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 13px; color: var(--muted); text-decoration: none; padding: 8px 0; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--fg); } }
.footer__copy { font-size: 13px; color: rgba(190, 187, 186, 0.6); }

/* Rechtliches */
.legal { background: var(--bg); padding: 140px 0 100px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 24px; }
.legal h2 { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal__todo { border-left: 2px solid var(--red); padding-left: 14px; color: var(--fg) !important; }
.legal__meta { font-size: 13px; }
.legal__back { display: inline-block; padding: 12px 0; margin: -12px 0 20px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; color: var(--muted); }
.legal a { text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .legal__back:hover { color: var(--fg); } }

/* ---------- Unterseiten ---------- */
.page { background: var(--bg); padding: 120px 0 0; min-height: 70vh; }
.page__back { display: inline-block; padding: 12px 0; margin: -12px 0 24px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; color: var(--muted); }
.page__title { font-size: clamp(2.4rem, 7vw, 5.4rem); margin-bottom: 24px; }
.page__intro { max-width: 640px; color: var(--muted); font-size: 1.05rem; margin-bottom: clamp(40px, 6vw, 72px); }
.page__h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin: clamp(64px, 9vw, 112px) 0 32px; }
.note-todo { border-left: 2px solid var(--red); padding-left: 14px; margin-bottom: 20px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .page__back:hover { color: var(--fg); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid rgba(236,234,234,0.22); background: transparent; color: var(--fg); font: 400 14px/1.2 var(--font-mono); cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-ui); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):not(:has(input:checked)):hover { border-color: rgba(236,234,234,0.5); } }

.pcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pcards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pcards { grid-template-columns: repeat(3, 1fr); } }
.pcard[hidden] { display: none; }
.pcard a { position: relative; display: block; text-decoration: none; border-radius: 12px; overflow: hidden; background: var(--ink-deep); }
.pcard__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 700ms var(--ease-out), filter 400ms ease; }
.pcard__meta { display: flex; flex-direction: column; gap: 4px; padding: 16px 84px 18px 18px; }
.pcard__cat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-size: 1.05rem; font-weight: 500; }
.pcard__go { position: absolute; right: 12px; bottom: 12px; }
@media (hover: hover) and (pointer: fine) { .pcard a:hover img { transform: scale(1.03); filter: none; } .pcard a:hover .pcard__go { background: var(--red); } }
@media (hover: none) { .pcard__img img { filter: none; } }
.pcards__empty { color: var(--muted); }

.pgrid { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 12px; }
@media (min-width: 760px) { .pgrid { columns: 3; column-gap: 16px; } }
.pgrid li { break-inside: avoid; margin-bottom: 12px; }
.pgrid__item { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--ink-deep); cursor: zoom-in; transition: transform 160ms var(--ease-ui); }
.pgrid__item:active { transform: scale(0.98); }
.pgrid__item img { width: 100%; height: auto; }

.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14,12,12,0.96); color: var(--fg); }
.lightbox::backdrop { background: rgba(14,12,12,0.96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox__count { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: 13px; color: var(--muted); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 8px; background: rgba(236,234,234,0.1); color: var(--fg); font: 400 28px/1 var(--font-mono); cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ease-ui); }
.lightbox__btn:active { transform: scale(0.95); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }
@media (hover: hover) and (pointer: fine) { .lightbox__btn:hover { background: rgba(236,234,234,0.2); } }

.page-cta { margin-top: clamp(80px, 12vw, 140px); padding: clamp(64px, 9vw, 112px) 0; background: var(--ink-deep); border-top: 1px solid var(--line); text-align: center; }
.page-cta p { max-width: 520px; margin: 0 auto 28px; font-size: 1.1rem; }

.lsections { display: grid; gap: 14px; color: var(--ink); }
@media (min-width: 760px) { .lsections { grid-template-columns: 1fr 1fr; } }
.lsections h2 { font-family: var(--font-mono); font-weight: 500; font-size: 1.15rem; }
.lsections .tile { min-height: 180px; }
.lmore { margin-top: clamp(64px, 9vw, 112px); max-width: 640px; }
.index a { display: flex; gap: 16px; align-items: baseline; width: 100%; padding: 12px 0; text-decoration: none; }
.index li:has(a) { padding: 0; }
@media (hover: hover) and (pointer: fine) { .index a:hover { color: var(--fg); } .index a:hover span { color: var(--red); } }

/* Anfrage */
.contact { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: 5fr 8fr; gap: 32px; } .contact__aside { position: sticky; top: 96px; } }
.contact__aside { min-height: 0; padding: 32px; gap: 8px; }
.contact__aside h2 { font-size: 1.8rem; margin-bottom: 16px; }
.contact__label { margin-top: 16px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted) !important; }
.contact__aside a { color: var(--paper); text-underline-offset: 4px; word-break: break-word; }
.contact__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact__copy { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(236,234,234,.25); border-radius: 50%; background: none; color: var(--paper); cursor: pointer; transition: border-color .2s ease, transform .12s ease; }
.contact__copy:hover { border-color: var(--paper); }
.contact__copy:active { transform: scale(.94); }
.contact__copy:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.contact__copied { font-size: 12px; color: var(--muted); }
.contact__btn { margin-top: 24px; align-self: flex-start; color: var(--ink) !important; text-decoration: none; }
.field--wide { grid-column: 1 / -1; }
.form { display: flex; flex-direction: column; gap: 16px; }
.fcard { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.fcard legend { padding: 0 8px; margin-left: -8px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.fcard .chips { margin: 8px 0 20px; }
.fgrid { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } }
.field { display: block; min-width: 0; margin-top: 8px; }
.field > span, .field__label { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field__label { margin-top: 8px; }
.field input, .field textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(236,234,234,0.2); border-radius: 8px; background: var(--ink-deep); color: var(--fg); font: 400 16px/1.4 var(--font-mono); color-scheme: dark; transition: border-color 200ms ease; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(190,187,186,0.5); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--paper); }
[data-touched]:invalid { border-color: #ff6b6b !important; }
.field__error { display: block; margin-top: 6px; font-size: 13px; color: #ff8a8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); }
.consent a { color: var(--fg); text-underline-offset: 3px; }
.form__error { color: #ff8a8a; font-size: 14px; }
.form__submit { align-self: flex-start; }
.form__submit[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.form__note { font-size: 13px; color: var(--muted); }
.form-done { padding: 32px; border: 1px solid var(--line); border-radius: 12px; outline: none; }
.form-done__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.form-done__text { color: var(--muted); max-width: 520px; margin-bottom: 24px; }

/* ---------- Motion ---------- */
.fade-up { opacity: 0; animation: fade-up 0.7s var(--ease-out) var(--d, 0s) forwards; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes hero-in { from { transform: scale(1.08); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--stagger, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms cubic-bezier(0.77, 0, 0.175, 1); transition-delay: var(--stagger, 0ms); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { animation: none; opacity: 1; }
  .hero__media img { animation: none; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .btn:active, .sq:active { transform: none; opacity: 0.8; }
  .js .reveal-img { clip-path: none; opacity: 0; transition: opacity 300ms ease; }
  .js .reveal-img.is-in { opacity: 1; }
  .shot img { transition: none; }
}
