/* ==========================================================================
   YAAN SYNERGIES — stylesheet
   Color system, type scale, layout and component styles for every section.
   ========================================================================== */

:root {
  --forest: #24382B;
  --forest-dark: #1a2a20;
  --brown: #765A43;
  --cream: #F4F0E7;
  --cream-dim: #ece6d6;
  --dark: #171A17;
  --ochre: #C99A35;
  --teal: #3C6E71;
  --white: #ffffff;

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1280px;
  --gap: clamp(1.5rem, 3vw, 3rem);
  --section-pad: clamp(4rem, 9vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.9rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--forest);
  max-width: 20ch;
}

.section-sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: #454f47;
  max-width: 60ch;
  margin-top: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest);
  color: var(--cream);
}
.btn--primary:hover { background: var(--forest-dark); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--outline:hover { background: var(--forest); color: var(--cream); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Placeholder image system ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest) 0%, var(--brown) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 14px);
}
.ph__label {
  position: relative;
  z-index: 1;
  color: rgba(244,240,231,0.85);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(244,240,231,0.35);
  border-radius: 2px;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.ph img.is-loaded { opacity: 1; }
.ph img.is-loaded ~ .ph__label { display: none; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,240,231,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23,26,23,0.08);
  transition: box-shadow 0.3s var(--ease);
}
.navbar.is-scrolled { box-shadow: 0 6px 24px rgba(23,26,23,0.06); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.navbar__logo {
  display: flex;
  align-items: center;
}
.navbar__logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.navbar__logo-text {
  margin-left: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--forest);
  white-space: nowrap;
}
.navbar__logo-text span { color: var(--brown); font-weight: 500; }
.navbar__nav {
  display: none;
  gap: clamp(1.25rem, 2vw, 2.5rem);
}
.navbar__nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 0.25rem 0;
}
.navbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px;
  background: var(--ochre);
  transition: right 0.3s var(--ease);
}
.navbar__nav a:hover::after { right: 0; }
.navbar__actions { display: flex; align-items: center; gap: 1rem; }
.navbar__cta { display: none; padding: 0.65rem 1.4rem; font-size: 0.82rem; }
.navbar__toggle {
  background: none; border: none; padding: 0.5rem;
  display: flex; flex-direction: column; gap: 5px;
}
.navbar__toggle span {
  width: 22px; height: 2px; background: var(--forest);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-top: 1px solid rgba(23,26,23,0.08);
  padding: 0.5rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
}
.navbar__mobile.is-open { display: flex; }
.navbar__mobile a {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(23,26,23,0.06);
  font-size: 1.05rem;
  font-weight: 500;
}
.navbar__mobile .btn { margin-top: 1rem; align-self: flex-start; }

@media (min-width: 900px) {
  .navbar__nav { display: flex; }
  .navbar__cta { display: inline-flex; }
  .navbar__toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 7rem) 0 0;
  text-align: center;
  overflow: hidden;
}
.hero__inner { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero__headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--forest);
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: #3f4a41;
  max-width: 46ch;
  margin-bottom: 2.25rem;
}
.hero__image-wrap {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 720px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
}

@media (min-width: 900px) {
  .hero__image-wrap { aspect-ratio: 16 / 9; }
}
.hero__image-wrap .ph { width: 100%; height: 100%; border-radius: 4px; }

/* ---------- Brand strip ---------- */
.brand-strip {
  border-top: 1px solid rgba(23,26,23,0.08);
  border-bottom: 1px solid rgba(23,26,23,0.08);
  overflow: hidden;
  padding: 1.5rem 0;
  background: var(--cream);
}
.brand-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(2.5rem, 6vw, 5rem);
  animation: marquee 36s linear infinite;
}
.brand-strip:hover .brand-strip__track { animation-play-state: paused; }
.brand-strip__item {
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: #8a8578;
  white-space: nowrap;
  filter: grayscale(1);
  opacity: 0.7;
}
.brand-strip__item--logo {
  filter: none;
  opacity: 1;
  height: 64px;
}
.brand-strip__item--logo img {
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-strip__track { animation: none; overflow-x: auto; }
}

/* ---------- About ---------- */
.about { padding: var(--section-pad) 0; }
.about__inner {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
.about__image { aspect-ratio: 3 / 2; border-radius: 4px; }
.about__image .ph { width: 100%; height: 100%; border-radius: 4px; }
.about__text p {
  margin-bottom: 1.15rem;
  color: #3a443c;
  font-size: 1.02rem;
}
.about__text p:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .about__inner { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
}

/* ---------- Northeast map section ---------- */
.northeast {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  color: var(--cream);
  overflow: hidden;
}
.northeast__bg { position: absolute; inset: 0; z-index: 0; }
.northeast__bg .ph { width: 100%; height: 100%; }
.northeast::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,26,23,0.72), rgba(23,26,23,0.55) 40%, rgba(23,26,23,0.85));
  z-index: 1;
}
.northeast__content { position: relative; z-index: 2; }
.northeast .eyebrow { color: var(--ochre); }
.northeast .section-heading { color: var(--cream); }
.northeast .section-sub { color: rgba(244,240,231,0.85); }

