/* ==========================================================================
   BUDMAR: Budujemy od fundamentów
   One page, read as a building-permit drawing set (sheets A-00 to A-07).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ground: #1A1A1A;
  --ground-2: #242424;
  --graphite: #2C2C2C;
  --sand: #D4C5A9;
  --rust: #B85C38;
  --rust-deep: #A3502F;
  --concrete: #E8E0D5;
  --text: #C4BDB2;
  --muted: #968F86;
  --bronze: #A67C52;
  --err: #E39270;

  --line: rgba(212, 197, 169, .3);
  --hair: rgba(212, 197, 169, .14);
  --mesh: rgba(166, 124, 82, .34);

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1440px;
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  --nav-h: 72px;
  --sec-pad: clamp(104px, 15vh, 176px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ground);
  scrollbar-color: #4a4640 var(--ground);
  -webkit-text-size-adjust: 100%;
}
html.has-smoother { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--rust);
  overflow-x: hidden;
}

::selection { background: var(--rust); color: var(--concrete); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #4a4640; border: 3px solid var(--ground); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--sand); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }

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

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--concrete); color: var(--ground); padding: 12px 18px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

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

/* ---------- Type ---------- */
.h2 {
  margin: 0;
  font: 800 clamp(2.75rem, 6.2vw, 6rem)/.9 var(--display);
  text-transform: uppercase;
  color: var(--concrete);
  letter-spacing: -.005em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(2.25rem, 3.4vw, 3.25rem); }
.h2 .hl { clip-path: inset(-.5em -.3em 0 -.3em); }

.lead { max-width: 46ch; color: var(--text); }

/* ---------- Film grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 90;
  pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .88 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-4%, 2%); }
  34% { transform: translate(3%, -5%); }
  51% { transform: translate(-6%, 4%); }
  68% { transform: translate(5%, 3%); }
  85% { transform: translate(-2%, -4%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 26px 16px;
  font: 800 1.25rem/1 var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .25s, transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease-out); }
.btn--rust { background: var(--rust); color: var(--concrete); }
.btn--rust:hover {
  background: var(--rust-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(184, 92, 56, .75);
}
.btn--rust:hover svg { transform: translateX(4px); }
.btn:disabled { cursor: progress; background: var(--rust-deep); transform: none; box-shadow: none; }

/* ---------- Title blocks (sheet stamps) ---------- */
.tb {
  position: absolute;
  right: var(--edge);
  bottom: 26px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto auto;
  border: 1px solid var(--hair);
  color: var(--sand);
  opacity: .62;
  font: 600 .625rem/1 var(--body);
  font-stretch: 80%;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}
.tb > span { padding: 7px 10px 6px; }
.tb__sheet {
  grid-row: span 2;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--hair);
  font: 800 1.125rem/1 var(--display);
  letter-spacing: .04em;
  color: var(--concrete);
}
.tb__name { border-bottom: 1px solid var(--hair); color: var(--concrete); }
.tb__meta { color: var(--muted); }

/* ---------- Image placeholders (the drawn "opening" cross) ---------- */
.ph { position: relative; margin: 0; background: var(--ground-2); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.is-empty img { visibility: hidden; }
.ph.is-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--hair);
  background:
    linear-gradient(to top right, transparent calc(50% - .6px), var(--hair) 50%, transparent calc(50% + .6px)),
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--hair) 50%, transparent calc(50% + .6px));
}
.ph.is-empty::after {
  content: attr(data-ph);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 11px 6px;
  background: var(--ground-2);
  border: 1px solid var(--hair);
  color: var(--muted);
  font: 600 .6875rem/1.2 var(--body);
  font-stretch: 80%;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .45s, border-color .45s;
}
.nav.is-solid { background: var(--ground); border-bottom-color: var(--hair); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav__logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--concrete);
  font: 900 1.625rem/1 var(--display);
  letter-spacing: .05em;
}
.nav__logo svg { width: 26px; height: 26px; fill: none; stroke: var(--sand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); margin: 0; padding: 0; list-style: none; }
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
  font: 600 .8125rem/1 var(--body);
  font-stretch: 85%;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--concrete); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__links .nav__cta { padding: 12px 18px 11px; border: 1px solid var(--rust); color: var(--concrete); transition: background-color .25s, border-color .25s; }
.nav__links .nav__cta::after { display: none; }
.nav__links .nav__cta:hover { background: var(--graphite); border-color: var(--sand); }

.nav__toggle {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--concrete);
  font: 600 .8125rem/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav__toggle i { position: relative; width: 26px; height: 9px; }
