
:root {
    --bg: #F5F4F6;
    --ink: #1C1820;
    --ink-light: #6B6572;
    --accent: #B5727A;
    --accent-pale: #F0E0E2;
    --white: #FFFFFF;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
    --radius: 4px;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem 5vw;
    background: rgba(247,245,242,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26,25,21,0.07);
  }
  .nav-logo {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: var(--ink);
  }
  .nav-links { display: flex; gap: 2.4rem; list-style: none; }
  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-light);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--ink); }

  /* ── SECTIONS ── */
  section { padding: 7rem 5vw; }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding-top: 9rem;
    position: relative;
  }
  #hero::before {
    content: '';
    position: absolute;
    top: 10%; right: -5%;
    width: 55vw; height: 55vw;
    border-radius: 50%;
    background: radial-gradient(ellipse at 60% 40%, #F0E0E2 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
  }
  .hero-text { position: relative; z-index: 1; }
  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.2s forwards;
  }
  .hero-name {
    font-family: var(--serif);
    font-size: clamp(3.2rem, 6vw, 6rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 1.6rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.35s forwards;
  }
  .hero-name em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
  }
  .hero-desc {
    font-size: 1.05rem;
    color: var(--ink-light);
    max-width: 38ch;
    margin-bottom: 2.8rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.5s forwards;
  }
  .hero-cta {
    display: flex; gap: 1rem; flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s 0.65s forwards;
  }
  .btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.22s;
    cursor: pointer;
    border: none;
  }
  .btn-primary {
    background: var(--ink);
    color: var(--white);
  }
  .btn-primary:hover { background: #333; transform: translateY(-1px); }
  .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(26,25,21,0.25);
  }
  .btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }

  .hero-visual {
    position: relative; z-index: 1;
    display: flex; justify-content: center; align-items: center;
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
  }
  .hero-card-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }
  .hero-nav-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(26,25,21,0.2);
    background: var(--white);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
  }
  .hero-nav-arrow:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
  .hero-card-stack { position: relative; width: 300px; height: 380px; flex-shrink: 0; }
  .hero-card {
    position: absolute;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 4px 40px rgba(26,25,21,0.08);
  }
  .hero-card-1 {
    width: 300px; height: 380px;
    top: 20px; left: 20px;
    background: linear-gradient(145deg, #F0E0E2 0%, #E8D0D4 100%);
    transform: rotate(-3deg);
  }
  .hero-card-2 {
    width: 300px; height: 380px;
    top: 0; left: 0;
    display: flex; flex-direction: column;
    overflow: hidden;
  }
  .card-image-slot {
    height: 60%;
    background: rgba(28,24,32,0.03);
    border-bottom: 1px dashed rgba(28,24,32,0.15);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-image-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-card-image-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-light);
  }
  .hero-card-2 .card-bottom {
    padding: 1.4rem;
    flex: 1;
  }
  .card-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--accent-pale);
    color: var(--accent);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 0.6rem;
  }
  .card-title { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.3rem; }
  .card-sub { font-size: 0.8rem; color: var(--ink-light); }

  /* ── MARQUEE ── */
  .marquee-wrap {
    overflow: hidden;
    border-top: 1px solid rgba(26,25,21,0.1);
    border-bottom: 1px solid rgba(26,25,21,0.1);
    padding: 1rem 0;
    background: var(--accent-pale);
  }
  .marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 18s linear infinite;
    white-space: nowrap;
    width: max-content;
  }
  .marquee-item {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-light);
    flex-shrink: 0;
  }
  .marquee-dot { color: var(--accent); margin-right: 3rem; }

  /* ── ABOUT ── */
  #about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }
  .section-label {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
  }
  .section-heading {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1.6rem;
  }
  .section-heading em { font-style: italic; color: var(--accent); }
  .about-body { color: var(--ink-light); font-size: 0.97rem; }
  .about-body p + p { margin-top: 1rem; }
  .skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.4rem;
  }
  .skill-item {
    padding: 1.2rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(26,25,21,0.07);
  }
  .skill-icon { width: 38px; height: 38px; background: var(--accent-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.8rem; color: var(--accent); }
  .skill-name { font-size: 0.82rem; font-weight: 500; margin-bottom: 0.2rem; }
  .skill-desc { font-size: 0.75rem; color: var(--ink-light); }

  .about-stats { display: flex; flex-direction: column; gap: 2rem; }
  .stat-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(26,25,21,0.08);
  }
  .stat-number {
    font-family: var(--serif);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 0.3rem;
  }
  .stat-label { font-size: 0.85rem; color: var(--ink-light); }

  /* ── CASE STUDIES ── */
  #work { background: #1C1820; color: var(--white); }
  #work .section-label { color: var(--accent); }
  #work .section-heading { color: var(--white); }
  .work-header {
    display: flex; align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap; gap: 1rem;
  }
  .work-header a { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.1em; text-decoration: none; }
  .cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .case-card {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.25s, border-color 0.25s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
  }
  .case-card:hover { transform: translateY(-4px); border-color: rgba(181,114,122,0.4); }
  /* Featured: full width, square image left, text right */
  .case-card.featured { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
  .case-card.featured .case-visual { width: 320px; min-width: 320px; aspect-ratio: 1; flex-shrink: 0; min-height: unset; }
  .case-card.featured .case-info { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem; }
  /* Smaller cards: image on top, text pinned to bottom */
  .case-visual {
    background: linear-gradient(135deg, #2A2228 0%, #1C1820 100%);
    aspect-ratio: 4/3;
    width: 100%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  .case-card:not(.featured) .case-visual {
    aspect-ratio: 3/2;
  }
  .case-visual img {
    position: relative;
    z-index: 1;
    display: block;
  }
  .case-card .case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .case-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(181,114,122,0.2) 0%, transparent 60%);
  }
  .case-visual-inner {
    width: 120px; height: 90px;
    border-radius: 8px;
    background: rgba(181,114,122,0.15);
    border: 1px solid rgba(181,114,122,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    position: relative;
  }
  .case-info { padding: 2rem; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
  .case-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
  .case-tag {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    border: 1px solid rgba(181,114,122,0.4);
    color: var(--accent);
  }
  .case-title {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }
  .case-desc { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1.5rem; }
  .case-link {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex; align-items: center; gap: 0.5rem;
  }
  .case-link::after { content: '→'; transition: transform 0.2s; }
  .case-card:hover .case-link::after { transform: translateX(4px); }


  /* V27: strengthen Threshold as the primary featured case study */
  .case-tag-featured {
    border-color: rgba(181,114,122,0.95) !important;
    color: #fff !important;
    background: rgba(181,114,122,0.22);
  }

  .case-card.featured {
    min-height: 430px;
    background: linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
    border-color: rgba(181,114,122,0.34);
    box-shadow: 0 28px 80px rgba(0,0,0,0.22);
  }

  .case-card.featured:hover {
    border-color: rgba(181,114,122,0.62);
  }

  .case-card.featured .case-visual {
    width: min(50%, 560px);
    min-width: 420px;
    aspect-ratio: auto;
  }

  .case-card.featured .case-info {
    padding: clamp(2.6rem, 4vw, 4rem);
  }

  .case-card.featured .case-title {
    font-size: clamp(2.25rem, 4vw, 3.4rem);
    max-width: 850px;
  }

  .case-card.featured .case-desc {
    font-size: 0.98rem;
    max-width: 780px;
    color: rgba(255,255,255,0.68);
  }

  .case-card:not(.featured) {
    background: rgba(255,255,255,0.028);
  }

  .case-card:not(.featured) .case-info {
    padding: 1.55rem;
  }

  .case-card:not(.featured) .case-title {
    font-size: 1.38rem;
  }

  .case-card:not(.featured) .case-desc {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.48);
  }

  @media (max-width: 900px) {
    .case-card.featured {
      min-height: 0;
      box-shadow: none;
    }
    .case-card.featured .case-visual {
      width: 100%;
      min-width: unset;
      aspect-ratio: 16/9;
    }
    .case-card.featured .case-info {
      padding: 2rem;
    }
  }

  /* ── PROCESS ── */
  #process { background: var(--accent-pale); }
  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }
  .process-step { position: relative; }
  .step-num {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(181,114,122,0.4);
    line-height: 1;
    margin-bottom: 1rem;
  }
  .step-title { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.5rem; }
  .step-desc { font-size: 0.83rem; color: var(--ink-light); }
  .process-step::after {
    content: '';
    position: absolute;
    top: 1.5rem; right: 0;
    width: 1px; height: 60%;
    background: rgba(26,25,21,0.1);
  }
  .process-step:last-child::after { display: none; }

  /* ── RESUME ── */
  #resume { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
  .resume-col h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(26,25,21,0.1);
  }
  .resume-item { margin-bottom: 2rem; }
  .resume-date {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.3rem;
  }
  .resume-title { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.2rem; }
  .resume-org { font-size: 0.85rem; color: var(--ink-light); margin-bottom: 0.4rem; }
  .resume-desc { font-size: 0.83rem; color: var(--ink-light); }
  .tools-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
  .tool-chip {
    padding: 0.3rem 0.8rem;
    background: var(--accent-pale);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--ink-light);
  }
  .download-row { margin-top: 2rem; }

  /* ── CONTACT ── */
  #contact {
    background: var(--ink);
    color: var(--white);
    text-align: center;
    padding: 8rem 5vw;
  }
  #contact .section-label { color: var(--accent); }
  #contact .section-heading { color: var(--white); max-width: 16ch; margin: 0 auto 1.5rem; }
  #contact p { color: rgba(255,255,255,0.5); font-size: 0.97rem; margin-bottom: 3rem; }
  .contact-form {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
  }
  .form-row { margin-bottom: 1.2rem; }
  .form-row label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.4rem;
  }
  .form-row input,
  .form-row textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.9rem;
    transition: border-color 0.2s;
    resize: none;
  }
  .form-row input:focus,
  .form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
  }
  .form-row input::placeholder,
  .form-row textarea::placeholder { color: rgba(255,255,255,0.2); }
  .form-submit { width: 100%; margin-top: 0.5rem; font-size: 0.82rem; letter-spacing: 0.12em; }
  .social-links {
    display: flex; gap: 1.5rem; justify-content: center;
    margin-top: 3rem;
  }
  .social-links a {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
  }
  .social-links a:hover { color: var(--accent); }

  /* ── FOOTER ── */
  footer {
    padding: 1.5rem 5vw;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: space-between;
  }
  footer span { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    #hero, #about, #resume { grid-template-columns: 1fr; gap: 3rem; }
    #hero { padding-top: 8rem; min-height: auto; padding-bottom: 4rem; }
    .hero-visual { display: none; }
    .cases-grid { grid-template-columns: 1fr; }
    .case-card.featured { flex-direction: column; }
    .case-card.featured .case-visual { width: 100%; min-width: unset; aspect-ratio: 16/9; }
    .process-steps { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px) {
    nav { padding: 1rem 4vw; }
    .nav-links { gap: 1.2rem; }
    .process-steps { grid-template-columns: 1fr; }
    .process-step::after { display: none; }
  }

  /* ==================== CASE STUDY PAGES ==================== */
  .case-study-page {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 200;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
  }
  .cs-nav {
    position: sticky; top: 0;
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.2rem 5vw;
    background: rgba(245,244,246,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(28,24,32,0.07);
    z-index: 10;
  }
  .cs-back {
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: none;
    border: 1px solid rgba(28,24,32,0.2);
    color: var(--ink);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .cs-back:hover { background: var(--ink); color: var(--white); }
  .cs-nav-title {
    font-size: 0.85rem;
    color: var(--ink-light);
    font-weight: 400;
  }
  .cs-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 5vw 4rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .cs-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
  .cs-tag {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    background: var(--accent-pale);
    color: var(--accent);
  }
  .cs-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  .cs-subtitle {
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 42ch;
  }
  .cs-meta-row { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
  .cs-meta-item { display: flex; gap: 1rem; align-items: baseline; }
  .cs-meta-label {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    min-width: 60px;
  }
  .cs-meta-value { font-size: 0.85rem; color: var(--ink-light); }
  .cs-cta { display: inline-block; }
  .cs-hero-img { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 40px rgba(28,24,32,0.12); }
  .cs-hero-img img { width: 100%; display: block; }
  .cs-body { max-width: 1100px; margin: 0 auto; padding: 0 5vw 8rem; }
  .cs-section { padding: 4rem 0; border-top: 1px solid rgba(28,24,32,0.07); }
  .cs-section:first-child { border-top: none; }
  .cs-section-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
  }
  .cs-section-title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
  }
  .cs-text { font-size: 0.97rem; color: var(--ink-light); line-height: 1.8; max-width: 68ch; }
  .cs-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
  }
  .cs-problem-card {
    padding: 1.8rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(28,24,32,0.07);
  }
  .cs-problem-num {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 0.8rem;
  }
  .cs-problem-title { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.5rem; }
  .cs-problem-desc { font-size: 0.83rem; color: var(--ink-light); line-height: 1.7; }
  .cs-img-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .cs-figure { margin: 0; }
  .cs-figure img {
    width: 100%;
    border-radius: 8px;
    display: block;
    border: 1px solid rgba(28,24,32,0.08);
  }
  .cs-figure figcaption {
    font-size: 0.75rem;
    color: var(--ink-light);
    margin-top: 0.6rem;
    text-align: center;
  }
  .cs-figure-full img { max-width: 100%; }
  .cs-research-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .cs-research-card {
    padding: 1.8rem;
    background: var(--accent-pale);
    border-radius: 8px;
  }
  .cs-research-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
  .cs-research-title { font-weight: 500; font-size: 0.92rem; margin-bottom: 0.5rem; }
  .cs-research-desc { font-size: 0.82rem; color: var(--ink-light); line-height: 1.7; }
  .cs-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .cs-solution-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
  }
  .cs-solution-title { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.6rem; }
  .cs-solution-desc { font-size: 0.83rem; color: var(--ink-light); line-height: 1.7; }
  .cs-section-reflection { background: var(--accent-pale); padding: 3rem; border-radius: 12px; border-top: none; margin-top: 2rem; }

  /* OrrO case study specific styles */
  .cs-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
  .cs-three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1.5rem; }
  .cs-callout { padding: 2rem; border-radius: 10px; }
  .cs-card { background: var(--white); border-radius: 10px; padding: 1.8rem; border: 1px solid rgba(28,24,32,0.07); }
  .cs-card-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #FF8C00; font-weight: 600; margin-bottom: 0.4rem; }
  .cs-card-title { font-weight: 600; font-size: 1rem; margin-bottom: 0.75rem; }
  .cs-persona-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid rgba(28,24,32,0.07); }
  .cs-persona-header { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; }
  .cs-persona-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
  .cs-persona-name { font-weight: 600; font-size: 1rem; margin: 0 0 0.2rem; }
  .cs-persona-role { font-size: 0.8rem; color: var(--ink-light); margin: 0; }
  .cs-persona-body { padding: 1.5rem; border-top: 1px solid rgba(28,24,32,0.07); }
  .cs-persona-body p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.6rem; color: var(--ink-light); }
  .cs-persona-body p:last-child { margin-bottom: 0; }
  .cs-persona-body strong { color: var(--ink); }
  .cs-flow-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #FF8C00; font-weight: 600; margin-bottom: 0.75rem; }
  .cs-flow { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
  .cs-flow-step { background: var(--white); border: 1px solid rgba(28,24,32,0.12); border-radius: 6px; padding: 0.4rem 0.7rem; font-size: 0.82rem; }
  .cs-flow-arrow { color: #FF8C00; font-weight: 700; }
  .cs-principles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 1.5rem; }
  .cs-principle { background: var(--white); border-radius: 10px; padding: 1.5rem; border: 1px solid rgba(28,24,32,0.07); }
  .cs-principle strong { display: block; margin-bottom: 0.5rem; color: var(--ink); }
  .cs-principle p { font-size: 0.85rem; color: var(--ink-light); line-height: 1.65; margin: 0; }
  .cs-screens-scroll { display: flex; gap: 2rem; overflow-x: auto; padding: 1.5rem 0.5rem 2rem; scroll-snap-type: x mandatory; }
  .cs-screens-scroll::-webkit-scrollbar { height: 4px; }
  .cs-screens-scroll::-webkit-scrollbar-thumb { background: rgba(28,24,32,0.15); border-radius: 2px; }
  .cs-screen-item { flex: 0 0 auto; scroll-snap-align: start; text-align: center; }
  .cs-screen-item p { font-size: 0.8rem; color: var(--ink-light); margin-top: 0.75rem; }
  /* Phone frame */
  .phone-frame {
    position: relative;
    width: 200px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 14px 10px;
    box-shadow: 0 0 0 2px #333, 0 20px 60px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.08);
  }
  .phone-frame::before {
    content: '';
    position: absolute;
    top: 14px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 6px;
    background: #333;
    border-radius: 3px;
    z-index: 2;
  }
  .phone-frame::after {
    content: '';
    position: absolute;
    bottom: 12px; left: 50%;
    transform: translateX(-50%);
    width: 48px; height: 4px;
    background: #444;
    border-radius: 2px;
  }
  .phone-screen {
    border-radius: 26px;
    overflow: hidden;
    display: block;
    width: 100%;
    aspect-ratio: 9/19.5;
    object-fit: cover;
    object-position: top;
    background: #000;
  }
  .cs-link-btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 50px; color: #fff; text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: opacity 0.2s; }
  .cs-link-btn:hover { opacity: 0.85; }
  @media (max-width: 768px) {
    .cs-two-col, .cs-three-col, .cs-principles-grid { grid-template-columns: 1fr; }
    .phone-frame { width: 150px; }
  }

  @media (max-width: 900px) {
    .cs-hero { grid-template-columns: 1fr; gap: 2rem; }
    .cs-hero-img { order: -1; }
    .cs-img-pair, .cs-problem-grid { grid-template-columns: 1fr; }
    .cs-research-row, .cs-solution-grid { grid-template-columns: 1fr; }
  }


  /* ── IMAGE PLACEHOLDERS ── */
  /* Swap these for real <img> tags once image files are added to /images/ */
  .img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    border: 1px dashed rgba(28,24,32,0.25);
    background: rgba(28,24,32,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
  }
  .img-placeholder span {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-light);
  }
  .img-placeholder.cs-hero-img-ph { aspect-ratio: 4/3; box-shadow: none; }
  .img-placeholder.phone-ph { aspect-ratio: 9/19.5; border-radius: 26px; }


