:root {
  --indigo: #22334a;
  --paper: #f2eada;
  --paper-2: #e8dbc4;
  --madder: #a0342a;
  --walnut: #5a4232;
  --charcoal: #1c1712;
  --charcoal-2: #241e18;
  --cream: #efe6d3;
  --muted: #b7ab93;
  --muted-2: #7a6a52;
  --honey: #c98f4a;
  --forest: #3f5a4d;
  --line-light: #c9bb9e;
  --ink: #2a2118;
  --content-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: "Alegreya Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 18% 12%, rgb(201 143 74 / 18%), transparent 32%),
    radial-gradient(circle at 82% 5%, rgb(160 52 42 / 12%), transparent 28%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 2.5%) 0 1px, transparent 1px 42px);
}

body,
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

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

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.logo {
  font-family: "Alegreya", Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
}

p {
  max-width: 68ch;
}

section[id] {
  scroll-margin-top: 24px;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--indigo);
}

.visually-hidden,
.nav-toggle-label {
  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: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff;
  color: var(--indigo);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}

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

.wrap {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
}

.space-top {
  margin-top: 14px;
}

.tlum {
  color: var(--muted);
}

.svetla .tlum {
  color: #6d604b;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--honey);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.site-header {
  background: rgb(242 234 218 / 97%);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--indigo);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--madder);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 22px);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--indigo);
  border-bottom: 1px solid transparent;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.site-nav a:hover {
  border-color: currentColor;
}

.site-nav a.shop {
  color: var(--madder);
  border-color: rgb(160 52 42 / 45%);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgb(34 51 74 / 35%);
  border-radius: 999px;
  background: transparent;
  color: var(--indigo);
  cursor: pointer;
}

.nav-toggle-icon {
  display: grid;
  gap: 5px;
  width: 22px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo span,
.nav-toggle span,
a > span[aria-hidden="true"],
.swiper-button-prev svg,
.swiper-button-next svg,
.swiper-button-prev path,
.swiper-button-next path {
  pointer-events: none;
  cursor: default;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 98px);
  border-bottom: 1px solid rgb(42 33 24 / 18%);
  background:
    radial-gradient(circle at 83% 30%, rgb(160 52 42 / 13%), transparent 25%),
    linear-gradient(135deg, var(--paper) 0%, #f5eedc 46%, #ddc8a6 100%);
  color: var(--indigo);
}

.rings {
  position: absolute;
  left: clamp(-260px, -18vw, -180px);
  bottom: clamp(-250px, -16vw, -170px);
  width: clamp(430px, 48vw, 610px);
  opacity: 0.38;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.65fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.hero-text {
  max-width: 610px;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--indigo);
  font-size: clamp(3rem, 5.4vw, 4.125rem);
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: var(--madder);
  font-style: italic;
}

.hero .lead {
  color: #2c3b52;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
}

.hero .lead strong {
  color: var(--indigo);
  font-weight: 700;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgb(90 66 50 / 28%);
  border-radius: 16px;
  background: #2b2119;
  box-shadow: 0 36px 70px rgb(42 33 24 / 25%);
  aspect-ratio: 4 / 3;
}

.hero-visual img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

section {
  position: relative;
  padding-block: clamp(72px, 9vw, 108px);
}

section h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.25rem, 4.2vw, 2.9375rem);
  letter-spacing: -0.01em;
}

.svetla {
  background: var(--paper);
  color: var(--ink);
}

.svetla h2 {
  color: var(--ink);
}

.svetla .eyebrow {
  color: var(--madder);
}

.heading-accent {
  font-style: italic;
}

.heading-accent--material {
  color: var(--honey);
}

.heading-accent--tradice {
  color: var(--madder);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 76px);
  align-items: start;
}

.photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(201 143 74 / 18%);
  border-radius: 14px;
  background: #2b2119;
  box-shadow: 0 32px 68px rgb(0 0 0 / 22%);
}

.svetla .photo {
  border-color: rgb(90 66 50 / 22%);
  box-shadow: 0 28px 60px rgb(90 66 50 / 14%);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material .wide-photo {
  height: clamp(330px, 42vw, 470px);
  margin-top: 48px;
}

.quote-band {
  max-width: 820px;
  margin: 58px auto 0;
  padding-inline: clamp(0px, 4vw, 42px);
  border: 0;
  color: #fff;
  font-family: "Alegreya", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-style: italic;
  line-height: 1.42;
  text-align: center;
}

.quote-band::before {
  content: "„";
  color: var(--honey);
}

.quote-band::after {
  content: "“";
  color: var(--honey);
}

.tradice-wrap {
  align-items: center;
}

.tradice-photo {
  height: 430px;
}

.proces {
  background: linear-gradient(180deg, var(--charcoal) 0%, #18120e 100%);
}

.proces > .wrap > h2 {
  margin-bottom: 42px;
}

.krok {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(24px, 3vw, 34px);
  align-items: center;
  padding-block: 38px;
  border-top: 1px solid rgb(201 143 74 / 16%);
}

.krok:last-child {
  border-bottom: 1px solid rgb(201 143 74 / 16%);
}

.cislo {
  color: var(--honey);
  font-family: "Alegreya", Georgia, serif;
  font-size: clamp(2.75rem, 5vw, 3.625rem);
  font-weight: 700;
  line-height: 1;
}

.krok h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.375rem, 2.5vw, 1.6875rem);
}

.krok p {
  font-size: 1.0625rem;
  line-height: 1.62;
}

.krok .photo {
  height: 196px;
  border-radius: 10px;
}

