/* ============================================
   Rellaco v3 — "Make Them Stop"
   Ink / Paper / Lime / Orange design layer.
   Loaded after sections.css and overrides it.
   ============================================ */

::selection {
    background: var(--lime);
    color: var(--ink);
}

/* ============================================
   Navigation
   ============================================ */

/* Logo from Customizer > Site Identity; shown as uploaded (no invert) */
.navbar-brand .site-logo-img,
.site-footer .site-logo-img {
    height: 42px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: none !important;
}

/* Text wordmark fallback: rella + lime "co", like the sample topbar */
.wordmark {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 1;
}

.wordmark i {
    font-style: normal;
    color: var(--lime);
}

.navbar-brand.brand-wordmark {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    letter-spacing: -0.08em;
    line-height: 1;
    color: var(--text-primary);
    text-decoration: none;
}

.navbar-brand.brand-wordmark i {
    font-style: normal;
    color: var(--lime);
}

[data-bs-theme="light"] .navbar-brand.brand-wordmark i {
    color: var(--orange);
}

.navbar-brand.brand-wordmark::before {
    display: none;
}

.navbar-brand.brand-wordmark:hover {
    transform: none;
    color: var(--text-primary);
}

.navbar-brand.brand-wordmark:hover i {
    text-shadow: 0 0 18px rgba(var(--primary-rgb), 0.6);
}

/* Full-bleed topbar like the sample: logo left, links center, CTA right */
.topbar-flat {
    padding-left: clamp(20px, 4vw, 64px);
    padding-right: clamp(20px, 4vw, 64px);
}

/* Quiet icon actions (theme toggle, cart, account) — no boxes */
.theme-toggle-btn,
.cart-toggle-btn,
.nav-icon-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.theme-toggle-btn:hover,
.cart-toggle-btn:hover,
.nav-icon-btn:hover {
    transform: none;
    border: none;
    background: transparent;
    color: var(--lime) !important;
    box-shadow: none;
}

[data-bs-theme="light"] .theme-toggle-btn:hover,
[data-bs-theme="light"] .cart-toggle-btn:hover,
[data-bs-theme="light"] .nav-icon-btn:hover {
    color: var(--orange) !important;
}

/* Plain-text "Start a project ↗" CTA, like the sample topbar */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary) !important;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-cta:hover {
    color: var(--lime) !important;
}

[data-bs-theme="light"] .nav-cta:hover {
    color: var(--orange) !important;
}

.nav-cta strong {
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1;
}

/* Topbar overlays the page so the hero shows through its transparent bg */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

body.admin-bar .glass-nav {
    top: 32px;
}

/* Inner pages don't have a tall hero underneath — push their content down */
body:not(.home) {
    padding-top: 92px;
}

/* Topbar: fully transparent at the top of the page... */
.glass-nav,
.glass-nav.scrolled,
[data-bs-theme="light"] .glass-nav,
[data-bs-theme="light"] .glass-nav.scrolled {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ...and a floating dark bar once scrolled */
.glass-nav.scrolled {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.glass-nav .topbar-flat {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.glass-nav.scrolled .topbar-flat {
    width: calc(100% - clamp(24px, 4vw, 56px));
    margin-left: auto;
    margin-right: auto;
    padding: 10px clamp(16px, 2.5vw, 32px);
    background: rgba(8, 11, 18, 0.92);
    border: 1px solid rgba(244, 241, 232, 0.14);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.navbar .nav-link {
    font-size: 0.64rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--lime) !important;
}

[data-bs-theme="light"] .navbar .nav-link:hover,
[data-bs-theme="light"] .navbar .nav-link.active {
    color: var(--orange) !important;
}

.navbar .nav-link::after {
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.5);
}

/* ============================================
   Shared section furniture
   ============================================ */

.section-kicker {
    margin: 0 0 18px;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.big-title {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 6.2vw, 6.2rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
    text-transform: uppercase;
    margin: 0;
}

/* Paper sections keep their editorial look in BOTH themes */
.section-paper {
    background: var(--paper);
    color: #20242e;
}

.section-paper h1, .section-paper h2, .section-paper h3,
.section-paper h4, .section-paper h5, .section-paper h6 {
    color: var(--ink);
}

.section-paper .section-kicker {
    color: #656a75;
}

.section-paper .text-secondary,
.section-paper .lead,
.section-paper .text-muted,
.section-paper p {
    color: #4a4e59 !important;
}

/* Dark sections stay dark in BOTH themes */
.section-dark {
    color: var(--paper);
}

.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 {
    color: var(--paper);
}

.section-dark .section-kicker {
    color: #8b93a5;
}

.section-dark .text-secondary,
.section-dark .lead,
.section-dark .text-muted {
    color: #b9c0cd !important;
}

/* ============================================
   Hero
   ============================================ */

.hero-v3 {
    position: relative;
    isolation: isolate;
    overflow: clip;
    min-height: 200vh;
    padding: 0;
    background: var(--ink);
    color: var(--paper);
}

.hero-v3 #scene {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.hero-v3 .hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-v3::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42vh;
    background: linear-gradient(transparent, var(--ink));
    pointer-events: none;
    z-index: -1;
}

.hero-v3 .hero-sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px clamp(20px, 7vw, 120px) 60px;
}

.hero-v3 .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--lime);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-v3 .eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--lime);
}

