/* =========================================================
   BASE STYLES
   ========================================================= */
:root {
    --blush:#F7DDE3;
    --soft:#DFA8B5;
    --dusty:#B97888;
    --berry:#8F4F60;
    --cream:#FFF9F7;
    --white:#FFF;
    --text:#3F3034;
    --muted:#806D72;
    --line:#EED9DE
}
* {
    box-sizing:border-box;
    margin:0;
    padding:0
}
html {
    scroll-behavior:smooth
}
body {
    font-family:"Segoe UI",Arial,sans-serif;
    background:var(--cream);
    color:var(--text);
    line-height:1.6
}
a {
    color:inherit;
    text-decoration:none
}
img {
    display:block;
    max-width:100%
}
nav {
    position:sticky;
    top:0;
    z-index:20;
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 7%;
    background:rgba(255,249,247,.94);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--line)
}
.logo {
    font-size:20px;
    font-weight:800;
    color:var(--berry);
    letter-spacing:-.5px
}
.navlinks {
    display:flex;
    gap:28px
}
.navlinks a {
    font-size:13px
}
.navlinks a:hover {
    color:var(--dusty)
}
section {
    padding:100px 7%;
    max-width:1280px;
    margin:auto
}
.full {
    max-width:none
}
.eyebrow {
    color:var(--dusty);
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:12px;
    font-weight:700;
    margin-bottom:18px
}
h1 {
    font-size:clamp(48px,7vw,86px);
    line-height:.98;
    letter-spacing:-4px;
    margin-bottom:25px
}
h1 span,h2 span {
    color:var(--dusty)
}
h2 {
    font-size:clamp(34px,4vw,54px);
    line-height:1.05;
    letter-spacing:-2px;
    margin-bottom:18px
}
.intro {
    color:var(--muted);
    max-width:720px;
    margin-bottom:42px
}
.hero {
    min-height:calc(100vh - 82px);
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:70px;
    background:var(--blush)
}
.hero p {
    max-width:580px;
    color:var(--muted);
    font-size:17px;
    margin-bottom:32px
}
.buttons {
    display:flex;
    gap:14px;
    flex-wrap:wrap
}
.btn {
    padding:13px 23px;
    border-radius:30px;
    font-size:14px;
    font-weight:700;
    border:1px solid var(--berry)
}
.primary {
    background:var(--berry);
    color:#fff
}
.secondary {
    color:var(--berry)
}
.hero-card {
    position:relative;
    background:var(--blush);
    border-radius:35px;
    padding:28px;
    min-height:560px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden
}
.hero-card:before,.hero-card:after {
    content:"";
    position:absolute;
    border-radius:50%;
    background:var(--soft);
    opacity:.45
}
.hero-card:before {
    width:260px;
    height:260px;
    top:-80px;
    right:-60px
}
.hero-card:after {
    width:190px;
    height:190px;
    bottom:-70px;
    left:-50px
}
.hero-photo {
    position:relative;
    z-index:1;
    width:100%;
    height:500px;
    object-fit:cover;
    object-position:center top;
    border-radius:25px;
    border:2px solid rgba(143,79,96,.2)
}
.hero-meta {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:50px
}
.meta {
    border-top:1px solid var(--berry);
    padding-top:11px
}
.meta b {
    display:block;
    font-size:9px;
    letter-spacing:1.5px;
    color:var(--berry)
}
.meta span {
    font-size:14px;
    color:var(--text)
}
.hero-statement {
    margin-top:50px;
    font-size:25px;
    line-height:1.25;
    max-width:780px;
    color:var(--text)
}
.hero-statement strong {
    color:var(--berry)
}
.toc {
    background:var(--cream);
    border:1px solid var(--line);
    padding:40px;
    border-radius:28px;
    margin-top:55px
}
.toc-head {
    display:flex;
    justify-content:space-between;
    align-items:end;
    border-bottom:1px solid var(--berry);
    padding-bottom:12px;
    margin-bottom:22px
}
.toc-head h2 {
    margin:0
}
.toc-head span {
    font-size:10px;
    color:var(--dusty);
    font-weight:800;
    letter-spacing:2px
}
.tocgrid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px 50px
}
.tocgrid a {
    font-size:14px
}
.tocgrid a:hover {
    color:var(--berry)
}
.tocgrid span {
    display:inline-block;
    width:35px;
    color:var(--berry);
    font-size:10px;
    font-weight:800
}
.soft-section {
    background:var(--blush);
    max-width:none
}
.inner {
    max-width:1280px;
    margin:auto
}
.about-grid {
    display:grid;
    grid-template-columns:1fr 360px;
    gap:55px
}
.story {
    margin-bottom:30px
}
.story h3 {
    font-size:11px;
    letter-spacing:2px;
    color:var(--berry);
    margin-bottom:8px
}
.story p {
    font-size:16px;
    color:var(--text)
}
.quick {
    background:#fff;
    border:1px solid var(--line);
    border-radius:25px;
    padding:22px
}
.quick-photo {
    width:100%;
    height:320px;
    object-fit:cover;
    object-position:center top;
    border-radius:18px;
    margin-bottom:18px
}
.quick h3 {
    font-size:21px;
    color:var(--berry);
    margin-bottom:12px
}
.q {
    padding:12px 0;
    border-top:1px solid var(--line)
}
.q small {
    display:block;
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:1.4px;
    color:var(--dusty);
    font-weight:800
}
.q strong {
    font-size:14px
}
.cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px
}
.card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:28px;
    min-height:205px;
    transition:.2s
}
.card:hover,.project:hover,.design-card:hover {
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(63,48,52,.08)
}
.num {
    font-size:10px;
    font-weight:800;
    color:var(--berry)
}
.card h3 {
    font-size:21px;
    line-height:1.12;
    margin:16px 0 10px
}
.card p {
    color:var(--muted);
    font-size:13px
}
.toolgrid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-top:35px
}
.toolbox {
    background:#fff;
    border-radius:20px;
    padding:24px;
    border:1px solid var(--line);
    min-height:180px
}
.toolbox h3 {
    font-size:18px;
    color:var(--berry);
    margin-bottom:18px
}
.pills {
    display:flex;
    flex-wrap:wrap;
    gap:9px
}
.pill {
    background:var(--blush);
    border-radius:20px;
    padding:8px 11px;
    color:var(--berry);
    font-size:10px;
    font-weight:700
}
.process-name {
    color:var(--berry);
    font-size:22px;
    font-weight:700;
    margin-bottom:30px
}
.steps {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px
}
.step {
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:25px;
    border-top:5px solid var(--soft)
}
.step b {
    font-size:10px;
    color:var(--berry);
    letter-spacing:1px
}
.step h3 {
    font-size:24px;
    margin:12px 0
}
.step p {
    color:var(--muted);
    font-size:13px
}
.projects {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px
}
.project {
    background:#fff;
    border:1px solid var(--line);
    border-radius:28px;
    overflow:hidden;
    transition:.2s
}
.project-visual {
    height:270px;
    background:linear-gradient(135deg,var(--blush),#fff);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--dusty);
    font-size:12px;
    letter-spacing:1px;
    text-align:center
}
.project-content {
    padding:26px
}
.project-content h3 {
    font-size:25px;
    line-height:1.1;
    margin:10px 0
}
.project-content p {
    color:var(--muted);
    font-size:14px
}
.tag {
    display:inline-block;
    margin-top:15px;
    padding:6px 11px;
    border-radius:20px;
    background:var(--blush);
    color:var(--berry);
    font-size:11px;
    font-weight:700
}
.numbers {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px
}
.number {
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:27px 12px;
    text-align:center
}
.number strong {
    display:block;
    color:var(--berry);
    font-size:31px;
    line-height:1.05
}
.number span {
    display:block;
    margin-top:8px;
    font-size:9px;
    font-weight:800;
    letter-spacing:1px
}
.proof-note {
    text-align:center;
    color:var(--muted);
    font-size:11px;
    margin-top:22px
}
.design-grid {
    display:grid;
    grid-template-columns:1.25fr .75fr .75fr;
    grid-template-rows:220px 220px;
    gap:16px
}
.design-card {
    position:relative;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:25px;
    background:#fff;
    transition:.2s
}
.design-card:first-child {
    grid-row:span 2
}
.design-card img {
    width:100%;
    height:100%;
    object-fit:cover
}
.design-placeholder {
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:var(--dusty);
    font-size:12px;
    letter-spacing:1px;
    padding:20px
}
.design-label {
    position:absolute;
    left:15px;
    bottom:15px;
    background:rgba(255,249,247,.94);
    color:var(--berry);
    border-radius:20px;
    padding:7px 12px;
    font-size:10px;
    font-weight:800
}
.whygrid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px
}
.whycard {
    background:var(--blush);
    border-radius:24px;
    padding:28px
}
.whycard h3 {
    font-size:22px;
    margin:8px 0
}
.whycard p {
    color:var(--muted);
    font-size:13px
}
.whycard .eyebrow {
    font-size:10px;
    margin-bottom:0
}
.contact {
    max-width:none;
    background:var(--berry);
    color:#fff;
    text-align:center
}
.contact h2 {
    color:#fff
}
.contact h2 span {
    color:var(--blush)
}
.contact p {
    max-width:700px;
    margin:0 auto 30px;
    color:#f8e9ed
}
.contact-links {
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap
}
.contact-links a {
    background:var(--cream);
    color:var(--berry);
    border-radius:30px;
    padding:12px 18px;
    font-size:11px;
    font-weight:800
}
.email {
    margin-top:25px;
    font-size:12px
}
footer {
    background:#3F3034;
    color:#fff;
    text-align:center;
    padding:20px;
    font-size:10px
}
@media(max-width:900px) {
    .navlinks {
        display:none
    }
    .hero {
        grid-template-columns:1fr;
        gap:35px
    }
    .hero-card {
        min-height:450px
    }
    .hero-photo {
        height:420px
    }
    .cards {
        grid-template-columns:1fr 1fr
    }
    .toolgrid {
        grid-template-columns:1fr 1fr
    }
    .steps {
        grid-template-columns:1fr 1fr
    }
    .numbers {
        grid-template-columns:repeat(3,1fr)
    }
    .about-grid {
        grid-template-columns:1fr
    }
    .quick {
        max-width:420px
    }
    .design-grid {
        grid-template-columns:1fr 1fr;
        grid-template-rows:240px 240px
    }
    .design-card:first-child {
        grid-row:auto
    }
    .projects {
        grid-template-columns:1fr
    }
}
@media(max-width:560px) {
    section {
        padding:75px 6%
    }
    .hero-meta,.cards,.toolgrid,.steps,.whygrid {
        grid-template-columns:1fr
    }
    .numbers {
        grid-template-columns:1fr 1fr
    }
    .tocgrid {
        grid-template-columns:1fr
    }
    .toc {
        padding:25px
    }
    .hero {
        min-height:auto;
        padding-top:70px
    }
    .hero-statement {
        font-size:21px
    }
    .design-grid {
        grid-template-columns:1fr;
        grid-template-rows:220px
    }
    .design-card:first-child {
        grid-row:auto
    }
    .hero-photo {
        height:390px
    }
}
/* V3 layout fixes */
.cover-page {
    min-height:calc(100svh - 82px);
    display:flex;
    align-items:center;
    padding-top:55px;
    padding-bottom:55px
}
.cover-page>.inner {
    width:100%
}
.toc-page {
    min-height:calc(100svh - 82px);
    display:flex;
    align-items:center;
    padding-top:55px;
    padding-bottom:55px
}
.toc-page>.inner {
    width:100%
}
.toc {
    margin-top:0;
    max-width:1080px;
    margin-left:auto;
    margin-right:auto
}
.toolgrid {
    grid-template-columns:repeat(2,1fr)
}
.toolbox {
    min-height:220px
}
.tool-list {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px
}
.tool-item {
    display:flex;
    align-items:center;
    gap:10px;
    background:var(--blush);
    border-radius:16px;
    padding:12px 13px;
    min-height:58px
}
.tool-item img {
    width:28px;
    height:28px;
    object-fit:contain;
    flex:0 0 28px
}
.tool-item span {
    font-size:11px;
    font-weight:700;
    color:var(--berry);
    line-height:1.2
}
@media(max-width:900px) {
    .cover-page,.toc-page {
        min-height:auto
    }
    .tool-list {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
}
@media(max-width:560px) {
    .tool-list {
        grid-template-columns:1fr
    }
    .toolgrid {
        grid-template-columns:1fr
    }
}
/* V4 layout refinements */
.cover-page {
    padding-top:52px;
    padding-bottom:52px;
    min-height:0
}
.cover-page>.inner {
    width:100%
}
.hero {
    min-height:0;
    align-items:center;
    gap:56px
}
.hero-card {
    min-height:500px;
    padding:20px;
    align-items:center;
    justify-content:center
}
.hero-photo {
    height:460px;
    object-position:50% 50%;
    border-radius:24px
}
.hero-meta {
    margin-top:28px;
    gap:28px
}
.hero-statement {
    margin-top:30px
}
.toc-page {
    min-height:calc(100vh - 82px);
    display:flex;
    align-items:center;
    padding-top:54px;
    padding-bottom:54px;
    background:var(--cream)
}
.toc-page>.inner {
    width:100%
}
.toc {
    margin-top:0;
    max-width:1080px;
    margin-left:auto;
    margin-right:auto;
    padding:58px 64px;
    background:var(--blush);
    border:1px solid var(--soft);
    border-radius:32px;
    box-shadow:0 18px 45px rgba(63,48,52,.06)
}
.toc-head {
    padding-bottom:20px;
    margin-bottom:30px;
    border-bottom:1px solid var(--dusty)
}
.toc-head h2 {
    font-size:clamp(38px,4.5vw,58px)
}
.toc-head span {
    font-size:11px
}
.tocgrid {
    gap:0 72px
}
.tocgrid a {
    display:flex;
    align-items:center;
    gap:12px;
    font-size:17px;
    font-weight:650;
    padding:15px 0;
    border-bottom:1px solid rgba(185,120,136,.28);
    transition:.2s
}
.tocgrid a:hover {
    color:var(--berry);
    padding-left:7px
}
.tocgrid span {
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--cream);
    border:1px solid var(--soft);
    font-size:10px;
    flex:0 0 40px
}
.about-grid {
    grid-template-columns:minmax(0,1fr) 420px;
    gap:64px;
    align-items:center
}
.quick {
    padding:20px;
    border-radius:28px
}
.quick-photo {
    height:285px;
    margin-bottom:16px;
    border-radius:20px;
    object-position:50% 50%
}
.quick h3 {
    font-size:22px;
    margin-bottom:8px
}
.q {
    padding:10px 0;
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:18px
}
.q small {
    font-size:9px
}
.q strong {
    font-size:14px;
    text-align:right
}
.toolgrid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px
}
.toolbox {
    min-height:0;
    padding:26px;
    border-radius:24px
}
.tool-list {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
}
.tool-item {
    min-height:62px;
    padding:11px 12px
}
.tool-logo {
    width:30px;
    height:30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 30px;
    border-radius:9px;
    background:var(--cream);
    color:var(--berry);
    font-size:9px;
    font-weight:900;
    letter-spacing:-.3px
}
.tool-logo svg {
    width:18px;
    height:18px;
    fill:currentColor
}
.tool-logo img {
    width:24px;
    height:24px;
    object-fit:contain
}
.tool-item span {
    font-size:11px
}
.steps .step {
    cursor:default
}
.case-more {
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-top:18px;
    padding:10px 14px;
    border-radius:22px;
    background:var(--berry);
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.6px;
    border:0;
    cursor:pointer;
    transition:.2s
}
.case-more:hover {
    transform:translateY(-2px);
    background:var(--dusty)
}
.project {
    cursor:pointer
}
.modal {
    position:fixed;
    inset:0;
    background:rgba(63,48,52,.58);
    backdrop-filter:blur(5px);
    display:none;
    align-items:center;
    justify-content:center;
    padding:28px;
    z-index:100
}
.modal.open {
    display:flex
}
.modal-card {
    width:min(820px,100%);
    max-height:min(86vh,760px);
    overflow:auto;
    background:var(--cream);
    border:1px solid var(--line);
    border-radius:30px;
    padding:34px;
    position:relative;
    box-shadow:0 30px 80px rgba(63,48,52,.2)
}
.modal-close {
    position:absolute;
    right:18px;
    top:18px;
    width:38px;
    height:38px;
    border-radius:50%;
    border:1px solid var(--line);
    background:#fff;
    color:var(--berry);
    font-size:20px;
    cursor:pointer
}
.modal-card .eyebrow {
    margin-bottom:10px
}
.modal-card h3 {
    font-size:34px;
    line-height:1.1;
    margin-bottom:12px;
    max-width:680px
}
.modal-card .modal-intro {
    color:var(--muted);
    font-size:14px;
    margin-bottom:25px
}
.modal-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px
}
.modal-block {
    background:#fff;
    border:1px solid var(--line);
    border-radius:20px;
    padding:20px
}
.modal-block h4 {
    font-size:10px;
    color:var(--berry);
    letter-spacing:1.6px;
    margin-bottom:8px
}
.modal-block p,.modal-block li {
    font-size:13px;
    color:var(--muted)
}
.modal-block ul {
    padding-left:17px
}
.modal-result {
    margin-top:14px;
    background:var(--blush);
    border-radius:20px;
    padding:20px
}
.modal-result strong {
    color:var(--berry);
    font-size:22px
}
@media(max-width:900px) {
    .cover-page {
        padding-top:42px;
        padding-bottom:42px
    }
    .hero {
        grid-template-columns:1fr;
        gap:34px
    }
    .hero-card {
        min-height:0
    }
    .hero-photo {
        height:480px
    }
    .toc-page {
        min-height:auto
    }
    .toc {
        padding:44px
    }
    .about-grid {
        grid-template-columns:1fr
    }
    .quick {
        max-width:none
    }
    .modal-grid {
        grid-template-columns:1fr
    }
}
@media(max-width:560px) {
    .cover-page {
        padding-top:34px;
        padding-bottom:38px
    }
    .hero-photo {
        height:410px
    }
    .hero-meta {
        grid-template-columns:1fr;
        gap:14px
    }
    .hero-statement {
        font-size:21px
    }
    .toc {
        padding:30px 22px
    }
    .tocgrid {
        grid-template-columns:1fr
    }
    .toc-head {
        display:block
    }
    .toc-head span {
        display:block;
        margin-top:10px
    }
    .toolgrid {
        grid-template-columns:1fr
    }
    .tool-list {
        grid-template-columns:1fr
    }
    .modal {
        padding:14px
    }
    .modal-card {
        padding:26px 20px
    }
    .modal-card h3 {
        font-size:28px
    }
}
/* V6 refinements */
body {
    font-size:17px
}
.story p {
    font-size:17px;
    line-height:1.7
}
.intro {
    font-size:17px;
    line-height:1.7
}
.card p,.step p,.project-content p,.whycard p {
    font-size:15px;
    line-height:1.65
}
.tocgrid a {
    font-size:18px
}
.quick {
    align-self:start;
    height:max-content;
    padding:20px
}
.quick-photo {
    height:255px;
    margin-bottom:15px
}
.q {
    padding:10px 0
}
.q strong {
    font-size:15px
}
.tool-item span {
    font-size:13px
}
/* V8 — use user-supplied local images with proportional scaling */
.hero-photo {
    width:100%;
    height:460px;
    object-fit:cover;
    object-position:50% 50%;
}
.quick-photo {
    width:100%;
    height:255px;
    object-fit:cover;
    object-position:50% 50%;
}
.tool-logo {
    overflow:hidden;
    background:#fff;
}
.tool-logo img {
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}
.project-visual {
    padding:14px;
    background:#fff;
    overflow:hidden;
}
.project-visual img {
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
    object-position:center;
    border-radius:14px;
}
@media(max-width:900px) {
    .hero-photo {
        height:480px
    }
    .project-visual {
        height:270px;
    }
}
@media(max-width:560px) {
    .hero-photo {
        height:410px
    }
    .project-visual {
        height:240px;
    }
}
/* =========================================================
   V11 DESIGN/ABOUT REFINEMENTS
   ========================================================= */
