/* Hideg. — style 10 One-line punch
   Zugló / XIV. Billboard, not a magazine, not a grid, not a workshop.
   The line is the site. */

/* latin-ext — Big Shoulders Display (Hideg Display) */
@font-face {
  font-family: "Hideg Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/bigshoulders-latin-ext-800.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hideg Display";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/bigshoulders-latin-ext-900.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin — Big Shoulders Display */
@font-face {
  font-family: "Hideg Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/bigshoulders-latin-800.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Hideg Display";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/bigshoulders-latin-900.woff2") format("woff2");
  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;
}

/* latin-ext — Work Sans (Hideg Sans) */
@font-face {
  font-family: "Hideg Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/worksans-latin-ext-400.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hideg Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/worksans-latin-ext-500.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hideg Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/worksans-latin-ext-600.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin — Work Sans */
@font-face {
  font-family: "Hideg Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/worksans-latin-400.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Hideg Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/worksans-latin-500.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Hideg Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/worksans-latin-600.woff2") format("woff2");
  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 {
  --ink: #070707;
  --paper: #f4f4f4;
  --ice: #5ee0ff;
  --mute: #8a8a8a;
  --display: "Hideg Display", "Big Shoulders Display", Impact, "Arial Black", sans-serif;
  --sans: "Hideg Sans", "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--ink); }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 0.75rem; top: -4rem;
  z-index: 20;
  background: var(--ice);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ——— POSTER ——— */
.poster {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.poster-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.4rem, 2.5vw, 2rem) clamp(0.5rem, 3vw, 2.4rem) 5.2rem;
  overflow: hidden;
}

.punch {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.punch:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 8px;
}

.punch-line {
  display: none;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.4rem, 11.4vw, 12.2rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  margin-left: -0.045em;
}
html[data-line="0"] .punch-line[data-i="0"],
html[data-line="1"] .punch-line[data-i="1"],
html[data-line="2"] .punch-line[data-i="2"] {
  display: block;
}
html[data-line="1"] .punch-line {
  font-size: clamp(2.7rem, 8.6vw, 9.2rem);
}
html[data-line="2"] .punch-line {
  font-size: clamp(4.8rem, 18vw, 16.5rem);
}

.punch-line .w {
  display: inline;
  white-space: nowrap;
}
.punch-line .w + .w { margin-left: 0.18em; }

.punch-dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  background: var(--ice);
  margin-left: 0.05em;
  vertical-align: 0.08em;
}

@keyframes slam {
  from {
    transform: translateY(10%) scale(1.05);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.punch-line.is-slam {
  animation: slam 280ms cubic-bezier(0.16, 0.84, 0.22, 1);
}

.punch-cap {
  margin: 1.1rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}
.punch-cap[hidden] { display: none; }
.punch-cap.is-on { display: block; }
.punch-cap.is-fade {
  animation: cap-in 320ms ease-out;
}
@keyframes cap-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ——— DOCK ——— */
.dock {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 1rem 1.4rem;
  padding: 0.85rem clamp(0.7rem, 3vw, 2.2rem) 1.05rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.dock-brand {
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-transform: none;
  display: inline-flex;
  align-items: flex-end;
  color: var(--paper);
}
.mark-dot {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  background: var(--ice);
  margin: 0 0 0.12em 0.06em;
}
.dock-place {
  margin: 0;
  color: var(--paper);
  opacity: 0.72;
}
.dots {
  display: flex;
  gap: 0.45rem;
  margin-left: auto;
}
.dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid var(--paper);
  background: transparent;
  cursor: pointer;
}
html[data-line="0"] .dot[data-i="0"],
html[data-line="1"] .dot[data-i="1"],
html[data-line="2"] .dot[data-i="2"] {
  background: var(--ice);
  border-color: var(--ice);
}
.dock-call {
  background: var(--ice);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.5rem 0.95rem;
  text-transform: uppercase;
}
.dock-call:hover { color: var(--ink); }

/* ——— BACK OF POSTER ——— */
.hatlap {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(2.4rem, 7vw, 5.5rem) clamp(0.9rem, 4vw, 2.8rem) 2.4rem;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
}
.fact-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7.2vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  display: block;
}

.mute-line {
  margin: 1.6rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.quote {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--ink);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}
.quote label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.quote input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0.55rem 0;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0;
}
.quote input:focus-visible {
  outline: none;
  border-bottom-color: var(--ice);
  box-shadow: 0 1px 0 var(--ice);
}
.btn-send {
  justify-self: start;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 0.75rem 1.35rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-send:hover {
  background: var(--ice);
  color: var(--ink);
}
.form-ok {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.form-ok[hidden] { display: none; }
.quote.is-sent .form-row { display: none; }

.addr {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 2.4rem 0 0;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
}
.addr a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.35rem;
}
.addr a:hover { color: var(--ink); text-decoration: underline; }

.colophon {
  margin: 2.2rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

@media (min-width: 720px) {
  .facts {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.2rem;
  }
  .form-row {
    grid-template-columns: 1fr 1fr auto;
    gap: 1.2rem;
  }
  .addr {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 1.4rem;
  }
  .addr a { margin-top: 0; }
}

@media (max-width: 699px) {
  .punch-line .w {
    display: block;
    margin-left: 0 !important;
  }
  html[data-line="0"] .punch-line {
    font-size: clamp(4.2rem, 22vw, 6.2rem);
  }
  html[data-line="1"] .punch-line {
    font-size: clamp(3.4rem, 17vw, 4.8rem);
  }
  html[data-line="2"] .punch-line {
    font-size: clamp(5.6rem, 30vw, 8rem);
  }
  .dock {
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
  }
  .dots { margin-left: 0; }
  .dock-call { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .punch-line.is-slam,
  .punch-cap.is-fade {
    animation: none;
  }
}