.nav__toggle i::before, .nav__toggle i::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--sand);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav__toggle i::before { top: 0; }
.nav__toggle i::after { top: 7.5px; }
.menu-open .nav__toggle i::before { top: 4px; transform: rotate(45deg); }
.menu-open .nav__toggle i::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav__in > nav { display: contents; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: calc(var(--nav-h) + 16px) var(--gutter) 48px;
    background: var(--ground);
  }
  .menu-open .nav__links { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--hair); }
  .nav__links a, .nav__links .nav__cta {
    display: block;
    padding: 16px 0 12px;
    border: 0;
    font: 800 clamp(2.25rem, 10vw, 3.25rem)/1 var(--display);
    letter-spacing: .02em;
    color: var(--concrete);
  }
  .nav__links .nav__cta { color: var(--rust); }
  .nav__links a::after { display: none; }
}

/* ==========================================================================
   The setting-out string (one line through the whole page)
   ========================================================================== */
.site-string {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  display: none;
}
.has-string .site-string { display: block; }
.site-string__path { fill: none; stroke: var(--sand); stroke-width: 1; opacity: .62; }
.site-string__tip { fill: var(--sand); }
.site-string__peg { fill: var(--ground); stroke: var(--sand); stroke-width: 1; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease-out); }
.site-string__peg.is-set { transform: scale(1); }

/* A run is where the string crosses a section. Without the live string it is a plain line. */
.run { position: relative; height: 1px; background: var(--line); }
.has-string .run { background: transparent; }

/* ==========================================================================
   Sections, shared
   ========================================================================== */
#smooth-content { position: relative; }
main { position: relative; overflow-x: clip; } /* off-screen entrance offsets must never widen the layout viewport on phones (ScrollSmoother overrides overflow on its wrapper) */
main:focus, [tabindex="-1"]:focus { outline: none; }
.menu-open body { overflow: hidden; }
.stats__title { margin-bottom: clamp(48px, 8vh, 88px); }
.quotes__run { margin-bottom: 0; }
.sec { position: relative; z-index: 2; padding-block: var(--sec-pad); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.sec__head .lead { flex: 0 1 38ch; padding-bottom: .35em; }
.sec__run { margin: 30px 0 clamp(48px, 7vh, 80px); }

/* ==========================================================================
   A-00 Hero
   ========================================================================== */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  isolation: isolate;
  background: var(--ground);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(90% 70% at 72% 18%, #34312c 0%, rgba(44, 44, 44, .4) 38%, transparent 70%),
    linear-gradient(180deg, #232120 0%, #1A1A1A 100%);
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26, 26, 26, .62) 0%, rgba(26, 26, 26, .2) 36%, rgba(26, 26, 26, .78) 72%, #1A1A1A 100%);
}
/* the hero and the nav run full width: BUDMAR sits on the left gutter on every screen size */
.nav__in, .hero__in { max-width: none; }
.hero .tb { right: var(--gutter); }
.hero .lvl { left: var(--gutter); }
.hero__in {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding-top: calc(var(--nav-h) + clamp(28px, 7vh, 96px));
  padding-bottom: clamp(44px, 6.5vh, 64px);
}
.hero__intro { position: relative; max-width: 36rem; text-shadow: 0 1px 16px rgba(0, 0, 0, .6), 0 1px 2px rgba(0, 0, 0, .35); }
.hero__intro::before { content: ""; position: absolute; inset: -70px -140px -60px -240px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 40% 50%, rgba(26, 26, 26, .62) 0%, rgba(26, 26, 26, .35) 45%, rgba(26, 26, 26, 0) 72%); }
.hero__intro .lead { color: var(--concrete); }
.hero__tagline {
  margin: 0 0 20px;
  font: 800 clamp(2.125rem, 3.6vw, 3.5rem)/1 var(--display);
  text-transform: uppercase;
  color: var(--concrete);
  letter-spacing: .005em;
}
/* bottom line: BUDMAR on the left, the actions on the right, both resting on the baseline string */
.hero__site {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: clamp(24px, 3vw, 56px);
}
.hero__word { width: min(48.5vw, 712px); margin: 0; line-height: 0; }
.hero__word-text {
  display: block;
  font: 900 clamp(4rem, 13.5vw, 13rem)/.74 var(--display);
  color: var(--concrete);
  letter-spacing: .01em;
}
.hero__word svg { width: 100%; height: auto; overflow: visible; }
.hero__word.is-built .hero__word-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.word text { font-family: var(--display); font-weight: 900; font-size: 1000px; fill: var(--concrete); }

