/* ============================================================
   AURA · DESIGN — Portfolio Stylesheet
   Tokens: --purple (#3C1A47), --bg (#F7F5F9), --shadow (#291231), --acid (#B6FF00)
   ============================================================ */

:root{
  --purple:#3C1A47;
  --bg:#F7F5F9;
  --shadow:#291231;
  --acid:#B6FF00;
  --paper:#FFFFFF;
  --line: rgba(60,26,71,0.16);
  --line-soft: rgba(60,26,71,0.09);
  --text-soft: rgba(41,18,49,0.62);
  --radius: 14px;
  --maxw: 1280px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--shadow);
  font-family:'Inter', system-ui, sans-serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:'Space Grotesk', sans-serif;
  color:var(--purple);
  margin:0;
  letter-spacing:-0.01em;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
.eyebrow{
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--purple);
  font-weight:600;
}
::selection{ background:var(--acid); color:var(--shadow); }
:focus-visible{ outline:2px solid var(--purple); outline-offset:3px; border-radius:4px; }

/* ===== HEADER ===== */
header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(247,245,249,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.brand{
  font-family:'Space Grotesk', sans-serif;
  font-weight:700;
  font-size:19px;
  letter-spacing:0.01em;
  color:var(--purple);
}
.brand span{color:var(--shadow); opacity:0.45; font-weight:500;}
nav.explorer{
  display:flex;
  gap:6px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:10px;
  padding:5px;
}
nav.explorer a{
  display:flex; align-items:center; gap:8px;
  padding:9px 16px;
  border-radius:7px;
  font-size:13.5px;
  font-weight:500;
  color:var(--shadow);
  transition: background 0.15s ease, color 0.15s ease;
}
nav.explorer a:hover{ background:var(--bg); color:var(--purple); }
nav.explorer svg{ width:15px; height:15px; flex-shrink:0; }

/* Contact button — highlighted (filled) at rest, per latest direction */
.btn-contact{
  border:1.5px solid var(--purple);
  background:var(--acid);
  color:var(--shadow);
  padding:11px 22px;
  border-radius:9px;
  font-size:13.5px;
  font-weight:700;
  cursor:pointer;
  font-family:inherit;
  box-shadow: 0 6px 16px rgba(182,255,0,0.35);
  transition: box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.btn-contact:hover{
  background:var(--purple);
  color:var(--acid);
  border-color:var(--purple);
  box-shadow: 0 10px 22px rgba(60,26,71,0.28);
  transform:translateY(-1px);
}
.nav-toggle{ display:none; }
.mobile-menu{
  display:none;
  position:absolute;
  top:78px; left:0; right:0;
  background:var(--paper);
  border-bottom:1px solid var(--line);
  box-shadow:0 16px 30px rgba(41,18,49,0.12);
  padding:10px 20px 18px;
  flex-direction:column;
}
.mobile-menu.open{ display:flex; }
.mobile-menu a{
  display:flex; align-items:center; gap:10px;
  padding:13px 6px;
  font-size:15px; font-weight:500;
  color:var(--shadow);
  border-bottom:1px solid var(--line-soft);
}
.mobile-menu a:last-child{ border-bottom:none; }
.mobile-menu svg{ width:16px; height:16px; stroke:var(--purple); }

/* ===== HERO ===== */
.hero{
  position:relative;
  padding:96px 0 110px;
  overflow:hidden;
  isolation:isolate;
}

/* Pinboard now lives as a full-bleed background layer behind the hero content */
.hero-board-bg{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 18% 22%, rgba(0,0,0,0.05), transparent 45%),
    radial-gradient(circle at 78% 68%, rgba(0,0,0,0.05), transparent 45%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.025) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.025) 0 2px, transparent 2px 5px),
    linear-gradient(135deg, #C9A26C, #B9905A 45%, #C9A26C);
}
.hero-board-bg .cork-texture{
  position:absolute; inset:0;
  background-image:
    radial-gradient(rgba(0,0,0,0.10) 1px, transparent 1.4px),
    radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.4px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 4px;
  mix-blend-mode:multiply;
  opacity:0.55;
}
/* Gradient overlay so foreground text/photo stay legible over the pinboard texture */
.hero-board-overlay{
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(100deg,
      rgba(247,245,249,0.97) 0%,
      rgba(247,245,249,0.94) 26%,
      rgba(247,245,249,0.74) 46%,
      rgba(247,245,249,0.34) 64%,
      rgba(41,18,49,0.18) 84%,
      rgba(41,18,49,0.34) 100%);
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap:52px;
  align-items:center;
}

