/* =========================================================================
   Salon Afrodité — smaltovaná cedule
   Plochá pole barev, kondenzovaný grotesk, patkový chleba, jeden úhel.
   ========================================================================= */

:root {
  --foam: #d7e4dc;
  --paper: #f2f6f1;
  --petrol: #0b2b2a;
  --petrol-soft: #3a5453;
  --amber: #e8a33d;
  --amber-ink: #7a4a05;

  --display: "Archivo Narrow", "Helvetica Neue Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Spectral", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --gut: clamp(1.15rem, 4vw, 4.5rem);
  --step: clamp(3.5rem, 8vw, 8rem); /* svislý rytmus mezi pásy */
  --tilt: -2.4deg;

  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-base: 1.0625rem;
  --t-m: clamp(1.125rem, 1.6vw, 1.375rem);
  --t-l: clamp(1.5rem, 3vw, 2.25rem);
  --t-xl: clamp(2rem, 4.6vw, 3.5rem);
  --t-display: clamp(2.75rem, 9.2vw, 8.5rem);
}

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--petrol);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.66;
  font-weight: 400;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* -------------------------------------------------------------- pomocné --- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--amber);
  color: var(--petrol);
  font-family: var(--display);
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
}

.skip:focus {
  transform: translateY(0);
}

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

.band {
  padding-inline: var(--gut);
  padding-block: var(--step);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: clamp(2rem, 4vw, 3.5rem);
}

.measure {
  max-width: 62ch;
}

.label {
  font-family: var(--body);
  font-style: italic;
  font-size: var(--t-s);
  color: var(--petrol-soft);
  margin: 0 0 0.9rem;
  line-height: 1.4;
}

.on-dark .label,
.hero .label {
  color: var(--amber);
}

.fx-a {
  font-style: normal;
  color: var(--amber-ink);
  box-shadow: inset 0 -0.42em 0 rgba(232, 163, 61, 0.42);
}

.on-dark .fx-a {
  color: var(--amber);
  box-shadow: none;
}

.fx-b {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.005em;
}

/* ------------------------------------------------------------- hlavička --- */

.masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  border-bottom: 0;
}

.masthead__brand {
  background: var(--petrol);
  color: var(--foam);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem var(--gut);
  text-decoration: none;
}

.masthead__mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.masthead__sub {
  font-size: var(--t-xs);
  font-style: italic;
  color: var(--amber);
  line-height: 1.2;
  max-width: 12ch;
}

.masthead__nav {
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.75rem);
  padding: 0.75rem var(--gut);
}

.masthead__nav a {
  text-decoration: none;
  font-size: var(--t-base);
  padding-block: 0.35rem;
  white-space: nowrap;
}

.masthead__nav a:hover {
  box-shadow: inset 0 -2px 0 var(--petrol);
}

.masthead__nav a[aria-current="page"] {
  box-shadow: inset 0 -6px 0 var(--amber);
}

.masthead__call {
  background: var(--amber);
  color: var(--petrol);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem var(--gut);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  letter-spacing: -0.01em;
}

.masthead__call svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

@media (max-width: 860px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .masthead__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .masthead__nav::-webkit-scrollbar {
    display: none;
  }
  .masthead__sub {
    display: none;
  }
}

/* ------------------------------------------------------------------ hero --- */

