/* ============================================================
   Nomi Reiss Portfolio — Homepage Styles
   style.css
   ============================================================ */

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

:root {
    --white:       #FFFFFF;
    --bg-warm:     #F4F0E8;
    --bg-card:     #EDEAE3;
    --border:      #D8D3CA;
    --text:        #1A1916;
    --text-mid:    #6B6760;
    --text-light:  #9E9A93;
    --black:       #1A1916;
    --dark:        #141412;
    --dark-card:   #1E1E1C;
    --dark-border: rgba(255,255,255,0.08);
    --r-sm: 4px;
    --r-md: 4px;
    --r-lg: 4px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── UTILS ──────────────────────────────────────────────────── */
.serif { font-family: 'DM Serif Display', Georgia, serif; }

/* ── NAV ────────────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 60px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
nav.scrolled { border-color: var(--border); }

.nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0;
}

.nav-center {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-center a {
    font-size: 14px;
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
}
.nav-center a:hover { color: var(--text); }

.nav-cta {
    background: var(--black);
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 100px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.75; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
    padding: 144px 80px 96px;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-mid);
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 0.01em;
}

.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3D8B5E;
    animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink {
    0%,100% { opacity:1; }
    50%      { opacity:0.3; }
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(60px, 7.5vw, 110px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.01em;
    color: var(--text);
    max-width: 900px;
    margin-bottom: 36px;
}
.hero h1 em { font-style: italic; color: var(--text); }

.hero-sub {
    font-size: 17px;
    color: var(--text-mid);
    max-width: 500px;
    line-height: 1.72;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 100px;
    padding: 12px 26px;
    transition: opacity 0.2s;
    font-family: 'Inter', sans-serif;
}
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { opacity: 0.75; }

.btn-ghost {
    color: var(--text-mid);
    padding: 12px 0;
    border-radius: 0;
}
.btn-ghost:hover { color: var(--text); }

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-mid);
}
.btn-outline:hover { border-color: var(--text); color: var(--text); }

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.tag {
    font-size: 12px;
    color: var(--text-light);
    border: 1px solid var(--border);
    padding: 5px 13px;
    border-radius: 100px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ── SECTION SCAFFOLDING ────────────────────────────────────── */
.section {
    padding: 96px 80px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--text);
}

.section-link {
    font-size: 13px;
    color: var(--text-mid);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--border);
}
.section-link:hover { color: var(--text); border-color: var(--text); }

/* ── FEATURED CARD ──────────────────────────────────────────── */
.featured {
    display: grid;
    grid-template-columns: 1fr 460px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--dark);
    text-decoration: none;
    color: inherit;
    margin-bottom: 20px;
    min-height: 480px;
    transition: opacity 0.25s;
}
.featured:hover { opacity: 0.9; }

.featured-body {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    margin-bottom: 28px;
}

.featured-title {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}

.featured-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    line-height: 1.72;
    max-width: 440px;
    margin-bottom: 48px;
}

.featured-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    font-size: 11px;
    font-weight: 400;
    padding: 5px 13px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.01em;
}

/* Mock UI inside featured */
.featured-visual {
    background: #1E1E1C;
    position: relative;
    overflow: hidden;
    border-left: 1px solid rgba(255,255,255,0.05);
}

.mock-frame {
    position: absolute;
    top: 36px; left: 28px; right: 28px; bottom: 36px;
    background: #141412;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mock-bar {
    height: 34px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 6px;
    flex-shrink: 0;
}
.mc { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.12); }
.mock-url { flex:1; height:16px; background:rgba(255,255,255,0.06); border-radius:4px; margin-left:8px; }

.mock-content {
    flex:1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    overflow: hidden;
}
.ml { height:6px; border-radius:3px; background:rgba(255,255,255,0.07); }
.ml.w30{width:30%;} .ml.w50{width:50%;} .ml.w70{width:70%;} .ml.w85{width:85%;} .ml.w95{width:95%;}

.mock-row { display:flex; gap:8px; align-items:center; }
.mock-av { width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,0.1);flex-shrink:0; }
.mock-lines { flex:1; display:flex; flex-direction:column; gap:5px; }

.mock-sep { height:1px; background:rgba(255,255,255,0.05); margin:2px 0; }

.mock-badge {
    display:inline-flex; align-items:center; gap:5px;
    background:rgba(255,255,255,0.07);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:100px; padding:3px 10px;
    font-size:9px; color:rgba(255,255,255,0.5);
    font-family:'Inter',sans-serif; width:fit-content;
}

.mock-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:2px; }
.mock-tile { height:46px; background:rgba(255,255,255,0.05); border-radius:6px; border:1px solid rgba(255,255,255,0.06); }

/* ── CARD GRID ──────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-card);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: background 0.25s;
}
.card:hover { background: #E5E1D8; }

.card-img {
    height: 160px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-body {
    padding: 28px 32px 34px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--white);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.card-cat {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.card-year { font-size: 11px; color: var(--text-light); }

.card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 10px;
}

.card-desc {
    font-size: 15.5px;
    color: var(--text-mid);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 22px;
}

.card-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-role {
    font-size: 11px;
    color: var(--text-light);
    border: 1px solid var(--border);
    padding: 4px 11px;
    border-radius: 100px;
}

/* ── WARM BAND ──────────────────────────────────────────────── */
.band { background: var(--bg-warm); }

