/* ===================================================
   MATTHEW SUH PORTFOLIO — REDESIGNED STYLESHEET
   Palette: Cream #FAF7F2 | Charcoal #1C1C1C
            Terracotta #C0512F | Mid-gray #6B6B6B
   Type: Playfair Display (display) + DM Sans (body)
   =================================================== */

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1C1C1C;
    background: #FAF7F2;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== UTILITIES ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

.section-kicker {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #C0512F;
}

.section-kicker.light { color: rgba(250,247,242,0.5); }

.kicker-rule {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: #C0512F;
    margin-left: 12px;
    vertical-align: middle;
}

.kicker-rule.light { background: rgba(250,247,242,0.4); }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BUTTON ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #C0512F;
    color: #FAF7F2;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.18s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background: #a03f22;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(192,81,47,0.28);
}

.btn-dark {
    background: #FAF7F2;
    color: #1C1C1C;
}

.btn-dark:hover {
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250,247,242,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(28,28,28,0.08);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wordmark {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1C1C1C;
    transition: opacity 0.15s;
}

.wordmark-logo {
    height: 32px;
    width: auto;
    display: block;
}

.wordmark.small .wordmark-logo {
    height: 28px;
}

.wordmark:hover { opacity: 0.7; }
.wordmark.small { font-size: 0.875rem; }

.header-cta {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #C0512F;
    border: 1.5px solid #C0512F;
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.15s;
}

.header-cta:hover {
    background: #C0512F;
    color: #FAF7F2;
}

/* ===== HERO ===== */
.hero {
    padding: 120px 40px 96px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.hero-kicker {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6B6B6B;
}

.hero-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5.5rem;
    font-weight: 900;
    color: #1C1C1C;
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.hero-name em {
    font-style: italic;
    color: #C0512F;
}

.hero-desc {
    font-size: 1.0625rem;
    color: #555;
    line-height: 1.65;
    max-width: 420px;
}

/* Right column accent block */
.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-accent-block {
    background: #1C1C1C;
    color: #FAF7F2;
    padding: 48px 40px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 280px;
}

.accent-line {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FAF7F2;
}

.accent-rule {
    width: 40px;
    height: 2px;
    background: #C0512F;
    margin: 16px 0;
}

.accent-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(250,247,242,0.45);
}

/* ===== ABOUT ===== */
.about {
    background: #FFFFFF;
    padding: 96px 0;
    border-top: 1px solid rgba(28,28,28,0.07);
    border-bottom: 1px solid rgba(28,28,28,0.07);
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 64px;
    align-items: start;
}

.about-label {
    display: flex;
    align-items: center;
    padding-top: 8px;
}

.about-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1C1C1C;
    line-height: 1.2;
    margin-bottom: 32px;
}

.about-body p {
    font-size: 1rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 18px;
    max-width: 640px;
}

.about-body p:last-child { margin-bottom: 0; }

.about-facts {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(28,28,28,0.08);
    flex-wrap: wrap;
}

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

.fact-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #C0512F;
    line-height: 1;
}

.fact-label {
    font-size: 0.8125rem;
    color: #888;
    max-width: 140px;
    line-height: 1.4;
}

/* ===== SERVICES ===== */
.services {
    padding: 96px 0;
}

.services-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.services-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1C1C1C;
    line-height: 1.25;
    margin-bottom: 48px;
    max-width: 560px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(28,28,28,0.1);
    border-radius: 6px;
    overflow: hidden;
}

.service-item {
    display: flex;
    gap: 20px;
    padding: 32px 28px;
    border-right: 1px solid rgba(28,28,28,0.1);
    border-bottom: 1px solid rgba(28,28,28,0.1);
    transition: background 0.15s;
}

.service-item:hover { background: #FFFFFF; }

.service-item:nth-child(3n) { border-right: none; }
.service-item:nth-child(4),
.service-item:nth-child(5),
.service-item:nth-child(6) { border-bottom: none; }

.service-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #C0512F;
    opacity: 0.4;
    flex-shrink: 0;
    line-height: 1.3;
}

