/* =====================================================================
   PORTFOLIO — shared stylesheet
   Aesthetic: "modern chic" — solid grayish-white canvas, white cards,
   elegant Fraunces display serif, refined letter-spaced caps for labels,
   restrained violet accent. One stylesheet for every page.
   ===================================================================== */

/* ---- Fonts ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Spline+Sans:wght@400;500;600;700&display=swap');

/* ---- Design tokens -------------------------------------------------- */
:root {
  --bg:          #FBFAFD;   /* soft white canvas              */
  --surface:     #FFFFFF;   /* cards float on the gray        */
  --surface-soft:#F6F5F8;
  --ink:         #1B1822;   /* near-black                     */
  --ink-soft:    #56525F;   /* secondary text                 */
  --ink-faint:   #918D9C;   /* captions / labels              */
  --violet:      #7053d6;   /* refined accent                 */
  --violet-deep: #1e2257;
  --violet-soft: #E9E4FA;   /* tints                          */
  --line:        #DEDBE6;   /* hairline borders               */
  --line-soft:   #E6E4EC;
  --radius:      12px;
  --maxw:        1080px;
  --shadow:      0 1px 3px rgba(27,24,34,.05), 0 14px 30px -20px rgba(27,24,34,.22);
  --shadow-lift: 0 2px 6px rgba(27,24,34,.07), 0 28px 56px -28px rgba(27,24,34,.30);

  --display: 'Fraunces', Georgia, serif;
  --sans: 'Spline Sans', system-ui, sans-serif;
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);          /* solid — no dot grid */
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* refined caps label, replaces the old mono labels */
.label, .eyebrow {
  font-family: var(--sans);
  font-size: .74rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--violet);
}

/* ---- Layout helpers ------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }

/* ---- Top navigation ------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(236,235,239,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--display); font-weight: 500; font-size: 1.3rem;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 10px; letter-spacing: -.01em;
}
.brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--violet);
}
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .95rem;
  padding: 8px 16px; border-radius: 8px; transition: all .18s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.nav-links a.active { color: var(--violet); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .97rem;
  text-decoration: none; cursor: pointer;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--violet); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---- Banner --------------------------------------------------------- */
.banner {
  background: linear-gradient(120deg, var(--violet) 0%, var(--violet-deep) 100%);
  color: #fff; border-radius: var(--radius);
  padding: 56px 48px; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.banner h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 0; line-height: 1.04;
  letter-spacing: -.02em;
}
.banner p { margin: 16px 0 0; max-width: 60ch; opacity: .9; font-size: 1.05rem; }

/* ---- Headings ------------------------------------------------------- */
h2.head {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.015em; margin: 12px 0 0;
}
.lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 62ch; }

/* ---- HERO (landing) ------------------------------------------------- */
.hero { padding: 100px 0 64px; }
.hero .eyebrow { display: block; margin-bottom: 22px; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.4rem); line-height: 1.02; letter-spacing: -.025em;
  margin: 0 0 26px;
}
.hero h1 .accent { color: var(--violet); font-style: italic; }
.hero .lead { font-size: 1.2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }

/* discipline chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 48px; }
.chip {
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  padding: 8px 15px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink-soft); transition: all .18s ease;
}
.chip:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }

/* quick-links to projects on landing */
.qlinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 32px; }
.qlink {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  transition: all .2s ease;
}
.qlink:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.qlink .num { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); font-weight: 600; }
.qlink strong { font-family: var(--display); font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.qlink .arr { color: var(--violet); transition: transform .2s ease; }
.qlink:hover .arr { transform: translateX(4px); }

/* ---- PROJECT GRID (projects.html) ----------------------------------- */
.proj-grid { display: flex; flex-direction: column; gap: 22px; margin-top: 48px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: row; min-height: 210px;
  transition: transform .25s ease, box-shadow .3s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-soft); }
.card-thumb {
  flex: 0 0 320px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--violet-soft), #e4e3f0);
  display: flex; align-items: center; justify-content: center;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb .placeholder {
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); text-align: center; padding: 16px; font-weight: 500;
}
.card-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 7px; }
.tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.92); color: var(--ink); padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.card-body .num { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; font-weight: 600; }
.card-body h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; margin: 0 0 10px; letter-spacing: -.015em; line-height: 1.15; }
.card-body p { margin: 0 0 20px; color: var(--ink-soft); font-size: .96rem; flex: 1; }
.card-cta { font-weight: 600; color: var(--violet); display: inline-flex; align-items: center; gap: 7px; font-size: .95rem; }
.card:hover .card-cta .arr { transform: translateX(4px); }
.card-cta .arr { transition: transform .2s ease; }

