/* Look Twice — page layout, nav, sections, footer */

.page {
  max-width: var(--maxw-page);
  margin: 0 auto;
  background: var(--c-cream);
  box-shadow: var(--sh-card);
}

.section {
  padding: var(--section-y) var(--gutter);
  background: var(--c-cream);
  position: relative;
  overflow: hidden;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-5) var(--gutter);
  background: var(--c-cream);
}
.nav__logo {
  height: clamp(34px, 1.5vw + 28px, 56px);
  width: auto;
  filter: brightness(0) saturate(0);
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.5vw + 0.5rem, 2rem);
}
.nav__menu a {
  color: var(--c-ink);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  padding: var(--s-2) 0;
}
.nav__menu a:hover { color: var(--c-pink); }
.nav__menu .nav__cta,
.nav .nav__cta {
  display: inline-flex;
  align-items: center;
  background: var(--c-pink);
  color: #fff;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-heavy);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__menu .nav__cta:hover,
.nav__menu .nav__cta:focus-visible { transform: translateY(-1px); background: #c70062; color: #fff; }

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

@media (max-width: 1100px) {
  .nav__menu { display: none; }
  .nav__menu--open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-cream);
    padding: var(--s-4) var(--gutter) var(--s-6);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    z-index: 50;
  }
  .nav__menu--open a {
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--c-ink-faint);
    font-size: 1.0625rem;
  }
  .nav__menu--open .nav__cta {
    margin-top: var(--s-3);
    justify-content: center;
    text-align: center;
  }
  .nav__toggle { display: flex; }
  .nav { position: relative; }
}
@media (max-width: 1100px) {
  .nav { padding: var(--s-4) var(--gutter); }
}

/* FOOTER */
.footer {
  background: var(--c-navy);
  color: rgba(249, 246, 241, 0.66);
  padding: clamp(2rem, 3vw + 1rem, 3rem) var(--gutter) var(--s-5);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.footer__cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-8);
  /* Pull the whole footer content inboard from the page edges */
  padding-left: clamp(0px, 4vw, 64px);
  padding-right: 0;
}

.footer__content {
  display: flex;
  gap: clamp(2rem, 4vw + 0.5rem, 4.5rem);
  flex-wrap: wrap;
}

.footer__col { min-width: 0; }
.footer__col--brand {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-shrink: 0;
}

.footer__heading {
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-cap);
  text-transform: uppercase;
  color: var(--c-cream);
  margin: 0 0 var(--s-3);
  font-style: normal;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.footer__list a {
  color: rgba(249, 246, 241, 0.7);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.footer__list a:hover { color: var(--c-cream); }

.footer__address {
  display: flex;
  flex-direction: column;
  font-style: normal;
  color: rgba(249, 246, 241, 0.7);
}
.footer__address > span[data-o="1"] { order: 1; }
.footer__address > span[data-o="2"] { order: 2; }
.footer__address > span[data-o="3"] { order: 3; }

.footer__logo {
  height: clamp(56px, 5vw, 84px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__legal {
  margin-top: clamp(2rem, 3vw + 0.5rem, 3rem);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(249, 246, 241, 0.12);
  font-size: 0.6875rem;
  color: rgba(249, 246, 241, 0.5);
  text-align: center;
}
.footer__legal p { margin: 0; }
.footer__legal strong { font-weight: var(--fw-bold); color: rgba(249, 246, 241, 0.7); }

@media (max-width: 900px) {
  .footer__cols {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }
  .footer__col--brand {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .footer__content { gap: var(--s-5); flex-direction: column; }
}

/* HERO layout */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: start;
}
@media (min-width: 720px) {
  .hero__grid {
    grid-template-columns: 60% 40%;
    gap: clamp(2rem, 3vw + 1rem, 3.75rem);
  }
}
/* Column itself fills the 60% grid track; only body paragraphs get the
   readability cap so line-length stays comfortable. H1 is free to use
   the full column. */
.hero__copy h1 { margin-top: var(--s-6); margin-bottom: var(--s-6); }
.hero__copy p { margin-bottom: var(--s-5); max-width: var(--maxw-prose); }
.hero__copy h1 em { color: var(--c-pink); }
.hero__lead {
  font-size: var(--fs-lead);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--c-black);
}
.hero__cta-wrap { margin-top: var(--s-2); }
.hero__cta-prompt {
  font-size: var(--fs-lead);
  font-weight: var(--fw-bold);
  color: var(--c-black);
  margin-bottom: var(--s-4);
}
/* Button stays left-aligned (default). The note sits directly under it
   in a stack whose width matches the button — note text wraps to button
   width and centres within it. */
.hero__cta-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
}
.hero__cta-note {
  display: block;
  font-size: var(--fs-small);
  color: var(--c-ink-mute);
  margin: var(--s-4) 0 0;
  text-align: center;
  /* Flex trick: take 100% of parent width without pushing the parent
     wider than the button's natural width. */
  width: 0;
  min-width: 100%;
}

/* SERVICES layout */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
@media (min-width: 720px) {
  .services__grid { grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-10); }
}
@media (min-width: 1100px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-10); }
}
.services h2 { margin-bottom: var(--s-10); }
.services h2 em { color: var(--c-teal); }

/* LOGOS section */
.logos h2 em { color: var(--c-pink); }
.logos__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-10);
}
@media (min-width: 720px) {
  .logos__intro {
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 3vw + 0.5rem, 4rem);
    align-items: center;
  }
}
.logos__intro p { font-size: var(--fs-body); color: var(--c-ink); }

.logos__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(2.5rem, 4vw, 4rem);
  justify-items: center;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
}
.stat__num {
  font-weight: var(--fw-black);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: var(--ls-display);
  font-style: italic;
}
.stat__num sup {
  font-size: 0.55em;
  vertical-align: baseline;
  margin-left: 2px;
  font-style: normal;
}
.stat[data-accent="pink"]   .stat__num { color: var(--c-pink); }
.stat[data-accent="teal"]   .stat__num { color: var(--c-teal); }
.stat[data-accent="indigo"] .stat__num { color: var(--c-indigo); }
.stat__label {
  font-size: clamp(0.75rem, 0.5vw + 0.7rem, 0.9375rem);
  font-weight: var(--fw-bold);
  color: var(--c-ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 14ch;
  line-height: 1.25;
}

@media (max-width: 540px) {
  .logos__stats { gap: var(--s-3); }
  .stat__label { font-size: 0.7rem; }
}

/* ABOUT layout */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
  align-items: start;
}
@media (min-width: 720px) {
  .about__grid {
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(2rem, 3vw + 0.5rem, 4rem);
  }
}
.about h2 { margin-bottom: var(--s-10); }
.about h2 em { color: var(--c-purple); }
.about__panels { display: flex; flex-direction: column; gap: var(--s-8); }

/* CONTACT layout */
.contact h2 { margin-bottom: var(--s-10); }
.contact h2 em { color: var(--c-indigo); }
