/* ============================================
   Portfolio Case Study Pages
   ============================================ */

/* Case Hero */
.case-hero-section {
    padding: 140px 0 80px;
    background: var(--gray-50);
}

.back-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 32px;
    transition: color 0.2s ease;
}
.back-link:hover { color: var(--black); }

.case-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.case-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.case-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-500);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 40px;
}

.case-meta {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.meta-value {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--black);
}

/* Design System Sections */
.ds-section {
    padding: 80px 0;
    border-top: 1px solid var(--gray-100);
}

.ds-section-header {
    margin-bottom: 24px;
}

.ds-section-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.ds-section-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--gray-500);
    font-weight: 300;
    max-width: 560px;
}

/* Palette Groups */
.palette-group {
    margin-bottom: 24px;
}

.palette-group:last-child {
    margin-bottom: 0;
}

.palette-group-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 12px;
}

/* Color Stacks — Primary */
.palette-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.palette-row-4 {
    grid-template-columns: repeat(4, 1fr);
}


@media (max-width: 768px) {
    .palette-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .palette-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.color-stack {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.color-swatch {
    height: 20px;
    transition: transform 0.3s ease;
}

.color-swatch-lg {
    height: 48px;
}

.color-stack:hover .color-swatch {
    transform: scaleY(1.05);
}

.color-info {
    padding: 8px 10px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.color-name {
    font-size: 0.72rem;
    font-weight: 500;
}

.color-hex {
    font-size: 0.65rem;
    color: var(--gray-400);
    font-weight: 400;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Greyscale Strip */
.palette-strip {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .palette-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .palette-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Grey cards grid — individual card layout like Figma */
.grey-cards-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

@media (max-width: 768px) {
    .grey-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .grey-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grey-card {
    border-radius: 6px;
    overflow: hidden;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.grey-card-swatch {
    aspect-ratio: 1.3;
}

.grey-card-info {
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.grey-card-name {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.3;
}

.grey-card-hex {
    font-size: 0.55rem;
    color: var(--gray-400);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.strip-swatch {
    aspect-ratio: 1.2;
    display: flex;
    align-items: flex-end;
    padding: 6px;
    position: relative;
    transition: transform 0.3s ease;
}

.strip-swatch:hover {
    transform: scale(1.04);
    z-index: 2;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.strip-label {
    font-size: 0.55rem;
    line-height: 1.3;
    color: var(--gray-700);
    font-weight: 400;
}

.strip-label-light {
    color: rgba(255,255,255,0.7);
}


/* Semantic Grid */
.semantic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 600px) {
    .semantic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.semantic-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    background: white;
}

.semantic-swatch {
    height: 36px;
}

.semantic-name {
    display: block;
    padding: 8px 10px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ============================================
   Work Catalog Page
   ============================================ */

.work-hero {
    padding: 140px 0 60px;
    background: var(--gray-50);
}

.work-hero .case-hero-subtitle {
    margin-bottom: 0;
}

.work-catalog {
    padding: 60px 0 120px;
}

/* Filters */
.work-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.work-filter {
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-500);
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.work-filter:hover {
    border-color: var(--gray-400);
    color: var(--black);
}

.work-filter.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 600px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.work-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    position: relative;
    background: var(--white);
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.work-card-visual {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.work-card-icon {
    transition: transform 0.5s var(--ease-out);
}

.work-card:hover .work-card-icon {
    transform: scale(1.06);
}

/* Palette icon inside card */
.wci-palette {
    display: flex;
    gap: 6px;
}

.wci-palette span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.work-card-info {
    padding: 24px;
}

.work-card-type {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.work-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.work-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--gray-500);
    font-weight: 300;
}

.work-card-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: all 0.3s var(--ease-out);
}

.work-card:hover .work-card-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Empty/placeholder card */
.work-card-empty {
    pointer-events: none;
    opacity: 0.5;
}

.work-card-soon {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.04em;
}

/* ============================================
   Project Layout — Sidebar + Horizontal Slides
   ============================================ */

.project-layout {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

@media (min-width: 900px) {
    .project-layout {
        grid-template-columns: 180px 1fr;
        gap: 48px;
        padding: 0 48px 80px;
    }
}

/* Sidebar */
.project-sidebar {
    display: none;
}

@media (min-width: 900px) {
    .project-sidebar {
        display: block;
        position: relative;
    }
}

.project-nav {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 32px;
}

.project-nav-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--gray-400);
    border-radius: 8px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    cursor: pointer;
}

.project-nav-link:hover {
    color: var(--gray-700);
}

.project-nav-link.active {
    color: var(--black);
    font-weight: 500;
    border-left-color: var(--accent);
    background: var(--gray-50);
}

/* Main content — horizontal slider */
.project-main {
    min-width: 0;
    padding-top: 32px;
}

.slide-viewport {
    overflow: hidden;
}

.slide-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    padding-right: 24px;
    overflow: hidden;
}

/* ============================================
   Typography System
   ============================================ */

.type-system {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.type-font-badge {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    color: var(--black);
}

.type-font-name {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.type-font-weights {
    font-size: 0.65rem;
    font-weight: 300;
    color: var(--gray-400);
}

.type-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.type-th {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-400);
    text-align: left;
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-100);
}

.type-th-right {
    text-align: right;
}

.type-tr {
    transition: background 0.15s ease;
}

.type-tr:hover {
    background: var(--gray-50);
}

.type-tr-divider td {
    border-top: 1px solid var(--gray-100);
}

.type-td {
    padding: 8px 16px;
    vertical-align: baseline;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.type-td-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
    width: 48px;
    white-space: nowrap;
}

.type-td-mono {
    font-size: 0.6rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--gray-400);
    text-align: right;
    width: 44px;
    white-space: nowrap;
}

/* ============================================
   Component Showcase
   ============================================ */

.comp-group {
    margin-bottom: 20px;
    background: color-mix(in srgb, var(--accent) 3%, white);
    border: 1px solid color-mix(in srgb, var(--accent) 8%, white);
    border-radius: 10px;
    padding: 20px 24px 24px;
}

.comp-group:last-child {
    margin-bottom: 0;
}

.comp-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

.comp-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.comp-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.comp-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comp-label {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.04em;
}

.comp-label-lg {
    font-size: 16px;
    font-weight: 500;
    color: #072653;
    letter-spacing: 0;
}

.comp-btn-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-btn-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comp-btn-row .comp-label {
    width: 90px;
    flex-shrink: 0;
}

.comp-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comp-items-v {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* SQ Buttons */
.sq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 8px;
    font-family: 'Proxima Nova', -apple-system, 'Segoe UI', sans-serif;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.01em;
    width: fit-content;
}

.sq-btn-icon {
    padding: 0;
    aspect-ratio: 1;
}

.sq-btn-icon.sq-btn-md { width: 40px; padding: 0; }
.sq-btn-icon.sq-btn-sm { width: 32px; padding: 0; }

.sq-btn-hover {
    background: #255DAD !important;
}

.comp-items-h {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sq-btn-lg { height: 48px; padding: 0 16px; font-size: 16px; }
.sq-btn-md { height: 40px; padding: 0 14px; font-size: 16px; }
.sq-btn-sm { height: 32px; padding: 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }

.sq-btn-primary {
    background: #4075BF;
    color: white;
    transition: background 0.15s ease;
}

.sq-btn-primary:hover {
    background: #255DAD;
}

.sq-btn-secondary {
    background: white;
    color: #4075BF;
    border: 1px solid #4075BF;
    transition: all 0.15s ease;
}

.sq-btn-secondary:hover {
    border-color: #255DAD;
    color: #255DAD;
}

.sq-btn-danger {
    background: #D41111;
    color: white;
}

.sq-btn-disabled {
    opacity: 0.4;
}

/* SQ Input Fields */
.sq-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sq-input-label {
    font-size: 0.62rem;
    font-weight: 500;
    color: #072653;
    opacity: 0.5;
}

.sq-input {
    height: 48px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border: 1px solid #CDD9E9;
    border-radius: 8px;
    background: white;
    font-size: 16px;
    font-weight: 500;
    color: #072653;
    font-family: 'Proxima Nova', -apple-system, 'Segoe UI', sans-serif;
}

.sq-input-focus {
    border-color: #4075BF;
}

.sq-input-error {
    border-color: #D41111;
}

.sq-input-disabled {
    background: #FAFBFC;
    border-color: #CDD9E9;
    opacity: 0.4;
}

.sq-input-placeholder {
    color: #8393A9;
}

.sq-input-label-disabled {
    opacity: 0.25;
}

/* Input password */
.sq-input-password {
    justify-content: space-between;
}

.sq-dots {
    letter-spacing: 2px;
    color: #072653;
}

.sq-eye {
    display: flex;
    align-items: center;
    opacity: 0.6;
}

/* Input counter */
.sq-input-counter {
    justify-content: space-between;
}

.sq-input-val {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sq-input-count {
    font-size: 14px;
    color: rgba(0,0,0,0.3);
    flex-shrink: 0;
    margin-left: 8px;
}

/* Dropdown / Select */
.sq-input-select {
    justify-content: space-between;
}

.sq-chevron {
    display: flex;
    align-items: center;
    color: #2C476C;
    flex-shrink: 0;
}

/* Two-column layout */
.comp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comp-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sq-state-block {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: start;
    gap: 12px;
}

.sq-state-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.02em;
    padding-top: 22px;
}

.sq-dropdown-wrap {
    position: relative;
}

.sq-dropdown-static {
    position: relative;
    top: auto;
    margin-top: 4px;
}



.sq-dropdown-menu {
    background: white;
    border: 1px solid #CDD9E9;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(7,38,83,0.1);
    margin-top: 4px;
    overflow: hidden;
    z-index: 5;
    font-family: 'Proxima Nova', -apple-system, 'Segoe UI', sans-serif;
}

.sq-dropdown-item {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 500;
    color: #072653;
    cursor: pointer;
}

.sq-dropdown-item:hover {
    background: #F9FAFD;
}

.sq-dropdown-item.sq-dropdown-active {
    background: #ECF2FB;
    color: #4075BF;
}

.sq-input-helper {
    font-size: 0.6rem;
    font-weight: 500;
    color: #8393A9;
}

.sq-input-helper-error {
    color: #D41111;
}

/* SQ Checkboxes */
.sq-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sq-check-box {
    width: 20px;
    height: 20px;
    border: 1px solid #CDD9E9;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
}

.sq-check-box.sq-checked {
    background: #4075BF;
    border-color: #4075BF;
}

.sq-check-box.sq-partial {
    background: #4075BF;
    border-color: #4075BF;
}

.sq-check-box.sq-error {
    border-color: #D41111;
}

.sq-check-text {
    font-size: 16px;
    font-weight: 500;
    color: #072653;
    font-family: 'Proxima Nova', -apple-system, 'Segoe UI', sans-serif;
}

.sq-check-disabled {
    opacity: 0.35;
}

/* SQ Radios */
.sq-radio {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sq-radio-circle {
    width: 20px;
    height: 20px;
    border: 1.5px solid #CDD9E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
}

.sq-radio-circle.sq-selected {
    border-color: #4075BF;
}

.sq-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4075BF;
}

/* SQ Toggles */
.sq-toggle-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sq-toggle {
    width: 42px;
    height: 24px;
    border-radius: 12px;
    background: #CDD9E9;
    position: relative;
    flex-shrink: 0;
}

.sq-toggle-on {
    background: #4075BF;
}

.sq-toggle-disabled {
    opacity: 0.4;
}

.sq-toggle-thumb {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: left 0.2s ease;
}

.sq-toggle-on .sq-toggle-thumb {
    left: 20px;
}

/* SQ Toasts */
.toast-anatomy-wrap {
    position: relative;
    padding-bottom: 8px;
}

/* Annotation pointers */
.toast-anno-pointers {
    display: flex;
    align-items: flex-start;
    margin-top: 14px;
    gap: 0;
}

.toast-anno-ptr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.toast-anno-ptr::before {
    content: '';
    width: 1px;
    height: 10px;
    background: #CDD9E9;
}

.toast-anno-ptr span {
    font-size: 10px;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.toast-variant-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sq-toast {
    position: relative;
    width: 420px;
    max-width: 100%;
    min-height: 96px;
    background: white;
    border-radius: 6px;
    box-shadow: 0px 4px 22px rgba(9, 47, 84, 0.05);
    font-family: 'Proxima Nova', -apple-system, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

/* Left colour bar */
.sq-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 6px 0 0 6px;
}

.sq-toast-info::before { background: #4075BF; }
.sq-toast-success::before { background: #55AA55; }
.sq-toast-warning::before { background: #F2A40D; }
.sq-toast-error::before { background: #D41111; }

/* Icon — 32px circle at left:20, top:16 */
.sq-toast-icon {
    position: absolute;
    left: 20px;
    top: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sq-toast-icon svg {
    width: 18px;
    height: 18px;
}

.sq-toast-info .sq-toast-icon { background: #ECF2FB; color: #4075BF; }
.sq-toast-success .sq-toast-icon { background: #E8F5E8; color: #55AA55; }
.sq-toast-warning .sq-toast-icon { background: #FFF5E0; color: #F2A40D; }
.sq-toast-error .sq-toast-icon { background: #FFF0F0; color: #D41111; }

/* Title — left:68, ~top:24 center */
.sq-toast-title {
    position: absolute;
    left: 68px;
    top: 16px;
    right: 52px;
    font-size: 16px;
    font-weight: 600;
    color: #072653;
    letter-spacing: 0.32px;
    line-height: 1;
}

/* Description — left:68, top:36 */
.sq-toast-desc {
    position: absolute;
    left: 68px;
    top: 38px;
    right: 28px;
    font-size: 16px;
    font-weight: 400;
    color: #2C476C;
    letter-spacing: 0.16px;
    line-height: 1.4;
}

/* Close — 46px hit area, top-right */
.sq-toast-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #072653;
    opacity: 0.85;
    cursor: pointer;
}

.sq-toast-close svg {
    width: 16px;
    height: 16px;
}

/* Placeholder for upcoming sections */
.ds-placeholder {
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--gray-200);
    border-radius: 12px;
}

.ds-placeholder-label {
    font-size: 0.88rem;
    color: var(--gray-400);
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* Compact hero for multi-client pages */
.case-hero-compact {
    padding: 100px 0 24px;
}

.case-hero-compact .case-hero-title {
    margin-bottom: 12px;
}

.case-hero-compact .case-hero-subtitle {
    margin-bottom: 24px;
}

.case-meta-compact {
    padding-top: 20px;
    gap: 32px;
}

/* Border separator between clients */
.case-hero-border {
    border-top: 1px solid var(--gray-200);
    margin-top: 0;
}
