@font-face {
    font-family: "Encode Sans";
    src: url("../fonts/Encode_Sans/EncodeSans-VariableFont_wdth,wght.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Krona One";
    src: url("../fonts/krona-one/KronaOne-Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    --bg: #050a18;
    --panel: #0a1025;
    --ink: #051e34;
    --muted: #5f6b7a;
    --white: #fff;
    --teal: #00897b;
    --teal-light: #00bfa5;
    --red: #d32f2f;
    --orange: #f4511e;
    --line: rgba(255, 255, 255, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--white);
    font-family: "Encode Sans", Arial, sans-serif;
}

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

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

h1, h2, h3, h4 { font-family: "Krona One", "Encode Sans", sans-serif; font-weight: 400; margin: 0; }

p { margin: 0; }

button, input, textarea { font: inherit; }

.site-container {
    width: 80%;
    max-width: none;
    margin-inline: auto;
    padding-inline: 32px;
}

.site-container.narrow { width: 80%; }

.services-section .site-container,
.blog-preview .site-container,
.blog-page .site-container,
.related-posts .site-container {
    width: min(100% - 32px, 1280px);
    max-width: 1280px;
}

.projects-section .site-container {
    width: 83.333333%;
    max-width: none;
}

.text-primary { color: var(--red); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: .05em;
    transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button-red { background: #dc2626; }
.button-teal { background: var(--teal); }
.button-orange { background: var(--orange); border-radius: 8px; }
.button-accent { background: var(--teal-light); color: var(--bg); }
.text-link { color: #5eead4; font-weight: 700; }
.text-link:hover { color: var(--white); }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 16px 48px;
    background: rgba(5, 10, 24, .84);
    backdrop-filter: blur(14px);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img { width: 80px; height: 48px; object-fit: contain; }

.desktop-nav, .header-actions, .language-switch {
    display: flex;
    align-items: center;
}

.desktop-nav {
    gap: 20px;
    font-family: "Krona One", sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}

.desktop-nav a:hover, .mobile-nav a:hover { color: var(--teal-light); }

.header-actions { gap: 24px; }

.language-switch { gap: 6px; font-weight: 800; }
.language-switch button {
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
}
.language-switch button.is-active { color: var(--teal-light); }
.language-switch span { color: #6b7280; }

.payment-pill {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(80,224,212,.5), rgba(116,195,206,.5), rgba(84,94,135,.5));
    font-size: 12px;
    text-transform: uppercase;
}

.menu-button, .icon-button {
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-button span {
    display: block;
    height: 2px;
    background: var(--white);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    gap: 28px;
    padding: 48px 24px;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform .28s ease;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
}

.mobile-close span {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 20px;
    height: 2px;
    background: var(--white);
}
.mobile-close span:first-child { transform: rotate(45deg); }
.mobile-close span:last-child { transform: rotate(-45deg); }

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
    font-family: "Krona One", sans-serif;
    font-size: 18px;
    text-transform: uppercase;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 120px 20px 80px;
    background: var(--bg);
}

.hero-section::before, .hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero-section::before {
    top: -160px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: rgba(20, 184, 166, .2);
}

.hero-section::after {
    bottom: -140px;
    left: -130px;
    width: 420px;
    height: 420px;
    background: rgba(20, 184, 166, .12);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: none;
    padding-inline: 32px;
    text-align: center;
}

.hero-content h1 {
    font-family: "Encode Sans", sans-serif;
    font-size: clamp(24px, 3.2vw, 48px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .1em;
    margin-bottom: 24px;
}

.hero-subtitle {
    max-width: 768px;
    margin: 0 auto 34px;
    color: #d1d5db;
    font-family: "Krona One", sans-serif;
    font-size: clamp(13px, 1.6vw, 24px);
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.hero-shape {
    position: absolute;
    z-index: 1;
    width: 300px;
    pointer-events: none;
    opacity: .9;
}

.hero-shape-top {
    top: 5%;
    right: 5%;
    animation: wander1 40s linear infinite;
}

.hero-shape-bottom {
    bottom: 5%;
    left: 5%;
    animation: wander2 48s linear infinite;
}

.stars-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--white);
    animation: twinkle 3.6s ease-in-out infinite;
}

.star-1 { top: 8%; left: 12%; }.star-2 { top: 5%; left: 35%; }.star-3 { top: 12%; left: 55%; }
.star-4 { top: 3%; left: 78%; }.star-5 { top: 15%; left: 90%; }.star-6 { top: 25%; left: 5%; }
.star-7 { top: 30%; left: 22%; }.star-8 { top: 22%; left: 68%; }.star-9 { top: 28%; left: 85%; }
.star-10 { top: 45%; left: 8%; }.star-11 { top: 50%; left: 30%; }.star-12 { top: 42%; left: 72%; }
.star-13 { top: 48%; left: 92%; }.star-14 { top: 60%; left: 15%; }.star-15 { top: 65%; left: 42%; }
.star-16 { top: 62%; left: 60%; }.star-17 { top: 58%; left: 82%; }.star-18 { top: 75%; left: 10%; }
.star-19 { top: 80%; left: 25%; }.star-20 { top: 78%; left: 50%; }.star-21 { top: 82%; left: 70%; }
.star-22 { top: 85%; left: 88%; }.star-23 { top: 18%; left: 45%; }.star-24 { top: 35%; left: 52%; }
.star-25 { top: 70%; left: 38%; }.star-26 { top: 90%; left: 55%; }.star-27 { top: 55%; left: 18%; }
.star-28 { top: 38%; left: 14%; }

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    width: 4px;
    height: 48px;
    border-radius: 999px;
    background: linear-gradient(transparent, rgba(255,255,255,.25), transparent);
    animation: bounce 1.6s ease-in-out infinite;
}

.services-section {
    position: relative;
    padding: 86px 0;
    background: linear-gradient(180deg, var(--bg), #fff);
}

.section-heading {
    margin-bottom: 58px;
    text-align: center;
}

.section-heading h2, .line-heading h1, .line-heading h2 {
    display: inline-block;
    color: var(--ink);
    font-family: "Encode Sans", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(5, 30, 52, .15);
    padding-bottom: 8px;
}

.section-heading-light h2 { color: var(--white); border-color: rgba(255, 255, 255, .12); }

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

.service-card, .project-card, .blog-card {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    box-shadow: 0 22px 50px rgba(0,0,0,.22);
    overflow: hidden;
}

.service-card {
    padding: 10px;
    text-align: center;
    transition: transform .22s ease;
}
.service-card:hover, .project-card:hover { transform: translateY(-5px); }
.service-card-teal { background: #0f766e; }
.service-card-navy { background: var(--panel); }
.service-card-red { background: #b91c1c; }

.media-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    background: #111827;
}

.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.62), transparent); }
.service-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: rgba(255,255,255,.1);
}
.service-icon img { width: 28px; height: 28px; object-fit: contain; }

.service-card h3, .project-card h3 {
    margin: 26px 12px 18px;
    font-size: clamp(14px, 1.45vw, 22px);
    line-height: 1.25;
    text-transform: uppercase;
}

.service-card p {
    margin: 0 14px 26px;
    color: #e5e7eb;
    font-family: "Krona One", sans-serif;
    font-size: clamp(11px, .95vw, 14px);
    line-height: 1.625;
    text-transform: uppercase;
}

.about-section {
    position: relative;
    overflow: hidden;
    padding: 84px 0 70px;
    background: var(--white);
    color: var(--ink);
}

.profile-row {
    display: grid;
    grid-template-columns: minmax(220px, 340px) 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 70px;
}

.profile-row.reverse { grid-template-columns: 1fr minmax(220px, 340px); }
.profile-row.reverse .profile-image { order: 2; }

.profile-image img {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
}

.profile-copy {
    color: #4b5563;
    font-size: clamp(15px, 1.6vw, 24px);
    line-height: 1.625;
}
.profile-copy.right { text-align: right; }

.projects-section {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background: var(--bg);
}

.projects-shape {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(850px, 90vw);
    transform: translate(-50%, -50%);
    opacity: .5;
    pointer-events: none;
}

.project-carousel {
    position: relative;
    display: flex;
    align-items: center;
}

.project-window {
    width: 100%;
    overflow: hidden;
}

.project-track {
    display: flex;
    align-items: stretch;
    transition: transform .32s ease;
}

.project-card {
    flex: 0 0 calc(100% / 3 - 24px);
    margin: 0 12px;
    padding: 10px;
    background: var(--panel);
    color: var(--white);
}

.project-media { aspect-ratio: 4 / 3; }
.project-initials {
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: #22c55e;
    font-weight: 800;
}

.project-category {
    color: #2dd4bf;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.project-description {
    color: #e5e7eb;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.625;
}
.project-description p { margin: 0 0 .55em; }
.project-description ul, .project-description ol { padding-left: 1.4rem; text-align: left; }

.carousel-button {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--teal-light);
    color: var(--white);
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
}
.carousel-prev { left: -52px; }
.carousel-next { right: -52px; }

.accompaniment-section {
    padding: 86px 0;
    background: #b6c5cf;
    color: var(--ink);
}

.line-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 56px;
    text-align: center;
}

