﻿/* ==========================================================================
   Global Reset & Typography
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #faf9f5;
  padding-top: var(--header-offset, 160px);
}

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

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

/* ==========================================================================
   Language Bar
   ========================================================================== */
.language-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 6px 28px;
  background-color: #1f1f1f;
  z-index: 1002;
}

.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-selector button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background-color: #fff;
  color: #222;
  border: 1px solid #d6d2c4;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.lang-selector ul {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  background-color: rgba(0, 0, 0, 0.95);
  border-radius: 6px;
  list-style: none;
  padding: 6px 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  z-index: 1003;
}

.lang-selector.open ul {
  display: block;
}

.lang-selector li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 12px;
  color: #faf9f5;
  font-size: 14px;
  cursor: pointer;
}

.lang-selector li:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.lang-selector .lang-flag {
  font-size: 18px;
  line-height: 1;
}

.lang-selector .lang-code {
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1001;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.88) 0%, rgba(12, 12, 12, 0.65) 100%);
  backdrop-filter: blur(6px);
  color: #fff;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

nav ul li a {
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 2px;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #f0b63a;
  transition: width 0.25s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  padding: 6px 14px;
  cursor: pointer;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  height: 70vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: grid;
  gap: 16px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero p {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #f7f4eb;
}

.btn {
  display: inline-block;
  align-self: center;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #f0b63a 0%, #f7d67e 100%);
  color: #3a2800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(240, 182, 58, 0.35);
}

.btn-secondary {
  background: #fff;
  color: #f0b63a;
  border: 1px solid #f0b63a;
}

.btn-secondary:hover {
  color: #fff;
  background: #f0b63a;
  box-shadow: 0 12px 24px rgba(240, 182, 58, 0.25);
}

/* ==========================================================================
   Generic Sections
   ========================================================================== */
.section {
  padding: 70px 30px;
}

.section-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-img {
  flex: 0 0 38%;
  max-width: 400px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

.section-text {
  flex: 1;
  min-width: 280px;
  display: grid;
  gap: 18px;
}

.section-text h2 {
  font-size: 30px;
  letter-spacing: 0.03em;
  color: #1d1300;
}

.section-text p,
.section-text li,
.section-text ol {
  font-size: 16px;
  color: #3f392e;
}

.mission-points {
  list-style: disc;
  padding-left: 24px;
  display: grid;
  gap: 8px;
  text-align: left;
}

.section-content.section-reverse {
  flex-direction: row-reverse;
}


/* ==========================================================================
   Brand Cohort Styling
   ========================================================================== */
body[data-page="brands"] {
  background-color: #f5efe1;
}

.brand-overview-list {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.brand-overview-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: #463a20;
}

.brand-overview-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0b63a;
}

.brand-highlight .section-img {
  flex: 0 0 260px;
  min-width: 200px;
  max-width: 260px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: none;
}

.brand-highlight .section-text {
  align-items: flex-start;
}

.brand-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(22, 15, 2, 0.14);
  padding: 36px 40px;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(22, 15, 2, 0.18);
}

.brand-card .section-text {
  gap: 20px;
}

.brand-points {
  list-style: none;
  display: grid;
  gap: 8px;
}

.brand-points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #423520;
}

.brand-points li::before {
  content: "–";
  position: absolute;
  left: 4px;
  color: #f0b63a;
  font-weight: 600;
}

.brand-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.brand-meta span {
  background: #f9f4e8;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #5b4627;
}

.brand-actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.brand-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #f0b63a;
  box-shadow: 0 10px 25px rgba(240, 182, 58, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.brand-instagram:hover {
  transform: translateY(-2px);
  background: #f0b63a;
  box-shadow: 0 16px 32px rgba(240, 182, 58, 0.35);
}

.brand-instagram img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.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;
}

/* ==========================================================================
   Brand Detail Pages
   ========================================================================== */
.brand-detail-section {
  background-color: #fff;
  padding: 70px 30px;
}

.brand-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 16px;
}

.brand-detail-meta span {
  background: #f2eee3;
  border-radius: 18px;
  padding: 8px 16px;
  font-size: 14px;
  color: #44351d;
}

.brand-detail-grid {
  margin-top: 26px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.brand-detail-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #efe6d2;
  padding: 22px 24px;
  box-shadow: 0 18px 40px rgba(79, 59, 18, 0.12);
}

.brand-detail-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #261b08;
}

.brand-detail-card p {
  font-size: 15px;
  color: #403524;
}

.brand-detail-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Timeline (Process) Styling
   ========================================================================== */
