/* RasmTeam — minimal header, accent overrides, and small interaction states. */

:root {
  --rt-accent: #23A4DB;
  --rt-accent-dark: #1778A3;
  --rt-accent-light: #9AD9EF;
  --rt-ink: #0f0f0f;
  --rt-paper: #ffffff;
  --rt-header-h: 96px;
  --rt-ease: cubic-bezier(.2, .7, .2, 1);

  /* Typography — the single place to change leading. The export re-declares
     line-height several times per class (base rule plus media queries), so
     editing one of those declarations looks like it does nothing. These
     variables win because this stylesheet loads last. */
  --rt-display-leading: 1;                        /* hero slogan lines */
  --rt-display-gap: clamp(1rem, 3vh, 3rem);       /* space between slogan words */
  --rt-heading-leading: 1.05;                     /* section headings */
  --rt-body-leading: 1.2;                         /* intro paragraph */
  --rt-copy-leading: 1.7;                         /* case-study body copy */
  --rt-list-leading: 1.8;                         /* case-study bullet lists */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

/* The original client-rendered navbar is gone; remove any leftover shells. */
.navbar_nav__bIAWS,
.navbar_topbar__4Yrx4,
.navbar_menuPanel__YI8qk { display: none !important; }

/* Inner pages start below the fixed header; the home hero sits under it. */
body[data-page]:not([data-page="home"]) main { padding-top: var(--rt-header-h); }
[id] { scroll-margin-top: calc(var(--rt-header-h) + 16px); }

/* -------------------------------------------------------------------- type */
/* Loaded last, so these win over every duplicate line-height in the export. */
.hero_slogan__nGNgc {
  line-height: var(--rt-display-leading);
  gap: var(--rt-display-gap);
}
.home_h1__xpUXO,
.projects_title__EXBP_,
.project-detail_title__XIgxb { line-height: var(--rt-heading-leading); }

.home_postHero__Lq7TT { line-height: var(--rt-body-leading); }

/* Hero slogan: each letter leans horizontally toward the pointer while it is
   over the hero video. The script writes the translate; this rule only gives
   the letters their own paint layer and a no-motion fallback. */
.hero_slogan__nGNgc .hero-letter {
  display: inline-block;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero_slogan__nGNgc .hero-letter {
    transform: none !important;
    will-change: auto;
  }
}

.home_boutiqueCopy__F14ww,
.project-detail_projectText__6sKRE,
[class*="_introSection__"],
[class*="_largeText__"] { line-height: var(--rt-copy-leading); }

[class*="_bulletList__"] { line-height: var(--rt-list-leading); }

@media (max-width: 980px) { :root { --rt-body-leading: 1.3; } }
@media (max-width: 620px) { :root { --rt-body-leading: 1.4; } }

/* ------------------------------------------------------------------ header */
/* Floating white capsule: sits over the hero, condenses on scroll. */
.rt-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  padding: 18px clamp(16px, 3vw, 32px);
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  pointer-events: none;
  transition: padding .45s var(--rt-ease);
}
.rt-header-inner {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(15, 15, 15, .10);
  box-shadow: 0 10px 30px rgba(15, 15, 15, .10);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  transition: height .45s var(--rt-ease), padding .45s var(--rt-ease),
              box-shadow .3s var(--rt-ease), border-color .3s var(--rt-ease);
}
.rt-header.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
.rt-header.is-scrolled .rt-header-inner {
  height: 52px;
  box-shadow: 0 14px 34px rgba(15, 15, 15, .14);
  border-color: rgba(15, 15, 15, .14);
}

.rt-logo {
  display: flex;
  align-items: center;
  height: 34px;
  flex: 0 0 auto;
  text-decoration: none;
}
.rt-logo img { display: block; height: 100%; width: auto; }
.rt-logo .rt-logo-mark { display: none; height: 30px; }

/* sliding accent pill behind the nav */
.rt-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
}
.rt-nav-pill {
  position: absolute;
  top: 4px; bottom: 4px; left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--rt-accent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
  /* transform/width are driven frame-by-frame in site.js so the white label
     copy below stays locked to the pill while it travels. */
  transition: opacity .22s var(--rt-ease);
}
.rt-nav-pill.is-visible { opacity: 1; }
.rt-nav a {
  position: relative;
  z-index: 1;
  padding: 9px 15px;
  color: var(--rt-ink);
  opacity: .62;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .2s var(--rt-ease);
}
.rt-nav a:hover,
.rt-nav a:focus-visible { opacity: 1; }
.rt-nav a.is-active { opacity: 1; }

/* A white duplicate of the labels, clipped to the travelling pill. The label
   therefore turns white exactly where the blue pill is — it slides in with the
   pill instead of flipping colour, and never flashes white on white. */
.rt-nav-ghost {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity .22s var(--rt-ease);
}
.rt-nav-ghost.is-visible { opacity: 1; }
.rt-nav-ghost a {
  color: #fff;
  opacity: 1;
  pointer-events: none;
}

.rt-header-end { display: flex; align-items: center; gap: 10px; }
.rt-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--rt-accent);
  color: #fff;
  border: 1px solid var(--rt-accent);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s var(--rt-ease), color .25s var(--rt-ease),
              border-color .25s var(--rt-ease);
}
.rt-cta svg { transition: transform .3s var(--rt-ease); }
.rt-cta:hover, .rt-cta:focus-visible {
  background: transparent;
  color: var(--rt-accent);
  border-color: var(--rt-accent);
}
.rt-cta:hover svg, .rt-cta:focus-visible svg { transform: translate(2px, -2px); }

.rt-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(15, 15, 15, .14);
  border-radius: 999px;
  background: transparent;
  color: var(--rt-ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s var(--rt-ease), color .25s var(--rt-ease),
              border-color .25s var(--rt-ease);
}
.rt-toggle-bars { display: flex; flex-direction: column; gap: 4px; width: 16px; }
/* "Menu" and "Close" differ by a character; reserve the wider word so the
   header pill does not twitch when the label swaps. */
.rt-toggle-label { min-width: 46px; text-align: left; }
.rt-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--rt-ease);
}
.rt-toggle.is-open .rt-toggle-bars span:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.rt-toggle.is-open .rt-toggle-bars span:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }
/* while the dark sheet is up the pill inverts, so the same button reads as
   "close" against the header it still sits in */
.rt-toggle.is-open {
  background: var(--rt-ink);
  border-color: var(--rt-ink);
  color: #fff;
}

/* ------------------------------------------------ full-screen menu (tablet + phone)
   The panel is a curtain that grows as a circle out of the Menu button, then
   hands the stage to four plates that rise one after another. site.js measures
   the button's centre and the farthest corner, so the circle always starts at
   the control the user just pressed and covers the sheet exactly once. */
.rt-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  gap: 0;
  padding: 104px clamp(20px, 7vw, 56px) 40px;
  background: var(--rt-ink);
  color: #fff;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: circle(0px at var(--rt-menu-x, 92%) var(--rt-menu-y, 46px));
  /* closing is quicker than the entrance: the curtain drops back into the button */
  transition: clip-path .42s cubic-bezier(.6, 0, .84, 0);
}
.rt-mobile-menu[hidden] { display: none; }
.rt-mobile-menu.is-open {
  clip-path: circle(var(--rt-menu-r, 150vmax) at var(--rt-menu-x, 92%) var(--rt-menu-y, 46px));
  /* front-loaded: the circle is over most of the sheet in the first third, so
     the item choreography — not the curtain edge — is what the eye follows */
  transition: clip-path .66s cubic-bezier(.16, 1, .3, 1);
}

/* Each item owns two pseudo layers: a blue band that wipes in from the left on
   hover, and the hairline that draws itself across the row on open. The label
   sits above the band because the anchor isolates its own stacking context. */
.rt-mobile-menu > a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  color: #fff;
  text-decoration: none;
  font-size: clamp(32px, 6.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .26s linear var(--rt-o, 0ms),
              transform .4s cubic-bezier(.2, .7, .2, 1) var(--rt-o, 0ms),
              color .22s var(--rt-ease);
}
/* entrance runs 1 -> 2 -> 3 -> 4; the exit unwinds in reverse */
.rt-mobile-menu > a:nth-child(1) { --rt-i: 240ms; --rt-o: 90ms; }
.rt-mobile-menu > a:nth-child(2) { --rt-i: 285ms; --rt-o: 60ms; }
.rt-mobile-menu > a:nth-child(3) { --rt-i: 330ms; --rt-o: 30ms; }
.rt-mobile-menu > a:nth-child(4) { --rt-i: 375ms; --rt-o: 0ms; }

