/* =========================================================
   Camila Cingu · UGC & Creative Production
   Tokens from the "Camila UGC Portfolio" design canvas.
   ========================================================= */

:root {
  --cream: #FFFBF8;      /* page */
  --blush: #FFF4EE;      /* alternate bands */
  --ink: #2B1D1A;        /* text, dark blocks */
  --muted: #6B4A40;      /* secondary text, placeholder labels */
  --accent: #F7B9A1;     /* peach: torn-paper bands */
  --deep: #B04B2E;       /* terracotta: section titles, numerals */
  --phone: #141012;      /* phone mockup frame */
  --on-dark: #F2ECEA;    /* text on ink */
  --tint-1: #FCE4D9;
  --tint-2: #F8D2C3;
  --line: rgba(43, 29, 26, 0.18);

  --display: "Bricolage Grotesque", "Onest", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 3.5vw, 2.5rem);
  --header-h: 60px;
}
/* Bricolage Grotesque has no Cyrillic: Russian headings use Onest. */
html[lang="ru"] { --display: "Onest", "Inter", system-ui, sans-serif; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--deep); }
a, button, label[for] { cursor: pointer; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; }
.case__hero :focus-visible, .lightbox :focus-visible { outline-color: var(--accent); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--cream); padding: 0.75rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
.h-xl {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em;
}
.h-lg {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; letter-spacing: -0.035em;
}
.h-deep { color: var(--deep); }
.label-lg { font-size: 1.375rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }
.label { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* torn paper edge (canvas motif) */
.torn {
  clip-path: polygon(0% 9%,4% 3%,9% 10%,14% 2%,20% 8%,27% 1%,33% 9%,40% 3%,47% 10%,53% 2%,60% 8%,66% 1%,73% 9%,80% 3%,86% 10%,92% 2%,100% 7%,100% 93%,94% 99%,88% 91%,81% 98%,75% 92%,68% 99%,61% 91%,54% 98%,47% 90%,40% 97%,33% 91%,26% 99%,19% 92%,12% 98%,6% 91%,0% 97%);
}

/* play glyph shared by the intro phone and video cards */
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(43, 29, 26, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 24px no-repeat;
  transition: opacity 0.3s, scale 0.3s;
}
a:hover .play { scale: 1.08; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header__inner {
  max-width: 1360px; margin: 0 auto; min-height: var(--header-h);
  padding: 0 var(--gutter); display: flex; align-items: center; gap: 1rem;
}
.wordmark {
  margin-right: auto; padding: 0.5rem 0;
  font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none;
}
.site-nav ul { display: flex; gap: 0.25rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; font-size: 0.9375rem; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { min-width: 44px; min-height: 40px; background: transparent; border: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.lang button:hover { color: var(--ink); background: var(--tint-1); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.no-js .lang { display: none; }
@media (max-width: 379px) { .lang button { min-width: 36px; } }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.menu-btn:hover { background: var(--tint-1); }

@media (max-width: 799px) {
  .js .menu-btn { display: inline-flex; order: 3; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1.25rem;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a { padding: 0; min-height: 52px; font-family: var(--display); font-weight: 600; font-size: 1.75rem; letter-spacing: -0.03em; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .site-nav { order: 5; width: 100%; overflow-x: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: clamp(420px, 40vw, 560px); }
.hero__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 100%; }
.hero__strip img { width: 100%; height: 100%; object-fit: cover; }
.hero__over {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 1.5rem; text-align: center;
}
.hero__name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: 1; letter-spacing: -0.035em;
}
.hero__role { font-size: 0.9375rem; font-weight: 500; max-width: 34ch; line-height: 1.5; }
.hero__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(1.5rem, 11vw, 10rem); margin-top: 0.5rem; }
.hero__links a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-size: 0.9375rem; text-decoration: underline; text-decoration-color: transparent; }
.hero__links a:hover { text-decoration-color: currentColor; color: var(--ink); }
@media (max-width: 599px) {
  .hero__links { flex-direction: column; align-items: center; }
  .hero__links a { font-size: 0.875rem; }
}

/* ---------- about ---------- */
.about {
  max-width: 1240px; margin: 0 auto;
  padding: 2rem var(--gutter) clamp(4rem, 8vw, 5rem);
  display: flex; flex-direction: column; align-items: center; gap: 2.5rem;
}
.about__jump { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 600; font-size: 1.75rem; color: var(--deep); text-decoration: none; }
.about__jump:hover { text-decoration: underline; }
.about__body { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 3.5rem; }
.about__phones { flex: 1 1 440px; min-width: 0; display: flex; gap: clamp(1rem, 2.5vw, 1.75rem); justify-content: center; align-items: flex-start; }
.phone {
  position: relative; display: block; overflow: hidden;
  width: min(210px, 44%); aspect-ratio: 9 / 16;
  border: 9px solid var(--phone); border-radius: 34px; background: var(--tint-2);
}
.phone--tall { width: min(230px, 48%); aspect-ratio: 9 / 19; border-radius: 40px; margin-top: 5rem; background: var(--tint-1); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.about__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; }
.about__copy p { max-width: 520px; }

/* ---------- why me ---------- */
.why { max-width: 1360px; margin: 0 auto; padding-bottom: clamp(4rem, 8vw, 6rem); display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; }
.why__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2.25rem; }
.why__band {
  width: 100%; background: var(--accent);
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.why__flower { flex: none; width: clamp(56px, 7vw, 84px); }
.why__text { text-align: center; max-width: 520px; padding: 0 1.5rem; }
.stats { width: 100%; max-width: 640px; padding: 0 var(--gutter); }
.stats__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; }
.stats__track::-webkit-scrollbar { display: none; }
.stats__list { display: flex; gap: 0.75rem; }
.stat {
  flex: 0 0 min(13rem, 62%); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.25rem 1.25rem 1.5rem; background: var(--blush); border-radius: 22px; color: var(--deep);
}
.stat strong { margin-top: 0.75rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.25rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat [data-stat="languages"] { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.3; }
.stat span { font-size: 0.875rem; color: var(--muted); }
.stats__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; }
.stats__note { font-size: 0.8125rem; color: var(--muted); }
.stats__nav { display: flex; gap: 0.5rem; }
.stats__btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.stats__btn:hover:not(:disabled) { background: var(--tint-1); }
.stats__btn:disabled { opacity: 0.35; }
.why__photo { flex: 1 1 420px; min-width: 0; padding: 0 var(--gutter); }
.why__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tint-1); }

/* ---------- ugc videos ---------- */
.videos { background: var(--blush); padding-bottom: clamp(4rem, 8vw, 6rem); }
.videos__edge { height: 56px; background: #FFFFFF; }
.videos__inner {
  max-width: 1240px; margin: 0 auto; padding: 3rem var(--gutter) 0;
  display: flex; flex-direction: column; align-items: center; gap: 3.5rem;
}
.videos__inner > .h-xl { margin-bottom: -2.25rem; }
.disclosure { font-size: 0.875rem; color: var(--muted); text-align: center; max-width: 46ch; line-height: 1.5; }
.group { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; } }
.card { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; }
.card__media {
  position: relative; display: block; overflow: hidden; width: 100%;
  aspect-ratio: 9 / 13; border-radius: 22px; background: var(--tint-1);
}
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media video { opacity: 0; transition: opacity 0.35s; }
.card.is-playing video { opacity: 1; }
.card.is-playing .play { opacity: 0; }
.card__hint { position: absolute; left: 50%; bottom: 0.75rem; translate: -50% 0; white-space: nowrap; background: var(--ink); color: var(--cream); font-size: 0.75rem; padding: 0.3rem 0.65rem; border-radius: 999px; }
.card__format { margin-top: 0.25rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; }
.card__brand { font-size: 0.8125rem; line-height: 1.4; }

/* ---------- ugc photography ---------- */
.photos { padding: clamp(4rem, 8vw, 6rem) 0; }
.photos__head { display: flex; justify-content: flex-end; }
.photos__band { width: min(760px, 88%); background: var(--accent); padding: 2.5rem clamp(1.5rem, 5vw, 4rem); }
.photos__grid {
  max-width: 1240px; margin: 3rem auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
@media (min-width: 900px) { .photos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.photos__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tint-1); }

/* ---------- creative production ---------- */
.campaigns { background: var(--blush); padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 7rem); }
.case { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.case + .case { margin-top: clamp(6rem, 12vw, 9rem); }

.case__hero { position: relative; background: var(--ink); color: #FFFFFF; display: grid; grid-template-columns: minmax(0, 1fr); }
.case__hero-text { padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-direction: column; gap: 0.5rem; }
.case__brand { font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); }
.case__title { font-family: var(--display); font-weight: 600; font-size: clamp(3.25rem, 7vw, 6.5rem); line-height: 0.95; letter-spacing: -0.035em; }
@media (max-width: 479px) { .case__title { font-size: min(3.25rem, 11vw); } }
.case__hero-img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.case__tag {
  justify-self: start; position: relative; margin: -2.5rem 0 1.5rem;
  background: var(--accent); color: var(--ink);
  padding: 1.75rem 3.5rem 1.75rem 2.5rem;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.1;
}
@media (min-width: 900px) {
  .case__hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 620px; }
  .case__hero-text { padding: 3.5rem 0 0 3.5rem; }
  .case__hero-img { grid-column: 2; grid-row: 1 / span 2; height: 100%; aspect-ratio: auto; }
  .case__tag { grid-column: 1; grid-row: 2; align-self: end; margin: 0 0 3.5rem; }
}