/* Pinned items scattered across the hero background (decorative, behind content) */
.pin-note{
  position:absolute;
  background:var(--paper);
  border:1px solid rgba(0,0,0,0.08);
  border-radius:3px;
  box-shadow:0 10px 18px rgba(0,0,0,0.18);
  padding:10px;
}
.pin-note .pin-dot{
  position:absolute; top:-7px; left:50%; transform:translateX(-50%);
  width:13px; height:13px; border-radius:50%;
  background: radial-gradient(circle at 35% 30%, #cfcfcf, #8b8b8b 60%, #5e5e5e);
  box-shadow:0 2px 4px rgba(0,0,0,0.35);
}
.note-wireframe{ top:8%; left:42%; width:14%; transform:rotate(-4deg); }
.note-wireframe .lines div{ height:5px; background:#e4e1e6; border-radius:2px; margin-bottom:6px; }
.note-wireframe .lines div:nth-child(1){width:80%;}
.note-wireframe .lines div:nth-child(2){width:55%;}
.note-wireframe .lines div:nth-child(3){width:68%;}
.note-wireframe .box{ height:26px; border:1.5px solid #c9c6cf; border-radius:3px; margin-top:4px; }

.note-flow{ top:6%; right:4%; width:15%; transform:rotate(3deg); }
.note-flow svg{ width:100%; height:auto; display:block; }

.note-glasses{ bottom:10%; left:44%; width:14%; transform:rotate(-2.5deg); }
.note-glasses .desk-illustration{
  background: linear-gradient(160deg,#efe9da,#e3dbc8);
  border-radius:3px;
  padding:10px 10px 8px;
  position:relative;
}
.uxui-tag{
  position:absolute;
  background:#fff;
  border:1px solid rgba(0,0,0,0.12);
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  font-size:9px;
  letter-spacing:0.04em;
  padding:3px 6px;
  border-radius:2px;
  box-shadow:0 4px 8px rgba(0,0,0,0.18);
  bottom:8px; right:8px;
  transform:rotate(-3deg);
}

.sticky-note{
  position:absolute;
  width:46px;
  height:46px;
  border-radius:2px;
  box-shadow:0 8px 14px rgba(0,0,0,0.2);
  display:flex; align-items:center; justify-content:center;
}
.sticky-note svg{ width:46%; height:46%; }
.sticky-1{ background:var(--acid); top:30%; left:48%; transform:rotate(-6deg); }
.sticky-2{ background:#FFD86B; bottom:8%; right:8%; transform:rotate(5deg); }

.case-card-pin{
  position:absolute;
  bottom:6%; right:22%;
  width:13%;
  transform:rotate(5deg);
}
.case-card-pin .swatch{
  height:40px;
  border-radius:3px;
  background:linear-gradient(135deg, var(--purple), var(--shadow));
  position:relative;
  overflow:hidden;
}
.case-card-pin .swatch::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 40%, rgba(182,255,0,0.5) 50%, transparent 60%);
}

.thread{
  position:absolute; inset:0;
  width:100%; height:100%;
  pointer-events:none;
}

.cork-caption{
  position:absolute;
  left:32px; bottom:36px;
  font-family:'Space Grotesk',sans-serif;
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.8);
  background:rgba(41,18,49,0.55);
  padding:5px 10px;
  border-radius:6px;
  backdrop-filter:blur(3px);
}

/* Hero text */
.hero-text{ padding-right:8px; position:relative; z-index:2; }
.hero-kicker{ display:flex; align-items:center; gap:10px; margin-bottom:22px; }
.hero-kicker .dot{ width:8px; height:8px; border-radius:50%; background:var(--acid); box-shadow:0 0 0 4px rgba(182,255,0,0.25); }
.hero-title{
  font-size:54px;
  line-height:1.06;
  font-weight:700;
  color:var(--purple);
}
.hero-title em{
  font-style:normal;
  position:relative;
  color:var(--shadow);
}
.hero-title em::after{
  content:'';
  position:absolute; left:0; right:0; bottom:6px; height:11px;
  background:var(--acid);
  z-index:-1;
  opacity:0.85;
}
.hero-roles{
  margin-top:22px;
  display:flex; flex-wrap:wrap; gap:10px;
  font-family:'Space Grotesk', sans-serif;
  font-size:14px;
  color:var(--purple);
}
.hero-roles span{
  border:1px solid var(--line);
  background:var(--paper);
  padding:7px 14px;
  border-radius:20px;
}
.hero-sub{
  margin-top:26px;
  font-size:16.5px;
  line-height:1.65;
  color:var(--text-soft);
  max-width:480px;
}
.hero-cta{
  margin-top:34px;
  display:flex; gap:16px; align-items:center;
}
.btn-primary{
  background:var(--purple);
  color:#fff;
  border:none;
  padding:15px 26px;
  border-radius:10px;
  font-family:inherit;
  font-weight:600;
  font-size:14.5px;
  cursor:pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow:0 10px 24px rgba(60,26,71,0.28);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(60,26,71,0.34); }
.btn-ghost{
  font-size:14px;
  font-weight:600;
  color:var(--shadow);
  display:flex; align-items:center; gap:8px;
  border-bottom:1.5px solid transparent;
  padding-bottom:3px;
  transition:border-color 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover{ border-color:var(--purple); color:var(--purple); }

/* Portrait */
.hero-visual-pair{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  position:relative;
  z-index:2;
}
.portrait-wrap{
  position:relative;
  width:62%;
  max-width:380px;
}
.portrait-frame{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 26px 60px rgba(41,18,49,0.32);
}
.portrait-frame img{
  width:100%; height:100%; object-fit:cover;
  filter:saturate(1.04) contrast(1.03);
}
.portrait-frame::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(195deg, rgba(60,26,71,0.18), transparent 38%);
}
.portrait-tag{
  position:absolute;
  bottom:18px; left:18px;
  background:rgba(247,245,249,0.92);
  backdrop-filter:blur(6px);
  border-radius:10px;
  padding:12px 16px;
  display:flex; align-items:center; gap:10px;
  box-shadow:0 12px 24px rgba(41,18,49,0.2);
}
.portrait-tag .pulse{
  width:9px; height:9px; border-radius:50%;
  background:var(--acid);
  box-shadow:0 0 0 0 rgba(182,255,0,0.5);
  animation:pulse 2.2s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(182,255,0,0.45);}
  70%{box-shadow:0 0 0 9px rgba(182,255,0,0);}
  100%{box-shadow:0 0 0 0 rgba(182,255,0,0);}
}
.portrait-tag .label{ font-size:12.5px; font-weight:600; color:var(--shadow); }
.portrait-tag .label small{ display:block; font-weight:400; color:var(--text-soft); font-size:11px; margin-top:1px;}

.portrait-corner{
  position:absolute; top:-14px; right:-14px;
  width:54px; height:54px;
  background:var(--acid);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 24px rgba(182,255,0,0.35);
}
.portrait-corner svg{ width:22px; height:22px; }

@media (prefers-reduced-motion: reduce){
  .portrait-tag .pulse{ animation:none; }
  html{ scroll-behavior:auto; }
}

/* ===== SECTION HEADERS ===== */
.section{ padding:104px 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:52px;
  gap:24px;
  flex-wrap:wrap;
}
.section-head h2{ font-size:38px; font-weight:700; }
.section-head .eyebrow{ margin-bottom:10px; display:block; }
.section-head p{
  max-width:380px;
  color:var(--text-soft);
  font-size:15px;
  line-height:1.6;
  margin:0;
}

/* ===== WORK DONE — BENTO ===== */
.bento{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 240px;
  gap:20px;
}

/* All five Work Done containers behave identically: each is a link to its
   own detail page on a "second page", with the same hover/focus treatment. */
.bento-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bento-card:hover, .bento-card:focus-visible{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(41,18,49,0.12);
  border-color:rgba(60,26,71,0.3);
}
.bento-card .card-icon{
  width:42px; height:42px;
  border-radius:10px;
  background:var(--bg);
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
}
.bento-card .card-icon svg{ width:20px; height:20px; stroke:var(--purple); }
.bento-card h3{ font-size:19px; margin-top:16px; }
.bento-card .card-tag{
  align-self:flex-start;
  font-size:11px;
  font-weight:600;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--shadow);
  background:var(--acid);
  padding:4px 9px;
  border-radius:5px;
  margin-top:10px;
}
.bento-card .card-open{
  margin-top:18px;
  display:inline-flex; align-items:center; gap:7px;
  font-size:12.5px; font-weight:600; color:var(--purple);
}
.bento-card .card-open svg{ width:13px; height:13px; transition:transform 0.15s ease; }
.bento-card:hover .card-open svg{ transform:translateX(3px); }