.rt-mobile-menu > a::before {
  content: "";
  position: absolute;
  inset: 3px -14px;
  z-index: -1;
  border-radius: 10px;
  background: var(--rt-accent-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .38s var(--rt-ease);
  pointer-events: none;
}
.rt-mobile-menu > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .16);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--rt-ease);
  transition-delay: var(--rt-o, 0ms);
}
.rt-mobile-menu.is-open > a {
  opacity: 1;
  transform: none;
  transition: opacity .26s linear var(--rt-i, 0ms),
              transform .4s cubic-bezier(.2, .7, .2, 1) var(--rt-i, 0ms),
              color .22s var(--rt-ease);
}
.rt-mobile-menu.is-open > a::after {
  transform: scaleX(1);
  transition-delay: calc(var(--rt-i, 0ms) + 110ms);
}
.rt-mobile-menu > a:hover::before,
.rt-mobile-menu > a:focus-visible::before { transform: scaleX(1); }
.rt-mobile-menu > a:hover,
.rt-mobile-menu > a:focus-visible { color: #fff; }

.rt-menu-num {
  font-size: 11px;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  color: var(--rt-accent-light);
  transition: color .22s var(--rt-ease);
}
.rt-mobile-menu > a:hover .rt-menu-num,
.rt-mobile-menu > a:focus-visible .rt-menu-num { color: #fff; }

.rt-menu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  margin-top: 36px;
  font-size: 12px;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .3s linear, transform .4s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--rt-o, 0ms);
}
.rt-mobile-menu.is-open .rt-menu-foot {
  opacity: 1;
  transform: none;
  transition-delay: 460ms;
}
.rt-menu-mail {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  transition: color .2s var(--rt-ease), border-color .2s var(--rt-ease);
}
.rt-menu-mail:hover,
.rt-menu-mail:focus-visible { color: var(--rt-accent-light); border-color: currentColor; }
.rt-menu-note { color: rgba(255, 255, 255, .55); }

.rt-header a:focus-visible,
.rt-toggle:focus-visible {
  outline: 2px solid var(--rt-accent);
  outline-offset: 3px;
  border-radius: 999px;
}
.rt-mobile-menu a:focus-visible {
  outline: 2px solid var(--rt-accent-light);
  outline-offset: 4px;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .rt-nav { display: none; }
  .rt-toggle { display: inline-flex; }
}
@media (max-width: 620px) {
  :root { --rt-header-h: 84px; }
  .rt-header { padding: 14px; }
  .rt-header-inner { height: 56px; padding: 0 8px 0 16px; }
  .rt-cta { display: none; }
  .rt-logo .rt-logo-lockup { display: none; }
  .rt-logo .rt-logo-mark { display: block; }
}

/* ------------------------------------------------------- boxed page shell
   The site sits in a centred sheet instead of running edge to edge. The
   backdrop is white, so the gutter outside the sheet stays clean.
   Fixed chrome (header, loader, mobile menu) is pinned to the same width so
   nothing floats outside the sheet. */
:root {
  /* A fixed max would vanish on a 1440-wide window, so the sheet also keeps a
     minimum 48px gutter on each side until the edge-to-edge breakpoint. */
  --rt-shell: min(1600px, calc(100vw - 96px));
  --rt-shell-radius: 26px;
  --rt-shell-line: rgba(15, 15, 15, .10);
}

html { background: #fff; }

body {
  width: 100%;
  max-width: var(--rt-shell);
  margin-left: auto;
  margin-right: auto;
  background: var(--rt-paper);
  border-left: 1px solid var(--rt-shell-line);
  border-right: 1px solid var(--rt-shell-line);
  border-radius: 0 0 var(--rt-shell-radius) var(--rt-shell-radius);
  box-shadow: 0 40px 120px -70px rgba(15, 15, 15, .55);
}

/* the sheet's last block is the dark footer, so it carries the same corner */
.Footer_footer__yl3k1 {
  border-radius: 0 0 var(--rt-shell-radius) var(--rt-shell-radius);
}

/* fixed chrome follows the sheet, not the viewport */
.rt-header {
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--rt-shell);
}
.rt-mobile-menu {
  left: 50%;
  right: auto;
  width: min(100%, var(--rt-shell));
  transform: translateX(-50%);
}
.rt-loader {
  left: 50%;
  width: min(100%, var(--rt-shell));
  transform: translateX(-50%);
}

/* the hero frame measured itself against the viewport; inside the sheet it
   simply fills the sheet's width */
.hero_frame__34mwh { width: 100%; }

/* Below the sheet's own width there is nothing to frame — go edge to edge. */
@media (max-width: 1100px) {
  :root { --rt-shell: 100%; }
  body {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .Footer_footer__yl3k1 { border-radius: 0; }
}

/* The export baked desktop pixel widths into inline styles on the intro block
   (a JS-measured 866px paragraph, an 80px indent). Inside a narrower sheet they
   push the grid track past the viewport, so the export's own mobile rules are
   restored over the inline values. */
.home_wrap___v36D > * { min-width: 0; }
@media (max-width: 1100px) {
  .home_postHero__Lq7TT {
    width: auto !important;
    max-width: none;
    margin-left: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .home_tagsRow__jar_Q { margin-left: 0 !important; }
}

/* ---------------------------------------------------- intro band: black/blue
   The block under the hero wears the mobile menu's palette — near-black
   ground, white copy, one blue — as an inset card: it keeps the sheet's side
   gutter and a matching corner radius instead of running edge to edge, so the
   white page still frames it above the full-bleed who-we-are pair. Accent
   words in the paragraph switch to the brand display face so the eye can
   anchor on them; the body keeps the reading face shipped by the export. */
.rt-intro {
  --rt-intro-blue: #58C0ED;
  --rt-intro-blue-soft: rgba(88, 192, 237, .14);
  position: relative;
  overflow: hidden;
  margin: clamp(14px, 2.2vw, 30px) clamp(14px, 3.4vw, 52px);
  padding: 0;
  border-radius: clamp(14px, 1.5vw, 22px);
  background: #0f0f0f;
  color: #fff;
  font-family: Jakarta, Nohemi, Helvetica, Arial, sans-serif;
}
/* a single faint blue bloom keeps the flat black from reading as a dead band */
.rt-intro::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -8%;
  width: min(58vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(35, 164, 219, .22), rgba(35, 164, 219, 0) 70%);
  pointer-events: none;
}
.rt-intro-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(22px, 2.6vw, 34px);
  width: 100%;
  /* the band keeps the same side rhythm as the sections above and below it,
     so the extra weight of the dark ground never shifts the page's grid */
  padding: clamp(46px, 6.4vw, 92px) clamp(16px, 4vw, 48px);
}

.rt-intro .home_postHero__Lq7TT {
  width: auto;
  max-width: 62ch;
  margin: 0 0 0 clamp(0px, 5vw, 80px);
  padding: 0;
  color: rgba(255, 255, 255, .88);
  font-family: Jakarta, Nohemi, Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 2.05vw, 29px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.005em;
}
.rt-intro-key {
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: .005em;
  color: var(--rt-intro-blue);
}

.rt-intro .home_tagsRow__jar_Q {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(6px, .8vw, 10px);
  margin: 0 0 0 clamp(0px, 9vw, 150px);
  padding: 0;
}
.rt-intro .home_tag__WBzgU {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: color .22s var(--rt-ease), border-color .22s var(--rt-ease),
              background-color .22s var(--rt-ease), transform .22s var(--rt-ease);
}
.rt-intro .home_tag__WBzgU:hover,
.rt-intro .home_tag__WBzgU:focus-visible {
  color: #fff;
  border-color: var(--rt-intro-blue);
  background: var(--rt-intro-blue-soft);
  box-shadow: none;
  transform: translateY(-1px);
}
.rt-intro .home_tag__WBzgU:active { transform: translateY(0); }
.rt-intro .home_tag__WBzgU:focus-visible {
  outline: 2px solid var(--rt-intro-blue);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .rt-intro .home_postHero__Lq7TT { max-width: none; margin-left: 0; }
  .rt-intro .home_tagsRow__jar_Q { margin-left: 0; }
}
@media (max-width: 620px) {
  .rt-intro-inner { padding: 38px 18px 42px; gap: 20px; }
  .rt-intro .home_tag__WBzgU {
    height: 28px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: .08em;
  }
}

/* ------------------------------------------- who-we-are duo (above boutique)
   The export never resets the UA default `figure { margin: 1em 40px }` on these
   two tiles, so each one loses 80px of its grid column and the pair sits 80px
   apart for no designed reason. Zero the margin and let one tight gap rule the
   pair (an !important is needed because the markup carries `style="gap:0"`). */
.home_duo__h7iWx .home_item__NLb4Z { margin: 0; }
.home_duo__h7iWx { gap: 8px !important; }

/* Tablet / smaller desktop: the 21:12 crop leaves each tile a short strip, so
   the exported 18px justified hover paragraph is clipped. Give the tiles a
   taller crop and the hover copy a fixed readable size with room to scroll. */
