/* ==========================================================================
   chotigold.in — design system
   Light, editorial, neo-grotesk. Palette: #222 / #7b7b7b / #f8f8f8 / #fff
   ========================================================================== */

:root {
  --ink: #222222;
  --ink-2: #7b7b7b;
  --ink-3: #a8a8a8;
  --paper: #ffffff;
  --paper-2: #f8f8f8;
  --paper-3: #efefef;
  --line: #e6e6e6;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
[id] { scroll-margin-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---- Type ---- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.03em; line-height: 1.08; }
.display { font-size: clamp(3.2rem, 8vw, 6.2rem); font-weight: 300; letter-spacing: -0.045em; line-height: 0.95; }
.h-xl { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 300; }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 300; }
.h-md { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 500; letter-spacing: -0.02em; }
.muted { color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); line-height: 1.65; max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 500; color: var(--ink-2);
  letter-spacing: 0.01em; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* ---- Buttons / links ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; line-height: 1;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: #000; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.light:hover { background: var(--paper-3); border-color: var(--paper-3); }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.92rem;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
  text-decoration-color: var(--ink-3); transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--ink); }
.link .arr { transition: transform .25s var(--ease); display: inline-block; }
.link:hover .arr { transform: translate(2px, -2px); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.01em;
  background: var(--paper-2); color: var(--ink); border: 1px solid var(--line);
}
.pill.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Circular arrow button used on tiles */
.arrow-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-size: 1.05rem;
  transition: transform .3s var(--ease), background .2s;
}

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 1.05rem; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-size: 0.95rem;
}
.nav-links { display: flex; gap: 34px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-burger {
  display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); cursor: pointer; place-items: center;
}
.nav-burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 2.5px 0; transition: transform .25s, opacity .2s; }
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: grid; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 18px 20px 26px; font-size: 1.1rem;
  }
  .nav.open .nav-links a { padding: 10px 0; }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
}

/* ---- Sections ---- */
section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head .h-lg { max-width: 620px; }
@media (max-width: 640px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* ---- Tiles (work + blog cards share this) ---- */
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--paper-2);
  display: grid; place-items: center; isolation: isolate;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile .glyph { font-size: clamp(3.2rem, 7vw, 4.6rem); line-height: 1; filter: saturate(.85); transition: transform .5s var(--ease); }
.tile .arrow-btn { position: absolute; top: 16px; right: 16px; opacity: 0; transform: translate(4px, -4px) scale(.9); }
a:hover .tile .arrow-btn, .card:hover .tile .arrow-btn { opacity: 1; transform: none; }
a:hover .tile img, .card:hover .tile img { transform: scale(1.04); }
a:hover .tile .glyph, .card:hover .tile .glyph { transform: scale(1.06) rotate(-3deg); }