.service-item h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 6px;
}

.service-item p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

/* ===== PROCESS ===== */
.process {
    padding: 96px 0;
    background: #FFFFFF;
}

.process-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.process-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1C1C1C;
    line-height: 1.25;
    margin-bottom: 56px;
    max-width: 480px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.process-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #C0512F;
    opacity: 0.18;
    line-height: 1;
}

.process-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 10px;
}

.process-content p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.7;
}

/* ===== FAQ ===== */
.faq {
    padding: 96px 0;
    background: #FAF7F2;
}

.faq-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.faq-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1C1C1C;
    line-height: 1.25;
    margin-bottom: 48px;
    max-width: 480px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid rgba(28,28,28,0.1);
    border-radius: 6px;
    overflow: hidden;
}

.faq-item {
    padding: 32px 36px;
    border-right: 1px solid rgba(28,28,28,0.1);
    border-bottom: 1px solid rgba(28,28,28,0.1);
    transition: background 0.15s;
}

.faq-item:hover { background: #FFFFFF; }

.faq-item:nth-child(2n) { border-right: none; }
.faq-item:nth-child(5),
.faq-item:nth-child(6) { border-bottom: none; }

.faq-item h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
    background: #1C1C1C;
    padding: 96px 0;
}

.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #FAF7F2;
    line-height: 1.15;
}

.contact-left > p {
    font-size: 1rem;
    color: rgba(250,247,242,0.6);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #FAF7F2;
    transition: color 0.15s;
}

.contact-link:hover { color: #C0512F; }

.contact-card {
    background: rgba(250,247,242,0.05);
    border: 1px solid rgba(250,247,242,0.1);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(250,247,242,0.4);
}

.contact-card-note {
    font-size: 0.9375rem;
    color: rgba(250,247,242,0.65);
    line-height: 1.65;
}

/* ===== FOOTER ===== */
.footer {
    background: #FAF7F2;
    border-top: 1px solid rgba(28,28,28,0.08);
    padding: 28px 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 0.8125rem;
    color: #999;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-name { font-size: 4.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-item:nth-child(3n) { border-right: 1px solid rgba(28,28,28,0.1); }
    .service-item:nth-child(2n) { border-right: none; }
    .service-item:nth-child(5),
    .service-item:nth-child(6) { border-bottom: none; }
    .service-item:nth-child(4) { border-bottom: 1px solid rgba(28,28,28,0.1); }
}

@media (max-width: 768px) {
    .hero { padding: 96px 24px 72px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { justify-content: flex-start; }
    .hero-accent-block { width: 100%; max-width: 320px; }
    .hero-name { font-size: 3.5rem; }

    .about-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
    .about-label { display: none; }
    .about-headline { font-size: 2rem; }
    .about-facts { gap: 28px; }

    .container { padding: 0 24px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-item { border-right: none !important; }
    .service-item:last-child { border-bottom: none; }
    .service-item:nth-child(n) { border-bottom: 1px solid rgba(28,28,28,0.1); }

    .process-steps { grid-template-columns: 1fr; gap: 36px; }
    .faq-grid { grid-template-columns: 1fr; }
    .faq-item:nth-child(2n) { border-right: none; }
    .faq-item:nth-child(5),
    .faq-item:nth-child(6) { border-bottom: 1px solid rgba(28,28,28,0.1); }
    .faq-item:last-child { border-bottom: none; }
    .contact-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 24px; }
    .contact-headline { font-size: 2.25rem; }
    .contact-card { padding: 28px; }

    .footer-inner { padding: 0 24px; flex-direction: column; gap: 12px; text-align: center; }

    .header-inner { padding: 0 24px; }
}

@media (max-width: 480px) {
    .hero-name { font-size: 2.75rem; }
    .about-headline { font-size: 1.75rem; }
    .about-facts { flex-direction: column; gap: 20px; }
    .fact-label { max-width: none; }
}
