/* =========================================================
   Cindy Fiset — portfolio
   ========================================================= */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --page: #ffffff;
  --tint: #edebe5;
  --panel: #f6f5f0;
  --panel-2: #f1efe9;
  --line: #dedbd3;
  --ink: #161616;
  --ink-2: #3d3d39;
  --muted: #6b6a64;
  --green: #12392c;
  --green-deep: #0b281f;
  --sage: #e3ead4;
  --sage-deep: #d4dfbf;
  --chart-a: #2f7d5b;
  --chart-b: #d59a5a;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 14px;
  --card-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(30,28,20,.04), 0 10px 30px rgba(30,28,20,.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; padding-bottom: 110px;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section[id], main[id] { scroll-margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  border-radius: 10px; font-size: 15.5px; font-weight: 500; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(18,57,44,.28), 0 1px 0 rgba(255,255,255,.12) inset; }
.btn-dark:hover { background: var(--green-deep); box-shadow: 0 10px 22px rgba(18,57,44,.32); }
.btn-sage { background: var(--sage); color: var(--ink); }
.btn-sage:hover { background: var(--sage-deep); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row-center { justify-content: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2);
}
.badge svg { width: 17px; height: 17px; color: var(--green); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3fc265; box-shadow: 0 0 0 4px rgba(63,194,101,.15); display: inline-block; }

/* ---------- Top bar ---------- */
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.wordmark { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 27px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.wordmark-sm { font-size: 22px; }
.topbar-right { display: flex; align-items: center; gap: 18px; font-size: 14.5px; color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 10px; }
.sep { width: 1px; height: 20px; background: var(--line); }
.icon-link { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); transition: background .15s; }
.icon-link:hover { background: var(--panel); }
.icon-link svg { width: 21px; height: 21px; }

/* ---------- Hero ---------- */
.hero { padding: 0 32px; }
.hero-panel {
  max-width: 1360px; margin: 0 auto; border-radius: var(--r-lg);
  background:
    radial-gradient(60% 80% at 12% 40%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #f6f5f1 0%, #efede7 100%);
  border: 1px solid #ecebe5;
  padding: 64px 0 56px;
}
.hero-grid { max-width: 1200px; margin: 0 auto; padding: 0 64px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.04; letter-spacing: -.025em; margin: 22px 0 20px; color: var(--ink);
}
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 520px; }
.hero-proof {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 480px;
  display: flex; align-items: stretch; gap: 28px;
}
.proof { display: flex; flex-direction: column; gap: 4px; }
.proof-strong { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--green); letter-spacing: -.01em; }
.proof-text { font-size: 14px; color: var(--ink-2); }
.proof-bar { width: 1px; background: var(--line); }