/* Soft pastel backdrops — hashed by build / data-tone */
.tone-sand   { background: linear-gradient(135deg, #f3ede4, #e5dccd); }
.tone-sage   { background: linear-gradient(135deg, #e9efe6, #cfdcc7); }
.tone-mist   { background: linear-gradient(135deg, #e9edf3, #d0d8e4); }
.tone-rose   { background: linear-gradient(135deg, #f5e9e9, #e6cfcf); }
.tone-lilac  { background: linear-gradient(135deg, #ece8f3, #d7cfe6); }
.tone-stone  { background: linear-gradient(135deg, #f1f1f1, #dcdcdc); }

/* ---- Card (blog / work grid item) ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; gap: 16px; }
.card .meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--ink-2); flex-wrap: wrap; }
.card .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.card h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.card-body { display: flex; flex-direction: column; gap: 10px; }

/* ---- Filter pills ---- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters a, .filters button {
  font: inherit; font-size: 0.84rem; font-weight: 600; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-2); transition: all .2s;
}
.filters a:hover, .filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters .active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters .count { opacity: .55; margin-left: 5px; font-weight: 500; }

/* ---- Dark band (CTA / footer / feature) ---- */
.band {
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden;
}
.band .muted { color: rgba(255,255,255,.6); }
.band .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--paper); }

/* ---- Footer ---- */
footer.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0 32px; margin-top: 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-email { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 300; letter-spacing: -0.03em; color: var(--paper); text-decoration: none; }
.footer-email:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.footer-nav { display: flex; gap: 28px; font-size: 0.9rem; color: rgba(255,255,255,.6); flex-wrap: wrap; }
.footer-nav a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; color: rgba(255,255,255,.45);
}

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Blog — list & post
   ========================================================================== */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-head .h-xl { margin-bottom: 16px; }

.post-hero { padding: clamp(56px, 8vw, 96px) 0 0; max-width: 800px; margin: 0 auto; }
.post-hero .meta { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--ink-2); flex-wrap: wrap; margin-bottom: 22px; }
.post-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; letter-spacing: -0.035em; margin-bottom: 18px; }
.post-hero .lead { max-width: none; }
.post-cover { margin: clamp(32px, 5vw, 56px) auto 0; max-width: 1000px; }
.post-cover img, .post-cover .tile { border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }

.prose { max-width: 760px; margin: clamp(40px, 6vw, 64px) auto 0; font-size: 1.08rem; line-height: 1.8; color: #333; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.85rem; font-weight: 400; letter-spacing: -0.03em; margin: 2.4em 0 0.6em; color: var(--ink); }
.prose h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; margin: 2em 0 0.5em; color: var(--ink); }
.prose h4 { font-size: 1.1rem; font-weight: 600; margin: 1.8em 0 0.4em; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ink-3); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose img { border-radius: var(--radius-sm); margin: 2em auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { text-align: center; font-size: 0.85rem; color: var(--ink-2); margin-top: 10px; }
.prose blockquote {
  margin: 2em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--ink);
  font-size: 1.2rem; font-weight: 300; letter-spacing: -0.01em; color: var(--ink);
}
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--paper-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; }
.prose pre {
  background: var(--ink); color: #eaeaea; border-radius: var(--radius-sm);
  padding: 20px 24px; overflow-x: auto; margin: 1.8em 0; font-size: 0.88rem; line-height: 1.6;
}
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); background: var(--paper-2); }

/* highlight.js — minimal mono-tone theme on dark */
.hljs-comment, .hljs-quote { color: #8a8a8a; font-style: italic; }
.hljs-keyword, .hljs-selector-tag, .hljs-built_in, .hljs-name, .hljs-tag { color: #c7b8ff; }
.hljs-string, .hljs-attr, .hljs-symbol, .hljs-bullet, .hljs-addition { color: #b5e2c5; }
.hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable { color: #ffd7a8; }
.hljs-title, .hljs-section, .hljs-function .hljs-title { color: #fff; }
.hljs-type, .hljs-class .hljs-title { color: #a8d8ff; }
.hljs-deletion { color: #ffb3b3; }
.hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: 700; }

.post-footer { max-width: 760px; margin: clamp(48px, 7vw, 80px) auto 0; padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.post-nav { max-width: 760px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; display: flex; flex-direction: column; gap: 4px; }
.post-nav a:hover { border-color: var(--ink); }
.post-nav a small { color: var(--ink-2); font-size: 0.78rem; }
.post-nav a span { font-weight: 500; font-size: 0.95rem; letter-spacing: -0.01em; }
.post-nav a.next { text-align: right; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } }

.empty { padding: 60px 0; text-align: center; color: var(--ink-2); }

/* letter glyph for cover-less tiles */
.glyph-letter { font-family: var(--font); font-weight: 300; font-size: clamp(4rem, 9vw, 6rem) !important; letter-spacing: -0.05em; color: rgba(34,34,34,.5); }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 44px 1.1fr 1fr; gap: clamp(24px, 4vw, 56px);
  align-items: stretch; min-height: min(78vh, 760px); position: relative; z-index: 1;
}
.hero-rail {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  font-size: 0.72rem; color: var(--ink-2); letter-spacing: 0.04em; padding: 8px 0 40px;
}
.hero-rail span { writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-rail .line { flex: 1; width: 1px; background: var(--line); margin: 18px 0; transform: none; writing-mode: initial; }
.hero-main { display: flex; flex-direction: column; justify-content: center; padding: 24px 0 56px; }
.stats { display: flex; gap: clamp(28px, 4vw, 52px); margin-bottom: clamp(40px, 7vw, 96px); }
.stats b { display: block; font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.04em; line-height: 1; }
.stats b::before { content: "+"; color: var(--ink-3); font-weight: 300; margin-right: 1px; }
.stats span { font-size: 0.78rem; color: var(--ink-2); display: block; margin-top: 8px; }
.hero .display { margin-bottom: 18px; }
.hero-sub { color: var(--ink-2); font-size: clamp(0.98rem, 1.5vw, 1.1rem); max-width: 420px; margin: 0 0 32px; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.scroll-hint { font-size: 0.82rem; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.scroll-hint .arr { animation: bob 1.8s ease-in-out infinite; display: inline-block; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.hero-photo {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
  min-height: 420px; align-self: stretch;
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.hero-photo .photo-fallback { display: none; }
.hero-photo.no-photo .photo-fallback {
  display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 420px;
  padding: 28px; background: linear-gradient(160deg, #f4f4f4, #e4e4e4);
}
.hero-photo.no-photo .monogram { font-size: clamp(6rem, 14vw, 11rem); font-weight: 300; letter-spacing: -0.06em; line-height: .85; color: var(--ink); }
.hero-photo.no-photo .fallback-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

.watermark {
  position: absolute; left: 50%; bottom: -0.12em; transform: translateX(-50%);
  font-size: clamp(6rem, 17vw, 15rem); font-weight: 500; letter-spacing: -0.06em; line-height: 1;
  color: var(--paper-2); white-space: nowrap; pointer-events: none; user-select: none; z-index: 0;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-rail { display: none; }
  .hero-main { padding: 8px 0 32px; }
  .hero-photo { min-height: 340px; aspect-ratio: 4 / 3; }
}

/* Feature band (Buniyaad) */
.feature { padding-top: clamp(40px, 6vw, 72px); }
.feature .band { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature .band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 320px at 100% 0%, rgba(255,255,255,.09), transparent 70%);
}
.feature .h-xl { color: var(--paper); margin: 14px 0 16px; }
.feature .lead { color: rgba(255,255,255,.68); margin-bottom: 26px; }
.feature .eyebrow { color: rgba(255,255,255,.6); } .feature .eyebrow::before { background: #fff; }
.feature .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.feature-stats { display: grid; gap: 12px; position: relative; }
.feature-stats .stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px 20px; }
.feature-stats .stat b { display: block; font-weight: 400; font-size: 1.35rem; letter-spacing: -0.02em; }
.feature-stats .stat span { font-size: 0.84rem; color: rgba(255,255,255,.6); }
@media (max-width: 820px) { .feature .band { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid .lead { margin-bottom: 22px; }
.about-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: 0.97rem; }
.about-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23222'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.about-list li strong { color: var(--ink); font-weight: 600; }
.about-visual { position: relative; border-radius: var(--radius); min-height: 440px; overflow: hidden; }
.about-visual .orb {
  position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fbf8f2, #d9cfbf 70%, #c9bca8);
  box-shadow: 0 30px 60px rgba(0,0,0,.08);
}
.about-visual .orb.a { width: 240px; height: 240px; left: 8%; bottom: 6%; }
.about-visual .orb.b { width: 90px; height: 90px; left: 48%; top: 14%; opacity: .8; }
.float-card {
  position: absolute; right: 24px; top: 24px; width: min(250px, 70%);
  background: var(--paper); border-radius: 16px; padding: 20px 22px; box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.float-card .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 16px; }
.float-card b { display: block; font-weight: 300; font-size: 2.4rem; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.float-card span { font-size: 0.82rem; color: var(--ink-2); line-height: 1.5; display: block; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-visual { min-height: 360px; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: var(--paper-2); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s var(--ease); }
.service:hover { transform: translateY(-4px); }
.service .icon { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 1.3rem; }
.service h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; }
.service p { margin: 0; color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.service .stack { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* Work grid */
.work-card .meta .badge { font-size: 0.76rem; color: var(--ink-2); }

/* CTA */
.cta { text-align: center; padding-bottom: clamp(48px, 6vw, 80px); }
.cta .h-xl { margin-bottom: 14px; }
.cta .lead { margin: 0 auto 30px; }

/* Real app icons inside tiles */
.tile .app-icon {
  width: 40%; max-width: 190px; aspect-ratio: 1; border-radius: 22.5%; overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,.14), 0 2px 6px rgba(0,0,0,.06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  background: var(--paper);
}
.tile .app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
a:hover .tile .app-icon, .card:hover .tile .app-icon { transform: translateY(-4px) scale(1.04); box-shadow: 0 32px 56px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.06); }
.feature .brand-icon { width: 60px; height: 60px; border-radius: 16px; overflow: hidden; margin-bottom: 22px; box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.feature .brand-icon img { width: 100%; height: 100%; display: block; }