/* ==================== THRESHOLD CASE STUDY ==================== */
.threshold-page { --th-navy:#0C1A2E; --th-bluegray:#A7B5C8; --th-sky:#B9D6F2; --th-cream:#F7F5F2; background:var(--bg); }
.threshold-nav { position:sticky; top:0; z-index:250; }
.th-hero { min-height:78vh; padding:7.5rem 5vw 5rem; background:var(--th-navy); color:#fff; display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.95fr); gap:5vw; align-items:center; }
.th-hero-copy { max-width:680px; }
.th-tags .cs-tag { background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.16); }
.th-kicker,.th-num,.th-eyebrow { font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; font-weight:500; }
.th-kicker { color:rgba(255,255,255,.55); margin:1.35rem 0 .8rem; }
.th-hero h1 { font-family:var(--serif); font-weight:300; font-size:clamp(4.5rem,9vw,8.5rem); line-height:.86; letter-spacing:-.04em; margin-bottom:2rem; }
.th-hero-statement { font-family:var(--serif); font-size:clamp(1.7rem,3vw,2.6rem); line-height:1.12; max-width:18ch; margin-bottom:1.25rem; }
.th-hero-statement em,.th-section-heading em,.th-touchpoint-copy em,.th-reflection em { color:var(--accent); font-weight:300; }
.th-hero-summary { color:rgba(255,255,255,.68); max-width:58ch; font-size:.97rem; line-height:1.8; }
.th-hero-actions,.th-footer-actions { display:flex; align-items:center; gap:1.3rem; flex-wrap:wrap; margin-top:2rem; }
.th-btn { display:inline-flex; align-items:center; justify-content:center; padding:.85rem 1.4rem; border-radius:999px; text-decoration:none; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; transition:transform .2s, opacity .2s; }
.th-btn:hover { transform:translateY(-2px); }
.th-btn-light { background:#fff; color:var(--th-navy); }
.th-btn-dark { background:var(--th-navy); color:#fff; }
.th-text-link { color:inherit; opacity:.7; text-decoration:none; font-size:.78rem; letter-spacing:.06em; }
.th-text-link:hover { opacity:1; }
.th-media { margin:0; position:relative; border-radius:18px; overflow:hidden; background:rgba(28,24,32,.035); border:1px solid rgba(28,24,32,.08); }
.th-media img { width:100%; height:100%; display:block; object-fit:cover; }
.th-media-hero { aspect-ratio:4/3; background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.12); box-shadow:0 28px 80px rgba(0,0,0,.25); }
.th-asset-fallback { display:none; min-height:260px; height:100%; align-items:center; justify-content:center; text-align:center; padding:2rem; font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-light); border:1px dashed rgba(28,24,32,.18); border-radius:inherit; }
.th-media-hero .th-asset-fallback,.th-media-dark .th-asset-fallback { color:rgba(255,255,255,.55); border-color:rgba(255,255,255,.2); }
.th-media figcaption { padding:.75rem 1rem 1rem; font-size:.74rem; color:var(--ink-light); text-align:center; background:var(--bg); }
.th-project-strip { display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid rgba(28,24,32,.09); background:#fff; padding:0 5vw; }
.th-project-strip div { padding:1.5rem 1.25rem; border-right:1px solid rgba(28,24,32,.08); }
.th-project-strip div:first-child { padding-left:0; }
.th-project-strip div:last-child { border-right:none; }
.th-project-strip span { display:block; color:var(--accent); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; margin-bottom:.35rem; }
.th-project-strip strong { font-size:.82rem; font-weight:500; }
.th-main { overflow:hidden; }
.th-section { max-width:1180px; margin:0 auto; padding:7rem 5vw; }
.th-section-heading { margin-bottom:3.5rem; }
.th-section-heading h2,.th-touchpoint-copy h2,.th-reflection h2 { font-family:var(--serif); font-size:clamp(2.35rem,4.8vw,4.6rem); font-weight:300; line-height:1.04; letter-spacing:-.02em; max-width:18ch; }
.th-num { color:var(--accent); margin-bottom:.85rem; }
.th-heading-split { display:grid; grid-template-columns:1.25fr .75fr; gap:5rem; align-items:end; }
.th-heading-note { color:var(--ink-light); font-size:.94rem; line-height:1.8; max-width:46ch; }
.th-challenge-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:5rem; align-items:center; }
.th-copy { color:var(--ink-light); font-size:.97rem; line-height:1.85; }
.th-copy p+p,.th-challenge-grid .th-copy p+p { margin-top:1.1rem; }
.th-fragment-card { min-height:360px; background:#fff; border-radius:24px; border:1px solid rgba(28,24,32,.08); padding:2.4rem; display:flex; flex-wrap:wrap; align-content:center; justify-content:center; gap:.7rem; position:relative; }
.th-fragment-card span { border:1px solid rgba(28,24,32,.12); border-radius:999px; padding:.55rem 1rem; background:var(--bg); font-size:.76rem; transform:rotate(-2deg); }
.th-fragment-card span:nth-child(2n) { transform:rotate(3deg) translateY(-10px); }
.th-fragment-card span:nth-child(3n) { transform:rotate(-4deg) translateY(10px); }
.th-fragment-card p { flex-basis:100%; text-align:center; margin-top:1.8rem; color:var(--ink-light); font-size:.82rem; }
.th-thesis { margin-top:5rem; padding:2.5rem 0 0; border-top:1px solid rgba(28,24,32,.1); }
.th-thesis span { display:block; font-size:.64rem; letter-spacing:.15em; text-transform:uppercase; color:var(--ink-light); margin-bottom:.65rem; }
.th-thesis p { font-family:var(--serif); font-size:clamp(2rem,4vw,4rem); line-height:1.1; }
.th-thesis strong { color:var(--accent); font-weight:300; font-style:italic; }
.th-method-row { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(28,24,32,.1); border-bottom:1px solid rgba(28,24,32,.1); margin-bottom:3.5rem; }
.th-method-row div { padding:1.8rem 1.4rem; border-right:1px solid rgba(28,24,32,.1); }
.th-method-row div:first-child { padding-left:0; }
.th-method-row div:last-child { border-right:none; }
.th-method-row strong { display:block; font-family:var(--serif); font-size:2rem; font-weight:300; color:var(--accent); }
.th-method-row span { display:block; color:var(--ink-light); font-size:.76rem; line-height:1.45; }
.th-stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
.th-stat-card { background:var(--accent-pale); border-radius:18px; padding:2rem; min-height:235px; display:flex; flex-direction:column; justify-content:space-between; }
.th-stat-card strong { font-family:var(--serif); color:var(--accent); font-weight:300; font-size:clamp(3.4rem,6vw,5.6rem); line-height:.9; }
.th-stat-card p { color:var(--ink-light); font-size:.87rem; line-height:1.65; max-width:26ch; }
.th-quote { margin:4rem 0; padding:2.8rem 3rem; border-radius:22px; }
.th-quote p { font-family:var(--serif); font-style:italic; font-size:clamp(1.7rem,3vw,2.7rem); line-height:1.25; max-width:28ch; }
.th-quote cite { display:block; margin-top:1rem; font-style:normal; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; }
.th-quote-light { background:#fff; border:1px solid rgba(28,24,32,.08); }
.th-quote-light cite { color:var(--ink-light); }
.th-media-pair { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
.th-media-pair .th-media { aspect-ratio:4/3; }
.th-insight-grid { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid rgba(28,24,32,.1); }
.th-insight-grid article { padding:2.2rem 2.2rem 2.5rem 0; border-bottom:1px solid rgba(28,24,32,.1); }
.th-insight-grid article:nth-child(odd) { border-right:1px solid rgba(28,24,32,.1); padding-right:3rem; }
.th-insight-grid article:nth-child(even) { padding-left:3rem; }
.th-insight-grid span,.th-feature-grid span,.th-next-grid span { font-family:var(--serif); font-style:italic; color:var(--accent); font-size:1.2rem; }
.th-insight-grid h3,.th-feature-grid h3 { font-size:1rem; font-weight:500; margin:.8rem 0 .65rem; }
.th-insight-grid p,.th-feature-grid p { color:var(--ink-light); font-size:.84rem; line-height:1.7; }
.th-bridge-section { background:var(--th-navy); color:#fff; }
.th-bridge-inner,.th-kiosk-inner { max-width:1180px; margin:0 auto; padding:7rem 5vw; }
.th-on-dark h2,.th-on-dark { color:#fff; }
.th-on-dark .th-num { color:var(--sky,#B9D6F2); }
.th-evidence-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.12); }
.th-evidence-grid article { background:var(--th-navy); padding:2.5rem; min-height:310px; }
.th-evidence-label { font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--th-sky); margin-bottom:.75rem; }
.th-evidence-grid h3 { font-family:var(--serif); font-size:1.7rem; font-weight:300; line-height:1.15; max-width:18ch; }
.th-evidence-grid article>p:last-child { color:rgba(255,255,255,.62); font-size:.88rem; line-height:1.7; max-width:34ch; }
.th-connector { width:34px; height:1px; background:var(--accent); margin:2.3rem 0; position:relative; }
.th-connector::after { content:'›'; position:absolute; right:-2px; top:-13px; color:var(--accent); font-size:1.3rem; }
.th-quote-dark { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }
.th-quote-dark cite { color:rgba(255,255,255,.5); }
.th-touchpoint-map { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:1.5rem; align-items:center; }
.th-touchpoint-map article { background:#fff; border:1px solid rgba(28,24,32,.08); border-radius:18px; padding:2rem; min-height:210px; }
.th-touchpoint-map span { display:block; color:var(--accent); font-size:.62rem; letter-spacing:.15em; text-transform:uppercase; margin-bottom:1.2rem; }
.th-touchpoint-map strong { display:block; font-family:var(--serif); font-size:1.65rem; font-weight:300; }
.th-touchpoint-map p { color:var(--ink-light); font-size:.82rem; line-height:1.65; margin-top:1rem; }
.th-map-line { width:45px; height:1px; background:rgba(28,24,32,.22); position:relative; }
.th-map-line::after { content:'›'; position:absolute; right:-2px; top:-13px; color:var(--accent); font-size:1.3rem; }
.th-touchpoint { max-width:1180px; margin:0 auto; padding:7rem 5vw; display:grid; grid-template-columns:.8fr 1.2fr; gap:5rem; align-items:center; }
.th-touchpoint-copy>p:not(.th-num) { color:var(--ink-light); line-height:1.8; margin-top:1.5rem; }
.th-decision-note { margin-top:1.6rem; padding-top:1.4rem; border-top:1px solid rgba(28,24,32,.1); }
.th-decision-note span { color:var(--accent); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; }
.th-decision-note p { color:var(--ink-light); font-size:.84rem; line-height:1.7; margin-top:.4rem; }
.th-media-large { aspect-ratio:4/3; }
.th-kiosk-section { background:linear-gradient(145deg,#0C1A2E 0%,#142540 100%); color:#fff; }
.th-kiosk-inner { display:grid; grid-template-columns:.75fr 1.25fr; gap:4rem; align-items:start; }
.th-kiosk-inner .th-touchpoint-copy>p:not(.th-num) { color:rgba(255,255,255,.62); }
.th-kiosk-flow { display:flex; flex-wrap:wrap; gap:.65rem; align-items:center; align-self:end; padding-top:2rem; }
.th-kiosk-flow span { padding:.65rem .9rem; border:1px solid rgba(255,255,255,.18); border-radius:999px; font-size:.72rem; color:rgba(255,255,255,.8); }
.th-kiosk-flow b { color:var(--accent); font-weight:400; }
.th-media-wide { grid-column:1/-1; width:100%; aspect-ratio:16/8; }
.th-media-dark { background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.1); }
.th-iteration-card { grid-column:1/-1; display:grid; grid-template-columns:1fr auto 1fr; gap:2rem; align-items:center; padding:2.2rem; border:1px solid rgba(255,255,255,.12); border-radius:18px; }
.th-iteration-card span { color:var(--th-sky); font-size:.62rem; text-transform:uppercase; letter-spacing:.14em; }
.th-iteration-card h3 { font-family:var(--serif); font-size:1.55rem; font-weight:300; margin:.45rem 0; }
.th-iteration-card p { color:rgba(255,255,255,.56); font-size:.82rem; line-height:1.6; }
.th-iteration-change { color:var(--accent); font-size:2rem; }
.th-platform-hero-media { margin-bottom:3rem; }
.th-feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-bottom:5rem; }
.th-feature-grid article { padding:1.8rem; border:1px solid rgba(28,24,32,.08); border-radius:16px; background:#fff; }
.th-account-iteration { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; background:var(--accent-pale); border-radius:24px; padding:3rem; margin:0 0 4rem; }
.th-eyebrow { color:var(--accent); margin-bottom:.7rem; }
.th-account-copy h3 { font-family:var(--serif); font-size:2.1rem; font-weight:300; line-height:1.15; }
.th-account-copy>p:last-child { color:var(--ink-light); font-size:.87rem; line-height:1.75; margin-top:1rem; }
.th-before-after { display:grid; gap:.8rem; }
.th-before-after>div:not(.th-ba-arrow) { background:#fff; border-radius:14px; padding:1.4rem; }
.th-before-after span { display:block; color:var(--accent); font-size:.62rem; letter-spacing:.15em; text-transform:uppercase; margin-bottom:.35rem; }
.th-before-after strong { font-size:.85rem; font-weight:500; }
.th-ba-arrow { color:var(--accent); padding-left:1.2rem; }
.th-next-intro { max-width:68ch; margin-top:-1.5rem; }
.th-next-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:3rem; }
.th-next-grid article { border-top:1px solid rgba(28,24,32,.14); padding-top:1.3rem; }
.th-next-grid p { color:var(--ink-light); font-size:.84rem; line-height:1.7; margin-top:.7rem; }
.th-reflection { background:var(--accent-pale); padding:7rem max(5vw,calc((100vw - 1062px)/2)); }
.th-reflection h2 { max-width:16ch; }
.th-reflection>p:not(.th-num):not(.th-reflection-line) { max-width:68ch; color:var(--ink-light); line-height:1.8; margin-top:1.8rem; }
.th-reflection-line { font-family:var(--serif); font-size:clamp(2rem,4vw,3.8rem); margin-top:3rem; }
.th-reflection-line strong { color:var(--accent); font-weight:300; font-style:italic; }
@media(max-width:980px){
  .th-hero{grid-template-columns:1fr;padding-top:6rem}.th-media-hero{max-width:720px}.th-project-strip{grid-template-columns:1fr 1fr}.th-project-strip div:nth-child(2){border-right:none}.th-project-strip div:nth-child(-n+2){border-bottom:1px solid rgba(28,24,32,.08)}
  .th-heading-split,.th-challenge-grid,.th-touchpoint,.th-kiosk-inner,.th-account-iteration{grid-template-columns:1fr;gap:2.5rem}.th-heading-note{max-width:60ch}.th-method-row,.th-feature-grid,.th-next-grid{grid-template-columns:1fr 1fr}.th-touchpoint-map{grid-template-columns:1fr}.th-map-line{width:1px;height:35px;margin-left:2rem}.th-map-line::after{content:'⌄';top:17px;left:-7px}.th-kiosk-flow{padding-top:0}.th-media-wide{aspect-ratio:4/3}
}
@media(max-width:680px){
  .th-hero{padding:5.5rem 5vw 3.5rem}.th-hero h1{font-size:4.2rem}.th-project-strip,.th-method-row,.th-stat-grid,.th-media-pair,.th-insight-grid,.th-feature-grid,.th-next-grid{grid-template-columns:1fr}.th-project-strip div{border-right:none;border-bottom:1px solid rgba(28,24,32,.08);padding-left:0}.th-project-strip div:last-child{border-bottom:none}.th-method-row div{border-right:none;border-bottom:1px solid rgba(28,24,32,.1);padding-left:0}.th-method-row div:last-child{border-bottom:none}.th-insight-grid article,.th-insight-grid article:nth-child(odd),.th-insight-grid article:nth-child(even){border-right:none;padding:1.8rem 0}.th-evidence-grid{grid-template-columns:1fr}.th-quote{padding:2rem 1.5rem}.th-iteration-card{grid-template-columns:1fr}.th-iteration-change{transform:rotate(90deg);width:max-content}.th-account-iteration{padding:2rem}.th-kiosk-flow b{display:none}.th-section,.th-touchpoint,.th-bridge-inner,.th-kiosk-inner{padding-top:5rem;padding-bottom:5rem}.th-reflection{padding-top:5rem;padding-bottom:5rem}
}

/* ── THRESHOLD VISUAL REFINEMENT: project-specific system ── */
.threshold-page {
  --th-navy:#0C1A2E;
  --th-charcoal:#273348;
  --th-muted:#AEBBCA;
  --th-sky:#B9D6F2;
  --th-sky-pale:#EAF3FA;
  --th-paper:#F8F7F4;
  --th-line:rgba(12,26,46,.12);
  font-family:'Poppins', var(--sans);
  background:var(--th-paper);
}
.threshold-page .cs-nav { font-family:'Poppins',var(--sans); }
.threshold-page .cs-nav-title { color:#667487; }
.threshold-page .cs-back:hover { background:var(--th-navy); border-color:var(--th-navy); }
.threshold-page .th-hero { background:linear-gradient(145deg,#0C1A2E 0%,#142640 100%); }
.threshold-page .th-hero h1 { font-family:var(--serif); }
.threshold-page .th-tags .cs-tag { background:rgba(185,214,242,.12); color:var(--th-sky); border:1px solid rgba(185,214,242,.24); }
.threshold-page .th-kicker,.threshold-page .th-num,.threshold-page .th-eyebrow { color:#71859B; }
.threshold-page .th-section-heading h2,
.threshold-page .th-touchpoint-copy h2,
.threshold-page .th-reflection h2,
.threshold-page .th-account-copy h3 {
  font-family:'Poppins',var(--sans);
  font-weight:500;
  letter-spacing:-.035em;
}
.threshold-page .th-section-heading em,
.threshold-page .th-touchpoint-copy em,
.threshold-page .th-hero-statement em,
.threshold-page .th-reflection em { color:inherit; font-style:normal; font-weight:500; }
.threshold-page .th-thesis strong,
.threshold-page .th-reflection-line strong { color:var(--th-navy); font-style:normal; font-family:'Poppins',var(--sans); font-weight:500; }
.threshold-page .th-thesis p,
.threshold-page .th-reflection-line { font-family:'Poppins',var(--sans); font-weight:400; letter-spacing:-.035em; }
.threshold-page .th-method-row strong { color:var(--th-navy); font-family:'Poppins',var(--sans); font-weight:500; }
.threshold-page .th-stat-card { background:var(--th-sky-pale); border:1px solid rgba(12,26,46,.06); }
.threshold-page .th-stat-card strong { color:var(--th-navy); font-family:'Poppins',var(--sans); font-weight:500; letter-spacing:-.05em; }
.threshold-page .th-quote p { color:var(--th-navy); }
.threshold-page .th-insight-grid span,
.threshold-page .th-feature-grid span,
.threshold-page .th-next-grid span { color:#7089A2; font-family:'Poppins',var(--sans); font-style:normal; font-size:.72rem; letter-spacing:.12em; }
.threshold-page .th-insight-grid h3,
.threshold-page .th-feature-grid h3 { color:var(--th-navy); }
.threshold-page .th-bridge-section { background:var(--th-navy); }
.threshold-page .th-on-dark .th-num,
.threshold-page .th-evidence-label,
.threshold-page .th-iteration-card span { color:var(--th-sky); }
.threshold-page .th-evidence-grid article { background:var(--th-navy); }
.threshold-page .th-connector,
.threshold-page .th-map-line { background:rgba(185,214,242,.55); }
.threshold-page .th-connector::after,
.threshold-page .th-map-line::after,
.threshold-page .th-iteration-change { color:var(--th-sky); }
.threshold-page .th-touchpoint-map span,
.threshold-page .th-decision-note span,
.threshold-page .th-before-after span { color:#7089A2; }
.threshold-page .th-account-iteration { background:var(--th-sky-pale); }
.threshold-page .th-reflection { background:#EEF3F6; }
.threshold-page .th-btn-dark { background:var(--th-navy); }
.threshold-page .th-text-link { color:inherit; }
.threshold-page .th-doc-link-row {
  margin-top:2.25rem; padding:1.5rem 0; border-top:1px solid var(--th-line); border-bottom:1px solid var(--th-line);
  display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center;
}
.threshold-page .th-doc-link-row span { display:block; font-size:.62rem; letter-spacing:.15em; text-transform:uppercase; color:#7089A2; margin-bottom:.35rem; }
.threshold-page .th-doc-link-row p { color:#6B7582; font-size:.82rem; line-height:1.65; max-width:68ch; }
.threshold-page .th-doc-link { color:var(--th-navy); text-decoration:none; font-size:.78rem; font-weight:500; white-space:nowrap; border-bottom:1px solid rgba(12,26,46,.28); padding-bottom:.2rem; }
.threshold-page .th-doc-link:hover { border-bottom-color:var(--th-navy); }
.threshold-page .th-btn-outline-dark { background:transparent; border:1px solid rgba(12,26,46,.3); color:var(--th-navy); }
.threshold-page .th-btn-outline-dark:hover { border-color:var(--th-navy); }
@media(max-width:680px){ .threshold-page .th-doc-link-row{grid-template-columns:1fr;gap:1rem}.threshold-page .th-doc-link{white-space:normal;width:max-content;max-width:100%} }



/* ── THRESHOLD V3: editorial bridge + tighter case-study rhythm ── */
.threshold-page { font-family:var(--sans); }
.threshold-page .cs-nav { font-family:var(--sans); }
.threshold-page .th-section-heading h2,
.threshold-page .th-touchpoint-copy h2,
.threshold-page .th-reflection h2,
.threshold-page .th-account-copy h3,
.threshold-page .th-style-guide h2 {
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:-.015em;
  line-height:1.08;
}
.threshold-page .th-section-heading h2 { font-size:clamp(2rem,3.25vw,3rem); }
.threshold-page .th-touchpoint-copy h2 { font-size:clamp(2rem,3vw,2.85rem); }
.threshold-page .th-section-heading em,
.threshold-page .th-touchpoint-copy em,
.threshold-page .th-reflection em,
.threshold-page .th-account-copy em,
.threshold-page .th-style-guide em { color:inherit; font-style:italic; font-weight:300; }
.threshold-page .th-heading-note,
.threshold-page .th-copy,
.threshold-page .th-touchpoint-copy>p:not(.th-num),
.threshold-page .th-decision-note p,
.threshold-page .th-feature-grid p,
.threshold-page .th-next-grid p,
.threshold-page .th-doc-link-row p { font-family:var(--sans); }

/* tighter vertical rhythm */
.threshold-page .th-section { padding-top:4.35rem; padding-bottom:4.35rem; }
.threshold-page .th-section-heading { margin-bottom:2rem; }
.threshold-page .th-heading-split { margin-bottom:2.4rem; }
.threshold-page .th-section-heading h2 { margin-bottom:0; }
.threshold-page .th-challenge-grid { margin-top:.25rem; }
.threshold-page .th-method-row { margin-top:1.4rem; }
.threshold-page .th-stat-grid { margin-top:2rem; }
.threshold-page .th-insight-grid { margin-top:1.7rem; }
.threshold-page .th-bridge-inner { padding-top:4.75rem; padding-bottom:4.75rem; }
.threshold-page .th-touchpoint { padding-top:4.8rem; padding-bottom:4.8rem; }
.threshold-page .th-kiosk-inner { padding-top:4.8rem; padding-bottom:4.8rem; }
.threshold-page .th-reflection { padding-top:5rem; padding-bottom:5rem; }

/* challenge thesis as a compact inline callout, not a section */
.threshold-page .th-thesis {
  margin-top:2.2rem;
  padding:.85rem 0 .85rem 1.25rem;
  border-left:2px solid var(--th-navy);
  background:transparent;
  border-radius:0;
}
.threshold-page .th-thesis>span { display:none; }
.threshold-page .th-thesis p {
  font-family:var(--sans);
  font-size:1rem;
  letter-spacing:0;
  color:#596677;
  margin:0;
}
.threshold-page .th-thesis strong { font-family:var(--sans); font-weight:500; color:var(--th-navy); }

/* research to design: thin divider only, no directional arrow */
.threshold-page .th-connector {
  width:100%;
  height:1px;
  margin:1.25rem 0;
  background:rgba(185,214,242,.38);
  position:relative;
}
.threshold-page .th-connector::after { content:none !important; display:none !important; }
.threshold-page .th-evidence-grid { align-items:stretch; }
.threshold-page .th-evidence-wide { grid-column:1 / -1; max-width:none; }
.threshold-page .th-quote-dark p { color:#fff !important; }
.threshold-page .th-quote-dark cite { color:rgba(255,255,255,.62) !important; }

/* richer touchpoint overview */
.threshold-page .th-touchpoint-map article { padding:1.7rem 1.6rem; }
.threshold-page .th-touchpoint-map article p { margin-top:.75rem; line-height:1.7; }
.threshold-page .th-touchpoint-map strong { line-height:1.25; }

/* style guide */
.threshold-page .th-style-guide {
  margin:4rem 0 2.25rem;
  padding:2.5rem;
  background:#fff;
  border:1px solid var(--th-line);
  border-radius:18px;
}
.threshold-page .th-style-guide-heading { margin-bottom:2rem; display:grid; grid-template-columns:1fr 1fr; gap:2rem; align-items:end; }
.threshold-page .th-style-guide-heading .th-num { grid-column:1 / -1; }
.threshold-page .th-style-guide-heading .th-heading-note { align-self:end; }
.threshold-page .th-style-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:3rem; padding-top:2rem; border-top:1px solid var(--th-line); }
.threshold-page .th-style-label { display:block; font-size:.64rem; letter-spacing:.14em; text-transform:uppercase; color:#7089A2; margin-bottom:1.1rem; }
.threshold-page .th-swatches { display:flex; flex-wrap:wrap; gap:1rem; }
.threshold-page .th-swatches div { width:88px; }
.threshold-page .th-swatches i { display:block; width:100%; height:58px; border-radius:10px; border:1px solid rgba(12,26,46,.08); margin-bottom:.55rem; }
.threshold-page .th-swatches small,
.threshold-page .th-style-type small { color:#6B7582; font-size:.72rem; line-height:1.5; }
.threshold-page .th-style-serif { font-family:var(--serif); font-size:2rem; line-height:1.1; color:var(--th-navy); margin-bottom:.65rem; }
.threshold-page .th-style-sans { font-family:'Poppins',var(--sans); font-size:1.1rem; color:var(--th-navy); margin-bottom:1rem; }

@media(max-width:780px){
  .threshold-page .th-style-guide-heading,
  .threshold-page .th-style-grid { grid-template-columns:1fr; }
  .threshold-page .th-evidence-wide { grid-column:auto; }
}


/* ── THRESHOLD V4: alignment, hierarchy, and research-to-design refinement ── */
.threshold-page .th-section-heading h2,
.threshold-page .th-reflection h2,
.threshold-page .th-account-copy h3,
.threshold-page .th-style-guide h2 {
  font-family:var(--serif);
  font-weight:600;
  letter-spacing:-.012em;
  line-height:1.06;
  max-width:none;
}
.threshold-page .th-section-heading h2 { font-size:clamp(2.15rem,3.3vw,3.15rem); }
.threshold-page .th-heading-split { grid-template-columns:minmax(0,1.55fr) minmax(260px,.45fr); gap:3.25rem; align-items:end; }
.threshold-page .th-heading-split>div { min-width:0; }
.threshold-page .th-heading-split .th-section-heading h2,
.threshold-page .th-heading-split h2 { max-width:100%; }
.threshold-page .th-heading-note { max-width:42ch; }

/* Keep the challenge thesis inside the challenge, immediately before its section divider. */
.threshold-page .th-challenge { border-bottom:1px solid var(--th-line); }
.threshold-page .th-thesis { margin-top:2rem; margin-bottom:0; }

/* Research methods align from the same left edge and baseline. */
.threshold-page .th-method-row { align-items:stretch; }
.threshold-page .th-method-row div,
.threshold-page .th-method-row div:first-child,
.threshold-page .th-method-row div:last-child {
  padding:1.6rem 1.35rem;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
}
.threshold-page .th-method-row strong {
  min-height:2.5rem;
  display:flex;
  align-items:flex-end;
  line-height:1;
  margin-bottom:.45rem;
}
.threshold-page .th-method-row span { max-width:22ch; }

/* Participant quotations use the available reading width. */
.threshold-page .th-quote { width:100%; }
.threshold-page .th-quote p { max-width:52ch; }
.threshold-page .th-quote-light p { max-width:48ch; }
.threshold-page .th-quote-dark p { max-width:52ch; }

/* Research to design becomes a set of aligned horizontal comparisons. */
.threshold-page .th-evidence-grid {
  display:flex;
  flex-direction:column;
  gap:0;
  background:transparent;
  border-top:1px solid rgba(255,255,255,.18);
  border-bottom:1px solid rgba(255,255,255,.18);
}
.threshold-page .th-evidence-grid article {
  display:grid;
  grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);
  grid-template-rows:auto 1fr;
  column-gap:2.25rem;
  row-gap:.55rem;
  min-height:0;
  padding:1.9rem 0;
  background:transparent;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.threshold-page .th-evidence-grid article:last-child { border-bottom:none; }
.threshold-page .th-evidence-grid article::before {
  content:'';
  grid-column:2;
  grid-row:1 / span 2;
  width:1px;
  height:100%;
  background:rgba(185,214,242,.32);
}
.threshold-page .th-evidence-grid .th-evidence-label:first-child { grid-column:1; grid-row:1; }
.threshold-page .th-evidence-grid h3 {
  grid-column:1; grid-row:2;
  font-family:var(--serif);
  font-weight:600;
  font-size:1.55rem;
  max-width:30ch;
  line-height:1.15;
}
.threshold-page .th-evidence-grid .th-connector { display:none; }
.threshold-page .th-evidence-grid .th-evidence-label:nth-of-type(2) { grid-column:3; grid-row:1; }
.threshold-page .th-evidence-grid article>p:last-child {
  grid-column:3; grid-row:2;
  max-width:48ch;
  margin:0;
  align-self:start;
}
.threshold-page .th-bridge-section .th-quote { margin:2.7rem 0 0; }

/* The service overview uses functional typography for the three touchpoint labels. */
.threshold-page .th-touchpoint-map span,
.threshold-page .th-touchpoint-map strong { font-family:'Poppins',var(--sans); }
.threshold-page .th-touchpoint-map strong { font-size:1.08rem; font-weight:600; letter-spacing:-.01em; }
.threshold-page .th-touchpoint-map span { margin-bottom:.75rem; font-weight:500; }

/* Kiosk revision is a subsection, not a card. */
.threshold-page .th-kiosk-revision {
  grid-column:1 / -1;
  padding-top:2.2rem;
  border-top:1px solid rgba(255,255,255,.16);
}
.threshold-page .th-revision-heading {
  font-family:var(--serif);
  font-size:1.7rem;
  font-weight:600;
  color:#fff;
  margin-bottom:1.35rem;
}
.threshold-page .th-revision-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
}
.threshold-page .th-revision-grid>div { padding:0 2rem 0 0; }
.threshold-page .th-revision-grid>div+div {
  padding:0 0 0 2rem;
  border-left:1px solid rgba(255,255,255,.16);
}
.threshold-page .th-revision-grid span {
  display:block;
  color:var(--th-sky);
  font-size:.62rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  margin-bottom:.45rem;
}
.threshold-page .th-revision-grid h3 {
  font-family:'Poppins',var(--sans);
  font-size:1rem;
  font-weight:600;
  color:#fff;
  margin-bottom:.45rem;
}
.threshold-page .th-revision-grid p { color:rgba(255,255,255,.6); font-size:.82rem; line-height:1.65; max-width:48ch; }

@media(max-width:900px){
  .threshold-page .th-heading-split { grid-template-columns:1fr; gap:1.1rem; }
  .threshold-page .th-heading-note { max-width:64ch; }
  .threshold-page .th-evidence-grid article { grid-template-columns:1fr; grid-template-rows:auto auto auto auto; gap:.45rem; }
  .threshold-page .th-evidence-grid article::before { display:none; }
  .threshold-page .th-evidence-grid .th-evidence-label:first-child,
  .threshold-page .th-evidence-grid h3,
  .threshold-page .th-evidence-grid .th-evidence-label:nth-of-type(2),
  .threshold-page .th-evidence-grid article>p:last-child { grid-column:1; grid-row:auto; }
  .threshold-page .th-evidence-grid .th-evidence-label:nth-of-type(2) { margin-top:1rem; padding-top:1rem; border-top:1px solid rgba(255,255,255,.12); }
}
@media(max-width:680px){
  .threshold-page .th-revision-grid { grid-template-columns:1fr; }
  .threshold-page .th-revision-grid>div,
  .threshold-page .th-revision-grid>div+div { padding:0; border-left:none; }
  .threshold-page .th-revision-grid>div+div { margin-top:1.25rem; padding-top:1.25rem; border-top:1px solid rgba(255,255,255,.16); }
}



/* ── THRESHOLD V6: spacing, dividers, width and hierarchy refinements ── */

/* Hero statement: constrained only while the image sits beside it on desktop. */
@media (min-width: 981px) {
  .threshold-page .th-hero-copy { max-width:680px; }
  .threshold-page .th-hero-statement { max-width:22ch; }
}
@media (max-width: 980px) {
  .threshold-page .th-hero-copy { max-width:none; width:100%; }
  .threshold-page .th-hero-statement { max-width:none; width:100%; }
}

/* Research numbers should support the story rather than dominate it. */
.threshold-page .th-stat-card strong {
  font-size:clamp(2.45rem,4vw,3.85rem);
  line-height:.95;
}

/* Insights: internal dividers only, no outer top or bottom rules. */
.threshold-page .th-insight-grid {
  border-top:0;
}
.threshold-page .th-insight-grid article,
.threshold-page .th-insight-grid article:nth-child(odd),
.threshold-page .th-insight-grid article:nth-child(even) {
  border-bottom:0;
}
.threshold-page .th-insight-grid article:nth-child(odd) {
  border-right:1px solid rgba(28,24,32,.1);
}
.threshold-page .th-insight-grid article:nth-child(-n+2) {
  border-bottom:1px solid rgba(28,24,32,.1);
}

/* Research to design: remove the perimeter box, preserve only internal separators. */
.threshold-page .th-evidence-grid {
  gap:0;
  background:transparent;
  border:0;
}
.threshold-page .th-evidence-grid article {
  border:0;
}
.threshold-page .th-evidence-grid article:nth-child(odd) {
  border-right:1px solid rgba(255,255,255,.14);
}
.threshold-page .th-evidence-grid article:nth-child(-n+2) {
  border-bottom:1px solid rgba(255,255,255,.14);
}
.threshold-page .th-evidence-grid .th-connector {
  width:100%;
  max-width:44px;
  height:1px;
  background:rgba(185,214,242,.55);
}
.threshold-page .th-bridge-section .th-inline-quote-dark {
  margin-top:3.7rem;
  padding-left:1.35rem;
  border-left:2px solid #fff !important;
  width:100%;
  max-width:none;
}
.threshold-page .th-bridge-section .th-inline-quote-dark p {
  max-width:78ch;
  width:100%;
  color:#fff !important;
  font-family:'Poppins',var(--sans);
}

/* Service overview: use more horizontal room on desktop. */
@media (min-width: 981px) {
  .threshold-page .th-system .th-heading-split {
    grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);
    gap:4rem;
    align-items:end;
  }
  .threshold-page .th-system .th-section-heading h2,
  .threshold-page .th-system h2 {
    max-width:30ch;
  }
  .threshold-page .th-system .th-heading-note {
    max-width:58ch;
  }
  .threshold-page .th-touchpoint-brochure .th-touchpoint-copy h2 {
    max-width:44ch;
  }
  .threshold-page .th-kiosk-section .th-touchpoint-copy h2 {
    max-width:38ch;
  }
}

/* Platform intro: desktop gets a balanced two-column relationship with less dead space. */
@media (min-width: 981px) {
  .threshold-page .th-platform .th-heading-split {
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);
    gap:3rem;
    align-items:start;
    margin-bottom:1.75rem;
  }
  .threshold-page .th-platform .th-heading-note {
    max-width:64ch;
    margin-top:.2rem;
    line-height:1.7;
  }
  .threshold-page .th-platform-hero-media { margin-top:0; }
}

/* Decision reflection: functional typography, smaller and quieter. */
.threshold-page .th-account-copy h3 {
  font-family:'Poppins',var(--sans);
  font-size:clamp(1.15rem,1.65vw,1.45rem);
  font-weight:500;
  line-height:1.35;
  letter-spacing:-.02em;
}

/* Closing line: a reflection, not a second hero. */
.threshold-page .th-reflection-line {
  font-size:clamp(1.2rem,1.8vw,1.65rem);
  line-height:1.3;
}

@media (max-width: 680px) {
  .threshold-page .th-insight-grid article,
  .threshold-page .th-insight-grid article:nth-child(odd),
  .threshold-page .th-insight-grid article:nth-child(even),
  .threshold-page .th-insight-grid article:nth-child(-n+2) {
    border-right:0;
    border-bottom:0;
  }
}
@media (max-width: 900px) {
  .threshold-page .th-evidence-grid article,
  .threshold-page .th-evidence-grid article:nth-child(odd),
  .threshold-page .th-evidence-grid article:nth-child(-n+2) {
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.14);
  }
  .threshold-page .th-evidence-grid article:last-child { border-bottom:0; }
}



/* ── THRESHOLD V7: hierarchy and research layout fixes ── */
.threshold-page .th-hero h1 em {
  font-style:italic;
  font-weight:600;
  color:#fff;
}
.threshold-page .th-section-heading h2 {
  font-size:clamp(2.45rem,3.75vw,3.55rem);
}
.threshold-page .th-thesis { display:none !important; }

/* Research: create narrative rhythm between methodology, findings, visuals, and quote. */
.threshold-page .th-research .th-method-row {
  margin-bottom:2.6rem;
}
.threshold-page .th-research-story {
  max-width:84ch;
  margin:0 0 2.5rem;
  color:var(--ink-light);
  font-size:.98rem;
  line-height:1.85;
}
.threshold-page .th-research-story p + p { margin-top:1rem; }
.threshold-page .th-research .th-stat-grid {
  margin-top:0;
  margin-bottom:3rem;
}
.threshold-page .th-research .th-media-pair {
  margin-top:0;
}
.threshold-page .th-research-quote {
  margin:2.8rem 0 3rem;
  max-width:none;
}
.threshold-page .th-research-quote p {
  max-width:78ch;
}

/* Research findings: only internal separators, no outer framing. */
.threshold-page .th-insight-grid {
  border:0;
}
.threshold-page .th-insight-grid article { border:0; }
.threshold-page .th-insight-grid article:nth-child(odd) { border-right:1px solid rgba(28,24,32,.1); }
.threshold-page .th-insight-grid article:nth-child(-n+2) { border-bottom:1px solid rgba(28,24,32,.1); }

/* Research to design: clean 2x2 grid with center dividers only. */
.threshold-page .th-evidence-grid {
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  background:transparent;
  border:0;
}
.threshold-page .th-evidence-grid::before {
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:1px;
  background:rgba(255,255,255,.14);
  pointer-events:none;
}
.threshold-page .th-evidence-grid::after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background:rgba(255,255,255,.14);
  pointer-events:none;
}
.threshold-page .th-evidence-grid article,
.threshold-page .th-evidence-grid article:nth-child(odd),
.threshold-page .th-evidence-grid article:nth-child(-n+2) {
  border:0 !important;
}
.threshold-page .th-evidence-grid .th-connector {
  display:block;
  width:44px;
  height:1px;
  margin:2rem 0;
  background:rgba(185,214,242,.55);
}
.threshold-page .th-evidence-grid .th-connector::after { content:none !important; display:none !important; }

/* Before/revised account decision: no directional arrow. */
.threshold-page .th-ba-arrow { display:none !important; }

@media (max-width:900px) {
  .threshold-page .th-evidence-grid { grid-template-columns:1fr; }
  .threshold-page .th-evidence-grid::before,
  .threshold-page .th-evidence-grid::after { display:none; }
  .threshold-page .th-evidence-grid article + article {
    border-top:1px solid rgba(255,255,255,.14) !important;
  }
}


/* ── THRESHOLD V9: clean final overrides after accumulated v4-v8 rules ── */
/* This block intentionally wins over earlier experimental rules. */

/* Restore portfolio continuity without letting Cormorant take over functional content. */
.threshold-page .th-section-heading h2,
.threshold-page .th-touchpoint-copy h2,
.threshold-page .th-reflection h2,
.threshold-page .th-style-guide h2 {
  font-family: var(--serif) !important;
  font-weight: 600 !important;
  font-size: clamp(2.65rem, 3.9vw, 3.8rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.018em !important;
  max-width: 24ch !important;
}
.threshold-page .th-section-heading em,
.threshold-page .th-touchpoint-copy em,
.threshold-page .th-reflection em,
.threshold-page .th-style-guide em {
  color: inherit !important;
  font-style: italic !important;
  font-weight: 600 !important;
}
.threshold-page .th-hero h1 em {
  font-family: var(--serif) !important;
  font-weight: 600 !important;
  font-style: italic !important;
  color: #fff !important;
}

/* Keep research metrics supporting, not overpowering. */
.threshold-page .th-research .th-stat-grid {
  gap: 1rem !important;
  margin: 2.2rem 0 2.8rem !important;
}
.threshold-page .th-research .th-stat-card {
  min-height: 150px !important;
  padding: 1.45rem !important;
  justify-content: flex-start !important;
  gap: 1.15rem !important;
}
.threshold-page .th-research .th-stat-card strong {
  font-family: 'Poppins', var(--sans) !important;
  font-size: clamp(1.65rem, 2.15vw, 2.3rem) !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}
.threshold-page .th-research .th-stat-card p {
  max-width: 30ch !important;
  margin: 0 !important;
}
.threshold-page .th-research-intro,
.threshold-page .th-research-story {
  max-width: 90ch !important;
}

/* Research to design: no boxed table, no Cormorant, no edge dividers. */
.threshold-page .th-evidence-grid {
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  position: static !important;
}
.threshold-page .th-evidence-grid::before,
.threshold-page .th-evidence-grid::after {
  display: none !important;
  content: none !important;
}
.threshold-page .th-evidence-grid article,
.threshold-page .th-evidence-grid article:nth-child(odd),
.threshold-page .th-evidence-grid article:nth-child(even),
.threshold-page .th-evidence-grid article:nth-child(-n+2) {
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) 1px minmax(0, 1.05fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 2.25rem !important;
  row-gap: .55rem !important;
  min-height: 0 !important;
  padding: 2.05rem 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
}
.threshold-page .th-evidence-grid article:last-child {
  border-bottom: 0 !important;
}
.threshold-page .th-evidence-grid article::before {
  content: '' !important;
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  width: 1px !important;
  height: 100% !important;
  background: rgba(185,214,242,.38) !important;
}
.threshold-page .th-evidence-grid .th-evidence-label {
  font-family: 'Poppins', var(--sans) !important;
  font-size: .62rem !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: var(--th-sky) !important;
  margin: 0 0 .45rem !important;
}
.threshold-page .th-evidence-grid .th-evidence-label:first-child {
  grid-column: 1 !important;
  grid-row: 1 !important;
}
.threshold-page .th-evidence-grid .th-evidence-label:nth-of-type(2) {
  grid-column: 3 !important;
  grid-row: 1 !important;
}
.threshold-page .th-evidence-grid h3 {
  grid-column: 1 !important;
  grid-row: 2 !important;
  font-family: 'Poppins', var(--sans) !important;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  max-width: 34ch !important;
  margin: 0 !important;
  letter-spacing: -.02em !important;
  color: #fff !important;
}
.threshold-page .th-evidence-grid .th-connector {
  display: none !important;
}
.threshold-page .th-evidence-grid article > p:last-child {
  grid-column: 3 !important;
  grid-row: 2 !important;
  font-family: 'Poppins', var(--sans) !important;
  max-width: 54ch !important;
  margin: 0 !important;
  color: rgba(255,255,255,.72) !important;
  line-height: 1.75 !important;
}
.threshold-page .th-bridge-section .th-inline-quote-dark {
  margin-top: 3.25rem !important;
  padding-left: 1.35rem !important;
  border-left: 2px solid #fff !important;
  max-width: none !important;
}
.threshold-page .th-bridge-section .th-inline-quote-dark p {
  font-family: 'Poppins', var(--sans) !important;
  color: #fff !important;
  max-width: 84ch !important;
  font-size: clamp(.98rem, 1.4vw, 1.14rem) !important;
  line-height: 1.7 !important;
}

/* Service overview and touchpoint desktop widths. */
@media (min-width: 981px) {
  .threshold-page .th-system .th-heading-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(420px, .8fr) !important;
    gap: 4rem !important;
    align-items: end !important;
  }
  .threshold-page .th-system .th-heading-note {
    max-width: 68ch !important;
  }
  .threshold-page .th-touchpoint-brochure .th-touchpoint-copy h2,
  .threshold-page .th-kiosk-section .th-touchpoint-copy h2,
  .threshold-page .th-platform .th-section-heading h2 {
    max-width: 42ch !important;
  }
  .threshold-page .th-kiosk-inner {
    display: block !important;
    max-width: 1180px !important;
  }
  .threshold-page .th-kiosk-inner .th-touchpoint-copy {
    max-width: none !important;
    width: 100% !important;
    margin-bottom: 1.75rem !important;
  }
  .threshold-page .th-kiosk-inner .th-touchpoint-copy > p:not(.th-num) {
    max-width: 92ch !important;
    width: 100% !important;
  }
  .threshold-page .th-kiosk-flow {
    width: 100% !important;
    max-width: none !important;
    justify-content: flex-start !important;
    margin: 0 0 2.25rem !important;
    padding: 0 !important;
  }
  .threshold-page .th-platform .th-heading-split {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr) !important;
    gap: 2.75rem !important;
    align-items: start !important;
    margin-bottom: 1.6rem !important;
  }
  .threshold-page .th-platform .th-heading-note {
    max-width: 72ch !important;
    margin-top: .05rem !important;
  }
  .threshold-page .th-reflection h2 {
    font-size: clamp(2rem, 2.55vw, 2.65rem) !important;
    max-width: 26ch !important;
  }
  .threshold-page .th-reflection-line {
    font-size: clamp(1.05rem, 1.55vw, 1.4rem) !important;
    line-height: 1.35 !important;
  }
}

/* Functional subsection labels stay Poppins and quiet. */
.threshold-page .th-account-copy h3,
.threshold-page .th-revision-heading,
.threshold-page .th-touchpoint-map span,
.threshold-page .th-touchpoint-map strong {
  font-family: 'Poppins', var(--sans) !important;
}
.threshold-page .th-account-copy h3,
.threshold-page .th-revision-heading {
  font-size: clamp(1.05rem, 1.45vw, 1.3rem) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -.02em !important;
}
.threshold-page .th-ba-arrow { display: none !important; }

@media (max-width: 900px) {
  .threshold-page .th-evidence-grid article,
  .threshold-page .th-evidence-grid article:nth-child(odd),
  .threshold-page .th-evidence-grid article:nth-child(even),
  .threshold-page .th-evidence-grid article:nth-child(-n+2) {
    display: block !important;
    padding: 1.7rem 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
  }
  .threshold-page .th-evidence-grid article::before { display: none !important; content: none !important; }
  .threshold-page .th-evidence-grid .th-evidence-label:nth-of-type(2) {
    margin-top: 1.2rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
  }
  .threshold-page .th-evidence-grid h3,
  .threshold-page .th-evidence-grid article > p:last-child {
    max-width: 100% !important;
  }
}



/* ── THRESHOLD V10: final link wiring, research layout, and service jump cards ── */
.threshold-page .th-hero-statement {
  max-width: 13.5ch !important;
}

.threshold-page .th-research-overview {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
  gap: 3rem !important;
  align-items: start !important;
  margin: .75rem 0 2.4rem !important;
}
.threshold-page .th-research-overview .th-research-intro {
  max-width: none !important;
  margin: 0 !important;
}
.threshold-page .th-research-overview .th-research-intro p {
  max-width: 72ch !important;
}
.threshold-page .th-research-overview .th-research-intro p + p {
  margin-top: 1rem !important;
}
.threshold-page .th-method-panel {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--th-line) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #fff !important;
}
.threshold-page .th-method-panel div {
  padding: 1.35rem 1.25rem !important;
  min-height: 118px !important;
  border: 0 !important;
  border-right: 1px solid var(--th-line) !important;
  border-bottom: 1px solid var(--th-line) !important;
  background: #fff !important;
}
.threshold-page .th-method-panel div:nth-child(2n) { border-right: 0 !important; }
.threshold-page .th-method-panel div:nth-last-child(-n+2) { border-bottom: 0 !important; }
.threshold-page .th-method-panel strong {
  font-size: clamp(1.45rem, 1.8vw, 1.95rem) !important;
  min-height: auto !important;
  margin-bottom: .45rem !important;
}
.threshold-page .th-method-panel span {
  font-size: .74rem !important;
  line-height: 1.55 !important;
  max-width: 18ch !important;
}

.threshold-page .th-research .th-stat-card {
  min-height: 132px !important;
  padding: 1.25rem !important;
  gap: .85rem !important;
}
.threshold-page .th-research .th-stat-card strong {
  font-size: clamp(1.35rem, 1.65vw, 1.85rem) !important;
  letter-spacing: -.035em !important;
}
.threshold-page .th-research .th-stat-card p {
  font-size: .78rem !important;
  line-height: 1.62 !important;
}

.threshold-page .th-touchpoint-jump-map {
  align-items: stretch !important;
}
.threshold-page .th-touchpoint-map .th-touchpoint-jump {
  display: flex !important;
  flex: 1 1 0 !important;
  min-height: 142px !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: .55rem !important;
  padding: 1.75rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(12,26,46,.12) !important;
  background: #fff !important;
  text-decoration: none !important;
  color: var(--th-navy) !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.threshold-page .th-touchpoint-map .th-touchpoint-jump:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(12,26,46,.28) !important;
  box-shadow: 0 14px 36px rgba(12,26,46,.08) !important;
}
.threshold-page .th-touchpoint-map .th-touchpoint-jump span,
.threshold-page .th-touchpoint-map .th-touchpoint-jump strong {
  font-family: 'Poppins', var(--sans) !important;
}
.threshold-page .th-touchpoint-map .th-touchpoint-jump span {
  font-size: .64rem !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: #7089A2 !important;
}
.threshold-page .th-touchpoint-map .th-touchpoint-jump strong {
  font-size: clamp(1rem, 1.2vw, 1.18rem) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}
.threshold-page .th-touchpoint-map .th-touchpoint-jump p { display: none !important; }

@media (max-width: 980px) {
  .threshold-page .th-hero-statement { max-width: none !important; }
  .threshold-page .th-research-overview {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .threshold-page .th-method-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 620px) {
  .threshold-page .th-method-panel { grid-template-columns: 1fr !important; }
  .threshold-page .th-method-panel div,
  .threshold-page .th-method-panel div:nth-child(2n),
  .threshold-page .th-method-panel div:nth-last-child(-n+2) {
    border-right: 0 !important;
    border-bottom: 1px solid var(--th-line) !important;
  }
  .threshold-page .th-method-panel div:last-child { border-bottom: 0 !important; }
  .threshold-page .th-touchpoint-map .th-touchpoint-jump { min-height: 118px !important; }
}


/* THRESHOLD V11: navigation fixes */
#hero-card-main {
  cursor: pointer;
}

#hero-card-main:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.threshold-page #th-system,
.threshold-page #th-brochure,
.threshold-page #th-kiosk,
.threshold-page #th-platform {
  scroll-margin-top: 92px;
}

.threshold-page .th-touchpoint-map .th-touchpoint-jump {
  text-decoration: none;
}

/* ORRO CASE STUDY REFRESH */
.orro-page {
  --orro-orange: #F58220;
  --orro-orange-deep: #B85812;
  --orro-cream: #FFF6EE;
  --orro-cream-2: #FFE9D8;
  --orro-ink: #25180F;
  --orro-muted: #7A6352;
  --orro-line: rgba(184, 88, 18, 0.18);
  background: #fffdfb;
  color: var(--orro-ink);
}

.orro-page .cs-nav {
  background: rgba(255, 250, 245, 0.92);
  border-bottom: 1px solid rgba(184, 88, 18, 0.12);
}

.orro-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 9rem 5vw 6.5rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.28), transparent 32%),
    linear-gradient(135deg, #ff982f 0%, #f58220 42%, #bf5c12 100%);
  color: #fff;
  overflow: hidden;
}

.orro-tags .cs-tag {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}

.orro-hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 6vw, 6.6rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 1.1rem 0 1.5rem;
  max-width: 740px;
}

.orro-hero-lead {
  max-width: 680px;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
}

.orro-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.orro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.orro-btn:hover { transform: translateY(-1px); }
.orro-btn-light { background: #fff; color: var(--orro-orange-deep); }
.orro-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.42); }
.orro-btn-dark { background: var(--orro-ink); color: #fff; }

.orro-hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
  min-width: 0;
}

.orro-phone {
  width: min(28vw, 178px);
  border-radius: 30px;
  padding: 10px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 26px 70px rgba(80, 38, 0, 0.23);
  backdrop-filter: blur(6px);
}

.orro-phone-large { width: min(31vw, 210px); }
.orro-phone-small { transform: translateY(18px); }

.orro-image {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.32), rgba(255,255,255,0.1));
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  text-align: center;
}

.orro-phone .orro-image {
  aspect-ratio: 9 / 19;
  border-radius: 22px;
}

.orro-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.orro-image span {
  position: relative;
  z-index: 0;
  padding: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: currentColor;
}

.orro-body { max-width: 1180px; }

.orro-page .cs-meta-row,
.orro-meta-row {
  margin-top: -2.75rem;
  position: relative;
  z-index: 4;
  background: #fff;
  border: 1px solid rgba(184, 88, 18, 0.14);
  box-shadow: 0 20px 50px rgba(45, 25, 8, 0.07);
}

.orro-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  scroll-margin-top: 100px;
}

.orro-section + .orro-section { border-top: 1px solid rgba(184, 88, 18, 0.1); }

.orro-tinted {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  background: var(--orro-cream);
}

.orro-section-kicker {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--orro-orange-deep);
}

.orro-page .cs-section-title {
  font-size: clamp(2.35rem, 4.1vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--orro-ink);
  max-width: 820px;
}

.orro-section-grid,
.orro-role-layout,
.orro-reflection-grid,
.orro-prototype-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.orro-copy-stack p,
.orro-role-card p,
.orro-prototype-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--orro-muted);
}

