/* ── The Contrasted Cube ── Global Styles ── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=DM+Mono:wght@400;500&display=swap');

/* ── Tokens ── */
:root {
  --teal:        #4AADA0;
  --teal-light:  #6EC8BC;
  --teal-dark:   #337A72;
  --teal-wash:   #EBF7F6;
  --charcoal:    #2B3340;
  --slate:       #4A5568;
  --mid:         #718096;
  --mist:        #CBD5E0;
  --fog:         #EDF2F7;
  --off-white:   #FAFAF9;
  --white:       #FFFFFF;
  --ink:         #1A202C;

  --ff-display:  'Playfair Display', Georgia, serif;
  --ff-body:     'DM Sans', sans-serif;
  --ff-mono:     'DM Mono', monospace;

  --radius-sm:   4px;
  --radius:      10px;
  --radius-lg:   20px;
  --radius-xl:   40px;

  --shadow-sm:   0 1px 3px rgba(43,51,64,.08), 0 1px 2px rgba(43,51,64,.06);
  --shadow:      0 4px 16px rgba(43,51,64,.10), 0 2px 6px rgba(43,51,64,.06);
  --shadow-lg:   0 12px 40px rgba(43,51,64,.14), 0 4px 12px rgba(43,51,64,.08);
  --shadow-teal: 0 8px 30px rgba(74,173,160,.25);

  --transition: all .28s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--off-white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 72px;
  background: rgba(250,250,249,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(203,213,224,.5);
  transition: var(--transition);
}
.nav__logo {
  display: flex; align-items: center; gap: .75rem;
}
.nav__logo img {
  height: 40px; width: auto;
}
.nav__wordmark {
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav__wordmark span:first-child {
  font-family: var(--ff-body); font-size: .65rem; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mid);
}
.nav__wordmark span:last-child {
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700;
  color: var(--charcoal); letter-spacing: .01em;
}
.nav__links {
  display: flex; align-items: center; gap: 2rem;
}
.nav__links a {
  font-size: .875rem; font-weight: 500; color: var(--slate);
  letter-spacing: .02em; transition: var(--transition);
  position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--teal);
  transition: width .25s ease;
}
.nav__links a:hover { color: var(--teal); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.active { color: var(--teal); }
.nav__links a.active::after { width: 100%; }
.nav__cta {
  padding: .5rem 1.25rem; border-radius: var(--radius-xl);
  background: var(--teal); color: var(--white) !important;
  font-size: .8rem !important; font-weight: 500 !important;
  letter-spacing: .06em !important; text-transform: uppercase;
  transition: var(--transition) !important;
  box-shadow: var(--shadow-teal);
}
.nav__cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px); }
.nav__cta::after { display: none !important; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--charcoal);
  border-radius: 2px; transition: var(--transition);
}

/* ── Page wrapper ── */
.page { padding-top: 72px; }

/* ── Sections ── */
.section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); }
.section--teal { background: var(--teal-wash); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--white { background: var(--white); }

.container { max-width: 1180px; margin: 0 auto; }
.container--narrow { max-width: 760px; margin: 0 auto; }

/* ── Typography ── */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--teal-light); }

h1, h2, h3 { font-family: var(--ff-display); line-height: 1.15; }

.heading-xl {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700; letter-spacing: -.02em; color: var(--ink);
}
.heading-xl em { font-style: italic; color: var(--teal); }

.heading-lg {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -.02em;
}

.heading-md {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600; letter-spacing: -.01em;
}

.body-lg { font-size: 1.15rem; line-height: 1.75; color: var(--slate); }
.body-md { font-size: 1rem; line-height: 1.75; color: var(--slate); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 2rem; border-radius: var(--radius-xl);
  font-family: var(--ff-body); font-size: .9rem; font-weight: 500;
  letter-spacing: .03em; transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal); color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 35px rgba(74,173,160,.35); }
.btn--outline {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn--outline:hover { background: var(--teal-wash); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255,255,255,.1); color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
}
.btn--ghost:hover { background: rgba(255,255,255,.2); }

/* ── Divider ── */
.divider {
  width: 48px; height: 3px; background: var(--teal);
  border-radius: 2px; margin: 1.25rem 0 1.75rem;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 72px);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 1280px; margin: 0 auto;
  overflow: hidden;
}
.hero__content { position: relative; z-index: 1; }
.hero__content .heading-xl { margin-bottom: 1.5rem; }
.hero__content .body-lg { margin-bottom: 2.5rem; max-width: 480px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__note {
  margin-top: 2rem; font-size: .8rem; color: var(--mid);
  font-family: var(--ff-mono); letter-spacing: .05em;
}
.hero__note span { color: var(--teal); }

.hero__visual {
  position: relative; display: flex;
  justify-content: center; align-items: center;
}
.hero__blob {
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(ellipse at 60% 40%, rgba(74,173,160,.18) 0%, rgba(74,173,160,.05) 60%, transparent 80%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
.hero__logo-wrap {
  position: relative; z-index: 1;
  width: 340px; height: 340px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem;
  border: 1px solid rgba(203,213,224,.5);
}
.hero__logo-wrap img { width: 100%; height: 100%; object-fit: contain; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(.5deg); }
  66% { transform: translateY(-8px) rotate(-.5deg); }
}

/* ── Feature grid ── */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3.5rem; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid rgba(203,213,224,.6);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.feature-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--teal-wash); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 1.4rem;
}
.feature-card h3 {
  font-family: var(--ff-display); font-size: 1.2rem; font-weight: 600;
  margin-bottom: .6rem; color: var(--ink);
}
.feature-card p { font-size: .9rem; color: var(--slate); line-height: 1.7; }

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .divider { margin-left: auto; margin-right: auto; }