.hero-v3 .hero-title {
    max-width: 1000px;
    margin: 0;
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: clamp(2.15rem, 7.5vw, 5.5rem);
    line-height: 0.88;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: var(--paper);
}

.hero-v3 .hero-title .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--paper);
}

.hero-v3 .hero-bottom {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 360px);
    gap: 36px;
    align-items: end;
    margin-top: clamp(32px, 7vh, 84px);
}

.hero-v3 .hero-copy {
    max-width: 470px;
    color: #c1c4cd;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    line-height: 1.7;
    margin: 0;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--ink) !important;
    background: var(--lime);
    padding: 18px 20px 18px 24px;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-cta:hover {
    transform: translate(5px, -5px);
    background: #efffb2;
    color: var(--ink);
}

.hero-cta strong {
    font-family: 'Syne', sans-serif;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1;
}

.hero-v3 .scroll-note {
    position: absolute;
    right: clamp(20px, 4vw, 64px);
    bottom: 24px;
    writing-mode: vertical-rl;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #aeb4c3;
}

.hero-v3 .scroll-note::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 50px;
    margin: 0 9px 0 0;
    background: linear-gradient(var(--lime), transparent);
}

/* Gift message sits on the dark hero regardless of theme */
.hero-v3 .gift-message-minimal {
    text-align: start;
    background: rgba(244, 241, 232, 0.04);
    border-color: rgba(244, 241, 232, 0.16);
    margin: 0 0 2.5rem;
}

/* ============================================
   Marquee
   ============================================ */

.marquee {
    overflow: hidden;
    background: var(--orange);
    color: #17130f;
    padding: 14px 0;
    white-space: nowrap;
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.2vw, 2.4rem);
    line-height: 1;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.marquee-track {
    display: inline-block;
    animation: rella-marquee 18s linear infinite;
}

.marquee-track span {
    margin-right: 34px;
}

.marquee-track b {
    color: var(--paper);
    margin-right: 34px;
}

@keyframes rella-marquee {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ============================================
   Services — scroll-stacking deck
   ============================================ */

.services-v4 .intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 6vw;
    align-items: end;
    margin-bottom: 30px;
}

.services-v4 .intro-grid p {
    max-width: 470px;
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.55;
}

.service-deck {
    margin-top: clamp(48px, 7vw, 96px);
    display: grid;
    gap: clamp(20px, 4vh, 40px);
}

/* Boxed split cards: card color left, white right */
.deck-card {
    position: sticky;
    top: calc(clamp(76px, 10vh, 110px) + var(--stack-i) * 14px);
    border: 2px solid var(--ink);
    overflow: hidden;
    box-shadow: 0 -16px 36px rgba(8, 11, 18, 0.14);
}

.deck-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    align-items: stretch;
    min-height: min(540px, 66vh);
    padding: 0;
}

.deck-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(28px, 4vw, 64px);
}