/* V11 — interactive design project previews + requested layout refinements */
#about h2 {
    margin-bottom:10px
}
#about .about-grid {
    gap:42px
}
#about .quick {
    display:grid;
    grid-template-columns:minmax(135px,1fr) minmax(0,1fr);
    gap:20px;
    align-items:center;
    padding:20px
}
#about .quick-photo {
    width:100%;
    height:285px;
    min-height:285px;
    object-fit:cover;
    object-position:center;
    border-radius:18px;
    margin:0
}
#about .quick-facts {
    min-width:0
}
#about .quick h3 {
    margin-bottom:8px
}
#about .q {
    padding:10px 0
}
.design-project-grid {
    column-count: 2;
    column-gap: 25px;
}

.design-project {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;

    width: 100%;
    height: auto;
    min-height: 0;

    break-inside: avoid;
    margin-bottom: 25px;
}

.design-project:focus-visible {
    outline:3px solid var(--soft);
    outline-offset:3px
}
.design-preview {
    position:relative;
    height:320px;
    background:var(--cream);
    overflow:hidden;
    border-radius:25px 25px 0 0
}
.design-preview-track {
    position:absolute;
    inset:0
}
.design-preview-slide {
    position:absolute;
    inset:0;
    opacity:0;
    transform:translateX(10px);
    transition:opacity .45s ease,transform .45s ease
}
.design-preview-slide.active {
    opacity:1;
    transform:translateX(0)
}
.design-preview-slide img {
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    padding:10px
}
.design-preview:after {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(to bottom,transparent 62%,rgba(63,48,52,.12))
}
.design-preview-controls {
    position:absolute;
    inset:0;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 12px;
    pointer-events:none
}
.design-nav {
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    background:rgba(255,249,247,.94);
    color:var(--berry);
    font-size:20px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 6px 18px rgba(63,48,52,.12);
    cursor:pointer;
    pointer-events:auto;
    transition:.2s
}
.design-nav:hover {
    background:#fff;
    transform:scale(1.05)
}
.design-dots {
    position:absolute;
    z-index:4;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:6px;
    padding:6px 9px;
    border-radius:20px;
    background:rgba(255,249,247,.88)
}
.design-dot {
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--soft);
    border:0;
    padding:0;
    cursor:pointer;
    transition:.2s
}
.design-dot.active {
    background:var(--berry);
    transform:scale(1.25)
}
.design-click {
    position:absolute;
    z-index:4;
    top:14px;
    right:14px;
    padding:7px 10px;
    border-radius:18px;
    background:rgba(255,249,247,.94);
    color:var(--berry);
    font-size:9px;
    font-weight:800;
    letter-spacing:.8px;
    box-shadow:0 6px 18px rgba(63,48,52,.1)
}
.design-project-info {
    padding:16px 22px 18px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:15px;
    flex:0 0 auto;
    height:auto;
    min-height:0;
}
.design-project-info h3 {
    font-size:21px;
    line-height:1.1;
    margin-bottom:6px;
    color:var(--text)
}
.design-project-info p {
    font-size:12px;
    color:var(--muted)
}
.design-project-count {
    white-space:nowrap;
    color:var(--dusty);
    font-size:9px;
    font-weight:800;
    letter-spacing:1px;
    padding-top:4px
}
.design-modal .modal-card {
    max-width:1080px
}
.design-modal-stage {
    position:relative;
    background:var(--cream);
    border-radius:22px;
    overflow:hidden;
    min-height:520px;
    display:flex;
    align-items:center;
    justify-content:center
}
.design-modal-stage img {
    width:100%;
    height:520px;
    object-fit:contain;
    object-position:center;
    background:#fff
}
.design-modal-stage video {
    display:none
}
.design-modal-controls {
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
    pointer-events:none
}
.design-modal-controls .design-nav {
    width:42px;
    height:42px;
    font-size:24px;
    pointer-events:auto
}
.design-modal-meta {
    display:flex;
    justify-content:space-between;
    gap:15px;
    align-items:center;
    margin-top:12px;
    color:var(--muted);
    font-size:11px
}
.design-modal-meta strong {
    color:var(--berry);
    font-size:12px
}
.numbers-proof {
    margin-top:24px;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,420px);
    gap:24px;
    align-items:center
}
.proof-image-wrap {
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:12px;
    overflow:hidden
}
.proof-image-wrap img {
    width:100%;
    height:260px;
    object-fit:cover;
    object-position:center;
    border-radius:14px
}
.numbers-proof .proof-note {
    margin:0;
    text-align:left
}
@media(max-width:900px) {
    #about .quick {
        grid-template-columns:minmax(150px,1fr) minmax(0,1.15fr)
    }
    .design-project-grid {
        grid-template-columns:1fr 1fr
    }
    .design-preview {
        height:270px
    }
    .design-modal-stage,.design-modal-stage img {
        height:430px;
        min-height:430px
    }
    .numbers-proof {
        grid-template-columns:1fr
    }
    .numbers-proof .proof-note {
        text-align:center
    }
}
@media(max-width:560px) {
    #about .quick {
        grid-template-columns:1fr;
        gap:16px
    }
    #about .quick-photo {
        height:330px;
        min-height:330px
    }
    .design-project-grid {
        grid-template-columns:1fr
    }
    .design-preview {
        height:260px
    }
    .design-project {
        min-height:370px
    }
    .design-modal-stage,.design-modal-stage img {
        height:360px;
        min-height:360px
    }
    .numbers-proof {
        grid-template-columns:1fr
    }
    .proof-image-wrap img {
        height:auto;
        max-height:330px;
        object-fit:contain
    }
}
/* =========================================================
   V13 LAYOUT REFINEMENTS
   ========================================================= */
