
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #ECECEC; --bg-card: #E4E4E4; --bg-elevated: #FFFFFF;
  --ink: #0A0A0A; --ink-mid: #4A4A4A; --ink-light: #8A8A8A; --ink-faint: #BCBCBC;
  --border: #DEDEDE; --accent: #2D5BFF; --accent-h: #1F47E5;
  --sans: 'Inter', system-ui, sans-serif; --serif: 'Instrument Serif', Georgia, serif;
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav-wrap { position: sticky; top: 16px; z-index: 100; max-width: 1100px; margin: 16px auto 0; padding: 0 24px; }
.nav-inner { background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 8px 8px 8px 16px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 24px rgba(0,0,0,.04); }
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; text-decoration: none; color: var(--ink); font-family: var(--sans); }
.nav-avatar { width: 28px; height: 28px; border-radius: 50%; background: url('assets/lucas-photo.jpg') center/cover; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--ink-mid); padding: 8px 14px; border-radius: 100px; background: none; text-decoration: none; transition: all .15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg); }
.btn-cta { background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; padding: 10px 18px; border-radius: 100px; border: none; cursor: pointer; font-family: var(--sans); transition: all .15s; text-decoration: none; display: inline-block; }
.btn-cta:hover { background: var(--accent-h); }

/* HERO (index only) */
.hero { padding: 6rem 0 5rem; max-width: 720px; }
.hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 1.25rem; }
.hero-title { font-size: clamp(40px,6vw,64px); font-weight: 600; line-height: 1.05; letter-spacing: -.025em; margin-bottom: 1.5rem; }
.hero-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.hero-desc { font-size: 16px; color: var(--ink-mid); line-height: 1.65; max-width: 480px; margin-bottom: 2rem; }
.btn-primary { background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; padding: 12px 24px; border-radius: 100px; border: none; cursor: pointer; font-family: var(--sans); display: inline-flex; align-items: center; gap: 8px; transition: all .2s; text-decoration: none; }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); }