.orro-copy-stack p + p { margin-top: 1rem; }
.orro-lead { color: var(--orro-muted); font-size: 1.05rem; max-width: 560px; }

.orro-problem-cards,
.orro-findings-grid,
.orro-app-map,
.orro-screens-grid,
.orro-ecosystem-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.orro-problem-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.orro-findings-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.orro-app-map { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.orro-ecosystem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.orro-screens-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.orro-mini-card,
.orro-finding,
.orro-app-map div,
.orro-person-card,
.orro-role-card,
.orro-screen-card,
.orro-direction-table {
  background: #fff;
  border: 1px solid var(--orro-line);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(70, 36, 12, 0.045);
}

.orro-mini-card,
.orro-finding,
.orro-app-map div,
.orro-person-card,
.orro-role-card {
  padding: 1.4rem;
}

.orro-mini-card span,
.orro-finding span,
.orro-person-card span,
.orro-direction-row span,
.orro-app-map span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--orro-orange-deep);
}

.orro-mini-card strong,
.orro-finding strong,
.orro-person-card strong,
.orro-app-map span {
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--orro-ink);
}

.orro-mini-card p,
.orro-finding p,
.orro-person-card p,
.orro-app-map p,
.orro-direction-row p {
  margin-top: 0.65rem;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--orro-muted);
}

