/* ===== meowshy.com — Global Stylesheet ===== */

:root {
    --ink: #120612;
    --plum: #550554;
    --violet: #b20ab7;
    --pink: #f97cf1;
    --mist: #efe5ee;

    --bg: var(--ink);
    --panel: rgba(239, 229, 238, 0.06);
    --panel-2: rgba(239, 229, 238, 0.09);
    --text: rgba(239, 229, 238, 0.92);
    --muted: rgba(239, 229, 238, 0.72);
    --line: rgba(249, 124, 241, 0.22);

    --radius: 18px;
    --shadow: 0 14px 40px rgba(0, 0, 0, .55);
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
}

html {
    background-color: var(--ink);
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background:
        radial-gradient(900px 450px at 15% 15%, rgba(178, 10, 183, .35), transparent 55%),
        radial-gradient(900px 450px at 85% 10%, rgba(249, 124, 241, .25), transparent 55%),
        radial-gradient(900px 450px at 80% 80%, rgba(85, 5, 84, .55), transparent 60%),
        linear-gradient(180deg, #050105 0%, #070207 40%, #050105 100%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.4;
}

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

a:hover {
    text-decoration: underline;
    text-decoration-color: rgba(249, 124, 241, .6);
}

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

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

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(6, 2, 6, .78), rgba(6, 2, 6, .35));
    border-bottom: 1px solid rgba(249, 124, 241, .12);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.brand .mark {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
}

.brand .tld {
    opacity: .65;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .02em;
}

nav ul li a.active {
    color: var(--pink);
}

.cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== Buttons ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(249, 124, 241, .25);
    background: rgba(239, 229, 238, .06);
    color: var(--text);
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
    text-decoration: none !important;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    cursor: pointer;
    user-select: none;
}

.btn:hover {
    transform: translateY(-1px);
    border-color: rgba(249, 124, 241, .48);
    background: rgba(239, 229, 238, .09);
}

.btn.primary {
    border-color: rgba(249, 124, 241, .55);
    background: linear-gradient(135deg, rgba(178, 10, 183, .85), rgba(249, 124, 241, .55));
    color: #080108;
}

.btn.primary:hover {
    border-color: rgba(249, 124, 241, .75);
    background: linear-gradient(135deg, rgba(178, 10, 183, .95), rgba(249, 124, 241, .65));
}

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

.hero {
    padding: 120px 0 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: stretch;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(249, 124, 241, .18);
    background: rgba(239, 229, 238, .05);
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .02em;
    width: fit-content;
}

.kicker span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--pink);
    box-shadow: 0 0 18px rgba(249, 124, 241, .6);
}

