/* ─────────────────────────────────────────
   THE CREATOR CLUB — style.css
   ───────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #F5F2ED;
    --charcoal: #1A1A1A;
    --blue-dark: #1B3A5C;
    --blue-mid: #4A7FA5;
    --blue-light: #C8DCEF;
    --blue-pale: #E8F0F7;
    --ink-muted: #555250;
    --rule: rgba(26, 26, 26, 0.1);
    --error: #c0392b;
    --success: #1B3A5C;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


/* ── NAV ─────────────────────────────────── */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    height: 64px;
    background: rgba(245, 242, 237, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
}

.nav-logo {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--charcoal);
    text-decoration: none;
}

.nav-logo span {
    color: var(--blue-mid);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.18s;
}

.nav-links a:hover {
    color: var(--charcoal);
}

.nav-cta {
    background: var(--blue-dark);
    color: #fff;
    padding: 9px 20px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.18s;
}

.nav-cta:hover {
    background: var(--blue-mid);
}


/* ── HERO ────────────────────────────────── */

#hero {
    min-height: 100vh;
    padding: 64px 6% 0;
    display: grid;
    grid-template-rows: 1fr auto;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 72px;
    padding-top: 80px;
    border-bottom: 1px solid var(--rule);
}

.hero-tag {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 32px;
}

h1 {
    font-size: clamp(3.2rem, 8.5vw, 8rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--charcoal);
    margin-bottom: 48px;
    max-width: 14ch;
}

h1 strong {
    font-weight: 600;
    color: var(--blue-dark);
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-sub {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-muted);
    max-width: 400px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--blue-dark);
    color: #fff;
    padding: 13px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.18s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--blue-mid);
}

.btn-outline {
    border: 1px solid var(--charcoal);
    color: var(--charcoal);
    padding: 13px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.18s, color 0.18s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--blue-mid);
    color: var(--blue-mid);
}


/* ── MARQUEE ─────────────────────────────── */

.marquee-bar {
    overflow: hidden;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: ticker 32s linear infinite;
}

.m-item {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    white-space: nowrap;
}

.m-dot {
    width: 3px;
    height: 3px;
    background: var(--blue-mid);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}


/* ── SECTION COMMON ──────────────────────── */

.section-eyebrow {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 14px;
}

.section-h {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--charcoal);
}

.section-h strong {
    font-weight: 600;
}


/* ── ABOUT ───────────────────────────────── */

#about {
    padding: 100px 6%;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    border-bottom: 1px solid var(--rule);
    align-items: start;
}

.about-left {
    position: sticky;
    top: 80px;
}

.about-body {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--ink-muted);
    margin-top: 32px;
}

.about-body p+p {
    margin-top: 20px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-top: 48px;
}

.stat {
    background: var(--cream);
    padding: 32px 28px;
}

.stat-n {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--blue-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-l {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
}


/* ── SERVICES ────────────────────────────── */

#services {
    padding: 100px 6%;
    border-bottom: 1px solid var(--rule);
}

.services-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--rule);
}

.services-count {
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
}

.svc-row {
    display: grid;
    grid-template-columns: 80px 1fr 2fr;
    align-items: start;
    gap: 40px;
    padding: 36px 0;
    border-bottom: 1px solid var(--rule);
    transition: background 0.15s;
}

.svc-row:hover {
    background: var(--blue-pale);
    margin: 0 -6%;
    padding-left: 6%;
    padding-right: 6%;
}

.svc-num {
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    padding-top: 4px;
}

.svc-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.svc-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--ink-muted);
    line-height: 1.7;
}


/* ── WORK ────────────────────────────────── */

#work {
    padding: 100px 6%;
    border-bottom: 1px solid var(--rule);
}

.work-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 40px;
}

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

.wcard {
    overflow: hidden;
    background: var(--blue-pale);
    position: relative;
    cursor: pointer;
}

.wcard:nth-child(1) {
    grid-column: span 7;
    aspect-ratio: 16/10;
}

.wcard:nth-child(2) {
    grid-column: span 5;
    aspect-ratio: 16/10;
}

.wcard:nth-child(3) {
    grid-column: span 4;
    aspect-ratio: 4/3;
}

.wcard:nth-child(4) {
    grid-column: span 4;
    aspect-ratio: 4/3;
}

.wcard:nth-child(5) {
    grid-column: span 4;
    aspect-ratio: 4/3;
}

.wcard:nth-child(6) {
    grid-column: span 4;
    aspect-ratio: 4/3;
}

.wcard:nth-child(7) {
    grid-column: span 4;
    aspect-ratio: 4/3;
}

.wcard:nth-child(8) {
    grid-column: span 4;
    aspect-ratio: 4/3;
}

.wcard-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    transition: transform 0.4s ease;
}

.wcard-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fills the card, crops if needed */
    display: block;
}

.wcard:hover .wcard-inner {
    transform: scale(1.04);
}

.wcard:nth-child(1) .wcard-inner {
    background: #dce7f0;
}

.wcard:nth-child(2) .wcard-inner {
    background: #d4e4ef;
}

.wcard:nth-child(3) .wcard-inner {
    background: #ccdde9;
}

.wcard:nth-child(4) .wcard-inner {
    background: #d0e2ed;
}

.wcard:nth-child(5) .wcard-inner {
    background: #c8dae8;
}

.wcard-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 22px;
    background: linear-gradient(to top, rgba(27, 58, 92, 0.88) 0%, transparent 100%);
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
}