/* SECTION LABELS */
.s-label { font-size: 12px; font-weight: 500; color: var(--accent); margin-bottom: .75rem; }
.s-title { font-size: clamp(28px,4vw,42px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 2.5rem; }

/* WORK GRID */
#work { padding: 4rem 0; }
.work-grid { display: grid; gap: 16px; }
.card { background: #fff; border-radius: var(--r-lg); padding: 2rem; text-decoration: none; color: inherit; border: 1px solid var(--border); cursor: pointer; transition: all .3s cubic-bezier(.23,1,.32,1); display: block; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.06); border-color: var(--ink-faint); }
.card-meta { font-size: 11px; color: var(--ink-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; font-weight: 500; }
.card-title { font-size: clamp(18px,2.5vw,24px); font-weight: 600; line-height: 1.2; margin-bottom: .75rem; letter-spacing: -.015em; max-width: 600px; }
.card-desc { font-size: 14px; color: var(--ink-mid); line-height: 1.6; max-width: 580px; margin-bottom: 1.25rem; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tag { font-size: 11px; font-weight: 500; color: var(--ink-mid); background: var(--bg); padding: 5px 11px; border-radius: 100px; border: 1px solid var(--border); }
.visual { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; background: var(--bg-card); }
.visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card.compact { display: flex; flex-direction: column; }
.card.compact .visual { margin-top: auto; aspect-ratio: 4/3; }

/* PROCESS */
#process { padding: 4rem 0; }
.proc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.proc-step { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.5rem; }
.proc-icon { font-size: 18px; margin-bottom: .75rem; }
.proc-name { font-size: 14px; font-weight: 600; margin-bottom: .5rem; }
.proc-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.55; }

/* ABOUT */
#about { padding: 4rem 0; }
.about-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2.5rem; display: grid; grid-template-columns: 200px 1fr; gap: 2.5rem; align-items: start; }
.about-photo { width: 100%; aspect-ratio: 1; border-radius: var(--r-md); object-fit: cover; }
.about-h { font-size: clamp(22px,3vw,28px); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 1.25rem; }
.about-text { font-size: 14px; color: var(--ink-mid); line-height: 1.75; margin-bottom: .85rem; }
.about-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.meta-label { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.meta-val { font-size: 13px; color: var(--ink-mid); }

/* CONTACT */
.contact-card { background: linear-gradient(135deg,#2D5BFF,#1F47E5); border-radius: var(--r-lg); padding: 4rem 2rem; text-align: center; color: #fff; }
.contact-h { font-size: clamp(28px,4vw,42px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin-bottom: .75rem; }
.contact-sub { font-size: 14px; opacity: .85; margin-bottom: 2rem; max-width: 400px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.email-row { display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 8px 8px 8px 20px; border-radius: 100px; margin-bottom: 1.5rem; }
.email-row span { color: var(--ink); font-size: 14px; font-weight: 500; }
.email-row a { background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500; text-decoration: none; }
.c-links { display: flex; gap: 1.5rem; justify-content: center; }
.c-link { font-size: 13px; color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 2px; }
.c-link:hover { color: #fff; }

/* FOOTER */
footer { padding: 1.5rem 0 2rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-light); margin-top: 0; }
.f-links { display: flex; gap: 1.25rem; }
.f-links a { color: var(--ink-light); text-decoration: none; }
.f-links a:hover { color: var(--ink); }

/* CASE PAGES */
.case-header { padding: 4rem 0 3rem; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mid); text-decoration: none; font-weight: 500; margin-bottom: 2rem; padding: 0; transition: color .15s; }
.back-btn:hover { color: var(--ink); }
.case-pill { display: inline-flex; font-size: 12px; font-weight: 500; color: var(--accent); background: rgba(45,91,255,.08); padding: 6px 14px; border-radius: 100px; margin-bottom: 1.25rem; letter-spacing: .02em; }
.case-h1 { font-size: clamp(32px,5vw,52px); font-weight: 600; line-height: 1.05; letter-spacing: -.025em; margin-bottom: 1.25rem; max-width: 700px; }
.case-h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.case-sub { font-size: 17px; color: var(--ink-mid); line-height: 1.6; max-width: 620px; margin-bottom: 2.5rem; }
.case-info { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin-bottom: 3rem; }
.info-cell { padding: 1.25rem 1.5rem; border-right: 1px solid var(--border); }
.info-cell:last-child { border-right: none; }
.info-label { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.info-val { font-size: 13px; font-weight: 500; line-height: 1.45; }
.hero-visual { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 4rem; border: 1px solid var(--border); background: #fff; }
.hero-visual img { width: 100%; display: block; }
.case-section { padding: 3rem 0; border-top: 1px solid var(--border); }
.cs-label { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.cs-title { font-size: clamp(22px,3vw,30px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1.25rem; max-width: 640px; }
.cs-text { font-size: 16px; color: var(--ink-mid); line-height: 1.7; max-width: 640px; margin-bottom: 1.25rem; }
.cs-text strong { color: var(--ink); font-weight: 600; }
.dgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 1.5rem 0; }
.dcell { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.5rem; }
.dcell-num { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--accent); margin-bottom: .5rem; }
.dcell-title { font-size: 15px; font-weight: 600; margin-bottom: .5rem; }
.dcell-desc { font-size: 13px; color: var(--ink-mid); line-height: 1.6; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 2rem; margin: 2rem 0; }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.stat-val { font-size: 36px; font-weight: 700; letter-spacing: -.02em; color: var(--accent); margin-bottom: .25rem; }
.stat-lbl { font-size: 12px; font-weight: 500; color: var(--ink-mid); }
.live-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; padding: 12px 24px; border-radius: 100px; border: none; cursor: pointer; font-family: var(--sans); transition: all .2s; margin-top: 1rem; text-decoration: none; }
.live-btn:hover { background: var(--accent-h); transform: translateY(-1px); }
.phones-showcase { background: #050505; border-radius: var(--r-md); padding: 3rem 2rem; display: flex; gap: 2rem; justify-content: center; overflow-x: auto; margin: 2rem 0; }
.phones-showcase img { height: 480px; width: auto; border-radius: 28px; flex-shrink: 0; box-shadow: 0 24px 48px rgba(0,0,0,.4); object-fit: contain; }
.lofi-container { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin: 2rem 0; }
.next-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 3rem 2rem; text-align: center; margin: 3rem 0; }
.next-lbl { font-size: 11px; font-weight: 600; color: var(--ink-light); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.next-title { font-size: 22px; font-weight: 600; margin-bottom: 1rem; letter-spacing: -.015em; }

/* SPOTIFY lofi iframe */
.lofi-frame { width: 100%; height: 620px; border: none; }