/* ---- ABOUT page ----------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; margin-top: 52px; align-items: start; }
.about-photo {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover;
  border: 1px solid var(--line); background: var(--violet-soft);
}
.photo-placeholder {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--violet-soft), #e4e3f0);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: .76rem; color: var(--violet); text-align: center; padding: 20px;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.about-side .btn { width: 100%; justify-content: center; margin-top: 20px; }
.about-prose p { color: var(--ink-soft); }
.about-prose h3 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; margin: 36px 0 12px; letter-spacing: -.01em; }
.interest-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 8px 0 0; list-style: none; }
.interest-list li {
  font-size: .84rem; padding: 8px 15px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink-soft); border-radius: 999px;
}
.contact-list { list-style: none; padding: 0; margin: 10px 0 0; }
.contact-list li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font-size: .72rem; letter-spacing: .14em; color: var(--ink-faint); width: 92px; text-transform: uppercase; font-weight: 600; }
.contact-list a { color: var(--violet); text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

/* ---- PROJECT DETAIL page ------------------------------------------- */
.detail-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-meta .item .k { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.detail-meta .item .v { font-weight: 500; margin-top: 4px; font-size: 1.02rem; }
.detail-prose { margin-top: 48px; max-width: 72ch; }
.detail-prose h2 { font-family: var(--display); font-weight: 500; font-size: 1.7rem; margin: 48px 0 14px; letter-spacing: -.015em; }
.detail-prose h2:first-child { margin-top: 0; }
.detail-prose p, .detail-prose li { color: var(--ink-soft); }
.detail-prose ul, .detail-prose ol { padding-left: 22px; }
.detail-prose li { margin: 7px 0; }
.detail-prose code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .86em; background: var(--violet-soft); color: var(--violet-deep); padding: 2px 7px; border-radius: 5px; }
.figure { margin: 34px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.figure img { width: 100%; }
.figure .figcap { font-size: .82rem; color: var(--ink-faint); padding: 14px 18px; border-top: 1px solid var(--line); }
.figure-placeholder {
  aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--violet-soft), #e4e3f0);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--violet); text-align: center; padding: 20px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
}
.links-box { margin-top: 44px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.links-box h3 { font-family: var(--display); font-weight: 500; margin: 0 0 16px; font-size: 1.35rem; letter-spacing: -.01em; }
.links-box a { display: inline-flex; align-items: center; gap: 8px; color: var(--violet); font-weight: 600; text-decoration: none; margin-right: 24px; }
.links-box a:hover { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .92rem; margin-bottom: 10px; }
.back-link:hover { color: var(--violet); }

/* =====================================================================
   ADDITIONS — v2 (hiring-focused layout, image system, project depth)
   ===================================================================== */

/* status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 14px 7px 12px; border-radius: 999px; box-shadow: var(--shadow);
}
.status-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: #2fb36d; box-shadow: 0 0 0 0 rgba(47,179,109,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47,179,109,0); } 100% { box-shadow: 0 0 0 0 rgba(47,179,109,0); } }

/* hero with photo */
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 64px; align-items: center; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-radius: 18px; box-shadow: var(--shadow-lift); }
.hero-photo .badge {
  position: absolute; left: -22px; bottom: 28px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-lift);
  font-size: .82rem; color: var(--ink-soft); line-height: 1.4;
}
.hero-photo .badge strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.05rem; font-weight: 500; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.fact { background: var(--surface); padding: 22px 22px; }
.fact .big { font-family: var(--display); font-size: 1.6rem; font-weight: 500; letter-spacing: -.01em; color: var(--violet); line-height: 1.1; }
.fact .small { font-size: .88rem; color: var(--ink-soft); margin-top: 6px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section-tight { padding: 56px 0; }

/* featured project cards (home) */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .3s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feat .card-thumb { flex: none; aspect-ratio: 16/10; }
.feat .feat-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.feat h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin: 6px 0 8px; letter-spacing: -.01em; line-height: 1.2; }
.feat p { color: var(--ink-soft); font-size: .93rem; margin: 0 0 16px; flex: 1; }

/* thumbnail fallback art (shown when no image file yet) */
.thumb-art {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 1px 1px, rgba(112,83,214,.22) 1px, transparent 0) 0 0/16px 16px,
    linear-gradient(135deg, var(--violet-soft), #e4e3f0);
}
.thumb-art svg { width: 64px; height: 64px; color: var(--violet); opacity: .85; }

