/* neza.al
   Type-led layout: flat colour, hairlines, sharp edges. No gradients, shadows or icon sets.
   One accent colour, used sparingly. System fonts only (nothing to download). */

:root {
  --paper: #eeebe3;
  --ink: #121212;
  --muted: #69655c;
  --line: rgba(18, 18, 18, .18);
  --accent: #ff4b1f;
  --on-accent: #121212;
  --foot-bg: #121212;
  --foot-fg: #eeebe3;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121212;
    --ink: #eeebe3;
    --muted: #9d9990;
    --line: rgba(238, 235, 227, .2);
    --foot-bg: #0a0a0a;
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

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

/* Small uppercase labels */
.kicker, .site-header nav a, .jump, .index-head h2, .index-head span,
.contact-head h2, .num, .state, .label, .foot-row {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 10;
  padding: 10px 14px; background: var(--accent); color: var(--on-accent); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { font: 700 1.5rem/1 var(--display); letter-spacing: -.045em; text-decoration: none; }
.brand i, .foot-mark i { font-style: normal; color: var(--accent); }
.site-header nav { display: flex; gap: clamp(16px, 3vw, 32px); }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 8vw, 112px) clamp(36px, 6vw, 80px); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(16px, 2.5vw, 28px); }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--accent); }

h1 {
  margin: 0;
  font: 700 clamp(3rem, 9.4vw, 9rem)/.93 var(--display);
  letter-spacing: -.055em;
  text-wrap: balance;
}
h1 .dot { color: var(--accent); }

.hero-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-top: clamp(24px, 4vw, 56px); }
.intro { margin: 0; font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 30ch; }
.jump { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid var(--accent); }
.jump:hover { background: var(--accent); color: var(--on-accent); }
.arrow { width: 1.1em; height: 1.1em; flex: none; }

.hero-img { margin: clamp(32px, 5vw, 64px) 0 0; }
.hero-img img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }

/* ---------- Service index ---------- */
.index { border-top: 1px solid var(--ink); }
.index-head { display: flex; justify-content: space-between; padding-block: 14px; }
.index-head h2, .contact-head h2 { margin: 0; }
.index-head span { color: var(--muted); }

.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ink); }
.row { position: relative; border-top: 1px solid var(--line); transition: background-color .18s, color .18s; }
.row-in {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 22rem) 8rem;
  grid-template-areas: "num name desc state";
  column-gap: 24px;
  align-items: center;
  padding-block: clamp(18px, 2.4vw, 32px);
}
.rows.has-thumbs .row-in {
  grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 16rem) 8rem 7rem;
  grid-template-areas: "num name desc thumb state";
}

.num { grid-area: num; color: var(--muted); }
.name { grid-area: name; margin: 0; font: 700 clamp(2.2rem, 6.8vw, 6rem)/1 var(--display); letter-spacing: -.05em; transition: margin .2s; }
.name a { text-decoration: none; }
/* Whole row is the click target: the overlay is sized by .row (position: relative). Never put transform, translate,
   filter or position on .name or .name a: that element would become the overlay's box and shrink the click area to the title. */
.name a::after { content: ""; position: absolute; inset: 0; }
.desc { grid-area: desc; margin: 0; max-width: 32ch; color: var(--muted); font-size: .95rem; }
.state { grid-area: state; justify-self: end; display: inline-flex; align-items: center; gap: 8px; }
.soon .state { padding: 4px 10px; border: 1px solid var(--line); color: var(--muted); }

.thumb { grid-area: thumb; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .25s; }

/* Live rows: photo in colour (rows that are not live yet stay grey), and the row fills with the accent on hover */
.row:not(.soon) .thumb img { filter: none; }
.row:not(.soon):is(:hover, :focus-within) { background: var(--accent); color: var(--on-accent); }
.row:not(.soon):is(:hover, :focus-within) :is(.num, .desc) { color: inherit; }
.row:not(.soon):is(:hover, :focus-within) .name { margin-inline: .1em -.1em; } /* nudge right; the negative margin keeps the width, so the title cannot re-wrap */

/* Tablet */
@media (max-width: 1023px) {
  .row-in, .rows.has-thumbs .row-in {
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    grid-template-areas: "num name state" ". desc thumb";
    row-gap: 10px;
  }
  .thumb { width: 8.5rem; }
}

/* Phone */
@media (max-width: 599px) {
  .row-in, .rows.has-thumbs .row-in {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "num state" "name name" "desc thumb";
    row-gap: 8px;
  }
  .thumb { width: 6.5rem; }
  .desc { max-width: none; }
}

/* ---------- Section pages: two pictures under the list ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: clamp(24px, 4vw, 48px); }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 599px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Section pages: intro text and questions ---------- */
.index ~ .index { margin-top: clamp(48px, 7vw, 96px); }
.prose { padding-block: clamp(20px, 3vw, 40px); }
.prose p { margin: 0 0 1em; max-width: 60ch; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }

.faq-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ink); }
.faq-list li { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px; cursor: pointer;
  padding-block: clamp(16px, 2vw, 26px);
  font: 700 clamp(1.15rem, 2.2vw, 1.7rem)/1.2 var(--display); letter-spacing: -.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font: 500 1.2rem/1 var(--mono); color: var(--accent); }
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list summary:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.faq-list details p { margin: 0; padding-bottom: clamp(16px, 2vw, 26px); max-width: 62ch; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--ink); }
.contact-head { padding-block: 14px; }
address { font-style: normal; }
.contact-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ink); }
.contact-list li {
  display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 6px 24px; align-items: baseline;
  padding-block: clamp(16px, 2vw, 28px); border-top: 1px solid var(--line);
}
.contact-list .label { color: var(--muted); }
.contact-list .big { font: 700 clamp(1.6rem, 5vw, 3.6rem)/1.05 var(--display); letter-spacing: -.04em; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a.big:hover { color: var(--accent); }
@media (max-width: 599px) { .contact-list li { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(48px, 7vw, 96px); padding: clamp(32px, 5vw, 64px) 0 28px; background: var(--foot-bg); color: var(--foot-fg); }
.foot-mark { margin: 0 0 clamp(24px, 4vw, 48px); font: 700 clamp(4rem, 32vw, 24rem)/.8 var(--display); letter-spacing: -.07em; }
.foot-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--foot-fg) 25%, transparent);
}
.foot-row p { margin: 0; }
.foot-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .row, .name, .thumb img { transition: none; }
}