@media (max-width: 1200px) {
  .home_duo__h7iWx .home_hover__Mu9TW {
    padding: 16px;
    place-items: start center;
    overflow-y: auto;
  }
  .home_duo__h7iWx .home_hover__Mu9TW p {
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
  }
}
@media (min-width: 801px) and (max-width: 1200px) {
  .home_duo__h7iWx { padding: 24px clamp(16px, 3vw, 32px); }
  .home_duo__h7iWx .home_imgBox__cFS0e { aspect-ratio: 4 / 3; }
}

/* Tablet portrait down: two columns can't hold the copy, so reuse the
   caption-below treatment the mobile layout already uses. */
@media (max-width: 800px) {
  .home_duo__h7iWx { grid-template-columns: 1fr; gap: 12px !important; }
  .home_duo__h7iWx .home_hover__Mu9TW { display: none; }
  .home_duo__h7iWx .home_mobileCaption__ZeYnm { display: block; padding: 14px 16px; }
  .home_duo__h7iWx .home_mobileCaption__ZeYnm p {
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
  }
}

/* ------------------------------------------------- selected works: image + caption */

/* The export's skeleton hid every image behind opacity:0 until the Next.js
   runtime added a "loaded" class. Keep images visible and fade the placeholder
   out instead, so a missing runtime can never blank a project tile. */
.skeleton_content__4NsWv { opacity: 1; }
.skeleton_skeleton__5WxgO {
  transition: opacity .45s ease;
  pointer-events: none;
}
.skeleton_skeletonContainer__VJJWc.rt-skeleton-done .skeleton_skeleton__5WxgO { opacity: 0; }
.skeleton_skeletonContainer__VJJWc.rt-skeleton-done .skeleton_skeletonShimmer___YKG1 { animation: none; opacity: 0; }

/* Masked line reveal.
   Rest: a full-width strip showing the project's tags.
   Hover: the image dims to 82%, the tags step aside, and the title rises
   word by word out of a clipping line while a hairline rule draws beneath it.
   Nothing tracks the pointer, so nothing can feel fast. */
.home_work__gHhJB .home_overlayMeta__4uKhl {
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 12px;
  width: auto;
  max-width: none;
  min-width: 0;
  transform: none;
  pointer-events: none;
}

/* dim layer: sits above the image, below the caption */
.home_work__gHhJB .home_imgWrap__bdk3o::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: #0b0b0b;
  opacity: 0;
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1);
}
.home_work__gHhJB .home_imgWrap__bdk3o:hover::after,
.home_work__gHhJB .home_workLink__DEMK1:focus-visible .home_imgWrap__bdk3o::after {
  opacity: .18;
}

/* the caption card: quiet glass at rest, deeper glass once the title arrives */
.home_work__gHhJB .home_workDesc__E_cxA {
  position: relative;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transition: background .55s var(--rt-ease), border-color .55s var(--rt-ease);
}
.home_work__gHhJB .home_imgWrap__bdk3o:hover .home_workDesc__E_cxA,
.home_work__gHhJB .home_workLink__DEMK1:focus-visible .home_workDesc__E_cxA {
  background: rgba(12, 12, 12, .42);
  border-color: rgba(255, 255, 255, .16);
}

/* the 1px accent rule, drawn left to right under the title */
.home_work__gHhJB .home_workDesc__E_cxA::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: var(--rt-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.home_work__gHhJB .home_imgWrap__bdk3o:hover .home_workDesc__E_cxA::after,
.home_work__gHhJB .home_workLink__DEMK1:focus-visible .home_workDesc__E_cxA::after {
  transform: scaleX(1);
}

/* one clipping line per word; the inner span is what travels */
.rt-title-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .16em;
  margin-bottom: -.16em;
}
.rt-title-word > span {
  display: inline-block;
  transform: translateY(118%);
  /* leaving: last word first */
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc((var(--rt-n, 1) - 1 - var(--rt-i, 0)) * 45ms);
}
.home_work__gHhJB .home_imgWrap__bdk3o:hover .rt-title-word > span,
.home_work__gHhJB .home_workLink__DEMK1:focus-visible .rt-title-word > span {
  transform: translateY(0);
  /* entering: first word first */
  transition-delay: calc(var(--rt-i, 0) * 45ms);
}

/* tags hold the strip at rest, then step aside for the title */
.home_work__gHhJB .home_workTags__jCcat {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .3s var(--rt-ease), transform .45s var(--rt-ease);
  transition-delay: .28s;
}
.home_work__gHhJB .home_imgWrap__bdk3o:hover .home_workTags__jCcat,
.home_work__gHhJB .home_workLink__DEMK1:focus-visible .home_workTags__jCcat {
  opacity: 0;
  transform: translateY(6px);
  transition-delay: 0s;
}

/* ---------------------------------------------- View Project stamp
   A circular blue stamp tucked behind the tile's top edge. On hover it drops
   into the top-right corner (700ms, same length as the title reveal), a white
   hairline ring draws itself around it, and the circular "VIEW PROJECT" type
   begins a slow 28s rotation. On leave it retracts back under the edge in 420ms
   (60% of the entrance) so the two never fight for attention. */
.home_work__gHhJB .home_hoverOverlay__f7np5 {
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  bottom: auto;
  z-index: 6;
  width: 84px;
  height: 84px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 22px)) rotate(-16deg) scale(.9);
  transition: transform .42s cubic-bezier(.4, 0, 1, 1), opacity .3s ease;
}
.home_work__gHhJB .home_hoverOverlay__f7np5::before { content: none; }

.home_work__gHhJB .home_imgWrap__bdk3o:hover .home_hoverOverlay__f7np5,
.home_work__gHhJB .home_workLink__DEMK1:focus-visible .home_hoverOverlay__f7np5 {
  opacity: 1;
  transform: translateY(0) rotate(0deg) scale(1);
  transition: transform .7s cubic-bezier(.34, 1.32, .64, 1), opacity .34s ease;
}

/* the disc itself */
.home_work__gHhJB .home_viewProject__yqfJb {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--rt-accent);
  color: #fff;
  font-size: 0;
  letter-spacing: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 26px -12px rgba(23, 120, 163, .85);
}
.home_work__gHhJB .home_viewProject__yqfJb svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* circular type: still while hidden, turning once the stamp has landed */
.rt-badge-spin {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: rt-badge-spin 28s linear infinite;
  animation-play-state: paused;
}
.home_work__gHhJB .home_imgWrap__bdk3o:hover .rt-badge-spin,
.home_work__gHhJB .home_workLink__DEMK1:focus-visible .rt-badge-spin {
  animation-play-state: running;
}
@keyframes rt-badge-spin {
  to { transform: rotate(360deg); }
}

/* the hairline ring draws itself as the stamp settles */
.rt-badge-ring {
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  transition: stroke-dashoffset .42s cubic-bezier(.4, 0, 1, 1);
}
.home_work__gHhJB .home_imgWrap__bdk3o:hover .rt-badge-ring,
.home_work__gHhJB .home_workLink__DEMK1:focus-visible .rt-badge-ring {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .7s cubic-bezier(.2, .7, .2, 1) .06s;
}

/* Touch and reduced motion: no reveal to trigger, so show the title outright. */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .rt-title-word > span { transform: none !important; transition: none !important; }
  .home_work__gHhJB .home_workTags__jCcat { display: none; }
  .home_work__gHhJB .home_workDesc__E_cxA {
    background: rgba(12, 12, 12, .42);
    border-color: rgba(255, 255, 255, .16);
  }
  .home_work__gHhJB .home_workDesc__E_cxA::after { transform: scaleX(1); }

  /* no motion to run, so the stamp simply sits in its corner */
  .home_work__gHhJB .home_hoverOverlay__f7np5 {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .rt-badge-spin { animation: none; }
  .rt-badge-ring { stroke-dashoffset: 0; transition: none; }
}
@media (hover: none) {
  .home_work__gHhJB .home_hoverOverlay__f7np5 { display: none; }
}

/* ------------------------------------------------- white text on accent fills */
.projects_active__jharG,
.home_hover__Mu9TW,
.home_workDesc__E_cxA,
.home_captionTitle__2u0gu,
.Hirad-Harandian_ctaButton__XHFA5,
.Hirad-Harandian_overlayCaption__W8fsF {
  color: #ffffff !important;
}

/* Accent chips/buttons that were dark text but are not covered by the above. */
[class*="active"] { scroll-margin-top: calc(var(--rt-header-h) + 16px); }

/* Demo form feedback (no backend in this static rebuild). */
.rt-form-note {
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: var(--rt-accent-light);
  margin-top: 10px;
}

/* ---------------------------------------------------------------- intro loader
   Brand-blue field, white type. A dial draws itself while the percentage
   digits roll with it; the blue then splits into six blinds that lift off the
   hero. Blue is the darker brand tone so white copy keeps ~5:1 contrast. */
:root {
  --rt-loader-blue: #1778A3;
  --rt-loader-ease: cubic-bezier(.22, .8, .2, 1);
}

html.rt-loading { overflow: hidden; }