/* V13 — requested positioning, spacing, crop, sizing and responsive refinements */
.hero-photo {
    object-position:50% 30% !important;
}
#about {
    padding-top:92px !important;
    padding-bottom:92px !important;
}
#about .about-grid {
    grid-template-columns:minmax(0,1fr) minmax(430px,470px) !important;
    gap:48px !important;
    align-items:stretch !important;
}
#about .about-grid > div:first-child {
    top:0 !important;
    align-self:center;
}
#about .quick {
    top:0 !important;
    min-height:405px;
    padding:24px !important;
    grid-template-columns:190px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:stretch !important;
}
#about .quick-photo {
    width:100% !important;
    height:100% !important;
    min-height:355px !important;
    margin:0 !important;
    object-fit:cover !important;
    object-position:50% 35% !important;
}
#about .quick-facts {
    align-self:center;
}
.project[data-modal="case1"] .project-visual {
    overflow:hidden;
}
.project[data-modal="case1"] .project-visual img {
    object-fit:cover !important;
    object-position:50% 0% !important;
    transform:scale(1.08);
    transform-origin:50% 0%;
}
.project[data-modal="case2"] .project-visual {
    overflow:hidden;
}
.project[data-modal="case2"] .project-visual img {
    object-fit:cover !important;
    object-position:0% 0% !important;
    transform:scale(1.04);
    transform-origin:0% 0%;
}
#numbers .numbers-proof {
    display:block !important;
    width:min(100%,1080px) !important;
    margin:38px auto 0 !important;
}
#numbers .proof-image-wrap {
    width:100% !important;
    max-width:none !important;
    padding:14px !important;
    margin:0 auto !important;
}
#numbers .proof-image-wrap img {
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center !important;
    border-radius:14px;
}
#numbers .proof-copy {
    display:none !important;
}
.design-project[data-project="brochures"] .design-preview {
    height:450px !important;
}
.design-project[data-project="brochures"] .design-preview-slide img {
    padding:8px !important;
    object-fit:contain !important;
    object-position:center !important;
}
@media(max-width:900px) {
    #about {
        padding-top:82px !important;
        padding-bottom:82px !important;
    }
    #about .about-grid {
        grid-template-columns:1fr !important;
        gap:30px !important;
    }
    #about .quick {
        max-width:none !important;
        min-height:0;
    }
    #about .quick-photo {
        height:340px !important;
        min-height:340px !important;
    }
    .design-project[data-project="brochures"] .design-preview {
        height:400px !important;
    }
}
@media(max-width:560px) {
    #about {
        padding-top:75px !important;
        padding-bottom:75px !important;
    }
    #about .quick {
        grid-template-columns:1fr !important;
        gap:16px !important;
    }
    #about .quick-photo {
        height:330px !important;
        min-height:330px !important;
    }
    .design-project[data-project="brochures"] .design-preview {
        height:360px !important;
    }
}
/* =========================================================
   V14 SOCIAL/BROCHURE REFINEMENTS
   ========================================================= */
