:root {
  --ink: #141715;
  --ink-soft: #1f2420;
  --paper: #f3f0e8;
  --paper-2: #e6e0d4;
  --white: #ffffff;
  --text-light: #e6e8e2;
  --text-dark: #1d201c;
  --text-muted-dark: #262925;
  --copper: #c58a56;
  --copper-light: #ebb684;
  --copper-dark: #7a4b24;
  --line: rgba(255, 255, 255, 0.18);
  --dark-line: rgba(20, 23, 21, 0.18);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --display: 'Manrope', 'DM Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-paper {
  background: var(--paper);
  color: var(--text-dark);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--copper);
  color: #141715;
  font-weight: 700;
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 23, 21, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--white);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #f7f5ef;
  border-radius: 50%;
  padding: 2px;
  flex: none;
}

.brand-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
}

.brand-name span {
  font-weight: 600;
  color: var(--copper-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.main-nav a {
  color: var(--text-light);
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--copper-light);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.main-nav .nav-contact {
  color: var(--copper-light);
  border: 1px solid rgba(235, 182, 132, 0.65);
  padding: 9px 14px;
  text-decoration: none;
}

.main-nav .nav-contact:hover {
  background: rgba(235, 182, 132, 0.12);
  text-decoration: none;
}

.nav-contact span {
  padding-left: 6px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-subpage {
  min-height: 400px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, black, transparent 85%);
}

.hero:after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(235, 182, 132, 0.18);
  border-radius: 50%;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 70px rgba(235, 182, 132, 0.03), 0 0 0 140px rgba(235, 182, 132, 0.02);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 0 104px;
}

.hero-subpage .hero-content {
  padding: 72px 0 78px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--copper-light);
  margin: 0 0 20px;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--copper-light);
  vertical-align: middle;
  margin-right: 10px;
}

.eyebrow-dark {
  color: var(--copper-dark);
}

.eyebrow-dark .eyebrow-line {
  background: var(--copper-dark);
}

.hero h1,
.feature-content h2,
.about h2,
.contact h2 {
  font-family: var(--display);
  font-size: clamp(36px, 6.2vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0;
  overflow-wrap: break-word;
}

.hero-subpage h1 {
  font-size: clamp(34px, 5.5vw, 66px);
}

.hero h1 em,
.feature-content h2 em,
.about h2 em,
.contact h2 em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--copper-light);
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 540px;
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.75;
  margin: 24px 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border: 0;
  font: 700 14px var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

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

.button-accent {
  background: var(--copper-light);
  color: #141715;
}

.button-accent:hover {
  background: #f5c99e;
}

.button span {
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.text-link span {
  font-size: 18px;
  transition: transform 0.2s;
}

.text-link:hover span {
  transform: translateX(4px);
}

.light-link {
  color: var(--white);
}

.dark-link {
  color: var(--text-dark);
}

.hero-note {
  margin-top: 64px;
  color: #cfd2ca;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.note-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper-light);
  margin-right: 10px;
  vertical-align: 1px;
}

.hero-aside {
  position: absolute;
  z-index: 1;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 270px;
  height: 270px;
  border: 1px solid rgba(235, 182, 132, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(235, 182, 132, 0.55);
  pointer-events: none;
}

.hero-aside span {
  font: 600 90px var(--display);
  letter-spacing: -0.1em;
}

.hero-aside i {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--copper-light);
  border-radius: 50%;
  top: 38px;
  right: 42px;
  box-shadow: 0 0 22px var(--copper-light);
}

.hero-aside small {
  position: absolute;
  bottom: 38px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.intro {
  padding: 96px 0 80px;
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 60px;
}

.intro h2,
.section-heading h2 {
  font: 700 clamp(28px, 4vw, 46px) / 1.18 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--text-dark);
}

.intro h2 span {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--copper-dark);
}

.intro-copy {
  max-width: 600px;
  color: var(--text-muted-dark);
  font-size: 17px;
  line-height: 1.75;
  margin: 18px 0 0;
}

