/* ==========================================================
   SMÁRINN VÉLAVERKTAKI — homepage concept
   ========================================================== */

:root {
  --ink: #0d0d0c;
  --graphite: #151513;
  --graphite-2: #1c1c19;
  --line: rgba(236, 231, 222, 0.12);
  --line-strong: rgba(236, 231, 222, 0.24);
  --stone: #8f897e;
  --stone-light: #b9b2a5;
  --concrete: #2a2926;
  --text: #ece7de;
  --text-dim: rgba(236, 231, 222, 0.66);
  --accent: #e2a82c;
  --accent-deep: #c98f17;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --section-y: clamp(88px, 12vw, 180px);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}

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

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }

::selection { background: var(--accent); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

.section { padding: var(--section-y) 0; }

.mono {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}
.ico--arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
}

/* ---------- Labels ---------- */
.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: clamp(20px, 3vw, 36px);
}
.label .mono {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.label::after {
  content: "";
  height: 1px;
  width: 56px;
  background: var(--line-strong);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
}
.eyebrow__bar { width: 28px; height: 2px; background: var(--accent); }
.eyebrow .dot { color: var(--accent); }

/* ---------- Display type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.display-sm {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* line mask reveal */
.line {
  display: block;
  overflow: hidden;
  padding-top: 0.12em;        /* room for Á / Ð / Þ accents */
  margin-top: -0.12em;
}
.line > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1.2s var(--ease-out);
  will-change: transform;
}
.line em { font-style: normal; color: var(--accent); }
.is-in .line > span,
.line.is-in > span { transform: none; }
.is-in .line:nth-child(2) > span { transition-delay: 0.09s; }
.is-in .line:nth-child(3) > span { transition-delay: 0.18s; }

.line--stone > span { color: var(--stone); }
.line--accent > span { color: var(--accent); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 26px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn .ico--arrow { transition: transform .45s var(--ease-out); }
.btn:hover .ico--arrow { transform: translateX(4px); }

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--text); }

.btn--ghost {
  color: var(--text);
  border-color: rgba(236, 231, 222, 0.4);
  background: rgba(13, 13, 12, 0.25);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.btn--ghost:hover { border-color: var(--text); background: var(--text); color: var(--ink); }

.btn--line { color: var(--text); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--text); }

.btn--sm { --h: 44px; padding: 0 20px; font-size: 0.95rem; }
.btn--lg { --h: 62px; padding: 0 32px; font-size: 1.15rem; }
.btn--block { width: 100%; }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out), transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(13, 13, 12, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.wordmark__main {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  line-height: 0.9;
}
.wordmark__sub {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.43em;
  color: var(--stone-light);
  margin-top: 5px;
}

.nav {
  display: none;
  gap: clamp(20px, 2.6vw, 40px);
}
.nav a {
  position: relative;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color .3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__call { display: none; }

.icon-btn {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(13, 13, 12, 0.35);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}
.header__phone { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.menu-btn { position: relative; }
.menu-btn span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s linear .7s;
}
.menu-open .mobile-menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .7s var(--ease-io), visibility 0s;
}
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  line-height: 1.1;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.mobile-menu__nav a span {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.menu-open .mobile-menu__nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu__nav a:nth-child(1) { transition-delay: .18s; }
.menu-open .mobile-menu__nav a:nth-child(2) { transition-delay: .23s; }
.menu-open .mobile-menu__nav a:nth-child(3) { transition-delay: .28s; }
.menu-open .mobile-menu__nav a:nth-child(4) { transition-delay: .33s; }
.menu-open .mobile-menu__nav a:nth-child(5) { transition-delay: .38s; }
.mobile-menu__foot p {
  margin-top: 14px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.menu-open { overflow: hidden; }

/* ==========================================================
   PHOTO NOTE (stock disclosure)
   ========================================================== */
.photo-note {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 231, 222, 0.42);
  pointer-events: none;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -6% 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  transform: scale(1.14);
  filter: saturate(0.82) contrast(1.06);
  transition: transform 3.2s var(--ease-out);
}
.is-loaded .hero__media img { transform: scale(1.04); }

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,13,12,.72) 0%, rgba(13,13,12,.12) 26%, rgba(13,13,12,.18) 50%, rgba(13,13,12,.92) 100%),
    linear-gradient(90deg, rgba(13,13,12,.7) 0%, rgba(13,13,12,0) 62%);
}

