/* Arctic Forge — Deploy stylesheet */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --dark: #1a1f1e;
  --slate: #2d3436;
  --olive: #3d4a3a;
  --orange: #e85d04;
  --crimson: #9d0208;
  --muted: #6b7280;
  --light: #f8f9fa;
  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(232, 93, 4, 0.3); color: #fff; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }

.section-alt { background: rgba(45, 52, 54, 0.3); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-top: 0.75rem;
}

.section-desc { color: rgba(255,255,255,0.6); margin-top: 1rem; max-width: 42rem; }

.tactical-border { border: 1px solid rgba(255,255,255,0.1); }

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: rgba(26, 31, 30, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }

.brand-logo {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--orange);
  background: rgba(61, 74, 58, 0.5);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.brand-tagline { font-size: 0.75rem; color: var(--muted); display: none; }
@media (min-width: 640px) { .brand-tagline { display: block; } }

.nav-desktop { display: none; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--orange); }

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--crimson); }

.btn-primary-lg { padding: 1rem 2rem; }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-block; } }

.menu-toggle {
  background: none; border: none; color: #fff; cursor: pointer;
  padding: 0.25rem; display: flex;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(26, 31, 30, 0.98);
  padding: 1.5rem 1rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
}
.nav-mobile a:hover { color: var(--orange); }
.nav-mobile .btn-primary { display: block; text-align: center; margin-top: 0.5rem; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--dark), rgba(26,31,30,0.9) 50%, rgba(26,31,30,0.6));
}
.hero-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--dark), transparent 40%, rgba(26,31,30,0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
  max-width: 48rem;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }

.badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border: 1px solid rgba(232, 93, 4, 0.4);
  background: rgba(61, 74, 58, 0.3);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.hero-sub { margin-top: 1.5rem; font-size: 1.125rem; color: rgba(255,255,255,0.7); max-width: 42rem; }

.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* TIMELINE */
.timeline { max-width: 48rem; margin: 0 auto; }

.timeline-step {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}
.timeline-step.visible { opacity: 1; transform: translateY(0); }

.timeline-marker-col { display: flex; flex-direction: column; align-items: center; }

.timeline-year {
  width: 3.5rem; height: 3.5rem;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--orange);
  background: var(--dark);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--orange);
}

.timeline-line {
  width: 2px;
  flex: 1;
  min-height: 80px;
  margin-top: 0.5rem;
  background: linear-gradient(to bottom, rgba(232,93,4,0.6), rgba(61,74,58,0.3));
}

.timeline-body { padding-bottom: 3rem; }
.timeline-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
@media (min-width: 1024px) { .timeline-body h3 { font-size: 1.5rem; } }
.timeline-body p { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
@media (min-width: 1024px) { .timeline-body p { font-size: 1rem; } }

/* PRODUCTS */
.products-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}
@media (min-width: 1024px) { .products-grid { grid-template-columns: 1fr 1fr; } }

.product-card { background: rgba(45, 52, 54, 0.2); }

.product-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: rgba(61, 74, 58, 0.2);
}

.product-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}

.product-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--dark), transparent);
}

.product-badge {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: var(--orange);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

.product-body { padding: 1.5rem 2rem 2rem; }
@media (min-width: 1024px) { .product-body { padding: 2rem; } }

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.product-desc { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }

.product-features { margin-top: 1rem; list-style: none; }
.product-features li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}
.product-features li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* ACCORDION */
.accordion { margin-top: 2rem; }

.accordion-item { border: 1px solid rgba(255,255,255,0.1); margin-bottom: 0.5rem; }

.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
  background: none; border: none;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-align: left;
}

