:root {
  --ink: #151713;
  --paper: #fbfaf5;
  --chalk: #f3eee5;
  --green: #2f4b3d;
  --green-soft: #dce7d5;
  --brick: #9f3f30;
  --gold: #d9a441;
  --blue: #d8e5ea;
  --muted: #62665f;
  --line: rgba(21, 23, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.bakery-web #content-walls {
  display: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px 34px;
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 800;
}

.brand small {
  color: currentColor;
  opacity: 0.74;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.site-nav a,
.header-link,
.button {
  text-decoration: none;
  font-weight: 800;
}

.site-nav a {
  font-size: 14px;
}

.header-link {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.pexels.com/photos/30826792/pexels-photo-30826792.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 18, 13, 0.78), rgba(12, 18, 13, 0.4) 46%, rgba(12, 18, 13, 0.08)),
    linear-gradient(0deg, rgba(12, 18, 13, 0.72), transparent 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 76px;
  color: #fff;
}

.kicker {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker {
  color: #f5c75d;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 86px;
}

h2 {
  font-size: 52px;
}

h3 {
  font-size: 25px;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: #fff;
  color: var(--green);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.identity-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--green);
  color: #fff;
}

.strip-track {
  display: flex;
  min-width: max-content;
  animation: drift 28s linear infinite;
}

.strip-track span {
  padding: 16px 30px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
}

.section-band {
  padding: 96px 0;
}

.showcase,
.craft,
.services,
.visit {
  content-visibility: auto;
  contain-intrinsic-size: 820px;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 19px;
}

.intro-copy p {
  margin: 0;
}

.bakery-moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100% - 48px));
  margin: -18px auto 96px;
}

.moment {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  margin: 0;
  border-radius: 8px;
  background: var(--ink);
}

.moment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(11, 15, 12, 0.66));
  transition: opacity 220ms ease;
}

.moment:hover::after {
  opacity: 0.72;
}

.moment img {
  transform: scale(1.01);
  transition: transform 520ms ease, filter 520ms ease;
}

.moment:hover img {
  transform: scale(1.08);
}

.moment figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-weight: 800;
}

.showcase {
  background: var(--green-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr) minmax(240px, 0.7fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head .kicker {
  align-self: start;
}

.section-head p:last-child {
  margin: 0;
  color: #4f5b4d;
}

.section-head.narrow {
  display: block;
  max-width: 780px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(300px, auto);
  gap: 18px;
}

.product-card {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(47, 75, 61, 0.24);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 44px rgba(23, 38, 30, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card::after {
  content: "Detail nabídky";
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 75, 61, 0.38);
  box-shadow: 0 28px 70px rgba(23, 38, 30, 0.22);
}

.product-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.product-card-featured,
.product-card-wide {
  grid-column: span 2;
}

.product-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.04), rgba(10, 14, 12, 0.78)),
    linear-gradient(90deg, rgba(10, 14, 12, 0.58), rgba(10, 14, 12, 0.05));
  transition: background 220ms ease;
}

.product-card:hover .product-media::after {
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.02), rgba(10, 14, 12, 0.68)),
    linear-gradient(90deg, rgba(10, 14, 12, 0.42), rgba(10, 14, 12, 0.02));
}

.product-media img {
  transform: scale(1.01);
  transition: transform 520ms ease, filter 520ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.08);
}

.product-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  max-width: 520px;
  transition: transform 220ms ease;
}

.product-card:hover .product-content {
  transform: translateY(-18px);
}

.product-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  background: rgba(251, 250, 245, 0.92);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  max-width: 420px;
  font-size: 32px;
}

.product-card-featured h3,
.product-card-wide h3 {
  font-size: 42px;
}

.product-card p {
  max-width: 440px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-meta span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.color-card {
  min-height: 360px;
}

.color-card .product-media::after {
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.04), rgba(10, 14, 12, 0.78)),
    linear-gradient(0deg, rgba(21, 23, 19, 0.72), rgba(21, 23, 19, 0.08));
}

.color-card:hover .product-media::after {
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.02), rgba(10, 14, 12, 0.68)),
    linear-gradient(0deg, rgba(21, 23, 19, 0.66), rgba(21, 23, 19, 0.04));
}

.zakazky-card img {
  object-position: center 44%;
}

.zakazky-service img {
  object-position: center 42%;
}

.craft {
  background: #f7f4ed;
}

.craft-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.craft-image {
  min-height: 720px;
  overflow: hidden;
  border-radius: 8px;
}

.craft-copy > p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.craft-points {
  display: grid;
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.craft-points article {
  display: grid;
  grid-template-columns: 64px 0.8fr 1fr;
  gap: 22px;
  padding: 22px;
  background: var(--paper);
}

.craft-points span {
  color: var(--brick);
  font-weight: 800;
}

.craft-points p {
  margin: 0;
  color: var(--muted);
}

.services {
  background:
    linear-gradient(135deg, rgba(24, 38, 31, 0.98), rgba(47, 75, 61, 0.94)),
    var(--green);
  color: #fff;
}

.services .kicker {
  color: #f5c75d;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.service-card {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-rows: 120px auto 1fr auto;
  gap: 18px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(251, 250, 245, 0.08);
  box-shadow: 0 22px 54px rgba(5, 10, 8, 0.18);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.service-thumb {
  position: relative;
  overflow: hidden;
  margin: -12px -12px 4px;
  border-radius: 6px;
}

.service-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(14, 22, 18, 0.38));
}