.card-logo{ grid-column:1; grid-row:1; }
.card-ui{ grid-column:2; grid-row:1; }
.card-ux{ grid-column:3 / span 2; grid-row:1; }
.card-case1{ grid-column:1 / span 2; grid-row:2; }
.card-case2{ grid-column:3 / span 2; grid-row:2; }

.case-card{
  flex-direction:row;
  align-items:stretch;
  gap:22px;
  padding:0;
}
.case-card .case-thumb{
  flex:0 0 42%;
  background:
    linear-gradient(150deg, rgba(60,26,71,0.07), rgba(182,255,0,0.12)),
    repeating-linear-gradient(45deg, rgba(60,26,71,0.05) 0 10px, transparent 10px 20px);
  position:relative;
}
.case-card .case-thumb svg{
  position:absolute; inset:0; margin:auto; width:64px; height:64px;
}
.case-card .case-body{
  flex:1;
  padding:26px 26px 24px 0;
  display:flex; flex-direction:column; justify-content:space-between;
}
.case-card .case-num{
  font-family:'Space Grotesk',sans-serif;
  font-size:12px;
  color:var(--text-soft);
  letter-spacing:0.06em;
}
.case-card h3{ font-size:21px; margin-top:8px; }
.case-card p{ font-size:14px; color:var(--text-soft); line-height:1.6; margin:10px 0 0; }
.case-tags{ display:flex; gap:8px; margin-top:16px; flex-wrap:wrap;}
.case-tags span{
  font-size:11.5px; font-weight:500;
  border:1px solid var(--line);
  border-radius:14px;
  padding:5px 11px;
  color:var(--purple);
}