/* V14 — featured short-form video + cohesive brochure presentation */
.design-project[data-project="brochures"] .design-preview {
    height:500px !important;
    background:var(--cream);
    padding:10px 28px 18px;
}
.design-project[data-project="brochures"] .design-preview-slide {
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
}
.design-project[data-project="brochures"] .design-preview-slide img {
    width:auto !important;
    height:100% !important;
    max-width:92% !important;
    max-height:100% !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center !important;
    border-radius:10px;
}
.design-project[data-project="social-content"] .design-preview {
    height:500px !important;
    background:var(--cream);
    padding:18px 34px;
}
.design-project[data-project="social-content"] .design-preview-slide {
    display:flex;
    align-items:center;
    justify-content:center;
}
.design-project[data-project="social-content"] .design-preview-slide video {
    display:block;
    width:auto;
    height:100%;
    max-width:100%;
    max-height:100%;
    aspect-ratio:9/16;
    object-fit:contain;
    border-radius:18px;
    background:#111;
    box-shadow:0 12px 30px rgba(63,48,52,.14);
}
.featured-video-label {
    position:absolute;
    z-index:5;
    left:14px;
    top:14px;
    padding:7px 10px;
    border-radius:18px;
    background:rgba(255,249,247,.94);
    color:var(--berry);
    font-size:9px;
    font-weight:800;
    letter-spacing:.8px;
    box-shadow:0 6px 18px rgba(63,48,52,.1);
}
.design-modal-stage video {
    width:100%;
    height:520px;
    object-fit:contain;
    object-position:center;
    background:#111;
    border-radius:0;
}
@media(max-width:900px) {
    .design-project[data-project="brochures"] .design-preview {
        height:430px !important;
        padding-left:20px;
        padding-right:20px;
    }
    .design-project[data-project="social-content"] .design-preview {
        height:430px !important;
        padding-left:25px;
        padding-right:25px;
    }
    .design-modal-stage video {
        height:430px;
    }
}
@media(max-width:560px) {
    .design-project[data-project="brochures"] .design-preview {
        height:380px !important;
        padding:10px 12px 16px;
    }
    .design-project[data-project="social-content"] .design-preview {
        height:390px !important;
        padding:14px 18px;
    }
    .design-project[data-project="social-content"] .design-preview-slide video {
        border-radius:14px;
    }
    .design-modal-stage video {
        height:360px;
    }
}
/* =========================================================
   LEGACY V7 OVERRIDES (PRESERVED FOR VISUAL COMPATIBILITY)
   ========================================================= */