/* ── AI SECTION ─────────────────────────────────────────────── */
.ai-section {
    background: var(--dark);
    padding: 96px 0;
}

.ai-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

.ai-inner .section-label { color: rgba(255,255,255,0.28); }
.ai-inner .section-title { color: #fff; }
.ai-inner .section-meta { border-color: rgba(255,255,255,0.08); }

.ai-lead {
    font-size: 17px;
    color: rgba(255,255,255,0.48);
    line-height: 1.72;
    margin-bottom: 60px;
}
.ai-lead strong { color: rgba(255,255,255,0.88); font-weight: 400; }

.ai-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.ai-tile {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--r-md);
    padding: 32px;
    transition: border-color 0.25s;
}
.ai-tile:hover { border-color: rgba(255,255,255,0.16); }

.ai-tile-title {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.ai-tile-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
}

.ai-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--r-md);
    padding: 40px 48px;
}

.ai-bottom-text h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.ai-bottom-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.38);
    line-height: 1.7;
}

.terminal {
    background: #0D0D0B;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-sm);
    padding: 20px 22px;
    min-width: 290px;
    font-family: 'SF Mono','Fira Code',monospace;
    font-size: 12px;
    line-height: 1.85;
}

.tdots { display:flex; gap:5px; margin-bottom:16px; }
.td { width:9px;height:9px;border-radius:50%; }
.td-r{background:#FF5F57;} .td-y{background:#FEBC2E;} .td-g{background:#28C840;}

.tp { color:#3FB950; } .tc { color:#E6EDF3; }
.to { color:rgba(255,255,255,0.45); padding-left:14px; }
.ts { color:#3FB950; padding-left:14px; }
.tsep { color:rgba(255,255,255,0.15); }

/* ── ABOUT ──────────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 96px;
    align-items: start;
}

.about-hed {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 2.8vw, 38px);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 24px;
}
.about-hed em { font-style: italic; }

.about-body p {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.78;
    margin-bottom: 18px;
}

.about-photo {
    position: sticky;
    top: 80px;
}
.about-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.tools-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 40px;
    margin-bottom: 14px;
}

.tools { display: flex; flex-wrap: wrap; gap: 7px; }
.tool {
    font-size: 12px;
    color: var(--text-mid);
    border: 1px solid var(--border);
    padding: 5px 13px;
    border-radius: 100px;
}

/* Timeline */
.tl-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 20px;
}

.tl-item {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.tl-item:first-of-type { padding-top: 0; }
.tl-item:last-of-type  { border-bottom: none; }

.tl-icon {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    background: var(--bg-card);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.tl-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 2px;
}
.tl-info p { font-size: 12px; color: var(--text-light); }

/* ── CHEF'S TABLE ───────────────────────────────────────────── */
.chefs-table {
    background: var(--dark);
    padding: 96px 0;
}

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

.chefs-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 20px;
}

.chefs-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}
.chefs-title em { font-style: italic; }

.chefs-body {
    font-size: 16px;
    color: rgba(255,255,255,0.48);
    line-height: 1.78;
    margin-bottom: 36px;
    max-width: 480px;
}
.chefs-body strong { color: rgba(255,255,255,0.82); font-weight: 400; }

.btn-light {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.14);
}
.btn-light:hover { background: rgba(255,255,255,0.16); }

.chefs-visual {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chefs-cred {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.chefs-cred:last-child { border-bottom: none; padding-bottom: 0; }

.chefs-cred-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}
.chefs-cred-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact { text-align: center; }

.contact .section-label {
    display: block;
    margin-bottom: 20px;
}

.contact-hed {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
    max-width: 680px;
    margin: 0 auto 24px;
}
.contact-hed em { font-style: italic; }

.contact-sub {
    font-size: 16px;
    color: var(--text-mid);
    max-width: 380px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer-line {
    border: none;
    border-top: 1px solid var(--border);
    max-width: 1280px;
    margin: 0 auto;
}

footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-l {
    font-family: 'DM Serif Display', serif;
    font-size: 14px;
    color: var(--text-light);
}

.footer-r { display: flex; gap: 28px; }
.footer-r a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-r a:hover { color: var(--text); }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(.25,.46,.45,.94),
                transform 0.6s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible { opacity:1; transform:translateY(0); }
.d1 { transition-delay:.08s; }
.d2 { transition-delay:.16s; }
.d3 { transition-delay:.24s; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 980px) {
    nav { padding: 0 24px; }
    .nav-center { display: none; }

    .hero { padding: 120px 24px 72px; }
    .hero h1 { font-size: 52px; }

    .section { padding: 64px 24px; }
    .section-meta { flex-direction: column; align-items: flex-start; gap: 12px; }

    .featured { grid-template-columns: 1fr; }
    .featured-visual { height: 240px; border-left: none; border-top: 1px solid rgba(255,255,255,0.05); }
    .featured-body { padding: 40px 32px; }
    .featured-title { font-size: 26px; }

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

    .ai-section { padding: 64px 0; }
    .ai-inner { padding: 0 24px; }
    .ai-tiles { grid-template-columns: 1fr; }
    .ai-bottom { flex-direction: column; align-items: flex-start; padding: 32px; }
    .terminal { min-width: 0; width: 100%; }

    .about-grid { grid-template-columns: 1fr; gap: 56px; }

    .chefs-table { padding: 64px 0; }
    .chefs-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 24px; }

    footer { padding: 24px; flex-direction: column; gap: 16px; text-align: center; }
}