.hero {
  background: var(--petrol);
  color: var(--foam);
  padding: clamp(3rem, 7vw, 6.5rem) var(--gut) clamp(5rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: clamp(2rem, 4vw, 3rem);
  align-items: end;
}

.hero__text {
  grid-column: 1 / 8;
}

.hero__slot {
  grid-column: 9 / 13;
  align-self: end;
}

.hero h1 {
  font-size: var(--t-display);
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  max-width: 15ch;
}

.hero__lead {
  font-size: var(--t-m);
  line-height: 1.55;
  max-width: 52ch;
  color: #cddcd4;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}

.phone-block {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--amber);
  color: var(--petrol);
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.phone-block svg {
  width: 0.8em;
  height: 0.8em;
  flex: none;
}

.phone-block:hover {
  background: var(--foam);
}

.hero__status {
  font-size: var(--t-s);
  color: #cddcd4;
  line-height: 1.4;
  max-width: 22ch;
}

.hero__status b {
  display: block;
  color: var(--amber);
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-base);
}

/* smaltovaná cedule — výplň, dokud není nahraná fotka */
.hero__photo:empty {
  display: none;
}

.hero__photo[data-has-photo] ~ .plate {
  display: none;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.plate {
  background: var(--amber);
  color: var(--petrol);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: grid;
  gap: 0.4rem;
  align-content: space-between;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--petrol);
  outline: 3px solid var(--amber);
  outline-offset: -13px;
}

.plate__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.plate__year {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
}

.plate__where {
  font-size: var(--t-s);
  font-style: italic;
  line-height: 1.35;
}

@media (max-width: 1000px) {
  .hero__text {
    grid-column: 1 / -1;
  }
  .hero__slot {
    grid-column: 1 / 8;
  }
}

@media (max-width: 620px) {
  .hero__slot {
    grid-column: 1 / -1;
    max-width: 20rem;
  }
}

/* ----------------------------------------------------------- stuha (úhel) --- */

/* Stuha nese jediný úhel na webu. Naklání se přes rozhraní petrolejové
   sekce nad ní a pěnové pod ní, takže obě hrany vyjdou rovnoběžně samy —
   žádné pomocné vrstvy nejsou potřeba a nemají co zakrývat. */
/* Pás je širší než okno, aby po natočení nezůstaly rohy prázdné. Ořezová
   zóna je průhledná — nad pásem prosvítá petrolejová sekce, pod ním pěnová,
   takže obě hrany vypadají jako jeden přehnutý pruh. */
.ribbon-zone {
  position: relative;
  overflow: hidden;
  margin-top: clamp(-4.5rem, -6vw, -3rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-block: 3.2vw;
}

.ribbon {
  position: relative;
  background: var(--amber);
  color: var(--petrol);
  width: 114%;
  margin-left: -7%;
  transform: rotate(var(--tilt));
  overflow: hidden;
  padding-block: 0.55rem;
}

.marquee {
  display: flex;
  width: max-content;
  animation: slide 46s linear infinite;
}

.marquee__run {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__item {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: -0.005em;
  padding-inline: 0.9rem;
  white-space: nowrap;
}

.marquee__sep {
  width: 7px;
  height: 7px;
  background: var(--petrol);
  flex: none;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------- odstíny --- */

.band--paper {
  background: var(--paper);
}

.band--dark {
  background: var(--petrol);
  color: var(--foam);
}

.band--amber {
  background: var(--amber);
  color: var(--petrol);
}

/* --------------------------------------------------------------- sekce --- */

.sec-head {
  grid-column: 1 / 4;
}

.sec-body {
  grid-column: 5 / 12;
}

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

.sec-title {
  font-size: var(--t-xl);
  max-width: 18ch;
}

.rich p {
  max-width: 62ch;
}

.rich p + p {
  margin-top: 0;
}

@media (max-width: 900px) {
  .sec-head,
  .sec-body {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------- čísla --- */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  grid-column: 1 / -1;
}

.stat {
  display: grid;
  gap: 0.15rem;
}

.stat__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
  font-variant-numeric: lining-nums tabular-nums;
}

.stat__label {
  font-size: var(--t-s);
  font-style: italic;
  color: var(--petrol-soft);
  max-width: 16ch;
}

/* ---------------------------------------------------------------- ceník --- */

.menu {
  display: grid;
}

.menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
  padding-block: clamp(0.7rem, 1.4vw, 1.15rem);
}

.menu-row__name {
  font-size: var(--t-m);
  line-height: 1.3;
  max-width: 40ch;
}

.menu-row__detail {
  display: block;
  font-size: var(--t-s);
  font-style: italic;
  color: var(--petrol-soft);
  line-height: 1.4;
  margin-top: 0.15rem;
}

.menu-row__price {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

.price-from {
  font-family: var(--body);
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  letter-spacing: 0;
  color: var(--petrol-soft);
}

.pricegroup {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.pricegroup__bar {
  background: var(--amber);
  color: var(--petrol);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0.5rem var(--gut);
  margin-inline: calc(var(--gut) * -1);
  margin-bottom: 1.25rem;
}

.pricegroup__note {
  font-style: italic;
  font-size: var(--t-s);
  color: var(--petrol-soft);
  margin-bottom: 0.75rem;
  max-width: 52ch;
}

.note-list {
  display: grid;
  gap: 0.85rem;
  max-width: 62ch;
}

.note-list__item {
  font-size: var(--t-s);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.note-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--amber);
}

/* -------------------------------------------------------------- ohlasy --- */

.reviews {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: clamp(2.5rem, 5vw, 4.5rem);
}

.review {
  grid-column: 4 / 11;
  margin: 0;
  position: relative;
}

.review:nth-child(even) {
  grid-column: 2 / 9;
}

.review:nth-child(3n) {
  grid-column: 6 / 13;
}

.review--lead {
  grid-column: 1 / 12;
}

.review--lead .review__quote p {
  font-size: var(--t-l);
  line-height: 1.34;
  max-width: 26ch;
}

.review--lead::before {
  content: "„";
  position: absolute;
  left: -0.12em;
  top: -0.42em;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(6rem, 14vw, 13rem);
  line-height: 1;
  color: var(--amber);
  pointer-events: none;
}

.review--lead .review__quote {
  position: relative;
}

.review__quote {
  margin: 0 0 0.85rem;
}

.review__quote p {
  font-size: var(--t-m);
  line-height: 1.55;
  max-width: 46ch;
}

.review__by {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.review__author {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-base);
}

.review__meta {
  font-size: var(--t-xs);
  font-style: italic;
  color: var(--amber);
}

.on-dark .review__meta {
  color: var(--amber);
}

@media (max-width: 900px) {
  .review,
  .review:nth-child(even),
  .review:nth-child(3n),
  .review--lead {
    grid-column: 1 / -1;
  }
  .review--lead::before {
    left: auto;
    right: 0;
    top: -0.55em;
  }
}

/* --------------------------------------------------------------- zásady --- */

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-column: 1 / -1;
}

.principle__title {
  font-size: var(--t-m);
  font-weight: 700;
  margin-bottom: 0.6rem;
  padding-top: 0.85rem;
  border-top: 5px solid var(--amber);
  max-width: 20ch;
}

.principle__text {
  font-size: var(--t-s);
  line-height: 1.62;
  max-width: 40ch;
}

/* -------------------------------------------------------------- časová osa --- */

.timeline {
  display: grid;
  gap: 0;
  grid-column: 1 / -1;
}

.milestone {
  display: grid;
  grid-template-columns: minmax(5.5rem, 8rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding-block: clamp(0.85rem, 1.6vw, 1.25rem);
}

.milestone__year {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--amber-ink);
  font-variant-numeric: lining-nums tabular-nums;
}

.milestone__text {
  max-width: 52ch;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ tým --- */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(1.75rem, 3vw, 2.75rem);
  grid-column: 1 / -1;
}

.member__face {
  aspect-ratio: 4 / 5;
  margin-bottom: 1rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.member__face--monogram {
  background: var(--petrol);
  color: var(--amber);
  display: grid;
  place-items: center;
}

.member__face--monogram span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.duotone,
.hero__photo[data-has-photo] {
  background: var(--petrol);
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.duotone img,
.hero__photo[data-has-photo] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: screen;
}

.duotone::after,
.hero__photo[data-has-photo]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.member__name {
  font-size: var(--t-m);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.member__role {
  font-size: var(--t-s);
  font-style: italic;
  color: var(--amber-ink);
  margin-bottom: 0.5rem;
}

.member__note {
  font-size: var(--t-s);
  line-height: 1.55;
  max-width: 32ch;
}

/* ------------------------------------------------------------- otevírací --- */

.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: lining-nums tabular-nums;
}

.hours th,
.hours td {
  text-align: left;
  padding: 0.6rem 1rem 0.6rem 0;
  font-weight: 400;
  vertical-align: baseline;
}

.hours th {
  font-family: var(--display);
  font-weight: 700;
  width: 9rem;
}

.hours__time {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-m);
  white-space: nowrap;
}

.hours__note {
  font-size: var(--t-xs);
  font-style: italic;
  color: var(--petrol-soft);
}

.hours__row.is-today {
  background: var(--amber);
}

.hours__row.is-today th,
.hours__row.is-today td {
  padding-left: 0.75rem;
  color: var(--petrol);
}

.hours__row.is-today .hours__note {
  color: var(--amber-ink);
}

.hours-mini {
  display: grid;
  gap: 0.15rem;
  font-variant-numeric: lining-nums tabular-nums;
}

.hours-mini__row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.75rem;
  font-size: var(--t-s);
  padding: 0.12rem 0.4rem;
  margin-left: -0.4rem;
}

.hours-mini__row.is-today {
  background: var(--amber);
  color: var(--petrol);
}

/* ------------------------------------------------------------------ mapa --- */

.map {
  grid-column: 1 / -1;
  background: var(--petrol);
  color: var(--foam);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: var(--gut);
  text-align: center;
  position: relative;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map__placeholder {
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-width: 34ch;
}

.map__note {
  font-size: var(--t-s);
  font-style: italic;
  color: #cddcd4;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber);
  color: var(--petrol);
  border: 0;
  padding: 0.7rem 1.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-base);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--foam);
}

.btn--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}