.orro-role-card { padding: clamp(1.5rem, 3vw, 2.2rem); }

.orro-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.orro-role-list span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--orro-cream);
  color: var(--orro-orange-deep);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.orro-wide-image {
  margin-top: 1.6rem;
  border-radius: 28px;
  overflow: hidden;
}

.orro-wide-image .orro-image {
  min-height: 380px;
  color: var(--orro-orange-deep);
  background: linear-gradient(135deg, #fff6ee, #ffe1c6);
  border: 1px solid var(--orro-line);
}

.orro-direction-table {
  overflow: hidden;
}

.orro-direction-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.orro-direction-row + .orro-direction-row { border-top: 1px solid var(--orro-line); }
.orro-direction-row > div { padding: clamp(1.25rem, 2.5vw, 2rem); }
.orro-direction-row > div + div { border-left: 1px solid var(--orro-line); }

.orro-screen-card {
  overflow: hidden;
}

.orro-screen-image {
  min-height: 430px;
  color: var(--orro-orange-deep);
  background: linear-gradient(135deg, #fff6ee, #ffe1c6);
  border: 0;
  border-radius: 24px 24px 0 0;
}

.orro-screen-card figcaption {
  padding: 1rem 1rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--orro-muted);
}

.orro-screen-card figcaption strong {
  color: var(--orro-ink);
  font-size: 0.95rem;
}

.orro-prototype-section {
  background: var(--orro-orange);
  color: #fff;
  border-radius: 30px;
  padding: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin: 4rem 0;
}

.orro-prototype-section .cs-section-title,
.orro-prototype-section .orro-section-kicker,
.orro-prototype-section p { color: #fff; }
.orro-prototype-section .cs-section-title { max-width: 620px; }
.orro-prototype-section .orro-btn { justify-self: end; }

.orro-team-section {
  text-align: center;
  background: var(--orro-cream);
  border-radius: 30px;
  padding: clamp(2rem, 5vw, 4rem);
  margin-bottom: 5rem;
}

.orro-team-section .cs-section-title { margin-inline: auto; }
.orro-team-section p { color: var(--orro-muted); margin-top: 0.4rem; }

@media (max-width: 980px) {
  .orro-hero,
  .orro-section-grid,
  .orro-role-layout,
  .orro-reflection-grid,
  .orro-prototype-section {
    grid-template-columns: 1fr;
  }
  .orro-hero { min-height: auto; padding-top: 8rem; }
  .orro-hero-visual { justify-content: flex-start; }
  .orro-phone { width: 28%; max-width: 170px; }
  .orro-phone-large { width: 33%; max-width: 205px; }
  .orro-problem-cards,
  .orro-findings-grid,
  .orro-app-map,
  .orro-ecosystem-grid,
  .orro-screens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orro-prototype-section .orro-btn { justify-self: start; }
}

@media (max-width: 680px) {
  .orro-hero { padding: 7rem 5vw 4.5rem; }
  .orro-hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .orro-hero-visual { gap: 0.55rem; }
  .orro-phone { padding: 7px; border-radius: 23px; }
  .orro-phone .orro-image { border-radius: 17px; }
  .orro-section { padding: 4rem 0; }
  .orro-page .cs-section-title { font-size: clamp(2.15rem, 12vw, 3rem); }
  .orro-problem-cards,
  .orro-findings-grid,
  .orro-app-map,
  .orro-ecosystem-grid,
  .orro-screens-grid { grid-template-columns: 1fr; }
  .orro-direction-row { grid-template-columns: 1fr; }
  .orro-direction-row > div + div { border-left: 0; border-top: 1px solid var(--orro-line); }
  .orro-screen-image { min-height: 360px; }
  .orro-wide-image .orro-image { min-height: 270px; }
}

/* ORRO V14 POLISH: quieter context row and toned down orange */
.orro-page {
  --orro-orange: #C47A58;
  --orro-orange-deep: #8B5037;
  --orro-cream: #FFF7F1;
  --orro-cream-2: #F3D8C8;
  --orro-ink: #2D211A;
  --orro-muted: #6F5E52;
  --orro-line: rgba(139, 80, 55, 0.18);
  background: #fffaf6;
}

.orro-page .cs-nav {
  background: rgba(255, 250, 246, 0.94);
  border-bottom: 1px solid rgba(139, 80, 55, 0.12);
}

.orro-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(255,255,255,0.20), transparent 34%),
    linear-gradient(135deg, #D09A7A 0%, #B76E4B 48%, #744332 100%);
}

.orro-phone {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 26px 70px rgba(64, 34, 22, 0.22);
}

.orro-tags .cs-tag {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.24);
}