.hero__actions { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 28px; }
.hero__actions .hero__phone { order: -1; }
.hero .tb { top: calc(var(--nav-h) + 22px); bottom: auto; }
.hero__phone {
  color: var(--concrete);
  text-decoration: none;
  font: 600 .9375rem/1 var(--body);
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__phone svg { width: 16px; height: 16px; fill: none; stroke: var(--sand); stroke-width: 1.6; }
.hero__phone:hover { color: var(--sand); text-decoration: underline; }

/* strings + batter boards: positioned by JS on the word's cap line and baseline */
.hstring { position: absolute; left: 0; right: 0; height: 24px; margin-top: -12px; pointer-events: none; display: none; }
.has-hero .hstring { display: block; }
.hstring svg { width: 100%; height: 100%; overflow: visible; transform-origin: left center; }
.hstring path { fill: none; stroke: var(--sand); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hstring--cap svg { transform-origin: right center; }
.hstring .board { position: absolute; top: -6px; width: 26px; height: 40px; fill: none; stroke: var(--sand); stroke-width: 1.4; stroke-linecap: round; }
.hstring .board--l { left: 6px; }
.hstring .board--r { right: 6px; }

.ground {
  position: absolute;
  left: 0; right: 0;
  height: 20px;
  display: none;
  background: repeating-linear-gradient(135deg, rgba(212, 197, 169, .16) 0 1px, transparent 1px 10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  transform-origin: left;
}
.has-hero .ground { display: block; }
.lvl {
  position: absolute;
  left: var(--edge);
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: var(--sand);
  font: 600 .6875rem/1 var(--body);
  letter-spacing: .12em;
}
.lvl svg { width: 11px; height: 8px; fill: var(--sand); }
.has-hero .lvl { display: inline-flex; }

/* the sheet frame the timelapse settles into */
.hero { --fi-t: calc(var(--nav-h) + 14px); --fi-x: clamp(10px, 1.7vw, 26px); --fi-b: clamp(12px, 1.7vw, 26px); }
.hero__dusk { position: absolute; inset: 0; z-index: -1; background: var(--ground); opacity: 0; pointer-events: none; }
.hero__frame {
  position: absolute;
  top: var(--fi-t); left: var(--fi-x); right: var(--fi-x); bottom: var(--fi-b);
  z-index: 1;
  border: 1px solid var(--sand);
  opacity: 0;
  pointer-events: none;
}
.crop { position: absolute; width: 16px; height: 16px; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--sand); }
.crop::before { width: 12px; height: 1px; }
.crop::after { width: 1px; height: 12px; }
.crop--tl { left: -1px; top: -1px; } .crop--tl::before { right: calc(100% + 5px); top: 0; } .crop--tl::after { left: 0; bottom: calc(100% + 5px); }
.crop--tr { right: -1px; top: -1px; } .crop--tr::before { left: calc(100% + 5px); top: 0; } .crop--tr::after { right: 0; bottom: calc(100% + 5px); }
.crop--bl { left: -1px; bottom: -1px; } .crop--bl::before { right: calc(100% + 5px); bottom: 0; } .crop--bl::after { left: 0; top: calc(100% + 5px); }
.crop--br { right: -1px; bottom: -1px; } .crop--br::before { left: calc(100% + 5px); bottom: 0; } .crop--br::after { right: 0; top: calc(100% + 5px); }
.hero__corner {
  position: absolute;
  top: calc(var(--fi-t) + 20px);
  right: calc(var(--fi-x) + 24px);
  z-index: 2;
  margin: 0;
  color: var(--sand);
  font: 600 .6875rem/1 var(--body);
  font-stretch: 75%;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
  opacity: 0;
}
.timeline {
  position: absolute;
  left: calc(var(--fi-x) + clamp(18px, 3vw, 48px));
  right: calc(var(--fi-x) + clamp(18px, 3vw, 48px));
  bottom: calc(var(--fi-b) + clamp(18px, 3.6vh, 38px));
  z-index: 2;
  display: none;
  pointer-events: none;
}
.has-hero .timeline { display: block; }
.timeline__labels { display: grid; margin: 0 0 clamp(18px, 3vh, 28px); padding: 0; list-style: none; }
.tl-label { grid-area: 1 / 1; align-self: end; opacity: 0; }
.tl-label strong {
  display: block;
  font: 800 clamp(2.75rem, 6.4vw, 6rem)/.88 var(--display);
  text-transform: uppercase;
  color: var(--concrete);
  text-shadow: 0 2px 22px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .4);
}
.tl-label span {
  display: block;
  margin-top: 12px;
  font: 600 clamp(.9375rem, 1.3vw, 1.125rem)/1.2 var(--body);
  letter-spacing: .04em;
  color: var(--concrete);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
.timeline__bar { display: flex; align-items: center; gap: 18px; opacity: 0; }
.timeline__num { flex: none; width: 2.2ch; font: 800 1.375rem/1 var(--display); color: var(--concrete); letter-spacing: .02em; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.timeline__track { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tl-seg { position: relative; height: 3px; background: rgba(212, 197, 169, .32); overflow: hidden; }
.tl-seg i { position: absolute; inset: 0; background: var(--rust); transform: scaleX(0); transform-origin: left; }

/* hidden until the load choreography runs (watchdog in <head> removes .js on failure) */
.js .hero__intro, .js .hero__actions, .js .hero__word-text, .js .nav { opacity: 0; }

@media (max-width: 899px) {
  .hero__actions { flex-direction: column; align-items: flex-end; gap: 14px; }
  .hero__actions .hero__phone { order: 0; }
  .hero__actions .btn { padding: 14px 18px 13px; }
}
@media (max-width: 600px) {
  .hero__site { grid-template-columns: 1fr; }
  .hero__word { width: 100%; }
  .hero__video { object-position: 30% 50%; }
  .hero__actions { justify-content: flex-start; flex-direction: row; flex-wrap: wrap; gap: 20px 28px; align-items: center; margin-top: 52px; }
}
@media (max-width: 760px) {
  .hero__in { justify-content: flex-end; gap: 40px; padding-bottom: 72px; }
  .hero__intro { margin-bottom: auto; }
  .hero .tb { display: none; }
  .hero { --fi-t: calc(var(--nav-h) + 6px); }
  .tl-label strong { font-size: clamp(2.25rem, 11vw, 3rem); }
  .tl-label span { margin-top: 8px; }
  .timeline__bar { gap: 12px; }
  .timeline__num { font-size: 1.125rem; }
  .hero__corner { font-size: .625rem; letter-spacing: .2em; }
}

/* ==========================================================================
   A-01 O nas
   ========================================================================== */
.about__title { max-width: 15ch; }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(20px, 2.4vw, 36px); align-items: start; }
.about__text { grid-column: 1 / span 6; }
.about__media { grid-column: 8 / -1; aspect-ratio: 4 / 5; max-height: 78vh; }
.unroll { position: relative; }
.unroll__sheet > p + p { margin-top: 1.2em; }
.unroll__sheet > p:first-child { font-size: 1.25rem; line-height: 1.55; color: var(--concrete); }
.unroll__roll {
  position: absolute;
  left: -10px;
  right: -10px;
  top: 0;
  height: 14px;
  margin-top: -7px;
  display: none;
  border-radius: 7px;
  background: linear-gradient(180deg, #8d8270 0%, #e6dac2 38%, #D4C5A9 55%, #6f6656 100%);
  box-shadow: 0 10px 16px -8px rgba(0, 0, 0, .7);
}
.has-unroll .unroll__roll { display: block; }
.about__sign { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font: 600 .75rem/1.4 var(--body); font-stretch: 85%; letter-spacing: .14em; text-transform: uppercase; }
.about__sign span { display: inline-flex; align-items: center; gap: 10px; }
.about__sign span::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--sand); }

@media (max-width: 899px) {
  .about__text, .about__media { grid-column: 1 / -1; }
  .about__media { max-height: none; aspect-ratio: 4 / 4.4; }
}

/* ==========================================================================
   A-02 Proces budowy (pinned)
   ========================================================================== */
.process { position: relative; z-index: 3; background: var(--ground); }
.process__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  padding: calc(var(--nav-h) + 16px) 0 40px;
  overflow: hidden;
}
.process:not(.is-staged) .process__pin { height: auto; padding-block: var(--sec-pad); }
.process__paper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 197, 169, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 197, 169, .055) 1px, transparent 1px),
    linear-gradient(rgba(212, 197, 169, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 197, 169, .025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 62% 55%, #000 35%, transparent 90%);
  mask-image: radial-gradient(ellipse 75% 70% at 62% 55%, #000 35%, transparent 90%);
}
.process__layout { position: relative; height: 100%; display: grid; grid-template-columns: minmax(290px, 340px) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); }
.process__side { display: flex; flex-direction: column; gap: 22px; min-height: 0; padding-top: 8px; }
.process__intro { font-size: .9375rem; color: var(--muted); max-width: 32ch; }

.stages { display: grid; }
.stage { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; }
.process:not(.is-staged) .stage { grid-area: auto; margin-bottom: 36px; }
.is-staged .stage { visibility: hidden; }
.is-staged .stage.is-active { visibility: visible; }
.stage__count { font: 900 clamp(3.5rem, 5.6vw, 5.5rem)/.8 var(--display); color: var(--concrete); letter-spacing: -.01em; }
.stage__count small { font-size: .38em; color: var(--muted); letter-spacing: .04em; margin-left: 4px; }
.stage__name { margin: 0; font: 800 clamp(2.25rem, 3.1vw, 3rem)/.92 var(--display); text-transform: uppercase; color: var(--concrete); }
.stage__legal {
  align-self: flex-start;
  padding: 6px 10px 5px;
  border: 1.5px solid var(--sand);
  color: var(--sand);
  font: 700 .6875rem/1 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.stage__desc { font-size: .9375rem; line-height: 1.6; max-width: 34ch; }

.stage-nav { margin: auto 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.stage-nav button {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  row-gap: 8px;
  padding: 8px 0 6px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--muted);
  font: 600 .75rem/1 var(--body);
  font-stretch: 85%;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .25s;
}
.stage-nav button:hover { color: var(--concrete); }
.stage-nav b { font: 800 1.25rem/1 var(--display); letter-spacing: .02em; }
.stage-nav__bar { grid-column: 1 / -1; height: 1px; background: var(--hair); position: relative; overflow: hidden; }
.stage-nav__bar i { position: absolute; inset: 0; background: var(--sand); transform: scaleX(0); transform-origin: left; }
.stage-nav [aria-current="step"] { color: var(--concrete); }
.stage-nav [aria-current="step"] b { color: var(--rust); }
.stage-nav [aria-current="step"] .stage-nav__bar i { background: var(--rust); }
.process:not(.is-staged) .stage-nav { display: none; }

.process__drawing { position: relative; min-height: 0; min-width: 0; }
.plan { width: 100%; height: 100%; overflow: visible; }
.plan .ln { fill: none; stroke: var(--sand); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.plan .ln--fine { stroke-width: .75; }
.plan .ln--dash { stroke-width: .75; stroke-dasharray: 5 4; }
.plan .tri { fill: var(--sand); }
.plan text { font: 600 11px var(--body); letter-spacing: .08em; fill: var(--sand); }
.plan .note--dim text { fill: var(--muted); }
.plan__ghost { opacity: .2; }
.plan__ghost .ln { stroke-width: .75; stroke-dasharray: 1.5 4 !important; }
.plan__courses path { fill: none; stroke: var(--sand); stroke-width: .55; opacity: .34; }
.plan__clad path { fill: none; stroke: var(--sand); stroke-width: .6; opacity: .5; }
.plan__render { fill: var(--graphite); opacity: .92; }

@media (max-width: 899px) {
  .process__pin { padding-top: calc(var(--nav-h) + 4px); padding-bottom: 28px; }
  .process__layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 12px; }
  .process__side { gap: 12px; padding-top: 0; }
  .process__intro, .stage-nav { display: none; }
  .stage { gap: 10px; }
  .stage__desc { max-width: 52ch; font-size: .875rem; }
  .process .tb { display: none; }
}
@media (max-height: 760px) and (min-width: 900px) {
  .process__intro { display: none; }
  .stage-nav button { padding-block: 6px 4px; }
}

/* ==========================================================================
   A-03 Nasze liczby
   ========================================================================== */
.stats__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 44px); align-items: start; }
.stat { position: relative; padding-bottom: 26px; }
.stat__num { margin: 0 0 18px; font: 900 clamp(4rem, 9.4vw, 9.5rem)/.8 var(--display); color: var(--rust); letter-spacing: -.01em; }
.num { position: relative; display: inline-flex; vertical-align: top; }
.num__layer { display: inline-flex; }
.num__layer--fill { position: absolute; inset: 0; clip-path: inset(var(--rise, 0%) 0 0 0); }
.num__layer--ghost {
  color: transparent;
  background-image:
    repeating-linear-gradient(0deg, var(--mesh) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, var(--mesh) 0 1px, transparent 1px 6px);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(166, 124, 82, .42);
}
.cell { display: inline-block; text-align: center; }
.cell--d { width: .52em; }
.num__floor { position: absolute; left: -6px; right: -6px; top: var(--rise, 0%); height: 1px; background: var(--sand); opacity: 0; }
.stat__label { font: 500 1.0625rem/1.35 var(--body); color: var(--concrete); max-width: 15ch; padding-top: 14px; border-top: 1px solid var(--hair); }

