/* STYLES.CSS
Sections:
1. Hero
2. Authority
3. Strategy meets connection
4. Principles
5. The process
6. The gazette
7. Success stories
8. Choose your country
9. Polaroid banner
Breakpoints: 1100 / 980 / 900 / 700 / 600 / 380
*/


/* =========================
   GLOBAL
   ========================= */

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

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #111;
  background: #e6d7c3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-weight: 400;
}

p {
  font-size: 18px;
}

.keep-together {
  white-space: nowrap;
}

/* =========================================
   GLOBAL LAYOUT SYSTEM
========================================= */

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 32px;
}

/* ========== COMMON HERO ========== */

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 540px;
  overflow: hidden;
  background: #f6efe3;
  border-radius: 36px;
  box-shadow: 0 16px 16px rgba(0, 0, 0, 0.15);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
}

.hero-title {
  max-width: 560px;
  margin: 0 0 26px;
  font-family: "Merriweather", serif;
  font-size: clamp(34px, 4.2vw, 44px);
  line-height: 1.16;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.4px;
}

.hero-text {
  max-width: 520px;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.6);
}

.hero-btn {
  margin: 0 auto;
}

.hero-image {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

/* GLOBAL HERO RESPONSIVE */

/* GLOBAL HERO RESPONSIVE - 1100px */
@media (max-width: 1100px) {
  .hero-panel {
    min-height: 500px;
  }

  .hero-content {
    padding: 44px 30px;
  }

  .hero-title {
    font-size: 40px;
    line-height: 1.12;
    margin-bottom: 22px;
  }

  .hero-text {
    max-width: 440px;
    font-size: 17px;
    margin-bottom: 32px;
  }
}

/* GLOBAL HERO RESPONSIVE - 1000px */
@media (max-width: 1000px) {
  .hero-title {
    font-size: 36px;
  }
}

/* GLOBAL HERO RESPONSIVE - 900px */
@media (max-width: 900px) {
  .hero-panel {
    grid-template-columns: 1fr 1fr;
    border-radius: 28px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
  }

  .hero-content {
    padding: 38px 28px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-text {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-btn {
    min-height: 44px;
    padding: 12px 24px;
    font-size: 14px;
  }
}

@media (max-width: 800px) {
    .hero-title {
        font-size: 30px;
    }
}

/* GLOBAL HERO RESPONSIVE - 700px */
@media (max-width: 700px) {
  .hero-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    order: 1;
    height: 300px;
    padding: 56px 32px 42px;
  }

  .hero-image {
    order: 2;
    height: 380px;
  }

  .hero-title {
    max-width: 22ch;
    margin-bottom: 18px;
  }
}

/* GLOBAL HERO RESPONSIVE - 600px */
@media (max-width: 600px) {
  .hero-panel {
    border-radius: 24px;
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.16);
  }

  .hero-content {
    min-height: 290px;
    padding: 46px 24px 36px;
  }

  .hero-image {
    height: 360px;
  }

  .hero-title {
    margin-bottom: 18px;
    font-size: 30px;
    line-height: 1.16;
  }

  .hero-text {
    max-width: 45ch;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .contact-btn.hero-btn {
    padding: 12px 22px;
    font-size: 14px;
    min-height: 42px;
  }
}

/* GLOBAL HERO RESPONSIVE - 400px */
@media (max-width: 400px) {
  .hero-content {
    padding: 30px 18px 24px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .hero-text {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .hero-image {
    min-height: 220px;
  }

  .contact-btn.hero-btn {
    max-width: 320px;
  }
}

/* GLOBAL HERO RESPONSIVE - 380px */
@media (max-width: 380px) {
  .hero-content {
    height: 270px;
  }

  .hero-image {
    height: 310px;
  }
}



/* GLOBAL SECTIONS */
.section {
  position: relative;
  overflow: hidden;
  padding-block: 35px;
  background: #e6d7c3;
}

.section-panel {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border-radius: 36px;
  background: #f6efe3;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 16px 16px rgba(0, 0, 0, 0.15);
}

.section-title {
  margin: 0 0 18px;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  text-wrap: balance;
}

.section-text {
  /* max-width: 62ch; */
  margin: 0 auto 18px;
  font-size: 18px;
  line-height: 1.72;
  color: rgba(17, 17, 17, 0.6);
  text-align: center;
}

.section-kicker {
  display: block;
  width: 100%;
  margin: 0 0 14px;

  text-align: center;

  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  
  transform: translateX(0.07em);
  color: rgba(17, 17, 17, 0.36);
}

/* for dark sections */
.section-kicker--light {
  color: rgba(246, 234, 218, 0.68);
}

.mobile-break {
  display: none;
}

/* LINK STYLES */
.text-link {
  color: rgba(17,17,17,.69);
  font-size: 18px;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(25, 24, 24, 0.35);

  transition:
    opacity 160ms ease,
    text-decoration-color 160ms ease,
    transform 160ms ease;
}

.text-link:hover {
  opacity: 0.92;
  text-decoration-color: rgba(25, 24, 24, 0.5);
}

.text-link--light {
  text-decoration-color: rgba(246, 234, 218, 0.35);
}

.text-link--light:hover {
  text-decoration-color: rgba(246, 234, 218, 0.75);
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}


/* =========================================
   GLOBAL STYLES. RESPONSIVE - 1100 / 1000 / 900 / 600 / 400
========================================= */

/* GLOBAL STYLES. RESPONSIVE - 1100 */
@media (max-width: 1100px) {
  .container {
    padding-inline: 28px;
  }

  .section {
    padding-block: 32px;
  }

  .section-panel {
    padding: 46px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-kicker {
    font-size: 12px;
  }

  .text-link {
    font-size: 17px;
  }
}

/* GLOBAL SECTIONS. RESPONSIVE - 1000px  */
@media (max-width: 1000px) {
  .container {
    padding-inline: 24px;
  }

    .section-panel {
        padding: 36px;
    }
}

/* GLOBAL STYLES. RESPONSIVE - 900px */
@media (max-width: 900px) {
  .container {
    padding-inline: 14px;
  }

  .section {
    padding-block: 24px;
  }

  .section-panel {
    padding: 36px;
    border-radius: 28px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
  }

  .section-title {
    margin-bottom: 14px;
    font-size: 32px;
  }

  .section-text {
    font-size: 16px;
    /* max-width: 52ch; */
  }

  .text-link {
    font-size: 16px;
  }
}

/* GLOBAL STYLES. RESPONSIVE - 800px */
@media (max-width: 800px) {
  .section-title {
    font-size: 30px;
  }
}

/* GLOBAL STYLES. RESPONSIVE - 700px */
@media (max-width: 700px) {
  .container {
    padding-inline: 20px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-text {
    font-size: 15px;
    /* max-width: 58ch; */
  }
}

/* GLOBAL STYLES. RESPONSIVE - 600px */
@media (max-width: 600px) {
  .container {
    padding-inline: 16px;
  }

  .section {
    padding-block: 22px;
  }

  .section-panel {
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.16);
  }

  .section-title {
    margin-bottom: 12px;
    font-size: 28px;
  }

  .section-text {
    font-size: 15px;
    margin-inline: auto;
    text-wrap: pretty;
  }

  .section-kicker {
    margin-bottom: 14px;
  }

  .mobile-break {
    display: block;
  }

  .text-link {
    font-size: 15px;
    text-underline-offset: 6px;
  }
}

/* GLOBAL STYLES. RESPONSIVE - 400px */
@media (max-width: 480px) {
  .container {
    padding-inline: 12px;
  }

  .section {
    padding-block: 18px;
  }

  .section-panel {
    padding: 34px 22px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.16);
  }

  .section-title {
    font-size: 26px;
  }

  .section-text {
    font-size: 14px;
    max-width: 40ch;
  }

  .mobile-break {
    display: none;
  }

  .text-link {
    font-size: 14px;
  }
}

/* GLOBAL STYLES. RESPONSIVE - 380px */
@media (max-width: 380px) {
  .container {
    padding-inline: 10px;
  }

  .section {
    padding-block: 16px;
  }

  .section-panel {
    padding: 30px 18px;
    border-radius: 20px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .section-text {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 38ch;
  }

  .section-kicker {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .text-link {
    font-size: 13px;
  }
}

/* =========================
   BUTTONS
   ========================= */

.contact-btn {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;

  background: #191818;
  color: #f6eada;
  border: 1px solid rgba(17, 17, 17, 0.18);

  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;

  transition:
    transform 160ms ease,
    opacity 160ms ease,
    box-shadow 220ms ease;
}

.contact-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45),
    transparent 70%
  );

  transform: translateX(-120%);
  transition: transform 0.9s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.contact-btn:hover::before {
  transform: translateX(120%);
}

.contact-btn--outline {
  background: transparent;
  color: #f6eada;
  border-color: #f6eada;
}

.contact-btn--outline:hover {
  transform: translateY(-1px);
  box-shadow:
    1px 2px 8px rgba(246, 234, 218, 0.7),
    0 0 18px rgba(246, 234, 218, 0.25);
}

.contact-btn--header {
  min-height: 44px;
  padding: 8px 36px;

  font-size: 15px;
  font-weight: 500;

  background: transparent;
  border-color: #f6eada;
}

.contact-btn--header:hover {
  transform: translateY(-1px);
  box-shadow:
    1px 2px 8px rgba(246, 234, 218, 0.7),
    0 0 18px rgba(246, 234, 218, 0.25);
}

@keyframes shineRun {
  0%,
  88% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

.contact-btn.is-auto-shine::before {
  animation: shineRun 12s cubic-bezier(0.33, 1, 0.68, 1) infinite;
}

.contact-btn.is-auto-shine:hover::before {
  animation: none;
}

/* BUTTONS RESPONSIVE */
@media (max-width: 900px) {
  .contact-btn {
    min-height: 44px;
    padding: 11px 24px;
    font-size: 14px;
  }

  .contact-btn--header {
    min-height: 40px;
    padding: 8px 28px;
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .contact-btn {
    min-height: 42px;
    padding: 9px 22px;
    font-size: 13px;
  }

  .contact-btn--header {
    min-height: 38px;
    padding: 7px 20px;
  }
}

/* =========================
   HEADER
   ========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  background: #191818;
  color: #f6eada;
}

.header-inner {
  height: 80px;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo-wrapper {
  justify-self: start;
  padding-left: 28px;
}

.logo {
  display: inline-flex;
  flex-direction: column;

  margin-left: 15px;

  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  text-align: left;
  text-decoration: none;
  color: inherit;
}

.logo-top,
.logo-main {
  display: block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 3px;
  font-weight: 500;
  color: #f6eada;
}

.logo-top {
  margin-bottom: 4px;
  text-align: center;
}

.nav {
  justify-self: center;

  display: flex;
  align-items: center;
  gap: 50px;
}

.nav a {
  color: #f6eada;
  text-decoration: none;

  font-size: 15px;
  font-weight: 500;

  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.header-actions {
  justify-self: end;

  display: inline-flex;
  align-items: center;
  gap: 14px;

  margin-right: 25px;
}

/* =========================
   BURGER
   ========================= */

.burger {
  position: relative;

  display: none;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border-radius: 999px;
  border: 1px solid rgba(246, 234, 218, 0.55);
  background: transparent;

  cursor: pointer;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.burger:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 234, 218, 0.85);
}

.burger:focus-visible {
  outline: 2px solid rgba(246, 234, 218, 0.85);
  outline-offset: 3px;
}

.burger-lines {
  position: relative;

  display: block;
  width: 18px;
  height: 2px;

  border-radius: 2px;
  background: #f6eada;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;

  width: 18px;
  height: 2px;

  border-radius: 2px;
  background: #f6eada;

  transition:
    transform 0.35s ease,
    top 0.35s ease,
    opacity 0.25s ease;
}

.burger-lines::before {
  top: -6px;
}

.burger-lines::after {
  top: 6px;
}

/* =========================
   MOBILE MENU
   ========================= */

.menu-overlay {
  position: fixed;
  top: 80px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);

  opacity: 0;
  transition: opacity 0.25s ease;
}

.menu-drawer {
  position: fixed;
  top: 80px;
  right: 0;
  z-index: 1000;

  width: min(86vw, 380px);
  height: calc(100dvh - 80px);
  padding: 60px 22px 24px;

  background: #191818;
  border-left: 1px solid rgba(246, 234, 218, 0.12);

  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-drawer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 1px;
  background: rgba(246, 234, 218, 0.08);
}

.menu-nav {
  display: grid;
  gap: 14px;
}

.menu-nav a {
  padding: 12px;

  border-radius: 12px;
  border: 1px solid rgba(246, 234, 218, 0.1);
  background: rgba(246, 234, 218, 0.03);

  color: #f6eada;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.menu-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 234, 218, 0.22);
  background: rgba(246, 234, 218, 0.06);
}

.menu-contact {
  margin-top: 6px;

  text-align: center;
  border: 1px solid rgba(246, 234, 218, 0.55) !important;
  background: transparent !important;
}

/* Open state */
.header.is-menu-open .menu-overlay {
  opacity: 1;
}

.header.is-menu-open .menu-drawer {
  transform: translateX(0);
}

.header.is-menu-open .burger-lines {
  background: transparent;
}

.header.is-menu-open .burger-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.header.is-menu-open .burger-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

body.is-locked {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* =========================
   HEADER RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  .nav {
    gap: 34px;
  }

  .header-actions {
    margin-right: 10px;
  }
}

@media (max-width: 1000px) {
  .nav {
    gap: 24px;
    margin-left: 22px;
  }
}

@media (max-width: 900px) {
  .container.header-inner {
    padding: 0 22px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .contact-btn--header {
    display: none;
  }
}

@media (max-width: 600px) {

  .container.header-inner {
    height: 72px;
    padding: 0 16px;
  }

  .logo {
    margin-left: 0;
  }

  .logo-top,
  .logo-main {
    font-size: 16px;
    letter-spacing: 2.5px;
  }

  .header-actions {
    margin-right: 0;
  }

  .header-actions .contact-btn {
    display: none;
  }

  .menu-overlay {
    top: 72px;
  }

  .menu-drawer {
    top: 72px;
    left: 0;
    right: 0;

    width: 100%;
    max-width: none;
    height: calc(100dvh - 72px);
    padding: 40px 16px 22px;

    border-left: none;
    border-right: none;
  }

  .menu-nav a {
    font-size: 15px;
  }

  
}

@media (max-width: 380px) {
  .container.header-inner {
    padding: 0 12px;
  }

  .logo-top,
  .logo-main {
    font-size: 15px;
    letter-spacing: 2.2px;
  }

  .burger {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-btn,
  .contact-btn::before,
  .menu-drawer,
  .menu-overlay,
  .burger,
  .burger-lines,
  .burger-lines::before,
  .burger-lines::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ========== HOMEPAGE HERO ========== */

.hero-cube__panel {
  position: relative;
  overflow: hidden;

  padding: 56px 40px;

  background: #f6efe3;

  border-radius: 36px;
  border: 1px solid rgba(17, 17, 17, 0.06);

  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.18);
}

.hero-cube__card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas: "left media";
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-cube__left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-cube__text {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.hero-cube__title {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 16px;
  font-family: "Merriweather", serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
  color: #111;
  letter-spacing: -0.6px;
  text-align: center;
}

.hero-cube__title .type-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-cube__subtitle {
  margin: 24px 0 10px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.6);
  text-align: center;
}

.hero-cube__actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.hero-cube__note {
  margin: 0;
  font-size: 12px;
  opacity: 0.3;
  font-weight: 600;
}

.hero-cube__media {
  grid-area: media;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-cube__wrap {
  width: min(480px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: transparent;
  transform: translateX(-38px);
}

.hero-cube__video,
.hero-cube__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cube__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  pointer-events: none;
}

.hero-cube__video::-webkit-media-controls,
.hero-cube__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}


@media (max-width: 900px) {
  .hero-cube__panel {
    padding: 48px 30px;
    border-radius: 28px;
    box-shadow: 0 14px 14px rgba(0, 0, 0, 0.18);
  }

  .hero-cube__card {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px 28px;
  }

  .hero-cube__title {
    font-size: 40px;
  }

  .hero-cube__subtitle {
    margin: 14px 0 0;
    font-size: 15px;
  }

  .hero-cube__wrap {
    width: min(320px, 100%);
    border-radius: 24px;
    transform: none;
  }
}

@media (max-width: 800px) {
    .hero-cube__title {
    font-size: 36px;
    }
}

@media (max-width: 700px) {
    .hero-cube__title {
    font-size: 32px;
    }
}

@media (max-width: 600px) {
  .hero-cube {
    padding: 22px 0;
  }

  .hero-cube__panel {
    padding: 40px 20px;
    border-radius: 22px;
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.16);
  }

  .hero-cube__card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "media"
      "actions";
    gap: 16px;
  }

  .hero-cube__left {
    display: contents;
  }

  .hero-cube__text {
    grid-area: text;
  }

  .hero-cube__media {
    grid-area: media;
  }

  .hero-cube__actions {
    grid-area: actions;
    margin-top: 4px;
  }

  .hero-cube__title {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.3px;
  }

  .hero-cube__subtitle {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-cube__wrap {
    width: 100%;
    max-width: 360px;
    border-radius: 22px;
    transform: none;
  }
}

@media (max-width: 400px) {
  .hero-cube {
    padding: 18px 0;
  }

  .hero-cube__panel {
    padding: 34px 12px;
  }

  .hero-cube__title {
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -0.2px;
    margin: 0 auto;
  }

  .hero-cube__subtitle {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 28ch;
    margin-inline: auto;
  }

  .hero-cube__video,
  .hero-cube__img {
    padding-right: 10px;
  }
}

@media (max-width: 380px) {
  .hero-cube {
    padding: 16px 0;
  }

  .hero-cube__panel {
    padding: 30px 10px;
  }

  .hero-cube__title {
    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -0.15px;
  }

  .hero-cube__subtitle {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 27ch;
  }

  .hero-cube__note {
    font-size: 11px;
  }
}


/* =============== SECTION 2: AUTHORITY ================= */

.authority-panel {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
  border: none;
}

.authority-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image:
    linear-gradient(
      180deg,
      rgba(34, 28, 22, 0.18) 0%,
      rgba(34, 28, 22, 0.42) 100%
    ),
    url("../images/homepage/office_team.png");

  background-size: cover;
  background-position: 90% 20%;
  background-repeat: no-repeat;

  opacity: 0.92;
  filter: saturate(0.95) contrast(1.05);
  pointer-events: none;
}

.authority-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(
      90deg,
      rgba(16, 14, 12, 0.96) 0%,
      rgba(20, 17, 14, 0.88) 18%,
      rgba(36, 30, 24, 0.64) 38%,
      rgba(64, 52, 42, 0.34) 58%,
      rgba(96, 78, 62, 0.12) 78%,
      rgba(120, 98, 78, 0) 100%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(0, 0, 0, 0) 42%,
      rgba(26, 20, 14, 0.42) 100%
    );

  filter: blur(10px);
  transform: scale(1.05);
  pointer-events: none;
}

.authority-inner {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;

  margin-left: 5px;
}

.authority-left {
  max-width: 560px;
}

.authority-title {
  color: #f6eada;
  text-align: left;
}

.authority-lead {
  margin: 18px 0;
  padding: 16px 18px;

  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(246, 234, 218, 0.14);

  background: rgba(246, 234, 218, 0.06);
  color: rgba(246, 234, 218, 0.92);
}

.authority-pill {
  position: relative;
  overflow: hidden;

  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 14px;

  border-radius: 999px;
  border: 1px solid rgba(246, 234, 218, 0.18);

  background: rgba(246, 234, 218, 0.06);
  color: rgba(246, 234, 218, 0.88);

  font-size: 13px;
  line-height: 1.3;

  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    border-color 320ms ease,
    background 320ms ease;
}

.authority-pill::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -50%;

  width: 22%;
  height: 240%;

  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(246, 234, 218, 0.2) 42%,
    rgba(246, 234, 218, 0.45) 50%,
    rgba(246, 234, 218, 0.2) 58%,
    transparent 100%
  );

  opacity: 0;
  pointer-events: none;
}

.authority-pill:hover {
  transform: scale(1.025);
  border-color: rgba(246, 234, 218, 0.32);
  background: rgba(246, 234, 218, 0.1);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 16px rgba(0, 0, 0, 0.18);
}

.authority-pill:hover::after {
  animation: pill-shine 0.9s ease-out forwards;
}

@keyframes pill-shine {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: translateX(520%);
    opacity: 0;
  }
}