h1 {
    margin: 14px 0 10px;
    font-size: clamp(42px, 5.6vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.accent {
    background: linear-gradient(90deg, var(--pink), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(249, 124, 241, .15);
}

.sub {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 18px;
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.panel {
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(239, 229, 238, .08), rgba(239, 229, 238, .04));
    border: 1px solid rgba(249, 124, 241, .14);
    box-shadow: var(--shadow);
}

.stats {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.stat {
    border-radius: 14px;
    border: 1px solid rgba(249, 124, 241, .12);
    background: rgba(6, 2, 6, .55);
    padding: 14px 14px;
}

.stat .label {
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.stat .value {
    margin-top: 6px;
    font-size: 18px;
    font-weight: 800;
}

.stat .value small {
    font-weight: 700;
    color: rgba(239, 229, 238, .75);
}

/* ===== Sections ===== */

section {
    padding: 34px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

h2 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -.02em;
}

.hint {
    color: var(--muted);
    max-width: 60ch;
    margin: 0;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* ===== Cards ===== */

.card {
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(249, 124, 241, .14);
    background: rgba(239, 229, 238, .05);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    letter-spacing: -.01em;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card.wide {
    grid-column: span 2;
}

.pillrow {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    border-radius: 999px;
    border: 1px solid rgba(249, 124, 241, .18);
    background: rgba(6, 2, 6, .45);
    padding: 6px 10px;
    font-size: 12px;
    color: rgba(239, 229, 238, .82);
    font-weight: 700;
    letter-spacing: .02em;
}

/* ===== Work / Portfolio Grid ===== */

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.work {
    grid-column: span 4;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.work:before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(380px 220px at 20% 10%, rgba(249, 124, 241, .22), transparent 55%),
        radial-gradient(380px 220px at 85% 70%, rgba(178, 10, 183, .20), transparent 55%);
    filter: blur(14px);
    opacity: .55;
    pointer-events: none;
}

.work > * {
    position: relative;
}

.work .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(239, 229, 238, .78);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--pink);
    box-shadow: 0 0 18px rgba(249, 124, 241, .55);
}

.work h3 {
    margin: 10px 0 8px;
    font-size: 18px;
}

.work p {
    margin: 0;
    color: var(--muted);
}

/* ===== Portfolio — Grid Listing ===== */

.portfolio-section {
    margin-bottom: 36px;
}

.portfolio-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(249, 124, 241, .12);
}

.portfolio-count {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portfolio-item {
    display: block;
    border-radius: var(--radius);
    border: 1px solid rgba(249, 124, 241, .14);
    background: rgba(239, 229, 238, .04);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
    overflow: hidden;
    position: relative;
    text-decoration: none !important;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.portfolio-item::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(400px 200px at 15% 10%, rgba(249, 124, 241, .10), transparent 55%),
        radial-gradient(400px 200px at 85% 80%, rgba(178, 10, 183, .08), transparent 55%);
    filter: blur(14px);
    opacity: .45;
    pointer-events: none;
    transition: opacity .15s ease;
}

.portfolio-item:hover {
    transform: translateY(-3px);
    border-color: rgba(249, 124, 241, .35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

.portfolio-item:hover::before {
    opacity: .7;
}

.portfolio-thumb {
    position: relative;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    transition: transform .25s ease;
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.03);
}

.portfolio-info {
    position: relative;
    padding: 16px 18px 18px;
}

.portfolio-info h2 {
    margin: 6px 0 4px;
    font-size: 18px;
    letter-spacing: -.01em;
}

.project-cat {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* portfolio category filter */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-btn {
    border-radius: 999px;
    border: 1px solid rgba(249, 124, 241, .22);
    background: rgba(6, 2, 6, .45);
    padding: 8px 14px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: border-color .12s ease, color .12s ease, background .12s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: rgba(249, 124, 241, .55);
    color: var(--text);
    background: rgba(249, 124, 241, .12);
}

/* ===== Portfolio — Project Detail Page ===== */

.back-link {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    transition: color .12s ease;
}

.back-link:hover {
    color: var(--pink);
    text-decoration: none;
}

.project-overview {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: start;
}

.project-overview-main h2 {
    margin-bottom: 12px;
}

.project-desc {
    color: var(--muted);
    margin: 0;
    max-width: 72ch;
    line-height: 1.6;
    font-size: 17px;
}

.project-overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project-meta-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(249, 124, 241, .08);
}

.project-meta-row:last-child {
    border-bottom: none;
}

.project-meta-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.project-gallery {
    columns: 2;
    column-gap: 14px;
}

.project-img,
.project-media {
    break-inside: avoid;
    margin-bottom: 14px;
}

.project-img {
    margin: 0 0 14px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(249, 124, 241, .10);
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease;
}

.project-img:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 124, 241, .35);
}

.project-img img {
    width: 100%;
    display: block;
}

.project-media {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(249, 124, 241, .10);
}

.project-media video {
    width: 100%;
    display: block;
}

/* prev / next navigation */
.project-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(249, 124, 241, .12);
}

.project-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(249, 124, 241, .14);
    background: rgba(239, 229, 238, .04);
    text-decoration: none !important;
    transition: border-color .12s ease, background .12s ease;
}

.project-nav-link:hover {
    border-color: rgba(249, 124, 241, .35);
    background: rgba(239, 229, 238, .07);
}

.project-nav-link.next {
    text-align: right;
}

.project-nav-dir {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.project-nav-name {
    font-weight: 700;
    font-size: 16px;
}

/* ===== Form Feedback ===== */

.form-feedback {
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 14px;
    font-weight: 600;
}

.form-feedback p {
    margin: 0;
}

.form-feedback.success {
    background: rgba(80, 200, 120, .12);
    border: 1px solid rgba(80, 200, 120, .35);
    color: #6ee6a0;
}

.form-feedback.error {
    background: rgba(255, 90, 90, .10);
    border: 1px solid rgba(255, 90, 90, .30);
    color: #ff8a8a;
}

input.field-error,
textarea.field-error {
    border-color: rgba(255, 90, 90, .55);
    box-shadow: 0 0 0 3px rgba(255, 90, 90, .12);
}

/* ===== Image dialog/modal ===== */

dialog {
    border: none;
    background: rgba(6, 2, 6, .92);
    backdrop-filter: blur(8px);
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

dialog::backdrop {
    background: rgba(0, 0, 0, .75);
}

dialog img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* ===== Contact ===== */

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

.contact .card h3 {
    margin: 0 0 10px;
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(239, 229, 238, .78);
}

input,
textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(249, 124, 241, .18);
    background: rgba(6, 2, 6, .55);
    color: var(--text);
    outline: none;
    font-family: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: rgba(249, 124, 241, .5);
    box-shadow: 0 0 0 4px rgba(249, 124, 241, .12);
}

.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.status-divider {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(249, 124, 241, .12);
}

.fine {
    color: rgba(239, 229, 238, .68);
    font-size: 13px;
    margin: 10px 0 0;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(249, 124, 241, .15);
    background: rgba(6, 2, 6, .4);
    color: var(--muted);
    text-decoration: none !important;
    transition: border-color .12s ease, color .12s ease, background .12s ease;
}

.social-link:hover {
    border-color: rgba(249, 124, 241, .45);
    color: var(--text);
    background: rgba(249, 124, 241, .08);
}

.social-link svg {
    display: block;
}

/* ===== Blog Coming Soon ===== */

.coming-soon {
    text-align: center;
    padding: 80px 20px;
}

.coming-soon h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.coming-soon p {
    color: var(--muted);
    font-size: 18px;
    max-width: 48ch;
    margin: 0 auto;
}

/* ===== About / Timeline ===== */

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.about-intro .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main {
    flex: 1;
}

/* ===== Footer ===== */

footer {
    padding: 26px 0 38px;
    border-top: 1px solid rgba(249, 124, 241, .12);
    color: rgba(239, 229, 238, .68);
}

.foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.foot-brand {
    letter-spacing: .08em;
    text-transform: uppercase;
}

.foot-tagline {
    opacity: .65;
}

.foot-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.foot-copy {
    margin-top: 10px;
    opacity: .6;
    font-size: 13px;
}

/* ===== Page Transitions ===== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(-22px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
    from { opacity: 0; transform: translateX(22px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(.93) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes exitDown {
    to { opacity: 0; transform: translateY(8px); }
}

@keyframes exitScale {
    to { opacity: 0; transform: scale(.97); }
}

/* -- Entrance: sections stagger up -- */

main > section {
    animation: fadeUp .55s cubic-bezier(.19, 1, .22, 1) both;
}

main > section:nth-child(1) { animation-delay: .04s; }
main > section:nth-child(2) { animation-delay: .14s; }
main > section:nth-child(3) { animation-delay: .22s; }
main > section:nth-child(4) { animation-delay: .28s; }
main > section:nth-child(n+5) { animation-delay: .32s; }

/* Hero: left column rises, stats panel slides from right */

.hero-grid > *:first-child {
    animation: fadeUp .6s cubic-bezier(.19, 1, .22, 1) both;
    animation-delay: .1s;
}

.hero-grid > .stats {
    animation: fadeSlideRight .55s cubic-bezier(.19, 1, .22, 1) both;
    animation-delay: .22s;
}

/* Section heads slide from left */

.section-head {
    animation: fadeSlideLeft .45s cubic-bezier(.19, 1, .22, 1) both;
    animation-delay: .08s;
}

/* Cards scale in with stagger */

.card {
    animation: scaleUp .45s cubic-bezier(.19, 1, .22, 1) both;
}

.grid3 > .card:nth-child(1),
.grid2 > .card:nth-child(1) { animation-delay: .14s; }
.grid3 > .card:nth-child(2),
.grid2 > .card:nth-child(2) { animation-delay: .22s; }
.grid3 > .card:nth-child(3) { animation-delay: .3s; }

/* Work items stagger */

.work-grid > .work:nth-child(1) { animation-delay: .14s; }
.work-grid > .work:nth-child(2) { animation-delay: .22s; }
.work-grid > .work:nth-child(3) { animation-delay: .3s; }

/* Portfolio items stagger */

.portfolio-item {
    animation: scaleUp .4s cubic-bezier(.19, 1, .22, 1) both;
}

.portfolio-grid > .portfolio-item:nth-child(1) { animation-delay: .06s; }
.portfolio-grid > .portfolio-item:nth-child(2) { animation-delay: .1s; }
.portfolio-grid > .portfolio-item:nth-child(3) { animation-delay: .14s; }
.portfolio-grid > .portfolio-item:nth-child(n+4) { animation-delay: .18s; }

/* -- Exit: everything collapses quickly -- */

main.page-exit > section {
    animation: exitDown .2s ease both;
}

main.page-exit > section:nth-child(1) { animation-delay: 0s; }
main.page-exit > section:nth-child(2) { animation-delay: .03s; }
main.page-exit > section:nth-child(3) { animation-delay: .05s; }
main.page-exit > section:nth-child(4) { animation-delay: .07s; }

main.page-exit .card,
main.page-exit .portfolio-item {
    animation: exitScale .15s ease both;
}

main.page-exit .section-head {
    animation: exitDown .15s ease both;
}

main.page-exit .hero-grid > .stats {
    animation: exitDown .18s ease both;
    animation-delay: .03s;
}

/* Respect reduced-motion */

@media (prefers-reduced-motion: reduce) {
    main > section,
    .hero-grid > *,
    .section-head,
    .card,
    .portfolio-item,
    main.page-exit > section,
    main.page-exit .card,
    main.page-exit .portfolio-item,
    main.page-exit .section-head,
    main.page-exit .hero-grid > .stats {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== Responsive — Tablet ===== */

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

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

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

    .card.wide {
        grid-column: span 1;
    }

    .work {
        grid-column: span 12;
    }

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

    .about-intro {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding: 100px 0 28px;
    }

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

    .project-overview {
        grid-template-columns: 1fr;
    }

    .portfolio-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-gallery {
        columns: 1;
    }

    .project-nav {
        grid-template-columns: 1fr;
    }
}

/* ===== Responsive — Phone ===== */

@media (max-width: 600px) {
    .wrap {
        width: calc(100% - 32px);
    }

    .nav {
        padding: 10px 0;
    }

    .cta {
        gap: 8px;
    }

    .cta .btn:not(.primary) {
        display: none;
    }

    .btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .hero {
        padding: 84px 0 20px;
    }

    h1 {
        font-size: clamp(30px, 8vw, 42px);
    }

    .sub {
        font-size: 16px;
    }

    h2 {
        font-size: 22px;
    }

    .foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

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