:root {
  --navy: #1f234f;
  --navy-deep: #111532;
  --red: #f31d2c;
  --yellow: #ffdf08;
  --green: #2daf55;
  --ink: #17191f;
  --muted: #626777;
  --paper: #ffffff;
  --soft: #f3f5f8;
  --line: #dfe3ea;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(17, 21, 50, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 999;
  background: var(--navy); color: white; padding: .7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2.4rem), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 .75rem; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--red); }
h1, h2, h3 { margin: 0; color: var(--navy-deep); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.75; max-width: 720px; }
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-deep); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading > div { max-width: 760px; }
.section-heading .lead { margin-top: 1rem; }

.topbar { background: var(--navy-deep); color: rgba(255,255,255,.74); font-size: .78rem; letter-spacing: .03em; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar strong { color: white; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(31,35,79,.1); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; min-width: 0; }
.brand img { width: 54px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.06; }
.brand-copy strong { font-size: 1.4rem; letter-spacing: .04em; color: var(--navy-deep); }
.brand-copy span { color: var(--muted); font-size: .67rem; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 700; padding: .7rem .85rem; border-radius: 999px; color: #424757; }
.nav a:hover, .nav a.active { color: var(--navy); background: #eef0f8; }
.nav .nav-cta { color: white; background: var(--navy); margin-left: .4rem; padding-inline: 1.15rem; }
.nav .nav-cta:hover, .nav .nav-cta.active { color: white; background: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #eef0f8; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.3rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; font-weight: 800; transition: .2s ease; cursor: pointer; }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: #d80f20; transform: translateY(-2px); }
.button-secondary { background: white; color: var(--navy); border-color: var(--line); }
.button-secondary:hover { border-color: var(--navy); transform: translateY(-2px); }
.button-light { background: white; color: var(--navy-deep); }
.text-link { display: inline-flex; margin-top: 1rem; color: var(--navy); font-weight: 800; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero { position: relative; overflow: hidden; min-height: 680px; display: grid; align-items: center; padding: clamp(5rem, 9vw, 8rem) 0; color: white; background: var(--navy-deep) url('assets/hero-banner.webp') center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,29,.96) 0%, rgba(12,16,42,.86) 38%, rgba(12,16,42,.2) 72%, rgba(12,16,42,.08) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 25%, var(--yellow) 25% 50%, var(--green) 50% 75%, var(--navy) 75%); }
.hero-grid { position: relative; z-index: 1; display: block; }
.hero-grid > div:first-child { max-width: 730px; }
.hero h1 { color: white; }
.hero h1 span { display: block; color: var(--red); }
.hero .lead { margin-top: 1.3rem; max-width: 650px; color: rgba(255,255,255,.78); }
.hero-title-small { display: block; margin-top: 1.1rem; max-width: 670px; color: white; font-size: clamp(.88rem, 1.3vw, 1.02rem); font-weight: 800; line-height: 1.55; letter-spacing: .02em; text-transform: uppercase; }
.hero-mark { position: relative; min-height: 450px; display: grid; place-items: center; }
.hero-mark::before, .hero-mark::after { content: ""; position: absolute; border-radius: 50%; }
.hero-mark::before { inset: 8%; border: 1px solid rgba(31,35,79,.14); }
.hero-mark::after { width: 78%; height: 78%; background: linear-gradient(145deg, rgba(31,35,79,.06), rgba(243,29,44,.04)); }
.hero-mark img { position: relative; z-index: 2; width: min(82%, 380px); filter: drop-shadow(0 28px 30px rgba(17,21,50,.18)); }
.registration { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem; padding: .55rem .9rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: rgba(255,255,255,.78); font-size: .82rem; backdrop-filter: blur(8px); }
.registration::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.image-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; min-height: 520px; }
.image-story img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.image-story-side { display: grid; grid-template-rows: 1fr auto; gap: 1rem; }
.image-caption { padding: 1.5rem; border-radius: 20px; background: var(--navy-deep); color: white; }
.image-caption .eyebrow { color: var(--yellow); }
.image-caption h3 { color: white; font-size: clamp(1.45rem, 3vw, 2.3rem); }

.value-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item { padding: 1.5rem; border-right: 1px solid var(--line); }
.value-item:last-child { border-right: 0; }
.value-item span { display: block; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.value-item strong { display: block; margin-top: .3rem; color: var(--navy-deep); font-size: 1.04rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 1px 0 rgba(17,21,50,.02); }
.card h3 { margin-top: 1.2rem; }
.card p { margin-top: .8rem; color: var(--muted); }
.icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #eef0f8; color: var(--navy); font-weight: 900; }
.card:nth-child(2) .icon { background: #fff7cc; color: #6b5a00; }
.card:nth-child(3) .icon { background: #e9f7ed; color: #187c37; }
.card:nth-child(4) .icon { background: #ffecef; color: #b31222; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.about-logo { position: sticky; top: 130px; background: #f7f8fb; border-radius: 32px; padding: clamp(2rem, 5vw, 4rem); min-height: 420px; display: grid; place-items: center; overflow: hidden; }
.about-logo::after { content: "1975"; position: absolute; right: -8px; bottom: -45px; color: rgba(31,35,79,.055); font-size: 9rem; font-weight: 900; letter-spacing: -.08em; }
.about-logo img { width: 300px; position: relative; z-index: 1; }
.prose h2 { margin-bottom: 1.5rem; }
.prose h3 { margin-top: 2.5rem; margin-bottom: .8rem; }
.prose p + p { margin-top: 1rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }

.page-hero { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 7rem) 0; background: var(--navy-deep); color: white; }
.page-hero.has-image { min-height: 480px; display: grid; align-items: end; background-size: cover; background-position: center; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,29,.94), rgba(7,10,29,.56) 58%, rgba(7,10,29,.18)); }
.page-hero.has-image .container { position: relative; z-index: 1; }
.page-hero.members-hero { background-image: url('assets/member-network.webp'); background-position: center 38%; }
.page-hero.about-hero, .page-hero.news-hero { background-image: url('assets/textile-detail.webp'); }
.page-hero.contact-hero { background-image: url('assets/hero-banner.webp'); }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; bottom: -260px; border-radius: 50%; border: 80px solid rgba(255,223,8,.24); }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { color: white; font-size: clamp(2.7rem, 6vw, 5.2rem); }
.page-hero .lead { margin-top: 1.2rem; color: rgba(255,255,255,.72); }
.breadcrumb { margin-bottom: 1.4rem; color: rgba(255,255,255,.62); font-size: .86rem; }
.breadcrumb a { color: white; text-underline-offset: 4px; }

.timeline { display: grid; gap: 1rem; margin-top: 2.5rem; }
.timeline-item { display: grid; grid-template-columns: 95px 1fr; gap: 1rem; align-items: start; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.timeline-item strong { color: var(--red); font-size: 1.35rem; }
.timeline-item p { color: var(--muted); }

.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.member-card { display: flex; gap: 1.2rem; align-items: flex-start; background: white; border: 1px solid var(--line); padding: 1.6rem; border-radius: 18px; }
.member-card .number { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: white; font-weight: 900; }
.member-card p { margin-top: .5rem; color: var(--muted); }
.benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.benefit { padding: 2rem; background: white; }
.benefit h3 { margin-bottom: .65rem; }
.benefit p { color: var(--muted); }

.news-feature { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--navy-deep); border-radius: 28px; overflow: hidden; color: white; }
.news-feature-copy { padding: clamp(2rem, 5vw, 4rem); }
.news-feature h2 { color: white; font-size: clamp(2rem, 4vw, 3.3rem); }
.news-feature p { color: rgba(255,255,255,.7); margin-top: 1rem; }
.news-art { min-height: 360px; position: relative; background: linear-gradient(135deg, var(--red), #ff6370); overflow: hidden; }
.news-art { background: url('assets/textile-detail.webp') center/cover no-repeat; }
.news-list { display: grid; gap: 1rem; }
.news-item { display: grid; grid-template-columns: 145px 1fr; gap: 1.4rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.news-item time { color: var(--red); font-weight: 800; font-size: .88rem; }
.news-item p { margin-top: .45rem; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 2rem; align-items: start; }
.contact-panel { background: var(--navy-deep); color: white; padding: clamp(2rem, 4vw, 3rem); border-radius: 24px; }
.contact-panel h2, .contact-panel h3 { color: white; }
.contact-panel p { color: rgba(255,255,255,.72); margin-top: .8rem; }
.contact-detail { padding-top: 1.4rem; margin-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.15); }
.contact-detail span { display: block; color: var(--yellow); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy-deep); font-size: .86rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfd4dd; border-radius: 10px; padding: .8rem .9rem; color: var(--ink); background: white; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.form-status { grid-column: 1 / -1; display: none; padding: .8rem 1rem; border-radius: 10px; background: #eaf7ee; color: #176934; }
.form-status.show { display: block; }

.cta-band { position: relative; overflow: hidden; background: var(--navy); border-radius: 28px; padding: clamp(2.2rem, 6vw, 4.5rem); color: white; }
.cta-band::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -130px; border: 55px solid rgba(255,223,8,.9); border-radius: 50%; }
.cta-band h2 { color: white; max-width: 750px; }
.cta-band p { margin-top: 1rem; max-width: 700px; color: rgba(255,255,255,.72); }
.cta-band .actions { position: relative; z-index: 1; }

.site-footer { background: #0a0d20; color: rgba(255,255,255,.7); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 64px; }
.footer-brand strong { color: white; font-size: 1.45rem; letter-spacing: .04em; }
.footer-about { margin-top: 1.2rem; max-width: 470px; }
.footer-col h3 { color: white; margin-bottom: 1rem; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { display: block; color: rgba(255,255,255,.7); text-decoration: none; margin: .45rem 0; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 120px); overflow-y: auto; background: white; padding: 1.5rem; display: none; flex-direction: column; align-items: stretch; gap: .35rem; border-top: 1px solid var(--line); box-shadow: 0 24px 45px rgba(17,21,50,.12); }
  .nav.open { display: flex; }
  .nav a { padding: 1rem; font-size: 1.05rem; }
  .nav .nav-cta { margin: .5rem 0 0; text-align: center; }
  .about-grid, .contact-grid, .news-feature { grid-template-columns: 1fr; }
  .image-story { grid-template-columns: 1fr; min-height: 0; }
  .image-story > img { min-height: 380px; }
  .image-story-side img { min-height: 320px; }
  .about-logo { position: relative; top: auto; min-height: 340px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2) { border-right: 0; }
  .value-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .topbar-inner { min-height: 44px; justify-content: center; text-align: center; }
  .topbar-inner span:last-child { display: none; }
  .nav-wrap { min-height: 76px; }
  .nav { height: calc(100vh - 120px); }
  .brand img { width: 46px; height: 46px; }
  .brand-copy span { display: none; }
  .hero { min-height: 640px; padding-top: 4rem; background-position: 58% center; }
  .hero::before { background: linear-gradient(90deg, rgba(7,10,29,.96), rgba(7,10,29,.82) 70%, rgba(7,10,29,.5)); }
  .section-heading { display: block; }
  .section-heading .button { margin-top: 1.2rem; }
  .cards, .member-grid, .benefit-list, .contact-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .news-item { grid-template-columns: 1fr; gap: .25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .timeline-item { grid-template-columns: 70px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