.authority-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 100%;
}

.stat {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 18px 22px;
  border-radius: 22px;
  border: 1px solid rgba(246, 234, 218, 0.16);

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 30px rgba(0, 0, 0, 0.22);

  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.stat:hover {
  border-color: rgba(246, 234, 218, 0.28);
  background: rgba(246, 234, 218, 0.08);

  box-shadow:
    inset 0 0 0 1px rgba(246, 234, 218, 0.12),
    0 10px 26px rgba(0, 0, 0, 0.18);
}

.stat-icon {
  flex: 0 0 52px;

  width: 52px;
  height: 52px;

  border-radius: 50%;
  border: 1.5px solid rgba(216, 183, 122, 0.75);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #d8b77a;
}

.stat-svg {
  width: 28px;
  height: 28px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.stat-divider {
  flex: 0 0 1px;
  align-self: stretch;

  width: 1px;

  background: linear-gradient(
    transparent,
    rgba(246, 234, 218, 0.45),
    transparent
  );
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-num {
  margin-bottom: 2px;

  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;

  color: #f6eada;
}

.stat-label {
  font-size: 18px;
  line-height: 1.35;

  color: rgba(246, 234, 218, 0.82);
}

.authority-right {
  min-height: 360px;
}

/* =========================
   AUTHORITY RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  .authority-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
  }

  .authority-right {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .authority-panel::before {
    background-position: 66% 50%;
  }

  .authority-panel::after {
    background:
      linear-gradient(
        90deg,
        rgba(16, 14, 12, 0.94) 0%,
        rgba(20, 17, 14, 0.82) 22%,
        rgba(36, 30, 24, 0.54) 42%,
        rgba(64, 52, 42, 0.24) 62%,
        rgba(96, 78, 62, 0.08) 82%,
        rgba(120, 98, 78, 0) 100%
      ),
      radial-gradient(
        ellipse at 50% 50%,
        rgba(0, 0, 0, 0) 46%,
        rgba(26, 20, 14, 0.34) 100%
      );

    filter: none;
    transform: none;
  }

  .authority-inner {
    grid-template-columns: 1fr 0.55fr;
    gap: 0;
    margin-left: 0;
  }

  .authority-left {
    max-width: 560px;
  }

  .authority-right {
    min-height: 300px;
  }

  .authority-text {
    max-width: 60ch;
    margin-bottom: 16px;
  }

  .authority-lead {
    margin: 16px 0;
    padding: 13px 15px;
    font-size: 16px;
    max-width: 88%;
  }

  .authority-stats {
    max-width: 88%;
    gap: 12px;
  }

  .stat {
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .stat-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .stat-svg {
    width: 24px;
    height: 24px;
  }

  .stat-num {
    font-size: 21px;
  }

  .stat-label {
    font-size: 15px;
  }
}

@media (max-width: 800px) {
  .authority-panel::before {
    background-position: 0 50%;
  }

  .authority-lead {
    max-width: 94%;
  }

  .authority-stats {
    max-width: 94%;
  }
}

@media (max-width: 750px) {
  .authority-lead {
    font-size: 15px;
  }

  .stat-label {
    font-size: 14px;
  }

  .authority-stats {
    gap: 8px;
  }

  .stat {
    gap: 10px;
    padding: 14px 10px;
  }

  .stat-num {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .authority-panel::before {
    background-position: 20% 50%;
  }
}

@media (max-width: 650px) {
  .authority .section-panel {
    padding: 36px 26px;
  }
}

@media (max-width: 600px) {
  .authority-inner {
    grid-template-columns: 1fr;
  }

  .authority-panel::before {
    background-position: 50% 50%;
  }

  .authority-right {
    min-height: 0;
  }

  .authority-pill {
    margin-bottom: 14px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .authority-title .keep-together {
    white-space: nowrap;
  }

  .authority-text {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.7;
  }

  .authority-lead {
    margin: 14px 0 12px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    max-width: 60%;
  }

  .authority-stats {
    grid-template-columns: 1fr;
    max-width: 60%;
    gap: 12px;
  }

  .stat {
    padding: 14px;
    border-radius: 14px;
  }

  .stat-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .stat-svg {
    width: 22px;
    height: 22px;
  }

  .stat-num {
    font-size: 20px;
  }

  .stat-label {
    font-size: 13px;
  }
}

@media (max-width: 550px) {
  .authority-left {
    max-width: 460px;
  }

  .authority-lead {
    max-width: 62%;
  }

  .authority-stats {
    max-width: 62%;
  }
}

@media (max-width: 500px) {
  .authority-panel::before {
    background-position: 50% 50%;
  }

  .authority-lead {
    max-width: 60%;
  }

  .authority-stats {
    grid-template-columns: 1fr;
    max-width: 60%;
  }
}

@media (max-width: 480px) {
  .authority-panel::before {
    background-position: 55% 90%;
  }

    .authority-lead {
    max-width: 70%;
  }

  .authority-text,
  .authority-stats {
    max-width: 70%;
  }

  .stat {
    padding-right: 10px;
  }
}

@media (max-width: 400px) {
  .authority-panel {
    padding: 18px;
  }

  .authority-lead {
    max-width: 70%;
  }

  .authority-text,
  .authority-stats {
    max-width: 70%;
  }

  .authority-text {
    font-size: 14px;
  }

  .authority-lead {
    padding: 12px 8px 12px 14px;
  }

  .authority-pill {
    display: block;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }

  .authority-panel::before {
    background-position: 51% 40%;
    opacity: 0.88;
  }

  .stat {
    padding: 14px 0 14px 14px;
  }
}

@media (max-width: 380px) {
  .stat {
    padding: 14px;
  }
    .authority-panel::before {
    background-position: 55% 40%;
    opacity: 0.88;
  }
}


/* =========================
   STRATEGY
   ========================= */

.strategy-panel::before {
  content: "";
  position: absolute;
  inset: -30%;

  background:
    radial-gradient(
      circle at 25% 30%,
      rgba(246, 234, 218, 0.55) 0 18%,
      transparent 22%
    ),
    radial-gradient(
      circle at 75% 55%,
      rgba(220, 231, 242, 0.75) 0 16%,
      transparent 20%
    ),
    radial-gradient(
      circle at 45% 85%,
      rgba(246, 234, 218, 0.35) 0 16%,
      transparent 20%
    );

  opacity: 0.4;
  filter: blur(18px);
  pointer-events: none;
}

.strategy-title,
.strategy-text,
.strategy-strip,
.strategy-cards,
.s-note {
  position: relative;
  z-index: 1;
}

.strategy-strip {
  position: relative;
  overflow: hidden;

  height: 360px;
  margin: 0 0 18px;

  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);

  background: rgba(246, 234, 218, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
}

.strategy-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.strategy-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(
      900px 340px at 20% 10%,
      rgba(246, 234, 218, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16));
}

.strategy-cards {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;

  margin: 25px 0 10px;
}

.s-card {
  padding: 40px 18px;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);

  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);

  text-align: center;

  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.s-card:hover {
  transform: scale(1.01);
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.82);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 20px 50px rgba(47, 46, 46, 0.1);
}

