/* =========================================================
   International Fashion Alliance — styles
   Palette: warm ivory / charcoal / muted gold-bronze
   Type:    Cormorant Garamond (display serif) + Inter (sans)
   ========================================================= */

:root {
  /* Palette */
  --ivory:        #f5efe4;
  --ivory-2:      #ece4d3;
  --paper:        #faf6ec;
  --charcoal:     #1a1714;
  --ink:          #0f0d0a;
  --muted:        #6b6155;
  --rule:         rgba(26, 23, 20, 0.14);
  --gold:         #b08a4a;     /* muted bronze-gold */
  --gold-deep:    #8a6a36;
  --gold-soft:    rgba(176, 138, 74, 0.14);

  /* Type scale (informational defaults) */
  --text-xs:  clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm:  clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg:  clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --text-xl:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-2xl: clamp(2rem, 1.7rem + 2vw, 3rem);
  --text-hero: clamp(2.75rem, 2rem + 4.5vw, 5.25rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --section-pad: clamp(var(--space-16), 9vw, var(--space-32));

  /* Type families */
  --font-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

::selection { background: var(--gold-soft); color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: fixed; left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem 1rem; background: var(--ink); color: var(--paper); z-index: 100; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 236, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand-mark {
  width: 40px; height: 40px;
  object-fit: contain;
  filter: none;
}
.brand-mark.sm { width: 32px; height: 32px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-tag {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.primary-nav {
  display: flex;
  gap: clamp(1rem, 2vw, 1.65rem);
  align-items: center;
}
.primary-nav a {
  font-size: var(--text-sm);
  color: var(--charcoal);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
  transition: color .2s ease;
}
.primary-nav a:hover { color: var(--gold-deep); }
.primary-nav .nav-cta {
  border: 1px solid var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  transition: background .2s ease, color .2s ease;
}
.primary-nav .nav-cta:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 32px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 880px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .primary-nav.open {
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .primary-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule);
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav .nav-cta {
    margin-top: 0.6rem;
    text-align: center;
  }
  .nav-toggle { display: inline-flex; }
  .brand-tag { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(176,138,74,0.10), transparent 70%),
    radial-gradient(900px 400px at 5% 110%, rgba(176,138,74,0.06), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--ivory) 100%);
  overflow: hidden;
}
.hero-inner {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0;
  font-weight: 500;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  max-width: 18ch;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.hero-lede {
  font-size: var(--text-lg);
  max-width: 56ch;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  margin-top: 0.5rem;
}
.hero-lockup {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  opacity: 0.85;
}
.hero-lockup img {
  max-width: 540px;
  width: 100%;
}
.hero-rule {
  height: 1px;
  background: var(--rule);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.btn-ghost:hover { color: var(--gold-deep); }
.btn-light {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}
.btn-light:hover { background: var(--paper); }

/* ---------- SECTION DEFAULTS ---------- */
.section {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--rule);
}
.section:last-of-type { border-bottom: 0; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 var(--space-4);
  font-weight: 500;
}
.section-label.light { color: rgba(245,239,228,0.8); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  max-width: 22ch;
}
.section-sub {
  max-width: 60ch;
  color: var(--muted);
  font-size: var(--text-base);
  margin: 0;
}
.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 720px;
}

/* Two-column layout used in About + Sustainability */
.two-col {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.col-head { position: sticky; top: 100px; }
.col-body .lead {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.25em;
}

@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
  .col-head { position: static; }
}

/* ---------- ABOUT pillars ---------- */
.pillars {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}
.pillars li span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.pillars li p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- SERVICES ---------- */
.section-services { background: linear-gradient(180deg, var(--paper) 0%, var(--ivory) 100%); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.service {
  background: var(--paper);
  padding: 1.75rem 1.6rem;
  transition: background .25s ease;
}
.service:hover { background: var(--ivory-2); }
.service h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.005em;
}
.service p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- AUDIENCE ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.audience-card {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  transition: border-color .25s ease, transform .25s ease;
}
.audience-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.audience-card p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- NETWORK ---------- */
.section-network { background: var(--ivory); }
.regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.region {
  padding: 2rem;
  border-left: 1px solid var(--rule);
}
.region:first-child { border-left: 0; padding-left: 0; }
.region:last-child { padding-right: 0; }
.region-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-deep);
  margin: 0 0 .25rem;
}
.region h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 0.6rem;
  color: var(--ink);
  line-height: 1.15;
}
.region p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 820px) {
  .regions { grid-template-columns: 1fr; }
  .region { border-left: 0; border-top: 1px solid var(--rule); padding: 1.5rem 0; }
  .region:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- SUSTAINABILITY ---------- */
.checks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.checks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--text-base);
  color: var(--charcoal);
  line-height: 1.5;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.85rem; height: 1px;
  background: var(--gold);
}

/* ---------- JOIN ---------- */
.section-join { background: linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%); }
.join-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.join-card {
  padding: 1.75rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.join-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.join-card p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1rem;
}
.soon {
  margin-top: auto;
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  border-top: 1px solid var(--rule);
  padding-top: 0.85rem;
}
@media (max-width: 720px) { .join-grid { grid-template-columns: 1fr; } }

.future {
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
}
.future-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.future-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.future-list li {
  font-size: var(--text-sm);
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--paper);
}

/* ---------- CONTACT ---------- */
.section-contact {
  background: var(--ink);
  color: var(--ivory);
  border-bottom: 0;
}
.contact-inner {
  text-align: left;
  max-width: 760px;
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ivory);
  margin: 0 0 1rem;
  max-width: 22ch;
}
.contact-lede {
  font-size: var(--text-lg);
  color: rgba(245,239,228,0.78);
  max-width: 56ch;
  margin: 0 0 1.75rem;
}
.contact-meta {
  margin-top: 1.5rem;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,239,228,0.55);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(245,239,228,0.7);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(245,239,228,0.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
.footer-brand .brand-mark {
  filter: invert(1) brightness(1.1);
  opacity: 0.92;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ivory);
  margin: 0;
}
.footer-tag {
  font-size: 0.78rem;
  margin: 0;
  color: rgba(245,239,228,0.55);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: var(--text-sm);
}
.footer-nav a:hover { color: var(--gold); }
.copyright {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,239,228,0.4);
  border-top: 1px solid rgba(245,239,228,0.08);
  padding-top: 1.25rem;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Fade-in on scroll */
.fade { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.fade.in { opacity: 1; transform: none; }

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