/* ===== PAGE-SPECIFIC STYLES ===== */
/* Extracted from inline <style> tags across all pages */

/* ===== ABOUT.HTML ===== */
.page-hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, var(--bg) 0%, var(--accent-soft) 100%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}

.page-hero p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--ink);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== SERVICES.HTML ===== */
.service-detail {
  /* Scoped color override for service detail section only */
  --ink-soft: #8B8680;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
}

.service-detail:last-child {
  border-bottom: 0;
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
}

.service-detail:nth-child(even) .service-detail-img {
  order: -1;
}

@media (max-width: 768px) {
  .service-detail:nth-child(even) .service-detail-img {
    order: 0;
  }
}

.service-detail h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.service-detail p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.service-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-detail ul li {
  font-size: 14px;
  padding-left: 24px;
  position: relative;
}

.service-detail ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.service-detail-img {
  width: 100%;
  height: 350px;
  border-radius: var(--card-radius);
  background: var(--placeholder);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== SUSTAINABILITY.HTML ===== */
.content-section h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--ink);
}

.content-section p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0 0 16px;
}

.content-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.content-section li {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0 0 12px 0;
  padding-left: 24px;
  position: relative;
}

.content-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.highlight-box {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 24px;
  border-radius: var(--card-radius);
  margin: 24px 0;
}

.highlight-box p {
  margin: 0;
  color: var(--ink);
}

.commitment-box {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--card-radius);
  padding: 40px;
  margin: 32px 0;
  text-align: center;
}

.commitment-box h2 {
  margin: 0 0 16px;
  font-size: 28px;
  color: var(--accent);
}

.commitment-box p {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 32px 0;
}

@media (max-width: 1024px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.metric-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--card-radius);
  padding: 24px;
  text-align: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
}

.metric-label {
  font-size: 13px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.image-section {
  margin: 40px 0;
  border-radius: var(--card-radius);
  background: transparent;
  overflow: hidden;
  text-align: center;
  width: 100%;
  max-width: 600px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-section img {
  width: auto;
  height: auto;
  object-fit: contain;
  display: none;
  will-change: opacity;
}

.image-section img.active {
  display: block;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

.carousel {
  display: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-img {
  width: 100%;
  height: auto;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover {
  color: #ccc;
}

.cert-section {
  text-align: center;
  margin: 32px 0;
}

/* ===== PRODUCTS.HTML ===== */
.products-hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, var(--bg) 0%, var(--accent-soft) 100%);
}

.products-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}

.products-hero p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,95,115,0.12);
  border-color: var(--accent);
}

.product-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}

.product-card .category {
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.product-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
  flex-grow: 1;
}

.product-card .details {
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
}

.product-card .detail-item {
  text-align: center;
  flex: 1;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.detail-value {
  font-weight: 600;
  margin-top: 4px;
}

.products-section {
  padding: 80px 0;
}

.products-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--rule);
  background: transparent;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 200ms ease;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ===== CAREERS.HTML ===== */
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.job-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(0,95,115,0.15);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.job-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
  flex: 1;
}

.job-location {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.job-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.job-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.job-meta-label {
  font-size: 11px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.job-meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.job-description {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.job-requirements {
  margin-bottom: 16px;
}

.job-requirements h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}

.job-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-requirements li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}

.job-requirements li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.job-cta {
  display: flex;
  gap: 12px;
}

.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .value-props {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--card-radius);
  padding: 24px;
  text-align: center;
}

.value-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.value-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== NEWS.HTML ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--card-radius);
  padding: 28px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(0,95,115,0.15);
}

.news-date {
  font-size: 12px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}

.news-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.coming-soon {
  padding: 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--card-radius);
}

.coming-soon p {
  font-size: 16px;
  color: var(--ink-soft);
}

/* ===== PRODUCT DETAIL PAGES ===== */
.product-hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, var(--bg) 0%, var(--accent-soft) 100%);
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}

.product-meta {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.meta-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.product-detail {
  padding: 80px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.product-image-frame {
  aspect-ratio: 1;
  border: 3px dashed var(--rule-strong);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 64px;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.product-image-frame::before {
  content: "📸";
  font-size: 80px;
  opacity: 0.3;
}

.product-info h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.product-category {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 600;
}

.product-description {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 32px;
}

.product-features {
  margin-bottom: 40px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
  font-size: 18px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--card-radius);
  margin-bottom: 32px;
}

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

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ===== UTILITY CLASSES FOR INLINE STYLE REPLACEMENTS ===== */
.about-bg-surface {
  background: var(--surface);
}

.rk-row-center {
  justify-content: center;
}

.form-flex {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 4px;
}

/* Deprecated: Use .form-grid-2 from styles.css instead */
/* Form grids now standardized to var(--spacing-md) = 16px gap */

.field-full {
  grid-column: 1 / -1;
}

.mt-40 {
  margin-top: 40px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-20 {
  margin-top: 20px;
}

.cta-padding {
  padding: 80px 0;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  font-weight: 500;
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 52ch;
  margin: 0 auto 28px;
}

.text-center {
  text-align: center;
}

.text-ink-soft {
  color: var(--ink-soft);
}

.opacity-70 {
  opacity: 0.7;
}

.product-link {
  text-decoration: none;
  color: inherit;
}

.product-card-clickable {
  cursor: pointer;
}

.cert-desc {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.cert-box {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--card-radius);
}

.cert-title {
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--ink);
}

.cert-text {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.mb-0 {
  margin: 0;
}

.mt-24 {
  margin-top: 24px;
}

.verification-text {
  margin-top: 32px;
}

.btn-group-center {
  justify-content: center;
}

.opacity-50 {
  opacity: 0.5;
}

.flex-grow-1 {
  flex-grow: 1;
}

.coming-soon-footer {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.coming-soon-text {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.news-title {
  font-size: 18px;
  margin: 0 0 12px;
}

.news-list {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  display: inline-block;
  text-align: left;
}

.process-list {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-top: 16px;
}

.container-narrow {
  max-width: 800px;
}

.accent-color {
  color: var(--accent);
}

.product-hero-text {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

/* Form rate-limit block message */
.form-block-msg {
  display: none;
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: var(--card-radius, 12px);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.form-block-msg.is-visible {
  display: block;
}

.form-block-title {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 6px;
  color: #92400e;
}

.form-block-body {
  font-size: 14px;
  color: #78350f;
  margin: 0;
  line-height: 1.6;
}