.s-num {
  margin-bottom: 6px;

  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #111;
}

.s-label {
  max-width: 38ch;
  margin: 0 auto;

  font-size: 14px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.72);
}

.s-note {
  margin: 12px 0 0;

  font-size: 12px;
  text-align: center;
  color: rgba(17, 17, 17, 0.55);
}

/* STRATEGY. RESPONSIVE 1100px */

@media (max-width: 1100px) {

  .strategy-strip {
    height: 320px;
  }

  .s-card {
    padding: 30px 16px;
  }
}

/* STRATEGY. RESPONSIVE 900px */
@media (max-width: 900px) {

  .strategy-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .s-card {
    padding: 20px 14px;
  }

  .s-num {
    font-size: 28px;
  }

  .s-label {
    font-size: 13px;
  }

  .strategy-strip {
    height: 250px;
    border-radius: 22px;
  }
}

/* STRATEGY. RESPONSIVE 600px */
@media (max-width: 600px) {
  .strategy--soft {
    padding: 22px 0;
  }

  .strategy--soft > .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .strategy-panel::before {
    inset: 0;
    transform: scale(1.25);
  }

  .strategy-strip {
    height: 200px;
    margin-bottom: 12px;
    border-radius: 18px;
  }

  .strategy-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0 8px;
  }

  .s-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .s-num {
    font-size: 28px;
  }

  .s-label {
    font-size: 13px;
  }
}