.orro-btn-light { color: #744332; }
.orro-btn-dark { background: #2D211A; color: #fff; }

.orro-page .cs-meta-row,
.orro-meta-row {
  margin: clamp(1.5rem, 4vw, 3rem) 0 0;
  padding: 1.15rem 0 1.25rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--orro-line);
  border-bottom: 1px solid var(--orro-line);
  border-radius: 0;
  box-shadow: none;
}

.orro-page .cs-meta-item {
  display: block;
  padding: 0;
}

.orro-page .cs-meta-label {
  display: block;
  min-width: 0;
  margin-bottom: 0.38rem;
  color: var(--orro-orange-deep);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.orro-page .cs-meta-value {
  display: block;
  color: var(--orro-ink);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

.orro-section + .orro-section { border-top: 1px solid rgba(139, 80, 55, 0.1); }

.orro-section-kicker,
.orro-mini-card span,
.orro-finding span,
.orro-person-card span,
.orro-direction-row span,
.orro-app-map span,
.orro-role-list span,
.orro-wide-image .orro-image,
.orro-screen-image {
  color: var(--orro-orange-deep);
}

.orro-wide-image .orro-image,
.orro-screen-image {
  background: linear-gradient(135deg, #fff8f2, #f3dccf);
}

.orro-prototype-section {
  background: linear-gradient(135deg, #A96547 0%, #754332 100%);
}

.orro-tinted,
.orro-team-section {
  background: var(--orro-cream);
}

.orro-role-list span {
  background: #F7E6DA;
}

@media (max-width: 980px) {
  .orro-page .cs-meta-row,
  .orro-meta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .orro-page .cs-meta-row,
  .orro-meta-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}


/* ORRO V15: shorter, calmer, and more consistent with Threshold */
.orro-page {
  --orro-orange: #B26A4B;
  --orro-orange-deep: #7A4936;
  --orro-cream: #FFF8F3;
  --orro-cream-2: #F2DFD3;
  --orro-ink: #2C211C;
  --orro-muted: #6B5D55;
  --orro-line: rgba(122, 73, 54, 0.16);
  background: #fffaf7;
}

.orro-hero {
  min-height: 680px !important;
  background:
    radial-gradient(circle at 86% 18%, rgba(178, 106, 75, 0.13), transparent 34%),
    linear-gradient(135deg, #fffaf7 0%, #f6e8de 100%) !important;
  color: var(--orro-ink) !important;
  border-bottom: 1px solid var(--orro-line);
}

.orro-tags .cs-tag {
  background: rgba(122, 73, 54, 0.08) !important;
  border-color: rgba(122, 73, 54, 0.18) !important;
  color: var(--orro-orange-deep) !important;
}

.orro-hero h1 {
  color: var(--orro-ink) !important;
  font-weight: 500 !important;
  max-width: 760px;
}

.orro-hero-lead {
  color: var(--orro-muted) !important;
  max-width: 650px;
}

.orro-hero .th-btn-dark {
  background: var(--orro-ink) !important;
  color: #fff !important;
}

.orro-text-link {
  color: var(--orro-ink) !important;
  opacity: 0.68;
}
.orro-text-link:hover { opacity: 1; }

.orro-hero-visual {
  filter: none;
}

.orro-phone {
  background: #fff !important;
  border-color: rgba(122, 73, 54, 0.14) !important;
  box-shadow: 0 22px 60px rgba(65, 39, 28, 0.11) !important;
}

.orro-phone .orro-image {
  color: var(--orro-orange-deep) !important;
  background: linear-gradient(135deg, #fff7f1, #efd8c9) !important;
  border-color: rgba(122, 73, 54, 0.12) !important;
}

.orro-meta-row {
  margin-top: clamp(1.75rem, 4.5vw, 3.25rem) !important;
}

.orro-section {
  padding: clamp(3.75rem, 6vw, 5.8rem) 0 !important;
}

.orro-page .cs-section-title {
  font-size: clamp(2.25rem, 3.6vw, 3.8rem) !important;
  line-height: 1.05 !important;
}

#orro-role { display: none !important; }

.orro-section-grid,
.orro-reflection-grid,
.orro-prototype-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr) !important;
}

.orro-prototype-section {
  background: var(--orro-ink) !important;
  color: #fff !important;
  border-radius: 28px !important;
}

.orro-prototype-section .cs-section-title,
.orro-prototype-section .orro-section-kicker,
.orro-prototype-section p {
  color: #fff !important;
}

.orro-prototype-section .th-btn-light {
  background: #fff !important;
  color: var(--orro-ink) !important;
  justify-self: end;
}

.orro-team-section {
  background: transparent !important;
  border-top: 1px solid var(--orro-line) !important;
  border-radius: 0 !important;
  padding-top: clamp(2rem, 4vw, 3rem) !important;
}

@media (max-width: 980px) {
  .orro-section-grid,
  .orro-reflection-grid,
  .orro-prototype-section {
    grid-template-columns: 1fr !important;
  }
  .orro-prototype-section .th-btn-light { justify-self: start; }
}



/* ORRO V16: targeted layout polish from review */
/* Remove the extra white frame around the hero phone screens. */
.orro-page .orro-phone {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.orro-page .orro-phone .orro-image {
  border: 0 !important;
  box-shadow: 0 24px 55px rgba(53, 29, 9, 0.18) !important;
}
.orro-page .orro-image {
  border: 0 !important;
}
.orro-page .orro-phone .orro-image img {
  border-radius: inherit;
}

/* Keep full-width tinted sections from losing side padding on narrower desktop sizes. */
.orro-page #orro-research.orro-tinted,
.orro-page #orro-app-structure.orro-tinted {
  padding-left: max(5vw, calc(50vw - 590px)) !important;
  padding-right: max(5vw, calc(50vw - 590px)) !important;
}

/* Remove the large rounded prototype block and make the end CTA behave like Threshold's footer action. */
.orro-page .orro-prototype-section {
  display: block !important;
  grid-template-columns: none !important;
  background: transparent !important;
  color: var(--orro-ink) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: clamp(4rem, 7vw, 6rem) 0 !important;
  margin: 0 !important;
  border-top: 1px solid var(--orro-line) !important;
  text-align: left !important;
}
.orro-page .orro-prototype-section .orro-section-kicker {
  color: var(--orro-orange-deep) !important;
}
.orro-page .orro-prototype-section .cs-section-title {
  color: var(--orro-ink) !important;
  max-width: 760px !important;
}
.orro-page .orro-prototype-section p {
  color: var(--orro-muted) !important;
  max-width: 620px !important;
}
.orro-page .orro-prototype-section .th-btn-light {
  margin-top: 2rem !important;
  background: var(--orro-ink) !important;
  color: #fff !important;
  border: 1px solid var(--orro-ink) !important;
}
.orro-page .orro-prototype-section .th-btn-light:hover {
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .orro-page #orro-research.orro-tinted,
  .orro-page #orro-app-structure.orro-tinted {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
  }
}



/* OrrO v17: Space 2050 case study reframing */
.orro-page {
  --orro-orange: #C97845;
  --orro-orange-deep: #8A4A2F;
  --orro-cream: #FFF8F2;
  --orro-cream-2: #F5E0D0;
  --orro-ink: #241915;
  --orro-muted: #735E51;
  --orro-line: rgba(138, 74, 47, 0.16);
}

.orro-page .cs-meta-row,
.orro-page .orro-meta-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.orro-hero-v17 {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(135deg, #F8E6D8 0%, #D99B71 48%, #9C5838 100%);
  color: var(--orro-ink);
}

.orro-hero-v17 h1,
.orro-hero-v17 .orro-hero-lead {
  color: var(--orro-ink);
}

.orro-hero-v17 .cs-tag {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(138, 74, 47, 0.18);
  color: var(--orro-ink);
}

.orro-system-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(150px, 0.72fr);
  gap: 1rem;
  align-items: stretch;
  min-height: 460px;
}

.orro-robot-hero,
.orro-mini-preview {
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 24px 70px rgba(61, 34, 22, 0.18);
}

.orro-robot-hero .orro-image,
.orro-mini-preview .orro-image {
  min-height: 100%;
  height: 100%;
  border: 0;
  background: rgba(255, 248, 242, 0.45);
}

.orro-system-stack {
  display: grid;
  gap: 1rem;
}

.orro-mini-preview {
  min-height: 0;
}

.orro-mini-preview .orro-image span,
.orro-robot-hero .orro-image span {
  color: rgba(36, 25, 21, 0.7);
}

.orro-sdg-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--orro-line);
  border-radius: 999px;
  background: #fff;
  color: var(--orro-ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.orro-sdg-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  min-height: 2rem;
  border-radius: 999px;
  background: #4B9F38;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orro-stat-strip .orro-mini-card strong {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.orro-tech-grid,
.orro-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.orro-tech-card,
.orro-capability-grid > div {
  padding: 1.2rem;
  border: 1px solid var(--orro-line);
  border-radius: 1.35rem;
  background: #fff;
}

.orro-tech-card span,
.orro-capability-grid span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--orro-orange-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orro-tech-card p,
.orro-capability-grid p {
  margin: 0;
  color: var(--orro-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.orro-collaboration-section {
  background: #fff;
}

.orro-collaboration-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.orro-collaboration-block p {
  color: var(--orro-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 680px;
}

.orro-collab-figure,
.orro-product-showcase figure {
  margin: 0;
}

.orro-collab-figure .orro-image,
.orro-product-showcase .orro-image,
.orro-process-image .orro-image {
  min-height: 360px;
  border: 1px solid var(--orro-line);
  border-radius: 1.5rem;
  background: #fff;
}

.orro-collab-figure figcaption,
.orro-product-showcase figcaption {
  margin-top: 0.9rem;
  color: var(--orro-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.orro-collab-figure figcaption strong,
.orro-product-showcase figcaption strong {
  color: var(--orro-ink);
}

.orro-product-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.3rem;
}

.orro-product-showcase .orro-image {
  min-height: 420px;
}

.orro-process-image {
  margin-top: 2rem;
}

.orro-process-image .orro-image {
  min-height: 430px;
}

.orro-page .orro-prototype-section {
  background: transparent;
  border-radius: 0;
  border-top: 1px solid var(--orro-line);
  padding: 4.25rem 0;
}

.orro-page .orro-prototype-section .cs-section-title,
.orro-page .orro-prototype-section .orro-section-kicker,
.orro-page .orro-prototype-section p {
  color: var(--orro-ink);
}

.orro-page .orro-prototype-section .th-btn-light {
  background: var(--orro-ink);
  color: #fff;
  border-color: var(--orro-ink);
}

@media (max-width: 980px) {
  .orro-page .cs-meta-row,
  .orro-page .orro-meta-row,
  .orro-tech-grid,
  .orro-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orro-system-preview,
  .orro-collaboration-block,
  .orro-product-showcase {
    grid-template-columns: 1fr;
  }

  .orro-system-preview {
    min-height: 0;
  }

  .orro-robot-hero .orro-image,
  .orro-mini-preview .orro-image,
  .orro-collab-figure .orro-image,
  .orro-product-showcase .orro-image,
  .orro-process-image .orro-image {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .orro-page .cs-meta-row,
  .orro-page .orro-meta-row,
  .orro-tech-grid,
  .orro-capability-grid {
    grid-template-columns: 1fr;
  }

  .orro-system-stack {
    grid-template-columns: 1fr 1fr;
  }

  .orro-sdg-pill {
    align-items: flex-start;
    border-radius: 1.2rem;
  }
}


/* ORRO V18: section 04/05 padding and contribution copy cleanup */
.orro-page #orro-collaboration,
.orro-page #orro-product-system {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(5vw, calc((100vw - 1180px) / 2)) !important;
  padding-right: max(5vw, calc((100vw - 1180px) / 2)) !important;
}

.orro-page #orro-collaboration {
  background: #fff !important;
}

.orro-page #orro-product-system {
  background: var(--orro-cream) !important;
}

.orro-page #orro-collaboration .orro-collaboration-block,
.orro-page #orro-product-system .orro-section-grid,
.orro-page #orro-product-system .orro-product-showcase {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.orro-page #orro-collaboration .cs-section-title,
.orro-page #orro-collaboration .orro-collaboration-block p,
.orro-page #orro-product-system .cs-section-title,
.orro-page #orro-product-system .orro-copy-stack p {
  max-width: none;
}

@media (max-width: 980px) {
  .orro-page #orro-collaboration,
  .orro-page #orro-product-system {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
  }
}



/* Zyra v19: design system case study */
.zyra-page {
  --zyra-plum: #5E2C40;
  --zyra-primary: #673046;
  --zyra-secondary: #9E6381;
  --zyra-gold: #C9A86A;
  --zyra-charcoal: #2F2A2D;
  --zyra-dark-grey: #4B4650;
  --zyra-mid-grey: #9B939A;
  --zyra-light-grey: #E8E3E5;
  --zyra-off-white: #FAF8F6;
  --zyra-blush: #F6EEF2;
  background: #fff;
  color: var(--zyra-charcoal);
}
.zyra-page .cs-nav {
  background: rgba(249,247,248,0.96);
  border-bottom: 1px solid rgba(94,44,64,0.08);
}
.zyra-page .cs-nav-title { color: rgba(47,42,45,0.58); }
.zyra-hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  padding: 7.5rem 5vw 7rem;
  background:
    radial-gradient(circle at 78% 52%, rgba(201,168,106,0.12) 0%, rgba(201,168,106,0) 36%),
    linear-gradient(180deg, #fff 0%, #fff 72%, #fbf7f9 100%);
}
.zyra-hero-kicker,
.zyra-section-kicker {
  font-family: 'Poppins', var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--zyra-secondary);
  font-weight: 600;
  margin-bottom: 1.15rem;
}
.zyra-hero-title {
  font-family: var(--serif);
  font-size: clamp(4.3rem, 8.6vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0.12em;
  color: var(--zyra-plum);
  font-weight: 400;
  margin: 0 0 1.2rem;
}
.zyra-hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(1.12rem, 1.4vw, 1.45rem);
  color: var(--zyra-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}
.zyra-hero-copy {
  font-size: 1.02rem;
  max-width: 43rem;
  color: rgba(47,42,45,0.76);
}
.zyra-meta-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 760px;
}
.zyra-meta-item span {
  display: block;
}
.zyra-meta-label {
  font-family: 'Poppins', var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--zyra-plum);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.zyra-meta-value {
  color: rgba(47,42,45,0.62);
  font-size: 0.9rem;
}
.zyra-hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.zyra-figma-button.th-btn-dark {
  background: var(--zyra-charcoal);
  color: #fff;
}
.zyra-figma-button.th-btn-dark:hover { background: var(--zyra-primary); }
.zyra-hero-media {
  position: relative;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.zyra-browser {
  width: min(100%, 760px);
  border-radius: 16px 16px 4px 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(94,44,64,0.13);
  border: 1px solid rgba(94,44,64,0.08);
}
.zyra-browser-bar {
  height: 42px;
  background: #2F2A2D;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}
.zyra-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.zyra-dot:nth-child(1) { background: #fb6b62; }
.zyra-dot:nth-child(2) { background: #f5c34f; }
.zyra-dot:nth-child(3) { background: #55c36a; }
.zyra-url { margin-left: 1rem; font-family: 'Poppins', var(--sans); color: rgba(255,255,255,0.34); font-size: 0.8rem; }
.zyra-browser-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f5f2f3 0%, #fff 100%);
  display: grid;
  place-items: center;
}
.zyra-browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zyra-browser-screen span,
.zyra-image span {
  font-family: 'Poppins', var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(94,44,64,0.42);
}
.zyra-body {
  max-width: none;
  padding: 0;
  background: #fff;
}
.zyra-section {
  position: relative;
  padding: clamp(5rem, 7vw, 8rem) 5vw;
  border-top: 1px solid rgba(94,44,64,0.08);
}
.zyra-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.zyra-section-head {
  max-width: 760px;
  margin-bottom: 3.5rem;
}
.zyra-section-num {
  position: absolute;
  top: 2.8rem;
  left: 5vw;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 8vw, 7rem);
  line-height: 0.8;
  color: rgba(94,44,64,0.08);
  font-weight: 300;
  pointer-events: none;
}
.zyra-section-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--zyra-charcoal);
  font-weight: 400;
  margin-bottom: 1.6rem;
}
.zyra-section-text {
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  color: rgba(47,42,45,0.72);
  max-width: 760px;
}
.zyra-section-text + .zyra-section-text { margin-top: 1.2rem; }
.zyra-overview-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.zyra-overview-copy {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.zyra-overview-copy .zyra-section-text {
  max-width: 780px;
}
.zyra-large-preview {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(94,44,64,0.12);
  background: var(--zyra-off-white);
}
.zyra-image {
  min-height: 260px;
  background: linear-gradient(135deg, #fbf8f9, #f2ecef);
  border: 1px solid rgba(94,44,64,0.08);
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.zyra-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zyra-mood-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  grid-auto-rows: 190px;
  gap: 0.7rem;
}
.zyra-mood-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: var(--zyra-off-white);
  border: 1px solid rgba(94,44,64,0.06);
  display: grid;
  place-items: center;
}
.zyra-mood-card.large {
  grid-row: span 2;
  background: radial-gradient(circle at 70% 35%, #7a3a52 0%, #281018 68%);
}
.zyra-mood-card.gold { background: linear-gradient(135deg, #dac189, #c9a86a); }
.zyra-mood-card.cream { background: #f7f1ed; }
.zyra-mood-card.plum { background: linear-gradient(135deg, #2a0f19, #673046); }
.zyra-mood-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: 'Poppins', var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.zyra-mood-card.cream .zyra-mood-label,
.zyra-mood-card.gold .zyra-mood-label { color: rgba(47,42,45,0.5); }
.zyra-logo-ghost {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7rem);
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.13);
}
.zyra-token-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}
.zyra-token-card,
.zyra-grid-card,
.zyra-component-card,
.zyra-icon-card {
  border: 1px solid rgba(94,44,64,0.1);
  border-radius: 14px;
  background: #fff;
  padding: clamp(1.6rem, 2vw, 2.2rem);
}
.zyra-card-label {
  font-family: 'Poppins', var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zyra-secondary);
  font-weight: 600;
  margin-bottom: 1.7rem;
}
.zyra-swatch-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.zyra-swatch { width: 68px; }
.zyra-swatch-chip {
  height: 68px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(47,42,45,0.08);
  border: 1px solid rgba(47,42,45,0.06);
  margin-bottom: 0.55rem;
}
.zyra-swatch small,
.zyra-swatch span {
  display: block;
  font-size: 0.78rem;
  color: rgba(47,42,45,0.54);
  text-align: center;
  line-height: 1.35;
}
.zyra-type-sample {
  border-top: 1px solid rgba(94,44,64,0.08);
  padding: 1.2rem 0;
}
.zyra-type-sample:first-of-type { border-top: 0; padding-top: 0; }
.zyra-type-label {
  font-family: 'Poppins', var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(47,42,45,0.45);
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.zyra-logo-sample { font-family: var(--serif); color: var(--zyra-plum); font-size: 2.6rem; letter-spacing: 0.08em; }
.zyra-heading-sample { font-family: Georgia, var(--serif); color: var(--zyra-charcoal); font-size: 2rem; line-height: 1.1; }
.zyra-body-table { display: grid; grid-template-columns: 1fr auto; gap: 0.45rem 1rem; color: rgba(47,42,45,0.72); }
.zyra-grid-system {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 2rem;
}
.zyra-grid-visual {
  height: 110px;
  display: grid;
  gap: 6px;
  padding: 1rem;
  border-radius: 12px;
  background: var(--zyra-off-white);
  margin-bottom: 1.4rem;
}
.zyra-grid-visual.desktop { grid-template-columns: repeat(12, 1fr); }
.zyra-grid-visual.mobile { grid-template-columns: repeat(4, 1fr); }
.zyra-grid-visual span:nth-child(odd) { background: #e9e0e3; }
.zyra-grid-visual span:nth-child(even) { background: #f1eadf; }
.zyra-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.zyra-grid-system .zyra-grid-card:nth-child(2) .zyra-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zyra-spec {
  background: var(--zyra-blush);
  border-radius: 8px;
  padding: 1rem;
}
.zyra-spec span {
  display: block;
  font-family: 'Poppins', var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zyra-secondary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.zyra-spec strong { font-size: 1rem; color: var(--zyra-charcoal); }
.zyra-component-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.zyra-component-card .zyra-image { min-height: 360px; background: #fff; }
.zyra-component-card h3 {
  font-family: 'Poppins', var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zyra-secondary);
  margin-bottom: 1rem;
}
.zyra-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.zyra-icon-card {
  min-height: 150px;
}
.zyra-icon-display {
  font-size: 1.55rem;
  margin-bottom: 1.3rem;
  color: var(--zyra-charcoal);
  letter-spacing: 0.45rem;
}
.zyra-icon-card strong {
  display: block;
  font-family: 'Poppins', var(--sans);
  color: var(--zyra-secondary);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.zyra-icon-card p { color: rgba(47,42,45,0.72); }
.zyra-active-icon,
.zyra-active-colour {
  color: #B22A7B;
}
.zyra-prototype-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--zyra-plum);
  color: #fff;
  border-top: 0;
}
.zyra-prototype-section .zyra-section-title,
.zyra-prototype-section p { color: #fff; }
.zyra-prototype-section p { max-width: 600px; color: rgba(255,255,255,0.72); }
.zyra-prototype-section .th-btn-light {
  background: #fff;
  color: var(--zyra-plum);
}
@media (max-width: 980px) {
  .zyra-hero,
  .zyra-overview-grid,
  .zyra-token-grid,
  .zyra-grid-system,
  .zyra-component-grid {
    grid-template-columns: 1fr;
  }
  .zyra-hero { padding-top: 6rem; }
  .zyra-meta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zyra-mood-grid { grid-template-columns: 1fr 1fr; }
  .zyra-icon-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .zyra-hero { padding: 5rem 1.25rem; min-height: auto; }
  .zyra-section { padding: 4.5rem 1.25rem; }
  .zyra-section-num { left: 1.25rem; top: 2rem; }
  .zyra-meta-row,
  .zyra-icon-grid,
  .zyra-spec-grid,
  .zyra-grid-system .zyra-grid-card:nth-child(2) .zyra-spec-grid {
    grid-template-columns: 1fr;
  }
  .zyra-mood-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .zyra-mood-card.large { grid-row: auto; }
  .zyra-prototype-section { align-items: flex-start; flex-direction: column; }
}



/* Zyra v21 targeted cleanup: overview alignment + neutral prototype CTA */
.zyra-page #zyra-overview .zyra-section-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.zyra-page .zyra-overview-head {
  max-width: 820px;
  margin: 0;
  text-align: left;
}
.zyra-page .zyra-overview-head .zyra-section-title,
.zyra-page .zyra-overview-head .zyra-section-kicker,
.zyra-page .zyra-overview-head .zyra-section-text {
  text-align: left;
}
.zyra-page .zyra-overview-head .zyra-section-text {
  max-width: 780px;
}
.zyra-page .zyra-prototype-section {
  display: block !important;
  background: transparent !important;
  color: var(--zyra-charcoal) !important;
  border-top: 1px solid rgba(94,44,64,0.08) !important;
  padding: clamp(4rem, 7vw, 6rem) 5vw !important;
  margin: 0 !important;
}
.zyra-page .zyra-prototype-section > div {
  max-width: 1280px;
  margin: 0 auto;
}
.zyra-page .zyra-prototype-section .zyra-section-kicker {
  color: var(--zyra-secondary) !important;
}
.zyra-page .zyra-prototype-section .zyra-section-title {
  color: var(--zyra-charcoal) !important;
  max-width: 760px;
}
.zyra-page .zyra-prototype-section p {
  color: rgba(47,42,45,0.72) !important;
  max-width: 620px;
}
.zyra-page .zyra-prototype-section .th-btn-light {
  display: inline-block;
  margin-top: 2rem !important;
  background: var(--zyra-charcoal) !important;
  color: #fff !important;
  border: 1px solid var(--zyra-charcoal) !important;
}
.zyra-page .zyra-prototype-section .th-btn-light:hover {
  background: var(--zyra-primary) !important;
  border-color: var(--zyra-primary) !important;
  transform: translateY(-1px);
}
@media (max-width: 980px) {
  .zyra-page .zyra-prototype-section {
    padding: 4.5rem 1.25rem !important;
  }
}



/* V23: final spacing + tablet/mobile Orro hero cleanup */
.orro-team-section {
  margin-bottom: 0 !important;
  padding-bottom: clamp(1.6rem, 3vw, 2.5rem) !important;
}

.orro-body {
  padding-bottom: 2rem;
}

@media (max-width: 980px) {
  .orro-hero-v17 .orro-system-stack {
    display: none !important;
  }

  .orro-hero-v17 .orro-system-preview {
    display: block !important;
    min-height: 0 !important;
    width: 100% !important;
  }

  .orro-hero-v17 .orro-robot-hero {
    max-width: 520px !important;
  }

  .orro-hero-v17 .orro-robot-hero,
  .orro-hero-v17 .orro-robot-hero .orro-image {
    min-height: 360px !important;
  }
}

@media (max-width: 640px) {
  .orro-hero-v17 .orro-robot-hero,
  .orro-hero-v17 .orro-robot-hero .orro-image {
    min-height: 340px !important;
  }
}



/* V28: Work section balance, fallback cleanup, and image lightbox */
.case-card.featured {
  min-height: 360px !important;
  box-shadow: 0 20px 55px rgba(0,0,0,0.16) !important;
}

.case-card.featured .case-visual {
  width: min(42%, 440px) !important;
  min-width: 340px !important;
  aspect-ratio: 4 / 3 !important;
}

.case-card.featured .case-info {
  padding: clamp(2rem, 3.2vw, 3rem) !important;
}

.case-card.featured .case-title {
  font-size: clamp(1.95rem, 3.2vw, 2.85rem) !important;
  max-width: 760px !important;
}

.case-card.featured .case-desc {
  font-size: 0.9rem !important;
  max-width: 680px !important;
}

.case-card:not(.featured) .case-info {
  padding: 1.35rem !important;
}

.case-card:not(.featured) .case-title {
  font-size: 1.24rem !important;
}

.case-card:not(.featured) .case-desc {
  font-size: 0.78rem !important;
}

.zyra-image img + span,
.zyra-browser-screen img + span,
.orro-image img + span {
  display: none !important;
}

[data-lightbox-image="true"] {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(16, 14, 18, 0.82);
  backdrop-filter: blur(12px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox figure {
  max-width: min(1120px, 94vw);
  max-height: 90vh;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.image-lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,0.38);
}

.image-lightbox figcaption {
  color: rgba(255,255,255,0.74);
  font-size: 0.82rem;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: rgba(255,255,255,0.16);
}

@media (max-width: 900px) {
  .case-card.featured {
    min-height: 0 !important;
  }

  .case-card.featured .case-visual {
    width: 100% !important;
    min-width: unset !important;
    aspect-ratio: 16 / 9 !important;
  }
}

@media (max-width: 560px) {
  .case-card.featured .case-info,
  .case-card:not(.featured) .case-info {
    padding: 1.5rem !important;
  }

  .case-card.featured .case-title {
    font-size: clamp(1.75rem, 12vw, 2.35rem) !important;
  }
}



/* V29: project folders, responsive thumbnails, readable Work tags, and Orro app screen containment */
.case-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}
.case-visual picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-card .case-tag,
.case-card .case-tag-featured {
  color: rgba(255,255,255,0.92) !important;
  border-color: rgba(255,255,255,0.24) !important;
  background: rgba(255,255,255,0.07) !important;
}
.case-card.featured .case-tag-featured {
  color: #fff !important;
  border-color: rgba(181,114,122,0.95) !important;
  background: rgba(181,114,122,0.34) !important;
}
.orro-screen-image img {
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
}
.orro-screen-image {
  background: #fff8f2 !important;
}



/* V30: Threshold hero width and image containment, Orro spacing and uncropped UI images */
.threshold-page .th-hero-statement {
  max-width: min(620px, 100%) !important;
  width: auto !important;
}

.threshold-page .th-media-hero {
  background: #0C1A2E !important;
}

.threshold-page .th-media-hero img {
  object-fit: contain !important;
  object-position: center center !important;
}

.orro-body {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 2rem !important;
}

.orro-page .orro-meta-row {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.orro-page .orro-section {
  box-sizing: border-box !important;
  padding-left: max(5vw, calc(50vw - 590px)) !important;
  padding-right: max(5vw, calc(50vw - 590px)) !important;
}

.orro-page #orro-collaboration,
.orro-page #orro-product-system,
.orro-page #orro-research.orro-tinted,
.orro-page #orro-app-structure.orro-tinted {
  padding-left: max(5vw, calc(50vw - 590px)) !important;
  padding-right: max(5vw, calc(50vw - 590px)) !important;
}

.orro-process-image .orro-image,
.orro-collab-figure .orro-image,
.orro-product-showcase .orro-image {
  background: #fff !important;
}

.orro-process-image .orro-image img,
.orro-collab-figure .orro-image img,
.orro-product-showcase .orro-image img {
  object-fit: contain !important;
  object-position: center center !important;
}

.orro-screen-image {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.orro-screen-image img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center top !important;
  border-radius: 0 !important;
}

@media (max-width: 1280px) {
  .orro-page .orro-meta-row {
    margin-left: 5vw !important;
    margin-right: 5vw !important;
  }
}

@media (max-width: 980px) {
  .orro-page .orro-section,
  .orro-page #orro-collaboration,
  .orro-page #orro-product-system,
  .orro-page #orro-research.orro-tinted,
  .orro-page #orro-app-structure.orro-tinted {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
  }
}



/* V31: image behavior cleanup for thumbnails, Orro hero, research split, and final interface scroller */
#work .case-card .case-visual {
  background: linear-gradient(135deg, rgba(42,34,40,0.98) 0%, rgba(28,24,32,0.98) 100%) !important;
}

#work .case-card .case-visual img {
  object-fit: contain !important;
  object-position: center center !important;
  padding: clamp(0.45rem, 1.2vw, 0.85rem);
}

#work .case-card.featured .case-visual {
  align-self: stretch;
  height: auto !important;
}

@media (max-width: 980px) {
  #work .case-card.featured .case-visual,
  #work .case-card:not(.featured) .case-visual {
    aspect-ratio: 4 / 3 !important;
  }

  #work .case-card .case-visual img {
    padding: 0.6rem;
  }
}

.orro-hero-v17 .orro-system-preview .orro-image img,
.orro-hero-v17 .orro-mini-preview .orro-image img,
.orro-hero-v17 .orro-robot-hero .orro-image img {
  object-fit: contain !important;
  object-position: center center !important;
  padding: clamp(0.6rem, 1.6vw, 1.1rem);
}

@media (max-width: 980px) {
  .orro-hero-v17 .orro-system-preview,
  .orro-hero-v17 .orro-robot-hero,
  .orro-hero-v17 .orro-robot-hero .orro-image {
    max-height: none !important;
    overflow: visible !important;
  }

  .orro-hero-v17 .orro-robot-hero .orro-image img {
    padding: 0.85rem !important;
  }
}

.orro-research-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.orro-research-visual-card {
  margin: 0;
}

.orro-research-visual-card .orro-image {
  min-height: 420px;
  border: 1px solid var(--orro-line);
  border-radius: 1.5rem;
  background: #fff;
}

.orro-research-visual-card .orro-image img {
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0.75rem;
}

.orro-research-visual-card figcaption {
  margin-top: 0.85rem;
  color: var(--orro-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.orro-screens-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 1.25rem !important;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0 1.1rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.orro-screen-card {
  flex: 0 0 clamp(210px, 22vw, 270px);
  scroll-snap-align: start;
  margin: 0;
}

.orro-screen-image {
  min-height: 0 !important;
  aspect-ratio: 393 / 852 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 1.25rem !important;
}

.orro-screen-image img {
  object-fit: contain !important;
  object-position: center top !important;
  padding: 0 !important;
}

.orro-screen-card figcaption {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .orro-research-visual-grid {
    grid-template-columns: 1fr;
  }

  .orro-research-visual-card .orro-image {
    min-height: 330px;
  }

  .orro-screen-card {
    flex-basis: 190px;
  }
}

@media (max-width: 640px) {
  .orro-screen-card {
    flex-basis: 168px;
  }

  .orro-screen-card figcaption {
    font-size: 0.72rem;
  }
}



/* V33: revert thumbnail and Orro hero image behavior, simplify final interface into one clickable board */
#work .case-card .case-visual img {
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
}

.orro-hero-v17 .orro-system-preview .orro-image img,
.orro-hero-v17 .orro-mini-preview .orro-image img,
.orro-hero-v17 .orro-robot-hero .orro-image img {
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
}

.orro-final-interface-image {
  margin-top: 2.25rem !important;
}

.orro-final-interface-image .orro-image {
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  background: #fff !important;
  border: 1px solid var(--orro-line) !important;
  border-radius: 1.5rem !important;
  overflow: hidden !important;
}

.orro-final-interface-image .orro-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
}

.orro-final-interface-image figcaption {
  margin-top: 0.9rem;
  color: var(--orro-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .orro-final-interface-image .orro-image {
    aspect-ratio: 4 / 3 !important;
  }
}


/* V34: hard revert thumbnails and Orro hero to cover, keep final app board uncropped */
#work .case-card .case-visual img,
#work .case-card .case-visual picture img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
}

#work .case-card .case-visual picture {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.orro-hero-v17 .orro-system-preview .orro-image img,
.orro-hero-v17 .orro-mini-preview .orro-image img,
.orro-hero-v17 .orro-robot-hero .orro-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
}

.orro-hero-v17 .orro-system-preview .orro-image,
.orro-hero-v17 .orro-mini-preview .orro-image,
.orro-hero-v17 .orro-robot-hero .orro-image {
  overflow: hidden !important;
}

.orro-final-interface-image .orro-image {
  aspect-ratio: 2 / 1 !important;
  min-height: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
}

.orro-final-interface-image .orro-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
}

@media (max-width: 980px) {
  .orro-final-interface-image .orro-image {
    aspect-ratio: 2 / 1 !important;
  }
}


/* V35: final OrrO board polish and SDG pill spacing */
.orro-final-interface-image {
  margin-top: 2.4rem !important;
}

.orro-final-interface-image .orro-image {
  border-radius: 1.65rem !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--orro-line) !important;
  box-shadow: 0 22px 60px rgba(61, 34, 22, 0.12) !important;
}

.orro-final-interface-image .orro-image img {
  border-radius: 1.65rem !important;
  display: block !important;
}

.orro-final-interface-image figcaption {
  margin-top: 1.05rem !important;
  padding-left: 0.15rem !important;
  color: var(--orro-ink) !important;
}

.orro-final-interface-image figcaption strong {
  font-size: 0.9rem !important;
  letter-spacing: 0.02em !important;
}

.orro-sdg-pill {
  gap: 0.85rem !important;
  padding: 0.65rem 1.05rem 0.65rem 0.7rem !important;
  border-radius: 999px !important;
  line-height: 1.25 !important;
}

.orro-sdg-pill span {
  min-width: 4.15rem !important;
  min-height: 2.25rem !important;
  padding: 0 0.75rem !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  .orro-sdg-pill {
    align-items: flex-start !important;
    border-radius: 1.2rem !important;
  }
}


/* V36: OrrO final board caption removal and SDG text treatment */
.orro-final-interface-image {
  margin-top: 2.75rem !important;
}

.orro-final-interface-image .orro-image {
  aspect-ratio: 2 / 1 !important;
  min-height: 0 !important;
  border-radius: 1.65rem !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--orro-line) !important;
  box-shadow: 0 22px 60px rgba(61, 34, 22, 0.12) !important;
}

.orro-final-interface-image .orro-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  border-radius: 1.65rem !important;
  display: block !important;
}

.orro-final-interface-image figcaption {
  display: none !important;
}

.orro-sdg-line {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0.55rem !important;
  width: fit-content !important;
  margin-top: 0.35rem !important;
  color: var(--orro-muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}

.orro-sdg-line strong {
  color: #4F8A5B !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.orro-sdg-pill {
  display: none !important;
}

@media (max-width: 640px) {
  .orro-final-interface-image {
    margin-top: 2rem !important;
  }

  .orro-sdg-line {
    display: flex !important;
    flex-wrap: wrap !important;
  }
}


/* V37: restore outer SDG container, remove only the inner pill */
.orro-sdg-line {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-top: 0.6rem !important;
  padding: 0.72rem 1.05rem !important;
  border: 1px solid rgba(79, 138, 91, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(79, 138, 91, 0.08) !important;
  color: var(--orro-muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
}

.orro-sdg-line strong {
  color: #4F8A5B !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  .orro-sdg-line {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    border-radius: 1.25rem !important;
    padding: 0.75rem 0.95rem !important;
  }
}
