/* UX portfolio design system */
:root {
    --primary: #962d49;
    --primary-hover: #7d213b;
    --heading: #352632;
    --text: #222;
    --white: #fff;
    --muted: #695861;
    --bg: #fffaf7;
    --blush: #f8e9ed;
    --apricot: #ffe8da;
    --accent: #f2a080;
    --border: #e2e2e2;
    --success: #236b4a;
    --warning: #8a4d00;
    --danger: #8c2438;
    --shadow: 0 16px 40px rgba(53, 38, 50, .10);
    --radius: 8px;
    --container: 1200px;
    --container: 1400px;
}

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

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text);
    font: 400 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
}

img {
    display: block;
    max-width: 100%;
    height: auto
}

a {
    color: var(--primary);
    text-underline-offset: .2em
}

a:hover {
    color: var(--primary-hover)
}

:focus-visible {
    outline: 3px solid #5b3fd6;
    outline-offset: 3px
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem;
    line-height: 1.2;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: var(--primary);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem)
}

h3 {
    font-size: 1.25rem
}

p {
    margin: 0 0 1rem
}

ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem
}

.p-16 {
    padding: 1rem;
}

section,
footer {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.container,
.wrapper {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.container {
    padding: clamp(1rem, 3vw, 1rem) 0;
}

.container {
    max-width: calc(100% - 48px);
    margin-left: auto;
    margin-right: auto;
}

.container:before,
.container:after {
    content: " ";
    grid-area: 1 / 1 / 2 / 2;
    display: table;
}

.container:after {
    clear: both;
}

.row {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap
}


.row:before,
.row:after {
    content: " ";
    grid-area: 1 / 1 / 2 / 2;
    display: table;
}

.row:after {
    clear: both;
}

.row .row {
    margin-left: 0;
    margin-right: 0;
}

.col {
    float: left;
    width: 100%;
    min-height: 1px;
    padding-left: 24px;
    padding-right: 24px;
    position: relative;
}

.col .col {
    padding-left: 0;
    padding-right: 0;
}

.col-1 {
    width: 8.33333%;
    flex: 0 0 8.33333%;
}

.col-2 {
    width: 16.6667%;
    flex: 0 0 16.6667%;
}

.col-3 {
    width: 25%;
    flex: 0 0 25%;
}

.col-4 {
    width: 33.3333%;
    flex: 0 0 33.3333%;
}

.col-5 {
    width: 41.6667%;
    flex: 0 0 41.6667%;
}

.col-6 {
    width: 50%;
    flex: 0 0 50%;
}

.col-7 {
    width: 58.3333%;
    flex: 0 0 58.3333%;
}

.col-8 {
    width: 66.6667%;
    flex: 0 0 66.6667%;
}

.col-9 {
    width: 75%;
    flex: 0 0 75%;
}

.col-10 {
    width: 83.3333%;
    flex: 0 0 83.3333%;
}

.col-11 {
    width: 91.6667%;
    flex: 0 0 91.6667%;
}

.col-12 {
    width: 100%;
    flex: 0 0 100%;
}

.m-1 {
    margin: .25rem !important;
}

.m-2 {
    margin: .5rem !important;
}

.m-3 {
    margin: .75rem !important;
}

.m-4 {
    margin: 1rem !important;
}

.mt-1 {
    margin-top: .25rem !important;
}

.mt-2 {
    margin-top: .5rem !important;
}

.mt-3 {
    margin-top: .75rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mb-1 {
    margin-bottom: .25rem !important;
}

.mb-2 {
    margin-bottom: .5rem !important;
}

.mb-3 {
    margin-bottom: .75rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.ml-1 {
    margin-left: .25rem !important;
}

.ml-2 {
    margin-left: .5rem !important;
}

.ml-3 {
    margin-left: .75rem !important;
}

.ml-4 {
    margin-left: 1rem !important;
}

.mr-1 {
    margin-right: .25rem !important;
}

.mr-2 {
    margin-right: .5rem !important;
}

.mr-3 {
    margin-right: .75rem !important;
}

.mr-4 {
    margin-right: 1rem !important;
}

.p-1 {
    padding: .25rem !important;
}

.p-2 {
    padding: .5rem !important;
}

.p-3 {
    padding: .75rem !important;
}

.p-4 {
    padding: 1rem !important;
}

.pt-1 {
    padding-top: .25rem !important;
}

.pt-2 {
    padding-top: .5rem !important;
}

.pt-3 {
    padding-top: .75rem !important;
}

.pt-4 {
    padding-top: 1rem !important;
}

.pb-1 {
    padding-bottom: .25rem !important;
}

.pb-2 {
    padding-bottom: .5rem !important;
}

.pb-3 {
    padding-bottom: .75rem !important;
}

.pb-4 {
    padding-bottom: 1rem !important;
}

.pl-1 {
    padding-left: .25rem !important;
}

.pl-2 {
    padding-left: .5rem !important;
}

.pl-3 {
    padding-left: .75rem !important;
}

.pl-4 {
    padding-left: 1rem !important;
}

.pr-1 {
    padding-right: .25rem !important;
}

.pr-2 {
    padding-right: .5rem !important;
}

.pr-3 {
    padding-right: .75rem !important;
}

.pr-4 {
    padding-right: 1rem !important;
}

.logo {
    width: 64px
}

.nav-bar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px)
}

.nav-bar-wrapper {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nav-menu {
    display: flex;
    gap: .25rem
}

.nav-link {
    padding: .7rem 1rem;
    color: var(--heading);
    text-decoration: none;
    border-radius: 999px
}

.nav-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.nav-link.current {
    color: var(--primary);
    font-weight: 600;
}

/* Portfolio Dropdown Submenu */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.dropdown-caret {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .dropdown-caret,
.nav-dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 180px;
    padding: 0.4rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 60;
}

/* Open on hover (desktop) or click (.is-open) */
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
    display: flex;
}

.nav-submenu-link {
    display: block;
    padding: 0.6rem 0.9rem;
    color: var(--heading);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-submenu-link:hover,
.nav-submenu-link.current {
    background: var(--blush);
    color: var(--primary);
    font-weight: 600;
}

/* Mobile hamburger button (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 76px;
    height: 76px;
    margin-right: -24px;
    /* aligns cleanly with right edge of wrapper */
    padding: 0;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--border);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nav-toggle:hover {
    background: var(--bg);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: #141821;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Animate to X when open */
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Prevent background page scroll when full-page menu is open */
body.menu-open {
    overflow: hidden;
}

.banner {
    padding: clamp(8em, 8vw, 10rem) 0 0;
}

.bg-main {
    padding: clamp(2rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--heading), var(--primary-hover), var(--primary));
    color: #fff;
    border-radius: 24px
}

.bg-light {
    background: #f7f4ef;
}

.bg-dark h2 {
    color: #fff
}

.small-heading {
    font-size: 15px;
    font-weight: 500;
    color: var(--heading);
    margin: 0px 0px 8px;
}

.paragraph-big {
    margin: 0 auto 2rem;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.4rem)
}

.work-intro {
    margin: auto;
    text-align: center
}

.work-info {
    justify-content: center;
    margin-bottom: 36px;
    padding: 0 15px;
    display: flex;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.work-info-block {
    padding: .75rem;
    text-align: center;
    border-right: 1px solid var(--border)
}

.work-info-block:last-child {
    border: 0
}

.work-info-block h6 {
    margin: 0 0 .4rem;
    text-transform: capitalize;
    letter-spacing: .1em;
    font-size: 1rem;
    font-weight: 500;
}

.text-grey {
    color: var(--muted)
}

.eyebrow {
    display: inline-block;
    border-radius: 999px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    align-items: center;
    display: flex;
    text-transform: capitalize;
}

.eyebrow:before {
    content: "";
    background: var(--primary);
    width: 22px;
    height: 1.5px;
    display: inline-block;
    margin-right: 6px;
}

.bg-main .eyebrow {
    color: #f8d7df;
}

.bg-main .eyebrow:before {
    background: #f8d7df
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.three-col-grid article {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    position: relative;
}

.three-col-grid span {
    font-size: 14px;
    text-transform: capitalize;
    color: var(--red);
    font-weight: 500
}

.three-col-grid h3 {
    font-size: 21px;
    color: var(--primary);
    line-height: 1.3;
    margin: 8px 0
}

.three-col-grid span.card-number {
    position: absolute;
    right: 2rem;
    color: #87938f;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.icon-heading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
}

.icon-heading h3 {
    margin: 0;
}

.challenge-icon {
    width: 24px;
    height: 24px;
    display: flex;
    margin-right: 4px;
    color: var(--primary);
    flex-shrink: 0;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(53, 38, 50, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}


.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--blush);
    color: var(--primary);
    flex-shrink: 0;
}

.card-icon svg {
    width: 20px;
    height: 20px;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--heading);
    margin: 0;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.cards {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .75rem
}

.cards li {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 5px 16px rgba(53, 38, 50, .06);
    border-left: 4px solid var(--primary)
}

.cards h3 {
    margin: 0;
    font-weight: 500;
    color: var(--heading);
    line-height: 1.2;
}

.cards p {
    margin: 0;
}

.project-timeline {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    margin-bottom: 20px;
}

.project-timeline text {
    font-size: 14px;
    fill: #525b73;
    text-anchor: middle;
}

.small-banner img {
    border-radius: 24px;
}

/* =========================================================
   Portfolio Carousel look matching image_12.png
   ========================================================= */
.more-casestudies {
    padding: clamp(3rem, 6vw, 5rem) 0;
    position: relative;
    overflow: hidden;
}

.carousel-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.carousel-heading h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: #222;
    font-weight: 500;
}

.portfolio-carousel {
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
    padding: 0 4rem;
    /* Buffer space for side arrows */
}

.carousel-viewport {
    overflow: hidden;
    background: transparent;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    /* Media Left, Copy Right */
    align-items: center;
    gap: 3.5rem;
    padding: 1rem 0;
}

.slide-media {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.slide-media img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    display: block;
    /* Soft elevation drop shadows below & around tablet devices */
    transition: transform 0.35s ease;
}

.slide-media:hover img {
    transform: translateY(-4px);
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Gray Oval Pill-Badge styling */
.slide-content .badge {
    background: #e6e6e6;
    color: #999999;
    font-size: 14.5px;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

/* Title text branding coloring and space */
.slide-content .project-name {
    color: #9c2744;
    /* Match deep blush/red */
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 1.5rem;
    padding: 0;
}

.slide-content .paragraph-small {
    color: #111111;
    font-size: 16.5px;
    line-height: 1.6;
    margin: 0 0 2rem;
}

/* Capitalized view link with solid dark underline */
.slide-content .link {
    text-decoration: none;
    border-bottom: 1px dashed;
    color: var(--muted);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.slide-content .link:hover {
    color: #9c2744;
    border-color: #9c2744;
}

/* Arrowheads styling based on design template */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 60px;
    border: none;
    background: transparent;
    color: #1a1a1a;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 10;
    transition: color 0.25s ease, transform 0.25s ease;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn svg {
    width: 42px;
    height: 42px;
}

.carousel-btn:hover {
    color: #9c2744;
}

.carousel-btn.prev:active {
    transform: translateY(-50%) translateX(-3px);
}

.carousel-btn.next:active {
    transform: translateY(-50%) translateX(3px);
}

/* Muted dot indicators layout and dots scale */
.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d8d8d8;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.carousel-dot.is-active {
    background: #737373;
    /* Darker focus dot */
    transform: scale(1.1);
}

.footer {
    padding: 24px 0;
    background-color: #1f2c3a;
    color: var(--white);
    text-align: center;
}

.footer h4 {
    font-size: 20px;
    margin: 12px auto 24px;
}

.footer-link {
    margin: 12px auto 24px;
}

.text-block {
    font-size: 12px;
    margin: 0 0 12px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: var(--border);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-decoration: none;
}

.content-image {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}


.impact-table {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius)
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff
}

th,
td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top
}

th {
    background: var(--primary);
    color: #fff
}


.email-btn {
    display: inline-flex;
    padding: .75rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700
}


.board {
    display: flex;
    gap: 22px;
    margin: 0 auto;
    align-items: stretch;
}

.board .column {
    flex: 1;
    flex-direction: column;
}

/* Column Theme Colors */
.col-yellow {
    --col-bg: #fdf4cf;
    --card-bg: #f9d857;
}

.col-blue {
    --col-bg: #dfeefc;
    --card-bg: #8ebef8;
}

.col-green {
    --col-bg: #ddf4e5;
    --card-bg: #92d8a0;
}

.col-orange {
    --col-bg: #fde3d2;
    --card-bg: #f8ac65;
}

.col-purple {
    --col-bg: #efe1fd;
    --card-bg: #d9b5fc;
}

.col-pink {
    --col-bg: #f7d4d4;
    ;
    --card-bg: #fbb3b3;
}

/* Column Layout */
.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--col-bg);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0;
}