@media (max-width: 899px) {
  .stats__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .stat__num { font-size: clamp(3.5rem, 15vw, 6rem); }
}

/* ==========================================================================
   A-04 Usługi: a wall in running bond, with rebar mesh depth on hover
   ========================================================================== */
.wall { --gap: 10px; position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--gap); }
.brick { position: relative; grid-column: span 2; min-height: clamp(214px, 28vh, 268px); }
.brick::before { content: ""; position: absolute; inset: 0; border: 1px dashed rgba(212, 197, 169, .2); }
.brick__body { position: relative; height: 100%; }
.brick__face {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2vw, 30px);
  background: var(--graphite);
  border: 1px solid rgba(212, 197, 169, .1);
  transition: transform .55s var(--ease-out), border-color .3s, box-shadow .55s var(--ease-out), opacity .45s, filter .45s;
}
.brick__icon { width: 44px; height: 44px; margin-bottom: auto; fill: none; stroke: var(--sand); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.brick__title { margin: 26px 0 10px; font: 800 clamp(1.5rem, 1.9vw, 1.875rem)/1 var(--display); text-transform: uppercase; color: var(--concrete); }
.brick__desc { font-size: .9375rem; line-height: 1.55; }
.closer {
  grid-column: span 1;
  border: 1px solid var(--hair);
  background: repeating-linear-gradient(45deg, rgba(212, 197, 169, .09) 0 1px, transparent 1px 9px);
}
.wall::after {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s;
  background-image:
    repeating-linear-gradient(0deg, var(--mesh) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, var(--mesh) 0 1px, transparent 1px 13px);
}
@media (hover: hover) and (pointer: fine) {
  .wall:has(.brick:hover)::after { opacity: 1; }
  .wall:has(.brick:hover) .brick:not(:hover) .brick__face { opacity: .4; filter: blur(1.4px) grayscale(.35); transform: scale(.985); }
  .brick:hover { z-index: 3; }
  .brick:hover .brick__face {
    transform: translateY(-8px);
    border-color: var(--rust);
    box-shadow: 0 0 0 1px var(--rust), 0 24px 44px -22px rgba(184, 92, 56, .8), 0 0 40px -10px rgba(184, 92, 56, .5);
  }
}
@media (max-width: 1099px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brick { grid-column: span 1; }
  .closer { display: none; }
}
@media (max-width: 640px) {
  .wall { grid-template-columns: 1fr; }
  .brick { min-height: 0; }
  .brick__icon { margin-bottom: 0; }
}

/* ==========================================================================
   A-05 Realizacje
   ========================================================================== */
.works__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); align-items: start; }
.works__col { display: grid; gap: clamp(40px, 5vw, 64px); }
.works__col:nth-child(2) { padding-top: clamp(48px, 9vw, 140px); }
.proj { position: relative; }
.proj__frame { position: relative; }
.proj__dim {
  position: absolute;
  left: 0; right: 0; top: -15px;
  height: 9px;
  border-inline: 1px solid var(--sand);
  transform: scaleX(0);
  transition: transform .6s var(--ease-out);
}
.proj__dim::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--sand); }
.proj__dim span { position: absolute; left: 50%; top: -5px; transform: translateX(-50%); padding: 0 8px; background: var(--ground); color: var(--sand); font: 600 .6875rem/1 var(--body); letter-spacing: .1em; }
.proj__clip { position: relative; aspect-ratio: var(--ar, 4 / 5); overflow: hidden; border-bottom: 1px solid var(--line); }
.proj__rise { height: 100%; }
.proj__rise .ph { height: 100%; }
.proj__rise img { transition: transform 1.1s var(--ease-out); }
.proj__over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: clamp(20px, 2vw, 28px);
  background: linear-gradient(180deg, rgba(26, 26, 26, .35) 0%, rgba(26, 26, 26, .92) 62%);
  opacity: 0;
  transition: opacity .45s;
}
.proj__over > * { transform: translateY(14px); transition: transform .6s var(--ease-out); }
.proj__facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .875rem; }
.proj__facts dt { color: var(--muted); font: 600 .6875rem/1.9 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.proj__facts dd { margin: 0; color: var(--concrete); }
.proj__desc { font-size: .9375rem; line-height: 1.55; color: var(--text); }
.proj__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 4px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rust);
  cursor: pointer;
  color: var(--concrete);
  font: 800 1rem/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.proj__more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease-out); }
