:root {
    --font-heading: "Fraunces", serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --font-accent: "Space Grotesk", sans-serif;
    --font-logo: "Fredoka One", "Space Grotesk", sans-serif;
    --font-footer: "Playpen Sans Thai", "Fraunces", serif;

    --cream: #faf6ee;
    --biscuit: #f4eee1;
    --paper: #ffffff;
    --charcoal: #1e1e1a;
    --ink-soft: #3e3e38;
    --muted: #6c6c64;
    --yellow: #ffce1b;
    --coral: #c45f3f;
    --coral-deep: #c46040;
    --orange: #eb763d;
    --teal: #008471;
    --blue: #80b0e8;
    --lavender: #d1caea;
    --pink: #ffc0c0;
    --lime: #d6d35f;
    --electric-lime: #e2f230;

    --container: 1140px;
    --nav-height: 80px;
    --border: 1.67px solid var(--charcoal);
    --shadow: 6px 6px 0 var(--charcoal);
    --shadow-small: 4px 4px 0 var(--charcoal);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--cream);
    color: var(--charcoal);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}

ul,
dl,
dd {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

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

.section {
    position: relative;
    padding: 100px 0;
}

.scroll-offset {
    scroll-margin-top: calc(var(--nav-height) + 24px);
}

.text-yellow {
    color: var(--yellow);
}

.text-coral {
    color: var(--coral);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 30px;
    border: var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow);
    color: var(--charcoal);
    cursor: pointer;
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.btn:hover,
.btn:focus-visible {
    box-shadow: 3px 3px 0 var(--charcoal);
    transform: translate(3px, 3px);
}

.btn-primary {
    background: var(--yellow);
}

.btn-secondary {
    background: var(--orange);
}

.btn-lime {
    background: var(--electric-lime);
    min-height: 46px;
    padding-inline: 26px;
}

.navbar {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(250, 246, 238, 0.96);
    backdrop-filter: blur(7.5px);
}

.navbar.scrolled {
    border-bottom: 1px solid rgba(30, 30, 26, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 48px, var(--container));
    height: 100%;
    margin: 0 auto;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    min-width: 116px;
    font-size: 1.4rem;
    line-height: 1;
    white-space: nowrap;
}

.logo-bracket {
    color: var(--yellow);
    font-family: var(--font-heading);
    font-weight: 400;
}

.logo-text {
    color: #2a2a27;
    font-family: var(--font-logo);
    letter-spacing: -0.02em;
    margin: 0 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    position: relative;
    padding: 8px 0;
    color: var(--ink-soft);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.nav-link.active {
    color: #20201c;
}

.nav-link.active::after {
    position: absolute;
    right: 6%;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--yellow);
    content: "";
}

.nav-cta {
    min-height: 40px;
    padding: 10px 20px;
    font-size: 0.8rem;
}

.mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--yellow);
    border: var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow-small);
    cursor: pointer;
}

.bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--charcoal);
    transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero-section {
    min-height: 726px;
    padding-top: 132px;
    padding-bottom: 82px;
    background: var(--cream);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: center;
    gap: 50px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 14px 6px;
    background: var(--coral-deep);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-accent);
    font-size: 0.775rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.hero-title {
    max-width: 640px;
    color: var(--charcoal);
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
}

.hero-lead {
    color: var(--ink-soft);
    font-size: 1.075rem;
    line-height: 1.65;
}

.founder-callout {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    width: 100%;
    min-height: 76px;
    gap: 17px;
    padding: 14px 18px;
    background: var(--biscuit);
    border: var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.founder-callout p {
    color: var(--ink-soft);
    font-size: 0.925rem;
    font-weight: 600;
    line-height: 1.5;
}

.flower-mark,
.flower-float {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
}

.flower-mark::before,
.flower-float::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow:
        0 -15px 0 var(--yellow),
        11px -11px 0 var(--yellow),
        15px 0 0 var(--yellow),
        11px 11px 0 var(--yellow),
        0 15px 0 var(--yellow),
        -11px 11px 0 var(--yellow),
        -15px 0 0 var(--yellow),
        -11px -11px 0 var(--yellow);
    content: "";
    transform: translate(-50%, -50%);
}

.flower-mark::after,
.flower-float::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background: var(--coral);
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
}

.founder-callout .flower-mark {
    width: 44px;
    height: 44px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 9px;
}

.palette-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border: var(--border);
    border-radius: 18px 23px 23px 18px;
    backdrop-filter: blur(10px);
}

.palette-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--charcoal);
    color: var(--muted);
    font-family: var(--font-accent);
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.palette-dots {
    display: inline-flex;
    gap: 6px;
}

