/* ============================================
   TUTUME — Layout styles
   A layout rearranges the page (hero, sections, cards); a theme colours it.
   Any layout works with any theme. "Classic" (body.layout-classic) is the
   original arrangement in style.css and needs no rules here.
   ============================================ */

/* =====================================================================
   SPLIT — headline on a solid panel beside the photo, zig-zag rows
   ===================================================================== */
.layout-split .hero { justify-content: flex-start; min-height: 92vh; }
.layout-split .hero .hero-overlay,
.layout-split .page-hero .page-hero-overlay,
.layout-split .cta-banner .cta-overlay {
    background: linear-gradient(90deg,
        rgb(var(--dark-rgb, 26,26,26)) 0%, rgb(var(--dark-rgb, 26,26,26)) 44%,
        rgba(var(--dark-rgb, 26,26,26), 0.55) 58%, rgba(var(--dark-rgb, 26,26,26), 0) 78%);
}
.layout-split .hero-slider::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 140px; background: linear-gradient(rgba(0,0,0,0.45), transparent); z-index: 1; }
.layout-split .hero-globe { display: none; }
.layout-split .hero-content { text-align: left; max-width: 1200px; width: 100%; margin: 0 auto; padding: 130px 24px 90px; }
.layout-split .hero-content > * { max-width: 560px; }
.layout-split .hero-title { border-left: 6px solid var(--orange); padding-left: 22px; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.layout-split .hero-subtitle { margin-left: 0; }
.layout-split .hero-cta { justify-content: flex-start; }
.layout-split .hero-tagline { color: var(--orange-light); }
.layout-split .hero-scroll { left: 24px; transform: none; }

.layout-split .page-hero { min-height: 440px; }
.layout-split .page-hero-content h1 { border-left: 5px solid var(--orange); padding-left: 18px; max-width: 520px; }
.layout-split .page-hero-content p { max-width: 460px; }

.layout-split .section-header { text-align: left; display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px 60px; align-items: end; }
.layout-split .section-header .section-label { grid-column: 1; }
.layout-split .section-header .section-title { grid-column: 1; margin-bottom: 0; }
.layout-split .section-header .section-subtitle { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: end; }

.layout-split .intro-image { order: 2; }
.layout-split .why-image { order: 2; }

.layout-split .combining-grid { grid-template-columns: 1fr; gap: 20px; }
.layout-split .combining-card-img { display: grid; grid-template-columns: 340px 1fr; align-items: stretch; }
.layout-split .combining-card-img .cc-image { height: 100%; min-height: 220px; }
.layout-split .combining-card-img .cc-image img { position: absolute; inset: 0; }
.layout-split .combining-card-img .cc-content { padding: 32px 36px; align-self: center; }
.layout-split .combining-card-img .combining-icon { margin-top: 0; }

.layout-split .services-preview-grid { grid-template-columns: 1fr; gap: 0; }
.layout-split .service-preview-card { height: auto; border-radius: 0; display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
.layout-split .service-preview-card .spc-image { position: relative; inset: auto; height: 340px; overflow: hidden; border-radius: var(--radius-lg); }
.layout-split .service-preview-card .spc-overlay { display: none; }
.layout-split .service-preview-card .spc-content { position: static; color: var(--gray-900); padding: 40px 56px; align-self: center; }
.layout-split .service-preview-card .spc-content p { color: var(--gray-700); font-size: 0.95rem; }
.layout-split .service-preview-card .spc-content h3 { font-size: 1.6rem; }
.layout-split .service-preview-card .spc-link { color: var(--orange); }
.layout-split .service-preview-card:nth-child(even) .spc-image { order: 2; }
.layout-split .service-preview-card + .service-preview-card { margin-top: 40px; }

.layout-split .section-stats { background-image: none !important; background: var(--orange); padding: 70px 0; }
.layout-split .section-stats .stats-overlay { display: none; }
.layout-split .section-stats .section-header { display: block; text-align: left; margin-bottom: 30px; }
.layout-split .section-stats .stat-number,
.layout-split .section-stats .stat-suffix { color: #fff; background: none; -webkit-text-fill-color: #fff; }
.layout-split .section-stats .stat-label { color: rgba(255,255,255,0.85); }
.layout-split .section-stats .stats-grid { text-align: left; }
.layout-split .section-stats .stat-item { border-left: 2px solid rgba(255,255,255,0.35); padding: 6px 18px; }
.layout-split .section-stats .section-label.light,
.layout-split .section-stats .section-title.light { color: #fff; }
.layout-split .section-stats .btn-outline:hover { color: var(--orange); }

.layout-split .cta-banner .container { text-align: left !important; }
.layout-split .cta-banner h2, .layout-split .cta-banner p { max-width: 520px; }

/* =====================================================================
   EDITORIAL — magazine style, left-aligned, list-based
   ===================================================================== */
.layout-editorial .hero { min-height: 82vh; align-items: flex-end; }
.layout-editorial .hero .hero-overlay { background: linear-gradient(0deg, rgba(var(--dark-rgb, 20,20,20), 0.92) 0%, rgba(var(--dark-rgb, 20,20,20), 0.55) 45%, rgba(var(--dark-rgb, 20,20,20), 0.15) 100%); }
.layout-editorial .hero-globe, .layout-editorial .hero-scroll { display: none; }
.layout-editorial .hero-content { text-align: left; max-width: 1200px; width: 100%; margin: 0 auto; padding: 140px 24px 70px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 60px; align-items: end; }
.layout-editorial .hero-tagline { order: -1; grid-column: 1 / -1; font-style: normal; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 4px; color: var(--orange-light); margin-bottom: 18px; }
.layout-editorial .hero-title { grid-column: 1; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; margin: 0; }
.layout-editorial .hero-subtitle { grid-column: 2; margin: 0 0 20px; font-size: 1rem; border-left: 1px solid rgba(255,255,255,0.35); padding-left: 24px; }
.layout-editorial .hero-cta { grid-column: 2; justify-content: flex-start; margin: 0; padding-left: 24px; }

.layout-editorial .page-hero { min-height: 340px; align-items: flex-end; }
.layout-editorial .page-hero .page-hero-overlay { background: linear-gradient(0deg, rgba(var(--dark-rgb, 20,20,20), 0.9) 0%, rgba(var(--dark-rgb, 20,20,20), 0.3) 100%); }
.layout-editorial .page-hero-content { padding: 120px 24px 40px; }
.layout-editorial .page-hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; }

.layout-editorial .section-header { text-align: left; border-top: 2px solid var(--gray-900); padding-top: 22px; margin-bottom: 50px; }
.layout-editorial .section-stats .section-header { border-top-color: rgba(255,255,255,0.5); }
.layout-editorial .section-subtitle { margin: 0; }

.layout-editorial .intro-grid-img { grid-template-columns: 1fr; gap: 40px; }
.layout-editorial .intro-image { order: 2; }
.layout-editorial .intro-image img { height: 420px; }
.layout-editorial .intro-text { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0 60px; }
.layout-editorial .intro-text > .section-label,
.layout-editorial .intro-text > .section-title { grid-column: 1; }
.layout-editorial .intro-text > p,
.layout-editorial .intro-text > .btn { grid-column: 2; }
.layout-editorial .intro-text > .lead { grid-row: 1 / span 2; font-size: 1.25rem; }
.layout-editorial .intro-text > .btn { justify-self: start; }

.layout-editorial .combining-grid { gap: 0; }
.layout-editorial .combining-card-img { border-radius: 0; box-shadow: none; background: transparent; border-left: 1px solid rgba(0,0,0,0.12); counter-increment: ed; }
.layout-editorial .combining-card-img:first-child { border-left: 0; }
.layout-editorial .combining-card-img:hover { transform: none; box-shadow: none; }
.layout-editorial .combining-card-img .cc-image { height: 180px; margin: 0 24px; border-radius: var(--radius); }
.layout-editorial .combining-card-img .combining-icon { display: none; }
.layout-editorial .combining-card-img .cc-content::before { content: '0' counter(ed); display: block; font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: 12px; }
.layout-editorial .combining-grid { counter-reset: ed; }

.layout-editorial .services-preview-grid { grid-template-columns: 1fr; gap: 0; counter-reset: sv; }
.layout-editorial .service-preview-card { height: auto; border-radius: 0; display: grid; grid-template-columns: 90px 1fr 260px; gap: 30px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,0.12); overflow: visible; counter-increment: sv; }
.layout-editorial .service-preview-card:first-child { border-top: 1px solid rgba(0,0,0,0.12); }
.layout-editorial .service-preview-card::before { content: '0' counter(sv); font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; color: var(--orange); line-height: 1; }
.layout-editorial .service-preview-card .spc-image { position: relative; inset: auto; height: 160px; order: 3; border-radius: var(--radius); overflow: hidden; }
.layout-editorial .service-preview-card .spc-overlay { display: none; }
.layout-editorial .service-preview-card .spc-content { position: static; color: var(--gray-900); padding: 0; }
.layout-editorial .service-preview-card .spc-content h3 { font-size: 1.5rem; }
.layout-editorial .service-preview-card .spc-content p { color: var(--gray-700); font-size: 0.95rem; max-width: 560px; }
.layout-editorial .service-preview-card .spc-link { color: var(--orange); }

.layout-editorial .section-stats { background-image: none !important; background: var(--white); padding: 80px 0; }
.layout-editorial .section-stats .stats-overlay { display: none; }
.layout-editorial .section-stats .section-header { border-top-color: var(--gray-900); }
.layout-editorial .section-stats .section-label.light { color: var(--orange); }
.layout-editorial .section-stats .section-title.light { color: var(--gray-900); }
.layout-editorial .section-stats .stat-label { color: var(--gray-700); }
.layout-editorial .section-stats .stats-grid { text-align: left; gap: 0; }
.layout-editorial .section-stats .stat-item { border-left: 1px solid rgba(0,0,0,0.12); padding: 4px 22px; }
.layout-editorial .section-stats .stat-item:first-child { border-left: 0; padding-left: 0; }
.layout-editorial .section-stats .btn-outline { color: var(--gray-900); border-color: var(--gray-900); }
.layout-editorial .section-stats .btn-outline:hover { background: var(--gray-900); color: #fff; }
.layout-editorial .section-stats > .container > div[style] { text-align: left !important; }

.layout-editorial .why-section-grid { grid-template-columns: 1fr; gap: 40px; }
.layout-editorial .why-image img { height: 380px; }
.layout-editorial .why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

.layout-editorial .cta-banner { margin: 0 24px 80px; border-radius: var(--radius-lg); overflow: hidden; }
.layout-editorial .cta-banner .container { text-align: left !important; }

/* =====================================================================
   SHOWCASE — centred logo, glass hero panel, mosaic tiles
   ===================================================================== */
@media (min-width: 769px) {
    .layout-showcase .navbar:not(.scrolled) .nav-container { flex-direction: column; gap: 14px; }
    .layout-showcase .navbar:not(.scrolled) .nav-menu { gap: 28px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.25); }
    .layout-showcase .hero-content { padding-top: 180px; }
    .layout-showcase .page-hero-content { padding-top: 170px; }
}
.layout-showcase .hero-globe { display: none; }
.layout-showcase .hero-content {
    background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-lg);
    padding: 56px 48px; margin-top: 120px; margin-bottom: 60px; max-width: 860px;
}
.layout-showcase .hero .hero-overlay { opacity: 0.85; }
.layout-showcase .hero-title { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.layout-showcase .hero-tagline { margin-bottom: 0; }

.layout-showcase .page-hero { min-height: 520px; justify-content: center; text-align: center; }
.layout-showcase .page-hero-content { display: flex; flex-direction: column; align-items: center; }
.layout-showcase .page-hero-content p { margin: 0 auto; }

.layout-showcase .intro-grid-img { grid-template-columns: 1.2fr 1fr; gap: 0; }
.layout-showcase .intro-image img { height: 560px; }
.layout-showcase .intro-text { background: var(--white); padding: 50px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin-left: -120px; position: relative; z-index: 2; }
.layout-showcase .intro-image-badge { right: auto; left: 24px; bottom: 24px; }

.layout-showcase .combining-card-img { position: relative; height: 420px; }
.layout-showcase .combining-card-img .cc-image { position: absolute; inset: 0; height: auto; }
.layout-showcase .combining-card-img .cc-overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 55%, transparent 100%); }
.layout-showcase .combining-card-img .cc-content { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; z-index: 2; }
.layout-showcase .combining-card-img .cc-content h3 { color: #fff; }
.layout-showcase .combining-card-img .cc-content p { color: rgba(255,255,255,0.85); }
.layout-showcase .combining-card-img .combining-icon { margin-top: 0; }

.layout-showcase .services-preview-grid { grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 280px; gap: 20px; }
.layout-showcase .service-preview-card { height: auto; }
.layout-showcase .service-preview-card:first-child { grid-row: span 2; }
.layout-showcase .service-preview-card:nth-child(4) { grid-column: span 2; }
.layout-showcase .service-preview-card:first-child .spc-content h3 { font-size: 1.8rem; }

.layout-showcase .section-stats .stats-grid { gap: 18px; }
.layout-showcase .section-stats .stat-item {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-lg); padding: 30px 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

.layout-showcase .why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.layout-showcase .why-list-item { background: var(--surface, var(--gray-100)); border-radius: var(--radius); padding: 16px; border-bottom: 0; }

.layout-showcase .cta-banner { padding: 140px 0; }
.layout-showcase .cta-banner .container > * { max-width: 760px; margin-left: auto; margin-right: auto; }

/* =====================================================================
   Tablet & phone
   ===================================================================== */
@media (max-width: 1024px) {
    .layout-split .combining-card-img { grid-template-columns: 260px 1fr; }
    .layout-split .service-preview-card .spc-content { padding: 30px; }
    .layout-editorial .service-preview-card { grid-template-columns: 70px 1fr 200px; }
    .layout-showcase .services-preview-grid { grid-template-columns: 1fr 1fr; }
    .layout-showcase .service-preview-card:first-child { grid-row: span 1; grid-column: span 2; }
    .layout-showcase .service-preview-card:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 768px) {
    /* Split */
    .layout-split .hero { min-height: 0; flex-direction: column; align-items: stretch; }
    .layout-split .hero-slider { position: relative; inset: auto; height: 42vh; }
    .layout-split .hero .hero-overlay { top: 42vh; background: rgb(var(--dark-rgb, 26,26,26)); }
    .layout-split .hero-content { padding: 36px 20px 50px; }
    .layout-split .hero-scroll { display: none; }
    .layout-split .page-hero .page-hero-overlay,
    .layout-split .cta-banner .cta-overlay { background: linear-gradient(0deg, rgb(var(--dark-rgb, 26,26,26)) 0%, rgba(var(--dark-rgb, 26,26,26), 0.85) 55%, rgba(var(--dark-rgb, 26,26,26), 0.35) 100%); }
    .layout-split .section-header { display: block; }
    .layout-split .section-header .section-subtitle { margin-top: 10px; }
    .layout-split .intro-image, .layout-split .why-image { order: 0; }
    .layout-split .combining-card-img { grid-template-columns: 1fr; }
    .layout-split .combining-card-img .cc-image { height: 200px; }
    .layout-split .service-preview-card { grid-template-columns: 1fr; }
    .layout-split .service-preview-card .spc-image { height: 240px; order: 0 !important; }
    .layout-split .service-preview-card .spc-content { padding: 20px 0 0; }

    /* Editorial */
    .layout-editorial .hero { min-height: 88vh; }
    .layout-editorial .hero-content { grid-template-columns: 1fr; padding: 120px 20px 50px; }
    .layout-editorial .hero-title, .layout-editorial .hero-subtitle, .layout-editorial .hero-cta { grid-column: 1; }
    .layout-editorial .hero-subtitle { margin-top: 20px; border-left: 0; padding-left: 0; }
    .layout-editorial .hero-cta { padding-left: 0; }
    .layout-editorial .intro-text { display: block; }
    .layout-editorial .intro-image img { height: 280px; }
    .layout-editorial .combining-card-img { border-left: 0; border-top: 1px solid rgba(0,0,0,0.12); padding-top: 10px; }
    .layout-editorial .combining-card-img:first-child { border-top: 0; }
    .layout-editorial .combining-card-img .cc-image { margin: 0; }
    .layout-editorial .combining-card-img .cc-content { padding: 20px 0; }
    .layout-editorial .service-preview-card { grid-template-columns: 54px 1fr; gap: 6px 16px; }
    .layout-editorial .service-preview-card::before { font-size: 1.8rem; align-self: start; }
    .layout-editorial .service-preview-card .spc-image { grid-column: 1 / -1; order: 3; height: 200px; margin-top: 12px; }
    .layout-editorial .section-stats .stat-item { border-left: 0; padding: 10px 0; }
    .layout-editorial .why-list { grid-template-columns: 1fr; }
    .layout-editorial .cta-banner { margin: 0 12px 50px; }

    /* Showcase */
    .layout-showcase .hero-content { padding: 36px 22px; margin: 110px 16px 50px; }
    .layout-showcase .page-hero { min-height: 340px; }
    .layout-showcase .intro-grid-img { grid-template-columns: 1fr; }
    .layout-showcase .intro-text { margin: -60px 12px 0; padding: 28px 22px; }
    .layout-showcase .intro-image img { height: 340px; }
    .layout-showcase .combining-card-img { height: 340px; }
    .layout-showcase .services-preview-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .layout-showcase .service-preview-card:first-child, .layout-showcase .service-preview-card:nth-child(4) { grid-column: auto; grid-row: auto; }
    .layout-showcase .why-list { grid-template-columns: 1fr; }
    .layout-showcase .cta-banner { padding: 90px 0; }
}

/* =====================================================================
   SIDEBAR — fixed vertical menu down the left (desktop)
   ===================================================================== */
@media (min-width: 1025px) {
    body.layout-sidebar { padding-left: 250px; }
    .layout-sidebar .navbar, .layout-sidebar .navbar.scrolled {
        top: 0; left: 0; bottom: 0; right: auto; width: 250px; height: 100vh;
        background: var(--dark); padding: 36px 0; box-shadow: 4px 0 30px rgba(0,0,0,0.12);
    }
    .layout-sidebar .navbar .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; height: 100%; padding: 0 28px; max-width: none; }
    .layout-sidebar .navbar .nav-logo .logo-default, .layout-sidebar .navbar.scrolled .nav-logo .logo-default { display: none; }
    .layout-sidebar .navbar .nav-logo .logo-white, .layout-sidebar .navbar.scrolled .nav-logo .logo-white { display: block; }
    .layout-sidebar .navbar .nav-menu { flex-direction: column; align-items: stretch; gap: 2px; margin-top: 48px; }
    .layout-sidebar .navbar .nav-menu a, .layout-sidebar .navbar.scrolled .nav-menu a { color: rgba(255,255,255,0.78); display: block; padding: 11px 0 11px 14px; font-size: 0.95rem; border-left: 3px solid transparent; }
    .layout-sidebar .navbar .nav-menu a::after { display: none; }
    .layout-sidebar .navbar .nav-menu a:hover, .layout-sidebar .navbar .nav-menu a.active,
    .layout-sidebar .navbar.scrolled .nav-menu a:hover, .layout-sidebar .navbar.scrolled .nav-menu a.active { color: #fff; border-left-color: var(--orange); }
    .layout-sidebar .navbar .nav-menu .nav-cta { margin-top: 24px; text-align: center; padding: 12px 16px !important; border-left: 0; }
    .layout-sidebar .hero-content { padding-top: 90px; }
    .layout-sidebar .page-hero-content { padding-top: 50px; }
    .layout-sidebar .theme-preview-bar { top: 16px; left: calc(50% + 125px); }
}

/* =====================================================================
   BOXED — the whole site framed in a rounded box
   ===================================================================== */
body.layout-boxed { background: var(--surface, #eceff3); }
@media (min-width: 769px) {
    .layout-boxed main, .layout-boxed .footer { max-width: 1240px; margin-left: auto; margin-right: auto; }
    .layout-boxed main { margin-top: 24px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; background: var(--white); box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
    .layout-boxed .footer { margin-bottom: 24px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
    .layout-boxed .navbar { top: 24px; left: 50%; right: auto; transform: translateX(-50%); width: 100%; max-width: 1240px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .layout-boxed .navbar.scrolled { top: 0; border-radius: 0 0 var(--radius) var(--radius); }
    .layout-boxed .hero { min-height: 86vh; }
    .layout-boxed .section { padding: 80px 0; }
    .layout-boxed .container { max-width: 1140px; }
}

/* =====================================================================
   CLEAN — white hero with framed photo, light banners
   ===================================================================== */
.layout-clean .hero { background: var(--white); justify-content: flex-start; min-height: 92vh; }
.layout-clean .hero .hero-overlay, .layout-clean .hero-globe, .layout-clean .hero-scroll { display: none; }
.layout-clean .hero-slider { left: 52%; right: 24px; top: 110px; bottom: 50px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.layout-clean .hero-content { text-align: left; max-width: 1200px; width: 100%; margin: 0 auto; padding: 130px 24px 80px; }
.layout-clean .hero-content > * { max-width: 520px; }
.layout-clean .hero-title { color: var(--gray-900); font-size: clamp(2rem, 4vw, 3.3rem); }
.layout-clean .hero-subtitle { color: var(--gray-700); margin-left: 0; }
.layout-clean .hero-cta { justify-content: flex-start; }
.layout-clean .hero .btn-outline { color: var(--gray-900); border-color: var(--gray-300); }
.layout-clean .hero .btn-outline:hover { border-color: var(--orange); color: var(--orange); background: transparent; }
.layout-clean .hero-tagline { color: var(--orange); }
.layout-clean .navbar:not(.scrolled) .nav-menu a:not(.nav-cta) { color: var(--gray-900); }
.layout-clean .navbar:not(.scrolled) .nav-logo .logo-default { display: block; }
.layout-clean .navbar:not(.scrolled) .nav-logo .logo-white { display: none; }
.layout-clean .navbar:not(.scrolled) .nav-toggle span { background: var(--gray-900); }

.layout-clean .page-hero { background-image: none !important; background: var(--surface, var(--gray-100)); min-height: 320px; }
.layout-clean .page-hero .page-hero-overlay { display: none; }
.layout-clean .page-hero-content h1 { color: var(--gray-900); }
.layout-clean .page-hero-content p, .layout-clean .breadcrumb { color: var(--gray-700); }
.layout-clean .breadcrumb a { color: var(--orange); }

.layout-clean .combining-card-img, .layout-clean .solution-card-img, .layout-clean .timeline-content { box-shadow: none; border: 1px solid rgba(0,0,0,0.08); }
.layout-clean .combining-card-img:hover { box-shadow: var(--shadow-md); }

.layout-clean .section-stats { background-image: none !important; background: var(--surface, var(--gray-100)); }
.layout-clean .section-stats .stats-overlay { display: none; }
.layout-clean .section-stats .section-label.light { color: var(--orange); }
.layout-clean .section-stats .section-title.light { color: var(--gray-900); }
.layout-clean .section-stats .stat-label { color: var(--gray-700); }
.layout-clean .section-stats .stat-item { background: var(--white); border-radius: var(--radius); }
.layout-clean .section-stats .btn-outline { color: var(--gray-900); border-color: var(--gray-900); }

.layout-clean .cta-banner { background-image: none !important; background: var(--white); color: var(--gray-900); border-top: 1px solid rgba(0,0,0,0.06); }
.layout-clean .cta-banner .cta-overlay { display: none; }
.layout-clean .cta-banner h2 { color: var(--gray-900); }
.layout-clean .cta-banner .btn-outline { color: var(--gray-900); border-color: var(--gray-900); }

/* =====================================================================
   BOLD — oversized type, thick outlines, offset shadows
   ===================================================================== */
.layout-bold { --radius: 0px; --radius-lg: 0px; --btn-radius: 0px; }
.layout-bold .hero { justify-content: flex-start; }
.layout-bold .hero-globe { display: none; }
.layout-bold .hero-content { text-align: left; max-width: 1200px; width: 100%; margin: 0 auto; padding: 130px 24px 90px; }
.layout-bold .hero-title { font-size: clamp(2.6rem, 7.5vw, 6.4rem); line-height: 0.95; text-transform: uppercase; font-weight: 900; letter-spacing: -2px; max-width: 1000px; }
.layout-bold .hero-subtitle { margin-left: 0; max-width: 560px; }
.layout-bold .hero-cta { justify-content: flex-start; }
.layout-bold .hero-scroll { left: 24px; transform: none; }
.layout-bold .page-hero-content h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); text-transform: uppercase; font-weight: 900; letter-spacing: -1.5px; line-height: 0.95; }
.layout-bold .section-header { text-align: left; }
.layout-bold .section-subtitle { margin: 0; }
.layout-bold .section-title { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1; text-transform: uppercase; }
.layout-bold .btn { border-width: 3px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.layout-bold .btn-primary { box-shadow: 5px 5px 0 var(--dark); }
.layout-bold .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--dark); }
.layout-bold .hero .btn-primary, .layout-bold .cta-banner .btn-primary, .layout-bold .section-stats .btn-primary { box-shadow: 5px 5px 0 rgba(255,255,255,0.9); }
.layout-bold .combining-card-img, .layout-bold .solution-card-img, .layout-bold .timeline-content, .layout-bold .contact-form-card {
    border: 3px solid var(--gray-900); box-shadow: 8px 8px 0 var(--orange);
}
.layout-bold .combining-card-img:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--orange); }
.layout-bold .service-preview-card { border: 3px solid var(--gray-900); }
.layout-bold .stat-number { font-size: 4.2rem; font-weight: 900; }
.layout-bold .intro-image-badge { border: 3px solid var(--gray-900); box-shadow: 6px 6px 0 var(--gray-900); }

/* =====================================================================
   IMMERSIVE — edge-to-edge photo tiles, fixed photo backgrounds
   ===================================================================== */
.layout-immersive .hero { align-items: flex-end; justify-content: flex-start; }
.layout-immersive .hero .hero-overlay { background: linear-gradient(0deg, rgba(var(--dark-rgb, 0,0,0), 0.88) 0%, rgba(var(--dark-rgb, 0,0,0), 0.25) 55%, rgba(var(--dark-rgb, 0,0,0), 0.1) 100%); }
.layout-immersive .hero-globe { display: none; }
.layout-immersive .hero-content { text-align: left; max-width: 1200px; width: 100%; margin: 0 auto; padding: 120px 24px 110px; }
.layout-immersive .hero-subtitle { margin-left: 0; }
.layout-immersive .hero-cta { justify-content: flex-start; }
.layout-immersive .photo-strip-track img { width: 340px; height: 260px; }

.layout-immersive .combining-grid,
.layout-immersive .services-preview-grid { width: 100vw; margin-left: calc(50% - 50vw); gap: 0; }
.layout-immersive .combining-card-img { position: relative; height: 520px; border-radius: 0; box-shadow: none; }
.layout-immersive .combining-card-img:hover { transform: none; }
.layout-immersive .combining-card-img .cc-image { position: absolute; inset: 0; height: auto; }
.layout-immersive .combining-card-img .cc-overlay { background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.15) 60%); }
.layout-immersive .combining-card-img .cc-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px; color: #fff; z-index: 2; }
.layout-immersive .combining-card-img .cc-content h3 { color: #fff; font-size: 1.4rem; }
.layout-immersive .combining-card-img .cc-content p { color: rgba(255,255,255,0.85); }
.layout-immersive .combining-card-img .combining-icon { margin-top: 0; }
.layout-immersive .service-preview-card { height: 460px; border-radius: 0; }
.layout-immersive .service-preview-card .spc-content { padding: 40px; }
.layout-immersive .service-preview-card .spc-content h3 { font-size: 1.7rem; }
.layout-immersive .section-stats, .layout-immersive .cta-banner, .layout-immersive .section-vision, .layout-immersive .page-hero { background-attachment: fixed; }
.layout-immersive .section-stats { padding: 140px 0; }
.layout-immersive .cta-banner { padding: 180px 0; }
.layout-immersive .why-image img { height: 640px; }
.layout-immersive .intro-image img { height: 600px; }
.layout-immersive .page-hero { min-height: 70vh; align-items: flex-end; }
.layout-immersive .page-hero .page-hero-overlay { background: linear-gradient(0deg, rgba(var(--dark-rgb, 0,0,0), 0.85) 0%, rgba(var(--dark-rgb, 0,0,0), 0.15) 70%); }
.layout-immersive .page-hero-content { padding-bottom: 50px; }

/* =====================================================================
   STORY — one narrow, centred reading column
   ===================================================================== */
.layout-story .hero-content { max-width: 760px; }
.layout-story .hero-tagline { order: -1; }
.layout-story .hero-content { display: flex; flex-direction: column; align-items: center; }
.layout-story .hero-tagline { margin-bottom: 18px; font-size: 1rem; letter-spacing: 1px; }
.layout-story .section-header::after { content: '• • •'; display: block; margin-top: 18px; color: var(--orange); letter-spacing: 6px; }
.layout-story .intro-grid-img,
.layout-story .why-section-grid { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; gap: 36px; text-align: center; }
.layout-story .intro-image img { height: 420px; }
.layout-story .intro-image-badge { right: 50%; transform: translateX(50%); }
.layout-story .why-image img { height: 360px; }
.layout-story .why-list { text-align: left; }
.layout-story .combining-grid { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; gap: 24px; }
.layout-story .combining-card-img { display: grid; grid-template-columns: 240px 1fr; }
.layout-story .combining-card-img .cc-image { height: 100%; min-height: 200px; }
.layout-story .combining-card-img .cc-image img { position: absolute; inset: 0; }
.layout-story .combining-card-img .cc-content { align-self: center; }
.layout-story .combining-card-img .combining-icon { margin-top: 0; }
.layout-story .services-preview-grid { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.layout-story .service-preview-card { height: 320px; }
.layout-story .stats-grid { max-width: 900px; margin: 0 auto; }
.layout-story .page-hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.layout-story .page-hero-content p { margin: 0 auto; }

/* ---------- New layouts on tablet & phone ---------- */
@media (max-width: 1024px) {
    .layout-immersive .combining-card-img { height: 420px; }
}
@media (max-width: 768px) {
    .layout-clean .hero { flex-direction: column; align-items: stretch; min-height: 0; }
    .layout-clean .hero-content { padding: 110px 20px 24px; }
    .layout-clean .hero-slider { position: relative; inset: auto; height: 280px; margin: 0 16px 40px; }
    .layout-bold .hero-title { letter-spacing: -1px; }
    .layout-bold .stat-number { font-size: 2.6rem; }
    .layout-bold .combining-card-img, .layout-bold .solution-card-img, .layout-bold .timeline-content { box-shadow: 5px 5px 0 var(--orange); }
    .layout-immersive .combining-card-img { height: 360px; }
    .layout-immersive .service-preview-card { height: 340px; }
    .layout-immersive .section-stats, .layout-immersive .cta-banner, .layout-immersive .section-vision, .layout-immersive .page-hero { background-attachment: scroll; }
    .layout-immersive .intro-image img, .layout-immersive .why-image img { height: 360px; }
    .layout-immersive .photo-strip-track img { width: 240px; height: 180px; }
    .layout-story .combining-card-img { grid-template-columns: 1fr; }
    .layout-story .combining-card-img .cc-image { height: 200px; }
    .layout-story .service-preview-card { height: 280px; }
}