.timeline {
  position: relative;
  margin-top: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, rgba(240, 182, 58, 0.95) 0%, rgba(247, 214, 126, 0.35) 45%, rgba(240, 182, 58, 0.8) 100%);
}

.timeline-item {
  position: relative;
  margin-left: 84px;
  margin-bottom: 32px;
  padding: 26px 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f1e2c8;
  box-shadow: 0 18px 38px rgba(81, 62, 21, 0.12);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-step {
  position: absolute;
  top: 24px;
  left: -84px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0b63a 0%, #f7d67e 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2b1d00;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 14px 26px rgba(240, 182, 58, 0.3);
}

.timeline-item h3 {
  font-size: 20px;
  color: #1f1404;
  margin-bottom: 12px;
}

.timeline-item p {
  font-size: 15px;
  color: #413622;
}

/* ==========================================================================
   Incubation Diagram
   ========================================================================== */
.diagram-section {
  background: linear-gradient(180deg, #fff 0%, #f7f0de 100%);
  padding: 72px 30px;
}

.diagram-header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
  display: grid;
  gap: 14px;
}

.diagram-header h2 {
  font-size: 30px;
}

.diagram-header p {
  font-size: 16px;
  color: #3b3222;
}

.diagram-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}

.diagram-node {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px;
  border: 1px solid rgba(240, 182, 58, 0.22);
  box-shadow: 0 22px 44px rgba(81, 62, 21, 0.14);
}

.diagram-node::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background: linear-gradient(135deg, #f0b63a 0%, #f7d67e 100%);
}

.diagram-node h3 {
  font-size: 18px;
  color: #1f1303;
  margin-bottom: 12px;
}

.diagram-node p {
  font-size: 15px;
  color: #3d341f;
  margin-bottom: 14px;
}

.diagram-node-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.diagram-node-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #4a3d22;
}

.diagram-node-list li::before {
  content: "\2022";
  position: absolute;
  left: 6px;
  color: #f0b63a;
  font-size: 18px;
  line-height: 1;
}

.diagram-legend {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.legend-pill {
  padding: 6px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(240, 182, 58, 0.45);
  color: #7a5620;
  font-size: 13px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-container {
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 18px 36px rgba(26, 22, 15, 0.1);
}

.form-container input,
.form-container textarea {
  width: 100%;
  border: 1px solid #d7d1c2;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  color: #2e2615;
  background: #faf7ef;
}

.form-container textarea {
  min-height: 140px;
  resize: vertical;
}

.form-container button {
  background: linear-gradient(135deg, #f0b63a 0%, #f7d67e 100%);
  color: #2f1f00;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.form-container button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(240, 182, 58, 0.3);
}

.form-result {
  margin-top: 12px;
  font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: #161616;
  color: #dcdad4;
  padding: 26px 0;
  text-align: center;
  font-size: 14px;
  margin-top: 60px;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1024px) {
  .header-container {
    padding: 12px 24px;
  }

  .header-logo img {
    height: 54px;
  }
}

@media (max-width: 820px) {
  header {
    top: 40px;
  }

  .header-logo img {
    height: 48px;
  }

  nav ul {
    position: absolute;
    top: 100%;
    right: 12px;
    flex-direction: column;
    gap: 0;
    background: rgba(12, 12, 12, 0.92);
    border-radius: 10px;
    padding: 12px;
    min-width: 200px;
    display: none;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 6px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section {
    padding: 60px 20px;
  }

  .section-content {
    flex-direction: column;
    text-align: center;
  }

  .section-content.section-reverse {
    flex-direction: column;
  }

  .brand-card {
    padding: 28px 24px;
  }

  .section-img {
    width: 82%;
    max-width: 360px;
  }

  .section-text {
    width: 100%;
    align-items: center;
  }

  .brand-highlight .section-text {
    align-items: center;
  }

  .brand-highlight .section-img {
    height: auto;
    max-width: 320px;
  }

  .brand-meta {
    justify-content: center;
  }

  .brand-actions {
    justify-content: center;
  }

  .brand-instagram {
    width: 48px;
    height: 48px;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    margin-left: 66px;
    padding: 22px 22px;
  }

.timeline-step {
  left: -64px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  }

  .diagram-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .diagram-header {
    padding: 0 12px;
  }

  .brand-detail-meta,
  .brand-detail-actions {
    justify-content: center;
  }
}

/* Check Your Fit */
.fit-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.fit-group {
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 14px;
  padding: 20px;
}

.fit-group legend {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.fit-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.fit-check input[type="checkbox"] {
  margin-top: 4px;
}

.fit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fit-result {
  margin-top: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.fit-result strong {
  color: #0b5fff;
}

@media (max-width: 600px) {
  .fit-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