.case__intro { display: flex; flex-wrap: wrap; gap: 3.5rem; padding-top: clamp(3rem, 6vw, 5rem); }
.case__key { flex: 1 1 340px; min-width: 0; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tint-2); }
.case__concept { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.case__sub { font-family: var(--display); font-size: 1.5rem; color: var(--deep); }
.case__concept > p:not(.case__sub) { font-size: 1rem; line-height: 1.75; }
.case__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; padding-top: 0.75rem; }
.case__lists .label { margin-bottom: 0.6rem; }
.case__lists li { font-size: 0.9375rem; line-height: 1.9; }
@media (max-width: 479px) { .case__lists { grid-template-columns: minmax(0, 1fr); } }

.case__process, .case__dna, .case__details { padding-top: clamp(3.5rem, 7vw, 5.5rem); display: flex; flex-direction: column; gap: 2rem; }
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.5rem; }
.process li { display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.process__n { font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--deep); }
.process strong { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.process span:last-child { font-size: 0.875rem; line-height: 1.6; }

.case__dna { align-items: center; text-align: center; }
.dna { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 1.875rem); color: var(--deep); }

.deliv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 900px) { .deliv { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.deliv div { border-top: 1px solid var(--ink); padding-top: 0.9rem; }
.deliv dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.deliv dd { font-size: 0.9375rem; line-height: 1.6; margin-top: 0.3rem; }

.case__visuals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.5rem, 1.5vw, 1.25rem); padding-top: clamp(3rem, 6vw, 4.5rem); }
.case__visuals img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tint-1); }
.ai-note { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--muted); }
.ai-note__tag { display: inline-block; margin-right: 0.35rem; border: 1px solid currentColor; padding: 0 0.35rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; }