/* STRATEGY. RESPONSIVE 400px */
@media (max-width: 400px) {
  .strategy-strip {
    height: 150px;
  }

  .strategy-strip img {
    object-position: center 0;
  }
}


/*=============== SECTION 4: PRINCIPLES =================*/

.principles{
  background: #191818;
}

.principles-panel{
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(246,234,218,0.10);
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
}

.principles::before{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(circle at 20% 20%, rgba(246,234,218,0.08) 0 26%, transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(0,0,0,0.25) 0 24%, transparent 26%),
    radial-gradient(circle at 65% 80%, rgba(246,234,218,0.06) 0 22%, transparent 24%);
  filter: blur(22px);
  pointer-events:none;
  left:0; right:0;
  width:auto;
}



/* HEAD */
.principles-head{
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}


.principles-title{
  color: #F6EADA;
  /* background: linear-gradient(
    90deg,
    #D8B77A 0%,
    #EAD7A8 45%,
    #F6EADA 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; */

  /* трохи “дорогого” світіння */
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.principles-sub {
  color: rgba(246, 234, 218, 0.78);
}

.principles-break {
  display: none;
}

/* GRID 3x2 */
.principles-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* CARD base */
.principles-card{
  position: relative;
  border-radius: 22px;
  padding: 20px 20px 10px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(246,234,218,0.10);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  min-height: 160px;
  margin-bottom: 15px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;

  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease;
}

.principles-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
  border-color: rgba(246,234,218,0.22);
}

.principles-kicker{
  margin: 0;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.15;
  color: rgba(246,234,218,0.96);
  text-align: center;
}

.principles-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(246,234,218,0.74);
  max-width: 95%;
  text-align: center;
}