.dot {
    width: 14px;
    height: 14px;
    border: 1px solid var(--charcoal);
    border-radius: 50%;
}

.dot-yellow {
    background: var(--yellow);
}

.dot-coral {
    background: var(--coral);
}

.dot-teal {
    background: var(--teal);
}

.palette-photo {
    width: 100%;
    height: 221px;
    border-radius: 16px;
    object-fit: cover;
}

.profile-mini-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 17px 25px;
    background: var(--biscuit);
    border: var(--border);
    border-radius: 16px;
}

.profile-mini-card strong {
    display: block;
    color: var(--charcoal);
    font-size: 0.9rem;
    line-height: 1.3;
}

.profile-mini-card span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.75rem;
    line-height: 1.3;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-tags .tag {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.55;
}

.tag-yellow {
    background: rgba(255, 206, 27, 0.16);
    color: #9a6700;
}

.tag-coral {
    background: rgba(196, 95, 63, 0.13);
    color: var(--coral);
}

.tag-teal {
    background: rgba(0, 132, 113, 0.13);
    color: var(--teal);
}

.spark {
    position: absolute;
    width: 36px;
    height: 36px;
    clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.spark-yellow {
    background: var(--yellow);
}

.spark-coral {
    background: var(--coral);
}

.spark-hero-right {
    top: 25%;
    right: 6%;
}

.spark-hero-low {
    right: 45%;
    bottom: 14%;
}

.section[class*="scallop-from"]::before {
    position: absolute;
    z-index: 2;
    top: -39px;
    left: 0;
    width: 100%;
    height: 40px;
    background: radial-gradient(ellipse 44px 40px at 44px 40px, var(--scallop-color) 98%, transparent 100%) repeat-x;
    background-size: 88px 40px;
    content: "";
    pointer-events: none;
}

.value-section {
    --scallop-color: var(--pink);
    padding-top: 74px;
    padding-bottom: 138px;
    background: var(--pink);
}

.value-section::after {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 44px;
    background: radial-gradient(ellipse 44px 44px at 44px 44px, var(--cream) 98%, transparent 100%) repeat-x;
    background-size: 88px 44px;
    content: "";
    pointer-events: none;
}

.value-section + .services-section::before {
    display: none;
}

.value-card {
    position: relative;
    z-index: 3;
    padding: 48px 49px;
    background: var(--paper);
    border-radius: 18px 23px 23px 18px;
    box-shadow: var(--shadow);
}

.value-card h2 {
    color: var(--coral-deep);
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
    margin-bottom: 24px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.value-grid p {
    color: var(--ink-soft);
    font-size: 0.975rem;
    line-height: 1.65;
}

.services-section {
    --scallop-color: var(--cream);
    padding-bottom: 160px;
    background: var(--cream);
}

.section-heading {
    position: relative;
    z-index: 3;
    margin-bottom: 55px;
}

.section-heading h2 {
    color: var(--coral);
    font-family: var(--font-heading);
    font-size: 2.65rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--ink-soft);
    font-size: 1rem;
    font-weight: 500;
}

.ghost-word {
    position: absolute;
    z-index: 0;
    color: transparent;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    opacity: 0.42;
    pointer-events: none;
    text-transform: lowercase;
    -webkit-text-stroke: 1px rgba(30, 30, 26, 0.13);
}

.ghost-services {
    top: 68px;
    right: 12%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card,
.project-card-inner,
.process-card,
.tool-card,
.best-fit-card,
.contact-info-panel,
.contact-form-panel {
    background: var(--paper);
    border: var(--border);
    border-radius: 16px 23px 23px 16px;
    box-shadow: var(--shadow);
}

.service-card {
    min-height: 231px;
    padding: 28px;
}

.card-kicker,
.project-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-kicker span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    min-height: 24px;
    padding: 3px 8px;
    background: rgba(255, 206, 27, 0.14);
    border-radius: 4px;
    color: var(--yellow);
}

.service-card h3 {
    color: var(--yellow);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.service-card p,
.service-card li {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.service-card ul {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.service-card li {
    position: relative;
    padding-left: 18px;
}

.service-card li::before {
    position: absolute;
    left: 0;
    color: var(--yellow);
    content: "+";
    font-weight: 800;
}

.projects-section {
    --scallop-color: var(--lavender);
    padding-bottom: 66px;
    background: var(--lavender);
}

.spark-projects {
    top: 91px;
    right: 16%;
    width: 24px;
    height: 24px;
}

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--charcoal);
    margin-bottom: 40px;
}

.filter-btn {
    min-height: 30px;
    padding: 7px 16px;
    background: transparent;
    border-radius: 999px;
    color: var(--ink-soft);
    cursor: pointer;
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 160ms var(--ease), color 160ms var(--ease);
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
    background: var(--yellow);
    color: var(--charcoal);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    display: block;
    min-width: 0;
}

.project-card-inner {
    min-height: 365px;
    padding: 32px 28px 28px;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.project-card:hover .project-card-inner,
.project-card:focus-visible .project-card-inner {
    box-shadow: 3px 3px 0 var(--charcoal);
    transform: translate(3px, 3px);
}

.project-topline {
    margin-bottom: 27px;
    color: var(--muted);
}

.project-topline strong {
    display: inline-flex;
    padding: 4px 8px;
    background: rgba(0, 132, 113, 0.08);
    border: 1px solid rgba(0, 132, 113, 0.22);
    border-radius: 4px;
    color: var(--coral);
    font-size: 0.65rem;
}

.project-topline .badge-blue {
    background: rgba(128, 176, 232, 0.18);
    border-color: rgba(63, 124, 196, 0.24);
    color: var(--teal);
}

.project-card h3 {
    color: var(--yellow);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.project-card p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.55;
    min-height: 76px;
}

.outcome {
    margin: 16px 0 25px;
    padding: 16px;
    background: var(--biscuit);
    border-left: 3px solid var(--yellow);
    border-radius: 4px;
    color: var(--charcoal);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.55;
}

.project-card dl {
    display: grid;
    gap: 7px;
    padding-top: 18px;
    border-top: 1px solid var(--charcoal);
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.project-card dl div {
    display: flex;
    gap: 4px;
}

.process-section {
    --scallop-color: var(--cream);
    padding-bottom: 78px;
    background: var(--cream);
}

.ghost-process {
    top: 92px;
    right: 7%;
    font-size: 7.2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 24px;
}

.process-card {
    min-height: 128px;
    padding: 27px 28px;
}

.process-card span {
    display: block;
    color: var(--coral);
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
}

.process-card h3 {
    color: var(--coral);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 7px;
}

.process-card p {
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.tools-section {
    --scallop-color: var(--lime);
    padding-bottom: 50px;
    background: var(--lime);
}

.tools-section .section-heading h2 {
    color: var(--teal);
}

.ghost-tools {
    top: 85px;
    right: 6%;
    font-size: 7.4rem;
    -webkit-text-stroke-color: rgba(137, 142, 70, 0.28);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tool-card {
    padding: 31px 32px;
}

.tool-card-wide {
    grid-column: 1 / -1;
}

.tool-card h3,
.best-fit-card h3 {
    color: #1986f4;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 16px;
    border-top: 1px solid var(--charcoal);
}

.chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 14px;
    border: 1px solid var(--charcoal);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.best-fit-card {
    margin-top: 34px;
    padding: 36px 34px;
    border-style: dashed;
    box-shadow: none;
}

.best-fit-card h3 {
    text-align: center;
}

.best-fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.best-fit-card ul {
    display: grid;
    gap: 16px;
}

.best-fit-card li {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.best-fit-card li::before {
    color: var(--charcoal);
    content: "check ";
    font-weight: 800;
}

.about-section {
    --scallop-color: var(--cream);
    padding-top: 114px;
    padding-bottom: 57px;
    background: var(--cream);
}

.ghost-about {
    top: 55px;
    right: 18%;
    font-size: 7.2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: 80px;
}

.about-copy h2 {
    font-family: var(--font-heading);
    font-size: 2.95rem;
    line-height: 1.15;
    margin-bottom: 18px;
}

.about-copy p {
    max-width: 700px;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.78;
}

.about-copy p + p {
    margin-top: 16px;
}

.portrait-frame {
    position: relative;
    justify-self: center;
    width: 260px;
    aspect-ratio: 1 / 1.28;
    overflow: hidden;
    background: var(--lime);
    border: var(--border);
    border-radius: 48% 48% 42% 42%;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.contact-section {
    --scallop-color: var(--blue);
    padding-bottom: 72px;
    background: var(--blue);
}

.contact-section .section-heading h2 {
    color: var(--electric-lime);
}

.ghost-contact {
    top: 88px;
    right: 8%;
    font-size: 7.5rem;
    -webkit-text-stroke-color: rgba(63, 124, 196, 0.26);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
    gap: 48px;
}

.contact-info-panel {
    min-height: 415px;
    padding: 40px 36px;
}

.contact-info-panel h3 {
    color: #3f7cc4;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 13px;
}

.contact-info-panel p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 36px;
}

.contact-method {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: rgba(128, 176, 232, 0.22);
    border-radius: 4px;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #3f7cc4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.contact-method span {
    display: block;
    color: var(--muted);
    font-family: var(--font-accent);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-method a,
.contact-method strong {
    color: var(--charcoal);
    font-size: 1rem;
    font-weight: 800;
    word-break: break-word;
}

.contact-form-panel {
    min-height: 415px;
    padding: 40px 36px;
}

.contact-form {
    display: grid;
    gap: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    position: relative;
    min-height: 58px;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    min-height: 36px;
    padding: 9px 0 7px;
    background: transparent;
    border: 0;
    border-bottom: 1.5px solid var(--charcoal);
    border-radius: 0;
    color: var(--charcoal);
    outline: 0;
}

.form-group textarea {
    min-height: 91px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--muted);
    font-size: 0.925rem;
    pointer-events: none;
    transition: transform 160ms var(--ease), color 160ms var(--ease);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label {
    color: #3f7cc4;
    font-weight: 800;
    transform: translateY(-22px) scale(0.8);
    transform-origin: left top;
}

.select-group label {
    color: #3f7cc4;
    font-weight: 800;
    transform: translateY(-22px) scale(0.8);
    transform-origin: left top;
}

.error-msg {
    display: none;
    padding-top: 4px;
    color: var(--electric-lime);
    font-size: 0.725rem;
}

.form-group.invalid .error-msg {
    display: block;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: var(--coral);
}

.form-success-alert {
    display: none;
    align-items: center;
    padding: 12px 14px;
    background: rgba(226, 242, 48, 0.2);
    border: 1px solid rgba(30, 30, 26, 0.25);
    border-radius: 4px;
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-form .btn-lime {
    justify-self: start;
    min-width: 180px;
}

.footer {
    padding: 60px 0;
    background: var(--teal);
    border-top: var(--border);
    color: var(--cream);
}

.footer-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
}

.footer-name {
    color: var(--yellow);
    font-family: var(--font-footer);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
}

.footer-role {
    margin-top: 4px;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-copy {
    max-width: 450px;
    margin-top: 18px;
    color: rgba(250, 246, 238, 0.86);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-nav-wrap {
    display: grid;
    justify-items: end;
    gap: 16px;
    color: rgba(250, 246, 238, 0.75);
    font-size: 0.8rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: var(--cream);
    font-weight: 600;
}

.flower-float {
    z-index: 1;
    pointer-events: none;
}

.flower-services {
    top: 255px;
    left: 5%;
}

.flower-projects {
    right: 7%;
    bottom: 29%;
}

.flower-process {
    top: 43%;
    left: 6%;
}

.flower-tools {
    right: 5.6%;
    bottom: 27%;
}

.flower-about {
    top: 33%;
    right: 17%;
}

.flower-contact {
    bottom: 32%;
    left: 7%;
}

@media (max-width: 1180px) {
    .container,
    .nav-container {
        width: min(100% - 40px, var(--container));
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
        gap: 36px;
    }

    .hero-title {
        font-size: 3rem;
    }

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

@media (max-width: 980px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .nav-menu.open {
        position: fixed;
        top: var(--nav-height);
        right: 20px;
        left: 20px;
        display: grid;
        gap: 0;
        padding: 16px 20px;
        background: var(--cream);
        border: var(--border);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .nav-menu.open .nav-link {
        padding: 14px 0;
    }

    .hero-grid,
    .value-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 120px;
    }

    .palette-card {
        width: 100%;
        max-width: 520px;
    }

    .services-grid,
    .projects-grid,
    .process-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card-wide {
        grid-column: auto;
    }

    .contact-grid {
        gap: 28px;
    }

    .ghost-word {
        font-size: 5.2rem;
    }
}

@media (max-width: 700px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container,
    .nav-container {
        width: 100%;
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .nav-container {
        gap: 12px;
    }

    .hero-grid,
    .hero-copy,
    .hero-grid > *,
    .palette-card,
    .founder-callout,
    .value-card,
    .service-card,
    .project-card,
    .project-card-inner,
    .process-card,
    .tool-card,
    .best-fit-card,
    .contact-info-panel,
    .contact-form-panel {
        min-width: 0;
        max-width: 100%;
    }

    .section {
        padding-top: 76px;
        padding-bottom: 86px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 92px;
    }

    .hero-title {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: 1.95rem;
        line-height: 1.18;
    }

    .hero-lead,
    .founder-callout p,
    .value-grid p,
    .service-card p,
    .service-card li {
        overflow-wrap: anywhere;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .founder-callout {
        grid-template-columns: 36px 1fr;
        padding: 14px;
    }

    .founder-callout .flower-mark {
        width: 36px;
        height: 36px;
    }

    .hero-actions,
    .projects-filter {
        gap: 12px;
    }

    .btn {
        width: 100%;
        min-height: 46px;
    }

    .hero-actions .btn {
        width: auto;
        min-width: 148px;
    }

    .value-card,
    .service-card,
    .project-card-inner,
    .process-card,
    .tool-card,
    .best-fit-card,
    .contact-info-panel,
    .contact-form-panel {
        border-radius: 12px;
        box-shadow: 4px 4px 0 var(--charcoal);
    }

    .value-card,
    .contact-info-panel,
    .contact-form-panel {
        padding: 30px 22px;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2,
    .about-copy h2 {
        font-size: 2.25rem;
    }

    .value-card h2 {
        font-size: 1.75rem;
    }

    .form-row,
    .best-fit-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        display: grid;
    }

    .footer-nav-wrap {
        justify-items: start;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .ghost-word,
    .spark,
    .flower-float {
        opacity: 0.45;
    }

    .ghost-word {
        right: 16px;
        font-size: 3.5rem;
    }
}

@media (max-width: 460px) {
    .hero-title {
        font-size: 2.05rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .palette-card {
        padding: 18px;
        overflow: hidden;
    }

    .palette-card-header {
        align-items: flex-start;
        gap: 12px;
    }

    .palette-photo {
        height: 180px;
    }

    .projects-filter {
        align-items: flex-start;
        flex-direction: column;
        border-bottom: 0;
    }

    .filter-btn {
        width: auto;
    }

    .chip-row span {
        white-space: normal;
    }
}

/* ==========================================================================
   Inner Pages
   ========================================================================== */
.inner-page {
    background: var(--cream);
}

.inner-page main {
    padding-top: var(--nav-height);
}

.page-hero {
    padding: 104px 0 74px;
    text-align: center;
}

.page-kicker,
.case-tag,
.project-tag,
.breadcrumb {
    font-family: var(--font-accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.page-kicker {
    color: var(--coral);
    margin-bottom: 18px;
}

.page-hero h1,
.contact-page .section-heading h1 {
    color: var(--coral);
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.98;
}

.contact-page .section-heading h1 {
    margin-bottom: 14px;
}

.projects-page-hero {
    background: var(--cream);
}

.project-index-list {
    background: var(--cream);
}

.project-showcase {
    padding: 80px 0;
}

.project-showcase-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.96fr) minmax(0, 1.04fr);
    align-items: center;
    gap: 72px;
}

.project-showcase-reverse .project-showcase-grid .laptop-mock {
    order: 2;
}

.project-showcase-reverse .project-showcase-grid .project-copy {
    order: 1;
}

.project-showcase-yellow {
    background: var(--yellow);
}

.project-showcase-coral {
    background: var(--coral);
}

.project-showcase-green {
    background: var(--lime);
}

.project-showcase-blue {
    background: var(--blue);
}

.project-copy {
    display: grid;
    gap: 18px;
    max-width: 610px;
}

.project-tag,
.case-tag {
    display: inline-flex;
    justify-self: start;
    min-height: 30px;
    align-items: center;
    padding: 8px 13px;
    background: var(--paper);
    border: var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow-small);
    color: var(--coral);
}

.project-showcase-coral .project-tag,
.case-hero-violet .case-tag {
    color: #6950b6;
}

.project-copy h2,
.case-copy h1,
.case-section h2,
.case-band h2,
.resume-hero h1,
.resume-section-title {
    font-family: var(--font-heading);
    letter-spacing: 0;
    line-height: 1.05;
}

.project-copy h2 {
    color: var(--charcoal);
    font-size: clamp(2.6rem, 6vw, 5.1rem);
    font-weight: 800;
}

.project-copy p {
    color: var(--charcoal);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.75;
}

.project-showcase-coral .project-copy p,
.project-showcase-coral .project-copy h2 {
    color: var(--paper);
}

.laptop-mock {
    position: relative;
    display: block;
    width: min(100%, 520px);
    aspect-ratio: 1.55 / 1;
    padding: 18px 18px 33px;
    background: #2b2b31;
    border: 2px solid var(--charcoal);
    border-radius: 18px 18px 12px 12px;
    box-shadow: 12px 16px 0 rgba(30, 30, 26, 0.24);
    transform: rotate(-2deg);
}

.project-showcase-reverse .laptop-mock {
    justify-self: end;
    transform: rotate(2deg);
}

.laptop-large {
    width: min(100%, 560px);
}

.laptop-mock::after {
    position: absolute;
    right: 18%;
    bottom: -22px;
    left: 18%;
    height: 22px;
    background: #c8c8cf;
    border: 2px solid var(--charcoal);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    content: "";
}

.laptop-screen {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f7f7f7;
    border: 2px solid #111;
    border-radius: 8px;
}

.mock-nav,
.mock-hero,
.mock-rows,
.mock-tiles,
.mock-pill-row,
.mock-columns {
    position: absolute;
    display: block;
}

.mock-nav {
    top: 0;
    left: 0;
    width: 100%;
    height: 12%;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}

.mock-nav::before,
.mock-nav::after {
    position: absolute;
    top: 38%;
    height: 22%;
    border-radius: 99px;
    content: "";
}

.mock-nav::before {
    left: 6%;
    width: 18%;
    background: currentColor;
}

.mock-nav::after {
    right: 6%;
    width: 32%;
    background: rgba(30, 30, 26, 0.18);
}

.mock-hero {
    top: 19%;
    left: 7%;
    width: 48%;
    height: 28%;
    border-radius: 12px;
    background: currentColor;
}

.mock-hero::after {
    position: absolute;
    right: -62%;
    bottom: 4%;
    width: 50%;
    height: 72%;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(30, 30, 26, 0.08);
    content: "";
}

.mock-rows {
    right: 7%;
    bottom: 10%;
    left: 7%;
    height: 30%;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0 30%, transparent 30% 35%, rgba(255, 255, 255, 0.88) 35% 65%, transparent 65% 70%, rgba(255, 255, 255, 0.88) 70% 100%);
    border-radius: 10px;
}

.mock-tiles {
    right: 8%;
    bottom: 11%;
    left: 8%;
    height: 29%;
    background:
        linear-gradient(90deg, rgba(255, 210, 56, 0.95) 0 23%, transparent 23% 27%, rgba(255, 255, 255, 0.9) 27% 50%, transparent 50% 54%, rgba(72, 203, 185, 0.85) 54% 77%, transparent 77% 81%, rgba(255, 255, 255, 0.9) 81% 100%);
    border-radius: 14px;
}

.mock-pill-row {
    right: 7%;
    bottom: 14%;
    left: 7%;
    height: 24%;
    background:
        radial-gradient(circle at 13% 50%, #ffffff 0 23px, transparent 24px),
        radial-gradient(circle at 38% 50%, #ffffff 0 23px, transparent 24px),
        radial-gradient(circle at 63% 50%, #ffffff 0 23px, transparent 24px),
        radial-gradient(circle at 88% 50%, #ffffff 0 23px, transparent 24px);
    border-radius: 999px;
}

.mock-columns {
    right: 7%;
    bottom: 11%;
    left: 7%;
    height: 29%;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 31%, transparent 31% 35%, rgba(255, 255, 255, 0.92) 35% 66%, transparent 66% 70%, rgba(255, 255, 255, 0.92) 70% 100%);
    border-radius: 10px;
}

.laptop-red .laptop-screen {
    color: #ed1c24;
    background: linear-gradient(135deg, #fff7f3 0%, #fbe9e6 48%, #ffe166 100%);
}

.laptop-violet .laptop-screen {
    color: #6b42f4;
    background: linear-gradient(135deg, #281552 0%, #5b3bd7 55%, #f45bd3 100%);
}

.laptop-sleep .laptop-screen {
    color: #4a6f47;
    background: linear-gradient(135deg, #eff7e7 0%, #cbe2bb 50%, #f7e7c8 100%);
}

.laptop-business .laptop-screen {
    color: #265ca8;
    background: linear-gradient(135deg, #eef6ff 0%, #b9dcff 50%, #fff2b7 100%);
}

/* Resume */
.resume-page {
    background: var(--biscuit);
}

.resume-hero {
    padding: 58px 0 54px;
    background: var(--cream);
}

.resume-hero-grid {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}

.resume-avatar {
    width: 140px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
}

.resume-hero h1 {
    max-width: none;
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: clamp(2rem, 3vw, 2.55rem);
    font-weight: 800;
    line-height: 1.15;
}

.resume-role-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 14px 0 8px;
    color: var(--charcoal);
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.2;
}

.resume-role-line span:not(:last-child)::after {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 22px;
    background: var(--coral);
    border-radius: 50%;
    content: "";
    vertical-align: middle;
}

.resume-hero p {
    max-width: 900px;
    color: var(--ink-soft);
    font-family: var(--font-footer);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
}

.resume-band {
    padding: 78px 0;
    background: var(--biscuit);
}

.resume-band-white {
    background: var(--paper);
}

.resume-section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 36px;
    padding-left: 28px;
    color: var(--coral);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 700;
    text-transform: lowercase;
}

.resume-section-title::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 13px;
    height: 13px;
    background: var(--coral);
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
}

.skill-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.skill-card {
    display: grid;
    align-content: start;
    min-height: 210px;
    gap: 18px;
    padding: 28px 24px;
    background: var(--cream);
    border: var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-small);
}

.skill-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: var(--border);
    border-radius: 12px;
    color: var(--paper);
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 800;
}

.figma-icon {
    background: #8952ff;
}

.ps-icon {
    background: #2459d6;
}

.ai-icon {
    background: #f08a24;
}

.canva-icon {
    background: #0db4c8;
}

.skill-card strong {
    color: var(--charcoal);
    font-family: var(--font-accent);
    font-size: 1.02rem;
    line-height: 1.25;
    text-transform: lowercase;
}

.proficiency {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    margin-top: auto;
}

.proficiency span {
    height: 10px;
    background: rgba(30, 30, 26, 0.12);
    border: 1px solid rgba(30, 30, 26, 0.32);
    border-radius: 999px;
}

.proficiency-3 span:nth-child(-n+3),
.proficiency-4 span:nth-child(-n+4) {
    background: var(--yellow);
}

.resume-list {
    display: grid;
    gap: 26px;
}

.resume-item {
    padding: 30px 34px;
    background: var(--paper);
    border: var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-small);
}

.resume-band-white .resume-item {
    background: var(--cream);
}

.resume-item-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.resume-item h3 {
    color: var(--teal);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.15;
}

.resume-item p,
.resume-item time,
.resume-item li {
    color: var(--ink-soft);
}

.resume-item p {
    margin-top: 5px;
    font-weight: 700;
}

.resume-item time {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 800;
    text-align: right;
}

.resume-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.resume-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 11px;
    background: rgba(255, 206, 27, 0.2);
    border: 1px solid rgba(30, 30, 26, 0.2);
    border-radius: 999px;
    color: var(--charcoal);
    font-size: 0.73rem;
    font-weight: 800;
}

.resume-item ul {
    display: grid;
    gap: 10px;
}

.resume-item li {
    position: relative;
    padding-left: 18px;
    font-size: 0.94rem;
}

.resume-item li::before {
    position: absolute;
    left: 0;
    color: var(--coral);
    content: "+";
    font-weight: 900;
}

.resume-compact h3 + ul {
    margin-top: 12px;
}

.resume-compact ul + h3 {
    margin-top: 26px;
}

/* Contact page */
.contact-page-section {
    min-height: calc(100vh - var(--nav-height));
    padding-top: 114px;
}

.contact-page .section-heading {
    max-width: 700px;
}

.contact-page .section-heading h1 {
    color: var(--electric-lime);
    font-size: clamp(2.75rem, 5vw, 4.25rem);
    line-height: 1.06;
}

.contact-info-panel h2 {
    color: #3f7cc4;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 13px;
}

/* Case studies */
.case-hero {
    padding: 92px 0 96px;
}

.case-hero-red {
    background: var(--yellow);
}

.case-hero-violet {
    background: var(--coral);
}

.case-hero-green {
    background: var(--lime);
}

.case-hero-blue {
    background: var(--blue);
}

.case-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    align-items: center;
    gap: 68px;
}

.case-copy {
    display: grid;
    justify-items: start;
    gap: 20px;
}

.breadcrumb {
    color: rgba(30, 30, 26, 0.76);
    text-transform: lowercase;
}

.case-copy h1 {
    max-width: 650px;
    color: var(--charcoal);
    font-size: clamp(3rem, 6.6vw, 6rem);
    font-weight: 800;
}

.case-copy p {
    max-width: 620px;
    color: var(--charcoal);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.7;
}

.case-hero-violet .breadcrumb,
.case-hero-violet .case-copy h1,
.case-hero-violet .case-copy p {
    color: var(--paper);
}

.case-band,
.case-section {
    padding: 82px 0;
}

.case-band-cream {
    background: var(--cream);
}

.case-band-pink {
    background: var(--pink);
}

.case-band-green {
    background: #eff3db;
}

.case-band-blue {
    background: #d8ebff;
}

.case-two-col {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
    gap: 62px;
}

.case-band h2,
.case-section h2 {
    color: var(--coral);
    font-size: clamp(2.2rem, 4.4vw, 4.1rem);
    font-weight: 800;
}

.case-band p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.78;
}

.case-section {
    background: var(--paper);
}

.case-section-blue {
    background: var(--blue);
}

.case-section-yellow {
    background: var(--yellow);
}

.case-section-green {
    background: var(--lime);
}

.case-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.case-info-card {
    min-height: 168px;
    padding: 24px;
    background: var(--cream);
    border: var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-small);
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
}

.challenge-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.challenge-list p {
    min-height: 178px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: var(--border);
    border-radius: 14px;
    color: var(--charcoal);
    font-weight: 800;
    line-height: 1.65;
}

.screen-section {
    background: var(--cream);
}

.screen-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.screen-shot {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 360px;
    overflow: hidden;
    padding: 24px;
    background: var(--paper);
    border: var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-small);
}

.screen-shot span {
    position: absolute;
    top: 24px;
    right: 24px;
    left: 24px;
    height: 68%;
    border-radius: 13px;
    background:
        linear-gradient(180deg, currentColor 0 18%, transparent 18%),
        linear-gradient(90deg, rgba(255,255,255,0.9) 0 30%, transparent 30% 35%, rgba(255,255,255,0.9) 35% 65%, transparent 65% 70%, rgba(255,255,255,0.9) 70% 100%);
}

.screen-shot strong {
    position: relative;
    color: var(--charcoal);
    font-family: var(--font-accent);
    font-size: 0.9rem;
    line-height: 1.35;
}

.screen-red {
    color: #ed1c24;
}

.screen-violet {
    color: #6b42f4;
}

.screen-sleep {
    color: #5f7f54;
}

.screen-business {
    color: #265ca8;
}

@media (max-width: 1180px) {
    .project-showcase-grid,
    .case-hero-grid {
        gap: 42px;
    }

    .case-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .project-showcase-grid,
    .case-hero-grid,
    .case-two-col {
        grid-template-columns: 1fr;
    }

    .project-showcase-reverse .project-showcase-grid .laptop-mock,
    .project-showcase-reverse .project-showcase-grid .project-copy {
        order: initial;
    }

    .project-showcase-reverse .laptop-mock,
    .laptop-mock {
        justify-self: start;
        transform: none;
    }

    .skill-strip,
    .challenge-list,
    .screen-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resume-hero-grid {
        gap: 34px;
    }
}

@media (max-width: 700px) {
    .inner-page main {
        padding-top: var(--nav-height);
    }

    .project-showcase,
    .case-hero,
    .case-band,
    .case-section,
    .contact-page-section,
    .resume-band,
    .resume-hero {
        overflow-x: hidden;
    }

    .project-showcase-grid,
    .project-copy,
    .case-hero-grid,
    .case-copy,
    .case-two-col,
    .contact-grid,
    .resume-hero-grid,
    .resume-list,
    .skill-strip {
        min-width: 0;
        max-width: 100%;
    }

    .laptop-mock,
    .laptop-large,
    .contact-info-panel,
    .contact-form-panel,
    .resume-item,
    .skill-card,
    .case-info-card,
    .challenge-list p,
    .screen-shot {
        width: 100%;
        max-width: calc(100vw - 32px);
    }

    .page-hero,
    .resume-hero,
    .case-hero,
    .contact-page-section {
        padding-top: 76px;
        padding-bottom: 64px;
    }

    .page-hero h1,
    .contact-page .section-heading h1,
    .case-copy h1 {
        font-size: 2.65rem;
        line-height: 1.05;
        overflow-wrap: anywhere;
    }

    .resume-hero-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .resume-hero h1 {
        font-size: 2rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .resume-role-line {
        justify-content: center;
    }

    .project-showcase,
    .case-band,
    .case-section,
    .resume-band {
        padding: 60px 0;
    }

    .project-showcase-grid,
    .case-hero-grid {
        gap: 34px;
    }

    .project-copy h2 {
        font-size: 2.45rem;
        overflow-wrap: anywhere;
    }

    .laptop-mock {
        padding: 12px 12px 24px;
        border-radius: 14px 14px 10px 10px;
        box-shadow: 6px 8px 0 rgba(30, 30, 26, 0.24);
    }

    .laptop-mock::after {
        bottom: -15px;
        height: 15px;
    }

    .resume-avatar {
        width: min(132px, 42vw);
    }

    .skill-strip,
    .case-card-grid,
    .challenge-list,
    .screen-gallery {
        grid-template-columns: 1fr;
    }

    .resume-item-head {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .resume-item time {
        text-align: left;
    }

    .resume-item,
    .skill-card,
    .case-info-card,
    .challenge-list p,
    .screen-shot {
        border-radius: 12px;
        box-shadow: 4px 4px 0 var(--charcoal);
    }

    .case-two-col {
        gap: 22px;
    }
}

@media (max-width: 460px) {
    .contact-method {
        grid-template-columns: 36px 1fr;
        gap: 12px;
    }

    .contact-method a {
        font-size: clamp(0.78rem, 3.5vw, 0.92rem);
    }

    .resume-role-line span {
        width: auto;
    }

    .resume-role-line span:not(:last-child)::after {
        display: inline-block;
        width: 7px;
        height: 7px;
        margin-left: 14px;
        background: var(--coral);
        border-radius: 50%;
        content: "";
    }

    .screen-shot {
        min-height: 300px;
    }
}
