*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

:root {
  --yellow: #fff010;
  --red: #e5322c;
  --cyan: #009ed6;
  --ink: #181717;
  --muted: #5c5c5c;
  --line: #e4e4e1;
  --paper: #f4f4f2;
  --white: #ffffff;
  --display: "Outfit", "Segoe UI", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 12px;
  --max: 1080px;
  --cursor: url("../img/cursor-stetec.png") 0 0, auto;
}

html {
  scroll-behavior: smooth;
  cursor: var(--cursor);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  cursor: var(--cursor);
}

a,
button,
label,
summary,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="checkbox"],
.shot-open {
  cursor: var(--cursor);
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

p {
  text-wrap: pretty;
}

main {
  flex: 1;
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  font-weight: 700;
}

.skip:focus {
  top: 0.6rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.kicker {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  border: 2px solid transparent;
  background: transparent;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: var(--cursor);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-yellow:hover {
  background: #ffe600;
}

.btn-cyan {
  background: var(--cyan);
  color: var(--white);
}

.btn-cyan:hover {
  background: #0089ba;
  color: var(--white);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: #c92822;
  color: var(--white);
}

.btn-line {
  border-color: var(--white);
  color: var(--white);
}

.btn-line:hover {
  background: var(--white);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
}

.site-header::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--yellow) 0 33.333%,
    var(--red) 33.333% 66.666%,
    var(--cyan) 66.666% 100%
  );
}

.header-inner {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.55rem 0;
}

.brand {
  line-height: 0;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  height: 118px;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  position: relative;
  cursor: var(--cursor);
}

.nav-toggle-box,
.nav-toggle-box::before,
.nav-toggle-box::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-box { top: 22px; }
.nav-toggle-box::before { top: -7px; }
.nav-toggle-box::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-box {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
}

.site-nav a:not(.nav-call) {
  position: relative;
  padding: 0.3rem 0;
}

.site-nav a:not(.nav-call):hover {
  color: var(--red);
}

.site-nav a:not(.nav-call)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.nav-call {
  background: var(--yellow);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-call:hover {
  background: #ffe600;
}

.hero {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--paper);
}

.hero-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(78vh, 860px);
  min-height: 380px;
  color: var(--white);
  overflow: hidden;
  background: #1a1918;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(24, 23, 23, 0.08) 0%,
    rgba(24, 23, 23, 0.12) 40%,
    rgba(24, 23, 23, 0.55) 78%,
    rgba(24, 23, 23, 0.78) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  padding: 4.5rem 0 3.2rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.hero p {
  font-size: 1.2rem;
  max-width: 36rem;
  margin-bottom: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.mid-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.block {
  padding: 4.4rem 0;
}

.band {
  background: var(--white);
}

.section-head {
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.55rem;
}

.section-head p {
  color: var(--muted);
  max-width: 38rem;
}

.page-head {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2.3rem;
}

.page-head h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 0.7rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.7rem;
}

.prose p + p,
.prose h2 + p {
  margin-top: 1rem;
}

.prose .scope {
  margin-top: 1.2rem;
}

.prose .notice {
  margin-top: 1.4rem;
}

.hero p + p {
  margin-top: -0.6rem;
}

.scope {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1.4rem;
  list-style: none;
  padding: 0;
}

.scope li {
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  background: var(--paper);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.scope li:nth-child(3n + 2) {
  border-left-color: var(--red);
}

.scope li:nth-child(3n) {
  border-left-color: var(--cyan);
}

.scope-note {
  margin-top: 1.5rem;
  max-width: 46rem;
  color: var(--muted);
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.6rem;
  list-style: none;
  padding: 0;
}

.points li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.95rem;
}

.points strong {
  display: block;
  font-family: var(--display);
  margin-bottom: 0.2rem;
}

.points span {
  color: var(--muted);
  font-size: 0.98rem;
}

.notice {
  background: var(--white);
  border-left: 6px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.15rem;
  margin-bottom: 1.6rem;
}

.notice strong {
  font-family: var(--display);
}

.fine {
  margin-top: 1rem;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

.gallery-more {
  min-width: min(100%, 22rem);
}

.shot {
  margin: 0;
}

.shot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: var(--cursor);
  border-radius: var(--radius);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.shot-open img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 34%;
  border-radius: var(--radius);
  transition: transform 0.25s ease;
}

.shot-open:hover img,
.shot-open:focus-visible img {
  transform: scale(1.03);
}

body.lightbox-open,
body.nav-open {
  overflow: hidden;
}

.lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: rgba(10, 10, 10, 0.96);
  color: var(--white);
  border-radius: 0;
}