/* ===== EXPERIENCE ===== */
.timeline{
  border-top:1px solid var(--line);
}
.timeline-row{
  display:grid;
  grid-template-columns: 200px 1fr 160px;
  gap:32px;
  padding:34px 0;
  border-bottom:1px solid var(--line);
  align-items:start;
}
.timeline-row .role-period{
  font-family:'Space Grotesk',sans-serif;
  font-size:13px;
  color:var(--text-soft);
  letter-spacing:0.02em;
  padding-top:3px;
}
.timeline-row h3{ font-size:21px; }
.timeline-row .role-org{
  font-size:14px;
  color:var(--purple);
  font-weight:600;
  margin-top:4px;
}
.timeline-row p{
  font-size:14.5px;
  line-height:1.7;
  color:var(--text-soft);
  margin:12px 0 0;
  max-width:520px;
}
.timeline-row .role-tags{
  display:flex; flex-wrap:wrap; gap:8px;
  justify-content:flex-end;
}
.timeline-row .role-tags span{
  font-size:11px; font-weight:500;
  border:1px solid var(--line);
  border-radius:12px;
  padding:5px 10px;
  color:var(--shadow);
  white-space:nowrap;
}

/* ===== FOOTER ===== */
footer.site{
  background:var(--shadow);
  color:#EFE9F2;
  padding:100px 0 50px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:64px;
}
footer.site h2{ color:#fff; font-size:32px; }
footer.site .eyebrow{ color:var(--acid); }
.footer-lead{
  color:rgba(239,233,242,0.6);
  font-size:15px;
  line-height:1.6;
  max-width:440px;
  margin-top:14px;
}
.form-field{ margin-top:22px; }
.form-field label{
  display:block; font-size:12.5px; font-weight:600;
  letter-spacing:0.04em; text-transform:uppercase;
  color:rgba(239,233,242,0.55);
  margin-bottom:8px;
}
.form-field input, .form-field textarea{
  width:100%;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:9px;
  padding:13px 14px;
  color:#fff;
  font-family:inherit;
  font-size:14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder{ color:rgba(239,233,242,0.35); }
.form-field input:focus, .form-field textarea:focus{
  border-color:var(--acid);
  background:rgba(255,255,255,0.07);
  outline:none;
}
.form-field textarea{ resize:vertical; min-height:110px; }
.btn-submit{
  margin-top:24px;
  background:var(--acid);
  color:var(--shadow);
  border:none;
  padding:14px 28px;
  border-radius:9px;
  font-family:inherit;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  display:inline-flex; align-items:center; gap:8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-submit:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(182,255,0,0.25); }
.form-status{
  margin-top:14px;
  font-size:13px;
  color:var(--acid);
  display:none;
}
.form-status.visible{ display:block; }

.footer-right .eyebrow{ display:block; margin-bottom:18px; }
.explorer-links{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:12px;
  padding:8px;
}
.explorer-link{
  display:flex; align-items:center; gap:14px;
  padding:13px 14px;
  border-radius:8px;
  transition: background 0.15s ease;
  position:relative;
}
.explorer-link:hover{ background:rgba(255,255,255,0.06); }
.explorer-link .icon-box{
  width:36px; height:36px;
  border-radius:8px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.explorer-link .icon-box svg{ width:18px; height:18px; stroke:#EFE9F2; }
.explorer-link .link-text{ flex:1; }
.explorer-link .link-text .name{ font-size:14px; font-weight:600; color:#fff; }
.explorer-link .link-text .sub{ font-size:12px; color:rgba(239,233,242,0.5); margin-top:1px; }
.explorer-link .arrow{ width:14px; height:14px; stroke:rgba(239,233,242,0.4); transition:transform 0.15s ease, stroke 0.15s ease; }
.explorer-link:hover .arrow{ transform:translateX(3px); stroke:var(--acid); }
.explorer-divider{ height:1px; background:rgba(255,255,255,0.08); margin:4px 10px; }

.footer-bottom{
  margin-top:80px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,0.1);
  display:flex; justify-content:space-between; align-items:center;
  font-size:12.5px;
  color:rgba(239,233,242,0.45);
  flex-wrap:wrap;
  gap:12px;
}
.footer-bottom .fb-brand{ color:#EFE9F2; font-weight:600; font-family:'Space Grotesk',sans-serif; }

/* ===== DETAIL / CASE PAGE (shared by all 5 Work Done items) ===== */
.detail-hero{
  padding:64px 0 56px;
  border-bottom:1px solid var(--line);
}
.back-link{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13.5px; font-weight:600;
  color:var(--purple);
  margin-bottom:28px;
}
.back-link svg{ width:14px; height:14px; }
.detail-hero .eyebrow{ display:block; margin-bottom:14px; }
.detail-hero h1{ font-size:42px; max-width:680px; }
.detail-hero .detail-sub{
  margin-top:16px;
  font-size:16px;
  color:var(--text-soft);
  max-width:560px;
  line-height:1.6;
}
.detail-meta{
  display:flex; gap:32px; margin-top:32px; flex-wrap:wrap;
}
.detail-meta div{ font-size:13px; }
.detail-meta div span{ display:block; color:var(--text-soft); margin-bottom:4px; font-size:11.5px; text-transform:uppercase; letter-spacing:0.06em;}
.detail-meta div strong{ color:var(--purple); font-weight:600; font-size:14px; }

.detail-visual{
  margin-top:0;
  padding:64px 0;
  background:var(--paper);
}
.detail-visual .frame{
  aspect-ratio:16/8;
  border-radius:18px;
  background:
    linear-gradient(150deg, rgba(60,26,71,0.07), rgba(182,255,0,0.14)),
    repeating-linear-gradient(45deg, rgba(60,26,71,0.05) 0 14px, transparent 14px 28px);
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
}
.detail-visual .frame svg{ width:88px; height:88px; stroke:var(--purple); }

.detail-body{ padding:80px 0 110px; }
.detail-body-grid{
  display:grid;
  grid-template-columns: 1fr 1.6fr;
  gap:64px;
}
.detail-body h2{ font-size:24px; margin-bottom:14px; }
.detail-body p{ font-size:15.5px; line-height:1.75; color:var(--text-soft); margin:0 0 18px; }
.detail-side{ position:sticky; top:110px; align-self:start; }
.detail-side .side-block{ margin-bottom:28px; }
.detail-side .side-block span.eyebrow{ display:block; margin-bottom:10px; }
.detail-side .side-block ul{ list-style:none; margin:0; padding:0; }
.detail-side .side-block li{
  font-size:14px; color:var(--purple); font-weight:500;
  padding:8px 0; border-bottom:1px solid var(--line-soft);
}
.detail-side .side-block li:last-child{ border-bottom:none; }

.detail-nav{
  border-top:1px solid var(--line);
  padding:40px 0;
  display:flex; justify-content:space-between; align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.detail-nav a{
  font-size:14px; font-weight:600; color:var(--purple);
  display:flex; align-items:center; gap:8px;
}
.detail-nav a svg{ width:14px; height:14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px){
  .hero-grid{ grid-template-columns:1fr; gap:48px; }
  .hero-visual-pair{ display:none; } /* photo moves into flow on smaller screens; board stays as bg */
  .hero-title{ font-size:46px; }
  .bento{ grid-template-columns:repeat(2,1fr); grid-template-rows:auto; }
  .card-logo{ grid-column:1; grid-row:1; }
  .card-ui{ grid-column:2; grid-row:1; }
  .card-ux{ grid-column:1 / span 2; grid-row:2; }
  .card-case1{ grid-column:1 / span 2; grid-row:3; }
  .card-case2{ grid-column:1 / span 2; grid-row:4; }
  .footer-grid{ grid-template-columns:1fr; gap:56px; }
  .timeline-row{ grid-template-columns:150px 1fr; }
  .timeline-row .role-tags{ grid-column:1 / span 2; justify-content:flex-start; margin-top:6px; }
  .detail-body-grid{ grid-template-columns:1fr; gap:36px; }
  .detail-side{ position:static; }
}

@media (max-width: 720px){
  .wrap{ padding:0 20px; }
  nav.explorer{ display:none; }
  .nav-toggle{
    display:flex; align-items:center; justify-content:center;
    width:38px; height:38px;
    border:1px solid var(--line);
    border-radius:8px;
    background:var(--paper);
    cursor:pointer;
  }
  .btn-contact{ padding:10px 16px; font-size:13px; }
  .hero{ padding:48px 0 64px; }
  .hero-title{ font-size:36px; }
  .hero-board-overlay{
    background: linear-gradient(170deg,
      rgba(247,245,249,0.97) 0%,
      rgba(247,245,249,0.94) 55%,
      rgba(247,245,249,0.78) 100%);
  }
  .note-wireframe, .note-flow, .note-glasses, .sticky-1, .sticky-2, .case-card-pin, .thread, .cork-caption{
    display:none;
  }
  .section{ padding:72px 0; }
  .section-head h2{ font-size:29px; }
  .bento{ grid-template-columns:1fr; }
  .card-logo,.card-ui,.card-ux,.card-case1,.card-case2{ grid-column:1; grid-row:auto; }
  .case-card{ flex-direction:column; }
  .case-card .case-thumb{ flex:0 0 140px; }
  .case-card .case-body{ padding:22px; }
  .timeline-row{ grid-template-columns:1fr; gap:8px; }
  .timeline-row .role-tags{ grid-column:1; justify-content:flex-start; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .detail-hero h1{ font-size:30px; }
  .detail-visual .frame{ aspect-ratio:4/3; }
}