.categories {
  padding: 20px 0 104px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
  gap: 20px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.heading-side {
  color: var(--text-muted-dark);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 4px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-grid-five {
  grid-template-columns: repeat(3, 1fr);
}

.category-card {
  min-height: 295px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 23, 21, 0.1);
  transition: transform 0.25s, box-shadow 0.25s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(20, 23, 21, 0.14);
}

.card-ai {
  background: #dce2d7;
}

.card-tips {
  background: #e7dfd2;
}

.card-workshop {
  background: #d6e0dd;
}

.card-finds {
  background: #e7dacd;
}

.card-go {
  background: #dde1e6;
}

.card-index {
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #363934;
}

.card-symbol {
  font: 400 48px var(--serif);
  color: var(--copper-dark);
  margin: 20px 0 10px;
}

.category-card h3 {
  font: 700 22px var(--display);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--text-dark);
}

.category-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted-dark);
  margin: 0;
}

.card-arrow {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-dark);
}

.card-arrow b {
  float: right;
  color: var(--copper-dark);
  font-size: 18px;
}

.feature-section {
  padding: 100px 0;
  overflow: hidden;
}

.feature-layout {
  display: grid;
  grid-template-columns: 70px 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  min-height: 300px;
}

.feature-kicker {
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: var(--copper-light);
}

.feature-kicker > span:first-child {
  font: 700 16px var(--display);
}

.vertical-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #cfd2ca;
}

.feature-content .eyebrow {
  margin-bottom: 18px;
}

.feature-content h2 {
  font-size: clamp(32px, 4.8vw, 58px);
}

.feature-content > p:not(.eyebrow) {
  max-width: 500px;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.75;
  margin: 22px 0 28px;
}

.feature-light .feature-content > p:not(.eyebrow) {
  color: var(--text-muted-dark);
}

.feature-light .feature-content h2 {
  color: var(--text-dark);
}

.feature-light .feature-content h2 em {
  color: var(--copper-dark);
}

.feature-light .feature-kicker {
  color: var(--copper-dark);
}

.feature-light .feature-kicker .vertical-label {
  color: var(--text-muted-dark);
}

.abstract-art {
  height: 290px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
}

.feature-light .abstract-art {
  border-color: var(--dark-line);
}

.art-ai {
  background: radial-gradient(circle at center, rgba(235, 182, 132, 0.14), transparent 65%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(235, 182, 132, 0.55);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orbit-one {
  width: 230px;
  height: 115px;
}

.orbit-two {
  width: 270px;
  height: 170px;
  transform: rotate(48deg);
}

.orbit-core {
  width: 76px;
  height: 76px;
  border: 1px solid var(--copper-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--copper-light);
  font: 700 23px var(--display);
  box-shadow: 0 0 55px rgba(235, 182, 132, 0.15);
}

.art-label {
  position: absolute;
  bottom: 16px;
  right: 14px;
  color: #cfd2ca;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.art-go {
  background: linear-gradient(135deg, #e9e3d8, #dcd5c9);
}

.compass-ring {
  width: 150px;
  height: 150px;
  border: 2px solid var(--copper-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(122, 75, 36, 0.08);
}

.compass-arrow {
  position: absolute;
  font: 600 54px var(--display);
  color: var(--copper-dark);
}

.steps-caption {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted-dark);
}

/* Podstránky */
.subpage-content {
  padding: 76px 0 96px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--dark-line);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.article-meta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-dark);
  margin-bottom: 10px;
}

.article-card h3 {
  font: 700 23px / 1.28 var(--display);
  color: var(--text-dark);
  margin: 0 0 14px;
}

.article-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted-dark);
  margin: 0 0 18px;
}

.article-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.65;
}

.article-card li {
  margin-bottom: 10px;
}

.link-list {
  list-style: none;
  padding-left: 0 !important;
}

.link-list li {
  padding: 12px 0;
  border-top: 1px solid var(--dark-line);
  margin-bottom: 0;
}

.link-list a {
  font-weight: 700;
  color: var(--copper-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-list a:hover {
  color: var(--text-dark);
}

.back-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--dark-line);
}

.about {
  padding: 104px 0;
  border-top: 1px solid var(--dark-line);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr 140px;
  gap: 48px;
  align-items: center;
}

.about h2,
.contact h2 {
  font-size: clamp(34px, 4.8vw, 58px);
}

