/* Ron Corona portfolio — clean & minimal */
   [hidden] { display: none !important; }
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #ffffff;
  --tint: #f4f4f1;
  --tint-2: #ebebe7;
  --ink: #121212;
  --muted: #5c5c58;
  --line: #e4e4df;
  /* Brand colours, taken from the logo */
  --brand-indigo: #3c3795;
  --brand-plum: #a53594;
  --brand-pink: #ff1268;
  --brand-red: #da2128;
  --brand-orange: #f05123;
  --grad: linear-gradient(110deg, #3c3795 0%, #a53594 34%, #ff1268 64%, #f05123 100%);
  --accent: #d4145a;
  --accent-2: #3c3795;
  --accent-ink: #ffffff;
  --accent-soft: #fdeef3;
  --dark: #15122f;
  --on-dark: #f4f4f1;
  --on-dark-muted: #b8b8b2;
  --radius: 16px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --sans: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: #ffd3e1; color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

main { overflow-x: clip; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }
.narrow { max-width: 880px; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: 24px 96px; }
.section-tint { background: var(--tint); }
.muted { color: var(--muted); }
.big { font-size: 1.15rem; line-height: 1.65; }

/* Type */
.eyebrow { font: 500 0.78rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 17ch; }
.display-sm { font-size: clamp(2.4rem, 5.2vw, 4.3rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 18ch; }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.h4 { font-size: 1.3rem; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--muted); max-width: 46ch; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 0.98rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--grad); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--grad); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: var(--on-dark); }
.btn-ghost-light:hover { border-color: #fff; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link:hover { color: var(--accent); }
.link .i, .btn .i { transition: transform .2s; }
.link:hover .i, .btn:hover .i { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; text-decoration: none; }
.logo img { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--muted); padding: 6px 0; }
.site-nav > a:not(.btn):hover, .site-nav > a[aria-current="page"] { color: var(--ink); }
.site-nav > a:not(.btn) { position: relative; }
.site-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav > a:not(.btn):hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.menu-btn .when-open { display: none; }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 24px; box-shadow: 0 24px 40px rgba(0,0,0,.06); }
  .site-nav > a:not(.btn) { font-size: 1.6rem; font-weight: 700; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.btn)::after { display: none; }
  .site-nav > a[aria-current="page"] { color: var(--accent); }
  .site-nav .btn { margin-top: 20px; min-height: 52px; }
  .nav-open .site-nav { display: flex; }
  .nav-open .menu-btn .when-open { display: inline; }
  .nav-open .menu-btn .when-closed { display: none; }
}