.proj__more:hover svg { transform: translateX(4px); }
.proj__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.proj__name { margin: 0; font: 800 clamp(1.375rem, 1.8vw, 1.75rem)/1 var(--display); text-transform: uppercase; color: var(--concrete); }
.proj__tag { flex: none; color: var(--muted); font: 600 .6875rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.proj:hover .proj__over, .proj:focus-within .proj__over { opacity: 1; }
.proj:hover .proj__over > *, .proj:focus-within .proj__over > * { transform: none; }
.proj:hover .proj__dim, .proj:focus-within .proj__dim { transform: scaleX(1); }
.proj:hover .proj__rise img { transform: scale(1.04); }

@media (hover: none) {
  .proj { display: flex; flex-direction: column; }
  .proj__frame { display: contents; }
  .proj__cap { order: 1; }
  .proj__over { order: 2; position: static; opacity: 1; background: none; padding: 14px 0 0; }
  .proj__over > * { transform: none; }
  .proj__dim { display: none; }
}
@media (max-width: 899px) {
  .works__cols { grid-template-columns: 1fr 1fr; }
  .works__col { display: contents; }
  .works__col:nth-child(2) { padding-top: 0; }
}
@media (max-width: 600px) {
  .works__cols { grid-template-columns: 1fr; gap: 48px; }
}

/* project sheet dialog */
.sheet {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--ground);
  color: var(--text);
  overflow: auto;
}
.sheet::backdrop { background: rgba(10, 10, 10, .78); }
.sheet__grid { display: grid; grid-template-columns: 1.15fr 1fr; }
.sheet__media { min-height: 420px; }
.sheet__body { position: relative; display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 48px); }
.sheet__title { margin: 0; padding-right: 48px; font: 800 clamp(2rem, 3.6vw, 3rem)/1.06 var(--display); text-transform: uppercase; color: var(--concrete); }
.sheet__close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--hair); cursor: pointer; color: var(--concrete);
}
.sheet__close:hover { border-color: var(--sand); }
.sheet__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; }
.sheet .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) {
  .sheet__grid { grid-template-columns: 1fr; }
  .sheet__media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   A-06 Opinie klientów: tags hung on the string
   ========================================================================== */
.quotes__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.quote {
  position: relative;
  margin: 34px 0 0;
  padding: clamp(26px, 2.4vw, 36px);
  background: var(--ground);
  border: 1px solid var(--hair);
  transform-origin: 50% -34px;
}
.quote::before, .quote::after {
  content: "";
  position: absolute;
  top: -35px;
  width: 1px;
  height: 35px;
  background: var(--line);
}
.quote::before { left: 24%; transform: rotate(10deg); transform-origin: bottom; }
.quote::after { right: 24%; transform: rotate(-10deg); transform-origin: bottom; }
.quote__mark { display: block; height: 30px; margin-bottom: 14px; font: 900 5rem/0 var(--display); color: var(--sand); opacity: .6; transform: translateY(-10px); }
.quote__text { margin: 0 0 28px; font-size: 1.125rem; line-height: 1.6; color: var(--concrete); }
.quote__who { display: block; font: 800 1.25rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--concrete); font-style: normal; }
.quote__what { display: block; margin-top: 8px; font-size: .875rem; color: var(--muted); }
@media (max-width: 899px) {
  .quotes__row { grid-template-columns: 1fr; max-width: 620px; }
  .quote + .quote { margin-top: 20px; }
  .quote + .quote::before, .quote + .quote::after { display: none; }
}

