/* Turlo case study — identity "Postcard" (approved mockup CaseTurlo.dc.html).
   Pages: /en/case-studies/turlo/ (case-turlo-en) and /realizacje/turlo/ (case-turlo-pl).
   Warm paper, sand bands, Turlo navy + coral, DM Serif Display headlines, DM Sans body,
   destination photos as polaroids, stamps with perforated edges, a drawn phone frame.
   Everything is scoped to .cs-turlo; the shared header/footer are untouched. */

.cs-turlo {
  --ct-paper: #FFF8F3;
  --ct-sand: #F3E6D8;
  --ct-ink: #1A1A2E;
  --ct-muted: #5B5F70;
  --ct-coral: #FF5533;
  --ct-coral-soft: #FF7759;
  --ct-coral-text: #C2361B;
  --ct-coral-dark: #8E2410;
  --ct-line: #E6D5C3;
  --ct-line-2: #E3D0BC;
  --ct-dash: #D2BBA2;
  --ct-dash-2: #CDB59C;
  --ct-card: #FFFDFB;
  --ct-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --ct-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ct-shadow: 0 10px 24px rgba(26, 26, 46, 0.10);
  background: var(--ct-paper);
  color: var(--ct-ink);
  font-family: var(--ct-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip; /* rotated cards and photos never widen the page */
}
.cs-turlo a { color: var(--ct-coral-text); }
.cs-turlo a:hover { color: var(--ct-coral-dark); }
.cs-turlo :focus-visible { outline: 3px solid var(--ct-ink); outline-offset: 3px; border-radius: 2px; }
.cs-turlo ul, .cs-turlo ol { list-style: none; }
.cs-turlo strong { font-weight: 700; }

/* ---- Type ------------------------------------------------------------------ */
.cs-turlo .ct-h2 {
  font-family: var(--ct-serif); font-weight: 400; font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.05; letter-spacing: -0.01em; color: var(--ct-ink); text-wrap: balance;
}
.cs-turlo .ct-h3 { font-family: var(--ct-serif); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--ct-ink); }
.cs-turlo .ct-h3m { font-family: var(--ct-serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.12; color: var(--ct-ink); text-wrap: balance; }
.cs-turlo .ct-h3s { font-family: var(--ct-serif); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--ct-ink); }
.cs-turlo .ct-lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--ct-ink); max-width: 50ch; text-wrap: pretty; }
.cs-turlo .ct-body { font-size: 17px; line-height: 1.65; color: var(--ct-ink); text-wrap: pretty; }
.cs-turlo .ct-note { font-size: 14px; line-height: 1.5; color: var(--ct-muted); }
.cs-turlo .ct-cap { font-size: 14px; line-height: 1.5; color: var(--ct-muted); text-wrap: pretty; }
.cs-turlo .ct-cap strong { color: var(--ct-ink); }
.cs-turlo .ct-cap--wide { max-width: 90ch; }

/* Section head: title + intro on one baseline */
.cs-turlo .ct-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px clamp(32px, 5vw, 72px); }
.cs-turlo .ct-head > .ct-h2 { flex: 0 1 auto; min-width: 0; }
.cs-turlo .ct-head > .ct-lead { flex: 1 1 380px; min-width: 0; }
.cs-turlo .ct-head--wide > .ct-h2 { flex: 1 1 420px; }

/* ---- Buttons and links ------------------------------------------------------ */
.cs-turlo .ct-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border-radius: 999px; background: var(--ct-coral); color: var(--ct-ink); font-size: 16px; font-weight: 700;
  line-height: 1.2; text-decoration: none; transition: background-color .15s ease;
}
.cs-turlo .ct-btn:hover { background: var(--ct-coral-soft); color: var(--ct-ink); }
.cs-turlo .ct-btn--lg { min-height: 52px; padding: 0 30px; font-size: 17px; }
.cs-turlo .ct-ext {
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px; color: var(--ct-ink);
  font-size: 16px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--ct-coral);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.cs-turlo .ct-ext:hover { color: var(--ct-coral-text); }
.cs-turlo .ct-ext svg { flex: none; }

