/* ── Ranade font ─────────────────────────────────── */
@font-face {
  font-family: "Ranade";
  src: url("../webfonts/Ranade-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Ranade";
  src: url("../webfonts/Ranade-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Ranade";
  src: url("../webfonts/Ranade-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* ── Variables ─────────────────────────────────── */
:root {
  --c2-rose:        #E6B3B0;
  --c2-rose-dark:   #B5726E;
  --c2-rose-deep:   #8C4A47;
  --c2-cream:       #FDF6EE;
  --c2-cream-dark:  #F5E8D5;
  --c2-mauve:       #8B6567;
  --c2-grey:        #EAEAEA;
  --c2-ink:         #2f2a26;
  --c2-ink-mid:     #5a5450;
  --c2-ink-muted:   #928d89;
  --c2-border:      rgba(47,42,38,0.1);
  --c2-white:       #ffffff;
}

html { overflow-x: hidden; }

/* ── Base ─────────────────────────────────── */
#cs2-wrapper {
  margin-top: 80px;
  font-family: "Ranade", sans-serif;
  color: var(--c2-ink);
}

#cs2-wrapper h1, #cs2-wrapper h2, #cs2-wrapper h3,
#cs2-wrapper h4, #cs2-wrapper p, #cs2-wrapper li,
#cs2-wrapper a, #cs2-wrapper span, #cs2-wrapper blockquote,
#cs2-wrapper figcaption {
  font-family: "Ranade", sans-serif;
}

/* ── HERO IMAGE ─────────────────────────────────── */
.cs-hero-image {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 0 3rem;
}
.cs-hero-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

/* ── COVER ─────────────────────────────────── */
.cs-cover {
  padding: 5rem 3rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--c2-border);
}
.cs-cover-split {
  display: grid;
  grid-template-columns: 0.85fr 1.7fr;
  gap: 5rem;
  align-items: start;
}
.cs-cover-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cs-info-group h3 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.4rem;
  color: var(--c2-ink-muted);
}
.cs-info-group p {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 400;
  color: var(--c2-ink);
}
.cs-cover-case {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c2-rose-dark);
  margin: 0 0 0.8rem;
}
.cs-cover-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin: 0 0 1.8rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c2-ink);
}
.cs-cover-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 400;
  max-width: 640px;
  margin: 0;
  color: var(--c2-ink-mid);
}
.cs-prototype-btn {
  display: inline-block;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.85rem 1.4rem;
  border: 2px solid var(--c2-rose-dark);
  border-radius: 0.4rem;
  color: var(--c2-rose-dark);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.22s ease;
  font-family: "Ranade", sans-serif;
}
.cs-prototype-btn:hover {
  background: var(--c2-rose-dark);
  color: var(--c2-white);
}

/* ── BODY ─────────────────────────────────── */
.cs-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem 8rem;
}

/* ── SECTION BASE ─────────────────────────────────── */
.cs-section {
  padding-top: 2rem;
 
  margin-top: 2rem;
}
.cs-section:first-child {
  margin-top: 0;
  border-top: none;
}

/* Tinted variant: full bleed cream */
.c2-section--tinted {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c2-cream);
  border-top: none;
  margin-top: 5rem;
  box-sizing: border-box;
  /* Use an inner wrapper approach via padding + max-width on children */
  padding: 5rem calc((100vw - 1200px) / 2 + 4rem);
}

.cs-section-number { display: none; }

.cs-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 1.6rem;
  letter-spacing: -0.03em;
  color: var(--c2-ink);
  line-height: 1.1;
}
.cs-section p {
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 400;
  margin: 0 0 1.2rem;
  max-width: 680px;
  color: var(--c2-ink-mid);
}
.c2-section--tinted .cs-section-title,
.c2-section--tinted p {
  padding-left: 0;
}

/* Sub-headings */
.cs-section p.cs-sub-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c2-rose-dark);
  margin: 3rem 0 0.8rem;
  display: block;
}

.problem-split-section {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 56px;
  align-items: center;
}

.problem-text {
  max-width: 520px;
}

.problem-image {
  max-width: 520px;
  margin: 0;
}