.lightbox[open] {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
}

.lightbox::backdrop {
  background: rgba(8, 8, 8, 0.92);
}

.lightbox-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  height: 100%;
  padding: 3.6rem 4.5rem 1rem;
}

.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 100vw - 2rem);
  max-height: calc(100vh - 7.5rem);
  object-fit: contain;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  padding: 0.55rem 1.1rem calc(0.9rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
}

.lightbox-counter {
  margin: 0;
  color: #d0d0d0;
  font-size: 0.92rem;
  white-space: nowrap;
}

.lightbox-close {
  position: fixed;
  top: max(0.7rem, env(safe-area-inset-top));
  right: max(0.7rem, env(safe-area-inset-right));
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.85rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: var(--cursor);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.lightbox-close span {
  display: block;
  margin-top: -0.1em;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.35rem;
  display: inline-grid;
  place-items: center;
  cursor: var(--cursor);
  backdrop-filter: blur(6px);
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: var(--yellow);
  color: var(--ink);
}

.lightbox-prev {
  left: max(0.7rem, env(safe-area-inset-left));
}

.lightbox-next {
  right: max(0.7rem, env(safe-area-inset-right));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.contact-card h2,
.form-title {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-list a {
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--red);
}

.contact-ids {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #d5d5d2;
  border-radius: 8px;
  background: var(--white);
  padding: 0.75rem 0.8rem;
  min-height: 48px;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(0, 158, 214, 0.35);
  border-color: var(--cyan);
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.form-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--cyan);
  cursor: var(--cursor);
}

.form-check label {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
}

.form-check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.form-check a:hover {
  color: var(--red);
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-note a,
.legal-doc a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-doc {
  max-width: 44rem;
}

.legal-doc h2 {
  font-size: 1.35rem;
  margin-top: 1.7rem;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc p,
.legal-doc ul,
.legal-doc ol {
  margin-top: 0.65rem;
}

.legal-doc ul,
.legal-doc ol {
  padding-left: 1.2rem;
}

.legal-doc li + li {
  margin-top: 0.35rem;
}

.legal-updated {
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  color: #f3f3f3;
  margin-top: auto;
}

.legal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0 1.2rem;
  color: #cfcfcf;
  font-size: 0.92rem;
}

.legal a {
  color: var(--yellow);
}

.legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  justify-self: start;
  text-decoration: none;
}

.legal-links a {
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

.legal-copy {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.legal-credit {
  margin-top: 0.25rem;
}

@media (max-width: 1120px) {
  .brand img {
    height: 64px;
  }

  .header-inner {
    width: min(var(--max), calc(100% - 1.4rem));
    padding: 0.4rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 4px solid var(--yellow);
    padding: 0.4rem 1rem 1rem;
    box-shadow: 0 16px 30px rgba(24, 23, 23, 0.08);
    max-height: calc(100vh - 4.5rem);
    overflow: auto;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a:not(.nav-call) {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    min-height: 48px;
  }

  .site-nav a:not(.nav-call)[aria-current="page"]::after {
    display: none;
  }

  .site-nav a:not(.nav-call)[aria-current="page"] {
    color: var(--red);
  }

  .nav-call {
    margin-top: 0.65rem;
    text-align: center;
  }

  .site-nav .nav-call + .nav-call {
    margin-top: 0.45rem;
  }

  .lightbox-frame {
    padding: 4.2rem 0.75rem 0.75rem;
  }

  .lightbox-nav {
    display: none;
  }

  .lightbox-image {
    max-width: calc(100vw - 1rem);
    max-height: calc(100vh - 8.5rem);
  }
}

@media (max-width: 800px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .contact-grid,
  .points,
  .scope {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    aspect-ratio: 4 / 3;
    max-height: min(52vh, 420px);
    min-height: 280px;
  }

  .hero-copy {
    padding: 2.4rem 0 1.6rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .hero p {
    font-size: 1.05rem;
  }

  .mid-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.6rem;
  }

  .mid-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.7rem;
    font-size: 0.95rem;
    justify-content: center;
    text-align: center;
  }

  .contact-form .btn {
    width: 100%;
    justify-content: center;
  }

  .page-head {
    padding: 2.2rem 0 1.6rem;
  }

  .page-head h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .block {
    padding: 2.6rem 0;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .legal {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .legal-links {
    justify-self: start;
    align-items: flex-start;
  }

  .legal-copy {
    grid-column: 1;
    justify-self: center;
  }
}

@media (max-width: 420px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .brand img {
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .shot-open img { transition: none; }
}