/* PHOTO cards base */
.p-card--photo{
  background: transparent;
  padding: 22px 20px 10px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
}

/* photo itself */
.p-card--photo::before{
  content:"";
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.02);
  z-index: 0;
}

/* overlay */
.p-card--photo::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.78));
  z-index: 1;
}

/* content above */
.p-card--photo > *{
  position: relative;
  z-index: 2;
  text-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

/* конкретні фони (постав свої шляхи) */
.p-card--secure::before{
  background-image: url("../images/homepage/private_consultation.png");
  background-position: 50% 20%;
}

.p-card--blind::before{
  background-image: url("../images/homepage/blind-date.jpg");
}

.p-card--personalized::before{
  background-image: url("../images/homepage/happy-happy.jpg");
}

.principles-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
  color: #f6eada;
}

.principles-icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

.principles-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   PRINCIPLES RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .principles-grid {
    gap: 14px;
  }

  .principles-card,
  .p-card--photo {
    min-height: 150px;
    padding: 18px 14px 12px;
  }

  .principles-icon svg {
    width: 48px;
    height: 48px;
  }

  .principles-kicker {
    font-size: 18px;
  }

  .principles-text {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-width: 900px) {
  .principles-head {
    margin-bottom: 26px;
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-inline: 15px;
  }

  .principles-card,
  .p-card--photo {
    min-height: 138px;
    padding: 16px 14px 12px;
    margin-bottom: 0;
  }

  .principles-icon svg {
    width: 44px;
    height: 44px;
  }

  .principles-kicker {
    font-size: 17px;
  }

  .principles-text {
    font-size: 13px;
  }
}

@media (max-width: 750px) {
  .principles .section-text {
    max-width: 44ch;
  }

  .principles-grid {
    gap: 12px;
  }

  .principles-card,
  .p-card--photo {
    min-height: 122px;
    padding: 14px 12px 10px;
    border-radius: 18px;
  }

  .principles-icon {
    margin-bottom: 4px;
  }

  .principles-icon svg {
    width: 38px;
    height: 38px;
  }

  .principles-kicker {
    font-size: 15px;
  }

  .principles-text {
    font-size: 12.5px;
    line-height: 1.4;
  }
}

@media (max-width: 600px) {
  .principles::before {
    inset: 0;
    transform: scale(1.25);
    filter: blur(20px);
  }

  .principles-head {
    margin: 0 auto 18px;
  }

  .principles-break {
    display: inline;
  }

  .principles-text-desktop {
    display: none;
  }

  .principles-text-mobile {
    display: block;
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-inline: 0;
  }

  .principles-card,
  .p-card--photo {
    min-height: 112px;
    padding: 13px 10px;
    gap: 6px;
    border-radius: 12px;
  }

  .principles-icon svg {
    width: 42px;
    height: 42px;
  }

  .principles-kicker {
    font-size: 14px;
    line-height: 1.15;
  }

  .principles-text {
    font-size: 12px;
    line-height: 1.4;
    max-width: 100%;
  }

  .principles-cta {
    margin-top: 32px;
  }

  .book-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 22px;
    text-align: center;
  }
}

@media (max-width: 550px) {
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principles-card,
  .p-card--photo {
    min-height: 112px;
    padding: 16px 18px;
  }

  .principles-icon svg {
    width: 46px;
    height: 46px;
  }

  .principles-kicker {
    font-size: 16px;
  }

  .principles-text {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-width: 400px) {
  .principles-head {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .principles-sub .principles-break {
    display: none;
  }

  .principles-title .mobile-break {
    display: inline;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-inline: 15px;
  }

  .principles-card,
  .p-card--photo {
    min-height: 124px;
    padding: 14px 16px;
  }

  .principles-icon svg {
    width: 42px;
    height: 42px;
  }

  .principles-kicker {
    font-size: 15px;
  }

  .principles-text {
    font-size: 12.5px;
  }
}

@media (max-width: 380px) {
  .principles .section-title {
    max-width: 16ch;
    margin: 0 auto 12px;
  }

  .principles-head {
    margin-bottom: 16px;
  }

  .principles-grid {
    gap: 10px;
    padding-inline: 15px;
  }

  .principles-card,
  .p-card--photo {
    min-height: 100px;
    padding: 12px 14px;
    gap: 6px;
  }

  .principles-icon svg {
    width: 40px;
    height: 40px;
  }

  .principles-kicker {
    font-size: 14px;
  }

  .principles-text {
    font-size: 12px;
    line-height: 1.38;
  }

  .principles-cta {
    margin-top: 26px;
  }
}

/* =================== SECTION 5: THE PROCESS ================== */

.process-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 18px;
}

/* MEDIA */

.process-media {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: 22px;
  border: 1px solid rgba(17,17,17,.08);
  background: rgba(255,255,255,.55);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

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

/* STEPS */

.process-steps {
  display: grid;
  gap: 12px;
}

.process-step {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;

  padding: 28px 30px;

  border-radius: 24px;
  border: 1px solid rgba(17,17,17,.08);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.92),
      rgba(255,255,255,.82)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 18px 44px rgba(0,0,0,.06);

  transition:
    transform 260ms cubic-bezier(.22,1,.36,1),
    box-shadow 260ms cubic-bezier(.22,1,.36,1),
    border-color 260ms ease;
}

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

/* TEXT */

.process-description {
  position: relative;
  z-index: 1;
  padding-right: 10px;
}

.process-description::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;

  width: 1px;
  height: 62px;

  transform: translateY(-50%);

  background: linear-gradient(
    180deg,
    transparent,
    rgba(191,169,132,.45),
    transparent
  );
}

.process-step-title {
  margin: 0 0 10px;
  color: #171514;
  font-family: "Cormorant Garamond","Merriweather",serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.02em;
}

.process-step-subtitle {
  max-width: 48ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(17,17,17,.68);
}

/* NUMBER */

