:root {
  --yy-black: #0c0c0c;
  --yy-white: #ffffff;
  --yy-ivory: #f1ece9;
  --yy-gold: #b58e5e;
  --yy-text: #161616;
  --yy-border: rgba(0, 0, 0, .18);
  --yy-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --yy-container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--yy-text);
  background: var(--yy-ivory);
  font-family: 'Jost', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

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

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

.container {
  width: min(calc(100% - 32px), var(--yy-container));
  margin: 0 auto;
}

.site-main>.entry-content,
.page-content,
.entry-content {
  width: min(calc(100% - 32px), var(--yy-container));
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
.yy-display,
.top-bar__text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .02em;
  line-height: 1;
}

.top-bar {
  background: var(--yy-white);
  color: var(--yy-black);
  border-bottom: 1px solid var(--yy-border);
}

.top-bar__inner {
  display: grid;
  grid-template-columns: 72px 1fr 1fr 1fr 72px;
  align-items: center;
  gap: 16px;
  min-height: 60px;
}

.top-bar__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  justify-self: center;
  border: 1px solid var(--yy-border);
  padding: 6px;
  background: #fff;
}

.top-bar__text {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--yy-black);
  color: var(--yy-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
}

.site-branding img {
  max-height: 28px;
  width: auto;
}

.site-branding .site-title {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .06em;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.primary-nav .menu {
  display: flex;
  list-style: none;
  gap: 12px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.primary-nav a {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: auto;
  background: transparent;
  border: 0;
}

.lang-switcher img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 0;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  min-height: min(78vh, 980px);
  position: relative;
  background-size: cover;
  background-position: center;
  display: none;
}

.hero-slide.is-active {
  display: flex;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .12), rgba(0, 0, 0, .18));
}

.hero-slide__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 1200px);
  margin: auto;
  padding: 80px 0 72px;
  text-align: center;
  color: #fff;
}

.hero-card {
  max-width: 760px;
  margin: 140px auto 0;
  padding: 36px 42px 34px;
  background: rgba(20, 20, 24, 0.58);
  border: 2px solid rgba(40, 40, 40, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .10) inset;
}

.hero-title {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.hero-subtitle {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 600;
}

.hero-subtitle2 {
  margin: 14px 0 0;
}

.hero-hooks,
.hero-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.hero-hooks li,
.hero-lines li {
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.35;
}

.hero-wysiwyg {
  margin-top: 12px;
}

.hero-wysiwyg p:last-child {
  margin-bottom: 0;
}

.btn,
.wp-block-button__link,
button,
input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid var(--yy-black);
  background: var(--yy-black);
  color: #fff;
  padding: 13px 28px;
  min-width: 190px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: .2s ease;
}

.btn:hover,
.wp-block-button__link:hover,
button:hover,
input[type='submit']:hover {
  transform: translateY(-1px);
  opacity: .94;
}

.hero-actions {
  margin-top: 20px;
}

.hero-dot {
  width: 80px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.is-active {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
}

.hero-dot:hover {
  border-color: #fff;
  opacity: 0.8;
}

main.site-main {
  padding-bottom: 40px;
}

.section-title,
.entry-content h2,
.entry-content h3 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin: 0 0 18px;
  text-transform: uppercase;
}

.entry-content {
  padding-top: 28px;
}

.entry-content p {
  margin-top: 0;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 22px 0 36px;
}

.cards-3 .wp-block-group,
.feature-card {
  background: transparent;
}

.feature-card__image {
  aspect-ratio: 4 / 3.5;
  overflow: hidden;
  margin-bottom: 10px;
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__title {
  font-size: 2rem;
  margin: 0 0 8px;
}

.feature-card__text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
}

.split-section {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  gap: 28px;
  align-items: center;
  margin: 24px 0 48px;
}

.split-section--reverse {
  grid-template-columns: 1.25fr .95fr;
}

.split-section__media img,
.split-section__media figure,
.split-section__media .wp-block-image {
  width: 100%;
}

.split-section__panel {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
}

.split-section__panel strong {
  font-family: 'Jost', Arial, sans-serif;
  font-size: 1.15rem;
}

.site-footer {
  border-top: 1px solid var(--yy-border);
  padding: 34px 0 18px;
  background: transparent;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.widget-title,
.footer-static__title {
  margin: 0 0 14px;
  font-size: 2rem;
  text-transform: uppercase;
}

.site-footer input[type='email'],
.site-footer input[type='text'] {
  width: min(100%, 320px);
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, .4);
  background: transparent;
  padding: 12px 18px;
  font-size: 1rem;
}

.footer-legal {
  text-align: right;
  margin-top: 24px;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--yy-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  min-width: auto;
  padding: 0;
  font-size: 1.8rem;
}

@media (max-width: 1100px) {
  .top-bar__inner {
    grid-template-columns: 56px 1fr 1fr 1fr 56px;
    gap: 10px;
  }

  .primary-nav .menu {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .top-bar__inner {
    grid-template-columns: 48px 1fr 1fr 1fr 48px;
    min-height: 54px;
  }

  .site-header__inner {
    min-height: 64px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--yy-black);
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards-3,
  .split-section,
  .split-section--reverse,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    min-height: 72vh;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .top-bar__inner {
    grid-template-columns: 42px 1fr 1fr 1fr 42px;
    min-height: 48px;
    width: min(calc(100% - 12px), var(--yy-container));
  }

  .top-bar__text {
    font-size: 1.15rem;
  }

  .top-bar__logo {
    width: 36px;
    height: 36px;
    padding: 4px;
  }

  .site-header__inner {
    gap: 12px;
  }

  .site-branding img {
    max-height: 34px;
  }

  .hero-slide {
    min-height: 68vh;
    background-position: center center;
  }

  .hero-slide__inner {
    padding: 24px 0 52px;
  }

  .hero-card {
    padding: 18px 16px 18px;
  }

  .hero-brand__logo {
    width: 50px;
  }

  .hero-brand__name {
    font-size: 1.45rem;
  }

  .hero-brand__lines {
    font-size: .8rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-hooks li,
  .hero-lines li {
    font-size: 1rem;
  }

  .btn,
  .wp-block-button__link,
  button,
  input[type='submit'] {
    padding: 11px 20px;
    min-width: 160px;
    font-size: .85rem;
  }

  .section-title,
  .entry-content h2,
  .entry-content h3 {
    font-size: 2.1rem;
  }

  .feature-card__title {
    font-size: 1.7rem;
  }

  .feature-card__text,
  .split-section__panel {
    font-size: 1.15rem;
  }

  .footer-legal {
    text-align: left;
  }
}