.northeast__cloud {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  max-width: 900px;
}
.cloud-word {
  font-family: var(--font-serif);
  color: var(--cream);
  opacity: 0.92;
  white-space: nowrap;
}
.cloud-word.cloud-sm { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(244,240,231,0.75); }
.cloud-word.cloud-md { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--cream); }
.cloud-word.cloud-lg { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--ochre); font-style: italic; }

/* ---------- Value addition ---------- */
.value-addition { padding: var(--section-pad) 0; }
.value-addition__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.capability-card {
  background: var(--white);
  border: 1px solid rgba(23,26,23,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.capability-card__img { aspect-ratio: 4 / 3; }
.capability-card__img .ph { width: 100%; height: 100%; }
.capability-card__body { padding: 1.5rem; }
.capability-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--forest);
  margin-bottom: 0.6rem;
}
.capability-card__body p { font-size: 0.92rem; color: #4a534c; }

@media (min-width: 640px) {
  .value-addition__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .value-addition__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- B2B ---------- */
.b2b { padding: var(--section-pad) 0; background: var(--cream-dim); }
.b2b__inner { display: grid; gap: 3rem; grid-template-columns: 1fr; }
.b2b__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.b2b__list-block h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1rem;
}
.b2b__list-block li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(23,26,23,0.1);
  font-size: 0.95rem;
  color: var(--dark);
}
.b2b__list-block li:last-child { border-bottom: none; }
#b2bCta { margin-top: 1.75rem; }

@media (min-width: 900px) {
  .b2b__inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- Brands ---------- */
.products { padding: var(--section-pad) 0; }
.products__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}
.product-card { text-align: left; min-width: 0; }
.product-card__img { aspect-ratio: 3 / 4; border-radius: 4px; }
.product-card__img .ph { width: 100%; height: 100%; border-radius: 4px; }
.product-card__brand {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
}
.product-card__name { margin-top: 0.3rem; font-size: 0.98rem; font-weight: 500; color: var(--dark); }

.product-card--more {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(23,26,23,0.25);
  border-radius: 4px;
  background: var(--cream-dim);
}
.product-card--more span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--brown);
}

@media (min-width: 640px) {
  .products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Statement ---------- */
.statement {
  position: relative;
  padding: clamp(6rem, 14vw, 11rem) 0;
  overflow: hidden;
  color: var(--cream);
}
.statement__bg { position: absolute; inset: 0; z-index: 0; }
.statement__bg .ph { width: 100%; height: 100%; }
.statement__bg .ph__label { display: none; }
.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,26,23,0.55), rgba(23,26,23,0.75));
  z-index: 1;
}
.statement__inner { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.statement__line {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  line-height: 1.3;
}
.statement__closing {
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
}

/* ---------- CTA ---------- */
.cta { padding: var(--section-pad) 0; text-align: center; }
.cta__inner { max-width: 700px; margin: 0 auto; }
.cta__heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--forest);
}
.cta__text { margin-top: 1.25rem; color: #454f47; font-size: 1.05rem; }
.cta__contact {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  color: var(--brown);
  font-size: 0.95rem;
}
.cta__contact a:hover { color: var(--forest); }

.cta__form {
  margin-top: 3rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cta__form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.cta__form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.cta__form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
}
.cta__form-field input,
.cta__form-field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(23,26,23,0.18);
  border-radius: 2px;
  background: var(--white);
  color: var(--dark);
  resize: vertical;
}
.cta__form-field input:focus,
.cta__form-field textarea:focus {
  outline: none;
  border-color: var(--forest);
}
.cta__form > .btn { align-self: flex-start; }
.cta__form-note {
  font-size: 0.9rem;
  color: var(--forest);
  min-height: 1.2em;
}

@media (min-width: 640px) {
  .cta__form-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(244,240,231,0.75); padding: 4.5rem 0 0; }
.footer__inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(244,240,231,0.1);
}
.footer__brand p { margin-top: 1rem; max-width: 34ch; font-size: 0.92rem; }
.footer__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
}
.footer__columns h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,240,231,0.5);
  margin-bottom: 1rem;
}
.footer__columns li { margin-bottom: 0.65rem; font-size: 0.92rem; }
.footer__columns a:hover { color: var(--ochre); }

.footer__legal {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(244,240,231,0.1);
  font-size: 0.85rem;
  color: rgba(244,240,231,0.55);
}
.footer__legal p { margin-bottom: 0.4rem; }
.footer__legal p:last-child { margin-bottom: 0; }
#footerLegalName { color: rgba(244,240,231,0.85); font-weight: 600; }
.footer__legal-line { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.footer__bottom { padding: 1.75rem 0; font-size: 0.82rem; color: rgba(244,240,231,0.45); }

@media (min-width: 700px) {
  .footer__inner { grid-template-columns: 1.2fr 2fr; }
}