.about h2 em {
  color: var(--copper-dark);
}

.about-text {
  max-width: 500px;
}

.about-text p {
  color: var(--text-muted-dark);
  font-size: 16px;
  line-height: 1.8;
}

.about-text .about-lead {
  font: 400 21px / 1.55 var(--serif);
  color: var(--text-dark);
}

.about-text .text-link {
  margin-top: 14px;
}

.about-mark {
  font: 800 66px var(--display);
  letter-spacing: -0.1em;
  color: rgba(122, 75, 36, 0.24);
  position: relative;
}

.about-mark span {
  font-size: 14px;
  vertical-align: top;
  letter-spacing: 0;
}

.contact {
  padding: 100px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-copy {
  color: var(--text-light);
  max-width: 420px;
  font-size: 17px;
  line-height: 1.75;
  margin-top: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  align-content: start;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #757c74;
  background: transparent;
  padding: 12px 0;
  color: var(--white);
  font: 17px var(--sans);
  outline: none;
  resize: vertical;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--copper-light);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b4bab2;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 18px;
}

.form-note {
  grid-column: 1 / -1;
  color: #cfd2ca;
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.form-warning {
  color: var(--copper-light);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}

.footer-brand .brand-name {
  font-size: 15px;
}

.footer-inner p,
.footer-inner small {
  font-size: 14px;
  color: #cfd2ca;
  margin: 0;
}

.back-top {
  font-size: 14px;
  font-weight: 700;
  color: var(--copper-light);
}

.footer-inner small {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 6px;
}

/* Tablet a menší notebooky */
@media (max-width: 1060px) {
  .main-nav {
    gap: 14px;
    font-size: 13px;
  }
  .hero-aside {
    right: 4%;
    opacity: 0.4;
  }
  .category-grid,
  .category-grid-five {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-layout {
    grid-template-columns: 45px 1fr 0.8fr;
    gap: 30px;
  }
  .about-layout {
    grid-template-columns: 1fr 1fr;
  }
  .about-mark {
    display: none;
  }
  .contact-layout {
    gap: 50px;
  }
}

/* Mobilní telefony */
@media (max-width: 820px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 72px;
  }
  .menu-toggle {
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #141715;
    padding: 18px 22px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .main-nav .nav-contact {
    margin-top: 16px;
    padding: 14px;
    text-align: center;
    border: 1px solid rgba(235, 182, 132, 0.65);
  }
  .hero {
    min-height: auto;
  }
  .hero:after {
    width: 320px;
    height: 320px;
    right: -120px;
    box-shadow: 0 0 0 40px rgba(235, 182, 132, 0.03);
  }
  .hero-content {
    padding: 64px 0 72px;
  }
  .hero h1 {
    font-size: clamp(34px, 9.5vw, 48px);
  }
  .hero-lead {
    font-size: 17px;
    line-height: 1.7;
    margin: 20px 0 28px;
  }
  .hero-aside {
    width: 140px;
    height: 140px;
    right: -40px;
    top: 20%;
    opacity: 0.25;
  }
  .hero-aside span {
    font-size: 48px;
  }
  .hero-aside small {
    display: none;
  }
  .hero-note {
    margin-top: 44px;
  }
  .intro {
    padding: 64px 0 52px;
  }
  .intro-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .intro h2,
  .section-heading h2 {
    font-size: 30px;
  }
  .categories {
    padding: 16px 0 68px;
  }
  .section-heading {
    align-items: start;
    gap: 12px;
    flex-direction: column;
  }
  .category-card {
    min-height: auto;
    padding: 24px 20px;
  }
  .feature-section {
    padding: 64px 0;
  }
  .feature-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-kicker {
    height: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
  }
  .vertical-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .abstract-art {
    grid-column: 1;
    height: 200px;
    margin-top: 12px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .about {
    padding: 64px 0;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact {
    padding: 64px 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }
  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .footer-inner small {
    grid-row: 3;
  }
  .back-top {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Malé displeje */
@media (max-width: 560px) {
  .category-grid,
  .category-grid-five {
    grid-template-columns: 1fr;
  }
  .hero-actions,
  .back-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
