@font-face {
  font-family: "Grenze Gotisch";
  src: url("grenze-gotisch-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 650;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Grenze Gotisch";
  src: url("grenze-gotisch-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 650;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --background: #0a0a0a;
  --surface: #111;
  --text: #f6f6f5;
  --silver: #c6c6c4;
  --muted: #a7a7a5;
  --line: #333332;
  --gold-glow: rgb(179 128 44 / 22%);
  --font: "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.6 var(--font); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
section { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.wrap { width: min(100% - 6rem, 77.5rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: .75rem; left: .75rem; padding: .5rem 1rem; background: var(--text); color: var(--background); }
.skip-link:not(:focus) { transform: translateY(-180%); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.header-inner { min-height: 4.25rem; padding-block: .65rem; flex-wrap: wrap; gap: .5rem 1.5rem; }
.wordmark { text-decoration: none; font-weight: 800; font-size: 1.05rem; letter-spacing: .19em; }
.header-inner nav { display: flex; align-items: center; gap: clamp(.8rem, 2.5vw, 2rem); }
.header-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.625rem;
  color: var(--silver);
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}
.header-inner nav a:hover { color: var(--text); text-decoration: underline #b7a37f; text-underline-offset: .45em; }
.back:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; }
.header-inner nav .language-switch {
  min-height: 2.25rem;
  padding-inline: .65rem;
  border: 1px solid #514b41;
  font-size: .8125rem;
  letter-spacing: .07em;
}
.header-inner nav .language-switch:hover { border-color: #b7a37f; text-decoration: none; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(39rem, 79svh, 53rem); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  filter: grayscale(1) sepia(.42) brightness(.86);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #080808 0%, rgb(8 8 8 / 91%) 21%, rgb(8 8 8 / 48%) 57%, transparent 88%),
    linear-gradient(0deg, rgb(8 8 8 / 82%), transparent 36%),
    radial-gradient(ellipse at 92% 36%, rgb(163 109 30 / 27%), transparent 58%);
}
.hero-inner { padding-block: 2.75rem 4.5rem; }
.hero-brand {
  width: clamp(14.56rem, 24.44vw, 20.28rem);
  margin: 0 0 1.1rem -1.25rem;
}
.hero-brand img { width: 100%; height: auto; mix-blend-mode: screen; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--silver); font: 600 .875rem/1.4 var(--mono); letter-spacing: .115em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 1.4rem; height: 1px; background: currentColor; flex: none; }
.hero h1 { margin: 1.05rem 0 .7rem; font-size: clamp(3rem, 7.1vw, 7.25rem); font-weight: 750; line-height: .98; letter-spacing: -.074em; }
.hero-lead { max-width: 30rem; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.52; color: var(--silver); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.85rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.1rem; padding: .63rem 1.15rem; border: 1px solid transparent; text-align: center; text-decoration: none; font-weight: 700; font-size: .94rem; }
.button-primary { color: #080808; background: var(--text); }
.button-primary:hover { background: #d8d8d6; }
.button-outline { border-color: #727271; background: rgb(0 0 0 / 32%); }
.button-outline:hover { border-color: #fff; background: rgb(0 0 0 / 65%); }
.header-order {
  min-height: 2.625rem;
  padding: .55rem .85rem;
  border-color: #988466;
  background: #1c1812;
  color: #f2e8d5;
  font-size: .875rem;
  line-height: 1.25;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.header-order:hover { border-color: #d9c5a1; background: #2a2217; }

.section { padding-block: clamp(4rem, 8vw, 7.75rem); }
.section h2 { font-size: clamp(2.55rem, 5.25vw, 5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.065em; margin-block-start: .75rem; }
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: 1.25rem;
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-intro h2 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  color: var(--silver);
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .045em;
}
.section-intro h2::before {
  content: "";
  flex: 0 0 1.75rem;
  height: 1px;
  background: var(--muted);
}
.services-subtitle {
  max-width: 24ch;
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.services-description { max-width: 52ch; color: var(--silver); }
.services-description strong {
  display: block;
  margin-bottom: .7rem;
  color: var(--text);
  font-weight: 650;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}
.service { padding: 2rem 1.6rem 2.25rem; background: var(--background); }
.service h3 { font-size: 1.28rem; letter-spacing: -.025em; margin-bottom: .65rem; }
.service p, .service ul { color: var(--silver); max-width: 36ch; }
.service ul { margin: .85rem 0 0; padding-inline-start: 1.15rem; }
.service li + li { margin-top: .35rem; }
.crew { background: var(--surface); border-block: 1px solid var(--line); }
.crew-inner { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); }
.crew-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(1.25rem, 6vw, 6rem); }
.crew-copy p:not(.eyebrow), .contact p:not(.eyebrow) { max-width: 45ch; color: var(--silver); margin-top: 1.1rem; }
.crew-copy p.crew-lead { margin-top: 0; color: var(--text); font-size: 1.125rem; font-weight: 650; }
.crew-urgent { border-inline-start: 2px solid #929292; margin-top: 1.85rem; padding: .25rem 0 .25rem 1rem; }
.crew-urgent h3 { font-size: 1.15rem; }
.crew-copy .crew-urgent p { margin-top: .25rem; }
.crew-gallery {
  display: grid;
  row-gap: .65rem;
  min-width: 0;
  scroll-margin-top: 1.5rem;
}
.crew-gallery-grid {
  --gallery-gap: .65rem;
  --gallery-photo-width: calc((100% - 4 * var(--gallery-gap)) / 4);
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: max(15.84rem, calc(1.28 * var(--gallery-photo-width)));
  grid-auto-columns: max(12.54rem, var(--gallery-photo-width));
  gap: var(--gallery-gap);
  overflow-x: auto;
  padding-bottom: .35rem;
  scroll-snap-type: x proximity;
  scrollbar-color: #6c665b var(--surface);
}
.crew-gallery-grid img {
  width: 100%;
  height: clamp(11.22rem, 17.16vw, 14.52rem);
  object-fit: cover;
  border: 1px solid var(--line);
  scroll-snap-align: start;
}
.crew-gallery-grid .crew-gallery-lead { object-position: center top; }
.crew-gallery-grid .crew-gallery-plan { object-position: center 60%; }
.crew-gallery-controls {
  justify-self: end;
  display: flex;
  gap: .45rem;
}
.crew-gallery-controls[hidden] { display: none; }
.crew-gallery-controls button {
  min-height: 2.75rem;
  padding: .45rem .75rem;
  border: 1px solid #655e53;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: 600 .875rem/1.2 var(--font);
}
.crew-gallery-controls button:hover:not(:disabled) { border-color: var(--silver); background: #242320; }
.crew-gallery-controls button:disabled { color: var(--muted); opacity: .65; cursor: default; }

.service-details {
  width: min(100%, 62rem);
  margin-inline: auto;
  padding: clamp(1.75rem, 3.75vw, 3rem) clamp(1.125rem, 5vw, 3.75rem);
  border: 1px solid #514334;
  background: radial-gradient(ellipse at 95% 0%, rgb(162 125 61 / 24%), transparent 62%), var(--background);
  box-shadow: inset 0 1px 0 rgb(220 184 123 / 24%);
}
.service-details-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5.35rem, 33%);
  align-items: start;
  gap: clamp(.75rem, 4vw, 3rem);
}
.service-details-header .eyebrow {
  margin-bottom: .7rem;
  color: #dac49f;
}
.service-logo-halo {
  width: 100%;
  max-width: 17rem;
  justify-self: end;
}
.service-logo {
  width: 100%;
  height: auto;
  mask-image: url("logo-revelsi.png");
  mask-mode: luminance;
  mask-size: 100% 100%;
}
.service-details h3 {
  max-width: 42ch;
  margin: 0;
  scroll-margin-top: clamp(8rem, 17vw, 13rem);
  text-align: start;
  text-wrap: balance;
  font-family: "Grenze Gotisch", Georgia, serif;
  font-size: clamp(1.4rem, 3.5vw, 2.75rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: .015em;
}
.service-details h3:lang(pl) {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -.035em;
}
.service-details h3::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 1px;
  margin: 1.1rem 0 0;
  background: #bdad91;
}
.service-details-copy {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 5vw, 4rem);
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  color: var(--silver);
}
.service-details-copy::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 50%;
  border-inline-start: 1px solid var(--line);
}
.service-details-copy strong { color: #f1d49f; }
.contact { background: radial-gradient(ellipse at 86% 102%, var(--gold-glow), transparent 65%), var(--background); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 3rem; align-items: start; }
.brief { align-self: center; background: rgb(12 12 12 / 75%); border: 1px solid #575755; }
.brief h3 { padding: 1rem 1.2rem; font-size: 1rem; font-weight: 650; }
.brief ul { margin: 0; padding: 0 1.5rem 1.25rem 2.5rem; color: var(--silver); }
.brief li + li { margin-top: .5rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 5.25rem; font-size: .9rem; }
.footer-inner .wordmark { color: var(--text); }
.back { text-underline-offset: .25em; }

@media (max-width: 52rem) {
  .wrap { width: min(100% - 3.5rem, 77.5rem); }
  .hero::after { background: linear-gradient(90deg, #080808, rgb(8 8 8 / 70%) 47%, rgb(8 8 8 / 26%)), linear-gradient(0deg, rgb(8 8 8 / 70%), transparent 38%); }
  .section-intro { grid-template-columns: 1fr; }
  .service-details-copy { grid-template-columns: 1fr; }
  .service-details-copy::before { display: none; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { padding-inline: 1rem; }
}

@media (max-width: 37rem) {
  .wrap { width: min(100% - 2rem, 77.5rem); }
  .header-inner { flex-direction: column; justify-content: center; min-height: 0; gap: .3rem; padding-block: .65rem .45rem; }
  .wordmark { font-size: .875rem; letter-spacing: .12em; }
  .header-inner nav { justify-content: center; gap: .2rem 1rem; flex-wrap: wrap; }
  .hero { min-height: 0; }
  .hero-inner { padding-block: 2.5rem 3.5rem; }
  .hero-image { object-position: 65% center; }
  .hero-brand img {
    mask-image: url("logo-revelsi.png");
    mask-mode: luminance;
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
  }
  .hero::after { background: linear-gradient(90deg, rgb(8 8 8 / 93%), rgb(8 8 8 / 56%)), linear-gradient(0deg, rgb(8 8 8 / 76%), transparent 50%); }
  .hero h1 { font-size: clamp(2.5rem, 10.6vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 21rem; }
  .service-list, .crew-copy, .contact-grid { grid-template-columns: 1fr; }
  .service { padding: 1.35rem 0; }
  .footer-inner { padding-block: 1.2rem; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