.rt-loader {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 10001;
  overflow: hidden;
  color: #fff;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.rt-loader-shutters {
  position: absolute;
  /* bleed 1px past the loader on both edges so the outer hairlines are covered */
  top: -1px;
  right: 0;
  bottom: -1px;
  left: 0;
  display: flex;
  flex-direction: column;
}
.rt-loader-shutters i {
  display: block;
  flex: 1 1 auto;
  background: var(--rt-loader-blue);
  will-change: transform;
  /* retracting each band inside its own slot needs the top edge as the hinge */
  transform-origin: 50% 0;
  /* one retract per band; the stagger lives in the is-done rules */
  transition: transform .66s cubic-bezier(.76, 0, .24, 1);
}
/* Bands almost never divide the viewport into whole pixels, so adjacent
   composited layers can round apart by a pixel and let the hero's bright video
   show through as a thin line. Overlapping each band by 1px means the bound-
   ary is always painted by the band that still has height. */
.rt-loader-shutters i + i { margin-top: -1px; }

.rt-loader-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(12px, 2.2vh, 26px);
  padding: clamp(18px, 2.6vw, 36px) clamp(18px, 3.2vw, 44px);
  transition: opacity .34s ease, transform .55s var(--rt-loader-ease);
}

/* top bar */
.rt-loader-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rt-loader-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.rt-loader-brand img { display: block; height: 26px; width: auto; }
.rt-loader-kicker {
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* dial + counter */
.rt-loader-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}
.rt-loader-dial {
  width: clamp(250px, 46vmin, 430px);
  height: auto;
  overflow: visible;
}
.rt-dial-rail {
  fill: none;
  stroke: rgba(255, 255, 255, .3);
  stroke-width: 1.2;
}
.rt-dial-ticks {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-dasharray: .4 2.1;
  opacity: .5;
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: rt-tick-spin 38s linear infinite;
}
.rt-dial-arc {
  fill: none;
  stroke: #fff;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform: rotate(-90deg);
  transform-box: view-box;
  transform-origin: 50% 50%;
  transition: stroke-dashoffset .22s linear;
}
.rt-dial-head {
  fill: #fff;
  transform-box: view-box;
  transform-origin: 50% 50%;
}
@keyframes rt-tick-spin { to { transform: rotate(360deg); } }

.rt-loader-readout {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.rt-roll,
.rt-final {
  grid-area: 1 / 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: clamp(84px, 17vmin, 188px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  transition: opacity .22s ease, transform .34s var(--rt-loader-ease);
}
.rt-roll {
  font-variant-numeric: tabular-nums;
  transition: opacity .1s linear, transform .3s var(--rt-loader-ease);
}

/* one digit column: the sizing glyph fixes the width, the strip slides to the
   active digit, so the number never jitters or clips as it counts */
.rt-slot {
  position: relative;
  display: block;
  width: max-content;
  height: 1em;
  overflow: hidden;
}
.rt-slot-size { display: block; height: 1em; line-height: 1em; visibility: hidden; }
.rt-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  will-change: transform;
  transition: transform .26s cubic-bezier(.2, .9, .2, 1);
}
.rt-strip b {
  display: block;
  height: 1em;
  line-height: 1em;
  font-weight: inherit;
  text-align: center;
}
.rt-percent {
  font-size: .2em;
  font-weight: 500;
  line-height: 1;
  margin-top: .1em;
  margin-left: .05em;
  letter-spacing: 0;
}
.rt-final {
  opacity: 0;
  transform: translateY(8%) scale(.94);
}
.rt-final span { font-size: .2em; font-weight: 500; margin-top: .1em; }

.rt-loader-readout.is-100 .rt-roll { opacity: 0; transform: translateY(-6%); }
.rt-loader-readout.is-100 .rt-final { opacity: 1; transform: none; }

/* foot */
.rt-loader-foot { display: grid; gap: 12px; }
.rt-loader-rail {
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
}
.rt-loader-bar {
  display: block;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .22s linear;
}
.rt-loader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.rt-loader-status { font-weight: 600; }

/* entrance */
.rt-loader-top,
.rt-loader-stage,
.rt-loader-foot {
  opacity: 0;
  animation: rt-loader-in .9s var(--rt-loader-ease) forwards;
}
.rt-loader-stage { animation-delay: .08s; }
.rt-loader-foot { animation-delay: .18s; }
@keyframes rt-loader-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* exit: the copy lifts away, then the blinds retract upward off the hero.
   Each band collapses inside its own slot (hinged on its top edge), so the
   blue fully clears and every band of the hero is uncovered. Translating each
   band up by its own height did not work: the band below moved into the slot
   it vacated, which kept the overlay covered and stalled the sweep. */
.rt-loader.is-done .rt-loader-inner { opacity: 0; transform: translateY(-20px); }
.rt-loader.is-done { pointer-events: none; }
.rt-loader.is-done .rt-loader-shutters i { transform: scaleY(0); }
.rt-loader.is-done .rt-loader-shutters i:nth-child(1) { transition-delay: .04s; }
.rt-loader.is-done .rt-loader-shutters i:nth-child(2) { transition-delay: .11s; }
.rt-loader.is-done .rt-loader-shutters i:nth-child(3) { transition-delay: .18s; }
.rt-loader.is-done .rt-loader-shutters i:nth-child(4) { transition-delay: .25s; }
.rt-loader.is-done .rt-loader-shutters i:nth-child(5) { transition-delay: .32s; }
.rt-loader.is-done .rt-loader-shutters i:nth-child(6) { transition-delay: .39s; }

@media (max-width: 620px) {
  .rt-loader-brand { font-size: 11px; letter-spacing: .22em; gap: 8px; }
  .rt-loader-brand img { height: 22px; }
  .rt-loader-kicker { font-size: 9px; letter-spacing: .18em; }
  .rt-loader-meta { font-size: 9px; letter-spacing: .16em; }
  .rt-loader-dial { width: clamp(220px, 60vmin, 320px); }
  .rt-roll,
  .rt-final { font-size: clamp(72px, 26vmin, 124px); }
}


/* ------------------------------------------------------- team grid on phones
   Under 450px the exported sheet drops the desktop grid and expects a separate
   one-column "mobile card" markup that this rebuild never renders, so the same
   team_desktopGrid figures fell back to block flow: one member per row and a
   long extra scroll. Two compact columns carry the same card at half width. */
@media (max-width: 449px) {
  .team_desktopGrid__Zxwnu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 0;
  }
  .team_desktopGrid__Zxwnu .team_card__DD_6G {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
  .team_title__SS5_o { font-size: 20px; }
  .team_chips__WzTAI {
    left: 6px;
    right: 6px;
    bottom: 6px;
    gap: 4px;
  }
  .team_nameChip__no7gU,
  .team_roleChip__ztT4_ {
    padding: 3px 7px;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: .01em;
  }
}

/* ------------------------------------------------------- footer blue accent
   The footer was pure black and white while the intro card just above the fold
   already speaks the mobile-menu palette. These rules carry that same blue
   (#58C0ED for small text on black, #23A4DB for fills) into the contact block:
   one focal accent on the title, blue primary actions, and blue interaction
   states. Black ground and white copy stay the base, so the footer still reads
   as the dark end of the sheet. */
.Footer_footer__yl3k1 {
  --rt-footer-blue: #58C0ED;
  --rt-footer-blue-deep: #23A4DB;
  --rt-footer-blue-soft: rgba(88, 192, 237, .14);
  --rt-footer-blue-line: rgba(88, 192, 237, .24);
  background: linear-gradient(135deg, #0f0f0f 0%, #111a1f 100%);
}

/* a blue bloom instead of the two grey ones, so the black never reads flat */
.Footer_footer__yl3k1::before {
  background:
    radial-gradient(circle at 82% -6%, rgba(35, 164, 219, .26) 0, rgba(35, 164, 219, 0) 54%),
    radial-gradient(circle at 4% 104%, rgba(35, 164, 219, .12) 0, rgba(35, 164, 219, 0) 46%),
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, .02) 0, transparent 52%);
}

