:root {
  --red: #ed1818;
  --ink: #151515;
  --muted: #67645f;
  --line: #d8d4cc;
  --paper: #f5f2eb;
  --white: #ffffff;
  --pad: clamp(22px, 5vw, 76px);
  --max: 1480px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #1f6feb;
  outline-offset: 4px;
}

.site-header { border-bottom: 1px solid var(--line); background: rgba(245,242,235,.94); }

.nav {
  width: min(100%, var(--max));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
}

.mini-mark {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
}
.mini-mark span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); color: white; font-size: 22px; font-weight: 950; font-style: italic; transform: rotate(-2deg); }
.mini-mark b { font-size: 11px; font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav-links a { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.nav-links a:hover { color: var(--red); }
.nav-links .nav-cta { padding: 13px 17px; border: 1px solid var(--ink); transition: .2s ease; }
.nav-links .nav-cta:hover { background: var(--ink); color: white; }

.hero { width: min(100%, var(--max)); margin: auto; padding: clamp(58px, 8vw, 118px) var(--pad) clamp(40px, 6vw, 86px); overflow: hidden; }

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .7fr);
  gap: clamp(44px, 9vw, 150px);
  align-items: end;
  margin-bottom: clamp(58px, 8vw, 110px);
}

.eyebrow, .kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 800;
}

.eyebrow { margin: 0 0 26px; color: var(--muted); }

h1 {
  margin: 0;
  font-size: clamp(62px, 8.4vw, 132px);
  line-height: .78;
  letter-spacing: -.072em;
  font-weight: 900;
}

h1 em { color: var(--red); font-style: normal; }

/* Czech needs its own display typesetting: accented capitals require more
   vertical room and the translated verbs are wider than their English peers. */
html[lang="cs"] h1 {
  max-width: 8.4em;
  font-size: clamp(58px, 7.2vw, 110px);
  line-height: .91;
  letter-spacing: -.058em;
}

html[lang="cs"] .hero-content {
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr);
  gap: clamp(42px, 7vw, 110px);
  margin-bottom: clamp(48px, 6vw, 82px);
}

.hero-aside { padding-bottom: 4px; }

.intro {
  margin: 0 0 36px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.58;
  color: var(--muted);
}
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.text-link:hover { color: var(--red); border-color: var(--red); }

.logo-stage {
  position: relative;
}

.supreme-box-logo {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(270px, 35vw, 520px);
  background: var(--red);
  color: white;
  font-family: Futura, "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-style: oblique;
  font-size: clamp(38px, 7.2vw, 112px);
  padding: 1em .25em;
  letter-spacing: -.055em;
  text-align: center;
  text-transform: lowercase;
  box-shadow: 0 22px 60px rgba(43,35,28,.13);
}

.logo-text { position: relative; z-index: 2; white-space: nowrap; }
.hero-note { display: flex; justify-content: flex-end; margin: 18px 0 0; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }

.services { width: min(100%, var(--max)); margin: auto; padding: clamp(100px, 12vw, 180px) var(--pad); }
.section-heading { display: grid; grid-template-columns: .7fr 1.5fr .7fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.kicker { color: var(--red); margin: 10px 0 0; }
.section-heading h2, .contact h2 {
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: .9; letter-spacing: -.06em; margin: 0;
}
.section-intro { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--ink); }
.service-card { position: relative; min-height: 530px; padding: 24px clamp(24px, 2.7vw, 42px) 30px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.service-card + .service-card { padding-left: clamp(24px, 2.7vw, 42px); }
.service-card:last-child { border-right: 0; }
.service-number { font: 500 clamp(42px, 4.5vw, 70px)/1 "Helvetica Neue", sans-serif; color: var(--red); letter-spacing: -.06em; }
.stage-action { margin: 12px 0 50px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.service-card h3 { font-size: clamp(32px, 3.3vw, 52px); line-height: .95; margin: 0 0 25px; letter-spacing: -.05em; }
.service-card > p:not(.stage-action) { max-width: 350px; margin: 0; color: var(--muted); line-height: 1.65; font-size: 15px; }
.service-card > a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.service-card > a:hover { color: var(--red); }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(54px, 9vw, 140px); background: var(--ink); color: white; padding: clamp(90px, 10vw, 150px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.contact .kicker { color: var(--red); }
.contact h2 { margin: 26px 0 32px; }
.contact-heading > p:not(.kicker) { max-width: 450px; color: #aaa7a1; font-size: 17px; line-height: 1.65; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 46px; }
.contact-meta span { color: #aaa7a1; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.contact-meta span::before { content: "✓"; margin-right: 7px; color: var(--red); }
.contact-form { display: grid; gap: 27px; align-self: start; padding-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-form label { display: grid; gap: 10px; }
.contact-form label > span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-form small { font: inherit; opacity: .65; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border: 0; border-bottom: 1px solid #5c5a57;
  border-radius: 0; padding: 11px 1px 14px; background: transparent; color: white;
  font: 500 clamp(17px, 1.6vw, 22px)/1.35 "Helvetica Neue", Arial, sans-serif; outline: none;
}
.contact-form select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%); background-position: calc(100% - 15px) 48%, calc(100% - 8px) 48%; background-size: 7px 7px, 7px 7px; background-repeat: no-repeat; }
.contact-form select option { color: var(--ink); background: white; }
.contact-form textarea { resize: vertical; min-height: 125px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--red); }
.contact-form .honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 12px; }
.form-status { margin: 0; min-height: 1.4em; color: #aaa7a1; font-size: 12px; font-weight: 700; }
.form-status.error { color: white; }
.contact-form button {
  min-width: min(100%, 240px); display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--red); padding: 18px 20px; background: var(--red); color: white;
  font: 900 12px/1 Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .12em;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.contact-form button:hover { background: white; border-color: white; color: var(--ink); }
.contact-form button:disabled { opacity: .65; cursor: wait; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; padding: 30px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); text-transform: uppercase; font-size: 9px; letter-spacing: .15em; }
footer p { margin: 0; }
footer p:last-child { text-align: right; }
footer div { display: flex; gap: 24px; }
footer a:hover { color: var(--red); }

.reactive-word { display: inline-block; white-space: nowrap; }
.reactive-letter {
  --react-x: 0px; --react-y: 0px; --react-r: 0deg; --react-s: 0deg;
  display: inline-block;
  transform: translate3d(var(--react-x), var(--react-y), 0) rotate(var(--react-r)) skewX(var(--react-s));
  transform-origin: 50% 60%;
  will-change: transform, color;
}
.reactive-letter.is-settling {
  transition: transform .72s cubic-bezier(.2, .75, .25, 1), color .55s ease;
}

@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 880px) {
  .mini-mark b, .nav-links > a:not(.nav-cta) { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 38px; }
  .hero-aside { max-width: 540px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-intro { max-width: 520px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card { min-height: auto; padding: 30px 0 36px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stage-action { margin-bottom: 30px; }
  .service-card > p:not(.stage-action) { margin-bottom: 46px; }
  .contact { grid-template-columns: 1fr; }
  .contact-heading { max-width: 650px; }
  html[lang="cs"] .hero-content { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav { min-height: 70px; }
  .nav-links .nav-cta { padding: 11px 12px; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(54px, 18vw, 84px); }
  html[lang="cs"] h1 {
    max-width: none;
    font-size: clamp(49px, 15.5vw, 76px);
    line-height: .94;
    letter-spacing: -.052em;
  }
  .supreme-box-logo { min-height: 245px; font-size: clamp(29px, 9.5vw, 52px); padding-inline: .1em; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .contact-form button { width: 100%; }
  footer { grid-template-columns: 1fr; gap: 12px; }
  footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reactive-letter { transform: none !important; }
}

.error-page { min-height: 100svh; display: grid; place-items: center; padding: 5vw; background: white; color: var(--ink); overflow: hidden; }
.error-wrap { width: min(1180px, 100%); text-align: center; }
.error-code { margin: 0 0 24px; color: #5f5f5f; font: 800 12px/1 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.error-banner { position: relative; overflow: hidden; display: grid; place-items: center; min-height: clamp(260px, 48vh, 500px); padding: 40px 20px; background: var(--red); color: white; box-shadow: 0 24px 70px rgba(0,0,0,.24); transform: rotate(-1.5deg); animation: logoFloat 5s ease-in-out infinite; }
.error-banner h1 { margin: 0; font-size: clamp(70px, 15vw, 220px); line-height: .78; }
.error-banner p { margin: 30px 0 0; font-size: clamp(18px, 2vw, 28px); font-weight: 800; }
.error-home { display: inline-block; margin-top: 36px; padding-bottom: 8px; border-bottom: 2px solid var(--red); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.error-countdown {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: stretch;
  width: min(680px, calc(100% - 24px)); min-height: 116px; margin: 38px auto 0;
  border: 2px solid var(--ink); background: white; text-align: left;
  box-shadow: 10px 10px 0 var(--red); overflow: hidden;
}
.countdown-tile {
  display: grid; grid-template-columns: 1fr auto; align-items: end; min-width: 132px;
  padding: 14px 13px 13px 17px; background: var(--red); color: white;
  font-family: Futura, "Helvetica Neue", Arial, sans-serif; font-style: oblique;
}
.countdown-number { align-self: center; font-size: clamp(54px, 7vw, 78px); font-weight: 950; line-height: .82; letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.countdown-unit { padding-bottom: 3px; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.countdown-message { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 22px clamp(20px, 4vw, 42px) 28px; }
.countdown-kicker { display: flex; align-items: center; gap: 11px; color: #666; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.countdown-squares { display: flex; gap: 3px; }
.countdown-squares i { width: 8px; height: 8px; background: var(--red); animation: squareBeat 1.2s ease-in-out infinite; }
.countdown-squares i:nth-child(2) { animation-delay: .15s; }
.countdown-squares i:nth-child(3) { animation-delay: .3s; }
.countdown-line { color: var(--ink); font-size: clamp(20px, 2.5vw, 31px); font-weight: 900; letter-spacing: -.035em; }
.countdown-line strong { color: var(--red); font-variant-numeric: tabular-nums; }
.countdown-progress { position: absolute; right: 0; bottom: 0; width: calc(100% - 132px); height: 7px; background: #e7e7e7; }
.countdown-progress::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: countdownSweep 10s linear forwards; }
.error-countdown + .error-home { margin-top: 34px; }

@keyframes countdownSweep { to { transform: scaleX(0); } }
@keyframes squareBeat { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-4px); opacity: 1; } }

@media (max-width: 520px) {
  .error-countdown { grid-template-columns: 102px 1fr; min-height: 104px; box-shadow: 7px 7px 0 var(--red); }
  .countdown-tile { min-width: 102px; padding: 14px 10px; }
  .countdown-number { font-size: 50px; }
  .countdown-message { gap: 8px; padding: 17px 14px 22px; }
  .countdown-line { font-size: 18px; }
  .countdown-progress { width: calc(100% - 102px); height: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-progress::after, .countdown-squares i { animation: none; }
}