.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--gutter) 0;
}
.hero__eyebrow {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s var(--ease-out) .2s, transform 1s var(--ease-out) .2s;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: min(21.5vw, 12.5rem, 21svh);
  line-height: 0.86;
  letter-spacing: -0.01em;
  margin: 22px 0 28px;
  text-transform: uppercase;
}
.hero__title .line:nth-child(1) > span { transition-delay: .35s; }
.hero__title .line:nth-child(2) > span { transition-delay: .45s; }
.hero__title .line:nth-child(3) > span { transition-delay: .55s; }

.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text);
  max-width: 34ch;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero__lead, .hero__ctas {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out) .8s, transform 1s var(--ease-out) .8s;
}
.hero__ctas { transition-delay: .9s; }

.is-loaded .hero__eyebrow,
.is-loaded .hero__lead,
.is-loaded .hero__ctas { opacity: 1; transform: none; }
.is-loaded .hero__title .line > span { transform: none; }

.hero__base {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px var(--gutter) 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
}
.hero__addr {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--text-dim);
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  max-width: 260px;
}
.hero__coord { display: none; color: var(--stone); }

.scroll-cue { display: grid; place-items: center; padding: 6px; }
.scroll-cue__track {
  position: relative;
  width: 1px;
  height: 56px;
  background: var(--line-strong);
  overflow: hidden;
}
.scroll-cue__track span {
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 40%;
  background: var(--accent);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}

/* ==========================================================
   INTRO
   ========================================================== */
.intro__grid {
  display: grid;
  gap: 56px;
}
.intro__title {
  font-size: clamp(3.6rem, 15vw, 9.5rem);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.intro__copy {
  max-width: 38ch;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}
.intro__copy p + p { margin-top: 14px; color: var(--text-dim); }

.facts {
  margin: clamp(36px, 5vw, 60px) 0 0;
  border-top: 1px solid var(--line);
}
.facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  padding-top: 4px;
}
.facts dd { margin: 0; }
.facts a { border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.facts a:hover { color: var(--accent); border-color: var(--accent); }

.intro__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--graphite);
}
.intro__img { position: absolute; inset: -8% 0; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) contrast(1.05); }

.clip-reveal {
  clip-path: inset(14% 0 0 0);
  transition: clip-path 1.6s var(--ease-out);
}
.clip-reveal img { transform: scale(1.15); transition: transform 2s var(--ease-out); }
.clip-reveal.is-in { clip-path: inset(0 0 0 0); }
.clip-reveal.is-in img { transform: scale(1); }

/* ==========================================================
   SECTION HEAD
   ========================================================== */
.section-head {
  display: grid;
  gap: 0;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head__title { font-size: clamp(4rem, 16vw, 11rem); }
.section-head__aside {
  margin-top: 24px;
  max-width: 36ch;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.concept-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--stone);
}
.concept-note__tag {
  display: inline-block;
  padding: 4px 8px;
  border: 1px dashed rgba(226, 168, 44, 0.6);
  color: var(--accent);
  font-size: 0.66rem;
}

/* ==========================================================
   SERVICES
   ========================================================== */
.services { background: var(--graphite); border-top: 1px solid var(--line); }

.svc-grid { display: grid; gap: 14px; }

.svc {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--ink);
  isolation: isolate;
}
.svc__img { position: absolute; inset: 0; z-index: -2; }
.svc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.08) brightness(0.8);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out), filter 1s var(--ease-out);
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,13,12,.1) 20%, rgba(13,13,12,.9) 100%);
}
.svc::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.svc:first-child .svc__img img { object-position: 62% 50%; }
.svc:hover .svc__img img { transform: scale(1.07); filter: grayscale(0.1) contrast(1.08) brightness(0.85); }
.svc:hover::after { transform: scaleX(1); }