/* the title's second line is the footer's one loud accent */
.Footer_contactTitle__2ISxr span:last-child {
  background: linear-gradient(135deg, #9AD9EF 0%, #58C0ED 46%, #23A4DB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* contact pills: blue hairline at rest, blue fill on hover */
.Footer_contactInfoItem__8M5mU {
  border: 1px solid var(--rt-footer-blue-line);
  color: #fff;
}
.Footer_contactInfoItem__8M5mU:hover {
  background: var(--rt-footer-blue-soft);
  border-color: var(--rt-footer-blue);
}
.Footer_contactInfoItem__8M5mU .Footer_contactIcon__22kIU { color: var(--rt-footer-blue); }

/* form fields: blue focus ring instead of a white lift */
.Footer_input__GXbBh,
.Footer_textarea__jsKw_ {
  border-color: var(--rt-footer-blue-line);
}
.Footer_input__GXbBh:focus,
.Footer_textarea__jsKw_:focus {
  border-color: var(--rt-footer-blue);
  background: rgba(88, 192, 237, .09);
  box-shadow: 0 0 0 3px rgba(88, 192, 237, .18);
}
.Footer_label__RCQ0M { color: rgba(154, 217, 239, .78); }

/* primary actions take the accent fill; dark ink on blue keeps 6.4:1 */
.Footer_submitButton__9zJmf,
.Footer_newsletterButton__Oe7EX {
  background: linear-gradient(135deg, var(--rt-footer-blue) 0%, var(--rt-footer-blue-deep) 100%);
  color: #08171d;
}
.Footer_submitButton__9zJmf:hover {
  box-shadow: 0 15px 35px rgba(88, 192, 237, .30);
}
.Footer_submitButton__9zJmf:focus-visible,
.Footer_newsletterButton__Oe7EX:focus-visible {
  outline: 2px solid var(--rt-footer-blue);
  outline-offset: 3px;
}
.Footer_newsletterButton__Oe7EX:hover {
  box-shadow: 0 8px 20px rgba(88, 192, 237, .32);
}
.Footer_newsletterIcon__B0XoJ { color: #08171d; }

/* newsletter field + social links follow the same accent on interaction */
.Footer_newsletterInputWrapper__PuzUq { border-color: var(--rt-footer-blue-line); }
.Footer_newsletterInputWrapper__PuzUq:focus-within {
  border-color: var(--rt-footer-blue);
  background: rgba(88, 192, 237, .09);
  box-shadow: 0 0 0 3px rgba(88, 192, 237, .16);
}
.Footer_socialLink__Wcgd8:before { background: var(--rt-footer-blue); }
.Footer_socialLink__Wcgd8:hover .Footer_socialIcon__w24z3 { color: var(--rt-footer-blue); }

/* logo plate picks up the hairline so it belongs to the same system */
.Footer_logoContainer__E_gy_ { border-color: var(--rt-footer-blue-line); }

/* the success note already used the brand blue; lift it for small-text contrast */
.Footer_successMessage__Wrkgq { color: var(--rt-footer-blue); }

/* ------------------------------------------- Saar Studio case study (project)
   The case-study body still carried the export's default look: pink outcome
   panel, drop shadows, cropped photos, stock body scale. This block brings it
   onto the sheet's current grammar — white paper, hairline rules, Nohemi
   display type, one blue — and reuses the intro/footer treatment for the two
   statements that deserve weight: the opening card and the outcome. Scoped by
   `data-case="saar"` on <body>, so the other case studies are untouched. */
body[data-case="saar"] {
  --rt-case-blue: #1778A3;          /* small type and links on paper (4.8:1) */
  --rt-case-blue-light: #58C0ED;    /* type on the dark cards (9:1) */
  --rt-case-ink: #0f0f0f;
  --rt-case-body: #3a3a3a;
  --rt-case-line: rgba(15, 15, 15, .10);
  --rt-case-radius: clamp(14px, 1.5vw, 22px);
}

body[data-case="saar"] .project-detail_container__y_W3h {
  max-width: 1320px;
  gap: clamp(40px, 5.4vw, 76px);
  padding: clamp(20px, 3vw, 40px) clamp(18px, 4vw, 56px) clamp(64px, 7vw, 108px);
  font-family: Jakarta, Nohemi, Helvetica, Arial, sans-serif;
  color: var(--rt-case-ink);
}

/* ------------------------------------------------------------------ header */
body[data-case="saar"] .project-detail_header___YzqA {
  gap: clamp(13px, 1.5vw, 20px);
  padding-bottom: clamp(28px, 3.6vw, 46px);
  border-bottom: 1px solid var(--rt-case-line);
}

body[data-case="saar"] .rt-case-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

body[data-case="saar"] .rt-case-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rt-case-blue);
}
body[data-case="saar"] .rt-case-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

body[data-case="saar"] .project-detail_backLink__P0Bc_ {
  margin: 0;
  gap: 10px;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(15, 15, 15, .62);
  transition: color .22s var(--rt-ease);
}
body[data-case="saar"] .project-detail_backLink__P0Bc_ svg {
  width: 16px;
  height: 16px;
  transition: transform .28s var(--rt-ease);
}
body[data-case="saar"] .project-detail_backLink__P0Bc_:hover { color: var(--rt-case-blue); }
body[data-case="saar"] .project-detail_backLink__P0Bc_:hover svg { transform: translateX(-4px); }
body[data-case="saar"] .project-detail_backLink__P0Bc_:focus-visible {
  outline: 2px solid var(--rt-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

body[data-case="saar"] .project-detail_title__XIgxb {
  max-width: 20ch;
  margin: clamp(4px, .8vw, 10px) 0 0;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: clamp(38px, 6.2vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.028em;
  color: var(--rt-case-ink);
  text-wrap: balance;
}

body[data-case="saar"] .project-detail_description__kBjBL {
  max-width: 58ch;
  margin: 2px 0 0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--rt-case-body);
}

body[data-case="saar"] .project-detail_tags__rlFZI { gap: 8px; margin-top: 4px; }
body[data-case="saar"] .project-detail_tag__HZ5pJ {
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(15, 15, 15, .16);
  border-radius: 999px;
  background: transparent;
  color: #2a2a2a;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .22s var(--rt-ease), border-color .22s var(--rt-ease),
              background-color .22s var(--rt-ease);
}
body[data-case="saar"] .project-detail_tag__HZ5pJ:hover {
  color: var(--rt-case-blue);
  border-color: var(--rt-case-blue);
  background: rgba(35, 164, 219, .07);
}

/* ---------------------------------------------------------------- sections */
body[data-case="saar"] .saar-studio_fullWidthContent__MIrlk {
  gap: clamp(48px, 6.4vw, 96px);
  margin-bottom: 0;
  counter-reset: rt-case-sec;
}
body[data-case="saar"] .saar-studio_fullWidthContent__MIrlk > div + div {
  counter-increment: rt-case-sec;
}

body[data-case="saar"] .saar-studio_fullWidthContent__MIrlk .saar-studio_contentWithImage__ghI3e {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

body[data-case="saar"] .saar-studio_sectionHeading__zEjQq {
  margin: 0 0 clamp(14px, 1.6vw, 20px);
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: clamp(25px, 3.1vw, 36px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--rt-case-ink);
  text-wrap: balance;
}
body[data-case="saar"] .saar-studio_sectionHeading__zEjQq::before {
  content: counter(rt-case-sec, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  font-variant-numeric: tabular-nums;
  color: var(--rt-case-blue);
}

body[data-case="saar"] .saar-studio_largeText__wsQSP {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.7;
  color: var(--rt-case-body);
}

body[data-case="saar"] .saar-studio_bulletList__zR_MH {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rt-case-line);
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.6;
  color: var(--rt-case-ink);
}
body[data-case="saar"] .saar-studio_bulletList__zR_MH li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--rt-case-line);
}
body[data-case="saar"] .saar-studio_bulletList__zR_MH li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rt-case-blue);
}

/* photos: the export cropped every one to a fixed band; let each keep its
   own frame and drop the zoom that re-cropped it on hover */
body[data-case="saar"] .saar-studio_sideImage__m9hId {
  max-height: none;
  border: 1px solid var(--rt-case-line);
  border-radius: var(--rt-case-radius);
  background: #f5f5f3;
  box-shadow: none;
  transition: border-color .3s var(--rt-ease);
}
body[data-case="saar"] .saar-studio_sideImage__m9hId:hover { border-color: rgba(35, 164, 219, .42); }
body[data-case="saar"] .saar-studio_contentImage__1x5o_ {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transition: none;
}
body[data-case="saar"] .saar-studio_sideImage__m9hId:hover .saar-studio_contentImage__1x5o_ {
  transform: none;
}

body[data-case="saar"] .saar-studio_imageGridSection__oRMZL .saar-studio_largeText__wsQSP {
  max-width: 68ch;
  margin-bottom: clamp(22px, 2.6vw, 34px);
}

body[data-case="saar"] .saar-studio_imageGrid__N_Yu0 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(10px, 1.4vw, 18px);
}
body[data-case="saar"] .saar-studio_gridImage__5Iqt4 {
  height: auto;
  border: 1px solid var(--rt-case-line);
  border-radius: var(--rt-case-radius);
  background: #f5f5f3;
  box-shadow: none;
}
body[data-case="saar"] .saar-studio_gridItemImage__1j9vC {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: none;
}
body[data-case="saar"] .saar-studio_gridImage__5Iqt4:hover .saar-studio_gridItemImage__1j9vC {
  transform: none;
}