/* skills */
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.skill-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.skill-col .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--violet-soft); color: var(--violet); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.skill-col h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; margin: 0 0 8px; }
.skill-col p { color: var(--ink-soft); font-size: .93rem; margin: 0 0 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { font-size: .78rem; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line-soft); color: var(--ink-soft); }

/* timeline */
.timeline { margin-top: 36px; border-left: 2px solid var(--line); padding-left: 30px; }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -38px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--violet); }
.tl-when { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.tl-item h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; margin: 4px 0 2px; }
.tl-item .org { color: var(--violet); font-weight: 600; font-size: .94rem; }
.tl-item ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink-soft); }
.tl-item li { margin: 5px 0; }

/* CTA band */
.cta-band {
  background: var(--ink); color: #fff; border-radius: 18px; padding: 52px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0 0 8px; letter-spacing: -.015em; }
.cta-band p { margin: 0; opacity: .75; max-width: 52ch; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--violet-soft); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: #fff; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* project filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.filter {
  font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft); transition: all .18s ease;
}
.filter:hover { border-color: var(--violet); color: var(--violet); }
.filter.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.hide, .feat.hide { display: none; }

/* status badges */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.done { background: #E3F5EB; color: #1f7a4a; }
.status.wip { background: #FFF1DD; color: #9a5b00; }
.status.design { background: var(--violet-soft); color: var(--violet); }
.card-body .meta-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.card-body .meta-row .num { margin: 0; }
.card-skills { font-size: .82rem; color: var(--ink-faint); margin: -8px 0 18px; }

/* detail pages */
.highlights { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--violet); border-radius: var(--radius); padding: 24px 28px; }
.highlights h3 { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin: 0 0 10px; }
.highlights ul { margin: 0; padding-left: 20px; }
.highlights li { margin: 6px 0; color: var(--ink); }
.detail-prose h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; margin: 30px 0 8px; color: var(--ink); }
.detail-prose strong { color: var(--ink); }
.spec { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .93rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec th { width: 34%; font-weight: 600; color: var(--ink); background: var(--surface-soft); }
.spec td { color: var(--ink-soft); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.callout { background: var(--violet-soft); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; color: var(--violet-deep); font-size: .95rem; }
.callout strong { color: var(--violet-deep); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.gallery .figure { margin: 0; }
.figure img { cursor: zoom-in; }
.figure.missing .figure-placeholder { aspect-ratio: 16/9; }
.figure-placeholder small { display: block; margin-top: 6px; text-transform: none; letter-spacing: 0; opacity: .75; font-weight: 400; }

.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.pn-nav a { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; transition: all .2s ease; }
.pn-nav a:hover { box-shadow: var(--shadow); border-color: var(--violet); }
.pn-nav .k { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.pn-nav strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.1rem; margin-top: 4px; }
.pn-nav .next { text-align: right; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,13,20,.88); display: none; align-items: center; justify-content: center; padding: 28px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; padding: 0 20px; }

/* about extras */
.about-photo { object-position: 50% 20%; }
.about-caption { font-size: .8rem; color: var(--ink-faint); margin-top: 8px; }
.two-col-list { columns: 2; column-gap: 28px; padding-left: 20px; color: var(--ink-soft); }
.two-col-list li { margin: 5px 0; break-inside: avoid; }

/* ---- Footer --------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--ink-faint); font-size: .9rem; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--violet); }

/* ---- Entrance animation -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal:nth-child(1) { animation-delay: .05s; }
.reveal:nth-child(2) { animation-delay: .14s; }
.reveal:nth-child(3) { animation-delay: .23s; }
.reveal:nth-child(4) { animation-delay: .32s; }
.reveal:nth-child(5) { animation-delay: .41s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 48px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-side { max-width: 320px; }
  .banner { padding: 40px 28px; }
  .card { flex-direction: column; min-height: 0; }
  .card-thumb { flex: none; width: 100%; aspect-ratio: 16 / 10; }
  .card-body { justify-content: flex-start; padding: 24px 24px 26px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 360px; }
  .hero-photo .badge { left: 12px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .feat-grid, .skill-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gallery, .pn-nav { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .two-col-list { columns: 1; }
  .spec th { width: 40%; }
}
img[data-slot]:not(.loaded) { opacity: 0; }
img[data-slot].loaded { opacity: 1; transition: opacity .3s ease; }
.figure-placeholder { flex-direction: column; }
