/* === TOKENS === */
:root{
  --orange:#F3674C;
  --orange-deep:#E04A30;
  --tan:#CF9D6F;
  --white:#FFFFFF;
  --ink:#0E0E0E;
  --ink-2:#2A2A2A;
  --muted:#5A5A5A;
  --soft:#F6F1EC;

  --font: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1440px;
  --pad-x: clamp(24px, 5vw, 80px);

  --radius: 14px;

  --ease-out: cubic-bezier(.22,.61,.36,1);
}

/* === RESET === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;scroll-behavior:smooth}
body{font-family:var(--font);font-weight:500;color:var(--ink);background:var(--white);line-height:1.55;font-size:16px}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}

/* === LAYOUT === */
.header__inner,
.hero__inner,
.about__inner{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* === HEADER === */
.header{
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: 84px;
  display: flex;
  align-items: center;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), backdrop-filter .35s var(--ease-out);
}
.header__inner{
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
}
.header__logo{display:flex;align-items:center}
.header__logo img{
  height: 36px;
  width: auto;
  /* SVG fills are white — keep white over orange hero */
  transition: filter .35s var(--ease-out);
}
.header__nav{
  display: flex;
  gap: 36px;
  justify-content: center;
}
.header__nav a{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255,255,255,.85);
  position: relative;
  padding: 6px 2px;
  transition: color .2s var(--ease-out);
}
.header__nav a::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:-2px;
  height:2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease-out);
}
.header__nav a:hover{color:#fff}
.header__nav a:hover::after{transform:scaleX(1)}

.header__cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  transition: transform .2s var(--ease-out), background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.header__cta:hover{transform: translateY(-1px); background: var(--ink); color:#fff}

/* Header — scrolled state (white surface) */
.header.is-scrolled{
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(14,14,14,.06);
}
.header.is-scrolled .header__logo img{
  /* invert white SVG → near-black */
  filter: brightness(0) saturate(100%);
}
.header.is-scrolled .header__nav a{color: var(--ink-2)}
.header.is-scrolled .header__nav a:hover{color: var(--orange)}
.header.is-scrolled .header__cta{
  background: var(--orange);
  color: #fff;
}
.header.is-scrolled .header__cta:hover{background: var(--ink); color:#fff}

/* === HERO === */
.hero{
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: var(--orange);
  color: #fff;
  padding-top: 84px; /* under header */
  padding-bottom: clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.hero__texture{
  position:absolute; inset:0;
  background-image: url('assets/texture.jpg');
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: .55;
  z-index: -2;
  pointer-events:none;
}
.hero::before{
  /* subtle vignette to push content forward */
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(120% 80% at 70% 40%, rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 100%);
  z-index:-1;
  pointer-events:none;
}
.hero__pattern{
  position:absolute; inset:0;
  z-index:-1;
  pointer-events:none;
}
.hero__pattern img{
  position:absolute;
  opacity:.28;
  filter: drop-shadow(0 0 .5px rgba(255,255,255,.4));
}

.hero__inner{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-block: clamp(24px, 4vw, 48px);
}

.hero__visual{
  position: relative;
  align-self: center;
  justify-self: start;
  width: 100%;
  /* keep left edge anchored; allow growth to the right without clipping rotated edges */
  padding: 4% 0;
  overflow: visible;
}
.hero__glow{
  position: absolute;
  /* anchored around the rupor — wider on the right where the megaphone now extends */
  inset: -25% -35% -25% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 50% at 45% 50%,
      rgba(255,255,255,.55) 0%,
      rgba(255,235,222,.35) 25%,
      rgba(255,210,190,.16) 48%,
      rgba(243,103,76,0) 75%);
  filter: blur(48px);
  mix-blend-mode: screen;
  opacity: .9;
}
.hero__rupor{
  position: relative;
  z-index: 1;
  display: block;
  /* grows to the right while staying pinned at the left edge */
  width: 135%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.22));
  transform: rotate(-6deg);
  transform-origin: left center;
  animation: rupor-in .9s var(--ease-out) both;
}
@keyframes rupor-in{
  from{ opacity:0; transform: rotate(-12deg) translateX(-20px) scale(.96); }
  to  { opacity:1; transform: rotate(-6deg) translateX(0) scale(1); }
}

.hero__content{
  max-width: 100%;
  min-width: 0;
}
.hero__title{
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.025em;
  /* fits "СОЦИАЛЬНЫЙ" (10 chars ExtraBold) within right column @1440 */
  font-size: clamp(48px, 6.6vw, 96px);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  margin-block: 8px 28px;
}
.hero__title-line{
  display: block;
  white-space: nowrap;
}
.hero__title-line--with-sub{
  display: flex;
  align-items: last baseline;     /* last line of sub aligns with РУПОР baseline */
  gap: clamp(14px, 1.6vw, 24px);
}
.hero__title-word{
  display: inline-block;
}
.hero__title-sub{
  /* small lockup next to "РУПОР", as in the brand mark */
  display: inline-block;
  font-weight: 500;
  font-size: clamp(12px, .95vw, 15px);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,.95);
  max-width: 22ch;
}

.hero__bullets{
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__bullets li{
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255,255,255,.95);
}
.hero__bullets li::before{
  content:'';
  position:absolute;
  left: 0;
  top: .65em;
  width: 14px;
  height: 2px;
  background: #fff;
}

.hero__dates{
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.28);
}
.hero__dates-label{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: lowercase;
  opacity: .8;
  margin-bottom: 8px;
}
.hero__dates-value{
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.hero__dates-place{
  font-size: 15px;
  opacity: .9;
}

.hero__cta-row{
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .2s var(--ease-out), background-color .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out);
  white-space: nowrap;
}
.btn__arrow{
  display:inline-block;
  transition: transform .25s var(--ease-out);
  font-weight: 500;
}
.btn:hover .btn__arrow{ transform: translateX(4px); }
.btn--solid{
  background:#fff;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
.btn--solid:hover{
  background: var(--ink);
  color:#fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.24);
}
.hero__note{
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}

/* === ABOUT === */
.about{
  background: var(--white);
  color: var(--ink);
  padding-block: clamp(56px, 6vw, 96px);
  position: relative;
}
.about__inner{
  display: block;
}

/* eyebrow: long rule across full width with the label flush right */
.about__rule{
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  margin-bottom: clamp(40px, 4.6vw, 64px);
}
.about__rule-line{
  flex: 1;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-out);
}
.about__rule-label{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s var(--ease-out) .55s, transform .5s var(--ease-out) .55s;
}
.about__rule.is-revealed .about__rule-line{
  transform: scaleX(1);
}
.about__rule.is-revealed .about__rule-label{
  opacity: 1;
  transform: none;
}

.about__grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px) clamp(24px, 3vw, 48px);
  align-items: start;
}
.about__title{
  grid-column: 1 / -1;            /* full 12 cols */
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 clamp(0px, .4vw, 4px);
}
.about__body{
  /* two equal text columns under the title */
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
}
.about__body p{ margin: 0; }

/* eyebrow class is now reused only inside .about__rule context — keep the
   token-style one for any other section in the future */
.eyebrow{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* === RESPONSIVE (минимальные правки чтобы не ломалось до мобайла, который сделаем позже) === */
@media (max-width: 1024px){
  .hero__inner{
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 64px;
  }
  .hero__rupor{
    width: 100%;
    transform: rotate(-4deg);
  }
  .about__grid{
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  html{ scroll-behavior: auto; }
}
