/* ALEDRA — varianta B "Studio"
   Čistý moderní minimal. White page, ink type, one warm sand accent.
   Headlines use the Archivo width axis (wide, tight-tracked) so the type
   carries the personality instead of colour. */

:root {
  --bg:    #FFFFFF;
  --bg-2:  #F3F2EF;
  --ink:   #101010;
  --muted: #706C64;
  --line:  #E3E0D9;
  --sand:  #B9A88F;

  --gut: 22px;
  --shell: min(1320px, 100% - 2 * var(--gut));

  --step-0: clamp(1rem, 0.95rem + 0.22vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.42rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.5rem + 2vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.6rem + 5vw, 6rem);
}
@media (min-width: 900px) { :root { --gut: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--step-0)/1.6 "Archivo", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; }
h1, h2 { font-variation-settings: "wdth" 118; }
p { margin: 0 0 1em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }
.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: .75rem 1.25rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* label = the running index rail; it names the section in the margin */
.label {
  font: 500 .72rem/1 "Archivo", sans-serif; font-variation-settings: "wdth" 88;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 1.4rem;
}

/* ---------- header -------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; height: 68px; gap: 2rem; }
.mark {
  text-decoration: none; margin-right: auto;
  display: flex; align-items: center; gap: .5rem;
  font: 700 1.15rem/1 "Archivo", sans-serif; font-variation-settings: "wdth" 125;
  letter-spacing: .04em; text-transform: uppercase;
}
.nav { display: flex; gap: 1.8rem; }
.nav a { text-decoration: none; font-size: .9rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.hdr__tel { text-decoration: none; font-size: .9rem; font-weight: 500; }
@media (max-width: 860px) {
  .hdr__in { height: auto; min-height: 60px; flex-wrap: wrap; padding-block: .6rem; gap: .4rem 1rem; }
  .nav { order: 3; width: 100%; gap: 1.15rem; overflow-x: auto; }
  .nav a { font-size: .84rem; white-space: nowrap; }
}

/* ---------- hero ---------------------------------------------------------- */
.hero { position: relative; }
.hero__img { position: relative; height: min(84vh, 760px); overflow: hidden; background: var(--bg-2); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(16 16 16 / .10) 0%, rgb(16 16 16 / 0) 38%, rgb(16 16 16 / .62) 100%);
}
.hero__copy {
  position: absolute; left: 0; right: 0; bottom: clamp(2rem, 5vw, 4rem); z-index: 2; color: #fff;
}
.hero h1 {
  font-size: var(--step-4); max-width: 16ch; text-wrap: balance;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 1.6rem;
  font: 500 .78rem/1 "Archivo", sans-serif; font-variation-settings: "wdth" 88;
  letter-spacing: .18em; text-transform: uppercase; color: rgb(255 255 255 / .82);
}

/* Intro statement — the page's thesis, set large with air around it. */
.intro { padding: clamp(4rem, 9vw, 8rem) 0; }
.intro__in { display: grid; gap: clamp(1.5rem, 4vw, 4rem); }
@media (min-width: 900px) { .intro__in { grid-template-columns: 1fr 1.55fr; } }
.intro p { font-size: var(--step-2); line-height: 1.32; letter-spacing: -0.015em; max-width: 30ch; }
.intro p + p { font-size: var(--step-0); line-height: 1.65; color: var(--muted); max-width: 52ch; margin-top: 1.6rem; }
.intro .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* ---------- buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  font: 500 .95rem/1 "Archivo", sans-serif;
  padding: .95rem 1.7rem; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- sections ------------------------------------------------------ */
.sec { padding: clamp(3.5rem, 7vw, 7rem) 0; border-top: 1px solid var(--line); }
.sec--tint { background: var(--bg-2); border-top: 0; }
.sec__head { display: grid; gap: 1rem clamp(1.5rem, 4vw, 4rem); margin-bottom: clamp(2.2rem, 5vw, 4rem); }
@media (min-width: 900px) { .sec__head { grid-template-columns: 1fr 1.55fr; align-items: start; } }
.sec__head h2 { font-size: var(--step-3); max-width: 18ch; }
.sec__head > div > p { color: var(--muted); max-width: 54ch; margin: 1.1rem 0 0; }

/* ---------- services ------------------------------------------------------ */
.svc { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .svc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .svc { grid-template-columns: repeat(3, 1fr); } }
.svc__item { background: var(--bg); padding: 0 0 1.9rem; }
.svc__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 1.5rem; }
.svc__item h3, .svc__item p { padding-inline: 1.6rem; }
.svc__item h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.svc__item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- process ------------------------------------------------------- */
.steps { display: grid; gap: 2rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2.4rem; } }
.step { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.step__n {
  display: block; margin-bottom: 1.4rem;
  font: 600 .78rem/1 "Archivo", sans-serif; letter-spacing: .2em; color: var(--sand);
}
.step h3 { font-size: var(--step-1); margin-bottom: .5rem; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- gallery ------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.filters button {
  cursor: pointer; font: 500 .84rem/1 "Archivo", sans-serif;
  padding: .62rem 1.1rem; border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; transition: .2s;
}
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid figure { margin: 0; position: relative; }
.grid button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in;
}
.grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .4s ease; }
.grid button:hover img { transform: scale(1.03); }
.grid figcaption {
  font-size: .8rem; color: var(--muted); padding-top: .55rem; line-height: 1.35;
}
.grid [hidden] { display: none; }

/* ---------- lightbox ------------------------------------------------------ */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.lb::backdrop { background: rgb(255 255 255 / .97); }
.lb__fig { margin: 0; display: grid; place-items: center; gap: .8rem; }
.lb img { max-width: min(1200px, 93vw); max-height: 82vh; width: auto; object-fit: contain; }
.lb figcaption { color: var(--muted); font-size: .88rem; text-align: center; }
.lb__x, .lb__nav {
  position: fixed; background: transparent; border: 1px solid var(--line); color: var(--ink);
  cursor: pointer; width: 46px; height: 46px; border-radius: 999px;
  font-size: 1.2rem; line-height: 1; display: grid; place-items: center;
}
.lb__x:hover, .lb__nav:hover { background: var(--bg-2); }
.lb__x { top: 20px; right: 20px; }
.lb__nav[data-dir="-1"] { left: 20px; top: 50%; }
.lb__nav[data-dir="1"]  { right: 20px; top: 50%; }

/* ---------- contact ------------------------------------------------------- */
.contact { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
.cta-box__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-note { margin: 1.8rem 0 0; color: var(--muted); max-width: 48ch; font-size: .95rem; }
.cta-note a { text-underline-offset: 3px; }

@media (min-width: 900px) { .contact { grid-template-columns: 1.15fr .85fr; } }


.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts b {
  display: block; font: 500 .72rem/1 "Archivo", sans-serif;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem;
}
.facts .big { font-size: var(--step-2); letter-spacing: -0.02em; text-decoration: none; }
.facts .big:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer -------------------------------------------------------- */
.ftr { border-top: 1px solid var(--line); padding: 2.6rem 0; }
.ftr__in { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; }
.ftr__logo { width: 34px; opacity: .55; }
.ftr small { color: var(--muted); font-size: .82rem; }
.ftr__social { display: flex; gap: 1.4rem; margin-left: auto; font-size: .85rem; }
