/* =========================================
   TwoRoots Ingredients — Main Stylesheet
   Brand: #FFFCF2 (oat) | #104030 (forest) | #F1A900 (gold)
   ========================================= */

:root {
  --oat:    #FFFCF2;
  --forest: #104030;
  --gold:   #F1A900;
  --forest-90: rgba(16,64,48,0.90);
  --forest-12: rgba(16,64,48,0.12);
  --forest-08: rgba(16,64,48,0.08);
  --forest-55: rgba(16,64,48,0.55);
  --white:  #ffffff;

  --display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body:    'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-card: 0 2px 20px rgba(16,64,48,0.08);
  --shadow-hover: 0 8px 32px rgba(16,64,48,0.14);

  --max-w: 1240px; /* one consistent content width for all sections */
  --nav-h: 76px;
}

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

html { scroll-behavior: auto; overflow-x: hidden; } /* anchor links jump directly; overflow-x guards against scroll-reveal transforms causing a horizontal scrollbar */

body {
  overflow-x: hidden;
  font-family: var(--body);
  color: var(--forest);
  background: var(--oat);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- UTILITIES ---- */
.container {
  width: min(var(--max-w), calc(100% - 48px));
  margin-inline: auto;
}

.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.section { padding: 88px 0; }
.section-light { background: var(--oat); }
.section-accent { background: var(--forest); }
.section-dark { background: var(--forest); }

.eyebrow {
  font-size: 0.891rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow-light { color: rgba(241,169,0,0.9); }

.section-head { margin-bottom: 52px; }
.section-head.center { display: flex; flex-direction: column; align-items: center; }

.section-title {
  font-family: var(--display);
  font-size: clamp(2.44rem, 3.8vw, 3.66rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--forest);
}
.title-light { color: var(--oat); }

.section-lead {
  margin-top: 16px;
  font-size: 1.281rem;
  color: var(--forest-55);
  max-width: 54ch;
}
.lead-light { color: rgba(255,252,242,0.72); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 1.159rem;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--forest);
  color: var(--oat);
  box-shadow: 0 4px 16px rgba(16,64,48,0.22);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(16,64,48,0.30); }
.btn-ghost {
  background: rgba(16,64,48,0.07);
  color: var(--forest);
}
.btn-ghost:hover { background: rgba(16,64,48,0.13); }
.btn-outline-light {
  background: transparent;
  color: var(--oat);
  border: 1.5px solid rgba(255,252,242,0.4);
}
.btn-outline-light:hover { background: rgba(255,252,242,0.08); }
.btn-gold {
  background: var(--gold);
  color: var(--forest);
  box-shadow: 0 4px 16px rgba(241,169,0,0.30);
}
.btn-gold:hover { box-shadow: 0 8px 24px rgba(241,169,0,0.40); }

/* ---- NAV ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,252,242,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--forest-12);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(16,64,48,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  width: min(var(--max-w), calc(100% - 48px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 1;
}
.brand img { width: 168px; height: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 1.122rem;
  font-weight: 500;
  color: var(--forest-90);
  transition: background 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover { background: var(--forest-08); color: var(--forest); }

.nav-cta { margin-left: 8px; font-size: 1.159rem; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle { border: none; background: none; font-family: inherit; font-size: 1.122rem; font-weight: 500; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: auto;
  background: var(--white);
  border: 1px solid var(--forest-12);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(16,64,48,0.14);
  padding: 16px;
  display: none;
  grid-template-columns: 1fr;
  gap: 4px;
  width: 320px;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel { display: grid; }

/* invisible bridge over the gap between the toggle and the panel,
   so the dropdown doesn't close while the mouse crosses it */
.dropdown-panel::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -24px;
  right: -24px;
  height: 16px;
}

.dropdown-eyebrow {
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.dropdown-item {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 1.098rem;
  font-weight: 500;
  color: var(--forest);
  transition: background 0.14s ease;
  line-height: 1.3;
}
.dropdown-item span {
  display: block;
  font-size: 0.976rem;
  font-weight: 400;
  color: var(--forest-55);
  margin-top: 2px;
}
.dropdown-item:hover { background: var(--forest-08); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 0;
  overflow-x: clip; /* the hero image bleeds to the screen edge; don't let it cause sideways scrolling */
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 26px;
  padding-bottom: 60px;
  position: relative;
  text-align: left;
}

.hero-text { max-width: 640px; }

.hero-text .eyebrow { color: var(--forest-55); }

.display-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin-bottom: 0; order: 2;
  white-space: nowrap;
  text-align: center;
}