/* Hero */
.hero { position: relative; isolation: isolate; padding-block: clamp(72px, 12vw, 150px) clamp(56px, 8vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.hero::before { content: ""; position: absolute; z-index: -1; top: 4%; right: -6%; width: min(560px, 70vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 40%, rgba(255,18,104,.20), transparent 60%), radial-gradient(circle at 70% 65%, rgba(240,81,35,.18), transparent 60%), radial-gradient(circle at 60% 20%, rgba(60,55,149,.20), transparent 62%); filter: blur(40px); pointer-events: none; }
.status { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #1fa45a; box-shadow: 0 0 0 4px rgba(31,164,90,.15); display: inline-block; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); margin: 24px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: var(--muted); font-size: 0.95rem; }
.stats dd { margin: 0; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; align-self: flex-start; }

/* Clients */
.clients { border-block: 1px solid var(--line); padding-block: 36px; }
.clients .wrap { display: flex; flex-direction: column; gap: 20px; }
.client-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
.client-list li { font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; color: #8a8a84; }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head > div { display: flex; flex-direction: column; gap: 12px; }

/* Featured */
.features { display: flex; flex-direction: column; gap: clamp(72px, 10vw, 128px); }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature.is-flipped { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature.is-flipped .feature-img { order: 2; }
.feature-img { display: block; border-radius: var(--radius); overflow: hidden; background: var(--tint); aspect-ratio: 4 / 3; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.feature-img:hover img { transform: scale(1.03); }
.feature-text { display: flex; flex-direction: column; gap: 18px; }
.feature-text h3 a { text-decoration: none; }
.feature-text h3 a:hover { color: var(--accent); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--tint); font-size: 0.86rem; font-weight: 500; }
.section-tint .tags li { background: #fff; }
@media (max-width: 860px) { .feature, .feature.is-flipped { grid-template-columns: 1fr; } .feature.is-flipped .feature-img { order: 0; } }

/* Filters & groups */
.filter-bar { position: sticky; top: 72px; z-index: 20; background: rgba(255,255,255,.94); padding-block: 14px; border-block: 1px solid var(--line); }
.section-tint .filter-bar { background: var(--tint); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 0.92rem/1 var(--sans); cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.chip span { color: var(--muted); font-size: 0.82rem; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--dark); color: #fff; border-color: var(--dark); box-shadow: inset 0 -3px 0 var(--brand-pink); }
.chip.is-on span { color: #c9c9c4; }
@media (max-width: 640px) { .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); } .chips::-webkit-scrollbar { display: none; } .chip { flex: none; } }
.group { padding-block: 64px; border-bottom: 1px solid var(--line); }
.group:last-child { border-bottom: 0; }
.group[hidden] { display: none; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.group-head h2, .group-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* Cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 48px 28px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.card-img { display: block; border-radius: var(--radius); overflow: hidden; background: var(--tint-2); aspect-ratio: 4 / 3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-meta { font: 500 0.75rem/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.card:hover .card-title { color: var(--accent); }

/* Services (home grid) */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.svc { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s; }
.svc:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc-n { font: 500 0.78rem var(--mono); color: var(--accent-2); }
.svc-t { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.svc-p { font-weight: 700; margin-top: auto; padding-top: 8px; }

/* About teaser / portrait */
.about-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-teaser > div { display: flex; flex-direction: column; gap: 20px; }
.portrait { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tint-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-mono { display: flex; align-items: center; justify-content: center; background: var(--dark); }
.portrait-mono span { font-size: clamp(5rem, 12vw, 9rem); font-weight: 800; letter-spacing: -0.06em; color: #fff; }
.portrait-mono span::after { content: "."; color: var(--accent); }
@media (max-width: 860px) { .about-teaser { grid-template-columns: 1fr; } .about-teaser .portrait { max-width: 360px; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: var(--on-dark); }
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: auto -10% -60% auto; width: min(720px, 90vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255,18,104,.45), transparent 58%), radial-gradient(circle at 65% 60%, rgba(240,81,35,.35), transparent 60%), radial-gradient(circle at 30% 70%, rgba(165,53,148,.40), transparent 62%); filter: blur(60px); pointer-events: none; }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.cta-inner { padding-block: clamp(72px, 10vw, 120px); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.03em; max-width: 14ch; }
.cta-inner p { color: var(--on-dark-muted); margin-top: 16px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { position: relative; padding-block: 48px 40px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
main:has(> .cta-band:last-child) + .site-footer::before { display: none; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo links" "role copy"; align-items: center; gap: 10px 32px; }
.footer-logo { grid-area: logo; justify-self: start; }
.footer-links { grid-area: links; display: flex; gap: 16px 40px; flex-wrap: wrap; justify-content: flex-end; }
.footer-role { grid-area: role; }
.footer-copy { grid-area: copy; text-align: right; }
.footer-role, .footer-copy { font-size: 0.92rem; }
.footer-nav, .footer-social { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a, .footer-social a { text-decoration: none; font-weight: 500; }
.footer-nav a:hover, .footer-social a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; grid-template-areas: "logo" "role" "links" "copy"; gap: 10px; }
  .footer-links { justify-content: flex-start; flex-direction: column; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
  .footer-copy { text-align: left; margin-top: 16px; }
}

/* Page heads */
.page-head { padding-block: clamp(64px, 9vw, 112px) clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* Project page */
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin: 16px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.meta dt { font: 500 0.75rem/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 6px 0 0; font-weight: 600; }
.project-head .btn { align-self: flex-start; }
.project-hero { margin-bottom: clamp(56px, 8vw, 96px); }
.project-hero img { width: 100%; border-radius: 20px; }
.overview { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 1.12rem; line-height: 1.7; color: #33332f; max-width: 68ch; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) { .overview { grid-template-columns: 1fr; } }
/* Section jump bar: one slim row that scrolls sideways */
.jump { position: sticky; top: 72px; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-block: 1px solid var(--line); margin-bottom: 24px; }
.jump-inner { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.jump-label { flex: none; font: 500 0.72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-right: 14px; border-right: 1px solid var(--line); }
.jump-label b { font-weight: 500; color: var(--accent); }
.jump-track { flex: 1; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); padding-inline: 16px; }
.jump-track::-webkit-scrollbar { display: none; }
.jump-link { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 0.84rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.jump-link span { font: 500 0.7rem/1 var(--mono); color: #a3a39d; }
.jump-link:hover { color: var(--ink); background: var(--tint); }
.jump-link.is-on { color: var(--ink); background: var(--accent-soft); }
.jump-link.is-on span { color: var(--accent); }
.jump-arrow { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, opacity .2s; }
.jump-arrow:hover { border-color: var(--ink); }
.jump-arrow[hidden] { display: none; }
.jump-arrow:disabled { opacity: .35; cursor: default; border-color: var(--line); }
@media (max-width: 640px) { .jump-label, .jump-arrow { display: none !important; } .jump-inner { margin-inline: calc(var(--pad) * -1); } .jump-track { padding-inline: var(--pad); } }
.gallery-wrap { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); padding-bottom: clamp(72px, 10vw, 120px); }
.gallery-section, .gallery-section [id^="s-"] { scroll-margin-top: 140px; }
.gallery-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.gallery { display: grid; gap: 20px; }
.gallery.cols-1 { grid-template-columns: 1fr; }
.gallery.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.is-stack { gap: 28px; max-width: 1100px; margin-inline: auto; }
.gallery.cols-1:not(.is-stack) { max-width: 1100px; margin-inline: auto; width: 100%; }
@media (max-width: 860px) { .gallery.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery.cols-2, .gallery.cols-3 { grid-template-columns: 1fr; } }
.shot { margin: 0; border-radius: 12px; overflow: hidden; background: var(--tint); box-shadow: 0 1px 0 var(--line); }
.shot img { width: 100%; }
.browser { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 48px -24px rgba(0,0,0,.18); align-self: start; }
.browser-bar { display: flex; gap: 7px; padding: 12px 14px; background: var(--tint); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d3cd; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 40px; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.pager-next { text-align: right; align-items: flex-end; }
.pager-t { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; }
.pager a:hover .pager-t { color: var(--accent); }

/* About page */
.about-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(64px, 9vw, 112px); }
.about-hero > div { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } .about-hero .portrait { max-width: 380px; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-block: 48px; margin-block: 0; }
.facts dd { margin: 8px 0 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.teams { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 2px solid transparent; border-image: var(--grad) 1; }
.teams li { padding: 26px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.skills-intro { max-width: 40ch; font-size: 1.1rem; }
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.skill { --c1: #3c3795; --c2: #a53594; position: relative; isolation: isolate; overflow: hidden; background: #fff; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 1px 0 var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.skill-2 { --c1: #a53594; --c2: #ff1268; }
.skill-3 { --c1: #ff1268; --c2: #f05123; }
.skill::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.skill::after { content: ""; position: absolute; z-index: -1; top: -90px; right: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, var(--c2), transparent 70%); opacity: .10; transition: opacity .3s ease, transform .5s ease; }
.skill:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(60, 55, 149, .35); }
.skill:hover::after { opacity: .18; transform: scale(1.15); }
.skill-top { display: flex; justify-content: space-between; align-items: flex-start; }
.skill-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 12px 24px -12px var(--c2); }
.skill-n { font: 500 0.8rem/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
.skill-head { display: flex; flex-direction: column; gap: 8px; }
.skill-head .h4 { font-size: 1.45rem; }
.skill-blurb { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.skill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.skill-list li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--tint); font-size: 0.9rem; font-weight: 500; transition: background .2s, color .2s; }
.skill-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); flex: none; }
.skill-list li:hover { background: color-mix(in srgb, var(--c2) 10%, #fff); }
/* Line the three cards up row by row (icon / title + text / list) */
@supports (grid-template-rows: subgrid) { .skill { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 22px; align-content: start; } .skill-list { margin-top: 0; align-self: start; } }
/* Wide dark card (e.g. AI Workflow) */
.skills .skill-wide { --c1: #a53594; --c2: #ff1268; grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: 22px clamp(32px, 5vw, 64px); padding: clamp(32px, 4vw, 48px); background: var(--dark); color: var(--on-dark); box-shadow: none; }
.skill-wide::before { background: var(--grad); }
.skill-wide::after { top: auto; bottom: -220px; right: -120px; width: 560px; height: 560px; background: radial-gradient(circle at 40% 40%, rgba(255,18,104,.9), transparent 55%), radial-gradient(circle at 70% 60%, rgba(240,81,35,.8), transparent 60%), radial-gradient(circle at 30% 70%, rgba(60,55,149,.9), transparent 62%); filter: blur(40px); opacity: .35; }
.skill-wide:hover::after { opacity: .5; }
.skill-wide .skill-top { grid-column: 1; grid-row: 1; }
.skill-wide .skill-head { grid-column: 1; grid-row: 2; }
.skill-wide .skill-icon { background: var(--grad); box-shadow: 0 12px 28px -10px rgba(255,18,104,.7); }
.skill-wide .skill-n, .skill-wide .skill-blurb { color: var(--on-dark-muted); }
.skill-wide .skill-head .h4 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.skill-wide .skill-list { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; padding: 0 0 0 clamp(32px, 5vw, 64px); border-top: 0; border-left: 1px solid rgba(255,255,255,.14); gap: 10px; }
.skill-wide .skill-list li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: var(--on-dark); padding: 9px 16px; font-size: 0.95rem; }
.skill-wide .skill-list li::before { background: var(--grad); width: 7px; height: 7px; }
.skill-wide .skill-list li:hover { background: rgba(255,255,255,.14); }
@media (max-width: 860px) {
  .skills .skill-wide { grid-template-columns: 1fr; grid-template-rows: none; }
  .skill-wide .skill-top, .skill-wide .skill-head, .skill-wide .skill-list { grid-column: 1; grid-row: auto; }
  .skill-wide .skill-list { padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
}
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.quote { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 24px; }
.quote blockquote { margin: 0; font-size: 1.25rem; line-height: 1.5; }
.quote figcaption { display: flex; flex-direction: column; }

/* Services page */
.svc-list { padding-bottom: clamp(72px, 10vw, 120px); }
.svc-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 56px); padding-block: 48px; border-top: 1px solid var(--line); scroll-margin-top: 100px; align-items: start; }
.svc-row-title { display: flex; flex-direction: column; gap: 12px; }
.svc-row-title .svc-p { padding: 0; }
.svc-row-body { display: flex; flex-direction: column; gap: 18px; }
.svc-row-img { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-row-img:hover img { transform: scale(1.04); }
@media (max-width: 960px) { .svc-row { grid-template-columns: 1fr 1fr; } .svc-row-img { grid-column: 1 / -1; max-width: 420px; } }
@media (max-width: 640px) { .svc-row { grid-template-columns: 1fr; } }
.checks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq { margin-top: 32px; border-top: 2px solid transparent; border-image: var(--grad) 1; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; cursor: pointer; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-i { flex: none; color: var(--accent); transition: transform .25s; }
.faq details[open] .faq-i { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); font-size: 1.08rem; max-width: 64ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); padding-block: clamp(64px, 9vw, 112px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-dl { margin: 12px 0 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.contact-dl dd { margin: 6px 0 0; font-size: 1.12rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.inline-links { gap: 20px !important; }
.contact-card { background: var(--tint); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #c9c9c3; border-radius: 12px; background: #fff; font: 400 1rem/1.4 var(--sans); color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .btn { align-self: flex-start; }
.form-status { min-height: 1.4em; font-weight: 500; }
.form-status.is-error { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-done, .form-fallback { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.form-done svg { color: #1fa45a; }

/* Missing image fallback */
.ph { background: var(--tint-2); width: 100%; height: 100%; min-height: 120px; }
