.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1c1409 0%, #0e0c0a 30%, #0a0a0a 55%, #0d0d10 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.35) 0%,
    rgba(10, 10, 10, 0.15) 45%,
    rgba(10, 10, 10, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  animation: fadeUp 1.2s var(--ease-out) 0.3s both;
}

.hero-logo {
  width: clamp(260px, 50vw, 680px);
  height: auto;
  mix-blend-mode: screen;
  margin-bottom: 18px;
  animation: fadeUp 1.3s var(--ease-out) 0.5s both;
  display: block;
}

.hero-sub {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 44px;
  animation: fadeUp 1.3s var(--ease-out) 0.7s both;
}

.hero-content .btn-outline {
  animation: fadeUp 1.3s var(--ease-out) 0.9s both;
}


.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
}

.about-visual {
  overflow: hidden;
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.about:hover .about-visual img {
  transform: scale(1.04);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 100px) clamp(32px, 6vw, 80px);
  background-color: var(--bg-card);
}

.about-content .section-title {
  margin-bottom: 28px;
}

.about-body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 420px;
}


.featured {
  padding: var(--pad-y) var(--pad-x);
}

.featured-header {
  margin-bottom: clamp(32px, 4vw, 52px);
}

.featured-grid {
  columns: 3;
  column-gap: 10px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.featured-item {
  break-inside: avoid;
  overflow: hidden;
  margin-bottom: 10px;
  cursor: pointer;
}

.featured-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.88);
  transition: filter 0.45s var(--ease), transform 0.55s var(--ease);
}

.featured-item:hover img {
  filter: brightness(1.05);
  transform: scale(1.02);
}

.featured-cta {
  text-align: center;
}


.stories {
  padding: var(--pad-y) var(--pad-x);
  background-color: var(--bg-card);
}

.stories-header {
  margin-bottom: clamp(40px, 6vw, 70px);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.story-card {
  overflow: hidden;
}

.story-visual {
  overflow: hidden;
  aspect-ratio: 2/3;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
  filter: brightness(0.7);
}

.story-card:hover .story-visual img {
  transform: scale(1.05);
  filter: brightness(0.88);
}

.story-meta {
  padding: 20px 0 4px;
}

.story-date {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.story-name {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.story-place {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 16px;
}

.story-link {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.story-link:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.45);
}

.stories-cta {
  text-align: center;
}


.testimonials {
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
}

.testimonials-wrap {
  max-width: 660px;
  margin: 0 auto;
}

.testimonials-wrap .section-label {
  display: block;
  margin-bottom: 48px;
}

.testimonials-slider {
  display: grid;
  margin-bottom: 40px;
}

.testimonial {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-quote {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

.testimonial-author {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.testimonial-btn {
  background: none;
  border: 1px solid var(--border-mid);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.testimonial-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

.testimonials-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
  background-color: rgba(255, 255, 255, 0.65);
  transform: scale(1.35);
}


.cta-section {
  padding: var(--pad-y) var(--pad-x);
  background-color: var(--bg-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 255, 255, 0.025) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}

.cta-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.cta-title em {
  font-style: normal;
}

.cta-body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}


@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


@media (max-width: 1024px) {
  .about {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .about-visual {
    height: 55vw;
    min-height: 320px;
    max-height: 500px;
  }

  .featured-grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .stories-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-visual {
    aspect-ratio: 4/3;
  }

  .featured-grid {
    columns: 2;
    column-gap: 6px;
  }

  .featured-item {
    margin-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .featured-grid {
    columns: 1;
  }
}

.about,
.featured,
.stories,
.testimonials,
.cta-section {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}


.home-apropos {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  display: flex;
  justify-content: center;
  background-color: var(--bg);
}

.ha-inner {
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.ha-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #ffffff;
  line-height: 1.08;
}

.ha-text {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 680px;
}


.home-galerie {
  display: grid;
  grid-template-columns: 40% 60%;
  background-color: #ffffff;
  border-radius: 24px;
  margin: 0 clamp(20px, 3vw, 52px) clamp(60px, 8vw, 100px);
  overflow: hidden;
}


.hg-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
  gap: 22px;
  background: #ffffff;
}

.hg-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: #111111;
  line-height: 1.08;
}

.hg-desc {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 1.85;
  color: #555555;
  max-width: 380px;
}

.hg-btn {
  align-self: flex-start;
  border-color: rgba(0,0,0,0.35);
  color: #111111;
}

.hg-btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.hg-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px 20px 24px 8px;
}

.hg-card {
  flex: 0 0 auto;
  width: clamp(160px, 18vw, 255px);
  aspect-ratio: 2 / 3;
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
}

.hg-card-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.hg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.78);
  transition: filter 0.45s ease, transform 0.5s ease;
}

.hg-card:hover img {
  filter: brightness(0.92);
  transform: scale(1.04);
}

.hg-card-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .home-galerie { grid-template-columns: 1fr; }
  .hg-right {
    justify-content: center;
    align-items: stretch;
    padding: 0 16px 20px;
    gap: 10px;
  }
  .hg-card {
    flex: 1 1 0;
    width: auto;
    max-width: 220px;
  }
}

@media (max-width: 560px) {
  .ha-inner { text-align: left; align-items: flex-start; }
}


.ts-row-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.ts-label {
  display: block;
  padding: 0 clamp(16px, 3vw, 52px);
  margin-bottom: 36px;
}

.ts-row {
  display: flex;
  gap: 18px;
  padding: 8px clamp(16px, 3vw, 52px) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.ts-row::-webkit-scrollbar { display: none; }
.ts-row:active { cursor: grabbing; }

.ts-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px 24px;
  min-width: 320px;
  max-width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  scroll-snap-align: start;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.ts-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.75;
  color: #1a1a1a;
  flex: 1;
}

.ts-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.ts-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(0,0,0,0.06);
}

.ts-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ts-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.04em;
}

.ts-year {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: #888888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


[data-theme="light"] .about-content  { background: var(--bg-card); }
[data-theme="light"] .about-body     { color: var(--text-secondary); }
[data-theme="light"] .hero-sub       { color: rgba(255,255,255,0.8); }
[data-theme="light"] .hero-label     { color: rgba(255,255,255,0.6); }
[data-theme="light"] .ha-title       { color: #111111; }
[data-theme="light"] .ha-text        { color: #555555; }
[data-theme="light"] .hg-title       { color: #111111; }
[data-theme="light"] .hg-desc        { color: #666666; }
[data-theme="light"] .cta-title      { color: #111111; }
[data-theme="light"] .cta-body       { color: #555555; }
[data-theme="light"] .cta-section    { background: var(--bg-card); }
[data-theme="light"] .ts-card        { box-shadow: 0 2px 12px rgba(0,0,0,0.09); border: 1px solid rgba(0,0,0,0.07); }
[data-theme="light"] .testimonials-row-section { background: var(--bg); }