.hero-lead { font-size: 1.05rem; color: var(--forest-55); max-width: none; margin-bottom: 0; order: 3; text-align: center; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; order: 4; justify-content: center; }

.hero-gallery {
  position: relative;
  z-index: 1;
  order: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin: 0;
}
.hero-gallery .hg-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--forest-08);
  aspect-ratio: 4 / 5;
}
.hero-gallery .hg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.hero-gallery .hg-item:hover img { transform: scale(1.05); }
.hero-text {
  position: relative;
  z-index: 1;
}

/* Work-with-us choice cards */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.choice-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
}
.choice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16,64,48,0.18);
}
.choice-card > * { position: relative; z-index: 1; }

/* breathing ring pattern in the top-right corner */
.choice-card::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  animation: choiceBreathe 6s ease-in-out infinite;
}
.choice-card-forest::before {
  background: repeating-radial-gradient(circle at center,
    rgba(241,169,0,0.14) 0px, rgba(241,169,0,0.14) 1.5px,
    transparent 1.5px, transparent 26px);
}
.choice-card-gold::before {
  background: repeating-radial-gradient(circle at center,
    rgba(16,64,48,0.14) 0px, rgba(16,64,48,0.14) 1.5px,
    transparent 1.5px, transparent 26px);
  animation-delay: 3s;
}
@keyframes choiceBreathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* light sweep gliding across the card */
.choice-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: choiceSheen 7s ease-in-out infinite;
}
.choice-card-gold::after { animation-delay: 1.4s; }
@keyframes choiceSheen {
  0% { left: -75%; }
  22% { left: 125%; }
  100% { left: 125%; }
}
.choice-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.choice-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.choice-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.choice-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}
.choice-cta svg { transition: transform 0.25s ease; }
.choice-card:hover .choice-cta svg { transform: translateX(4px); }
.choice-card-forest { background: var(--forest); }
.choice-card-forest .choice-eyebrow { color: var(--gold); }
.choice-card-forest h3 { color: var(--oat); }
.choice-card-forest p { color: rgba(255,252,242,0.72); }
.choice-card-forest .choice-cta { color: var(--gold); }
.choice-card-gold { background: var(--gold); }
.choice-card-gold .choice-eyebrow { color: rgba(16,64,48,0.65); }
.choice-card-gold h3 { color: var(--forest); }
.choice-card-gold p { color: rgba(16,64,48,0.75); }
.choice-card-gold .choice-cta { color: var(--forest); }
@media (max-width: 860px) {
  .choice-grid { grid-template-columns: 1fr; }
}

/* Stats band */
.stats-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  padding: 56px 48px;
}
.stat {
  flex: 1;
  text-align: center;
  color: var(--forest);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat span {
  font-size: 0.92rem;
  color: var(--forest-55);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--forest-12);
  margin: 0 32px;
  flex-shrink: 0;
}
.partner-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
}
.partner-logo-link img { transition: filter 0.3s ease; }
.partner-logo-link:hover {
  transform: scale(1.08) translateY(-6px) rotate(-1.5deg);
}
.partner-logo-link:active {
  transform: scale(1.02) translateY(-2px);
}
.stat-autoin {
  opacity: 0;
  animation: statFadeIn 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
.stat-autoin:nth-child(1) { animation-delay: 0.1s; }
.stat-autoin:nth-child(3) { animation-delay: 0.25s; }
.stat-autoin:nth-child(5) { animation-delay: 0.4s; }
.stat-autoin:nth-child(7) { animation-delay: 0.55s; }
@keyframes statFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-pop strong {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1), opacity 0.5s ease;
}
.stat-pop.stat-pop-in strong {
  transform: scale(1);
  opacity: 1;
}

/* ---- SOLUTIONS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.solution-card {
  background: rgba(255,252,242,0.08);
  border: 1px solid rgba(255,252,242,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease;
}
.solution-card:hover {
  transform: translateY(-4px);
  background: rgba(255,252,242,0.12);
}
.solution-img-wrap {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.solution-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.solution-body { padding: 22px 24px 26px; }
.solution-body h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--oat);
  margin-bottom: 8px;
}
.solution-body p {
  font-size: 0.92rem;
  color: rgba(255,252,242,0.65);
  line-height: 1.6;
}

/* ---- PARTNERS ---- */
.partners-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin-inline: auto;
}

