:root {
  --bg: #151412;
  --surface: #1e1d1a;
  --ink: #efeeec;
  --muted: #a9a59d;
  --line: rgba(242, 239, 233, 0.16);
  --accent: #f26b1d;
  --accent-ink: #151412;
  --margin: clamp(20px, 4vw, 64px);
  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --step-small: 0.8125rem;
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.375rem, 1.1rem + 1.2vw, 2.25rem);
  --step-head: clamp(2.75rem, 1.6rem + 4.8vw, 6rem);
  --step-display: clamp(3.25rem, 0.6rem + 8.8vw, 9.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  font-stretch: 66%;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

h2 {
  font-size: var(--step-head);
}

h3 {
  font-size: var(--step-lead);
  line-height: 1;
}

p {
  margin: 0;
}

.eyebrow {
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.skip {
  position: absolute;
  left: var(--margin);
  top: 0;
  transform: translateY(-120%);
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 0.8rem;
  z-index: 6;
}

.skip:focus {
  transform: none;
}

/* header */

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 var(--margin);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-stretch: 80%;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mark img {
  width: 30px;
  height: 30px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: var(--step-small);
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: var(--step-small);
  letter-spacing: 0.12em;
}

.nav a:not(.button):hover {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background-color 0.2s ease;
}

.button:hover {
  background: #ff8240;
}

.nav .button {
  min-height: 42px;
  letter-spacing: 0.12em;
}

.link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: border-color 0.2s ease;
}

.link:hover {
  border-color: var(--ink);
}

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

/* hero */

.hero {
  position: relative;
  min-height: max(620px, calc(100svh - 72px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-photo img,
.hero-photo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  will-change: transform;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 20, 18, 0.96) 0%, rgba(21, 20, 18, 0.78) 34%, rgba(21, 20, 18, 0.12) 64%, rgba(21, 20, 18, 0.1) 100%);
}

.hero:has(video) {
  display: block;
  min-height: 0;
}

.hero:has(video) .hero-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-photo video {
  position: absolute;
  inset: 0;
  object-position: left top;
}

@media (min-width: 901px) {
  .hero:has(video) {
    --hero-h: min(56.25vw, max(340px, calc(100svh - 72px - 370px)));
  }

  .hero:has(video) .hero-photo {
    aspect-ratio: auto;
    height: var(--hero-h);
  }

  .hero:has(video) .hero-photo video {
    object-position: left 27%;
  }

  .hero:has(video) .hero-copy {
    margin-top: calc(var(--hero-h) * -0.05);
  }
}

.hero:has(video) .hero-photo::after {
  background: linear-gradient(to top, var(--bg) 0%, rgba(21, 20, 18, 0.85) 16%, rgba(21, 20, 18, 0) 42%);
}

.hero-copy {
  position: relative;
  width: 100%;
  padding: 0 var(--margin) 56px;
  display: grid;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2.6rem, 0.5rem + 7vw, 7.5rem);
  line-height: 0.9;
}

.hero .eyebrow {
  color: #d6d2ca;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-foot p {
  max-width: 52ch;
  color: #d6d2ca;
}

.actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* photo strip */

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px var(--margin) 0;
}

.strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04);
}

.strip figcaption {
  padding-top: 12px;
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* shared */

.wrap {
  padding: 112px var(--margin);
}

.head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}

.head p {
  max-width: 46ch;
  color: var(--muted);
}