/* --------------------------------------------------- opening statement card */
body[data-case="saar"] .saar-studio_fullWidthContent__MIrlk > .saar-studio_section__hGW8a:first-child {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 44px);
  border-radius: var(--rt-case-radius);
  background: #0f0f0f;
  color: #fff;
}
body[data-case="saar"] .saar-studio_fullWidthContent__MIrlk > .saar-studio_section__hGW8a:first-child::after {
  content: "";
  position: absolute;
  top: -42%;
  right: -10%;
  width: min(62%, 520px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(35, 164, 219, .30), rgba(35, 164, 219, 0) 68%);
  pointer-events: none;
}
body[data-case="saar"] .saar-studio_section__hGW8a:first-child .saar-studio_contentWithImage__ghI3e {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.1fr);
  gap: clamp(22px, 3.4vw, 48px);
}
body[data-case="saar"] .saar-studio_section__hGW8a:first-child .saar-studio_sideImage__m9hId {
  border-color: rgba(255, 255, 255, .14);
  background: #151515;
}
body[data-case="saar"] .saar-studio_section__hGW8a:first-child .saar-studio_sideImage__m9hId:hover {
  border-color: rgba(88, 192, 237, .5);
}
body[data-case="saar"] .saar-studio_section__hGW8a:first-child .saar-studio_largeText__wsQSP {
  max-width: 40ch;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.48;
  color: rgba(255, 255, 255, .88);
}
body[data-case="saar"] .saar-studio_section__hGW8a:first-child strong {
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: var(--rt-case-blue-light);
}

/* --------------------------------------------------------------- outcome card */
body[data-case="saar"] .saar-studio_outcomeSection__MktF0 {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.4vw, 64px);
  border: 0;
  border-radius: var(--rt-case-radius);
  background: #0f0f0f;
  color: #fff;
}
body[data-case="saar"] .saar-studio_outcomeSection__MktF0::after {
  content: "";
  position: absolute;
  bottom: -46%;
  left: -8%;
  width: min(58%, 460px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(35, 164, 219, .22), rgba(35, 164, 219, 0) 70%);
  pointer-events: none;
}
body[data-case="saar"] .saar-studio_outcomeSection__MktF0 > * {
  position: relative;
  z-index: 1;
}
body[data-case="saar"] .saar-studio_outcomeSection__MktF0 .saar-studio_sectionHeading__zEjQq {
  margin-bottom: 16px;
  color: #fff;
}
body[data-case="saar"] .saar-studio_outcomeSection__MktF0 .saar-studio_sectionHeading__zEjQq::before {
  color: var(--rt-case-blue-light);
}
body[data-case="saar"] .saar-studio_outcomeSection__MktF0 .saar-studio_largeText__wsQSP {
  max-width: 56ch;
  margin: 0;
  color: rgba(255, 255, 255, .86);
}

/* ------------------------------------------------------------ footer action */
body[data-case="saar"] .project-detail_navigation__DwsaJ {
  justify-content: flex-start;
  margin-top: 0;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rt-case-line);
}
body[data-case="saar"] .project-detail_viewAllLink__ESeIi {
  height: 46px;
  padding: 0 22px;
  gap: 10px;
  border: 1px solid rgba(15, 15, 15, .18);
  border-radius: 999px;
  background: transparent;
  color: var(--rt-case-ink);
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .25s var(--rt-ease), border-color .25s var(--rt-ease),
              color .25s var(--rt-ease), transform .25s var(--rt-ease);
}
body[data-case="saar"] .project-detail_viewAllLink__ESeIi:hover {
  background: var(--rt-case-blue);
  border-color: var(--rt-case-blue);
  color: #fff;
  transform: none;
}
body[data-case="saar"] .project-detail_viewAllLink__ESeIi svg { transition: transform .28s var(--rt-ease); }
body[data-case="saar"] .project-detail_viewAllLink__ESeIi:hover svg { transform: translateX(4px); }
body[data-case="saar"] .project-detail_viewAllLink__ESeIi:focus-visible {
  outline: 2px solid var(--rt-accent);
  outline-offset: 3px;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  body[data-case="saar"] .saar-studio_fullWidthContent__MIrlk .saar-studio_contentWithImage__ghI3e {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  /* keep one reading order on phones: image, then its section copy */
  body[data-case="saar"] .saar-studio_fullWidthContent__MIrlk .saar-studio_contentWithImage__ghI3e > .saar-studio_sideImage__m9hId {
    order: -1;
  }
  body[data-case="saar"] .saar-studio_section__hGW8a:first-child .saar-studio_contentWithImage__ghI3e {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-case="saar"] .saar-studio_section__hGW8a:first-child .saar-studio_largeText__wsQSP {
    max-width: none;
  }
  body[data-case="saar"] .saar-studio_largeText__wsQSP { font-size: 17px; }
  body[data-case="saar"] .saar-studio_section__hGW8a:first-child .saar-studio_largeText__wsQSP { font-size: 19px; }
}
@media (max-width: 620px) {
  body[data-case="saar"] .project-detail_container__y_W3h {
    padding-left: 16px;
    padding-right: 16px;
    gap: 34px;
  }
  body[data-case="saar"] .project-detail_title__XIgxb { font-size: 34px; }
  body[data-case="saar"] .project-detail_description__kBjBL { font-size: 16px; }
  body[data-case="saar"] .project-detail_tag__HZ5pJ {
    height: 28px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: .08em;
  }
  body[data-case="saar"] .saar-studio_fullWidthContent__MIrlk { gap: 44px; }
  body[data-case="saar"] .saar-studio_sectionHeading__zEjQq { font-size: 23px; margin-bottom: 12px; }
  body[data-case="saar"] .saar-studio_sectionHeading__zEjQq::before { margin-bottom: 9px; }
  body[data-case="saar"] .saar-studio_outcomeSection__MktF0 { padding: 24px 20px; }
  body[data-case="saar"] .saar-studio_section__hGW8a:first-child { padding: 20px; }
  body[data-case="saar"] .saar-studio_bulletList__zR_MH li { padding: 12px 0; }
}

/* ------------------------------------- Case-study pages — shared migration
   project-design.md implemented once instead of ten times. Every page under
   `project/` carries `rt-case` on <body> plus component hooks; this block
   styles those hooks and leaves the export's hashed class names untouched.
   Saar Studio keeps its own block above — this one is for the other ten. */
body.rt-case {
  --rt-case-blue: #1778A3;          /* small type and links on paper (4.9:1) */
  --rt-case-blue-light: #58C0ED;    /* type on the dark cards (9:1) */
  --rt-case-ink: #0f0f0f;
  --rt-case-body: #3a3a3a;
  --rt-case-line: rgba(15, 15, 15, .10);
  --rt-case-radius: clamp(14px, 1.5vw, 22px);
}

body.rt-case .project-detail_container__y_W3h {
  max-width: 1320px;
  gap: clamp(40px, 5.4vw, 76px);
  padding: clamp(20px, 3vw, 40px) clamp(18px, 4vw, 56px) clamp(64px, 7vw, 108px);
  font-family: Jakarta, Nohemi, Helvetica, Arial, sans-serif;
  color: var(--rt-case-ink);
}

/* ------------------------------------------------------------------ header */
body.rt-case .project-detail_header___YzqA {
  gap: clamp(13px, 1.5vw, 20px);
  padding-bottom: clamp(28px, 3.6vw, 46px);
  border-bottom: 1px solid var(--rt-case-line);
}

body.rt-case .rt-case-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

body.rt-case .rt-case-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rt-case-blue);
}
body.rt-case .rt-case-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

body.rt-case .project-detail_backLink__P0Bc_ {
  margin: 0;
  gap: 10px;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  /* .62 keeps the 11px label at 5.4:1 — the documented fix for the .55 pair */
  color: rgba(15, 15, 15, .62);
  transition: color .22s var(--rt-ease);
}
body.rt-case .project-detail_backLink__P0Bc_ svg {
  width: 16px;
  height: 16px;
  transition: transform .28s var(--rt-ease);
}
body.rt-case .project-detail_backLink__P0Bc_:hover { color: var(--rt-case-blue); }
body.rt-case .project-detail_backLink__P0Bc_:hover svg { transform: translateX(-4px); }
body.rt-case .project-detail_backLink__P0Bc_:focus-visible {
  outline: 2px solid var(--rt-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

body.rt-case .project-detail_title__XIgxb {
  max-width: 20ch;
  margin: clamp(4px, .8vw, 10px) 0 0;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: clamp(38px, 6.2vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.028em;
  color: var(--rt-case-ink);
  text-wrap: balance;
}

body.rt-case .project-detail_description__kBjBL {
  max-width: 58ch;
  margin: 2px 0 0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--rt-case-body);
}

body.rt-case .project-detail_tags__rlFZI { gap: 8px; margin-top: 4px; }
body.rt-case .project-detail_tag__HZ5pJ {
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(15, 15, 15, .16);
  border-radius: 999px;
  background: transparent;
  color: #2a2a2a;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .22s var(--rt-ease), border-color .22s var(--rt-ease),
              background-color .22s var(--rt-ease);
}
body.rt-case .project-detail_tag__HZ5pJ:hover {
  color: var(--rt-case-blue);
  border-color: var(--rt-case-blue);
  background: rgba(35, 164, 219, .07);
}

/* ---------------------------------------------------------------- sections */
body.rt-case .rt-case-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 6.4vw, 96px);
  margin-bottom: 0;
  counter-reset: rt-case-sec;
}
body.rt-case .rt-case-body > .rt-case-sec { counter-increment: rt-case-sec; }