/* ── About preview ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-grid__img {
  position: relative;
}
.about-grid__img-inner {
  width: 100%; padding-bottom: 100%;
  border-radius: var(--radius-lg);
  background: var(--teal-wash);
  overflow: hidden; position: relative;
  box-shadow: var(--shadow);
}
.about-grid__img-inner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  padding: 2.5rem;
}
.about-grid__accent {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 80px; height: 80px; border-radius: var(--radius);
  background: var(--teal); opacity: .25; z-index: -1;
}
.about-grid__content .eyebrow { display: block; }
.about-grid__content h2 { margin-bottom: 1rem; }
.about-grid__content p { margin-bottom: 1.5rem; }

/* ── Values ── */
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3rem; }
.value-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem; background: rgba(255,255,255,.06);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08);
}
.value-item__dot {
  flex-shrink: 0; width: 10px; height: 10px;
  background: var(--teal-light); border-radius: 50%; margin-top: .45rem;
}
.value-item h4 {
  font-family: var(--ff-display); font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: .3rem;
}
.value-item p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.65; }

/* ── Banner CTA ── */
.banner {
  text-align: center; padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.banner__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
}
.banner__content { position: relative; z-index: 1; }
.banner h2 { color: var(--white); margin-bottom: 1rem; }
.banner p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2.5rem; }

/* ── Footer ── */
.footer {
  background: var(--ink); color: rgba(255,255,255,.7);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer__brand img { height: 52px; margin-bottom: 1rem; filter: brightness(0) invert(1) opacity(.9); }
.footer__brand p { font-size: .875rem; line-height: 1.7; max-width: 260px; }
.footer__col h4 {
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col a { font-size: .875rem; transition: var(--transition); }
.footer__col a:hover { color: var(--teal-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.footer__bottom a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer__bottom a:hover { color: var(--teal-light); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--teal-wash);
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  border-bottom: 1px solid rgba(74,173,160,.15);
}
.page-hero .eyebrow { display: block; text-align: center; margin-bottom: .5rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: var(--slate); max-width: 560px; margin: 0 auto; }

/* ── About page ── */
.about-story { display: grid; grid-template-columns: 3fr 2fr; gap: 5rem; align-items: start; }
.about-story__content h2 { margin-bottom: 1rem; }
.about-story__content p { margin-bottom: 1.25rem; color: var(--slate); line-height: 1.8; }
.about-story__aside {
  position: sticky; top: calc(72px + 2rem);
}
.about-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid rgba(203,213,224,.6);
  box-shadow: var(--shadow);
}
.about-card img { width: 100%; border-radius: var(--radius); margin-bottom: 1.25rem; object-fit: contain; background: var(--teal-wash); padding: 1.5rem; }
.about-card h3 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.about-card p { font-size: .875rem; color: var(--slate); }

.about-values { margin-top: 4rem; }
.about-values h2 { margin-bottom: 2rem; }
.about-values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.about-value-item {
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid rgba(203,213,224,.6);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.about-value-item:hover { border-color: var(--teal); transform: translateY(-3px); }
.about-value-item .num {
  font-family: var(--ff-mono); font-size: 2.5rem; font-weight: 500;
  color: var(--teal); opacity: .3; line-height: 1; margin-bottom: .75rem;
}
.about-value-item h3 {
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 600;
  margin-bottom: .5rem; color: var(--ink);
}
.about-value-item p { font-size: .875rem; color: var(--slate); line-height: 1.7; }

/* ── Support page ── */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.support-card {
  padding: 2.5rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid rgba(203,213,224,.6);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.support-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.support-card__icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--teal-wash); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.5rem;
}
.support-card h3 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; margin-bottom: .75rem; }
.support-card p { color: var(--slate); font-size: .95rem; line-height: 1.75; margin-bottom: 1.5rem; }
.support-card a.link {
  color: var(--teal); font-weight: 500; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: var(--transition);
}
.support-card a.link:hover { color: var(--teal-dark); gap: .65rem; }

.faq { margin-top: 5rem; }
.faq h2 { margin-bottom: 2.5rem; }
.faq-item {
  border-bottom: 1px solid var(--fog);
  padding: 1.5rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--fog); }
.faq-item__q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; gap: 1rem;
}
.faq-item__q h4 {
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600;
  color: var(--ink);
}
.faq-item__toggle {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--teal-wash);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 1.1rem; font-weight: 300;
  transition: var(--transition);
}
.faq-item.open .faq-item__toggle { background: var(--teal); color: var(--white); transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-item__a { max-height: 200px; padding-top: 1rem; }
.faq-item__a p { color: var(--slate); font-size: .95rem; line-height: 1.75; }

/* ── Animations ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero__content .body-lg { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__logo-wrap { width: 240px; height: 240px; }
  .features { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-story { grid-template-columns: 1fr; }
  .about-story__aside { position: static; }
  .about-values-grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-values-grid { grid-template-columns: 1fr; }
  .hero__logo-wrap { width: 200px; height: 200px; }
}