.step-num {
  position: relative;
  z-index: 1;

  min-width: 64px;
  padding-left: 10px;

  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;

  color: #f1e5d4;

  -webkit-mask-image: linear-gradient(90deg,transparent,#000 35%);
  mask-image: linear-gradient(90deg,transparent,#000 35%);
}

/* LINK */

.learn-more {
  display: flex;
  justify-content: center;
  margin: 30px 0 0;
}

.learn-more-link {
  font-size: 15px;
  font-weight: 400;
  color: #191818;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: #918f8f;
  opacity: .69;
}

/* THE PROCESS. RESPONSIVE 1100px */

@media (max-width: 1100px) {
  .process-step {
    position: relative;
    grid-template-columns: 1fr;
    padding: 30px 28px 26px;
  }

  .process-description {
    padding-right: 0;
  }

  .process-description::after {
    display: none;
  }

  .step-num {
    position: absolute;
    top: 15px;
    right: 15px;

    padding: 0;
    min-width: 0;

    font-size: 50px;
    line-height: 1;
    opacity: 0.48;

    -webkit-mask-image: none;
    mask-image: none;
  }

  .process-step-title {
    padding-right: 40px;
    font-size: 22px;
  }
}

/* THE PROCESS. RESPONSIVE 1000px */
  @media (max-width: 1000px) {
  .process-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-media {
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
  }

  .process-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    object-position: center 42%;
  }

  .process-steps {
    margin: 0 auto;

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

/* THE PROCESS. RESPONSIVE 900px */
@media (max-width: 900px) {
  .process-wrap {
    grid-template-columns: 1fr;
  }

  .process-description {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 4px;
  max-width: 32ch;
}

  .process-step {
    padding: 34px 30px;
  }

  .process-steps {
    width: 100%;
    gap: 12px;
  }

  .process-step-title {
    font-size: 20px;
  }

  .process-step-subtitle {
    font-size: 16px;
    max-width: 28ch;
  }

  .step-num {
    font-size: 48px;
    top: 18px;
    right: 18px;
  }
}

@media (max-width: 800px) {
  .process-step-subtitle {
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  .process-step-title {
    font-size: 18px;
    padding-right: 0;
  }

  .process-step-subtitle {
    font-size: 14px;
  }
      
  .step-num {
    font-size: 40px;
    right: 14px;
  }

  .process-steps {
    gap: 10px;
}

  .process-step {
    padding: 34px 26px;
  }

  .section-more {
    margin-top: 24px;
  }
}

@media (max-width: 750px) {
.process-subtitle {
  max-width: 42ch;
}
}

/* THE PROCESS. RESPONSIVE 600px */
@media (max-width: 600px) {
 .process-wrap {
    gap: 18px;
    margin-top: 14px;
  }

  .process-media {
    border-radius: 18px;
  }

  .process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .process-step {
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 32px 44px 32px 32px;
    border-radius: 16px;
    min-height: auto;
  }

  .process-description {
    padding-right: 0;
    max-width: none;
  }

  .process-step-title {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .process-step-subtitle {
    max-width: 38ch;
    font-size: 14px;
    line-height: 1.55;
  }

  .step-num {
    top: 18px;
    right: 24px;
    font-size: 48px;
    opacity: .65;
  }

  .section-more {
    margin-top: 18px;
  }
}

/* THE PROCESS. RESPONSIVE 480px */

@media (max-width: 480px) {
  .process-step {
    padding: 30px 40px 30px 30px;
  }

  .process-step-subtitle {
    max-width: 36ch;
  }

  .process-step-title {
    font-size: 18px;
  }

  .step-num {
    font-size: 44px;
    right: 18px;
  }
}

@media (max-width: 380px) {
  .process-step {
    padding: 20px 20px 20px 24px;
  }
  
  .step-num {
    top: 12px;
    right: 12px;
    font-size: 38px;
    opacity: .69;
  }

  .process-step-subtitle {
    max-width: 34ch;
    font-size: 13.5px;
  }

  .process-step-title {
    margin: 4px 0 8px 0;
    font-size: 18px;
  }
}

/* WAVE-ACCENT */
/* .wave-text {
  background: repeating-linear-gradient(
    90deg,
    #16929a 0%,
    #16929a 12%,
    #1fa79a 12%,
    #1fa79a 24%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
} */


/* ================== SECTION 6: THE GAZETTE ================= */

.gazette-panel {
  background: #191818;
  border: 1px solid rgba(17, 17, 17, 0.06);
}

/* soft blobs */
.gazette-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 25% 30%, rgba(246, 234, 218, 0.55) 0 18%, transparent 22%),
    radial-gradient(circle at 75% 55%, rgba(220, 231, 242, 0.70) 0 16%, transparent 20%),
    radial-gradient(circle at 45% 85%, rgba(246, 234, 218, 0.35) 0 16%, transparent 20%);
  filter: blur(18px);
  opacity: 0.45;
  transform: scale(1.35);
  pointer-events: none;
}

/* ===== HEAD ===== */

.gazette-head{
  position: relative;
  z-index: 1;
  text-align: center;
}

.gazette-title{
  color: #F6EADA;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.gazette-subtitle{
  color: rgba(246,234,218,.82)
}

.gazette-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.gazette-link:hover {
  color: #e7dac1;
}

/* ===== GRID ===== */

.gazette-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 10px 25px;
  align-items: center;
}

/* ===== CARD ===== */

.gazette-card{
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;

  transition:
    transform 0.6s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.6s cubic-bezier(0.22,1,0.36,1),
    filter 0.4s ease;

    overflow:hidden;
  border-radius:18px;
}

/* COVER */

.gazette-cover{
  position: relative;
  overflow: hidden;
  border-radius: 18px;

  aspect-ratio: 3 / 5;

  box-shadow:
    0 18px 40px rgba(0,0,0,.22),
    0 4px 12px rgba(0,0,0,.12);
}


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


/* overlay */

.gazette-cover::after{
  content:"";
  position:absolute;
  inset:0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 45%,
    rgba(0,0,0,0.5) 100%
  );

  opacity:0.7;
  transition: opacity 0.4s ease;
}

.gazette-overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gazette-kicker {
  position: absolute;
  top: 26px;
  left: 34px;
  right: 34px;

  margin: 0;
  display: inline-block;

  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;

  color: #8e6540;
}

.gazette-cover-title {
  position: absolute;
  top: 48px;
  left: 34px;
  right: 34px;

  margin: 0;

  font-family: "Merriweather", serif;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 600;

  color: #544d3e;
}

.gazette-cover-subtitle {
  position: absolute;
  top: 124px;
  left: 34px;

  width: 185px;
  margin: 0;

  font-size: 16px;
  line-height: 1.5;

  color: #69614f;
}

/* .gazette-cover-number{
  position: absolute;

  right: 28px;
  top: 18px;

  font-family:"Merriweather", serif;
  font-size: 40px;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  color:rgba(255, 246, 231, 0.66);

  background: linear-gradient(
  135deg,
  #f8f2e8 0%,
  #e6d4bd 28%,
  #6a5641 58%,
  #493323 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
} */


/* ===== HOVER ===== */

/* dim all cards when hovering the grid */
.gazette-grid:hover .gazette-card {
  filter: brightness(0.65) saturate(0.85);
}

/* keep hovered card bright */
.gazette-grid .gazette-card:hover {
  transform: translateY(-10px) scale(1.04);
  filter: brightness(1.08) saturate(1.05);

  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.25);
}

.gazette-grid .gazette-card:hover img {
  transform: scale(1.06);
}

.gazette-grid .gazette-card:hover .gazette-cover::after {
  opacity: 0.5;
}

/* ===== READ MORE ===== */

.gazette-more{
  display: flex;
  justify-content: center;
  margin: 30px 0 0;
}

.text-link--dark-shine {
  font-weight: 400;
  color: #f6eada;
  text-decoration-color: rgba(246, 234, 218, 0.55);

  background: linear-gradient(
    to right,
    #f6eada 20%,
    #ffffff 50%,
    #f6eada 80%
  );

  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: sectionMoreShine 3s linear infinite;
}

@keyframes sectionMoreShine {
  to {
    background-position: 200% center;
  }
}

/* =========================
   THE GAZETTE RESPONSIVE
========================= */