.col-content {
    padding: 20px 14px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
.col-header {
    margin-bottom: 16px;
    min-height: 62px;
}

.col-header h2 {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 4px;
}

.header-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--text);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.col-header p {
    font-size: 14px;
    line-height: 1.35;
    color: #2c2c2c;
}

/* Curved Arrow Between Columns */
.connector-arrow {
    position: absolute;
    top: 22px;
    right: -25px;
    width: 44px;
    height: 22px;
    z-index: 10;
    pointer-events: none;
}

/* Main Sticky sticky-notes */
.sticky-notes {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sticky-notes ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sticky-notes li {
    padding-left: 18px;
    text-indent: -10px;
    margin-bottom: 10px;
}

.sticky-notes li:before {
    content: "→";
    height: 1.5px;
    display: inline-block;
    margin-right: 6px;
}

.sticky-notes li:last-child {
    margin-bottom: 0;
}

/* Pinned Footer */
.col-footer {
    background-color: var(--card-bg);
    padding: 13px 14px;
    border-radius: 0 0 10px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.pin-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    fill: var(--text);
}

/*  work flow css */
/* Workflow Row */
.workflow-row {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Step Card */
.step-card {
    flex: 1;
    min-height: 235px;
    background-color: var(--col-bg);
    padding: 58px 18px 22px;
    position: relative;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
}

/* Overlapping Circle Badge */
.step-badge {
    position: absolute;
    top: -16px;
    left: -6px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.step-badge svg {
    width: 28px;
    height: 28px;
    stroke: #141414;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Handwritten Note */
.hand-note {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: cursive;
    font-size: 15px;
    line-height: 1.05;
    color: #1f1f1f;
    text-align: center;
    transform: rotate(-2deg);
    font-weight: 500;
}

.start-arrow {
    display: block;
    width: 24px;
    height: 20px;
    margin: 2px auto 0 -6px;
}

/* Typography inside Card */
.step-meta {
    font-size: 14px;
    letter-spacing: 0.4px;
    text-transform: capitalize;
    margin-bottom: 4px;
    color: var(--text);
}

.step-card h2 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 14px;
    color: #111111;
}

.step-card p {
    font-size: 14.5px;
    line-height: 1.45;
    color: #1c1c1c;
}

/* Between-Card Arrows */
.step-arrow {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    stroke: #141414;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Collaborative Cursor Tags */
.cursor-tag {
    position: absolute;
    bottom: -24px;
    right: -12px;
    display: flex;
    align-items: flex-start;
    gap: 2px;
    z-index: 5;
    pointer-events: none;
}

.cursor-tag.sam {
    right: 26px;
    bottom: -14px;
}

/* Emoji Reactions */
.reactions {
    position: absolute;
    bottom: -42px;
    right: 4px;
    font-size: 18px;
    letter-spacing: 2px;
    user-select: none;
}

/* Bottom Feedback Loop */
.feedback-loop {
    position: relative;
    height: 76px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-loop svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.loop-label {
    position: relative;
    z-index: 2;
    background-color: #f8f8f8;
    padding: 2px 16px;
    margin-top: 26px;
    font-family: "Caveat", cursive;
    font-size: 25px;
    font-weight: 500;
    color: #141414;
}

/* =========================================================
   GAV Case Study Extensions (Journeys, Branching & UX States)
   ========================================================= */

.hero-image {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 1.5rem;
}

/* User Journeys & Concept Exploration */
.journey-badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--blush);
    color: var(--primary) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.journey-points {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.journey-points li {
    margin-bottom: 0.45rem;
}

/* Branching State Machine Box */
.branch-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 2rem;
}

.branch-paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

.branch-path-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 6px 18px rgba(53, 38, 50, 0.04);
}

.branch-path-card.path-happy {
    border-top-color: var(--success);
}

.branch-path-card.path-retry {
    border-top-color: var(--warning);
}

.branch-path-card.path-escalate {
    border-top-color: var(--danger);
}

.branch-path-card h4 {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--heading);
    margin: 0.65rem 0 0.75rem;
    line-height: 1.35;
}

.branch-path-card p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.path-pill,
.state-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.pill-success {
    background: #e3f4ec;
    color: var(--success);
}

.pill-warning {
    background: #fff2db;
    color: var(--warning);
}

.pill-danger {
    background: #fae4e8;
    color: var(--danger);
}

.pill-neutral {
    background: #f1edf0;
    color: var(--heading);
}

/* Persistent Chrome Callout */
.chrome-bar {
    background: linear-gradient(135deg, var(--heading), var(--primary-hover));
    color: var(--white);
    border-radius: 14px;
    padding: 1.15rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.chrome-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f8d7df;
    font-weight: 600;
}

.chrome-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    font-size: 14px;
}

.chrome-items code {
    background: rgba(255, 255, 255, 0.16);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* Screen-by-Screen UX States Grid */
.screen-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.screen-spec-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(53, 38, 50, 0.04);
}

.screen-spec-wide {
    grid-column: 1 / -1;
}

.screen-spec-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.screen-step-tag {
    background: var(--blush);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
}

.screen-spec-card h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--heading);
}