.num {
  font-size: var(--step-small);
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* service index */

.index {
  padding-bottom: 64px;
}

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.rows a {
  display: grid;
  grid-template-columns: 80px 1fr auto 40px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.3s ease, background-color 0.3s ease;
}

.rows a::after {
  content: "→";
  justify-self: end;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.rows a:hover {
  background: var(--surface);
  padding-left: 16px;
}

.rows a:hover::after {
  transform: translateX(-12px);
}

.rows .name {
  font-size: var(--step-lead);
  font-weight: 700;
  font-stretch: 66%;
  text-transform: uppercase;
  line-height: 1;
}

.rows .tags {
  color: var(--muted);
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* service sections */

.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  margin: 0 var(--margin);
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.svc.flip .svc-copy {
  grid-column: 2;
  grid-row: 1;
}

.svc.flip .svc-photo {
  grid-column: 1;
  grid-row: 1;
}

.svc-copy {
  display: grid;
  align-content: center;
  gap: 24px;
}

.svc-copy > p:not(.eyebrow) {
  max-width: 44ch;
  color: var(--muted);
}

.svc-photo {
  min-height: 560px;
  overflow: hidden;
  background: var(--surface);
}

.svc-photo img,
.wide-photo img,
.apie-photo img,
.gallery img,
.gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.04);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 var(--margin) 96px;
}

.gallery-two {
  grid-template-columns: repeat(2, 1fr);
}

.gallery img,
.gallery video {
  height: 400px;
}

.gallery figcaption {
  padding-top: 14px;
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.wide {
  border-top: 1px solid var(--line);
}

.wide-photo {
  height: min(80vh, 760px);
  overflow: hidden;
}

.wide-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px var(--margin) 96px;
  align-items: start;
}

.wide-copy > div {
  display: grid;
  gap: 24px;
}

.wide-copy p:not(.eyebrow) {
  max-width: 44ch;
  color: var(--muted);
}

/* process */

.eiga {
  background: var(--surface);
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.choice {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 16px;
  cursor: pointer;
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: border-color 0.2s ease;
}

.choice:hover {
  border-color: var(--ink);
}

.choice[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.step p {
  color: var(--muted);
  max-width: 28ch;
}

.result {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* about */

.apie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.apie > div {
  display: grid;
  gap: 24px;
}

.apie > div > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 52ch;
}

.apie-photo {
  aspect-ratio: 4 / 5;
  max-height: 760px;
  overflow: hidden;
}

.facts {
  margin: 8px 0 0;
  border-bottom: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-top: 3px;
}

.facts dd {
  margin: 0;
}

/* contact */

.kontaktai {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  border-top: 1px solid var(--line);
}

.kontaktai-head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.kontaktai-head h2 {
  font-size: var(--step-display);
  line-height: 0.9;
}

.kontaktai-head p {
  max-width: 40ch;
  color: var(--muted);
}

.address {
  margin-top: 32px;
  display: grid;
  gap: 12px;
  font-style: normal;
  font-size: var(--step-lead);
  font-weight: 600;
  font-stretch: 80%;
  line-height: 1.2;
  text-transform: uppercase;
}

.address a {
  text-decoration: none;
}

.address .email {
  text-transform: none;
}

.address a:hover {
  color: var(--muted);
}

.address .muted {
  font-size: var(--step-body);
  font-weight: 400;
  font-stretch: 100%;
  text-transform: none;
}

form {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

form .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

input,
textarea,
select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  border-radius: 0;
  font-size: var(--step-body);
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

select option {
  background: var(--bg);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.note {
  color: var(--ink);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 40px var(--margin);
  border-top: 1px solid var(--line);
}

.footer nav {
  display: flex;
  gap: 28px;
}

.footer nav a {
  text-decoration: none;
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--step-small);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--margin) 24px;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a:not(.button) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav .button {
    margin-top: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero-photo img {
    object-position: 74% center;
  }

  .hero:has(video) .hero-copy {
    margin-top: -24px;
  }

  .strip {
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
  }

  .hero-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .actions .button,
  .actions .link {
    flex: 1;
    justify-content: center;
  }

  .head,
  .svc,
  .wide-copy,
  .apie,
  .kontaktai,
  .kontaktai-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .svc.flip .svc-copy,
  .svc.flip .svc-photo {
    grid-column: 1;
    grid-row: auto;
  }

  .svc {
    padding: 64px 0;
  }

  .head p {
    max-width: none;
  }

  .svc-photo {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .rows a {
    grid-template-columns: 40px 1fr 24px;
    gap: 16px;
    padding: 22px 0;
  }

  .rows .tags {
    grid-column: 2;
    grid-row: 2;
  }

  .rows a::after {
    grid-column: 3;
    grid-row: 1;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .gallery,
  .gallery-two {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .gallery img,
  .gallery video {
    height: 280px;
  }

  .wide-photo {
    height: 56vh;
    min-height: 300px;
  }

  .wide-copy {
    padding: 40px var(--margin) 64px;
  }

  form {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .wrap {
    padding: 80px var(--margin);
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rows a,
  .rows a::after,
  .button,
  .link,
  .choice {
    transition: none;
  }
}