/* =========================
   THE GAZETTE RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .gazette-grid {
    gap: 30px;
    padding: 10px;
  }

  .gazette-card {
    max-width: 280px;
  }

  .gazette-cover-title {
    top: 26px;
    left: 28px;
    right: 28px;
    font-size: 30px;
  }

  .gazette-cover-subtitle {
    top: 98px;
    left: 28px;
    width: 165px;
    font-size: 15px;
    line-height: 1.45;
  }

  .gazette-cover-number {
    right: 24px;
    bottom: 20px;
    font-size: 42px;
  }
}

@media (max-width: 900px) {
  .gazette-grid {
    grid-template-columns: repeat(2, minmax(260px, 320px));
    justify-content: center;
    gap: 28px 32px;
    padding: 8px 0;
  }

  .gazette-card {
    max-width: 350px;
  }

  .gazette-cover-title {
    top: 28px;
    left: 30px;
    right: 30px;
    font-size: 31px;
    line-height: 1.05;
  }

  .gazette-cover-subtitle {
    top: 100px;
    left: 30px;
    width: 165px;
    font-size: 14.5px;
    line-height: 1.45;
  }

  .gazette-cover-number {
    right: 24px;
    bottom: 20px;
    font-size: 42px;
  }
}

@media (max-width: 700px) {
.gazette-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gazette-card{
    max-width: 260px;
    width:100%;
  }

  .gazette-cover-title {
    top: 18px;
    left: 18px;
    right: 18px;
    font-size: 20px;
  }

  .gazette-cover-subtitle {
    top: 68px;
    left: 18px;
    width: 120px;
    font-size: 11.5px;
    line-height: 1.4;
  }

  .gazette-cover-number {
    right: 16px;
    bottom: 14px;
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .gazette-subtitle br {
    display: none;
  }

  .gazette-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }

  .gazette-card {
    width: 100%;
    max-width: 320px;
  }

  .gazette-cover {
    aspect-ratio: 3 / 4.5;
  }

  .gazette-cover-title {
    top: 30px;
    left: 34px;
    right: 34px;
    font-size: 34px;
  }

  .gazette-cover-subtitle {
    top: 105px;
    left: 34px;
    width: 185px;
    font-size: 15px;
    line-height: 1.5;
  }

  .gazette-cover-number {
    right: 28px;
    bottom: 22px;
    font-size: 46px;
  }

  .gazette-grid:hover .gazette-card {
    filter: none;
  }

  .gazette-grid .gazette-card:hover {
    transform: translateY(-4px);
  }

  .gazette-more {
    margin: 22px 0 6px;
  }
}

@media (max-width: 500px) {
  .gazette-subtitle {
    max-width: 30ch;
  }
}
/* 400 */
@media (max-width: 400px) {
  .gazette-grid {
    gap: 18px;
    padding: 8px 10px;
  }

  .gazette-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .gazette-cover-title {
    top: 26px;
    left: 28px;
    right: 28px;
    font-size: 30px;
  }

  .gazette-cover-subtitle {
    top: 96px;
    left: 28px;
    width: 165px;
    font-size: 14.5px;
  }

  .gazette-cover-number {
    right: 24px;
    bottom: 20px;
    font-size: 42px;
  }

  .section-text {
    margin: 0 auto 10px;
  }
}

/* 380 */
@media (max-width: 380px) {
  .gazette-grid {
    gap: 18px;
    padding: 8px 10px;
  }

  .gazette-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .gazette-cover-title {
    top: 24px;
    left: 24px;
    right: 24px;
    font-size: 27px;
  }

  .gazette-cover-subtitle {
    top: 86px;
    left: 24px;
    width: 150px;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .gazette-cover-number {
    right: 22px;
    bottom: 18px;
    font-size: 38px;
  }
}

/* =========================
   GAZETTE COVER - 1100px
   ========================= */

@media (max-width: 1100px) {
  .gazette-cover-decoded img {
    object-position: center 80%;
  }

  .gazette-kicker {
    top: 22px;
    left: 28px;
    right: 28px;
    font-size: 11px;
  }

  .gazette-cover-title {
    top: 40px;
    left: 28px;
    right: 28px;
    font-size: 30px;
  }

  .gazette-cover-subtitle {
    top: 108px;
    left: 28px;
    width: 170px;
    font-size: 15px;
  }

}


/* =========================
   GAZETTE COVER - 900px
   ========================= */

@media (max-width: 900px) {

  .gazette-kicker {
    top: 26px;
    left: 24px;
    right: 24px;
    font-size: 10px;
    letter-spacing: .11em;
  }

  .gazette-cover-title {
    top: 46px;
    left: 24px;
    right: 24px;
    font-size: 27px;
  }

  .gazette-cover-subtitle {
    top: 108px;
    left: 24px;
    width: 155px;
    font-size: 14px;
    line-height: 1.45;
  }

}


/* =========================
   GAZETTE COVER - 700px
   ========================= */

@media (max-width: 700px) {

  .gazette-kicker {
    top: 18px;
    left: 22px;
    right: 22px;
  }

  .gazette-cover-title {
    top: 36px;
    left: 22px;
    right: 22px;
    font-size: 25px;
  }

  .gazette-cover-subtitle {
    top: 90px;
    left: 22px;
    width: 145px;
    font-size: 13px;
  }

}


/* =========================
   GAZETTE COVER - 600px
   ========================= */
@media (max-width: 700px) {
    .gazette .section-panel {
        padding: 36px 50px;
    }
  }

@media (max-width: 600px) {
  .gazette .section-panel {
        padding: 28px;
    }

  .gazette-kicker {
    top: 24px;
    left: 20px;
    right: 20px;

    font-size: 10px;
    letter-spacing: .10em;
  }

  .gazette-cover-title {
    top: 44px;
    left: 20px;
    right: 20px;

    font-size: 24px;
    line-height: 1.05;
  }

  .gazette-cover-subtitle {
    top: 100px;
    left: 20px;

    width: 132px;

    font-size: 14px;
    line-height: 1.4;
  }

}

@media (max-width: 500px) {
    .gazette-kicker {
    top: 22px;
    left: 20px;
    right: 20px;

    font-size: 10px;
    letter-spacing: .10em;
  }

  .gazette-cover-title {
    top: 40px;
    left: 20px;
    right: 20px;

    font-size: 24px;
    line-height: 1.15;
  }

  .gazette-cover-subtitle {
    top: 96px;
    left: 20px;

    width: 132px;

    font-size: 13px;
    line-height: 1.4;
  }
}



/* =========================
   GAZETTE COVER - 400px
   ========================= */

@media (max-width: 400px) {

  .gazette-kicker {
    top: 20px;
    left: 20px;
    right: 16px;

    font-size: 9px;
    letter-spacing: .08em;
  }

  .gazette-cover-title {
    top: 38px;
    left: 20px;
    right: 16px;

    font-size: 23px;
  }

  .gazette-cover-subtitle {
    top: 96px;
    left: 20px;

    width: 128px;

    font-size: 13px;
    line-height: 1.45;
  }

}

/* =========================
   SUCCESS STORIES
   ========================= */

.stories-subtitle strong {
  color: #090909;
}

/* grid */
.story-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* card */
.story-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;

  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.08);

  background: rgba(255, 255, 255, 0.72);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1);

  transition:
    transform 520ms ease,
    box-shadow 520ms ease,
    border-color 520ms ease,
    background 520ms ease;
}

.story-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

.story-card h3 {
  margin: 12px 0 10px;

  font-size: 18px;
  line-height: 1.25;
  text-align: center;
  color: #111;
}

/* avatar */
.avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto;

  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.1);

  background: rgba(246, 234, 218, 0.25);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

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

.avatar-letter {
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(246, 234, 218, 0.55);
  color: #111;

  font-size: 22px;
  font-weight: 900;
}

/* text */
.story-text {
  margin: 0 0 14px;

  font-size: 15px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.72);
}

.story-divider {
  height: 1px;
  margin: auto 0 12px;

  background: rgba(17, 17, 17, 0.1);
}

.author {
  margin: 0;

  font-size: 14px;
  line-height: 1.4;
  color: rgba(17, 17, 17, 0.6);
}


/* =========================
   STORIES RESPONSIVE
   ========================= */

@media (max-width: 980px) {
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .story-card {
    padding: 20px;
  }
}