/* ---------- contact ---------- */
.contact { padding: clamp(5rem, 9vw, 6rem) 0 4.5rem; display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.contact__band { width: min(1000px, 92%); background: var(--accent); padding: clamp(3.5rem, 7vw, 4.5rem) 1.5rem; text-align: center; }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem clamp(2rem, 8vw, 6rem); padding: 0 1rem; }
.contact__links a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-size: 1.0625rem; text-decoration: underline; text-decoration-color: transparent; }
.contact__links a:hover { text-decoration-color: currentColor; }
.contact__cat { width: 64px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem var(--gutter) 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.25rem 2rem;
  font-size: 0.875rem; color: var(--muted);
}
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- lightbox ---------- */
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(43, 29, 26, 0.96); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(43, 29, 26, 0.6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__frame { display: grid; justify-items: center; gap: 0.85rem; padding: 4.5rem 1rem 1.5rem; }
.lightbox__video { height: min(78svh, 1920px); width: auto; max-width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: 22px; object-fit: contain; }
.lightbox__caption { font-family: var(--display); font-size: 1.125rem; text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--on-dark); border: 1px solid rgba(242, 236, 234, 0.5); border-radius: 50%;
}
.lb-btn:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev, .lb-next { top: 50%; translate: 0 -50%; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
@media (max-width: 599px) {
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .lightbox__frame { padding-bottom: 5rem; }
  .lightbox__video { height: min(70svh, 1920px); }
}

/* ---------- entrance reveals ---------- */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity 0.8s ease, translate 0.8s ease; }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}