/* ---- PROCESS / HOW WE WORK ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.process-step {
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.process-step:hover {
  background: #134a37;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16,64,48,0.18);
}
.process-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.process-content h3 {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--oat);
  margin-bottom: 8px;
}
.process-content p {
  font-size: 0.9rem;
  color: rgba(255,252,242,0.62);
  line-height: 1.65;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ---- TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 880px;
  margin-inline: auto;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--forest-12);
  border-radius: var(--radius-xl);
  padding: 32px 24px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 3px solid var(--forest-12);
  background: var(--forest-08);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
}
.team-avatar-placeholder span {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}
.team-info h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 4px;
}
.team-info p {
  font-size: 0.88rem;
  color: var(--forest-55);
  margin-bottom: 14px;
  line-height: 1.4;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest-55);
  transition: color 0.15s ease;
}
.team-card:hover .team-linkedin { color: var(--forest); }
.team-card { position: relative; }
.team-card-cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.team-linkedin { position: relative; z-index: 2; text-decoration: none; }
.team-linkedin svg { width: 19px; height: 19px; }

/* ---- CONTACT ---- */
/* long-string safety: a long e-mail must not force the grid wider than the screen */
.contact-container > * { min-width: 0; }
.contact-list li, .contact-list a { overflow-wrap: anywhere; }

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 16px; }

.contact-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--forest-55);
}
.contact-list li svg { flex-shrink: 0; color: var(--forest); }
.contact-list a { color: var(--forest-55); transition: color 0.15s ease; }
.contact-list a:hover { color: var(--forest); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--forest-12);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 10px 36px rgba(16,64,48,0.10);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest);
}
.form-group input,
.form-group textarea {
  font: inherit;
  font-size: 0.95rem;
  background: rgba(16,64,48,0.04);
  border: 1px solid var(--forest-12);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  color: var(--forest);
  transition: border-color 0.18s ease, background 0.18s ease;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(16,64,48,0.35); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--forest-55);
}
.form-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.form-consent a { color: var(--gold); text-decoration: underline; }

.form-status {
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.4em;
  color: var(--forest);
}
.form-status.error { color: #f87171; }

/* ---- FOOTER ---- */
.site-footer {
  background: rgba(16,64,48,0.97);
  border-top: 1px solid rgba(255,252,242,0.10);
  padding: 40px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,252,242,0.10);
}
.footer-brand img {
  width: 168px;
  filter: brightness(0) invert(1);
  display: block;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: center;
  justify-content: center;
}
.footer-links a {
  font-size: 1.074rem;
  color: rgba(255,252,242,0.60);
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--oat); }
.footer-social {
  display: flex;
  justify-content: flex-end;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,252,242,0.08);
  color: rgba(255,252,242,0.70);
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { background: rgba(255,252,242,0.16); color: var(--oat); }
.footer-copyright {
  text-align: center;
  padding-top: 20px;
  font-size: 1.0rem;
  color: rgba(255,252,242,0.35);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 980px) {
  .hero-container { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { max-width: 100%; }
  .hero-gallery { max-width: 520px; margin: 0 auto; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; max-width: 600px; }
  .contact-container { grid-template-columns: 1fr; gap: 40px; }
  .stats-band { gap: 0; flex-wrap: wrap; padding: 28px 24px; }
  .stat { min-width: 120px; flex: none; padding: 12px; }
  .stat-divider { display: none; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand img { margin: 0 auto; }
  .footer-social { justify-content: center; }
}

/* mobile menu kicks in at 1000px (matches the menu script) so the
   six nav items never overflow on tablets */
@media (max-width: 1000px) {
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-link-cta { display: inline-flex; }
  .site-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--oat);
    border-top: 1px solid var(--forest-12);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    box-shadow: 0 12px 32px rgba(16,64,48,0.12);
    z-index: 99;
    margin-left: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav .nav-link { padding: 0.7rem 0.85rem; font-size: 1rem; }
  .dropdown-panel {
    position: static;
    transform: none;
    min-width: 0; width: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    border: none;
    box-shadow: none;
    padding: 8px 0 8px 16px;
    background: transparent;
    display: none;
    border-radius: 0;
  }
  .nav-dropdown.open .dropdown-panel { display: grid; }
}

@media (max-width: 720px) {
  :root { --nav-h: 68px; }
  .section { padding: 64px 0; }
  .container { width: calc(100% - 32px); }
  .cards-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; }
  .display-title { font-size: clamp(2.4rem, 10vw, 3.4rem); white-space: normal; }
  .partners-wrap { padding: 28px 20px 24px; }
  .contact-form { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .btn:hover { transform: none; }
}

/* =========================================
   SCROLL REVEAL
   ========================================= */
.sr-fade-up {
  opacity: 0;
  transform: translateY(64px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1);
}
.sr-fade-up.sr-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.sr-delay-1 { transition-delay: 0.10s; }
.sr-delay-2 { transition-delay: 0.20s; }
.sr-delay-3 { transition-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .sr-fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* =========================================
   INTRO OVERLAY
   ========================================= */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #FFFCF2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 1s ease, visibility 1s ease;
}
#intro-overlay.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
html.intro-skip #intro-overlay { display: none !important; }
#intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#intro-logo {
  position: relative;
  z-index: 2;
  width: clamp(240px, 26vw, 380px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.8s ease-out, transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.35));
}
#intro-logo.show { opacity: 1; transform: scale(1); }
#intro-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
#intro-hint.show { opacity: 1; }
#intro-hint span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFCF2;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #FFFCF2, transparent);
  margin: 0 auto;
  animation: hintPulse 1.5s ease-in-out infinite;
}
@keyframes hintPulse {
  0%,100% { opacity: 0.4; } 50% { opacity: 1; }
}
body.no-scroll { overflow: hidden; }
/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}
.lang-link {
  font-size: 1.037rem;
  font-weight: 600;
  color: var(--forest-55);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 2px 2px;
}
.lang-link:hover { color: var(--forest); }
.lang-link.lang-active { color: var(--forest); }
.lang-sep { color: var(--forest-12); font-size: 1.037rem; }