@media (max-width: 600px) {

  .stories-subtitle br {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .story-card {
    width: 100%;
    max-width: 360px;
    padding: 18px;
    border-radius: 18px;
  }

  .avatar {
    width: 76px;
    height: 76px;
  }

  .story-card h3 {
    margin: 10px 0 8px;
    font-size: 16px;
  }

  .story-text {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .story-divider {
    margin-bottom: 10px;
  }

  .stories-footer {
    margin-top: 14px;
  }

  .see-more {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 380px) {
  .stories-panel {
    padding: 18px 18px 14px;
  }

  .story-card {
    max-width: 330px;
    padding: 16px;
  }
  
}



/* Running line */

/* .approach{

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;

  background: #191818;
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);

  width: 100%;
  margin: 0;
  overflow-x: hidden;

  position: relative;
}

.approach-fixed{
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #F6EADA;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.9;
}

.approach-marquee{
  position: relative;
  overflow: hidden;
}

.approach-track{
  display: flex;
  align-items: center;
  gap: 69px;
  width: max-content;
  will-change: transform;
}

.approach-item{
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: #F6EADA;
  text-align: center;
  line-height: 1;
  flex: 0 0 auto;
}

.approach-item > span{
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.approach-marquee::before,
.approach-marquee::after{
  content:"";
  position:absolute;
  top:0;
  width: 70px;
  height:100%;
  pointer-events:none;
  z-index:2;
}

.approach-marquee::before{
  left:0;
  background: linear-gradient(to right, #191818 0%, rgba(217,201,179,0) 100%);
}

.approach-marquee::after{
  right:0;
  background: linear-gradient(to left, #191818 0%, rgba(217,201,179,0) 100%);
} */



@media (max-width: 600px) {
  .hero-media {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .cube-wrap {
    width: min(88vw, 390px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    transform: none;
    left: auto;
    right: auto;
    transform: translateX(-5px);
  }

  .hero-video {
    object-fit: cover;
  }
}

/* =========================
   FOOTER
========================= */

.footer {
  position: relative;
  z-index: 1;
  overflow: hidden;

  width: 100%;
  padding: 40px 0 24px;

  background: #191818;
  color: #ffffff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 34px;
}

/* =========================
   GRID
========================= */

.footer-grid {
  position: relative;

  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 74px;

  align-items: start;
}

/* vertical dividers */

.footer-grid::before,
.footer-grid::after {
  content: "";

  position: absolute;
  top: 12px;
  bottom: 12px;

  width: 1px;

  pointer-events: none;

  background: linear-gradient(
    to bottom,
    transparent,
    rgba(246, 234, 218, 0.2),
    rgba(246, 234, 218, 0.12),
    transparent
  );
}

.footer-grid::before {
  left: calc((100% - 160px) * 1.1 / 3.25 + 75px);
}

.footer-grid::after {
  left: calc((100% - 160px) * 2.35 / 3.25 + 75px);
}

/* =========================
   LOGO
========================= */

.footer-logo-wrapper {
  padding-left: 28px;
  text-align: center;
}

.footer-tagline {
  max-width: 260px;
  margin: 18px auto 0;

  color: rgba(246, 234, 218, 0.72);

  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* =========================
   COLUMNS
========================= */

.footer-col {
  min-width: 0;
}

.footer-col ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 14px;

  max-width: 100%;

  color: #f6eada;

  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;

  overflow-wrap: anywhere;

  transition: opacity 160ms ease;
}

.footer-col a:hover {
  opacity: 0.78;
}

/* icons */

.footer-col svg {
  width: 22px;
  height: 22px;

  flex-shrink: 0;

  color: #f6eada;
  opacity: 0.82;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.footer-col a:hover svg {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-col--main {
  padding-left: 20px;
}

.footer-col--legal {
  padding-left: 30px;
}

/* contacts */

.footer-contacts li {
  color: #f6eada;

  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   SOCIALS
========================= */

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 14px;

  margin: 20px auto 0;
}

.social-link {
  width: 26px;
  height: 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: #191818;
  border: 1px solid #f6eada;

  color: #f6eada;

  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.social-link:hover {
  transform: translateY(-1px);

  background: rgba(246, 234, 218, 0.12);

  box-shadow:
    0 0 14px rgba(246, 234, 218, 0.14);
}

.social-link svg {
  width: 15px;
  height: 15px;

  fill: currentColor;
}

/* =========================
   BOTTOM
========================= */

.footer-bottom {
  margin-top: 24px;
  padding-top: 22px;

  border-top: 1px solid rgba(246, 234, 218, 0.08);

  text-align: center;

  color: #eae3d9;
  opacity: 0.65;

  font-size: 12px;
}

.footer-col-wrap {
  display: contents;
}

/* =========================
   1100
========================= */

@media (max-width: 1100px) {

  .footer-grid {
    grid-template-columns: 1fr 1.15fr 0.8fr;
    gap: 56px;
  }

  .footer-grid::before {
    left: calc((100% - 112px) * 1 / 3.05 + 28px);
  }

  .footer-grid::after {
    left: calc((100% - 112px) * 2.15 / 3.05 + 84px);
  }

  .footer-logo-wrapper {
    padding-left: 12px;
  }
}

@media (max-width: 1150px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 0.7fr;
    gap: 34px;
  }

  .footer-grid::before {
    left: calc((100% - 112px) * 1 / 3.05 + 80px);
  }

  .footer-col--legal {
    padding-left: 0;
  }

  .footer-socials {
    gap: 10px;
  }
}

/* =========================
   900
========================= */

@media (max-width: 900px) {

  .footer {
    padding: 34px 0 22px;
  }

  .footer-inner {
    padding: 0 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
  }

  .footer-grid::before,
  .footer-grid::after {
    display: none;
  }

  .footer-logo-wrapper {
    grid-column: 1 / -1;

    padding-left: 0;
  }

  .footer-tagline {
    max-width: 460px;
  }

  .footer-socials {
    margin-top: 24px;
    /* padding-top: 22px; */
  }

  .footer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 880px;
  margin: 0 auto;

  gap: 32px 44px;
  padding-left: 72px;
}


.footer-grid > .footer-col:nth-child(3) {
  padding-left: 80px;
}
}

@media (min-width: 700px) and (max-width: 900px) {
  .footer-col--main,
  .footer-col--legal {
    transform: translateX(35px);
  }
}

@media (max-width: 750px) {
    .footer-grid {
        gap: 32px 24px;
        padding-left: 42px;
    }
}

@media (max-width: 700px) {
    .footer-grid {
        gap: 32px 26px;
        padding-left: 64px;
    }
}

@media (max-width: 900px) and (min-width: 651px) {
  .footer-tagline br {
    display: none;
  }
}


/* =========================
   600
========================= */

@media (max-width: 650px) {

  .footer {
    padding: 26px 0 18px;
  }

  .footer-inner {
    max-width: 100%;
    padding: 0 14px;
  }

 .footer-grid {
  grid-template-columns: 1fr;
  gap: 22px;
  justify-items: center;
  text-align: left;
  padding-left: 0;
}

.footer-col {
  width: auto;
}

.footer-col ul {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}

.footer-col a {
  justify-content: flex-start;
  font-size: 14px;
}

.footer-col li {
    margin-bottom: 10px;
  }

 .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    width: 100%;
    margin-left: 46px; /* штовхає обидві колонки правіше */

    gap: 10px; /* зменшує відстань між колонками */
  }

  .footer-col {
    width: 320px;
  }

  .footer-col ul {
    width: 100%;
  }

  .footer-socials {
    max-width: 300px;

    gap: 10px;

    /* padding-top: 18px; */
  }

  .footer-bottom {
    font-size: 11px;
  }

  .footer-col--main,
  .footer-col--legal {
    padding-left: 0;
  }

}

/* =========================
   400
========================= */

@media (max-width: 400px) {

  .footer-inner {
    padding: 0 12px;
  }

  .footer-col a {
    gap: 10px;
  }

  .footer-col svg {
    width: 20px;
    height: 20px;
  }

  .social-link {
    width: 25px;
    height: 25px;
  }

  .social-link svg {
    width: 14px;
    height: 14px;
  }
}

/* =========================
   380
========================= */

@media (max-width: 380px) {

  .footer {
    padding: 24px 0 16px;
  }

  .footer-inner {
    padding: 0 10px;
  }

  .footer-col a {
    font-size: 13.5px;
  }

  .footer-contacts li {
    font-size: 13px;
  }

  .footer-socials {
    gap: 8px;
  }

  .social-link {
    width: 24px;
    height: 24px;
  }
}

/* 3920 lines of code */