/* V7 — rebalance the About Me composition */
#about {
    padding-top: 65px;
    padding-bottom: 55px;
}
#about .about-grid {
    align-items: center;
}
#about .about-grid > div:first-child {
    position: relative;
    top: 58px;
}
#about .quick {
    position: relative;
    top: -42px;
}
#about .quick-photo {
    object-position: 50% 50%;
}
@media (max-width: 900px) {
    #about {
        padding-top: 75px;
        padding-bottom: 75px;
    }
    #about .about-grid > div:first-child,
  #about .quick {
        top: 0;
    }
}

/* =========================================================
   V15 — ENLARGE PORTFOLIO CARD IMAGES
   Fixes the small/low-visibility thumbnails in the Design Work
   section while keeping portrait brochures and videos readable.
   ========================================================= */

/* Give the portfolio cards more visual space. */
.design-grid {
    grid-template-columns: 1.35fr .825fr .825fr;
    grid-template-rows: 285px 285px;
    gap: 18px;
}

/* Make the image itself fill the visual area. */
.design-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.12);
    transform-origin: center;
}

/* The large first card is a portrait/long-form material, so use
   a smaller zoom to avoid cutting off too much of the design. */
.design-card:first-child img {
    transform: scale(1.06);
    object-position: center center;
}

/* Keep the small cards visually strong instead of showing a
   tiny centered thumbnail. */