body.rt-case .rt-case-h2 {
  margin: 0 0 clamp(14px, 1.6vw, 20px);
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: clamp(25px, 3.1vw, 36px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--rt-case-ink);
  text-wrap: balance;
}
body.rt-case .rt-case-sec .rt-case-h2::before {
  content: counter(rt-case-sec, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  font-variant-numeric: tabular-nums;
  color: var(--rt-case-blue);
}

body.rt-case .rt-case-text {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.7;
  color: var(--rt-case-body);
}
body.rt-case .rt-case-copy > .rt-case-text { max-width: 68ch; }

body.rt-case .rt-case-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rt-case-line);
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.6;
  color: var(--rt-case-ink);
}
body.rt-case .rt-case-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--rt-case-line);
}
body.rt-case .rt-case-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rt-case-blue);
}

body.rt-case .rt-case-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

body.rt-case .rt-case-copy { position: static; }

/* photos: released from the export's fixed bands, kept full-frame */
body.rt-case .rt-case-fig {
  height: auto;
  max-height: none;
  /* the export locks a 4/3 or 1/1 ratio on this box and crops with it */
  aspect-ratio: auto;
  /* the plate hugs the photo, so a portrait shot is never letterboxed or
     stretched into a 1200px wall beside a short paragraph */
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  border: 1px solid var(--rt-case-line);
  border-radius: var(--rt-case-radius);
  background: #f5f5f3;
  box-shadow: none;
  overflow: hidden;
  transition: border-color .3s var(--rt-ease);
}
body.rt-case .rt-case-fig:hover { border-color: rgba(35, 164, 219, .42); }
body.rt-case .rt-case-fig .rt-case-img {
  width: auto;
  max-width: 100%;
  max-height: min(62vh, 620px);
  object-fit: contain;
}

body.rt-case .rt-case-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transform: none;
  transition: none;
}
body.rt-case .rt-case-fig:hover .rt-case-img,
body.rt-case .rt-case-cell:hover .rt-case-img { transform: none; }

body.rt-case .rt-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(10px, 1.4vw, 18px);
}
body.rt-case .rt-case-cell {
  height: auto;
  max-height: none;
  /* same trap as .rt-case-fig: 16/9 and 1/1 boxes clip square photos */
  aspect-ratio: auto;
  border: 1px solid var(--rt-case-line);
  border-radius: var(--rt-case-radius);
  background: #f5f5f3;
  box-shadow: none;
  overflow: hidden;
  transition: border-color .3s var(--rt-ease);
}
body.rt-case .rt-case-cell:hover { border-color: rgba(35, 164, 219, .42); }

body.rt-case .rt-case-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(10px, 1.4vw, 18px);
}

/* Uneven pair: the wide photo keeps its own column so the shorter frame leaves
   less dead space, and its paragraph sits underneath to take up the rest. */
body.rt-case .rt-case-duo-uneven {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
}

body.rt-case .rt-case-stackcell {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 20px);
  /* the caption is paper, not part of the framed plate */
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
body.rt-case .rt-case-stackcell .rt-case-img {
  border: 1px solid var(--rt-case-line);
  border-radius: var(--rt-case-radius);
  background: #f5f5f3;
}
body.rt-case .rt-case-undercopy {
  margin: 0;
  padding: 0 2px;
  font-size: clamp(16px, 1.35vw, 19.5px);
  line-height: 1.65;
  color: var(--rt-case-body);
}

/* Blue Dot: the two frames in this row must end on the same line. The left
   photo's native ratio sets the row height; the square on the right is cropped
   evenly from the top and bottom by a centred cover fit. */
body[data-case="creative-studio"] .rt-case-duo .rt-case-cell {
  position: relative;
  aspect-ratio: 1905 / 1347;
  max-height: none;
}
body[data-case="creative-studio"] .rt-case-duo .rt-case-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.rt-case .rt-case-wide {
  height: auto;
  max-height: none;
  margin: 0;
  /* the video wrapper's 16/9 box is handled on the video itself below, so a
     click-to-play frame never stretches past its media */
  aspect-ratio: auto;
  border: 1px solid var(--rt-case-line);
  border-radius: var(--rt-case-radius);
  background: #f5f5f3;
  box-shadow: none;
  overflow: hidden;
}
body.rt-case .rt-case-wide .rt-case-img { height: auto; max-height: none; }
body.rt-case .rt-case-wide video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0f0f0f;
}

body.rt-case .rt-case-gridsec .rt-case-text {
  max-width: 68ch;
  margin-bottom: clamp(22px, 2.6vw, 34px);
}

/* --------------------------------------------------- opening statement card */
body.rt-case .rt-case-open {
  position: relative;
  overflow: hidden;
  height: auto;
  padding: clamp(22px, 3.2vw, 44px);
  border: 0;
  border-radius: var(--rt-case-radius);
  background: #0f0f0f;
  color: #fff;
  box-shadow: none;
}
body.rt-case .rt-case-open::after {
  content: "";
  position: absolute;
  top: -42%;
  right: -10%;
  width: min(62%, 520px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(35, 164, 219, .30), rgba(35, 164, 219, 0) 68%);
  pointer-events: none;
}
body.rt-case .rt-case-open > .rt-case-split,
body.rt-case .rt-case-open.rt-case-split {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.1fr);
  gap: clamp(22px, 3.4vw, 48px);
}
body.rt-case .rt-case-open .rt-case-fig {
  order: -1;
  border-color: rgba(255, 255, 255, .14);
  background: #151515;
}
body.rt-case .rt-case-open .rt-case-fig:hover { border-color: rgba(88, 192, 237, .5); }
body.rt-case .rt-case-open .rt-case-copy {
  position: static;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
body.rt-case .rt-case-open .rt-case-text,
body.rt-case .rt-case-statement {
  max-width: 40ch;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.48;
  color: rgba(255, 255, 255, .88);
}
body.rt-case .rt-case-open strong {
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: var(--rt-case-blue-light);
}

/* --------------------------------------------------------------- quote */
body.rt-case .rt-case-quote {
  margin: clamp(20px, 2.4vw, 28px) 0 0;
  padding: 0 0 0 clamp(16px, 2vw, 22px);
  background: transparent;
  border: 0;
  border-left: 2px solid var(--rt-case-blue);
  border-radius: 0;
  font-style: normal;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--rt-case-body);
}
body.rt-case .rt-case-quote cite {
  display: block;
  margin-top: 12px;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rt-case-ink);
}

/* ------------------------------------------------------------ action card */
body.rt-case .rt-case-cta {
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--rt-case-line);
  border-radius: var(--rt-case-radius);
  background: #f5f5f3;
  text-align: left;
}
body.rt-case .rt-case-cta p {
  max-width: 56ch;
  margin: 0 0 clamp(16px, 2vw, 22px);
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.7;
  color: var(--rt-case-body);
  text-align: left;
}
body.rt-case .rt-case-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--rt-case-blue);
  border-radius: 999px;
  background: var(--rt-case-blue);
  color: #fff;
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s var(--rt-ease), border-color .25s var(--rt-ease),
              color .25s var(--rt-ease);
}
body.rt-case .rt-case-btn:hover {
  background: var(--rt-case-ink);
  border-color: var(--rt-case-ink);
  color: #fff;
  transform: none;
}
body.rt-case .rt-case-btn:focus-visible {
  outline: 2px solid var(--rt-accent);
  outline-offset: 3px;
}
body.rt-case .rt-case-btn .rt-case-img {
  width: auto;
  height: 18px;
  max-height: 18px;
  object-fit: contain;
}