.accordion-trigger .chevron {
  color: var(--orange);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.accordion-item.open .accordion-trigger .chevron { transform: rotate(180deg); }

.accordion-panel {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
}
.accordion-item.open .accordion-panel { display: block; }

.option-grid { display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .option-grid { grid-template-columns: 1fr 1fr; } }

.option-btn {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.625rem 1rem;
  background: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.option-btn:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.option-btn.active {
  border-color: var(--orange);
  background: rgba(232, 93, 4, 0.1);
  color: #fff;
}

.option-desc { margin-top: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.temp-ratings {
  margin-top: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(26, 31, 30, 0.5);
  padding: 1rem;
}

.temp-ratings p { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.temp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
  text-align: center;
}

.temp-grid span { display: block; font-size: 0.75rem; text-transform: uppercase; color: var(--muted); }
.temp-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}
.temp-extreme { color: var(--crimson); }
.temp-limit { color: var(--orange); }
.temp-comfort { color: #fff; }

.tactical-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
  background: none;
  color: #fff;
  text-align: left;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}
.tactical-toggle:hover { border-color: rgba(255,255,255,0.2); }
.tactical-toggle.active { border-color: var(--orange); background: rgba(232, 93, 4, 0.1); }

.tactical-check {
  width: 1.25rem; height: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  font-size: 0.75rem;
}
.tactical-toggle.active .tactical-check {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.tactical-toggle strong { font-size: 0.875rem; display: block; }
.tactical-toggle span { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; display: block; }

/* DOWNLOADS */
.downloads-grid {
  display: grid;
  gap: 1rem;
  margin-top: 4rem;
}
@media (min-width: 640px) { .downloads-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .downloads-grid { grid-template-columns: repeat(3, 1fr); } }

.download-card {
  display: flex;
  flex-direction: column;
  background: rgba(26, 31, 30, 0.6);
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, border-color 0.2s;
}
.download-card.visible { opacity: 1; transform: translateY(0); }
.download-card:hover { border-color: rgba(232, 93, 4, 0.3); }

.download-card-top { display: flex; justify-content: space-between; align-items: flex-start; }

.download-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(61, 74, 58, 0.2);
  font-size: 1.25rem;
}

.cat-badge {
  border: 1px solid;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cat-Technical { color: var(--orange); border-color: rgba(232,93,4,0.4); }
.cat-Compliance { color: #60a5fa; border-color: rgba(96,165,250,0.4); }
.cat-Legal { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }

.download-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-top: 1rem;
}

.download-card p { flex: 1; margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); }

.download-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.download-size { font-size: 0.75rem; color: var(--muted); }

.download-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  transition: color 0.2s;
}
.download-link:hover { color: #fff; }

/* OFFICES */
.offices-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}
@media (min-width: 1024px) { .offices-grid { grid-template-columns: 1fr 1fr; } }

.office-card {
  background: rgba(45, 52, 54, 0.2);
  padding: 2rem 2.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s;
}
.office-card.visible { opacity: 1; transform: translateY(0); }

.office-header { display: flex; align-items: center; gap: 1rem; }

.office-flag {
  width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--orange);
  background: rgba(61, 74, 58, 0.3);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--orange);
}

.office-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.office-role { font-size: 0.875rem; color: var(--orange); }

.office-details { margin-top: 2rem; }
.office-row {
  display: flex; gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.office-row .icon { color: var(--orange); flex-shrink: 0; width: 1.125rem; }
.office-row a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.office-row a:hover { color: var(--orange); }

/* FOOTER */
.footer { border-top: 1px solid rgba(255,255,255,0.1); padding: 5rem 0 2rem; }

.footer-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
}

.footer-disclaimer { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

.footer-links { margin-top: 1rem; list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color 0.2s;
  text-align: left;
}
.footer-link-btn:hover { color: var(--orange); }

.footer-copy { margin-top: 1.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.4); }

.newsletter-desc { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); }

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 36rem;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: #fff; }

.modal-form,
.modal-legal,
.modal-success {
  padding: 2rem;
  padding-top: 2.5rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.modal-subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.modal-updated {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.form-grid { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

.form-field label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(45, 52, 54, 0.3);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  font-family: var(--font-body);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--orange); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-field select option { background: var(--dark); }
.form-field textarea { resize: none; }

.btn-full { width: 100%; margin-top: 1.5rem; }

.legal-section { margin-top: 1.5rem; }
.legal-section h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
}
.legal-section p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.modal-success { text-align: center; }
.modal-success p { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.modal-success .btn-primary { margin-top: 1.5rem; }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(45, 52, 54, 0.3);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  outline: none;
}
.newsletter-form input:focus { border-color: var(--orange); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }

.section-header { margin-bottom: 4rem; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
