/* ============================================================
   Boreal Biomanufacturing — Splash page
   Values taken directly from Style_Sheet.pdf
   ============================================================ */

:root {
  /* Color */
  --navy:   #0F1F39;
  --ice:    #EEF7FD;
  --lime:   #ABD600;
  --teal:   #036177;
  --orange: #E85830;
  --white:  #FFFFFF;

  /* Gradients */
  --grad-deep: linear-gradient(180deg, #0F1F39 0%, #036177 100%);
  --grad-deep-rev: linear-gradient(180deg, #036177 0%, #0F1F39 100%);
  --grad-lime: linear-gradient(90deg, rgba(171, 214, 0, 1) 0%, rgba(171, 214, 0, 0.1) 100%);

  /* Type — Manrope, Medium unless noted */
  --font-body:   "Manrope", system-ui, sans-serif;
  /* TODO: when the Adobe Fonts kit is added, set the exact family
     name from your kit (usually "adobe-handwriting-ernie"). */
  --font-accent: "adobe-handwriting-ernie", "Adobe Handwriting Ernie", cursive;

  --container: 1140px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body.boreal-splash {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;               /* Body — Medium */
  font-size: 18px;                /* Body — 18pt */
  line-height: 1.2;               /* Body — 120% */
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Type hierarchy (Style_Sheet.pdf) ---------- */
h1 {
  font-size: clamp(38px, 5vw, 60px);   /* H1 60pt */
  line-height: 1.1;                    /* 110% */
  font-weight: 500;                    /* Medium */
  margin: 0 0 0.5em;
}
h2 {
  font-size: clamp(30px, 3.6vw, 40px); /* H2 40pt */
  line-height: 1.1;
  font-weight: 500;
  margin: 0 0 0.6em;
}
h3, .h3 {
  font-size: 25px;                     /* H3 25pt */
  line-height: 1.1;
  font-weight: 500;
  margin: 0 0 0.6em;
}
h4, .h4 {
  font-size: 20px;                     /* H4 20pt */
  line-height: 1.15;                   /* 115% */
  font-weight: 700;                    /* Bold */
  margin: 0 0 0.6em;
}
.accent {
  font-family: var(--font-accent);
  font-size: 35px;                     /* Accent 35pt */
  font-weight: 400;
  color: var(--orange);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons (Button states in Style_Sheet.pdf) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* Unselected */
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--lime);
}
/* Hover / Select */
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
}
.btn:focus-visible,
.accordion-trigger:focus-visible,
a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--navy);
  transition: background-color 0.2s ease;
}
.social-btn:hover { background: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 24px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  padding: 160px 0 0;
  overflow: hidden;
}
.hero-inner {
  text-align: center;
  max-width: 860px;
  position: relative;
  z-index: 2;
}
.hero-intro {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ice);
}
.hero-rings {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.hero-rings > img{
  width: 60%;
  margin-top: 40px;
}
.hero-rings svg {
  width: min(820px, 90vw);
  height: auto;
  margin-bottom: -22%;   /* rings overlap into the next section, as in the design */
}

/* ---------- Dark gradient wrapper ---------- */
.gradient-band {
  position: relative;
  background: var(--grad-deep);
  border-radius: 32px 32px 0 0;
}

/* ---------- History ---------- */
.history{
  background: var(--grad-deep-rev);
}
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  padding-top: 96px;
}
.history-copy { font-size: 16px; line-height: 1.4; color: var(--ice); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.card {
  border: 1px solid rgba(238, 247, 253, 0.35);
  border-radius: 12px;
  padding: 28px 40px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ice);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  color: var(--lime);
  margin-bottom: 20px;
}

.feature-photo {
  width: 100%;
  border-radius: 12px;
  padding-top: 64px;
}

.researcher { 
  background: var(--navy);
}

/* ---------- Services + accordion ---------- */
.services { 
  padding: 96px 0 0; 
  background: var(--navy);
}
.services-sub {
  font-size: 20px;
  margin-bottom: 48px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.services-copy { font-size: 16px; line-height: 1.4; color: var(--ice); }

.accordion-item {
  border-bottom: 0.1px solid var(--lime);
}
.accordion-item:last-child {
  border-bottom: 0;
}
.accordion-heading { margin: 0; }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 4px;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
/* Open / Close icons (Button states in Style_Sheet.pdf) */
.acc-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border: 1px solid var(--white);
  border-radius: 50%;
  transition: border-color 0.2s ease;
  border-color: var(--lime); 
  color: var(--lime);
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-trigger[aria-expanded="true"] .acc-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);  /* + becomes − */
}

.accordion-panel {
  padding: 0 4px 24px;
}
.accordion-panel ul {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ice);
}
.accordion-panel li { margin-bottom: 8px; }

/* ---------- Numbers ---------- */
.numbers {
  padding: 112px 0;
  text-align: center;
  background: var(--grad-deep);
}
.numbers-eyebrow { margin-bottom: 8px; }
.numbers-title { margin-bottom: 64px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 0 90px;
}
.stat + .stat { border-left: 1px solid var(--lime); }
.stat-value {
  display: block;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 500;
  line-height: 1;
  color: var(--lime);
  margin-bottom: 16px;
}
.stat-value sup { font-size: 0.45em; top: -0.2em; position: relative; }
.stat-label { font-size: 16px; color: var(--ice); }