.svc__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 16px;
}
.svc__num {
  grid-column: 1 / -1;
  color: var(--accent);
  margin-bottom: 8px;
}
.svc__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.9;
}
.svc__text {
  grid-column: 1;
  color: var(--text-dim);
  font-size: 1rem;
  margin-top: 8px;
}
.svc__arrow {
  grid-column: 2;
  grid-row: 2 / 4;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  transition: background-color .4s, border-color .4s, color .4s;
}
.svc:hover .svc__arrow { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ==========================================================
   IMAGE BREAK
   ========================================================== */
.break {
  position: relative;
  height: 88vh;
  height: 88svh;
  min-height: 520px;
  max-height: 980px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.break__media { position: absolute; inset: -14% 0; z-index: -2; }
.break__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.7) contrast(1.1) brightness(0.72);
}
.break__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,13,12,.55) 0%, rgba(13,13,12,0) 35%, rgba(13,13,12,.85) 100%);
}
.break__inner { padding-bottom: clamp(48px, 8vw, 110px); }
.break__title { font-size: clamp(4.4rem, 19vw, 14rem); }

/* ==========================================================
   PROJECTS
   ========================================================== */
.proj-grid { display: grid; gap: 14px; }

.proj {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  min-height: 320px;
  isolation: isolate;
}
.proj__img { position: absolute; inset: 0; z-index: -2; }
.proj__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.62);
  transition: filter 1.1s var(--ease-out), transform 1.4s var(--ease-out);
}
.proj:hover .proj__img img { filter: grayscale(0.35) contrast(1.08) brightness(0.72); transform: scale(1.04); }
.proj::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,13,12,0) 35%, rgba(13,13,12,.88) 100%);
}
.proj::after {
  content: "Sýnidæmi";
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px dashed rgba(226, 168, 44, 0.55);
  padding: 3px 7px;
  background: rgba(13,13,12,.5);
}
.proj__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(20px, 2.6vw, 32px);
}
.proj__num { color: var(--accent); display: block; margin-bottom: 10px; }
.proj__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.proj__loc { color: var(--stone-light); margin-top: 8px; }
.proj__desc { color: var(--text-dim); margin-top: 10px; font-size: 0.95rem; max-width: 34ch; }

/* ==========================================================
   LOCATION
   ========================================================== */