.problem-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── DESIGN GOAL CARDS ─────────────────────────────────── */
.c2-goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.c2-goal-card {
  background: var(--c2-white);
  border: 1px solid var(--c2-grey);
 
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.c2-goal-icon {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c2-rose);
  opacity: 0.5;
  line-height: 1;
}
.c2-goal-card strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c2-ink);
  display: block;
}
.c2-goal-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--c2-ink-mid);
  margin: 0;
  max-width: none;
}
.c2-scope-note {
  background: rgba(181,114,110,0.08);

  padding: 1rem 1.4rem;
  font-size: 0.92rem;
  color: var(--c2-ink-mid);
  max-width: 680px;
  margin-top: 0;
}
.c2-scope-note strong {
  color: var(--c2-rose-dark);
  font-weight: 700;
}

/* ── Task Flow─────────────────────────────────── */

.userflow-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 63px;
  align-items: center;
}

.userflow-text {
  max-width: 420px;
}

.img-userflow {
  max-width: 780px;
  margin: 0;
}

.img-userflow img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── sketch and wireframe─────────────────────────────────── */
.process-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 2rem;
}

.process-image-card .cs-image-block {
  margin: 1.5rem 0 0;
}

/* Sketch image */
.process-image-card .img-sketch-early {
  max-width: 350px;
}

/* Wireframe image */
.process-image-card .img-wireframe {
  max-width: 380px;
}

.process-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.midfi-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 3rem;
}

.midfi-text {
  max-width: 420px;
}

.img-midfi {
  max-width: 560px;
  margin: 0;
}

.img-midfi img {
  width: 100%;
  height: auto;
  display: block;
}

.lofi-decision-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.lofi-decision-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c2-ink);
  margin-bottom: 0.5rem;
}

.lofi-decision-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
  max-width: none;
  color: var(--c2-ink-mid);
}

.visual-direction-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 65px;
  align-items: center;

}

.img-visual-direction {
  max-width: 680px;
  margin: 0;
}

.img-visual-direction img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 450px;
}

.visual-direction-text {
  max-width: 420px;
}

/* ── hero image─────────────────────────────────── */
.hero-image-process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 2rem;
}

.hero-image-process-card {
  width: 100%;
}

.hero-image-process-card p {
  max-width: 100%;
}

.hero-image-process-card .cs-sub-heading {
  margin-top: 0;
}

.hero-image-process-card .cs-image-block {
  margin: 1.5rem 0 0;
}

.hero-image-process-card .img-sketch-hero {
  max-width: 340px;
}

.hero-image-process-card .img-hero-final {
  max-width: 700px;
}

.hero-image-process-card img {
  width: 100%;
  height: auto;
  display: block;
}


/* ── final ─────────────────────────────────── */
.final-prototype-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
}

.final-prototype-text {
  max-width: 420px;
}

.final-prototype-split .img-prototype-final {
  max-width: 620px;
  margin: 0;
}

.final-prototype-split .img-prototype-final img {
  width: 100%;
  height: auto;
  display: block;
}
.final-prototype-text .cs-prototype-btn {
  margin-top: 1.2rem;
}



.reflection-simple {
  max-width: 880px;
  
  padding: 1rem 3.2rem;
}

.reflection-simple p {
  max-width: none;
  margin: 0 0 1.6rem;
  color: #fffff;
  line-height: 1.85;
  font-size: 1rem;
}

.reflection-simple p:last-child {
  margin-bottom: 0;
}


/* ── IMAGE BLOCKS ─────────────────────────────────── */
.cs-image-block {
  margin: 2.5rem auto;
  text-align: center;
}
.cs-image-block img {
  width: 100%;
  height: auto;
  display: block;
}
.cs-image-block figcaption {
  font-size: 0.76rem;
  color: var(--c2-ink-muted);
  margin-top: 0.6rem;
  text-align: center;
  letter-spacing: 0.03em;
}
/* Per-image sizing */
.img-original-site  { max-width: 900px; }
.img-userflow       { max-width: 800px; }
.img-sketch-early   { max-width: 600px; }
.img-wireframe      { max-width: 400px; }
.img-midfi          { max-width: 500px; }
.img-sketch-hero    { max-width: 600px; }
.img-hero-final     { max-width: 900px; }
.img-prototype-final { max-width: 700px; }

