/* ─────────────────────────────────────────────
   پالس مدیا · brand.css
   page-specific styles for /brand
   ───────────────────────────────────────────── */

/* hero */
.brand-hero{
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(32px, 5vw, 56px);
  background: var(--paper);
  position: relative;
}
.brand-hero::after{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}
.brand-hero-inner{ max-width: 880px; }
.brand-kicker{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.brand-kicker .bar{
  width: 28px; height: 1px; background: var(--coral);
  display: inline-block;
}
.brand-h1{
  font-family: var(--fa-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 24px;
  color: var(--ink);
}
.brand-lede{
  font-family: var(--fa-body);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.75;
  color: var(--ink-mute);
  max-width: 64ch;
  margin: 0 0 28px;
}
.brand-meta{
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-family: var(--en-serif);
  font-style: italic;
}
.brand-meta a{ color: var(--coral-deep); }
.brand-meta a:hover{ color: var(--coral); }
.brand-meta .dot{ opacity: .5; }

/* essence strip */
.brand-essence{
  background: var(--paper-2);
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.essence-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.essence-item{
  display: flex; flex-direction: column; gap: 6px;
}
.essence-label{
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.essence-value{
  font-family: var(--fa-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.4;
}

/* brand sections */
.brand-section{
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--paper);
}
.brand-section--alt{
  background: var(--paper-3);
}
.brand-section-head{
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.brand-section-head h2{
  font-family: var(--fa-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 12px 0 16px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand-section-lede{
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-mute);
  max-width: 60ch;
  margin: 0;
}
.brand-section-lede em{
  font-family: var(--en-serif);
  font-style: italic;
  color: var(--coral-deep);
  font-weight: 600;
}

/* logo grid */
.logo-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.logo-card{
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.logo-stage{
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  aspect-ratio: 4/3;
}
.logo-stage img{
  max-width: 60%;
  max-height: 80%;
  width: auto;
  height: auto;
}
.logo-stage--paper{ background: var(--paper); }
.logo-stage--dark{ background: #1f3a64; }
.logo-stage--coral{ background: var(--coral); }
.logo-meta{
  padding: 14px 16px 8px;
  border-top: 1px solid var(--line-soft);
}
.logo-meta-name{
  font-family: var(--fa-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}
.logo-meta-spec{
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-soft);
}
.logo-dl{
  display: inline-flex; align-items: center; gap: 6px;
  margin: 4px 16px 14px;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--coral-deep);
  border: 1px solid var(--coral-soft);
  border-radius: 999px;
  background: transparent;
  transition: all var(--t-fast);
  width: max-content;
}
.logo-dl:hover{
  background: var(--coral-soft);
  border-color: var(--coral);
}

/* usage */
.usage-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.usage-do, .usage-dont{
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 24px;
}
.usage-do{ border-right: 3px solid #4a8551; padding-right: 21px; }
.usage-dont{ border-right: 3px solid var(--coral); padding-right: 21px; }
.usage-title{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fa-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: .01em;
}
.usage-mark{
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  font-family: system-ui;
}
.usage-mark--ok{ background: #d8e7da; color: #2f5b34; }
.usage-mark--no{ background: var(--coral-soft); color: var(--coral-deep); }
.usage-do ul, .usage-dont ul{
  margin: 0; padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-mute);
}
.usage-do li, .usage-dont li{
  position: relative;
  padding-right: 16px;
}
.usage-do li::before, .usage-dont li::before{
  content: "—";
  position: absolute;
  right: 0;
  color: var(--ink-soft);
}

/* colors */
.color-grid{
  display: grid;
  gap: 32px;
}
.color-group-title{
  font-family: var(--fa-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: .005em;
}
.color-group-title em{
  font-family: var(--en-serif);
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
}
.color-swatches{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.swatch{
  padding: 28px 18px;
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 4px;
  min-height: 110px;
  justify-content: flex-end;
}
.swatch--bordered{ border: 1px solid var(--line); }
.swatch-name{
  font-family: var(--fa-display);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: .005em;
}
.swatch-hex{
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  opacity: .85;
  letter-spacing: .02em;
}

/* typography */
.type-grid{
  display: grid;
  gap: 20px;
}
.type-card{
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.type-meta{
  display: flex; flex-direction: column; gap: 12px;
}
.type-meta-row{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  font-size: 13px;
  align-items: baseline;
}
.type-meta-label{
  font-family: var(--en-serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .04em;
}
.type-meta-value{
  font-family: var(--fa-display);
  font-weight: 500;
  color: var(--ink);
}
.type-specimen{
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (max-width: 700px){
  .type-card{
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
}

/* voice */
.voice-grid{
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}
.voice-pair{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.voice-yes, .voice-no{
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 22px;
  border-radius: 4px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
}
.voice-yes{ border-right: 3px solid #4a8551; padding-right: 19px; }
.voice-no{ border-right: 3px solid var(--coral); padding-right: 19px; }
.voice-mark{
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  font-family: system-ui;
  flex-shrink: 0;
  margin-top: 1px;
}
.voice-mark--ok{ background: #d8e7da; color: #2f5b34; }
.voice-mark--no{ background: var(--coral-soft); color: var(--coral-deep); }
.voice-text{
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

@media (max-width: 700px){
  .voice-pair{ grid-template-columns: 1fr; }
}

.voice-principles{
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 32px;
}
.voice-principles h3{
  font-family: var(--fa-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 16px;
}
.voice-principles ol{
  margin: 0; padding-right: 24px;
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-mute);
}
.voice-principles li{ margin-bottom: 8px; }
.voice-principles strong{
  color: var(--ink);
  font-weight: 700;
}

/* downloads */
.dl-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.dl-card{
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition: all var(--t-fast);
  color: var(--ink);
}
.dl-card:hover{
  background: var(--paper-2);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.dl-icon{
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  flex-shrink: 0;
}
.dl-meta{ flex: 1; }
.dl-name{
  font-family: var(--fa-display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 2px;
}
.dl-spec{
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-soft);
}

/* CTA card */
.brand-cta-card{
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.brand-cta-text h3{
  font-family: var(--fa-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--paper);
}
.brand-cta-text p{
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper-2);
  max-width: 50ch;
}
.brand-cta-btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  font-family: var(--en-serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--t-fast);
}
.brand-cta-btn:hover{ background: var(--coral-deep); }
.brand-cta-btn svg{ transform: scaleX(-1); }

@media (max-width: 700px){
  .brand-cta-card{ flex-direction: column; align-items: stretch; text-align: right; }
  .brand-cta-btn{ justify-content: center; }
}