/* Colorways — each card sets its accent, CTA pair and frame mat */
.deck-card   { --cta-bg: #10160b; --cta-fg: var(--lime); --frame-shadow: rgba(16, 22, 11, 0.22); }
.deck-paper  { --card-bg: #faf8f2; background: var(--card-bg); color: var(--ink);  --deck-accent: var(--orange); --cta-fg: var(--orange); }
.deck-lime   { --card-bg: var(--lime); background: var(--card-bg); color: #10160b; --deck-accent: #10160b; }
.deck-indigo { --card-bg: #6772ff; background: var(--card-bg); color: #f9f8ff;     --deck-accent: var(--lime); --cta-bg: #f9f8ff; --cta-fg: #1d1b50; }
.deck-ink    { --card-bg: #0d1320; background: var(--card-bg); color: var(--paper); --deck-accent: var(--lime); --cta-bg: var(--lime); --cta-fg: #10160b; }
.deck-orange { --card-bg: var(--orange); background: var(--card-bg); color: #fff6ef; --deck-accent: #ffffff; --cta-bg: #f4f1e8; --cta-fg: #1d0902; }
.deck-sky    { --card-bg: var(--sky); background: var(--card-bg); color: #08222e;  --deck-accent: #ff6437; --cta-fg: var(--sky); }
.deck-slate  { --card-bg: #121822; background: var(--card-bg); color: var(--paper); --deck-accent: var(--sky); --cta-bg: var(--sky); --cta-fg: #08222e; }

/* Beat the .section-paper text overrides inside colored cards */
.deck-card .deck-title {
    color: inherit;
    margin: 0 0 18px;
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4.4vw, 4.2rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.deck-card .deck-desc {
    color: inherit !important;
    opacity: 0.85;
    max-width: 46ch;
    margin: 0 0 24px;
    font-size: clamp(0.9rem, 1.1vw, 1.02rem);
    line-height: 1.65;
}

/* Kicker-style number, like the shop section's kicker */
.deck-num {
    display: block;
    margin-bottom: 16px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--deck-accent);
}

.deck-num::after {
    content: " / Service";
}

.deck-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
}

.deck-tags li {
    border: 1px solid currentColor;
    opacity: 0.75;
    padding: 6px 12px;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Solid block CTA, like the shop section's button */
.deck-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: min(100%, 280px);
    padding: 16px 18px 16px 22px;
    background: var(--cta-bg);
    border: none;
    color: var(--cta-fg) !important;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.deck-cta:hover {
    transform: translate(5px, -5px);
    box-shadow: -5px 5px 0 rgba(8, 11, 18, 0.3);
}

.deck-cta strong {
    font-family: 'Syne', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1;
}

/* White gallery wall on the right of every card */
.deck-visual {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 3vw, 56px);
    border-left: 2px solid var(--ink);
}

.deck-float {
    width: 100%;
    max-width: 520px;
    animation: deck-float 6s ease-in-out infinite;
}

/* Framed print, like the shop section's image — the mat carries the
   card's own color so each artwork keeps the background it was drawn for */
.deck-frame {
    background: var(--card-bg);
    border: 3px solid #10160b;
    padding: clamp(14px, 2vw, 26px);
    box-shadow: -16px 16px 0 var(--frame-shadow);
    transform: rotate(-2.5deg);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

.deck-card:nth-child(even) .deck-frame {
    transform: rotate(2deg);
    box-shadow: 16px 16px 0 var(--frame-shadow);
}

.deck-card:hover .deck-frame {
    transform: rotate(0deg) scale(1.02);
    box-shadow: -9px 9px 0 var(--frame-shadow);
}

.deck-card:nth-child(even):hover .deck-frame {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 9px 9px 0 var(--frame-shadow);
}

.deck-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.deck-card:hover .deck-frame img {
    transform: scale(1.04);
}

@keyframes deck-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
    .deck-float {
        animation: none;
    }
}

/* ============================================
   Work / Products — always-dark showcase
   ============================================ */

.work-v3 {
    background: #121822;
}

.work-v3 .work-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
    margin-bottom: 55px;
}

.work-v3 .work-top p {
    max-width: 320px;
    color: #b9c0cd;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.work-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: clamp(56px, 8vw, 110px);
}

.work-card {
    min-height: clamp(250px, 30vw, 460px);
    position: relative;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
}

.work-card::before,
.work-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(3px);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-card:hover::before { transform: scale(1.2) translate(5%, -8%); }
.work-card:hover::after { transform: scale(0.8) translate(-10%, 8%); }

.work-card > * {
    position: relative;
    z-index: 1;
}

.work-card.a { background: var(--lime); color: #10160b; }
.work-card.a::before {
    width: 75%;
    aspect-ratio: 1;
    top: -17%;
    right: -10%;
    background: repeating-radial-gradient(circle, transparent 0 8px, #10160b 9px 11px);
}
.work-card.a::after {
    width: 42%;
    aspect-ratio: 1;
    bottom: -14%;
    left: 13%;
    background: var(--orange);
}

.work-card.b { background: var(--orange); color: #1d0902; }
.work-card.b::before {
    width: 83%;
    aspect-ratio: 1;
    top: -20%;
    left: -16%;
    background: linear-gradient(135deg, #fff0df 0 20%, transparent 20% 38%, #1d0902 38% 48%, transparent 48% 100%);
    transform: rotate(24deg);
}
.work-card.b::after {
    width: 38%;
    aspect-ratio: 1;
    bottom: -9%;
    right: 8%;
    background: var(--sky);
}

.work-card.c { background: #6772ff; color: #f9f8ff; grid-column: span 2; min-height: 320px; }
.work-card.c::before {
    width: 67%;
    aspect-ratio: 1;
    top: 10%;
    right: -10%;
    background: conic-gradient(from 30deg, #fff 0 12%, transparent 12% 25%, #1d1b50 25% 36%, transparent 36% 50%, #fff 50% 62%, transparent 62% 100%);
}
.work-card.c::after {
    width: 28%;
    aspect-ratio: 1;
    bottom: -4%;
    right: 8%;
    background: var(--lime);
}

.work-card small {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.work-card h3 {
    max-width: 10ch;
    margin: 0;
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4.2vw, 4.4rem);
    line-height: 0.85;
    letter-spacing: -0.07em;
    text-transform: uppercase;
    color: inherit;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================
   Shop — lime billboard with framed image
   ============================================ */

.shop-v4 {
    background: var(--lime);
    color: #10160b;
    overflow: hidden;
}

.shop-v4 .big-title,
.shop-v4 .shop-lead {
    color: #10160b;
}

.shop-v4 .section-kicker {
    color: rgba(16, 22, 11, 0.6);
}

.shop-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 6vw, 90px);
    align-items: center;
}

.shop-lead {
    max-width: 44ch;
    margin: 26px 0 34px;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.65;
}

.shop-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: min(100%, 320px);
    background: #10160b;
    color: var(--lime) !important;
    padding: 18px 20px 18px 24px;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-cta:hover {
    transform: translate(5px, -5px);
    box-shadow: -5px 5px 0 rgba(16, 22, 11, 0.35);
}

.shop-cta strong {
    font-family: 'Syne', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1;
}

.shop-frame {
    background: var(--paper);
    border: 3px solid #10160b;
    padding: clamp(16px, 2.5vw, 30px);
    box-shadow: -18px 18px 0 rgba(16, 22, 11, 0.22);
    transform: rotate(-2.5deg);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

.shop-frame:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: -10px 10px 0 rgba(16, 22, 11, 0.3);
}

.shop-frame img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-visual {
        order: -1;
        max-width: 480px;
    }
}

/* Product cards inside the dark work section */
.work-v3 .product-card {
    background: #0e131d;
    border: 1px solid rgba(244, 241, 232, 0.14);
    border-radius: 0;
}

.work-v3 .product-card:hover {
    border-color: rgba(244, 241, 232, 0.3);
}

.work-v3 .product-title a,
.work-v3 .product-price {
    color: var(--paper);
}

.work-v3 .product-title a:hover {
    color: var(--lime);
}

.work-v3 .product-category,
.work-v3 .product-category a {
    color: #8b93a5 !important;
}

.work-v3 .slider-nav {
    background: transparent;
    border: 1px solid rgba(244, 241, 232, 0.3);
    color: var(--paper);
}

.work-v3 .slider-nav:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink);
}

.work-v3 .btn-outline-primary {
    color: var(--lime) !important;
    border: 1px solid var(--lime) !important;
    border-radius: 0 !important;
}

.work-v3 .btn-outline-primary:hover {
    background: var(--lime) !important;
    color: var(--ink) !important;
}

.work-v3 .btn-primary {
    background: var(--lime) !important;
    border-color: var(--lime) !important;
    color: #10160b !important;
}

/* ============================================
   Proof / About
   ============================================ */

.proof-v3 .proof {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 7vw;
    align-items: start;
    margin-bottom: clamp(48px, 7vw, 90px);
}

.proof-v3 .proof aside {
    position: sticky;
    top: 110px;
}

.proof-v3 .proof aside > p {
    margin: 24px 0 0;
    max-width: 320px;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Spinning brand marks behind the proof section */
.proof-v3 {
    position: relative;
    overflow: clip;
}

.proof-v3::before {
    content: "\2733";
    position: absolute;
    left: -70px;
    bottom: -60px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(14rem, 26vw, 26rem);
    line-height: 1;
    color: rgba(255, 100, 55, 0.1);
    animation: proof-spin 46s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.proof-v3::after {
    content: "";
    position: absolute;
    top: 70px;
    right: -90px;
    width: 250px;
    height: 250px;
    border: 2px dashed rgba(8, 11, 18, 0.2);
    border-radius: 50%;
    animation: proof-spin 30s linear infinite reverse;
    pointer-events: none;
    z-index: 0;
}

.proof-v3 .container {
    position: relative;
    z-index: 1;
}

@keyframes proof-spin {
    to { transform: rotate(360deg); }
}

/* Proof rows: slide in, tint, and spin their number on hover */
.proof-item {
    transition: padding 0.3s ease, background 0.3s ease;
}

.proof-item:hover {
    padding-left: 16px;
    background: rgba(255, 100, 55, 0.06);
}

.proof-item b {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.proof-item:hover b {
    transform: rotate(360deg) scale(1.2);
}

/* Compact horizontal team strip in the proof aside */
.team-mini {
    margin-top: 34px;
}

.team-mini-label {
    margin: 0 0 14px;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange) !important;
}

.team-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 14px;
}

.team-mini-row {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
    width: 84px;
    animation: team-bob 2.6s ease-in-out infinite;
}

.team-mini-list .team-mini-row:nth-child(1) { animation-delay: 0s; }
.team-mini-list .team-mini-row:nth-child(2) { animation-delay: 0.18s; }
.team-mini-list .team-mini-row:nth-child(3) { animation-delay: 0.36s; }
.team-mini-list .team-mini-row:nth-child(4) { animation-delay: 0.54s; }
.team-mini-list .team-mini-row:nth-child(5) { animation-delay: 0.72s; }

@keyframes team-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Dashed orbit ring around each avatar */
.team-mini-row::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    margin-left: -34px;
    width: 68px;
    height: 68px;
    border: 2px dashed rgba(8, 11, 18, 0.25);
    border-radius: 50%;
    animation: proof-spin 14s linear infinite;
    pointer-events: none;
}

.team-mini-row:hover::before {
    border-color: var(--orange);
    animation-duration: 2.5s;
}

.team-mini-row img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ink);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}

.team-mini-row:hover img {
    transform: scale(1.15) rotate(-5deg);
    border-color: var(--orange);
}

.team-mini-name {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.25;
    transition: color 0.2s ease;
}

.team-mini-row:hover .team-mini-name {
    color: var(--orange);
}

.team-mini-role {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7c8088;
    line-height: 1.3;
}

.team-mini-note {
    margin: 16px 0 0;
    font-size: 0.7rem;
    color: #7c8088 !important;
}

@media (prefers-reduced-motion: reduce) {
    .proof-v3::before,
    .proof-v3::after,
    .team-mini-row,
    .team-mini-row::before {
        animation: none;
    }
}

.proof-list {
    border-top: 1px solid rgba(8, 11, 18, 0.2);
}

.proof-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 29px 0;
    border-bottom: 1px solid rgba(8, 11, 18, 0.2);
}

.proof-item b {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    color: var(--orange);
}

.proof-item h3 {
    margin: 0 0 9px;
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.proof-item p {
    margin: 0;
    color: #5c626d !important;
    line-height: 1.55;
    font-size: 0.88rem;
}


/* ============================================
   Newsstand — posts as tilted magazine covers
   ============================================ */

.newsstand-v3 .stand-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: end;
    margin-bottom: clamp(44px, 6vw, 76px);
}

.stand-all {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: min(100%, 260px);
    padding: 16px 18px 16px 22px;
    background: #10160b;
    color: var(--lime) !important;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stand-all:hover {
    transform: translate(5px, -5px);
    box-shadow: -5px 5px 0 rgba(8, 11, 18, 0.3);
}

.stand-all strong {
    font-family: 'Syne', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1;
}

.stand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 2.6vw, 34px);
    align-items: stretch;
}

.mag-card {
    --tilt: -1.6deg;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 3px solid var(--ink);
    box-shadow: -10px 12px 0 rgba(16, 22, 11, 0.16);
    transform: rotate(var(--tilt));
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

.mag-card:nth-child(even) {
    --tilt: 1.6deg;
    box-shadow: 10px 12px 0 rgba(16, 22, 11, 0.16);
}

.mag-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: -8px 16px 0 rgba(16, 22, 11, 0.22);
}

.mag-card:nth-child(even):hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 8px 16px 0 rgba(16, 22, 11, 0.22);
}

.mag-cover {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 3px solid var(--ink);
}

.mag-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.06);
    transform: scale(1.01);
    transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mag-card:hover .mag-cover img {
    filter: none;
    transform: scale(1.07);
}

/* Cover fallback when a post has no featured image */
.mag-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 3.4rem;
    letter-spacing: -0.06em;
}

.mag-tone-1 .mag-fallback { background: var(--lime); color: #10160b; }
.mag-tone-2 .mag-fallback { background: var(--orange); color: #fff6ef; }
.mag-tone-3 .mag-fallback { background: var(--sky); color: #08222e; }
.mag-tone-4 .mag-fallback { background: #6772ff; color: #f9f8ff; }

.mag-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 18px 18px 20px;
}

.mag-meta {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7c8088;
}

.mag-title {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 1.12rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--ink);
    transition: color 0.2s ease;
}

.mag-card:hover .mag-title {
    color: var(--orange);
}

.mag-more {
    margin-top: auto;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
}

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

@media (max-width: 640px) {
    .newsstand-v3 .stand-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .stand-grid {
        grid-template-columns: 1fr;
    }
}

.section-paper .btn-outline-primary {
    color: var(--ink) !important;
    border: 1px solid var(--ink) !important;
    border-radius: 0 !important;
}

.section-paper .btn-outline-primary:hover {
    background: var(--ink) !important;
    color: var(--paper) !important;
}

/* ============================================
   Closing / Contact — always dark, ringed
   ============================================ */

.closing-v3 {
    position: relative;
    overflow: hidden;
    background: #0b1018;
}

.closing-v3::before {
    content: "";
    position: absolute;
    width: 70vw;
    aspect-ratio: 1;
    right: -22vw;
    top: -25vw;
    border: 1px solid rgba(217, 255, 63, 0.45);
    border-radius: 50%;
    box-shadow: 0 0 0 8vw rgba(217, 255, 63, 0.05), 0 0 0 16vw rgba(217, 255, 63, 0.035);
    pointer-events: none;
}

.closing-v3 .container {
    position: relative;
    z-index: 1;
}

.closing-v3 .big-title em {
    color: var(--lime);
    font-style: normal;
}

.closing-v3 .closing-lead {
    max-width: 460px;
    color: #b9c0cd;
    line-height: 1.7;
    font-size: 0.95rem;
}

.closing-v3 .contact-quick {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.closing-v3 .contact-quick a,
.closing-v3 .contact-quick span {
    color: #adb3be;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.closing-v3 .contact-quick a:hover {
    color: var(--lime);
}

.closing-v3 .contact-quick i {
    color: var(--lime);
    width: 22px;
}

.closing-v3 .social-icons-inline a {
    color: #adb3be;
    font-size: 1.2rem;
    margin-right: 16px;
    transition: color 0.2s ease;
}

.closing-v3 .social-icons-inline a:hover {
    color: var(--lime);
}

.closing-v3 .btn-primary {
    background: var(--lime) !important;
    border-color: var(--lime) !important;
    color: #10160b !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.closing-v3 .btn-outline-light {
    border: 1px solid rgba(244, 241, 232, 0.4);
    color: var(--paper);
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.closing-v3 .btn-outline-light:hover {
    background: var(--paper);
    color: var(--ink);
}

/* ============================================
   Footer — always ink
   ============================================ */

.site-footer {
    background: #0b1018;
    border-top: 1px solid rgba(244, 241, 232, 0.14);
    color: #adb3be;
    margin-top: 0;
}

.site-footer .footer-logo a,
.site-footer .footer-title {
    color: var(--paper);
}

.site-footer .footer-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-footer .footer-title::after {
    background: var(--lime);
}

.site-footer .footer-description,
.site-footer .text-secondary,
.site-footer .footer-links a,
.site-footer .footer-contact a,
.site-footer .footer-contact span {
    color: #adb3be !important;
    font-size: 0.85rem;
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover {
    color: var(--lime) !important;
}

.site-footer .text-primary {
    color: var(--lime) !important;
}

.site-footer .btn-primary {
    background: var(--lime) !important;
    border-color: var(--lime) !important;
    color: #10160b !important;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991px) {
    .proof-v3 .proof {
        grid-template-columns: 1fr;
    }

    .proof-v3 .proof aside {
        position: static;
    }
}

@media (max-width: 780px) {
    .hero-v3 {
        min-height: 175vh;
    }

    .hero-v3 .hero-sticky {
        padding-top: 110px;
    }

    .hero-v3 .hero-bottom {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-v3 .scroll-note {
        display: none;
    }

    .services-v4 .intro-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .deck-card {
        top: calc(66px + var(--stack-i) * 8px);
    }

    .deck-inner {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
        padding: 0;
    }

    .deck-copy {
        padding: 28px 20px 34px;
    }

    .deck-visual {
        order: -1;
        padding: 24px 20px;
        border-left: none;
        border-bottom: 2px solid var(--ink);
    }

    .deck-frame img {
        max-height: 200px;
    }

    .work-v3 .work-top {
        display: block;
    }

    .work-v3 .work-top p {
        margin-top: 22px;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-card.c {
        grid-column: auto;
    }

    .work-card {
        min-height: 320px;
    }
}

/* ==========================================================================
   FLAT CORNERS — site-wide (all pages, popups, modals, forms, WooCommerce)
   ========================================================================== */
*,
*::before,
*::after {
    border-radius: 0 !important;
}

/* True circles are shapes, not corner rounding — keep them round. */
input[type="radio"],
.form-check-input[type="radio"],
.spinner,
.spinner::before,
.spinner::after,
.spinner-pulse,
.spinner-border,
.spinner-grow,
.hero-v3 .eyebrow::before,
.work-card::before,
.work-card::after,
.proof-v3::after,
.team-mini-row::before,
.team-mini-row img,
.closing-v3::before,
.avatar-ring,
.contact-icon,
.social-link,
.author-avatar,
.author-avatar img,
.author-avatar-large img,
.comments-section .comment-author img,
.share-btn,
.slider-nav,
.featured-service-card .featured-glow,
.services-cta .cta-card::before,
.services-cta .cta-card::after,
.service-hero .hero-shape,
.service-cta .cta-card::before,
.browser-dots span,
.step-icon,
.app-profile,
.woocommerce div.product .product-share a,
.woocommerce #reviews #comments ol.commentlist li img.avatar,
.woocommerce table.shop_table .product-remove a.remove,
.rella-account-avatar img,
.rella-avatar-status,
.rella-empty-icon,
.rella-empty-state .rella-empty-icon,
.shop-sidebar .widget_price_filter .ui-slider .ui-slider-handle,
.rella-auth-welcome::before,
.rella-auth-welcome::after {
    border-radius: 50% !important;
}

/* twchat chat widget declares its own !important radii — out-specific them. */
.TWCHBubble.TWCHBubble,
.TWCHBoxACSChatBtns a.TWCHBoxACSChatBtn.TWCHBoxACSChatBtn {
    border-radius: 0 !important;
}

/* ==========================================================================
   SERVICE PAGE (web-design) — "Make Them Stop" from-scratch redesign
   ========================================================================== */
.svc-hero {
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
}

.svc-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.svc-title {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 18px 0 0;
}

.svc-hollow {
    color: transparent;
    -webkit-text-stroke: 2px var(--lime);
}

.svc-lede {
    font-family: 'DM Mono', monospace;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(244, 241, 232, 0.72);
    max-width: 520px;
    margin: 24px 0 0;
}

.svc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.svc-cta {
    display: inline-block;
    padding: 16px 26px;
    background: var(--lime);
    color: #10160b;
    border: 2px solid var(--lime);
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.svc-cta:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 rgba(217, 255, 63, 0.35);
    color: #10160b;
}

.svc-cta-ghost {
    background: transparent;
    color: var(--paper);
    border-color: rgba(244, 241, 232, 0.35);
}

.svc-cta-ghost:hover {
    color: var(--lime);
    border-color: var(--lime);
    box-shadow: 5px 5px 0 rgba(217, 255, 63, 0.2);
}

.svc-hero-art {
    display: flex;
    justify-content: center;
}

.svc-art-frame {
    background: #fff;
    border: 3px solid var(--ink);
    padding: 22px;
    max-width: 440px;
    width: 100%;
    transform: rotate(2.5deg);
    box-shadow: 16px 16px 0 rgba(217, 255, 63, 0.22);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}

.svc-art-frame:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 10px 10px 0 rgba(255, 100, 55, 0.3);
}

.svc-art-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* What we build */
.svc-offers {
    padding: 110px 0 120px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.offer-card {
    --offer-accent: var(--lime);
    position: relative;
    background: var(--paper);
    border: 2px solid var(--ink);
    padding: 34px 28px 36px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.offer-lime   { --offer-accent: var(--lime); }
.offer-orange { --offer-accent: var(--orange); }
.offer-sky    { --offer-accent: var(--sky); }

.offer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: var(--offer-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.offer-card:hover {
    transform: translate(-4px, -4px) rotate(-0.4deg);
    box-shadow: 8px 8px 0 var(--offer-accent);
}

.offer-card:hover::before {
    transform: scaleX(1);
}

.offer-num {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink);
    opacity: 0.55;
}

.offer-title {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 16px 0 10px;
}

.offer-desc {
    font-family: 'DM Mono', monospace;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

.offer-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    border-top: 2px solid var(--ink);
}

.offer-list li {
    position: relative;
    font-family: 'DM Mono', monospace;
    font-size: 0.82rem;
    padding: 10px 0 10px 22px;
    border-bottom: 1px dashed rgba(8, 11, 18, 0.28);
}

.offer-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

/* Process */
.svc-flow {
    padding: 110px 0 130px;
}

.flow-list {
    margin-top: 60px;
    border-top: 2px solid rgba(244, 241, 232, 0.18);
}

.flow-item {
    display: grid;
    grid-template-columns: 110px 1fr 60px;
    gap: 30px;
    align-items: start;
    padding: 40px 0;
    border-bottom: 2px solid rgba(244, 241, 232, 0.18);
    transition: padding 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flow-item:hover {
    padding-left: 20px;
}

.flow-num {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--lime);
}

.flow-title {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0;
}

.flow-desc {
    font-family: 'DM Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(244, 241, 232, 0.65);
    max-width: 640px;
    margin: 10px 0 0;
}

.flow-mark {
    justify-self: end;
    font-size: 1.6rem;
    color: var(--orange);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease;
}

.flow-item:hover .flow-mark {
    transform: rotate(180deg) scale(1.2);
    color: var(--lime);
}

@media (max-width: 991px) {
    .svc-hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .svc-art-frame {
        max-width: 360px;
    }

    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }

    .flow-item {
        grid-template-columns: 64px 1fr;
    }

    .flow-mark {
        display: none;
    }
}

/* Service page variants (mobile-app) */
.svc-art-orange {
    background: var(--orange);
    box-shadow: 16px 16px 0 rgba(255, 100, 55, 0.25);
}

.svc-art-orange:hover {
    box-shadow: 10px 10px 0 rgba(217, 255, 63, 0.3);
}

.offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 2px solid var(--ink);
}

.offer-tags span {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1.5px solid var(--ink);
    transition: background 0.3s ease, color 0.3s ease;
}

.offer-card:hover .offer-tags span {
    background: var(--ink);
    color: var(--offer-accent);
}

/* Dark colorway for offer cards (used on the app-types section) */
.svc-offers-dark .offer-card {
    background: rgba(244, 241, 232, 0.04);
    border-color: rgba(244, 241, 232, 0.3);
}

.svc-offers-dark .offer-card:hover {
    border-color: var(--paper);
}

.svc-offers-dark .offer-num {
    -webkit-text-stroke: 1.5px var(--paper);
    opacity: 0.6;
}

.svc-offers-dark .offer-desc {
    color: rgba(244, 241, 232, 0.7);
}

.svc-offers-dark .offer-list {
    border-top-color: rgba(244, 241, 232, 0.4);
}

.svc-offers-dark .offer-list li {
    border-bottom-color: rgba(244, 241, 232, 0.22);
    color: rgba(244, 241, 232, 0.85);
}

/* Paper colorway for the process list */
.section-paper .flow-list {
    border-top-color: rgba(8, 11, 18, 0.3);
}

.section-paper .flow-item {
    border-bottom-color: rgba(8, 11, 18, 0.3);
}

.section-paper .flow-num {
    -webkit-text-stroke: 2px var(--orange);
}

.section-paper .flow-desc {
    color: rgba(29, 9, 2, 0.75);
}

/* ==========================================================================
   SOCIAL MEDIA CONTENT PAGE
   ========================================================================== */
.smc-hero-frame {
    position: relative;
    max-width: 400px;
}

.smc-hero-frame img,
.smc-hero-frame .smc-ph {
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
}

.smc-rec {
    position: absolute;
    top: 34px;
    left: 34px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(8, 11, 18, 0.85);
    color: #fff;
    font-family: 'DM Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
}

.smc-rec i {
    width: 10px;
    height: 10px;
    background: #ff3b30;
    border-radius: 50% !important;
    animation: smc-blink 1.1s steps(1) infinite;
}

@keyframes smc-blink {
    50% { opacity: 0.15; }
}

/* Placeholder tiles shown until AI photos are dropped in */
.smc-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: 2px dashed rgba(8, 11, 18, 0.4);
}

.smc-ph span {
    font-size: 2.4rem;
    animation: proof-spin 20s linear infinite;
}

.smc-tone-1 { background: var(--lime); color: #10160b; }
.smc-tone-2 { background: var(--orange); color: #fff6ef; }
.smc-tone-3 { background: var(--sky); color: #10160b; }
.smc-tone-4 { background: var(--paper); color: var(--orange); }

/* Behind-the-scenes film strip */
.film-strip {
    position: relative;
    padding: 34px 0;
    overflow: hidden;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}

.film-strip::before,
.film-strip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 16px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0 14px,
        rgba(244, 241, 232, 0.85) 14px 26px
    );
    z-index: 2;
}

.film-strip::before { top: 9px; }
.film-strip::after  { bottom: 9px; }

.film-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: film-slide 32s linear infinite;
}

.film-strip:hover .film-track {
    animation-play-state: paused;
}

@keyframes film-slide {
    to { transform: translateX(-50%); }
}

.film-cell {
    width: clamp(200px, 24vw, 300px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 2px solid rgba(244, 241, 232, 0.25);
    flex-shrink: 0;
}

.film-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.85) contrast(1.05);
    transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.film-cell:hover img {
    filter: grayscale(0);
    transform: scale(1.06);
}

/* What we make */
.make-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 20px;
    margin-top: 60px;
}

.make-card {
    position: relative;
}

.make-media {
    position: relative;
    border: 2px solid var(--ink);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.make-card:nth-child(odd) .make-media  { transform: rotate(-1.2deg); }
.make-card:nth-child(even) .make-media { transform: rotate(1.2deg); }

.make-card:hover .make-media {
    transform: rotate(0deg);
    box-shadow: 10px 10px 0 rgba(16, 22, 11, 0.18);
}

.make-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.25);
    transition: filter 0.4s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.make-card:hover .make-media img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.make-num {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 8px 14px;
    background: var(--ink);
    color: var(--lime);
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: 1rem;
}

.make-title {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 18px 0 6px;
}

.make-desc {
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.65;
    margin: 0;
}

/* Pull quote band */
.smc-quote {
    position: relative;
    background: var(--lime);
    color: #10160b;
    padding: 110px 0;
    overflow: clip;
}

.smc-quote::before {
    content: "\2733";
    position: absolute;
    top: -60px;
    right: 4%;
    font-size: 300px;
    line-height: 1;
    color: rgba(16, 22, 11, 0.08);
    animation: proof-spin 40s linear infinite;
    pointer-events: none;
}

.smc-quote-text {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 5vw, 3.8rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Platforms */
.smc-platforms {
    padding: 110px 0 130px;
}

.platform-rows {
    margin-top: 56px;
    border-top: 2px solid rgba(244, 241, 232, 0.18);
}

.platform-row {
    display: grid;
    grid-template-columns: 1fr auto 60px;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 2px solid rgba(244, 241, 232, 0.18);
    transition: padding 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.platform-row:hover {
    padding-left: 20px;
}

.platform-name {
    font-family: 'Syne', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px rgba(244, 241, 232, 0.55);
    transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease;
}

.platform-row:hover .platform-name {
    color: var(--lime);
    -webkit-text-stroke-color: var(--lime);
}

.platform-spec {
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    color: rgba(244, 241, 232, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.platform-mark {
    justify-self: end;
    font-size: 1.5rem;
    color: var(--orange);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease;
}

.platform-row:hover .platform-mark {
    transform: rotate(360deg) scale(1.25);
    color: var(--lime);
}

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

@media (max-width: 640px) {
    .make-grid {
        grid-template-columns: 1fr;
    }

    .platform-row {
        grid-template-columns: 1fr auto;
    }

    .platform-mark {
        display: none;
    }

    .smc-quote::before {
        font-size: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .film-track,
    .smc-rec i,
    .smc-ph span,
    .smc-quote::before {
        animation: none;
    }
}

/* 2-up offer grid (strategy section) */
.offer-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 767px) {
    .offer-grid-2 {
        grid-template-columns: 1fr;
    }
}