.wcard:hover .wcard-info {
    opacity: 1;
    transform: translateY(0);
}

.wcard-tag {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 5px;
}

.wcard-title {
    font-size: 0.92rem;
    font-weight: 500;
    color: #fff;
}


/* ── CLIENTS ─────────────────────────────── */

#clients {
    padding: 100px 6%;
    border-bottom: 1px solid var(--rule);
}

.clients-head {
    margin-bottom: 56px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.client-cell {
    background: var(--cream);
    padding: 36px 20px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink-muted);
    transition: background 0.18s, color 0.18s;
}

.client-cell:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}


/* ── CONTACT ─────────────────────────────── */

#contact {
    background: var(--blue-dark);
    color: #fff;
    padding: 100px 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

#contact .section-eyebrow {
    color: var(--blue-light);
}

#contact .section-h {
    color: #fff;
}

.contact-desc {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    margin-bottom: 44px;
}

.cinfo {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cinfo-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cinfo-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-light);
}

.cinfo-val {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

/* Form */
.form-wrap {
    position: relative;
}

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

.fg {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fg.full {
    grid-column: span 2;
}

.fg label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.optional {
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.6;
}

.fg input,
.fg select,
.fg textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 13px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.18s, background 0.18s;
    width: 100%;
    -webkit-appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    border-color: var(--blue-light);
    background: rgba(255, 255, 255, 0.09);
}

/* Invalid state */
.fg input.invalid,
.fg select.invalid,
.fg textarea.invalid {
    border-color: #e07b6a;
}

.fg select option {
    background: var(--blue-dark);
}

.fg textarea {
    resize: vertical;
    min-height: 110px;
}

.field-error {
    font-size: 0.72rem;
    color: #e07b6a;
    font-weight: 400;
    min-height: 16px;
    display: block;
}

.form-submit {
    grid-column: span 2;
    background: #fff;
    color: var(--blue-dark);
    padding: 15px 32px;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: 100%;
    transition: background 0.18s, opacity 0.18s;
}

.form-submit:hover {
    background: var(--blue-light);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success state */
.form-success {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(200, 220, 239, 0.3);
    padding: 52px 40px;
    text-align: center;
}

.success-icon {
    width: 52px;
    height: 52px;
    background: var(--blue-light);
    color: var(--blue-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.form-success h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.form-success p {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}


/* ── FOOTER ──────────────────────────────── */

footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.4);
    padding: 28px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-logo span {
    color: var(--blue-light);
}

footer p {
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.18s;
    letter-spacing: 0.04em;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}


/* ── RESPONSIVE ──────────────────────────── */

@media (max-width: 768px) {
    #about {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-left {
        position: static;
    }

    #contact {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .wcard:nth-child(n) {
        grid-column: span 12;
    }

    .nav-links {
        display: none;
    }

    .svc-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .svc-num {
        display: none;
    }

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

    .services-head,
    .work-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

    .fg.full,
    .form-submit {
        grid-column: span 1;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}

/* extra */

#hero {
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.20;
    /* change this 0.0 (invisible) → 1.0 (full) */
    z-index: 0;
    pointer-events: none;
}

/* make sure the content sits above the image */
.hero-inner,
.marquee-bar {
    position: relative;
    z-index: 1;
}

/* img for logos */

.client-cell {
    background: rgb(255, 255, 255);
    padding: 32px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
}

.client-cell:hover { background: var(--blue-light); }

.client-cell img {
    height: 52px;
    /* adjust to taste */
    width: auto;
    max-width: 120px;
    object-fit: contain;
    /* muted look */
    transition: filter 0.18s;
}

.client-cell:hover img {
    filter: grayscale(0%) opacity(1);
    /* full color on hover */
}

/* ── TYPING CURSOR ── */
.cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--blue-dark);
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ── SCROLL PROGRESS BAR ── */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: var(--blue-dark);
    z-index: 200;
    transition: width 0.1s linear;
    border-radius: 20px;
}

/* ── CLIENTS (Logo Grid) ── */
#clients {
  padding: 100px 6%;
  border-bottom: 1px solid var(--rule);
}

.clients-head {
  margin-bottom: 56px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.client-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px 32px;
  gap: 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

/* Bottom info bar slides up on hover */
.client-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.client-card:hover { background: var(--blue-pale); }
.client-card:hover::after { transform: scaleX(1); }

/* Logo area */
.client-card-logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.client-card-logo img {
  max-height: 64px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) opacity(0.35);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.client-card:hover .client-card-logo img {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-3px);
}

/* Name + service tag */
.client-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-card:hover .client-card-info {
  opacity: 1;
  transform: translateY(0);
}

.client-card-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.client-card-service {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

/* Responsive */
@media (max-width: 1024px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-card { padding: 36px 20px 28px; }
  .client-card-logo img { max-height: 48px; max-width: 110px; }
}


/* logo */

/* ── NAV LOGO IMAGE ── */
.nav-logo img {
  height: 50px;      /* adjust to your logo's proportions */
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

/* ── FOOTER LOGO IMAGE ── */
.footer-logo img {
  height: 28px;      /* slightly smaller in the footer */
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

/* hero vid */

#hero { position: relative; }

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;        /* same fade control as before */
  z-index: 0;
  pointer-events: none;
}

/* keep content above the video */
.hero-inner,
.marquee-bar {
  position: relative;
  z-index: 1;
}

/* @media (max-width: 768px) {
  .hero-bg { display: none; }
} */