/* ---- Breadcrumb ------------------------------------------------------------- */
.cs-turlo .ct-crumbs { padding-top: 10px; }
.cs-turlo .ct-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 14px; line-height: 1.4; color: var(--ct-muted); }
.cs-turlo .ct-crumbs a { display: inline-block; padding: 12px 0; color: var(--ct-muted); text-decoration: underline; text-underline-offset: 3px; }
.cs-turlo .ct-crumbs a:hover { color: var(--ct-ink); }
.cs-turlo .ct-crumbs [aria-current] { color: var(--ct-ink); font-weight: 500; }

/* ---- Hero ------------------------------------------------------------------- */
.cs-turlo .ct-hero { padding-top: clamp(14px, 2.6vw, 32px); padding-bottom: clamp(56px, 6vw, 88px); display: flex; flex-direction: column; gap: clamp(40px, 4.5vw, 64px); }
.cs-turlo .ct-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 40px clamp(32px, 4vw, 56px); }
.cs-turlo .ct-hero__text { flex: 1 1 420px; min-width: 0; max-width: 540px; display: flex; flex-direction: column; gap: 26px; }
.cs-turlo .ct-hero__title {
  font-family: var(--ct-serif); font-weight: 400; font-size: clamp(42px, 5vw, 70px); line-height: 1.03;
  letter-spacing: -0.015em; color: var(--ct-ink); text-wrap: balance;
}
.cs-turlo .ct-hero__lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: var(--ct-ink); max-width: 54ch; text-wrap: pretty; }
.cs-turlo .ct-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.cs-turlo .ct-byline { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ct-muted); }
.cs-turlo .ct-byline img { flex: none; display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--ct-line); }
.cs-turlo .ct-byline a { color: var(--ct-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--ct-coral); text-underline-offset: 3px; }

/* Postcard collage: a 520 x 640 composition that scales with its own width
   (container query units: 1 design px = 100cqw / 520). */