.line-heading span {
    flex: 1;
    max-width: 190px;
    height: 1px;
    background: rgba(75, 85, 99, .55);
}

.accompaniment-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 56px;
    align-items: center;
}

.accompaniment-grid img { border-radius: 8px; }
.accompaniment-grid div {
    color: #4b5563;
    font-size: clamp(15px, 1.35vw, 20px);
    line-height: 1.625;
}

.blog-preview {
    padding: 86px 0;
    background: var(--bg);
}

.preview-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
}

.preview-heading p, .blog-hero p {
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: 13px;
    margin-bottom: 10px;
}

.preview-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.contact-section {
    padding: 86px 0;
    background: var(--white);
    color: var(--ink);
}

.contact-grid {
    display: grid;
    grid-template-columns: 4fr 9fr;
    align-items: center;
}

.contact-art {
    position: relative;
    min-height: 520px;
}
.contact-art img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    transform: translate(-50%, -50%);
    opacity: .85;
}

.contact-panel {
    margin-left: -60px;
    position: relative;
    z-index: 2;
    padding: 38px;
    border-radius: 8px;
    background: #002b3b;
    color: var(--white);
    box-shadow: 0 28px 60px rgba(0,0,0,.25);
}

.contact-panel h3 {
    margin-bottom: 30px;
    text-align: center;
    font-family: "Encode Sans", sans-serif;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    line-height: 1.25;
}

