/* ==========================================================================
   LODA Creative — styles.css
   Design tokens first: change the brand in one place.
   ========================================================================== */

:root {
  --paper: #F4F1EA;
  --ink: #141412;
  --accent: #E8492A;
  --muted: #57544A;
  --body-text: #38362F;
  --line: #D8D2C4;
  --line-dark: #34322B;
  --panel-dark: #1E1D19;
  --text-on-dark: #C9C4B6;
  --sand: #DCD5C4;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Archivo', sans-serif;

  --gutter: clamp(20px, 4.5vw, 64px);
  --section-pad: clamp(56px, 7vw, 96px);
  --radius: 16px;
}

/* Base ------------------------------------------------------------------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 800; }
h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; }

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
main a:hover, .footer a:hover { color: var(--accent); }

.accent { color: var(--accent); }

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); color: inherit; opacity: 0.92; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { color: var(--paper); }
.btn--accent { background: var(--accent); color: var(--paper); }
.btn--accent:hover { color: var(--paper); }
.btn--outline { border: 1px solid var(--ink); }
.btn--outline-light { border: 1px solid var(--paper); color: var(--paper); }
.btn--outline-light:hover { color: var(--paper); }

.link-underline {
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

/* Eyebrow ----------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--accent);
}
.eyebrow--accent { color: var(--accent); }

/* Nav ---------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 80px;
  padding: 0 var(--gutter);
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { display: block; flex-shrink: 0; }
.nav__logo img { display: block; height: 44px; width: auto; }
.nav__links {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a:hover { color: var(--accent); }
.nav__cta { padding: 12px 24px; font-size: 15px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
}

/* Hero ---------------------------------------------------------------------- */

.hero {
  padding: var(--section-pad) var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(44px, 7.5vw, 108px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__lede {
  max-width: 620px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--body-text);
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__clients {
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__clients-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.hero__clients ul {
  display: flex;
  gap: 16px 36px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--body-text);
}

/* Ticker --------------------------------------------------------------------- */

.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  animation: ticker-scroll 30s linear infinite;
}
.ticker em { font-style: normal; color: var(--accent); }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* Showcase --------------------------------------------------------------------- */

.showcase {
  position: relative;
  min-height: clamp(460px, 62vw, 820px);
  display: flex;
  align-items: center;
  padding: var(--section-pad) var(--gutter);
  background: #000;
  color: var(--paper);
  overflow: hidden;
}
.showcase__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
/* Fades the ticker's ink into the photo's pure black so the band reads as one piece */
.showcase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 80px;
  background: linear-gradient(var(--ink), transparent);
  z-index: 1;
}
.showcase__copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.showcase__copy h2 { font-size: clamp(38px, 5vw, 72px); }
.showcase__copy > p:last-child { font-size: 17px; color: var(--text-on-dark); }
.eyebrow--light { color: var(--text-on-dark); }
.eyebrow__dot--blue { background: #1E9BFF; box-shadow: 0 0 12px #1E9BFF; }

/* Sections --------------------------------------------------------------------- */

.section { padding: var(--section-pad) var(--gutter); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--ruled { border-top: 1px solid var(--line); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.section__head > p {
  max-width: 480px;
  font-size: 17px;
  color: var(--muted);
}
.section--dark .section__head > p { color: var(--text-on-dark); }
.section__head .eyebrow { margin-bottom: 18px; }

/* Cards --------------------------------------------------------------------- */

.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 30px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card > p { font-size: 16px; color: var(--body-text); }
.card__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}
.card__list {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #E8E3D6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--body-text);
}

.card--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.card--dark > p, .card--dark .card__list { color: var(--text-on-dark); }
.card--dark .card__list { border-top-color: var(--line-dark); }

.card--panel {
  background: var(--panel-dark);
  border-color: var(--line-dark);
  color: var(--paper);
}
.card--panel > p { color: var(--text-on-dark); }

/* Work grid --------------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.work-item { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.work-tile {
  height: 300px;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  overflow: hidden;
}
.work-tile span {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
}
.work-tile--ink { background: var(--ink); color: var(--paper); }
.work-tile--accent { background: var(--accent); color: var(--paper); }
.work-tile--paper { background: #FFFFFF; border: 1px solid var(--line); color: var(--ink); }
.work-tile--sand { background: var(--sand); color: var(--ink); }
.work-tile img { width: 100%; height: 100%; object-fit: cover; }
.work-tile--image { position: relative; padding: 0; background: var(--sand); }
.work-tile--image img { position: absolute; inset: 0; display: block; }

.work-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}
.work-item figcaption span { color: var(--muted); }

/* About --------------------------------------------------------------------- */

.about {
  display: flex;
  gap: 80px;
  margin-bottom: 64px;
}
.about__head { width: 480px; flex-shrink: 0; }
.about__head .eyebrow { margin-bottom: 18px; }
.about__head h2 { font-size: clamp(30px, 3.4vw, 48px); }
.about__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 18px;
  color: var(--body-text);
}
.stats { display: flex; gap: 24px; flex-wrap: wrap; }
.stat {
  flex: 1 1 160px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.stat__value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
}

/* Quotes --------------------------------------------------------------------- */

.quote {
  margin: 0;
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.quote p { font-size: 17px; color: var(--body-text); }
.quote footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
}
.quote footer span { font-size: 14px; color: var(--muted); }

/* FAQ --------------------------------------------------------------------- */

.faq { display: flex; flex-direction: column; max-width: 960px; }
.faq__item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2em;
  line-height: 1;
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p {
  margin-top: 14px;
  max-width: 760px;
  font-size: 17px;
  color: var(--body-text);
}

/* Consent banner ------------------------------------------------------------- */

.consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 100;
  max-width: 560px;
  margin-left: auto;
  padding: 20px 22px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(20, 20, 18, 0.14);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  color: var(--body-text);
}
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: 12px; justify-content: flex-end; }
.consent .consent__btn { padding: 11px 22px; font-size: 15px; width: auto; }

/* Contact --------------------------------------------------------------------- */

.contact {
  padding: var(--section-pad) var(--gutter);
  background: var(--accent);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.contact h2 {
  max-width: 1000px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.contact__row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact__row .btn--dark:hover { color: var(--paper); }
.contact__loc { font-size: 16px; font-weight: 500; }

/* Footer --------------------------------------------------------------------- */

.footer {
  padding: 56px var(--gutter) 40px;
  background: var(--ink);
  color: var(--text-on-dark);
}
.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__logo { margin-bottom: 14px; }
.footer__logo img { display: block; height: 52px; width: auto; }
.footer__brand p:last-child { font-size: 15px; max-width: 320px; }
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B675C;
}
.footer__bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #6B675C;
}

/* Responsive --------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { flex-direction: column; gap: 32px; }
  .about__head { width: auto; }
}

@media (max-width: 768px) {
  .showcase { align-items: flex-end; min-height: 640px; }
  .showcase__img { object-position: 78% center; }
  .showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 30%, transparent 75%);
    z-index: 1;
  }
  .nav__links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 10px 0; font-size: 17px; width: 100%; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__cta + .nav__toggle { margin-left: 0; }

  .cards--2, .cards--3 { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 36px; }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-tile { height: 240px; }
  .nav__cta { display: none; }
  .nav .nav__toggle { margin-left: auto; }
  .btn { width: 100%; }
  .hero__ctas { width: 100%; }
  .contact__row .btn { width: auto; }
}