.design-card:not(:first-child) img {
    transform: scale(1.22);
}

/* Slightly taller image area on the two-column/mobile layouts. */
@media (max-width: 900px) {
    .design-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 300px;
        gap: 18px;
    }

    .design-card img {
        transform: scale(1.12);
    }

    .design-card:first-child img {
        transform: scale(1.06);
    }

    .design-card:not(:first-child) img {
        transform: scale(1.16);
    }
}

@media (max-width: 560px) {
    .design-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px;
        gap: 16px;
    }

    .design-card img,
    .design-card:first-child img,
    .design-card:not(:first-child) img {
        transform: scale(1.05);
    }
}
/* Portfolio layout: three portrait cards above two landscape cards. */
.design-grid.design-project-grid {
    display:grid;
    column-count:auto;
    grid-template-columns:repeat(16,minmax(0,1fr));
    grid-template-rows:440px 340px;
    grid-template-areas:
        "brochures brochures brochures brochures brochures brochures social social social social social publication publication publication publication publication"
        "landing landing landing landing landing landing landing landing landing landing other other other other other other";
    gap:20px;
}
.design-project-grid > .design-project {
    width:auto;
    height:100%;
    min-width:0;
    min-height:0;
    margin:0;
    grid-row:auto;
}
.design-project[data-project="brochures"] { grid-area:brochures; }
.design-project[data-project="social-content"] { grid-area:social; }
.design-project[data-project="publication"] { grid-area:publication; }
.design-project[data-project="landing-pages"] { grid-area:landing; }
.design-project[data-project="other-design"] { grid-area:other; }
.design-project-grid .design-project .design-preview {
    height:auto !important;
    min-height:0;
    flex:1 1 0;
}
.design-project-grid .design-project-info {
    padding:18px 20px;
    flex:0 0 auto;
    flex-wrap:wrap;
    gap:8px;
}
.design-project-grid .design-project-info > div { flex:1 1 170px; }
.design-project-grid .design-project-info h3 { font-size:20px; }
.design-project-grid .featured-video-label {
    top:52px;
    max-width:calc(100% - 28px);
}
@media(max-width:900px) {
    .design-grid.design-project-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-template-rows:420px 380px 340px;
        grid-template-areas:"brochures social" "publication other" "landing landing";
    }
}
@media(max-width:560px) {
    .design-grid.design-project-grid {
        grid-template-columns:minmax(0,1fr);
        grid-template-rows:none;
        grid-auto-rows:420px;
        grid-template-areas:"brochures" "social" "publication" "landing" "other";
        gap:16px;
    }
}