.contact-form, .payment-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

label {
    display: grid;
    gap: 7px;
    color: inherit;
    font-size: 12px;
}

input, textarea {
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: var(--white);
    color: #111827;
    font-size: 14px;
    padding: 12px 14px;
    outline: none;
}

input:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(20,184,166,.4); }

.form-alert {
    padding: 14px 16px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 18px;
}
.form-alert.success { background: rgba(34,197,94,.18); color: #bbf7d0; }
.form-alert.error { background: rgba(239,68,68,.2); color: #fecaca; }

.site-footer {
    padding-top: 34px;
    background: #02050f;
    border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    color: var(--white);
}

.footer-brand img { width: 105px; height: 58px; object-fit: contain; margin-bottom: 18px; }
.site-footer p, .footer-links a, .footer-contact p {
    font-size: 20px;
    line-height: 1.625;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.site-footer h2 {
    color: #bfdbfe;
    font-family: "Encode Sans", sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.social-links { display: flex; gap: 16px; margin-top: 4px; }
.social-links img { width: 24px; height: 24px; object-fit: contain; }

.footer-bottom {
    width: 80%;
    margin: 28px auto 0;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: center;
    font-family: "Krona One", sans-serif;
    font-size: 13px;
}

.blog-page {
    min-height: 100vh;
    padding: 140px 0 90px;
    background: var(--bg);
}

.blog-hero {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}
.blog-hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    margin-bottom: 20px;
}
.blog-hero div {
    color: #d1d5db;
    font-size: 19px;
    line-height: 1.7;
}

.taxonomy-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 42px;
}
.taxonomy-nav a, .tag-list a, .pagination a {
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 9px 16px;
}
.taxonomy-nav a:hover, .pagination a:hover { border-color: #5eead4; }

.blog-card {
    background: var(--panel);
    color: var(--white);
}

.blog-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.blog-card-image:hover img { transform: scale(1.04); }

.blog-card-body { padding: 24px; }
.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #5eead4;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}
.blog-card h2 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 14px;
}
.blog-card h2 a:hover { color: #5eead4; }
.blog-card p {
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 18px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 54px;
}
.pagination a.is-active { background: var(--teal); border-color: var(--teal); }

.article-page {
    min-height: 100vh;
    padding: 125px 0 90px;
    background: var(--white);
    color: var(--ink);
}

.article-shell {
    width: min(880px, 90vw);
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    color: #64748b;
}
.breadcrumb a:hover { color: var(--teal); }

.article-header h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.2;
    margin-bottom: 22px;
}
.article-header p {
    color: #4b5563;
    font-size: 21px;
    line-height: 1.7;
    margin-bottom: 18px;
}
.article-header div { color: #64748b; }

.article-image {
    margin: 44px 0;
    overflow: hidden;
    border-radius: 8px;
}
.article-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-content {
    color: #334155;
    font-size: 18px;
    line-height: 1.9;
}
.article-content h2 { margin: 2.25rem 0 1rem; font-size: 1.75rem; color: var(--ink); }
.article-content h3 { margin: 1.75rem 0 .75rem; font-size: 1.35rem; color: var(--ink); }
.article-content p, .article-content ul, .article-content ol, .article-content blockquote { margin: 1rem 0; }
.article-content ul, .article-content ol { padding-left: 1.5rem; }
.article-content a { color: var(--teal); text-decoration: underline; }
.article-content blockquote { border-left: 4px solid var(--teal); padding-left: 1rem; font-style: italic; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 44px;
}
.tag-list a {
    border-color: rgba(5,30,52,.12);
    background: #f1f5f9;
}

.related-posts { margin-top: 78px; }
.related-posts h2 {
    color: var(--ink);
    font-size: 34px;
    margin-bottom: 28px;
}

.payment-page, .legal-page {
    position: relative;
    min-height: 100vh;
    padding: 135px 0 80px;
    background: var(--bg);
    overflow: hidden;
}

.payment-shape {
    position: absolute;
    pointer-events: none;
    opacity: .5;
}
.payment-shape-one { top: 80px; right: 0; width: 470px; }
.payment-shape-two { bottom: 0; left: 0; width: 360px; }

.payment-shell { position: relative; z-index: 2; text-align: center; }
.payment-shell .line-heading h1, .legal-shell .line-heading h1 { color: var(--white); border-color: rgba(255,255,255,.12); }
.payment-intro {
    max-width: 760px;
    margin: 0 auto 46px;
    font-family: "Krona One", sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

.payment-card {
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 34px;
    border-radius: 8px;
    background: #00695c;
    box-shadow: 0 28px 60px rgba(0,0,0,.26);
}

.payment-form label {
    grid-template-columns: 1fr 2fr;
    align-items: center;
    text-align: left;
    font-family: "Krona One", sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.payment-form button { justify-self: center; margin-top: 10px; padding-inline: 58px; }

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: fit-content;
    margin: 52px auto 0;
    padding: 18px 24px;
    border: 3px solid rgba(255,255,255,.28);
    border-radius: 8px;
}
.payment-logos img {
    width: 76px;
    height: 46px;
    padding: 5px;
    border-radius: 6px;
    background: var(--white);
    object-fit: contain;
}
.payment-logos img:first-child { background: transparent; padding: 0; }

.legal-shell {
    position: relative;
    z-index: 2;
}
.legal-content {
    color: rgba(255,255,255,.9);
    text-align: justify;
    font-family: "Krona One", sans-serif;
    font-size: 15px;
}
.legal-content h2, .legal-content h3 { color: var(--white); }
.legal-content a { color: #5eead4; }

.scroll-toggle {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 40;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #004d40;
    color: var(--white);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    transition: transform .25s ease, background .2s ease;
}
.scroll-toggle:hover { background: #00695c; }
.scroll-toggle.is-up { transform: rotate(180deg); }

.empty-state {
    padding: 54px 0;
    text-align: center;
    color: #d1d5db;
}

@keyframes twinkle {
    0%, 100% { opacity: .28; }
    50% { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

@keyframes wander1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-50vw, 8vh) scale(.98); }
    50% { transform: translate(-55vw, 62vh) scale(1); }
    75% { transform: translate(-8vw, 66vh) scale(1.04); }
}

@keyframes wander2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50vw, -8vh) scale(1.04); }
    50% { transform: translate(55vw, -60vh) scale(1); }
    75% { transform: translate(8vw, -64vh) scale(.98); }
}

@media (min-width: 768px) {
    .hero-content h1 {
        line-height: 85px;
        letter-spacing: .13em;
    }

    .hero-actions .button {
        font-size: 18px;
    }

    .project-category {
        font-size: 12px;
    }

    .project-description {
        font-size: 11px;
    }

    label {
        font-size: 14px;
    }

    input, textarea {
        font-size: 16px;
    }

    .contact-form .button {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        line-height: 30px;
    }

    .hero-actions .button {
        min-height: 60px;
        padding-inline: 32px;
        font-size: 24px;
        line-height: 40px;
    }

    .service-card h3,
    .service-card p {
        line-height: 1;
    }

    .project-category {
        font-size: 14px;
    }

    .project-description {
        font-size: 15px;
    }
}

@media (max-width: 1100px) {
    .desktop-nav { gap: 13px; font-size: 10px; }
    .header-actions { gap: 14px; }
    .project-card { flex-basis: calc(100% / 2 - 24px); }
    .carousel-prev { left: -8px; }
    .carousel-next { right: -8px; }
}

@media (max-width: 860px) {
    .site-header { padding: 12px 18px; }
    .desktop-nav, .header-actions { display: none; }
    .menu-button { display: flex; }
    .brand img { width: 70px; }
    .hero-content { width: 90%; padding-inline: 16px; }
    .hero-shape { width: 210px; opacity: .55; }
    .projects-section .site-container { width: min(100% - 32px, 1280px); padding-inline: 16px; }
    .service-grid, .blog-grid, .footer-grid, .profile-row, .profile-row.reverse, .accompaniment-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .profile-row.reverse .profile-image { order: 0; }
    .profile-copy, .profile-copy.right { text-align: center; }
    .project-card { flex-basis: calc(100% - 24px); }
    .contact-art { display: none; }
    .contact-panel { margin-left: 0; padding: 26px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { text-align: center; }
    .footer-brand img { margin-inline: auto; }
    .preview-heading { align-items: flex-start; flex-direction: column; }
    .payment-form label { grid-template-columns: 1fr; }
    .line-heading { gap: 12px; }
    .line-heading span { max-width: 70px; }
}

@media (max-width: 560px) {
    .site-container, .site-container.narrow { width: min(100% - 32px, 1280px); }
    .hero-actions .button { width: 100%; }
    .section-heading h2, .line-heading h1, .line-heading h2 { letter-spacing: .1em; font-size: 24px; }
    .service-card h3, .project-card h3 { font-size: 14px; }
    .payment-card { padding: 22px; }
    .payment-logos img { width: 58px; }
    .legal-content { font-size: 13px; }
}