.service-thumb img {
  transform: scale(1.01);
  transition: transform 520ms ease, filter 520ms ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background:
    linear-gradient(135deg, transparent 34%, rgba(245, 199, 93, 0.22) 34%, rgba(245, 199, 93, 0.22) 58%, transparent 58%);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 199, 93, 0.52);
  background: var(--paper);
  color: var(--ink);
}

.service-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.service-index {
  color: rgba(255, 255, 255, 0.68);
  font-family: "Fraunces", Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 0.9;
  transition: color 220ms ease, transform 220ms ease;
}

.service-card:hover .service-index {
  color: var(--brick);
  transform: translateX(4px);
}

.service-label {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card:not(:hover) .service-label {
  color: #f5c75d;
}

.service-copy {
  position: relative;
  z-index: 1;
}

.service-copy p:last-child {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  transition: color 220ms ease;
}

.service-card:hover .service-copy p:last-child {
  color: var(--muted);
}

.service-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.service-card a::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 180ms ease;
}

.service-card a:hover::after {
  width: 44px;
}

.visit {
  position: relative;
  display: grid;
  min-height: 760px;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.visit > img {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.visit::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 17, 0.82), rgba(18, 20, 17, 0.22)),
    linear-gradient(0deg, rgba(18, 20, 17, 0.82), transparent 55%);
}

.visit-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
  color: #fff;
}

.visit-panel .kicker {
  color: #f5c75d;
}

.visit-panel h2 {
  max-width: 860px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin: 42px 0 0;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-list div {
  padding: 20px;
  background: rgba(18, 20, 17, 0.46);
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
}

.header-actions .header-link {
  justify-self: auto;
  white-space: nowrap;
}

.header-link-order {
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .header-link-order {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.site-messages {
  position: fixed;
  z-index: 25;
  top: 86px;
  left: 50%;
  width: min(720px, calc(100% - 32px));
  transform: translateX(-50%);
}

.site-page-simple {
  min-height: 72vh;
  padding: 132px 0 86px;
  background:
    linear-gradient(180deg, rgba(220, 231, 213, 0.68), rgba(251, 250, 245, 0.92) 320px),
    var(--paper);
}

.bakery-card {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 46px);
  background: rgba(251, 250, 245, 0.96);
  box-shadow: 0 18px 44px rgba(23, 38, 30, 0.12);
}

.bakery-card h1 {
  max-width: 820px;
  color: var(--green);
  font-size: clamp(42px, 7vw, 72px);
}

.bakery-card h2 {
  margin-top: 26px;
  color: var(--green);
  font-size: clamp(28px, 4vw, 42px);
}

.bakery-guide {
  display: grid;
  gap: 10px;
}

.bakery-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding-left: 1.35rem;
}

.bakery-steps li {
  padding-left: 4px;
}

.bakery-note {
  border-left: 4px solid var(--brick);
  margin: 18px 0 0;
  padding: 14px 18px;
  background: rgba(159, 63, 48, 0.08);
}

.bakery-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.bakery-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.bakery-button:hover,
.bakery-button:focus {
  border-color: var(--brick);
  background: var(--brick);
  color: #fff;
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 40px;
  }

  .intro-grid,
  .section-head,
  .craft-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bakery-moments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    margin-bottom: 72px;
  }

  .moment {
    min-height: 280px;
  }

  .product-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-featured,
  .product-card-wide {
    grid-column: span 2;
  }

  .product-card {
    min-height: 440px;
  }

  .product-card h3,
  .product-card-featured h3,
  .product-card-wide h3 {
    font-size: 32px;
  }

  .service-card {
    min-height: 300px;
  }

  .craft-image {
    min-height: 460px;
  }

  .craft-points article {
    grid-template-columns: 48px 1fr;
  }

  .craft-points p {
    grid-column: 2;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
    gap: 12px;
  }

  .brand small {
    display: none;
  }

  .header-link {
    padding: 8px 10px;
    font-size: 13px;
  }

  .header-actions .header-link[href^="tel"] {
    display: none;
  }

  .site-page-simple {
    padding: 112px 0 64px;
  }

  .bakery-card {
    width: min(100% - 32px, 920px);
  }

  .hero {
    min-height: 88svh;
  }

  .hero-inner,
  .section-inner,
  .visit-panel {
    width: min(100% - 32px, 1180px);
  }

  .hero-inner {
    padding-bottom: 54px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-text,
  .intro-copy,
  .craft-copy > p {
    font-size: 17px;
  }

  .section-band {
    padding: 64px 0;
  }

  .strip-track span {
    padding: 12px 20px;
    font-size: 18px;
  }

  .bakery-moments {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    width: min(100% - 32px, 1180px);
    margin: -18px auto 64px;
  }

  .moment {
    grid-column: auto;
    grid-row: auto;
    min-height: 250px;
  }

  .product-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .product-card-featured,
  .product-card-wide {
    grid-column: auto;
  }

  .product-card {
    min-height: 420px;
  }

  .product-card::after {
    display: none;
  }

  .product-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .product-card:hover,
  .product-card:hover .product-content {
    transform: none;
  }

  .product-card h3,
  .product-card-featured h3,
  .product-card-wide h3 {
    font-size: 28px;
  }

  .service-card {
    min-height: 260px;
    gap: 22px;
  }

  .service-card:hover {
    transform: none;
  }

  .service-index {
    font-size: 40px;
  }

  .visit {
    min-height: 680px;
  }

  .site-footer {
    display: grid;
    padding: 24px 16px;
  }
}
