* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f6f4f1;
  --soft: #eee9e2;
  --text: #1d1b19;
  --muted: #726d66;
  --accent: #aa8f70;
  --card: #ffffff;
  --border: #e4ded6;
  --shadow: 0 28px 70px rgba(38, 31, 24, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
video {
  width: 100%;
  display: block;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.narrow {
  max-width: 900px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4%;
  background: rgba(246, 244, 241, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 222, 214, 0.7);
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.site-header nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-header nav a:hover {
  color: var(--text);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
}

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

.hero-image img {
  height: min(720px, 82vh);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1,
.section-title,
.contact-card h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  max-width: 820px;
  margin-bottom: 26px;
}

.hero-copy p:not(.eyebrow),
.section-subtitle,
.contact-card p {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 700px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button-row.centered {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 25px;
  border-radius: 999px;
  font-size: 0.92rem;
  border: 1px solid var(--text);
  transition: transform 0.25s ease, background 0.25s ease;
}

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

.btn-dark {
  background: var(--text);
  color: #fff;
}

.btn-light {
  background: transparent;
  color: var(--text);
}

.btn-light:hover {
  background: #fff;
}

.section {
  padding: 105px 0;
}

.soft-section,
.reels-section {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 54px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.03;
  max-width: 860px;
  margin-bottom: 18px;
}

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

.expertise-card,
.portfolio-card,
.logo-box,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
}

.expertise-card {
  padding: 30px;
  border-radius: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(38, 31, 24, 0.08);
}

.expertise-card h3,
.portfolio-content h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.expertise-card p,
.portfolio-content p {
  color: var(--muted);
  font-size: 0.94rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.portfolio-card img,
.portfolio-card video {
  height: 290px;
  object-fit: cover;
  background: #ddd;
}

.portfolio-content {
  padding: 24px;
}

.portfolio-content span {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}

.carousel-wrap {
  position: relative;
}

.reels-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  padding: 4px 4px 20px;
  scrollbar-width: thin;
}

.reel-card {
  position: relative;
  flex: 0 0 280px;
  height: 500px;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  background: #d8d0c5;
  box-shadow: 0 18px 46px rgba(38, 31, 24, 0.12);
}

.reel-card video {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.reel-card:hover video {
  transform: scale(1.045);
}

.reel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.38), transparent 50%);
  pointer-events: none;
}

.reel-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(38, 31, 24, 0.12);
}

.carousel-btn.prev {
  left: -16px;
}

.carousel-btn.next {
  right: -16px;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 18px;
}

.partner-card {
  position: relative;
  min-height: 152px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 28px 26px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.partner-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 90px;
  background: radial-gradient(circle, rgba(170, 143, 112, 0.14), transparent 66%);
  pointer-events: none;
}

.partner-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 18px 48px rgba(38, 31, 24, 0.1);
}

.partner-card img {
  max-width: 170px;
  max-height: 72px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.76;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-card:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}

.partner-card.featured {
  grid-row: span 2;
  min-height: 322px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, #fff, #eee8df);
}

.partner-card.featured img {
  max-width: 220px;
  max-height: 92px;
  margin-bottom: 28px;
}

.partner-card.featured p {
  color: var(--muted);
  max-width: 320px;
  font-size: 0.95rem;
}

.partner-role {
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.partner-note code {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 8px;
}

.contact {
  text-align: center;
}

.contact-card {
  border-radius: 32px;
  padding: clamp(46px, 7vw, 84px) 28px;
}

.contact-card h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  margin-bottom: 18px;
}

.contact-card p {
  margin: 0 auto;
}

footer {
  padding: 30px 0 56px;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 12, 10, 0.88);
  padding: 28px;
}

.media-modal[aria-hidden='false'] {
  display: flex;
}

.modal-inner {
  width: min(1000px, 94vw);
  max-height: 90vh;
  text-align: center;
}

.modal-inner h3 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}

.modal-media img,
.modal-media video {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  object-fit: contain;
  background: #000;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 101;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

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

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

@media (max-width: 980px) {
  .hero-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }

  .hero-image img {
    height: 520px;
  }

  .carousel-btn {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-image img {
    height: 420px;
  }

  .section {
    padding: 76px 0;
  }

  .expertise-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card,
  .partner-card.featured {
    min-height: 170px;
  }

  .portfolio-card img,
  .portfolio-card video {
    height: 245px;
  }

  .reel-card {
    flex-basis: 235px;
    height: 420px;
  }

  .media-modal {
    padding: 18px;
  }
}