.realizace {
  padding-top: clamp(72px, 8vw, 92px);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--ink);
}

.realizace h2 {
  color: var(--ink);
}

.realizace-swiper {
  margin: 42px 0 46px;
  overflow: hidden;
}

.realizace-swiper .swiper-slide {
  height: auto;
}

.realizace-swiper.carousel-fallback {
  overflow: visible;
}

.carousel-fallback .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  transform: none !important;
}

.carousel-fallback .carousel-controls {
  display: none;
}

.realizace-swiper .photo {
  height: auto;
  aspect-ratio: 1 / 1;
  border-color: rgb(90 66 50 / 24%);
  border-radius: 12px;
  box-shadow: 0 22px 45px rgb(90 66 50 / 16%);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-controls .swiper-button-prev,
.carousel-controls .swiper-button-next {
  position: static;
  width: 44px;
  height: 44px;
  margin: 0;
  flex: 0 0 44px;
  border: 1px solid rgb(90 66 50 / 24%);
  border-radius: 999px;
  background: rgb(90 66 50 / 5%);
  color: var(--walnut);
  cursor: pointer;
  opacity: 0.72;
  --swiper-navigation-size: 15px;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-controls .swiper-button-prev svg,
.carousel-controls .swiper-button-next svg {
  width: 13px !important;
  height: 13px !important;
}

.carousel-controls .swiper-button-prev:hover,
.carousel-controls .swiper-button-next:hover {
  border-color: rgb(90 66 50 / 48%);
  background: rgb(90 66 50 / 10%);
  opacity: 1;
}

.carousel-controls .swiper-button-disabled {
  cursor: default;
  opacity: 0.35;
}

.carousel-controls .swiper-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 62px;
  color: var(--walnut);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.carousel-controls .swiper-pagination-current {
  color: var(--walnut);
  font-weight: 700;
}

.proklik {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgb(201 143 74 / 22%);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgb(201 143 74 / 18%), transparent 32%),
    linear-gradient(135deg, var(--charcoal-2), #17130f);
  box-shadow: 0 28px 60px rgb(0 0 0 / 18%);
}

.proklik h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.625rem;
}

.proklik p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.03125rem;
}

.cta-med {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 23px;
  border-radius: 999px;
  background: var(--honey);
  color: #21170f;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.zaver {
  padding-block: clamp(84px, 10vw, 118px);
  border-top: 1px solid rgb(201 143 74 / 28%);
  background:
    radial-gradient(circle at 50% 0%, rgb(201 143 74 / 16%), transparent 36%),
    var(--charcoal);
  text-align: center;
}

.zaver h2 {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(2.25rem, 4.4vw, 2.8125rem);
}

.zaver p {
  max-width: 590px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
}

.zaver a.inline,
.vsuvka a {
  color: #e2aa68;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.vsuvka {
  max-width: 660px;
  margin: 44px auto 0;
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid rgb(201 143 74 / 42%);
  border-radius: 14px;
  background: linear-gradient(135deg, rgb(201 143 74 / 14%), rgb(255 255 255 / 5.5%));
  box-shadow: 0 18px 42px rgb(0 0 0 / 16%);
  color: #d8cbb5;
  font-size: 1.03125rem;
}

footer {
  padding-block: 34px;
  border-top: 1px solid rgb(201 143 74 / 16%);
  background: #15110e;
  color: var(--muted);
  font-size: 0.90625rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

footer a {
  color: var(--cream);
  text-decoration-line: underline;
  text-decoration-color: rgb(239 230 211 / 35%);
  text-underline-offset: 0.2em;
}

@media (max-width: 980px) {
  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.8125rem;
  }

  .hero-grid {
    gap: 36px;
  }

  .krok {
    grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 270px);
  }
}

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 70px;
    padding-block: 10px;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 8px 12px;
    border-top: 1px solid rgb(34 51 74 / 16%);
  }

  .js .site-nav:not(.is-open) {
    display: none;
  }

  .site-nav a {
    min-height: 48px;
    padding-inline: 8px;
    border-bottom: 1px solid rgb(34 51 74 / 11%);
    font-size: 1rem;
  }

  .site-nav a:last-child {
    border-bottom-color: transparent;
  }

  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-text {
    max-width: 680px;
  }

  .hero-visual {
    aspect-ratio: 1 / 1;
  }

  .tradice-wrap {
    gap: 40px;
  }

  .tradice-photo {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .krok {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .krok .photo {
    grid-column: 1 / -1;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .proklik {
    grid-template-columns: 1fr;
  }

  .carousel-fallback .swiper-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-med {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  html {
    scroll-padding-top: 12px;
  }

  .hero {
    padding-block: 48px 62px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.35rem);
  }

  .hero .lead {
    font-size: 1.125rem;
  }

  .rings {
    left: -210px;
    bottom: -185px;
    width: 430px;
  }

  section {
    padding-block: 68px;
  }

  section h2 {
    font-size: clamp(2.1rem, 10vw, 2.625rem);
  }

  .material .wide-photo {
    height: auto;
    aspect-ratio: 4 / 3;
    margin-top: 36px;
  }

  .quote-band {
    margin-top: 42px;
  }

  .krok {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding-block: 30px;
  }

  .krok p {
    font-size: 1rem;
  }

  .realizace-swiper {
    margin-top: 32px;
  }

  .proklik {
    gap: 24px;
    padding: 24px 20px;
  }

  .cta-med {
    width: 100%;
  }

  .zaver {
    padding-block: 76px;
  }

  .vsuvka {
    margin-top: 36px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
