/* Press Kit page styles
   Uses site variables from style.css
*/

/* Load Avenir fonts from presskit folder */
@font-face {
  font-family: 'Avenir';
  src: url('../presskit/avenir/Avenir Regular/Avenir Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('../presskit/avenir/Avenir Book/Avenir Book.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('../presskit/avenir/Avenir Heavy/Avenir Heavy.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('../presskit/avenir/Avenir Black/Avenir Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('../presskit/avenir/Avenir Light/Avenir Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Force single-color background on Press Kit page */
body {
  background: var(--color-bg) !important;
  background-image: none !important;
}

/* Hero */
.presskit-hero {
  background: transparent;
  text-align: center;
}

.presskit-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.presskit-hero .kicker {
  align-self: center;
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: .8125rem;
  background: rgba(1,147,202,0.08);
  color: var(--color-primary-600);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.presskit-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.presskit-hero__lead {
  max-width: 70ch;
  color: rgba(11,33,48,.82);
  margin-bottom: .25rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: .5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  max-width: 60ch;
  margin: 0 auto 2rem;
}

/* Info Cards Grid */
.presskit-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.info-card__icon {
  font-size: 2rem;
  margin-bottom: .5rem;
}

.info-card__title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: .25rem;
}

.info-card p {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
}

/* About Text */
.presskit-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  margin-top: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
}

/* Assets Grid */
.assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.asset-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.asset-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.asset-preview {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.asset-preview--light {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.asset-preview--dark {
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.asset-preview--checkered {
  background-image:
    linear-gradient(45deg, #e5e5e5 25%, transparent 25%),
    linear-gradient(-45deg, #e5e5e5 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e5e5e5 75%),
    linear-gradient(-45deg, transparent 75%, #e5e5e5 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  background-color: #fafafa;
  border-bottom: 1px solid var(--color-border);
}

.asset-preview__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.asset-info {
  padding: 1.25rem;
}

.asset-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 .25rem 0;
}

.asset-description {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0 0 1rem 0;
}

.asset-downloads {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

/* Colors Grid */
.colors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.color-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.color-swatch {
  width: 100%;
  height: 120px;
  border-bottom: 1px solid var(--color-border);
}

.color-info {
  padding: 1.25rem;
}

.color-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.color-values {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.color-value {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.color-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-muted);
  min-width: 40px;
}

.color-code {
  flex: 1;
  background: var(--color-bg);
  padding: .375rem .625rem;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
}

.copy-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .375rem;
  cursor: pointer;
  color: var(--color-muted);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: var(--color-bg);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-btn.copied {
  color: #10b981;
  border-color: #10b981;
}

/* Guidelines Grid */
.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.guideline-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-1);
}

.guideline-card--dont {
  border-color: rgba(239, 68, 68, 0.2);
}

.guideline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: rgba(1, 147, 202, 0.08);
  color: var(--color-primary);
}

.guideline-card--dont .guideline-icon {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

.guideline-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.guideline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guideline-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: .75rem;
  line-height: 1.5;
}

.guideline-list li:last-child {
  margin-bottom: 0;
}

.guideline-card .guideline-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.guideline-card--dont .guideline-list li::before {
  content: '✗';
  color: #ef4444;
}

/* Typography Showcase */
.typography-showcase {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.type-sample {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-1);
}

.type-display {
  margin-bottom: 1rem;
  color: var(--color-text);
}

/* Ensure Avenir loads for typography showcase */
.typography-showcase .type-sample:nth-child(1) .type-display,
.typography-showcase .type-sample:nth-child(2) .type-display {
  font-family: 'Avenir', 'Avenir Next LT Pro', Arial, Helvetica, sans-serif !important;
}

.typography-showcase .type-sample:nth-child(3) .type-display {
  font-family: 'Courier New', Courier, monospace !important;
}

.type-info {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-muted);
}

.font-download {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(1, 147, 202, 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(1, 147, 202, 0.1);
}

.font-download p {
  margin: 0.5rem 0;
}

.font-download p:first-child {
  margin-top: 0;
}

.font-download p:last-child {
  margin-bottom: 0;
}

/* Contact Section */
.presskit-contact {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.presskit-contact h2 {
  margin-bottom: .75rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.contact-item h3 {
  font-size: 1.125rem;
  margin: 0 0 .5rem 0;
}

.contact-item p {
  margin: 0;
}

.usage-note {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(1, 147, 202, 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(1, 147, 202, 0.1);
  text-align: left;
}

.usage-note p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(11, 33, 48, 0.8);
}

/* Button Small Variant */
.btn--small {
  padding: .5rem .875rem;
  font-size: 0.875rem;
}

/* Brand Kit Download Section */
.brandkit-download {
  max-width: 100%;
  margin: 0;
}

.brandkit-download__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brandkit-download__content:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 147, 202, 0.15);
}

.brandkit-download__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.brandkit-download__text {
  flex: 1;
}

.brandkit-download__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
}

.brandkit-download__description {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.brandkit-download__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.brandkit-download__btn svg {
  flex-shrink: 0;
}

/* Responsive adjustments for download section */
@media (max-width: 768px) {
  .brandkit-download__content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .brandkit-download__btn {
    width: 100%;
  }
}

/* Copyright Section */
.copyright-section {
  max-width: 100%;
}

.copyright-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.copyright-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-1);
}

/* Full-width variant for permission required card */
.copyright-card--full-width {
  grid-column: 1 / -1;
  margin-top: 0;
}

.copyright-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  background: rgba(0, 147, 202, 0.08);
  color: var(--color-primary);
}

.copyright-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
}

.copyright-card p {
  margin: 0 0 0.5rem 0;
  line-height: 1.6;
}

.copyright-card p:last-child {
  margin-bottom: 0;
}

.copyright-card ul {
  margin: 0.75rem 0 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.copyright-card ul li {
  margin: 0.5rem 0;
  line-height: 1.5;
}


/* Logo Usage Table */
.logo-usage-table {
  margin-top: 2rem;
  overflow-x: auto;
}

.usage-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.usage-table thead {
  background: rgba(0, 147, 202, 0.08);
}

.usage-table th,
.usage-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.usage-table th {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.usage-table td {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.usage-table tbody tr:last-child td {
  border-bottom: none;
}

.usage-table tbody tr:hover {
  background: rgba(0, 147, 202, 0.02);
}

/* Typography Table */
.typography-table {
  margin-top: 2rem;
  overflow-x: auto;
  margin-bottom: 2rem;
}

/* Subsection Title */
.subsection-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  color: var(--color-text);
}

.subsection-title:first-child {
  margin-top: 0;
}

/* Voice Guidelines */
.voice-guidelines,
.visual-guidelines {
  margin-bottom: 3rem;
}

.voice-guidelines:last-child,
.visual-guidelines:last-child {
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .assets-grid {
    grid-template-columns: 1fr;
  }

  .colors-grid {
    grid-template-columns: 1fr;
  }

  .presskit-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usage-table {
    font-size: 0.875rem;
  }

  .usage-table th,
  .usage-table td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .presskit-info-grid {
    grid-template-columns: 1fr;
  }

  .asset-downloads {
    flex-direction: column;
  }

  .asset-downloads .btn {
    width: 100%;
  }
}

/* Animation for reveal on scroll (optional) */
@media (prefers-reduced-motion: no-preference) {
  .asset-card,
  .color-card,
  .guideline-card,
  .info-card,
  .contact-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Stagger animation for grid items */
  .asset-card:nth-child(1),
  .color-card:nth-child(1),
  .info-card:nth-child(1) { animation-delay: 0.1s; }
  .asset-card:nth-child(2),
  .color-card:nth-child(2),
  .info-card:nth-child(2) { animation-delay: 0.2s; }
  .asset-card:nth-child(3),
  .color-card:nth-child(3),
  .info-card:nth-child(3) { animation-delay: 0.3s; }
  .asset-card:nth-child(4),
  .color-card:nth-child(4),
  .info-card:nth-child(4) { animation-delay: 0.4s; }
  .asset-card:nth-child(5) { animation-delay: 0.5s; }
  .asset-card:nth-child(6) { animation-delay: 0.6s; }
}

@media (prefers-reduced-motion: reduce) {
  .asset-card,
  .color-card,
  .guideline-card,
  .info-card,
  .contact-item {
    opacity: 1;
    animation: none;
  }
}

