@font-face {
    font-family: 'Welcome Script';
    src: url('/public/assets/fonts/welcome-script/WelcomeScript.woff2') format('woff2'),
         url('/public/assets/fonts/welcome-script/WelcomeScript.woff') format('woff'),
         url('/public/assets/fonts/welcome-script/WelcomeScript-4nRpx.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f4f1ec;
    --surface: rgba(255, 255, 255, 0.68);
    --surface-strong: #ffffff;
    --text: #171717;
    --muted: #6d6a66;
    --line: rgba(23, 23, 23, 0.08);
    --accent: #db4e88;
    --accent-dark: #bc326b;
    --shadow: 0 20px 60px rgba(17, 17, 17, 0.09);
    --radius: 28px;
    --radius-sm: 16px;
    --container: min(1180px, calc(100vw - 2rem));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    background: linear-gradient(-30deg, #baaa48, rgba(175, 76, 172, 1), rgba(245, 11, 11, 1), rgba(70, 116, 173, 1), #baaa48, rgba(103, 168, 144, 1), rgba(0, 255, 230, 1), #212529, #baaa48);
    background-size: 5000% 5000%;
    animation: readymadegrad 30s ease infinite;
    animation-delay: 0s;
    min-height: 100%;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

@keyframes readymadegrad {
  0% {
    background-position: 0 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0 50%
  }
}

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

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

main {
    display: block;
    flex: 1 0 auto;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.narrow {
    max-width: 760px;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-section,
.featured-section,
.projects-section,
.about-preview,
.page-hero,
.content-section,
.project-hero {
    padding: 5rem 0;
}

.hero-grid,
.about-grid,
.project-hero-grid,
.content-grid,
.project-detail-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    min-height: calc(100vh - 88px);
    padding-block: 3rem;
}

.hero-copy h1,
.page-hero h1,
.project-copy h1,
.section-heading h2,
.about-card h2 {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(3.2rem, 9vw, 6.6rem);
}

.page-hero h1,
.project-copy h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
}

.hero-text,
.project-lead,
.section-text,
.content-copy p,
.about-text-block p {
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.25s ease;
}

.button-primary {
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 16px 30px rgba(219, 78, 136, 0.25);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.65);
}

.glass-card {
    border: 1px solid rgba(255,255,255,0.7);
    background: var(--surface);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-panel,
.about-card,
.info-panel,
.meta-panel,
.featured-content {
    padding: 2rem;
}

.hero-panel {
    display: grid;
    gap: 2rem;
}

.hero-logo {
    width: min(320px, 100%);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hero-stats div {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.65);
}

.hero-stats strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1;
}

.hero-stats span,
.project-status,
.project-format,
.meta-list dt {
    color: var(--muted);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.eyebrow {
    margin: 0 0 0.85rem;
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    max-width: 11ch;
}

.featured-swiper {
    overflow: visible;
}

.featured-slide {
    display: grid;
    gap: 1.25rem;
}

.featured-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.featured-image img,
.project-media img,
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    color: var(--text);
    box-shadow: var(--shadow);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1rem;
    font-weight: 800;
}

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

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(17, 17, 17, 0.14);
}

.project-link {
    display: grid;
}

.project-media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.project-body {
    display: grid;
    gap: 0.75rem;
    padding: 1.5rem;
}

.project-body h3,
.featured-content h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.05;
}

.about-grid,
.content-grid,
.project-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
}

.project-visual {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.project-logo {
    width: min(180px, 45%);
    justify-self: start;
}

.project-image {
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--radius) - 8px);
    overflow: hidden;
}

.meta-list {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.meta-list div {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.meta-list dt,
.meta-list dd {
    margin: 0;
}

.meta-list dd {
    margin-top: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
}

.text-link {
    color: var(--accent-dark);
}

@media (max-width: 1024px) {
    .hero-grid,
    .project-hero-grid,
    .project-grid,
    .about-grid,
    .content-grid,
    .project-detail-grid,
    .section-heading.split {
        grid-template-columns: 1fr;
    }

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

    .hero-copy h1 {
        max-width: 14ch;
    }

}

@media (max-width: 768px) {
    .hero-section,
    .featured-section,
    .projects-section,
    .about-preview,
    .page-hero,
    .content-section,
    .project-hero {
        padding: 4rem 0;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }
}