/* --------------------------------------------------------------- outcome card */
body.rt-case .rt-case-outcome {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.4vw, 64px);
  border: 0;
  border-radius: var(--rt-case-radius);
  background: #0f0f0f;
  color: #fff;
  box-shadow: none;
}
body.rt-case .rt-case-outcome::after {
  content: "";
  position: absolute;
  bottom: -46%;
  left: -8%;
  width: min(58%, 460px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(35, 164, 219, .22), rgba(35, 164, 219, 0) 70%);
  pointer-events: none;
}
body.rt-case .rt-case-outcome > * { position: relative; z-index: 1; }
body.rt-case .rt-case-outcome .rt-case-h2 {
  margin-bottom: 16px;
  color: #fff;
}
body.rt-case .rt-case-outcome .rt-case-h2::before { color: var(--rt-case-blue-light); }
body.rt-case .rt-case-outcome .rt-case-text {
  max-width: 56ch;
  margin: 0;
  color: rgba(255, 255, 255, .86);
}
body.rt-case .rt-case-outcome .rt-case-fig {
  border-color: rgba(255, 255, 255, .14);
  background: #151515;
}
body.rt-case .rt-case-outcome .rt-case-fig:hover { border-color: rgba(88, 192, 237, .5); }
body.rt-case .rt-case-outcome strong {
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: var(--rt-case-blue-light);
}
body.rt-case .rt-case-outcome .rt-case-quote {
  color: rgba(255, 255, 255, .8);
  border-left-color: var(--rt-case-blue-light);
}
body.rt-case .rt-case-outcome .rt-case-quote cite { color: #fff; }

/* ------------------------------------------------------------ footer action */
body.rt-case .project-detail_navigation__DwsaJ {
  justify-content: flex-start;
  margin-top: 0;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rt-case-line);
}
body.rt-case .project-detail_viewAllLink__ESeIi {
  height: 46px;
  padding: 0 22px;
  gap: 10px;
  border: 1px solid rgba(15, 15, 15, .18);
  border-radius: 999px;
  background: transparent;
  color: var(--rt-case-ink);
  font-family: Nohemi, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-color .25s var(--rt-ease), border-color .25s var(--rt-ease),
              color .25s var(--rt-ease);
}
body.rt-case .project-detail_viewAllLink__ESeIi:hover {
  background: var(--rt-case-blue);
  border-color: var(--rt-case-blue);
  color: #fff;
  transform: none;
}
body.rt-case .project-detail_viewAllLink__ESeIi svg { transition: transform .28s var(--rt-ease); }
body.rt-case .project-detail_viewAllLink__ESeIi:hover svg { transform: translateX(4px); }
body.rt-case .project-detail_viewAllLink__ESeIi:focus-visible {
  outline: 2px solid var(--rt-accent);
  outline-offset: 3px;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  body.rt-case .rt-case-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  /* one reading order on phones: image, then the copy it illustrates */
  body.rt-case .rt-case-split > .rt-case-fig { order: -1; }
  body.rt-case .rt-case-open > .rt-case-split,
  body.rt-case .rt-case-open.rt-case-split { grid-template-columns: minmax(0, 1fr); }
  body.rt-case .rt-case-open .rt-case-text,
  body.rt-case .rt-case-statement {
    max-width: none;
    font-size: 19px;
  }
  body.rt-case .rt-case-text { font-size: 17px; }
  body.rt-case .rt-case-body { gap: 44px; }
}
@media (max-width: 620px) {
  body.rt-case .project-detail_container__y_W3h {
    padding-left: 16px;
    padding-right: 16px;
    gap: 34px;
  }
  body.rt-case .project-detail_title__XIgxb { font-size: 34px; max-width: none; }
  body.rt-case .project-detail_description__kBjBL { font-size: 16px; }
  body.rt-case .project-detail_tag__HZ5pJ {
    height: 28px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: .08em;
  }
  body.rt-case .rt-case-h2 { font-size: 23px; margin-bottom: 12px; }
  body.rt-case .rt-case-h2::before { margin-bottom: 9px; }
  body.rt-case .rt-case-open { padding: 20px; }
  body.rt-case .rt-case-outcome { padding: 24px 20px; }
  body.rt-case .rt-case-list li { padding: 12px 0; }
  body.rt-case .rt-case-cta { padding: 22px 18px; }
  body.rt-case .rt-case-btn { height: 42px; font-size: 10px; letter-spacing: .1em; }
  /* stacked pairs: no shared row to align to, so show each photo full frame */
  body.rt-case .rt-case-duo,
  body.rt-case .rt-case-duo-uneven { grid-template-columns: minmax(0, 1fr); }
  body[data-case="creative-studio"] .rt-case-duo .rt-case-cell { aspect-ratio: auto; }
  body[data-case="creative-studio"] .rt-case-duo .rt-case-img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* ------------------------------------------------- home: scroll reveal */
/* Everything here is gated on .rt-rev, which site.js adds to <html> only when
   it is about to animate. A no-JS, no-IntersectionObserver or reduced-motion
   visit never gets the class, so nothing is ever hidden from it. The motion
   values live here so the whole page's entrances move as one system. */
:root {
  --rt-rev-rise: 420ms;      /* block entrance */
  --rt-rev-line: 460ms;      /* masked heading line */
  --rt-rev-curtain: 620ms;   /* photo uncover, matched to the loader blinds */
  --rt-rev-skew: 6px;        /* how far a line sits below its own mask at rest */
}

@keyframes rt-rev-rise {
  from { opacity: 0; translate: 0 var(--rt-rev-y, 18px); }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes rt-rev-line {
  from { translate: 0 calc(100% + var(--rt-rev-skew)); }
  to   { translate: 0 0; }
}

/* Blocks: hidden until the observer marks them in, then rise. The translate
   property is used instead of transform so the export's own hover transforms
   (card lift, logo scale) keep working untouched. */
html.rt-rev .rt-rev-item:not(.rt-rev-lines):not(.rt-rev-curtain) { opacity: 0; }
html.rt-rev .rt-rev-item.is-in:not(.rt-rev-lines):not(.rt-rev-curtain) {
  animation: rt-rev-rise var(--rt-rev-rise) var(--rt-ease) var(--rt-rev-delay, 0ms) both;
}

/* Masked headings. overflow: clip with a clip margin lets descenders (the "p"
   in Experience, the "g" in Group) survive the mask; the padding hack would
   have opened the boutique stack's 2px line gap. */
html.rt-rev .rt-line {
  display: block;
  overflow: hidden;
  overflow: clip;
  overflow-clip-margin: .16em;
}
html.rt-rev .rt-line > .rt-line-in {
  display: block;
  translate: 0 calc(100% + var(--rt-rev-skew));
}
html.rt-rev .rt-rev-lines.is-in .rt-line > .rt-line-in {
  animation: rt-rev-line var(--rt-rev-line) var(--rt-ease) var(--rt-line-delay, 0ms) both;
}
/* the works title is split into letters, each on its own delay */
html.rt-rev .rt-ch {
  display: inline-block;
  white-space: pre;
  margin-right: -.02em;
  translate: 0 calc(100% + var(--rt-rev-skew));
}
html.rt-rev .rt-rev-lines.is-in .rt-ch {
  animation: rt-rev-line var(--rt-rev-line) var(--rt-ease) var(--rt-line-delay, 0ms) both;
}

/* Duo photos: an accent curtain lifts off the frame, echoing the loader's
   blue blinds and the mobile menu's curtain. The figure itself never fades,
   so the panel is the only thing the eye follows. */
html.rt-rev .rt-rev-curtain { position: relative; }
html.rt-rev .rt-curtain {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  background: var(--rt-accent-dark);
  pointer-events: none;
  transition: translate var(--rt-rev-curtain) cubic-bezier(.76, 0, .24, 1) var(--rt-curtain-delay, 0ms);
}
html.rt-rev .rt-rev-curtain.is-in .rt-curtain { translate: 0 -101%; }

/* the photo drifts inside its frame, so the frame is given 16px of slack to
   drift in and never shows an edge. height must be stated: on a replaced
   element height:auto resolves to the intrinsic ratio and leaves a gap. */
html.rt-rev .home_duo__h7iWx .home_duoImg__wJ7zm {
  top: -16px;
  right: 0;
  bottom: auto;
  left: 0;
  height: calc(100% + 32px);
  will-change: transform;
}

/* Hairlines draw with scroll progress rather than firing once — Rasm means
   "drawing", and the rules are the page's ruling lines. */
html.rt-rev .home_rule__QytnS {
  transform-origin: left center;
  transform: scaleX(var(--rt-rule-p, 1));
}

/* Reduced motion never reaches this block (site.js bails), but if the class
   is ever present without motion, show everything outright. */
@media (prefers-reduced-motion: reduce) {
  html.rt-rev .rt-rev-item,
  html.rt-rev .rt-line > .rt-line-in,
  html.rt-rev .rt-ch { opacity: 1; translate: none; animation: none; }
  html.rt-rev .rt-curtain { display: none; }
  html.rt-rev .home_rule__QytnS { transform: none; }
}

/* ------------------------------------------------------------ WebKit only
   Safari fragments a column-count gallery into pages and re-fragments them
   when a child animates or changes height: a tile can be painted, then
   dropped, which reads as "flash, then gone". It also repaints nine animated
   gradient shimmers badly. So in Safari the gallery tiles appear statically
   and the placeholder is removed outright rather than faded out. */
html.rt-safari .home_masonry__FaguP > .home_work__gHhJB {
  opacity: 1 !important;
  translate: none !important;
  animation: none !important;
}
html.rt-safari .skeleton_skeleton__5WxgO,
html.rt-safari .skeleton_skeletonShimmer___YKG1 {
  animation: none !important;
}
html.rt-safari .skeleton_skeletonContainer__VJJWc.rt-skeleton-done .skeleton_skeleton__5WxgO {
  display: none;
}
