/*
  FONT NOTE — ROCA TWO:
  You mentioned you hold a license for Roca Two, so this file is wired up to load it
  locally. Add your licensed font files into a /fonts folder (same level as this
  stylesheet) using these exact filenames, and it will just work:
    fonts/RocaTwo-Bold.woff2      (used for H1)
    fonts/RocaTwo-Regular.woff2   (used for H2)
  If your files have different names, just update the two @font-face src paths below.
  Until the files are added, headings will fall back to Georgia.
*/

@font-face {
  font-family: 'Roca Two Bold';
  src: url('fonts/RocaTwo-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Roca Two';
  src: url('fonts/RocaTwo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #c2dcfd;
  --yellow: #ffea6f;
  --peach: #ffd9c2;
  --pink: #facef3;
  --mint: #f2e1f6;
  --ink: #1c1c1c;
  --paper: #fafafa;

  --h1-font: 'Roca Two Bold', Georgia, 'Times New Roman', serif;
  --h2-font: 'Roca Two', Georgia, 'Times New Roman', serif;
  --body-font: 'Montserrat', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 { font-weight: 400; line-height: 1.15; }

h1 { font-family: var(--h1-font); font-weight: 700; }
h2 { font-family: var(--h2-font); font-weight: 400; }
h3 {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
nav .logo { font-family: var(--h2-font); font-size: 1.25rem; }
nav ul { list-style: none; display: flex; gap: 28px; }
nav a { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }
nav a:hover { opacity: 0.6; }

/* ---------- HERO / ABOUT (homepage only) ---------- */
.hero {
  background: var(--blue);
  padding: 110px 0 90px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  max-width: 780px;
  margin-bottom: 34px;
}
.hero p {
  max-width: 620px;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.platforms {
  margin-top: 36px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- WORK LIST (homepage only) ---------- */
.work-intro { padding: 90px 0 20px; background: #ffffff; }
.work-intro h3 { margin-bottom: 14px; }
.work-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 560px; }

.work-list { padding: 20px 0 100px; background: #ffffff; }
.work-item {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid rgba(0,0,0,0.12);
}
.work-list .work-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.12); }

.work-thumb {
  width: 260px; height: 170px;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
}
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.work-item:hover .work-thumb img { transform: scale(1.04); }

.work-text h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.work-text p { max-width: 480px; font-size: 0.95rem; opacity: 0.8; }
.work-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  background: #c2dcfd;
}
.work-arrow {
  font-family: var(--h2-font);
  font-size: 1.8rem;
  justify-self: end;
  transition: transform 0.25s ease;
}
.work-item:hover .work-arrow { transform: translateX(6px); }

@media (max-width: 720px) {
  .work-item { grid-template-columns: 1fr; }
  .work-thumb { width: 100%; height: 220px; }
  .work-arrow { display: none; }
}

/* ---------- CASE STUDY PAGE ---------- */
.case-study { padding: 110px 0; }
.case-study.peach { background: #ffea6f; }
.case-study.pink  { background: #ffd9c2; }
.case-study.mint  { background: #c2dcfd; }

.cs-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.65; margin-bottom: 16px;
}
.cs-title { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 760px; margin-bottom: 10px; }
.cs-meta { font-size: 0.9rem; font-weight: 600; opacity: 0.75; margin-bottom: 56px; }

.cs-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px 56px;
  margin-bottom: 44px;
}
.cs-grid h3 { padding-top: 4px; }
.cs-grid .cs-body { font-size: 1rem; max-width: 640px; }
.cs-grid ul { padding-left: 1.1em; }
.cs-grid li { margin-bottom: 10px; max-width: 640px; }
.cs-grid li:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .cs-grid { grid-template-columns: 1fr; gap: 6px; }
  .cs-grid > div:not(:last-child) { margin-bottom: 10px; }
}

.cs-result {
  margin: 10px 0 60px;
  padding: 34px 36px;
  background: rgba(255,255,255,0.55);
  border-radius: 14px;
  max-width: 760px;
}
.cs-result h3 { margin-bottom: 12px; }
.cs-result p { font-size: 1.02rem; }

.cs-gallery { margin-top: 20px; }
.cs-gallery-grid {
  columns: 2 380px;
  column-gap: 22px;
}
.cs-shot {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  background: #fff;
}
.cs-shot img {
  width: 100%; display: block;
  height: auto;
}

@media (max-width: 560px) {
  .cs-gallery-grid { columns: 1; }
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 70px 0 40px;
  text-align: center;
}
footer h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }
footer p { opacity: 0.75; margin-bottom: 34px; }
footer .fine {
  margin-top: 50px;
  font-size: 0.78rem;
  opacity: 0.5;
}