.location { border-top: 1px solid var(--line); }
.location__grid { display: grid; gap: 48px; }
.location__title {
  font-size: clamp(3.2rem, 14.4vw, 8.4rem);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.location__title .line--accent { font-size: 1.35em; line-height: .86; }
.location__copy { max-width: 40ch; font-size: 1.15rem; }
.location__ask { margin-top: 20px; color: var(--text-dim); }
.location__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.map-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  background: var(--graphite);
  min-height: 380px;
}
.map { position: absolute; inset: 0; background: #121211; }
.map-frame__tag {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 500;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 10px 14px;
  display: grid;
  gap: 2px;
}
.map-frame__tag .mono { font-size: 0.64rem; color: var(--stone); }
.map-frame__tag strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* corner ticks */
.map-frame::before,
.map-frame::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  z-index: 500;
  pointer-events: none;
}
.map-frame::before { top: -1px; left: -1px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.map-frame::after { top: -1px; right: -1px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }

/* leaflet tuning */
.leaflet-container { font-family: var(--f-body); background: #121211; }
/* OSM tiles, inverted to a dark graphite map */
.leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(0.78) contrast(1.15) sepia(0.14); }
.leaflet-control-attribution {
  background: rgba(13,13,12,.75) !important;
  color: var(--stone) !important;
  font-size: 9px !important;
}
.leaflet-control-attribution a { color: var(--stone-light) !important; }
.leaflet-bar a {
  background: var(--ink) !important;
  color: var(--text) !important;
  border-color: var(--line-strong) !important;
  border-radius: 0 !important;
}
.leaflet-bar { border: 1px solid var(--line-strong) !important; border-radius: 0 !important; box-shadow: none !important; }

.pin {
  position: relative;
  width: 22px; height: 22px;
}
.pin__dot {
  position: absolute;
  inset: 5px;
  background: var(--accent);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 1px var(--accent);
}
.pin__pulse {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { background: #090908; border-top: 1px solid var(--line); }
.contact__title { font-size: clamp(4rem, 17vw, 12.5rem); }
.contact__sub {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: var(--accent);
  margin-top: 18px;
  letter-spacing: 0.08em;
}

.contact__grid {
  display: grid;
  gap: 56px;
  margin-top: clamp(48px, 7vw, 96px);
}

.big-phone {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}
.big-phone__label { color: var(--stone); }
.big-phone__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.8rem, 16vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0% 3px no-repeat;
  padding-bottom: 8px;
  transition: background-size .7s var(--ease-out), color .4s;
}
.big-phone:hover .big-phone__num { background-size: 100% 3px; }

.contact__list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.contact__list li {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  align-items: baseline;
}
.contact__list .mono { color: var(--stone); font-size: 0.7rem; }
.contact__list a { transition: color .3s; word-break: break-word; }
.contact__list a:hover { color: var(--accent); }

.contact__ctas { display: grid; gap: 10px; margin-top: 36px; }

/* form */
.form {
  background: var(--graphite);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
  align-self: start;
}
.form__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  margin-bottom: 28px;
}
.field { position: relative; margin-bottom: 14px; }
.field-row { display: grid; gap: 0 14px; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;           /* ≥16px — no iOS zoom */
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 26px 0 10px;
  outline: none;
  transition: border-color .3s;
  resize: vertical;
}
.field textarea { min-height: 120px; }
.field label {
  position: absolute;
  left: 0; top: 24px;
  color: var(--stone-light);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease-out), color .35s;
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--accent); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-20px) scale(0.78);
  color: var(--accent);
}
.form .btn { margin-top: 18px; }
.form__notice {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--accent);
  min-height: 1.5em;
}
.form__notice:not(:empty) {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

/* ==========================================================
   FINALE
   ========================================================== */
.finale {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.finale__media { position: absolute; inset: -10% 0; z-index: -2; }
.finale__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.8) contrast(1.05);
}
.finale__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,13,12,.85) 0%, rgba(13,13,12,.2) 40%, rgba(13,13,12,.9) 100%);
}
.finale__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 6vw, 80px);
}
.finale__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(5rem, 23vw, 22rem);
  line-height: 0.82;
  letter-spacing: -0.015em;
  margin-left: -0.04em;
}
.finale__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
.finale__sub {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.3em;
  line-height: 1.35;
}
.finale__phone {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1;
  color: var(--accent);
  transition: color .4s;
}
.finale__phone .ico { width: clamp(28px, 4vw, 48px); height: clamp(28px, 4vw, 48px); stroke-width: 1.6; transition: transform .5s var(--ease-out); }
.finale__phone:hover { color: var(--text); }
.finale__phone:hover .ico { transform: translateX(8px); }
.finale__addr { margin-top: 22px; color: var(--stone-light); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}
.footer__grid { display: grid; gap: 32px; }
.wordmark--footer .wordmark__main { font-size: 2rem; }
.footer__col { display: flex; flex-direction: column; gap: 4px; color: var(--text-dim); }
.footer__col a { transition: color .3s; width: fit-content; }
.footer__col a:hover { color: var(--accent); }
.footer__nav a {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.footer__base {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.8rem;
  color: var(--stone);
}

/* ==========================================================
   STICKY MOBILE CALL
   ========================================================== */
.sticky-call {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 18px 0 6px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(calc(100% + 24px));
  transition: transform .6s var(--ease-out);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.sticky-call.is-visible { transform: none; }
.sticky-call__ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--accent);
}
.sticky-call__label { font-size: 1.05rem; }
.sticky-call__num { font-size: 1.35rem; letter-spacing: 0.04em; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 599px) {
  .hero__media img { object-position: 84% 50%; filter: saturate(0.6) contrast(1.08) brightness(0.62); }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(13,13,12,.7) 0%, rgba(13,13,12,.1) 22%, rgba(13,13,12,.35) 55%, rgba(13,13,12,.95) 100%);
  }
  .hero__ctas .btn { flex: 1 1 100%; }
  .break__media img { object-position: 30% 50%; filter: saturate(0.75) contrast(1.12) brightness(0.8); }
  .hero__eyebrow { font-size: 0.74rem; letter-spacing: 0.2em; gap: 10px; }
  .hero__eyebrow .eyebrow__bar { width: 18px; }
  .hero__title { margin: 18px 0 22px; }
  .hero__inner { padding-top: calc(var(--header-h) + 24px); }
  .hero__base { padding-top: 28px; padding-bottom: 22px; }
  .intro__media { aspect-ratio: 4 / 4.2; }
  .svc { aspect-ratio: 4 / 3.3; }
  .proj { min-height: 260px; }
  .proj--a, .proj--d { min-height: 300px; }
  .facts div, .contact__list li { grid-template-columns: 96px 1fr; }
  .finale__row { flex-direction: column; align-items: flex-start; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact__ctas { grid-template-columns: auto auto; justify-content: start; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .proj--a, .proj--d { grid-column: 1 / -1; min-height: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --header-h: 88px; }
  .nav { display: flex; }
  .header__call { display: inline-flex; }
  .header__phone, .menu-btn { display: none; }
  .mobile-menu { display: none; }
  .sticky-call { display: none; }

  .hero__base { grid-template-columns: 1fr auto auto; gap: 48px; }
  .hero__coord { display: block; padding-bottom: 4px; }

  .intro__grid { grid-template-columns: 1.15fr 0.85fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
  .intro__text { min-width: 0; }
  .intro__title { font-size: min(8.2vw, 9.5rem); }
  .intro__media { aspect-ratio: 4 / 5.2; width: 100%; }

  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: 48px;
  }
  .section-head .label { grid-column: 1 / -1; }
  .section-head__aside { margin: 0 0 12px; text-align: right; }

  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc { aspect-ratio: 3 / 4.3; }
  .svc:nth-child(2) { margin-top: 64px; }
  .svc:nth-child(3) { margin-top: 128px; }

  .proj-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 88px;
    gap: 16px;
  }
  .proj { min-height: 0; }
  .proj--a { grid-column: 1 / 8; grid-row: span 6; }
  .proj--b { grid-column: 8 / 13; grid-row: span 4; }
  .proj--c { grid-column: 8 / 13; grid-row: span 4; }
  .proj--d { grid-column: 1 / 8; grid-row: 7 / span 4; margin-left: 12%; }
  .proj--c { grid-row: 5 / span 6; }

  .break { align-items: flex-start; }
  .break__inner { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 90px)); padding-bottom: 0; }
  .break__title { font-size: min(13vw, 12rem); }
  .break__media img { object-position: 50% 70%; }
  .break__shade { background: linear-gradient(180deg, rgba(13,13,12,.8) 0%, rgba(13,13,12,.25) 45%, rgba(13,13,12,.1) 70%, rgba(13,13,12,.75) 100%); }
  .location__text { min-width: 0; }
  .location__title { font-size: min(6.6vw, 7.6rem); }
  .location__grid { grid-template-columns: 0.95fr 1.05fr; gap: clamp(48px, 6vw, 96px); align-items: stretch; }
  .map-frame { min-height: 560px; }

  .contact__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 110px); }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .hero__title { font-size: min(13vw, 15rem, 20vh); }
}

/* short landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .hero__title { font-size: 18vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .line > span, .reveal, .clip-reveal { transform: none !important; opacity: 1 !important; clip-path: none !important; }
}