/* Dark theme retains original artwork colors. */
html[data-theme="dark"] {
    color-scheme:dark;
    --blush:#211B21;
    --soft:#51414B;
    --dusty:#E3A5BA;
    --berry:#F0BED0;
    --cream:#191619;
    --white:#272127;
    --text:#F5EEF0;
    --muted:#C3B4BC;
    --line:#51414B;
}
.theme-toggle {
    flex-shrink:0;
    border:1px solid var(--line);
    background:var(--white);
    color:var(--text);
    border-radius:24px;
    padding:9px 14px;
    font:600 13px "Segoe UI",Arial,sans-serif;
    cursor:pointer;
}
.theme-toggle:hover { border-color:var(--berry); }
.theme-toggle:focus-visible { outline:3px solid var(--berry); outline-offset:4px; }
nav { gap:18px; }
html[data-theme="dark"] nav { background:rgba(39,33,39,.96); }
html[data-theme="dark"] :is(.quick,.card,.toolbox,.step,.project,.number,.design-card,.modal-block,.proof-image-wrap) {
    background:var(--white);
}
html[data-theme="dark"] :is(.toc,.whycard,.tool-item,.pill,.tag) { background:#352B33; }
html[data-theme="dark"] :is(.primary,.contact-links a) {
    background:#F0BED0;
    color:#281B23;
}
html[data-theme="dark"] :is(.design-click,.featured-video-label,.design-label) {
    background:#F0BED0;
    color:#281B23;
}
html[data-theme="dark"] :is(.design-nav,.design-dots,.modal-close) {
    background:#352B33;
    color:var(--text);
}
html[data-theme="dark"] .design-nav:hover { background:#51414B; }
html[data-theme="dark"] .design-dot { background:#9A7787; }
html[data-theme="dark"] .design-dot.active { background:#F0BED0; }
html[data-theme="dark"] .contact { background:#352B33; color:var(--text); }
html[data-theme="dark"] .contact h2 { color:var(--text); }
html[data-theme="dark"] .contact h2 span { color:var(--berry); }
html[data-theme="dark"] .contact p { color:var(--muted); }
html[data-theme="dark"] footer { background:#191619; color:var(--muted); }
html[data-theme="dark"] .design-project:focus-visible { outline-color:var(--berry); }
@media(min-width:901px) and (max-width:1150px) {
    .navlinks { gap:14px; }
    .navlinks a { font-size:11px; }
}
/* Keep the Contact label readable over its dark section background. */
html[data-theme="dark"] #contact .eyebrow {
    color:var(--berry) !important;
}


/* One persistent return control with compact mobile spacing. */
section[id] { scroll-margin-top:100px; }
.floating-contents {
    position:fixed;
    right:max(20px,env(safe-area-inset-right));
    bottom:calc(20px + env(safe-area-inset-bottom));
    z-index:19;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:44px;
    padding:11px 17px;
    border:1px solid var(--berry);
    border-radius:28px;
    background:var(--white);
    color:var(--berry);
    box-shadow:0 4px 18px rgba(0,0,0,.18);
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}
.floating-contents[hidden] { display:none; }
.floating-contents:hover { background:var(--blush); }
.floating-contents:focus-visible { outline:3px solid var(--berry); outline-offset:4px; }
body { padding-bottom:80px; }
@media(max-width:560px) {
    .floating-contents {
        right:calc(12px + env(safe-area-inset-right));
        bottom:calc(12px + env(safe-area-inset-bottom));
        padding:10px 13px;
        font-size:12px;
    }
    .floating-contents-label { font-size:0; }
    .floating-contents-label::after { content:"Table of contents"; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Clear feedback without automatic motion. */
.skip-link { position:fixed; top:8px; left:8px; z-index:100; padding:12px 18px; background:var(--white); color:var(--text); transform:translateY(-160%); }
.skip-link:focus { transform:translateY(0); }
.menu-toggle { display:none; border:1px solid var(--line); background:var(--white); color:var(--text); padding:10px 14px; min-height:44px; border-radius:24px; font:600 13px "Segoe UI",Arial,sans-serif; cursor:pointer; }
.menu-toggle[hidden] { display:none; }
.project-explore:focus-visible,.menu-toggle:focus-visible { outline:3px solid var(--berry); outline-offset:3px; }
.design-nav { width:44px; height:44px; }
.design-dots { gap:0; padding:2px 4px; }
.design-dot { width:24px; height:24px; background:transparent; position:relative; }
.design-dot::after { content:""; position:absolute; width:7px; height:7px; border-radius:50%; background:var(--soft); inset:0; margin:auto; }
.design-dot.active { background:transparent; transform:none; }
.design-dot.active::after { background:var(--berry); }
html[data-theme="dark"] .design-dot,html[data-theme="dark"] .design-dot.active { background:transparent; }
html[data-theme="dark"] .design-dot::after { background:#9A7787; }
html[data-theme="dark"] .design-dot.active::after { background:#F0BED0; }
.design-dot:focus-visible { outline:2px solid var(--berry); outline-offset:0; }
.design-click { min-height:36px; display:inline-flex; align-items:center; }
.design-preview-slide { transition:none; transform:none; }
.video-cover { height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:var(--berry); padding:55px 25px; background:var(--blush); text-align:center; }
.video-cover-icon { font-size:36px; }
.video-cover small { color:var(--muted); font-size:12px; }
@media(max-width:900px) {
    nav { padding:0 5%; gap:8px; }
    .logo { font-size:16px; margin-right:auto; }
    .menu-toggle:not([hidden]) { display:inline-flex; align-items:center; }
    .navlinks { display:flex; position:absolute; top:82px; left:0; right:0; flex-wrap:wrap; justify-content:center; gap:6px; padding:12px; background:var(--cream); border-bottom:1px solid var(--line); }
    .navigation-ready .navlinks { display:none; }
    .navigation-ready .navlinks.is-open { display:flex; }
    .navlinks a { padding:10px 12px; min-height:44px; display:flex; align-items:center; }
    .theme-toggle { min-height:44px; padding:9px 11px; }
    .design-click { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) {
    html { scroll-behavior:auto; }
    *,*::before,*::after { animation:none !important; transition:none !important; }
    .card:hover,.project:hover,.design-card:hover,.design-nav:hover { transform:none; }
}
.preview-play-toggle {
    position:absolute;
    left:12px;
    bottom:45px;
    z-index:4;
    min-height:44px;
    padding:9px 13px;
    border:1px solid var(--line);
    border-radius:24px;
    background:var(--white);
    color:var(--text);
    font:600 12px "Segoe UI",Arial,sans-serif;
    cursor:pointer;
}
.preview-play-toggle:focus-visible { outline:3px solid var(--berry); outline-offset:3px; }

/* Brand image at the left of the navigation, with compact mobile sizing. */
nav .logo { display:inline-flex; align-items:center; gap:12px; flex-shrink:0; }
nav .brand-logo { width:72px; height:48px; object-fit:contain; border-radius:8px; }
@media(max-width:1150px) {
    nav .logo-name { display:none; }
    nav .brand-logo { width:66px; height:44px; }
}