.hero-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { margin: 0; position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 5 / 8; }
.panel-photo { background: linear-gradient(160deg, #e8ece0 0%, #dfe5d3 55%, #d2dbc3 100%); }
.panel-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.photo-fallback span { font-family: var(--serif); font-style: italic; font-size: 92px; color: var(--green); opacity: .55; }

.panel-results {
  background:
    radial-gradient(90% 60% at 50% 100%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(170deg, #e7e4dc 0%, #f4f2ec 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 18px;
}
.results-card {
  width: 100%; max-width: 230px; background: #fff; border-radius: 16px; padding: 16px 16px 14px;
  box-shadow: 0 18px 40px rgba(30, 28, 20, .14), 0 2px 6px rgba(30,28,20,.06);
  transform: rotate(-4deg);
}
.results-head { display: flex; flex-direction: column; gap: 4px; }
.results-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.results-legend { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); }
.lg { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.lg-a { background: var(--chart-a); }
.lg-b { background: var(--chart-b); margin-left: 6px; }
.results-chart { width: 100%; height: 86px; margin: 10px 0 8px; }
.results-chart .grid { stroke: #eeece6; stroke-width: 1; }
.results-chart .line-a { stroke: var(--chart-a); stroke-width: 2.6; }
.results-chart .line-b { stroke: var(--chart-b); stroke-width: 2.2; stroke-dasharray: 4 5; }
.results-foot { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid #f0eee8; padding-top: 10px; }
.results-big { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--green); }
.results-cap { font-size: 10.5px; line-height: 1.35; color: var(--muted); }
.results-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.results-chips span { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 500; color: var(--ink-2); }

.media-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.media-foot-line { flex: 1; height: 1px; background: var(--line); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 44px 0 52px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.chip-row { display: flex; gap: 14px; padding-right: 14px; }
.chip-row li {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 20px; border-radius: 999px; background: var(--panel); border: 1px solid #ecebe5;
  font-size: 15.5px; color: var(--ink-2); box-shadow: var(--card-shadow);
}
.chip-row svg { width: 19px; height: 19px; color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-tint { background: var(--tint); }
.section-title { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section h2, .process-copy h2, .contact-card h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 50px);
  letter-spacing: -.02em; line-height: 1.08; color: var(--ink);
}
.section-title p { margin-top: 18px; font-size: 18px; color: var(--ink-2); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
  background: var(--panel); border: 1px solid rgba(255,255,255,.85); border-radius: var(--r-md);
  padding: 30px 30px 32px; box-shadow: var(--card-shadow);
}
.service-icon { width: 60px; height: 60px; border-radius: 14px; background: #ebe9e3; display: grid; place-items: center; color: var(--green); margin-bottom: 26px; }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 24px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 12px; }
.service p { color: var(--ink-2); font-size: 16.5px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ticks li { font-size: 13.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }

/* ---------- Results band ---------- */
.results-band { padding: 72px 0; background: var(--green); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 28px; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.16); }
.stat-num { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -.02em; }
.stat-label { font-size: 15px; color: rgba(255,255,255,.72); }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { background: var(--panel); border-radius: var(--r-md); padding: 12px; border: 1px solid #ecebe5; box-shadow: var(--card-shadow); transition: transform .25s ease; }
.work:hover { transform: translateY(-4px); }
.work-img { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #e9e7e0, #dedbd2); }
.work-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.work-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #eceee4 0%, #e1e5d6 100%); }
.mock { width: 31%; background: #fff; border-radius: 9px; padding: 7px; box-shadow: 0 14px 30px rgba(30,28,20,.12); transform: translateY(-8px) rotate(-3deg); }
.mock-img { aspect-ratio: 1 / 1; border-radius: 6px; background: linear-gradient(150deg, #cfd9bf, #b9c8a3); }
.mock-line { height: 5px; border-radius: 3px; background: #e7e5df; margin-top: 7px; }
.mock-line.short { width: 60%; }
.mock-cta { width: 42%; height: 10px; border-radius: 999px; background: var(--green); margin-top: 9px; opacity: .85; }
.ph-label { position: absolute; left: 14px; bottom: 12px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,.85); border-radius: 999px; padding: 5px 11px; }
.work-meta { padding: 18px 10px 10px; }
.work-tag { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
.work-meta h3 { font-size: 18.5px; font-weight: 500; margin-top: 6px; letter-spacing: -.01em; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.process-copy { position: sticky; top: 48px; }
.process-copy p { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 440px; }
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { background: var(--panel); border: 1px solid rgba(255,255,255,.85); border-radius: var(--r-md); padding: 34px 34px 32px; text-align: center; box-shadow: var(--card-shadow); }
.step-num {
  display: inline-block; font-family: var(--serif); font-size: 58px; line-height: 1; color: var(--ink); position: relative; padding: 0 34px 10px;
}
.step-num::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150,145,130,.28), rgba(150,145,130,0));
}
.step h3 { font-size: 23px; font-weight: 500; margin: 14px 0 10px; letter-spacing: -.01em; }
.step p { color: var(--ink-2); font-size: 16.5px; max-width: 470px; margin: 0 auto; }

/* ---------- Experience ---------- */
.xp-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.xp { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.xp-when { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 500; color: var(--ink); }
.xp-where { font-weight: 400; color: var(--muted); }
.xp-what h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.015em; line-height: 1.15; }
.xp-org { color: var(--green); font-weight: 500; font-size: 15px; margin: 6px 0 12px; }
.xp-what p:last-child { color: var(--ink-2); max-width: 720px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.fact { background: var(--panel); border-radius: var(--r-sm); padding: 20px 22px; border: 1px solid #ecebe5; display: flex; flex-direction: column; gap: 6px; }
.fact-label { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.fact-value { font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Quote (optional) ---------- */
.quote { margin: 0 auto; max-width: 820px; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.quote figcaption { margin-top: 22px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-section { padding-top: 40px; }
.contact-card {
  max-width: 860px; margin: 0 auto; text-align: center; border-radius: 28px;
  background: linear-gradient(180deg, #f7f6f2 0%, #f1efe9 100%); border: 1px solid #fff;
  box-shadow: var(--card-shadow); padding: 64px 48px 52px;
}
.contact-card h2 { margin: 24px 0 18px; }
.contact-card > p { font-size: 18px; color: var(--ink-2); max-width: 560px; margin: 0 auto; }
.resume-links { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; font-size: 15px; color: var(--muted); }
.resume-links a { color: var(--ink-2); text-underline-offset: 3px; }
.resume-links a:hover { color: var(--green); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 28px 32px; }
.footer-meta { font-size: 14px; color: var(--muted); }

/* ---------- Floating dock ---------- */
.dock {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 18px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,.06); border-radius: 999px;
  box-shadow: 0 14px 40px rgba(20,20,15,.14), 0 2px 6px rgba(20,20,15,.06);
}
.dock-link { padding: 10px 14px; font-size: 15.5px; text-decoration: none; color: var(--ink); border-radius: 999px; transition: background .15s; }
.dock-link:hover, .dock-link.active { background: var(--panel-2); }
.dock-cta { margin-left: 6px; padding: 12px 22px; background: var(--green); color: #fff; text-decoration: none; border-radius: 999px; font-size: 15.5px; font-weight: 500; box-shadow: 0 6px 14px rgba(18,57,44,.3); }
.dock-cta:hover { background: var(--green-deep); }

/* ---------- Load + reveal animations ---------- */
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise-2 { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rise { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { padding: 0 40px; gap: 40px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-panel { padding: 56px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .service-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; }
  .process { grid-template-columns: 1fr; gap: 40px; }
  .process-copy { position: static; }
  .xp { grid-template-columns: 1fr; gap: 10px; }
  .xp-when { flex-direction: row; gap: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 96px; }
  .wrap { padding: 0 16px; }
  .topbar-inner { height: 68px; }
  .wordmark { font-size: 24px; }
  .topbar-right { gap: 10px; }
  .status, .status + .sep { display: none; }
  .hero { padding: 0 10px; }
  .hero-panel { border-radius: 24px; padding: 40px 0 32px; }
  .hero-grid { padding: 0 18px; }
  .hero h1 { font-size: 40px; margin: 20px 0 16px; }
  .hero-sub { font-size: 16.5px; }
  .btn-row { gap: 10px; }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .hero-proof { gap: 18px; }
  .proof-strong { font-size: 28px; }
  .proof-text { font-size: 13px; }
  .hero-media { gap: 10px; }
  .photo-fallback span { font-size: 64px; }
  .panel { aspect-ratio: 3 / 4; }
  .panel-results { padding: 12px; }
  .results-card { padding: 11px 11px 10px; transform: rotate(-3deg); border-radius: 12px; }
  .results-title { font-size: 11.5px; }
  .results-legend, .results-chips, .results-cap { display: none; }
  .results-chart { height: 54px; margin: 6px 0; }
  .results-big { font-size: 26px; }
  .marquee { padding: 32px 0 36px; }
  .chip-row li { padding: 10px 16px; font-size: 14.5px; }
  .section { padding: 76px 0; }
  .section-title { margin-bottom: 40px; }
  .section-title p, .process-copy p, .contact-card > p { font-size: 16.5px; }
  .service { padding: 24px; }
  .service h3 { font-size: 22px; }
  .work-grid { grid-template-columns: 1fr; }
  .results-band { padding: 56px 0; }
  .stat { padding: 4px 14px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .step { padding: 28px 22px; }
  .step-num { font-size: 50px; }
  .xp-what h3 { font-size: 24px; }
  .facts { grid-template-columns: 1fr; }
  .contact-card { padding: 44px 22px 36px; border-radius: 22px; }
  .footer-inner { padding: 22px 16px; flex-direction: column; gap: 6px; }
  .dock { bottom: 14px; padding: 6px 6px 6px 8px; gap: 0; max-width: calc(100vw - 20px); }
  .dock-link { padding: 9px 10px; font-size: 14.5px; }
  .dock-cta { padding: 10px 16px; font-size: 14.5px; margin-left: 2px; }
  .hide-sm { display: none; }
}

/* ---------- Case studies (Selected Work) ---------- */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.case { background: var(--panel); border: 1px solid #ecebe5; border-radius: var(--r-md); padding: 26px; box-shadow: var(--card-shadow); display: grid; grid-template-columns: 1fr 1.9fr; gap: 36px; align-items: center; }
.case-head { padding: 0 6px; }
.case-head h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.015em; line-height: 1.1; margin: 8px 0 10px; }
.case-head p { color: var(--ink-2); font-size: 16px; max-width: 520px; }
.case-media { display: grid; gap: 12px; }
.case-3 .case-media { grid-template-columns: repeat(3, 1fr); }
.case-2 .case-media { grid-template-columns: repeat(2, 1fr); }
.case-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #e4e1d9; border: 1px solid rgba(20,20,15,.09); box-shadow: 0 6px 18px rgba(30,28,20,.06); }
.case-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-tile:hover img { transform: scale(1.04); }
.tile-tag { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 500; color: var(--ink); background: rgba(255,255,255,.92); border-radius: 999px; padding: 5px 10px; }
.case-tile::after { content: "↗"; position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); font-size: 14px; opacity: 0; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; }
.case-tile:hover::after, .case-tile:focus-visible::after { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px 20px; }
}
@media (max-width: 640px) {
  .case { padding: 20px 14px 14px; gap: 18px; }
  .case-head h3 { font-size: 26px; }
  .case-3 .case-media { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .case-2 .case-media { gap: 8px; }
  .tile-tag { left: 6px; bottom: 6px; font-size: 10.5px; padding: 3px 7px; }
  .case-tile { border-radius: 9px; }
  .case-tile::after { opacity: 1; transform: none; width: 22px; height: 22px; font-size: 11px; top: 6px; right: 6px; }
}
