﻿:root {
  --bg: #f4f1ec;
  --bg-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.8);
  --text: #4f4f53;
  --muted: #6f7077;
  --line: rgba(79, 79, 83, 0.12);
  --primary: #ff8f1f;
  --secondary: #48b07a;
  --accent: #ffcc00;
  --highlight: #18a8f2;
  --shadow: 0 22px 70px rgba(79, 79, 83, 0.12);
  --radius-lg: 32px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(72, 176, 122, 0.18), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(255, 204, 0, 0.18), transparent 20%),
    radial-gradient(circle at 60% 60%, rgba(24, 168, 242, 0.08), transparent 28%),
    linear-gradient(180deg, #fcfbf8 0%, #f1ede7 100%);
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  width: 340px;
  height: 340px;
  top: 120px;
  right: -120px;
  background: linear-gradient(135deg, rgba(255, 143, 31, 0.22), rgba(255, 204, 0, 0.08));
  border-radius: 44% 56% 60% 40%;
  filter: blur(4px);
}

.page-shell::after {
  width: 360px;
  height: 360px;
  bottom: 220px;
  left: -160px;
  background: linear-gradient(135deg, rgba(24, 168, 242, 0.18), rgba(72, 176, 122, 0.05));
  border-radius: 62% 38% 54% 46%;
  filter: blur(4px);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(252, 251, 248, 0.8);
  border-bottom: 1px solid rgba(79, 79, 83, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 172px;
  height: auto;
  max-width: 46vw;
}

.brand-text {
  display: none;
}

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

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary), #ffb21f);
  color: #fff;
  box-shadow: 0 18px 35px rgba(255, 143, 31, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(79, 79, 83, 0.12);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero-section {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(72, 176, 122, 0.14);
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.cta-panel h3,
.calendar-header h3,
.events-card-header h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.9rem);
  max-width: 11ch;
}

.hero-lead,
.about-content p,
.section-heading p,
.project-card p,
.benefit-item p,
.info-card p,
.media-overlay p,
.site-footer p,
.event-item p,
.instagram-simple-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-highlights article,
.info-card,
.project-card,
.benefit-item,
.cta-panel,
.media-card,
.calendar-card,
.events-card,
.instagram-simple-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-highlights article {
  padding: 24px;
}

.hero-highlights strong,
.info-card h3,
.project-card h3,
.benefit-item h3,
.cta-panel h3,
.media-badge,
.event-item h4 {
  display: block;
  margin-bottom: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 26px -14px -20px 28px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 143, 31, 0.24), rgba(24, 168, 242, 0.15)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.16) 0,
      rgba(255, 255, 255, 0.16) 1px,
      transparent 1px,
      transparent 24px
    );
  z-index: -1;
}

.media-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.media-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 1;
  padding: 10px 14px;
  background: rgba(30, 28, 31, 0.78);
  color: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

.media-overlay {
  position: absolute;
  inset: auto 32px 32px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(17, 17, 17, 0.8));
  color: #fff;
}

.media-overlay p {
  color: rgba(255, 255, 255, 0.84);
  margin-top: 0;
}

.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.section {
  padding: 72px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px 36px;
  align-items: start;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  max-width: 12ch;
}

.section-heading.compact h2 {
  max-width: 16ch;
}

.about-content {
  display: grid;
  gap: 10px;
}

.about-cards,
.agenda-layout,
.benefits-grid {
  display: grid;
  gap: 20px;
}

.about-cards {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.project-card,
.benefit-item,
.calendar-card,
.events-card,
.portfolio-carousel-card {
  padding: 26px;
}

.agenda-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.calendar-header,
.events-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calendar-header {
  margin-bottom: 20px;
}

.calendar-label {
  margin: 0 0 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.calendar-header h3,
.events-card-header h3 {
  font-size: 1.8rem;
}

.calendar-nav {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.calendar-weekdays {
  margin-bottom: 10px;
}

.calendar-weekdays span {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 82px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.calendar-day:hover,
.calendar-day.is-selected {
  transform: translateY(-2px);
  border-color: rgba(24, 168, 242, 0.5);
}

.calendar-day.is-other-month {
  opacity: 0.4;
}

.calendar-day.has-event {
  background:
    linear-gradient(135deg, rgba(72, 176, 122, 0.12), rgba(255, 143, 31, 0.08)),
    rgba(255, 255, 255, 0.92);
}

.calendar-day-number {
  font-weight: 800;
  font-size: 0.95rem;
}

.calendar-day-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow:
    14px 0 0 rgba(72, 176, 122, 0.95),
    28px 0 0 rgba(24, 168, 242, 0.95);
}

.events-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.event-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.event-item time {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 168, 242, 0.1);
  color: var(--highlight);
  font-weight: 800;
  font-size: 0.82rem;
}

.event-item h4 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.event-item p {
  margin: 0;
}

.event-item.is-empty {
  text-align: center;
  padding: 28px 20px;
}

.project-card.featured {
  background:
    linear-gradient(135deg, rgba(255, 143, 31, 0.14), rgba(255, 204, 0, 0.08)),
    var(--surface);
}

.project-intro {
  height: 100%;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 168, 242, 0.1);
  color: var(--highlight);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.project-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 800;
}

.portfolio-carousel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.portfolio-carousel-card.full-width {
  width: 100%;
}

.portfolio-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.portfolio-carousel-header h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.8rem;
}

.portfolio-carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portfolio-nav {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.portfolio-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.portfolio-page-indicator {
  min-width: 120px;
  text-align: center;
  font-weight: 800;
  color: var(--muted);
}

.portfolio-carousel-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(72, 176, 122, 0.08), rgba(24, 168, 242, 0.06)),
    rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(79, 79, 83, 0.08);
}

#portfolio-image {
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(79, 79, 83, 0.12);
  background: #fff;
  object-fit: contain;
  cursor: zoom-in;
}

.portfolio-loading {
  position: absolute;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.benefits-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.benefit-item span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--primary);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(72, 176, 122, 0.14), rgba(255, 143, 31, 0.1)),
    var(--surface);
}

.instagram-simple-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 26px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(72, 176, 122, 0.12), rgba(255, 143, 31, 0.1)),
    var(--surface);
}

.instagram-simple-card img {
  width: 180px;
  max-width: 100%;
}

.instagram-simple-card p {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.25rem;
}

.site-footer {
  padding: 34px 0 56px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(79, 79, 83, 0.08);
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-grid,
  .agenda-layout,
  .benefits-grid,
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }

  .section-grid .section-heading,
  .about-content,
  .about-cards {
    grid-column: 1 / -1;
  }

}

@media (max-width: 820px) {
  .header-content {
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    margin-top: 4px;
  }

  .hero-grid,
  .section-grid,
  .agenda-layout,
  .benefits-grid,
  .about-cards {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-day {
    min-height: 72px;
  }

  .portfolio-carousel-header,
  .portfolio-carousel-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-carousel-stage {
    min-height: 420px;
  }

}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-section {
    padding-top: 46px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .media-overlay {
    inset: auto 20px 20px;
    padding: 18px;
  }

  .info-card,
  .project-card,
  .benefit-item,
  .cta-panel,
  .hero-highlights article,
  .media-card,
  .calendar-card,
  .events-card,
  .instagram-simple-card {
    border-radius: 24px;
  }

  .brand img {
    width: 142px;
  }

  .calendar-weekdays span {
    font-size: 0.72rem;
  }

  .calendar-grid,
  .calendar-weekdays {
    gap: 6px;
  }

  .calendar-day {
    min-height: 64px;
    padding: 8px;
  }
}