.cs-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 2rem 0;
}
.cs-image-row figure { margin: 0; }
.cs-image-row img { width: 100%; height: auto; display: block; }
.cs-image-row figcaption {
  font-size: 0.76rem;
  color: var(--c2-ink-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}

.cs-expandable-image { cursor: zoom-in; transition: opacity 0.2s ease; }
.cs-expandable-image:hover { opacity: 0.88; }

/* ── LIGHTBOX ─────────────────────────────────── */
.cs-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 9999;
  cursor: zoom-out;
}
.cs-lightbox.active { opacity: 1; visibility: visible; }
.cs-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }

/* ── SCROLL REVEAL ─────────────────────────────────── */
.c2-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.c2-revealed { opacity: 1; transform: translateY(0); }

/* ── BULLET LISTS ─────────────────────────────────── */
.cs-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  max-width: 680px;
}
.cs-section ul li {
  font-size: 1rem;
  line-height: 1.75;
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--c2-ink-mid);
}
.cs-section ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--c2-rose-dark);
  font-weight: 600;
}

/* ── RESPONSIVE ─────────────────────────────────── */

@media (max-width: 1100px) {
  .c2-goal-grid               { grid-template-columns: repeat(2, 1fr); }
  .userflow-split             { grid-template-columns: 1fr; gap: 2rem; }
  .midfi-split                { grid-template-columns: 1fr; gap: 2rem; }
  .visual-direction-split     { grid-template-columns: 1fr; gap: 2rem; }
  .final-prototype-split      { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image-process-grid    { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .c2-section--tinted {
    width: 100%;
    left: auto;
    transform: none;
    padding: 4rem 2.5rem;
  }

  .problem-split-section      { grid-template-columns: 1fr; gap: 2.5rem; }
  .problem-image              { max-width: 100%; }
  .process-image-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .c2-goal-grid               { grid-template-columns: 1fr; }

  .img-userflow               { max-width: 100%; }
  .img-midfi                  { max-width: 100%; }
  .img-visual-direction       { max-width: 100%; }
  .img-prototype-final        { max-width: 100%; }

  .final-prototype-split .img-prototype-final { max-width: 100%; }
}

@media (max-width: 768px) {
  .cs-hero-image              { padding: 0 1rem; }
  .cs-hero-image img          { height: 320px; }

  .cs-cover                   { padding: 3rem 1.5rem; }
  .cs-cover-split             { grid-template-columns: 1fr; gap: 2.5rem; }
  .cs-cover-title             { font-size: 3rem; }
  .cs-cover-subtitle          { font-size: 0.97rem; }

  .cs-body                    { padding: 0 1.5rem 5rem; }

  .cs-section                 { padding-top: 3rem; margin-top: 3rem; }
  .cs-section-title           { font-size: 1.75rem; }

  .c2-section--tinted         { padding: 3.5rem 1.5rem; }

  .userflow-split             { grid-template-columns: 1fr; gap: 1.5rem; }
  .midfi-split                { grid-template-columns: 1fr; gap: 1.5rem; }
  .visual-direction-split     { grid-template-columns: 1fr; gap: 1.5rem; }
  .final-prototype-split      { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image-process-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .process-image-grid         { grid-template-columns: 1fr; gap: 1.5rem; }

  .problem-split-section      { grid-template-columns: 1fr; gap: 2rem; }
  .problem-text               { max-width: 100%; }

  .userflow-text,
  .midfi-text,
  .visual-direction-text,
  .final-prototype-text       { max-width: 100%; }

  .img-userflow,
  .img-midfi,
  .img-visual-direction,
  .img-prototype-final,
  .img-original-site,
  .img-hero-final             { max-width: 100%; }

  .hero-image-process-card .img-sketch-hero,
  .hero-image-process-card .img-hero-final { max-width: 100%; }

  .process-image-card .img-sketch-early,
  .process-image-card .img-wireframe      { max-width: 100%; }

  .reflection-simple          { padding: 2.2rem 1.8rem; }

  .c2-scope-note              { max-width: 100%; }

  .cs-section ul              { max-width: 100%; }
}

@media (max-width: 480px) {
  .cs-hero-image img          { height: 240px; }
  .cs-cover-title             { font-size: 2.4rem; }
  .cs-section-title           { font-size: 1.5rem; }
  .c2-goal-card               { padding: 1.4rem; }
  .c2-section--tinted         { padding: 3rem 1.2rem; }
  .cs-body                    { padding: 0 1.2rem 4rem; }
  .reflection-simple          { padding: 1.8rem 1.4rem; }
}