.cs-turlo .ct-collage { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cs-turlo .ct-collage__stage { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 520 / 640; container-type: inline-size; }
.cs-turlo .ct-polaroid { margin: 0; background: #FFFFFF; padding: 8px 8px 0; box-shadow: 0 12px 26px rgba(26, 26, 46, 0.15); }
.cs-turlo .ct-polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 11 / 10; object-fit: cover; background: var(--ct-sand); }
.cs-turlo .ct-polaroid figcaption { padding: 8px 2px 11px; font-family: var(--ct-serif); font-style: italic; font-size: 15px; line-height: 1.1; color: var(--ct-ink); }
.cs-turlo .ct-collage__saona,
.cs-turlo .ct-collage__romania { position: absolute; z-index: 1; padding: 1.923cqw 1.923cqw 0; box-shadow: 0 14px 30px rgba(26, 26, 46, 0.16); }
.cs-turlo .ct-collage__saona { top: 4.231cqw; right: 0; width: 45.385cqw; transform: rotate(5deg); }
.cs-turlo .ct-collage__romania { bottom: 1.154cqw; left: 0; width: 43.462cqw; transform: rotate(-4deg); }
.cs-turlo .ct-collage__saona figcaption,
.cs-turlo .ct-collage__romania figcaption { padding: 1.923cqw .385cqw 2.5cqw; font-size: max(12px, 3.462cqw); }
.cs-turlo .ct-collage__saona figcaption { text-align: right; }
.cs-turlo .ct-collage__logo {
  position: absolute; z-index: 2; top: 0; left: 2.692cqw; width: 20cqw;
  padding: 1.538cqw 1.538cqw 1.731cqw; background: #FFFFFF; border: 1.346cqw dotted var(--ct-paper);
  box-shadow: 0 8px 20px rgba(26, 26, 46, 0.20); transform: rotate(-7deg);
}
.cs-turlo .ct-collage__logo img { display: block; width: 100%; height: auto; }
.cs-turlo .ct-phone { background: var(--ct-ink); box-shadow: 0 28px 56px rgba(26, 26, 46, 0.26); }
.cs-turlo .ct-phone__screen { overflow: hidden; background: #FFFFFF; aspect-ratio: 242 / 523; }
.cs-turlo .ct-phone__screen img { display: block; width: 100%; height: auto; }
.cs-turlo .ct-collage__phone {
  position: absolute; z-index: 3; top: 6.538cqw; left: 19.038cqw; width: 50.385cqw;
  padding: 1.923cqw; border-radius: 8.077cqw; transform: rotate(3deg);
}
.cs-turlo .ct-collage__phone .ct-phone__screen { border-radius: 6.154cqw; }
.cs-turlo .ct-collage__postmark {
  position: absolute; z-index: 2; top: 23.077cqw; right: .769cqw; width: 28.846cqw; height: auto;
  transform: rotate(-10deg); opacity: .72; pointer-events: none;
}
.cs-turlo .ct-collage__caption { width: 100%; max-width: 520px; margin: 0 auto; font-size: 13px; line-height: 1.45; color: var(--ct-muted); text-align: right; text-wrap: pretty; }
.cs-turlo .ct-collage__caption strong { color: var(--ct-ink); }

/* Fact sheet */
.cs-turlo .ct-facts { display: flex; flex-wrap: wrap; gap: 1px; background: var(--ct-line); border: 1px solid var(--ct-line); box-shadow: 0 18px 40px rgba(26, 26, 46, 0.07); }
.cs-turlo .ct-facts > div { flex: 1 1 180px; min-width: 0; background: #FFFFFF; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.cs-turlo .ct-facts dt { font-family: var(--ct-serif); font-style: italic; font-size: 17px; line-height: 1.2; color: var(--ct-muted); }
.cs-turlo .ct-facts dd { flex: 1; padding-bottom: 6px; border-bottom: 1px dashed var(--ct-dash); font-size: 15px; line-height: 1.55; color: var(--ct-ink); }

/* ---- Bands -------------------------------------------------------------------- */
.cs-turlo .ct-band { background: var(--ct-sand); }

/* Numbers as stamps (perforated edge = dotted border in the band colour) */
.cs-turlo .ct-numbers__inner { padding-top: clamp(52px, 6vw, 80px); padding-bottom: clamp(52px, 6vw, 80px); display: flex; flex-direction: column; gap: 30px; }
.cs-turlo .ct-stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.cs-turlo .ct-stamp { background: #FFFFFF; border: 8px dotted var(--ct-sand); padding: 7px; box-shadow: var(--ct-shadow); }
.cs-turlo .ct-stamp:nth-child(1) { transform: rotate(-1.5deg); }
.cs-turlo .ct-stamp:nth-child(2) { transform: rotate(1deg); }
.cs-turlo .ct-stamp:nth-child(3) { transform: rotate(-0.8deg); }
.cs-turlo .ct-stamp:nth-child(4) { transform: rotate(1.6deg); }
.cs-turlo .ct-stamp__inner { height: 100%; border: 1.5px solid var(--ct-coral); padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.cs-turlo .ct-stamp__num { font-family: var(--ct-serif); font-size: clamp(60px, 5.4vw, 80px); line-height: .95; color: var(--ct-ink); white-space: nowrap; }
.cs-turlo .ct-stamp__num small { font-size: .42em; letter-spacing: 0; }
.cs-turlo .ct-stamp__label { font-size: 16px; line-height: 1.45; color: var(--ct-ink); }

/* ---- The problem ---------------------------------------------------------------- */
.cs-turlo .ct-problem { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); display: flex; flex-direction: column; gap: clamp(44px, 5vw, 64px); }
.cs-turlo .ct-problem__top { display: flex; flex-wrap: wrap; align-items: center; gap: 40px clamp(32px, 5vw, 72px); }
.cs-turlo .ct-problem__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cs-turlo .ct-trio { flex: 1 1 380px; min-width: 0; max-width: 500px; margin: 0 auto; padding: 18px 8px 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.cs-turlo .ct-trio__a { transform: rotate(-6deg) translate(16px, 8px); }
.cs-turlo .ct-trio__b { position: relative; z-index: 2; box-shadow: 0 14px 30px rgba(26, 26, 46, 0.18); transform: rotate(1.5deg) translateY(-16px); }
.cs-turlo .ct-trio__c { transform: rotate(6deg) translate(-16px, 10px); }
.cs-turlo .ct-trio__c figcaption { text-align: right; }
.cs-turlo .ct-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(28px, 3.5vw, 48px); padding-top: 28px; border-top: 2px solid var(--ct-ink); }
.cs-turlo .ct-three > div { display: flex; flex-direction: column; gap: 10px; }
.cs-turlo .ct-three p { font-size: 17px; line-height: 1.65; max-width: 46ch; text-wrap: pretty; }

/* ---- What I built ----------------------------------------------------------------- */
.cs-turlo .ct-built { border-top: 1px solid var(--ct-line); }
.cs-turlo .ct-built__inner { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); display: flex; flex-direction: column; gap: clamp(64px, 7vw, 100px); }
.cs-turlo .ct-module { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); }

/* Screens in light frames; the link opens the full-size screenshot */
.cs-turlo .ct-shot { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-turlo .ct-shot__frame {
  display: block; position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--ct-line-2);
  background: #FFFFFF; box-shadow: 0 24px 50px rgba(26, 26, 46, 0.12); cursor: zoom-in;
}
.cs-turlo .ct-shot__frame img { display: block; width: 100%; height: auto; }
.cs-turlo .ct-shot__frame--s1 { aspect-ratio: 1440 / 690; }
.cs-turlo .ct-shot__frame--s1 img { height: 100%; object-fit: cover; object-position: top center; }

/* Module 1: search sentence */
.cs-turlo .ct-m1 { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px clamp(32px, 5vw, 80px); }
.cs-turlo .ct-m1__text { flex: 1 1 320px; min-width: 0; max-width: 440px; display: flex; flex-direction: column; gap: 12px; }
.cs-turlo .ct-query { flex: 1 1 460px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.cs-turlo .ct-query__q { font-family: var(--ct-serif); font-size: clamp(38px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.01em; color: var(--ct-ink); text-wrap: balance; }
.cs-turlo .ct-query__q > span[aria-hidden] { color: var(--ct-coral); }
.cs-turlo .ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-turlo .ct-chips li { padding: 6px 14px; border-radius: 999px; background: #FFFFFF; border: 1.5px solid var(--ct-ink); font-size: 14px; line-height: 1.3; color: var(--ct-ink); }
.cs-turlo .ct-chips li span { color: var(--ct-muted); }

/* Module 2: import from a link (crop of the import card, as in the mockup) */
.cs-turlo .ct-m2 { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 4vw, 48px); }
.cs-turlo .ct-m2__fig { flex: 0 1 689px; gap: 12px; }
.cs-turlo .ct-shot__frame--s2 { aspect-ratio: 687 / 700; background: #F5F5F5; box-shadow: 0 18px 40px rgba(26, 26, 46, 0.10); }
.cs-turlo .ct-shot__frame--s2 img { position: absolute; top: 0; left: 0; width: 178.17%; max-width: none; height: auto; margin: -9.4% 0 0 -39.08%; }
.cs-turlo .ct-m2__text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* Modules 3 + 4 */
.cs-turlo .ct-pair {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 40px clamp(40px, 5vw, 80px);
  padding: clamp(36px, 4vw, 52px) 0; border-top: 1px solid var(--ct-line-2); border-bottom: 1px solid var(--ct-line-2);
}
.cs-turlo .ct-pair > article { display: flex; flex-direction: column; gap: 12px; }
.cs-turlo .ct-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-turlo .ct-langs li { padding: 2px 8px; border: 1px solid var(--ct-dash); border-radius: 4px; background: #FFFFFF; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--ct-ink); }

/* Module 5 */
.cs-turlo .ct-m5 { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px clamp(32px, 5vw, 80px); }
.cs-turlo .ct-m5 > .ct-h3m { flex: 0 1 auto; }
.cs-turlo .ct-m5 > .ct-body { flex: 1 1 420px; min-width: 0; max-width: 64ch; }

/* Module 6 (sand band): enquiry bar + real listings as postcards */
.cs-turlo .ct-m6 { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: center; gap: 44px clamp(32px, 5vw, 72px); }
.cs-turlo .ct-m6__left { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.cs-turlo .ct-m6__text { display: flex; flex-direction: column; gap: 12px; }
.cs-turlo .ct-bar { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-turlo .ct-bar__frame {
  display: block; position: relative; width: 351px; max-width: 100%; aspect-ratio: 351 / 136; overflow: hidden; background: #FFFFFF;
  border-radius: 12px 12px 36px 36px; box-shadow: 0 0 0 1px var(--ct-line-2), 0 22px 44px rgba(26, 26, 46, 0.16); cursor: zoom-in;
}
.cs-turlo .ct-bar__frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.cs-turlo .ct-bar .ct-cap { max-width: 390px; }
.cs-turlo .ct-m6__right { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cs-turlo .ct-cards { display: flex; flex-direction: column; gap: 20px; }
.cs-turlo .ct-card {
  background: var(--ct-card); border: 1px solid var(--ct-line-2); border-radius: 3px; box-shadow: 0 10px 22px rgba(26, 26, 46, 0.10);
  padding: 16px 16px 16px 20px; display: flex; gap: 16px; align-items: stretch;
}
.cs-turlo .ct-card:nth-child(1) { transform: rotate(-1.2deg); }
.cs-turlo .ct-card:nth-child(2) { transform: rotate(0.8deg); }
.cs-turlo .ct-card:nth-child(3) { transform: rotate(-0.6deg); }
.cs-turlo .ct-card__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-right: 16px; border-right: 1px dashed var(--ct-dash-2); }
.cs-turlo .ct-card__org { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ct-muted); }
.cs-turlo .ct-card__pl { font-family: var(--ct-serif); font-size: 21px; line-height: 1.15; color: var(--ct-ink); overflow-wrap: anywhere; }
.cs-turlo .ct-card__en { font-size: 15px; line-height: 1.4; color: var(--ct-ink); }
.cs-turlo .ct-card__tag {
  display: inline-block; margin-right: 6px; padding: 0 5px; border: 1px solid var(--ct-dash-2); border-radius: 3px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; line-height: 16px; color: var(--ct-muted); vertical-align: 1px;
}
.cs-turlo .ct-card__dates { font-size: 14px; line-height: 1.45; color: var(--ct-ink); }
.cs-turlo .ct-card__price {
  flex: 0 0 auto; align-self: flex-start; min-width: 78px; background: var(--ct-coral); border: 5px dotted var(--ct-card);
  padding: 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; color: var(--ct-ink);
}
.cs-turlo .ct-card__from { font-size: 12px; font-weight: 500; line-height: 1.2; }
.cs-turlo .ct-card__amount { font-size: 18px; font-weight: 700; line-height: 1.1; white-space: nowrap; }

/* ---- One API, three apps ------------------------------------------------------- */
.cs-turlo .ct-how { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); display: flex; flex-direction: column; gap: clamp(40px, 4.5vw, 60px); }
.cs-turlo .ct-arch { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-turlo .ct-arch__apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.cs-turlo .ct-arch__apps li { background: #FFFFFF; border: 1.5px solid var(--ct-ink); border-radius: 10px; padding: 16px 18px; display: flex; align-items: flex-start; gap: 14px; }
.cs-turlo .ct-arch__apps svg { flex: none; color: var(--ct-coral-text); }
.cs-turlo .ct-arch__name { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.cs-turlo .ct-arch__sub { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ct-muted); }
.cs-turlo .ct-arch__api { display: flex; align-items: center; gap: 14px; padding: 4px 18px; }
.cs-turlo .ct-arch__api svg { flex: none; color: var(--ct-ink); }
.cs-turlo .ct-arch__api p { font-size: 15px; line-height: 1.5; }
.cs-turlo .ct-arch__boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 14px; }
.cs-turlo .ct-arch__box { border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.cs-turlo .ct-arch__box--server { border: 1.5px dashed var(--ct-ink); }
.cs-turlo .ct-arch__box--cloud { border: 1.5px solid var(--ct-coral); background: #FFFFFF; }
.cs-turlo .ct-arch__title { display: flex; align-items: center; gap: 10px; font-family: var(--ct-serif); font-size: 23px; line-height: 1.2; color: var(--ct-ink); }
.cs-turlo .ct-arch__title svg { flex: none; }
.cs-turlo .ct-arch__box ul { display: flex; flex-direction: column; gap: 8px; }
.cs-turlo .ct-arch__box li { background: #FFFFFF; border: 1px solid var(--ct-line-2); border-radius: 8px; padding: 10px 14px; font-size: 15px; line-height: 1.5; }
.cs-turlo .ct-arch__box--cloud li { background: var(--ct-paper); }
.cs-turlo .ct-pair2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 36px clamp(40px, 5vw, 80px); }
.cs-turlo .ct-pair2 > div { display: flex; flex-direction: column; gap: 10px; }
.cs-turlo .ct-pair2 .ct-body { max-width: 60ch; }

/* ---- Timeline ----------------------------------------------------------------- */
.cs-turlo .ct-timeline { background: #FFFFFF; border-top: 1px solid var(--ct-line); border-bottom: 1px solid var(--ct-line); }
.cs-turlo .ct-timeline__inner { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); display: flex; flex-direction: column; gap: clamp(44px, 5vw, 60px); }
.cs-turlo .ct-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 24px; }
.cs-turlo .ct-step { position: relative; padding-top: 26px; border-top: 2px dashed var(--ct-coral); display: flex; flex-direction: column; gap: 8px; }
.cs-turlo .ct-step::before {
  content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; box-sizing: border-box;
  border-radius: 50%; background: #FFFFFF; border: 3px solid var(--ct-coral);
}
.cs-turlo .ct-step--now::before { background: var(--ct-coral); }
.cs-turlo .ct-step__when { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--ct-coral-text); }
.cs-turlo .ct-step__title { font-family: var(--ct-serif); font-weight: 400; font-size: 23px; line-height: 1.15; color: var(--ct-ink); text-wrap: balance; }
.cs-turlo .ct-step__text { font-size: 15px; line-height: 1.55; color: var(--ct-ink); }

/* ---- Results -------------------------------------------------------------------- */
.cs-turlo .ct-results { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px clamp(40px, 5vw, 80px); }
.cs-turlo .ct-results__main { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cs-turlo .ct-checks { display: flex; flex-direction: column; border-top: 1px solid var(--ct-line-2); }
.cs-turlo .ct-checks li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ct-line-2); font-size: 17px; line-height: 1.55; }
.cs-turlo .ct-checks svg { flex: none; margin-top: 4px; color: var(--ct-coral-text); }
.cs-turlo .ct-results__side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.cs-turlo .ct-verify { background: #FFFFFF; border: 8px dotted var(--ct-paper); padding: 7px; box-shadow: var(--ct-shadow); transform: rotate(-0.8deg); }
.cs-turlo .ct-verify__inner { border: 1.5px solid var(--ct-coral); padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 12px; }
.cs-turlo .ct-verify__title { font-family: var(--ct-serif); font-style: italic; font-size: 21px; line-height: 1.25; color: var(--ct-ink); }
.cs-turlo .ct-verify__list { display: flex; flex-direction: column; }
.cs-turlo .ct-verify__list li { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--ct-dash); }
.cs-turlo .ct-verify__list li:last-child { border-bottom: 1px dashed var(--ct-dash); }
.cs-turlo .ct-verify__num { flex: 0 0 112px; font-family: var(--ct-serif); font-size: 42px; line-height: 1; color: var(--ct-ink); }
.cs-turlo .ct-verify__text { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 1.5; color: var(--ct-ink); }

/* ---- FAQ (rsm_faq() markup, one open item per cell, two columns) ---------------- */
.cs-turlo .ct-faq__inner { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); display: flex; flex-direction: column; gap: clamp(36px, 4vw, 52px); }
.cs-turlo .ct-faq__title { max-width: 20ch; }
.cs-turlo .ct-faq__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 0 clamp(40px, 5vw, 72px); align-items: start; }
.cs-turlo .ct-faq__grid .rsm-faq { border-bottom: 0; }
.cs-turlo .ct-faq__grid .rsm-faq__item { border-top: 1px solid var(--ct-dash-2); }
.cs-turlo .rsm-faq__q { padding: 24px 0 26px; gap: 20px; }
.cs-turlo .rsm-faq__item[open] .rsm-faq__q { padding-bottom: 10px; }
.cs-turlo .rsm-faq__title { font-family: var(--ct-serif); font-weight: 400; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: 0; color: var(--ct-ink); text-wrap: balance; }
.cs-turlo .rsm-faq__icon { margin-top: 5px; color: var(--ct-coral-text); }
.cs-turlo .rsm-faq__icon path { transition: opacity .2s ease; }
.cs-turlo .rsm-faq__item[open] .rsm-faq__icon { transform: none; }
.cs-turlo .rsm-faq__item[open] .rsm-faq__icon path:first-child { opacity: 0; } /* open = minus, closed = plus */
.cs-turlo .rsm-faq__a { padding: 0 0 28px; font-size: 17px; line-height: 1.65; color: var(--ct-ink); max-width: 60ch; }
.cs-turlo .rsm-faq__a a { color: var(--ct-ink); text-decoration: underline; text-decoration-color: var(--ct-coral-text); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cs-turlo .rsm-faq__a a:hover { color: var(--ct-coral-text); }

/* ---- Call to action (navy band) ---------------------------------------------------- */
.cs-turlo .ct-cta { background: var(--ct-ink); color: var(--ct-paper); }
.cs-turlo .ct-cta :focus-visible { outline-color: var(--ct-coral); }
.cs-turlo .ct-cta__inner { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 44px clamp(40px, 6vw, 96px); }
.cs-turlo .ct-cta__main { flex: 1 1 460px; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 20px; }
.cs-turlo .ct-cta__head { display: flex; align-items: center; gap: clamp(16px, 2vw, 24px); }
.cs-turlo .ct-cta__head img { flex: none; display: block; width: clamp(56px, 5vw, 72px); height: clamp(56px, 5vw, 72px); border-radius: 50%; object-fit: cover; border: 2px solid var(--ct-coral); background: #2A2A44; }
.cs-turlo .ct-cta__title { min-width: 0; font-family: var(--ct-serif); font-weight: 400; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.01em; color: var(--ct-paper); }
.cs-turlo .ct-cta__text { font-size: 18px; line-height: 1.6; color: #EDE6DE; max-width: 52ch; text-wrap: pretty; }
.cs-turlo .ct-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cs-turlo .ct-cta__contact { font-size: 16px; line-height: 1.5; color: #EDE6DE; }
.cs-turlo .ct-cta__contact a { display: inline-block; padding: 10px 0; color: var(--ct-paper); text-decoration: underline; text-decoration-color: var(--ct-coral); text-underline-offset: 4px; }
.cs-turlo .ct-cta__contact a:hover { color: #FFFFFF; text-decoration-thickness: 2px; }
.cs-turlo .ct-cta__more { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-turlo .ct-cta__h3 { font-family: var(--ct-serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--ct-paper); }
.cs-turlo .ct-cta__more ul { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 248, 243, 0.24); }
.cs-turlo .ct-cta__more li { border-bottom: 1px solid rgba(255, 248, 243, 0.24); }
.cs-turlo .ct-cta__more a {
  display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 17px; line-height: 1.4; color: var(--ct-paper);
  text-decoration: underline; text-decoration-color: var(--ct-coral); text-underline-offset: 5px;
}
.cs-turlo .ct-cta__more a:hover { color: #FFFFFF; text-decoration-thickness: 2px; }
.cs-turlo .ct-cta__more svg { flex: none; }

/* ---- End of page: back to the list, next case, credits ---------------------------- */
.cs-turlo .ct-end { padding-top: clamp(36px, 4vw, 48px); padding-bottom: clamp(44px, 5vw, 60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; }
.cs-turlo .ct-end__meta { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cs-turlo .ct-end__back {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 700; color: var(--ct-ink);
  text-decoration: underline; text-decoration-color: var(--ct-coral); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.cs-turlo .ct-end__back:hover { color: var(--ct-coral-text); }
.cs-turlo .ct-next {
  flex: 0 1 460px; min-width: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px;
  padding: 18px 22px 20px; background: var(--ct-card); border: 1px solid var(--ct-line-2); border-radius: 3px;
  box-shadow: 0 10px 22px rgba(26, 26, 46, 0.10); color: var(--ct-ink); text-decoration: none; transform: rotate(-0.8deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cs-turlo .ct-next:hover { color: var(--ct-ink); transform: rotate(0deg) translateY(-2px); box-shadow: 0 16px 30px rgba(26, 26, 46, 0.14); }
.cs-turlo .ct-next__label { grid-column: 1; font-family: var(--ct-serif); font-style: italic; font-size: 16px; line-height: 1.3; color: var(--ct-muted); }
.cs-turlo .ct-next__name { grid-column: 1; margin-top: 2px; font-family: var(--ct-serif); font-size: 30px; line-height: 1.1; color: var(--ct-ink); text-decoration: underline; text-decoration-color: var(--ct-coral); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cs-turlo .ct-next__desc { grid-column: 1; margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ct-muted); }
.cs-turlo .ct-next__arrow {
  grid-column: 2; grid-row: 1 / span 3; align-self: center; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--ct-coral); color: var(--ct-ink);
}
.cs-turlo .ct-end__credit { font-size: 13px; line-height: 1.6; color: var(--ct-muted); }
.cs-turlo .ct-end__credit a { color: var(--ct-muted); text-decoration: underline; text-underline-offset: 3px; }
.cs-turlo .ct-end__credit a:hover { color: var(--ct-ink); }

/* ---- Tablet --------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .cs-turlo .ct-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
}
@media (max-width: 1000px) {
  .cs-turlo .ct-stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-turlo .ct-hero__text { max-width: 640px; }
  .cs-turlo .ct-hero__title { font-size: clamp(42px, 6.8vw, 56px); }
  .cs-turlo .ct-facts > div { flex-basis: 240px; } /* 3 + 2 instead of 4 + 1 */
  /* section heads: title above its intro instead of bottom-aligned side by side */
  .cs-turlo .ct-head,
  .cs-turlo .ct-m5 { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cs-turlo .ct-head > .ct-h2,
  .cs-turlo .ct-head > .ct-lead,
  .cs-turlo .ct-m5 > .ct-body { flex: 0 0 auto; }
}
@media (max-width: 700px) {
  .cs-turlo .ct-three { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Phone ---------------------------------------------------------------------- */
@media (max-width: 640px) {
  .cs-turlo .ct-hero__title { font-size: clamp(36px, 10vw, 42px); }
  .cs-turlo .ct-hero__text { gap: 22px; }
  .cs-turlo .ct-collage__caption { text-align: left; }
  .cs-turlo .ct-h3 { font-size: 26px; }

  /* stamps: number and label side by side */
  .cs-turlo .ct-stamps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cs-turlo .ct-stamp:nth-child(n) { transform: rotate(-0.8deg); }
  .cs-turlo .ct-stamp:nth-child(2n) { transform: rotate(0.8deg); }
  .cs-turlo .ct-stamp__inner { flex-direction: row; align-items: center; gap: 16px; padding: 12px 16px; }
  .cs-turlo .ct-stamp__num { flex: 0 0 auto; min-width: 2.4ch; font-size: 52px; }
  .cs-turlo .ct-stamp__label { font-size: 15px; }

  .cs-turlo .ct-trio { padding: 18px 4px 10px; }
  .cs-turlo .ct-trio__a { transform: rotate(-6deg) translate(10px, 6px); }
  .cs-turlo .ct-trio__c { transform: rotate(6deg) translate(-10px, 8px); }
  .cs-turlo .ct-polaroid--sm { padding: 6px 6px 0; }
  .cs-turlo .ct-polaroid--sm figcaption { padding: 6px 1px 8px; font-size: 13px; }

  .cs-turlo .ct-shot__frame { border-radius: 8px; }
  .cs-turlo .ct-card { padding: 14px 12px 14px 16px; gap: 12px; }
  .cs-turlo .ct-card__body { padding-right: 12px; }
  .cs-turlo .ct-card__pl { font-size: 19px; }

  /* vertical timeline */
  .cs-turlo .ct-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cs-turlo .ct-step { padding: 0 0 30px 28px; border-top: 0; border-left: 2px dashed var(--ct-coral); }
  .cs-turlo .ct-step:last-child { padding-bottom: 0; border-left-color: transparent; }
  .cs-turlo .ct-step::before { top: 1px; left: -9px; }

  .cs-turlo .ct-facts > div { padding: 14px 18px 16px; gap: 6px; }
  .cs-turlo .ct-verify__inner { padding: 16px 16px 14px; }
  .cs-turlo .ct-verify__list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cs-turlo .ct-verify__num { flex: 0 0 auto; font-size: 38px; }
  .cs-turlo .ct-arch__api { padding: 4px 4px; }
  .cs-turlo .ct-arch__box { padding: 16px; }
  .cs-turlo .rsm-faq__a { padding-right: 0; }

  .cs-turlo .ct-next { flex-basis: 100%; transform: none; padding: 16px 18px 18px; }
  .cs-turlo .ct-next__name { font-size: 26px; }
  .cs-turlo .ct-next__arrow { width: 46px; height: 46px; }
}
@media (max-width: 380px) {
  .cs-turlo .ct-hero__actions { gap: 4px 20px; }
  .cs-turlo .ct-card { flex-direction: column; }
  .cs-turlo .ct-card__body { padding-right: 0; border-right: 0; padding-bottom: 10px; border-bottom: 1px dashed var(--ct-dash-2); }
  .cs-turlo .ct-card__price { flex-direction: row; gap: 6px; align-items: baseline; }
}