.social-btn-img{
  margin-top: 60px;
}

/* ---------- Forest band ---------- */
.forest-band {
  height: 260px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ---------- The Boreal Difference (light) ---------- */
.difference {
  position: relative;
  background: var(--ice);
  color: var(--navy);
  padding: 96px 0 140px;
  overflow: hidden;
}
.difference h2 { color: var(--navy); }
.difference-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 48px 64px;
  margin-top: 48px;
}
.diff-col p { font-size: 15px; line-height: 1.45; }
.diff-col h4 { font-weight: 700; }
.difference-rings {
  position: absolute;
  width: 50%;
  max-width: 1000px;
  right: -120px;
  top: 0px;
  z-index: 1;
  pointer-events: none;
}
.difference-rings svg { width: 560px; height: auto; }

/* ---------- Implausible missions (dark) ---------- */
.missions {
  background: var(--grad-deep-rev);
  padding: 96px 0;
}
.missions-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.missions-copy { font-size: 16px; line-height: 1.4; color: var(--ice); }
.missions-copy h2 { color: var(--white); font-weight: 600; margin-bottom: 30px;}
.missions-accent { margin: 24px 0; }
.missions-photo { border-radius: 12px; }

/* ---------- Contact / form ---------- */
.contact {
  background: var(--navy);
  padding: 48px 0 96px;
}
.contact-panel {
  position: relative;
  border: 0.1px solid var(--lime);
  border-radius: 16px;
  padding: 64px 64px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contact-intro p { padding-left: 64px; font-size: 16px; line-height: 1.4; color: var(--ice); }
.contact-intro h2 { padding-left: 64px; }
.contact-photo { margin-top: 60px; border-radius: 12px; }

.boreal-form .form-row { margin-bottom: 10px; }
.boreal-form .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.boreal-form input,
.boreal-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(238, 247, 253, 0.5);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
}
.boreal-form input::placeholder,
.boreal-form textarea::placeholder { color: rgba(238, 247, 253, 0.7); }
.boreal-form input:focus,
.boreal-form textarea:focus {
  outline: none;
  border-color: var(--lime);
}
.form-actions { text-align: right; margin-top: 24px; }

.form-thanks {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ice);
}

.contact-connect {
  position: absolute;
  right: 64px;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--orange);
}
.contact-connect .accent { font-size: 28px; }

.connect-arrow{
  margin-top: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  padding: 40px 0 24px;
  font-size: 14px;
  color: var(--ice);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-divider {
  width: 1px; height: 44px;
  background: rgba(238, 247, 253, 0.35);
}
.footer-toh {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ice);
  text-decoration: none;
}
.footer-partof { font-size: 12px; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a { color: var(--ice); text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-copy {
  margin-top: 32px;
  text-align: right;
  font-size: 12px;
  color: rgba(238, 247, 253, 0.7);
}

.footer-separator{
  color: #fff;
  margin-top: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .history-grid,
  .services-grid,
  .missions-grid,
  .contact-panel { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .difference-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 40px; }
  .stat + .stat { border-left: 0; }
  .contact-panel { padding: 40px 24px 96px; }
  .contact-connect { right: 24px; }
  .hero-rings > img{  width: 100%; }
  .contact-intro p { padding-left: 24px; }
  .contact-intro h2 { padding-left: 24px; }
  #fluentform_3{ margin-bottom: 50px;}
  
}
@media (max-width: 560px) {
  .boreal-form .two-col { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .footer-inner, .footer-copy { justify-content: center; text-align: center; }
  .difference-rings {
  width: 70%;
  right: -80px;
  bottom: 0px;
  top:unset;
  }
  .difference{
    padding: 60px 0;
  }
}




/* ===== Fluent Forms #3 — Boreal styling ===== */
.fluent_form_3 .ff-el-form-control {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  padding: 14px 16px !important;
  width: 100%;
  box-shadow: none !important;
}

.fluent_form_3 .ff-el-form-control::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
  opacity: 1;
}

.fluent_form_3 .ff-el-form-control:focus {
  border-color: #ABD600 !important;
  outline: none !important;
}

/* 필드 간격 */
.fluent_form_3 .ff-el-group {
  margin-bottom: 20px;
}

/* Phone 필드의 숫자 스피너 제거 */
.fluent_form_3 input[type="number"]::-webkit-outer-spin-button,
.fluent_form_3 input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.fluent_form_3 input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Submit: white outline → lime fill on hover */
.fluent_form_3 .ff-btn-submit {
  background: transparent !important;
  border: 1.5px solid var(--lime) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 5px 30px !important;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  margin-top: 20px;
}

.fluent_form_3 .ff-btn-submit:hover {
  background: #ABD600 !important;
  border-color: #ABD600 !important;
  color: #0F1F39 !important;
}

/* Success / error messages */
.ff-message-success {
  color: #ABD600 !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 18px !important;
  background: transparent !important;
  border: none !important;
}

.fluent_form_3 .error,
.fluent_form_3 .ff-el-is-error .ff-el-form-control {
  color: #ABD600 !important;
  border-color: #ABD600 !important;
}


.fluentform .ff-el-group {
    margin-bottom: 10px !important;
}