.btn--ghost:hover {
  background: var(--amber);
  color: var(--petrol);
  box-shadow: none;
}

@media (max-width: 700px) {
  .map {
    aspect-ratio: 4 / 5;
  }
}

/* ------------------------------------------------------------- kontakty --- */

.ways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  grid-column: 1 / -1;
}

.way__title {
  font-size: var(--t-m);
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-top: 0.8rem;
  border-top: 5px solid var(--amber);
}

.way__text {
  font-size: var(--t-s);
  line-height: 1.62;
  max-width: 38ch;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-column: 1 / -1;
}

.card__label {
  font-style: italic;
  font-size: var(--t-s);
  color: var(--petrol-soft);
  margin-bottom: 0.6rem;
}

.card address {
  font-style: normal;
  font-size: var(--t-m);
  line-height: 1.45;
}

.link-plain {
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--amber);
}

.link-plain:hover {
  box-shadow: inset 0 -0.85em 0 var(--amber);
}

.link-big {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-m);
  text-decoration: none;
  box-shadow: inset 0 -3px 0 var(--amber);
  word-break: break-word;
}

.link-big:hover {
  box-shadow: inset 0 -0.7em 0 var(--amber);
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

/* ----------------------------------------------------------------- výzva --- */

.cta {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: clamp(1.75rem, 3vw, 2.5rem);
  align-items: end;
}

.cta__text {
  grid-column: 1 / 7;
}

.cta__action {
  grid-column: 8 / 13;
  justify-self: start;
}

.cta h2 {
  font-size: var(--t-xl);
  margin-bottom: 0.85rem;
  max-width: 16ch;
}

.cta p {
  max-width: 46ch;
}

.band--amber .phone-block {
  background: var(--petrol);
  color: var(--amber);
}

.band--amber .phone-block:hover {
  background: var(--paper);
  color: var(--petrol);
}

@media (max-width: 900px) {
  .cta__text,
  .cta__action {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------------- patička --- */

.footer {
  background: var(--petrol);
  color: var(--foam);
  padding: var(--step) var(--gut) clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: clamp(2rem, 4vw, 3rem);
}

.footer__brand {
  grid-column: 1 / 4;
}

.footer__col {
  grid-column: span 3;
}

.footer__wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.footer .card__label,
.footer .label {
  color: var(--amber);
  font-style: italic;
}

.footer a {
  color: inherit;
}

.footer address {
  font-style: normal;
  font-size: var(--t-s);
  line-height: 1.55;
}

.footer__note {
  grid-column: 1 / -1;
  font-size: var(--t-xs);
  color: #9fb4ad;
  border-top: 1px solid #1e3d3b;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
}

@media (max-width: 1000px) {
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__col {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .footer__col {
    grid-column: 1 / -1;
  }
}

/* -------------------------------------------------------------- stránky --- */

.pagehead {
  background: var(--petrol);
  color: var(--foam);
  padding: clamp(2.75rem, 6vw, 5.5rem) var(--gut) clamp(3.5rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: 1.5rem;
}

.pagehead h1 {
  grid-column: 1 / 8;
  font-size: clamp(2.5rem, 7.5vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.pagehead__lead {
  grid-column: 8 / 13;
  font-size: var(--t-m);
  line-height: 1.55;
  color: #cddcd4;
  align-self: end;
  max-width: 44ch;
}

@media (max-width: 900px) {
  .pagehead h1,
  .pagehead__lead {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------- animace --- */

.reveal {
  animation: rise 0.85s cubic-bezier(0.19, 0.8, 0.24, 1) both;
}

.reveal-2 {
  animation-delay: 0.14s;
}

.reveal-3 {
  animation-delay: 0.26s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 -20% 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-2,
  .reveal-3 {
    animation: none;
  }
  .marquee {
    animation: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .ribbon,
  .map,
  .masthead__call {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