.screen-goal {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.spec-block h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.spec-block ul {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
    font-size: 14.5px;
    color: var(--text);
}

.spec-block li {
    margin-bottom: 0.4rem;
}

.two-col-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 2rem;
}

.state-pills {
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* =========================================================
   Home, About & Contact Page Extensions
   ========================================================= */

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.75rem;
}

.btn-group.align-left {
    justify-content: flex-start;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--heading);
    border: 2px solid var(--border);
}

.btn-secondary.white {
    color: var(--white)
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--blush);
}

/* Home Hero */
.home-hero {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.home-hero .eyebrow {
    justify-content: center;
}

/* Project Preview Cards (Home) */
.project-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card-media {
    display: block;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.project-card:hover .project-card-media img {
    transform: scale(1.03);
}

.project-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-body .badge {
    width: fit-content;
    background: var(--blush);
    color: var(--primary);
    font-size: 13px;
}

.project-card-body p {
    color: var(--muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary);
}

.project-card-link:hover {
    text-decoration: underline;
}

/* About Page Layout */
.two-col-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.about-portrait-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.about-portrait-card img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    background: var(--blush);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: var(--blush);
    color: var(--heading);
    font-size: 14px;
    font-weight: 500;
}

/* Contact Page Layout & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 8px 24px rgba(53, 38, 50, 0.05);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 1.15rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.contact-info-item strong {
    display: block;
    color: var(--heading);
    font-size: 14px;
    margin-bottom: 2px;
}

.contact-info-item span,
.contact-info-item a {
    color: var(--muted);
    font-size: 15px;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font: inherit;
    font-size: 15.5px;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(150, 45, 73, 0.14);
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 14.5px;
    display: none;
}

.form-status.is-success {
    display: block;
    background: #e3f4ec;
    color: var(--success);
}

.form-status.is-error {
    display: block;
    background: #fae4e8;
    color: var(--danger);
}

/* Editorial article extensions aligned to styles.css tokens */
.article-narrow {
    max-width: 860px;
    margin-inline: auto;
}

.lesson-header {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.lesson-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--blush);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.lesson-header h2 {
    margin: 0;
    color: var(--heading);
}

.article-prose p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.pull-quote {
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 0 14px 14px 0;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.65;
    color: var(--heading);
    font-style: italic;
}

.takeaway-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.cta-case-study {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.cta-case-study h3 {
    color: var(--heading);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 0.5rem;
}

.cta-case-study p {
    color: var(--muted);
    margin: 0;
    max-width: 620px;
}

@media (max-width: 991px) {

    .two-col-split,
    .contact-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   GAV Sticky Note Board: <= 1199px: Stacked Horizontal Cards
   ========================================================= */

@media (max-width: 1199px) {
    .board {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .board .connector-arrow {
        display: none;
    }

    .board .column {
        width: 100%;
        flex-direction: column;
        border-radius: 10px;
        overflow: hidden;
    }

    .board .col-content {
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 1.25rem;
        align-items: start;
        padding: 20px;
    }

    .board .col-header {
        margin-bottom: 0;
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .board .col-content {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media(max-width:991px) {

    .nav-bar {
        z-index: 100;
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* Full-page mobile menu */
    .nav-menu {
        display: none;
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 76px);
        height: calc(100dvh - 76px);
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.5rem;
        padding: 2rem 24px 3rem;
        background: var(--white);
        overflow-y: auto;
        z-index: 90;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1.25rem;
        border-radius: var(--radius);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.current {
        background: var(--blush);
        text-decoration: none;
    }

    .nav-dropdown {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-dropdown:hover .nav-submenu,
    .nav-dropdown:focus-within .nav-submenu {
        display: none;
    }

    .nav-dropdown.is-open .nav-submenu {
        display: flex;
        position: static;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--primary);
        border-radius: 0;
        margin: 0.25rem 0 0.5rem 1.25rem;
        padding: 0.25rem 0 0.25rem 0.75rem;
    }

    .nav-submenu-link {
        font-size: 1.05rem;
        padding: 0.75rem 1rem;
    }

    .row {
        flex-direction: column
    }

    .col-small-12 {
        width: 100%;
        flex: 0 0 100%;
    }

    .work-info,
    .three-col-grid {
        grid-template-columns: 1fr
    }

    .more-casestudies {
        padding: 52px 0
    }

    .carousel-btn {
        top: 60%;
    }

    .work-info-block {
        border-right: 0;
        border-bottom: 1px solid var(--border)
    }

    .board,
    .workflow-row {
        flex-direction: column;
        align-items: stretch;
    }

    .connector-arrow,
    .step-arrow {
        display: none;
    }

    .branch-paths-grid,
    .screen-specs-grid,
    .two-col-list {
        grid-template-columns: 1fr;
    }

    .screen-spec-wide {
        grid-column: auto;
    }

    /* Mobile responsive fixes up to 991px */
    .portfolio-carousel {
        padding: 0 1.5rem;
        /* Narrow arrow buffers */
    }

    .carousel-slide {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0.5rem 0;
    }

    .slide-media {
        order: 1;
        /* Match initial mobile stacks with imagery */
    }

    .slide-media img {
        max-height: 250px;
    }

    .carousel-btn {
        width: 32px;
        height: 48px;
    }

    .carousel-btn svg {
        width: 28px;
        height: 28px;
    }
}



@media (max-width:768px) {

    .project-timeline {
        min-width: 1100px;
    }

    .timeline-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .impact-table {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .impact-table table {
        min-width: 0;
        background: transparent;
    }

    .impact-table thead {
        display: none;
    }

    .impact-table tbody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .impact-table tr {
        display: block;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: 0 4px 14px rgba(53, 38, 50, 0.05);
        overflow: hidden;
    }

    .impact-table td {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--border);
    }

    .impact-table td:last-child {
        border-bottom: 0;
    }

    .impact-table td::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--primary);
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}