/* "Request info" as a menu item: shown only in the mobile menu,
   desktop already has the round button next to the menu */
.nav-link-cta { display: none; }
@media (max-width: 1000px) {
  .nav-link-cta { display: inline-flex; }
}

/* ---- JUSTIFIED BODY TEXT: straight right edges in all text blocks ---- */
.about-content-col p,
.partner-content-col p,
.ing-body > p,
.aa-section-text > p,
.aa-subcard p,
.wwd-text p,
.wyg-intro p,
.wyg-card p,
.team-intro p,
.thc-overlay p:not(.thc-title),
.pc-body > p,
.mfr-step p,
.mfr-sol-card p,
.benefits-lead,
.choice-card p,
.car-why-card p,
.car-open-box p,
.legal-body p,
.art-body,
.art-body-light {
  text-align: justify;
  hyphens: none; /* never split words like "pre-sence"; whole word moves to the next line */
  -webkit-hyphens: none;
}

/* Hide the tiny orange all-caps section kickers (eyebrows) site-wide, per request. Card/ingredient labels are kept. */
.eyebrow, .about-type { display: none !important; }

/* ---- MOBILE: show content immediately (no scroll-reveal dependency on phones) ---- */
@media (max-width: 860px) {
  .sr-fade-up, .reveal, .fade-up, .fade-left, .fade-right, .aa-section, .ing-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* uzun kelime guvenligi: Almanca birlesik kelimeler dar ekranda tasmasin */
h1, h2, h3, .section-title, .display-title, .art-title, .art-h2 {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  max-width: 100%;
}
/* ortalanmis flex kutularinda ogeler kabi asmasin */
.section-head.center > *, .center > * { max-width: 100%; }
@media (max-width: 400px) {
  /* dar ekranda buton yazisi tek satira sigmiyorsa alta kaysin */
  .btn { white-space: normal; text-align: center; }
}

/* contact form: source dropdown, styled like the other fields */
.form-group select {
  font: inherit;
  font-size: 0.95rem;
  background: rgba(16,64,48,0.04);
  border: 1px solid var(--forest-12);
  border-radius: var(--radius-md);
  padding: 0.8rem 2.6rem 0.8rem 1rem;
  color: var(--forest);
  transition: border-color 0.18s ease, background 0.18s ease;
  cursor: pointer;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23104030' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
}
.form-group select:invalid,
.form-group select option[value=""] { color: rgba(16,64,48,0.45); }