/* ==========================================================================
   A-07 Kontakt: the site information board + the enquiry form
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px clamp(20px, 2.4vw, 36px); align-items: start; }
.board-info { grid-column: 1 / span 5; position: relative; padding: clamp(26px, 2.6vw, 40px); background: var(--sand); color: var(--ground); }
.board-info::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background:
    radial-gradient(circle, #5e5545 0 2.5px, transparent 3px) top left / 8px 8px no-repeat,
    radial-gradient(circle, #5e5545 0 2.5px, transparent 3px) top right / 8px 8px no-repeat,
    radial-gradient(circle, #5e5545 0 2.5px, transparent 3px) bottom left / 8px 8px no-repeat,
    radial-gradient(circle, #5e5545 0 2.5px, transparent 3px) bottom right / 8px 8px no-repeat;
}
.board-info__title { margin: 0 0 22px; padding-bottom: 16px; border-bottom: 2px solid var(--ground); font: 900 clamp(1.75rem, 2.4vw, 2.25rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.board-info dl { margin: 0; display: grid; }
.board-info dl > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(26, 26, 26, .22); }
.board-info dl > div:last-child { border-bottom: 0; }
.board-info dt { font: 700 .6875rem/1.7 var(--body); font-stretch: 85%; letter-spacing: .14em; text-transform: uppercase; color: #4F4330; }
.board-info dd { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ground); }
.board-info a { color: var(--ground); font-weight: 600; }
.board-info a:hover { text-decoration-thickness: 2px; }
.board-info :focus-visible { outline-color: var(--ground); }

.form { grid-column: 7 / -1; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { position: relative; margin-bottom: 30px; }
.field label { display: block; margin-bottom: 6px; color: var(--sand); font: 600 .75rem/1.4 var(--body); font-stretch: 85%; letter-spacing: .14em; text-transform: uppercase; }
.field label small { color: var(--muted); letter-spacing: .08em; text-transform: none; font-size: .75rem; }
.field input, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--concrete);
  font: 400 1.125rem/1.5 var(--body);
  outline: none;
  transition: border-color .25s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field__line { position: absolute; left: 0; right: 0; height: 2px; margin-top: -1.5px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out); }
.field:focus-within .field__line { transform: scaleX(1); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--err); }
.field__err { margin-top: 8px; color: var(--err); font-size: .875rem; }
.field__err:empty { display: none; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 6px; }
.form__note { font-size: .8125rem; color: var(--muted); max-width: 34ch; }
.form__status { margin-top: 18px; color: var(--err); font-size: .9375rem; }
.form__status:empty { display: none; }
.btn .spin { display: none; width: 34px; height: 1.5px; background: currentColor; transform-origin: left; animation: pull 1s var(--ease-out) infinite; }
.is-sending .btn .spin { display: block; }
.is-sending .btn svg { display: none; }
@keyframes pull { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

.done { grid-column: 7 / -1; position: relative; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); }
.done[hidden] { display: none; }
.done__stamp {
  display: inline-block;
  margin-bottom: 26px;
  padding: 10px 16px 8px;
  border: 3px solid var(--rust);
  color: var(--rust);
  font: 900 2.75rem/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-5deg);
}
.done__title { margin: 0 0 10px; font: 800 2rem/1 var(--display); text-transform: uppercase; color: var(--concrete); }

@media (max-width: 999px) {
  .board-info, .form, .done { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .board-info dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; z-index: 2; padding-top: clamp(80px, 12vh, 140px); overflow: hidden; }
.footer__word { margin: 0 0 0; line-height: 0; }
.footer__word-text { display: block; font: 900 clamp(5rem, 24vw, 22rem)/.74 var(--display); color: var(--graphite); }
.footer__word.is-built .footer__word-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.footer__word svg { width: 100%; height: auto; overflow: visible; }
.footer__word .word text { fill: var(--graphite); stroke: rgba(212, 197, 169, .22); stroke-width: 3px; }
.footer__run { margin: 0; }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 28px 24px; font-size: .875rem; color: var(--muted); }
/* designer stamp: the drawing set's "Projektant" cell, same anatomy as the sheet title blocks */
.footer__credit { display: flex; justify-content: flex-end; padding: 22px 0 36px; border-top: 1px solid var(--hair); }
.credit {
  display: grid;
  grid-template-columns: auto auto;
  border: 1px solid var(--line);
  color: var(--concrete);
  text-decoration: none;
  font: 600 .6875rem/1 var(--body);
  font-stretch: 80%;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: border-color .3s, background-color .3s;
}
.credit > span { padding: 9px 14px 8px; }
.credit__mark {
  grid-row: span 2;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
  font: 900 1.5rem/1 var(--display);
  letter-spacing: .02em;
  color: var(--sand);
  transition: color .3s;
}
.credit__role { border-bottom: 1px solid var(--line); color: var(--muted); }
.credit__site { display: inline-flex; align-items: center; gap: 8px; color: var(--concrete); letter-spacing: .1em; text-transform: none; font-size: .8125rem; font-weight: 600; }
.credit__site svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .4s var(--ease-out); }
.credit:hover { border-color: var(--sand); background: var(--ground-2); }
.credit:hover .credit__mark { color: var(--rust); }
.credit:hover .credit__site svg { transform: translate(2px, -2px); }
@media (max-width: 600px) { .footer__credit { justify-content: flex-start; } }
.footer__meta p { margin: 0; }
.social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--hair);
  color: var(--sand);
  transition: border-color .25s, color .25s, transform .4s var(--ease-out);
}
.social a:hover { border-color: var(--sand); color: var(--concrete); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Print ---------- */
@media print {
  .grain, .nav, .site-string, .hstring, .ground { display: none !important; }
  .js .hero__intro, .js .hero__actions, .js .hero__word-text { opacity: 1; }
}
