/* =============================================
   CURATUS MEDIA — Main Stylesheet (Light Theme)
   ============================================= */

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

:root {
    --bg:       #fafaf7;
    --bg-alt:   #f2f2ee;
    --card-bg:  #ebebе7;
    --border:   #ddddd8;
    --ink:      #0d0d0d;
    --muted:    #6b6b68;
    --accent:   #b8914a;   /* warm gold — deeper for light bg */
    --accent-dim: rgba(184, 145, 74, 0.10);

    --font-main: 'Poppins', sans-serif;
    --font-mono: 'Poppins', sans-serif;

    --section-pad: 120px;
    --max-w: 1240px;
}

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

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =============================================
   NAV
   ============================================= */

#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    transition: background 0.3s, padding 0.3s, border-color 0.3s;
}
#navbar.scrolled {
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    padding: 16px 48px;
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink);
}
.nav-logo span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-cta {
    color: var(--ink);
    border: 1px solid var(--border);
    padding: 10px 22px;
    border-radius: 2px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nav-links a.nav-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.burger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.burger.open span:last-child  { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
}
.mobile-menu.open { display: flex; }
.mob-link {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    transition: color 0.2s;
}
.mob-link:hover { color: var(--accent); }

/* =============================================
   HERO
   ============================================= */

#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 48px 80px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    display: flex;
    flex-direction: column;
    font-size: clamp(52px, 8vw, 120px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    color: var(--ink);
}
.hero-title .line { display: block; }
.dot { color: var(--accent); }

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 48px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 48px;
    right: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%   { top: -100%; }
    100% { top: 100%; }
}
.scroll-text {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--muted);
    writing-mode: vertical-lr;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 16px 36px;
    border-radius: 2px;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
    display: inline-block;
    border: 1px solid var(--border);
    color: var(--ink);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 16px 36px;
    border-radius: 2px;
    transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-full { width: 100%; text-align: center; }

/* =============================================
   TICKER
   ============================================= */

.ticker-wrap {
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    background: var(--bg-alt);
}
.ticker-track {
    display: inline-flex;
    gap: 40px;
    white-space: nowrap;
    animation: ticker 28s linear infinite;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
}
.ticker-track .sep { color: var(--accent); }

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================================
   SECTION COMMONS
   ============================================= */

section {
    padding: var(--section-pad) 48px;
    max-width: var(--max-w);
    margin: 0 auto;
}
#contact, #about { max-width: 100%; padding-left: 0; padding-right: 0; }
#contact > .contact-inner,
#about > .about-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 48px;
}

.section-header {
    margin-bottom: 72px;
}
.section-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
}

/* =============================================
   SERVICES
   ============================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.service-card {
    background: var(--bg);
    padding: 48px 40px;
    position: relative;
    transition: background 0.3s;
    cursor: default;
}
.service-card:hover { background: var(--bg-alt); }
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

.service-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--ink);
}
.service-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}
.service-arrow {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 20px;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s, transform 0.3s;
}

/* =============================================
   WORK
   ============================================= */

.work-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}
.work-item {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s, padding 0.2s, margin 0.2s;
    cursor: default;
}
.work-item:hover { background: var(--bg-alt); padding-left: 20px; padding-right: 20px; margin: 0 -20px; }

.work-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.work-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.1em;
}
.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.work-tags span {
    font-size: 11px;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: 0.05em;
}

.work-info h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--ink);
}
.work-info p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 420px;
}

.work-stat {
    text-align: right;
}
.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.05em;
}

/* =============================================
   ABOUT
   ============================================= */

#about {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-left h2 {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 16px 0 28px;
    color: var(--ink);
}
.about-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 20px;
}
.about-desc em { color: var(--accent); font-style: normal; }
.about-left .btn-primary { margin-top: 12px; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.about-stat {
    background: var(--bg);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stat-big {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ink);
}
.stat-desc {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* =============================================
   CONTACT
   ============================================= */

#contact {
    border-top: 1px solid var(--border);
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-left .section-tag { margin-bottom: 16px; }
.contact-left h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--ink);
}
.contact-left p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 36px;
}
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    transition: color 0.2s, border-color 0.2s;
}
.contact-link:hover { color: var(--accent); border-color: var(--accent); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
    font-family: var(--font-mono);
}
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--ink);
    font-family: var(--font-main);
    font-size: 15px;
    padding: 14px 18px;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}
.form-group select option { background: var(--bg-alt); color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* =============================================
   FOOTER
   ============================================= */

footer {
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    padding: 64px 48px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}
.footer-logo {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink);
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    max-width: 360px;
}
.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a {
    font-size: 13px;
    color: var(--muted);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
    display: flex;
    gap: 32px;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    width: 100%;
    padding-top: 24px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card--wide { grid-column: 1 / -1; }
    .about-inner  { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; }
    .work-item { grid-template-columns: 120px 1fr; }
    .work-stat { display: none; }
}

@media (max-width: 768px) {
    :root { --section-pad: 80px; }
    #navbar { padding: 20px 24px; }
    #navbar.scrolled { padding: 14px 24px; }
    .nav-links { display: none; }
    .burger { display: flex; }

    #hero { padding: 0 24px 80px; }
    .hero-scroll { display: none; }

    section { padding: var(--section-pad) 24px; }
    #contact > .contact-inner,
    #about > .about-inner { padding: 0 24px; }

    .services-grid { grid-template-columns: 1fr; }
    .work-item { grid-template-columns: 1fr; gap: 16px; }

    .about-stats { grid-template-columns: 1fr 1fr; }
    .stat-big { font-size: 40px; }

    footer { padding: 48px 24px; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 8px; }

    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-ghost { text-align: center; }
}
