:root {
  --bg: #0b0b10;
  --bg-alt: #121219;
  --surface: #17171f;
  --border: #26262f;
  --text: #f3f1ee;
  --muted: #a3a1ab;
  --accent: #f0141e;
  --accent-2: #53d0ff;
  --radius: 16px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img, iframe { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: #d9d6de; }
.label { font-weight: 600; color: var(--accent-2); margin-top: 1.5em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 1em; }
.big-line { font-family: var(--font-head); font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; margin-bottom: .4em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: 600 1rem var(--font-body); transition: transform .2s, color .35s ease, border-color .35s ease, box-shadow .35s ease; }
/* Hover fill sweeps in from the left edge to the right */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { --btn-fill: #fff; background: linear-gradient(135deg, var(--accent), #ff4a4f); color: #fff; box-shadow: 0 10px 30px -10px rgba(240, 20, 30, .6); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--accent); box-shadow: 0 12px 34px -10px rgba(255, 255, 255, .35); }
.btn-ghost { --btn-fill: linear-gradient(135deg, var(--accent), #ff4a4f); border-color: var(--border); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--accent); color: #fff; }
.btn:disabled { cursor: progress; opacity: .8; }
.btn:disabled::before { transform: scaleX(0); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 16, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; text-decoration: none; margin: 0; }
.logo img { width: 36px; height: 36px; }
.logo span { color: var(--accent); font-weight: 600; margin-left: -4px; font-size: .8em; letter-spacing: .2em; }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-menu a:not(.btn):hover { color: var(--text); }

/* Services dropdown */
.nav-item { position: relative; display: flex; align-items: center; gap: 2px; }
.dropdown-toggle { background: none; border: 0; padding: 6px 4px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.dropdown-toggle svg { width: 12px; height: 8px; transition: transform .25s; }
.dropdown { position: absolute; top: calc(100% + 18px); left: 50%; width: 460px; padding: 14px; display: grid; gap: 10px; background: #14141c; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.nav-menu .dropdown a { color: var(--text); }
.dropdown-group { display: grid; gap: 2px; }
.dropdown-group a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; transition: background .15s; }
.dropdown-group a:hover { background: rgba(255, 255, 255, .05); }
.dropdown-group strong { font-weight: 600; font-size: .95rem; }
.dropdown-group span { color: var(--muted); font-size: .82rem; }
.dropdown-group a:hover strong { color: var(--accent-2); }
.dropdown-more { grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px; padding-top: 10px; border-top: 1px solid var(--border); }
.nav-menu .dropdown-more a { color: var(--muted); font-size: .88rem; padding: 8px 12px; }
.nav-menu .dropdown-more a:hover { color: var(--text); }
.nav-menu .dropdown .dropdown-all { color: var(--accent); font-weight: 600; font-size: .9rem; padding: 4px 12px; }
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 821px) {
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-dropdown:hover .dropdown-toggle svg, .has-dropdown:focus-within .dropdown-toggle svg { transform: rotate(180deg); }
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px); border-bottom: 1px solid var(--border); }
.hero-sm { padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); }
.hero-sm h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hero-glow { position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(240, 20, 30, .28), rgba(83, 208, 255, .08) 40%, transparent 65%); pointer-events: none; }
.hero-inner { position: relative; max-width: 860px; margin-left: max(16px, calc((100% - 1180px) / 2)); margin-right: 16px; }
.hero h1 { background: linear-gradient(120deg, #fff 40%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.4em; }
.breadcrumb a { color: var(--muted); }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.split > *, .form-row > * { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }

.approach { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: step; }
.approach li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px; font-size: .92rem; }
.approach li::before { content: counter(step); color: var(--accent); font-weight: 700; margin-right: 8px; }

/* Cards and grids */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card, .pillar, .gear, .industry, .offer, .work-card, .contact-card, .stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.service-card:hover, .work-card:hover { border-color: rgba(240, 20, 30, .6); transform: translateY(-3px); }
.service-card { display: flex; flex-direction: column; padding: 34px; }
.service-card .text-link { margin-top: auto; }
.service-num { font-family: var(--font-head); color: var(--accent); font-weight: 700; font-size: .9rem; margin-bottom: 1em; }
.service-card h3 { font-size: 1.5rem; }
.service-headline { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }

.question-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.question-list li { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid var(--border); }
.question-list li::before { content: "?"; color: var(--accent); margin-right: 12px; }
.philosophy { margin: 1.6em 0 0; padding: 24px 28px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.philosophy p:not(.label) { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin: 0; }
.philosophy .label { margin: 0 0 .5em; font-size: .85rem; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar p, .gear p, .industry p, .offer p { color: var(--muted); margin: 0; }
.gear-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gear h3 { color: var(--accent-2); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 1.6em; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.dental { background: linear-gradient(135deg, rgba(240, 20, 30, .1), transparent 60%); }
.check-list, .item-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-list li, .item-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px 14px 44px; position: relative; font-weight: 500; }
.check-list li::before, .item-grid li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(-45deg); }
.item-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 2.4em; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; }
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); margin: 0; font-size: .92rem; }

.role-list { list-style: none; padding: 0; margin: 0 0 1.4em; color: var(--muted); }
.role-list li { padding: 4px 0; text-decoration: line-through; text-decoration-color: rgba(240, 20, 30, .6); }
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 24px 58px; }
.timeline li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-family: var(--font-head); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: var(--border); }
.timeline h3 { margin-bottom: .2em; }
.timeline p { color: var(--muted); margin: 0; }

.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.work-card { display: flex; flex-direction: column; gap: 10px; justify-content: space-between; min-height: 170px; text-decoration: none; background: linear-gradient(160deg, #1e1e28, var(--surface)); }
.work-title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.case-studies { margin-top: 48px; padding: 32px; border: 1px dashed var(--border); border-radius: var(--radius); max-width: 760px; }

.faq-list { display: grid; gap: 12px; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary h3 { margin: 0; font-size: 1.05rem; }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact { background: radial-gradient(ellipse at top left, rgba(240, 20, 30, .12), transparent 60%), var(--bg); }
.contact-address { color: var(--muted); margin-bottom: 1.4em; }
.contact-address a { color: var(--text); }
.map { width: 100%; height: 260px; border: 1px solid var(--border); border-radius: var(--radius); filter: grayscale(.4) invert(.9) hue-rotate(180deg); }
.contact-split { grid-template-columns: 1.3fr 1fr; }
.contact-side { display: grid; gap: 20px; }
.contact-card h2 { font-size: 1.4rem; }
.whatsapp-card { background: linear-gradient(135deg, rgba(37, 211, 102, .14), var(--surface)); border-color: rgba(37, 211, 102, .35); }
.whatsapp-card .btn-primary { --btn-fill: #fff; background: #25d366; box-shadow: none; color: #06210f; }
.whatsapp-card .btn-primary:hover { color: #0f8a3c; }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 1.2em; }
.contact-list dt { color: var(--muted); font-size: .9rem; }
.contact-list dd { margin: 0; }

.enquiry-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.enquiry-form h3 { font-size: 1.4rem; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.enquiry-form input:not([type=checkbox]):not([type=radio]), .enquiry-form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; color: var(--text); font: inherit; font-size: 1rem;
}
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--accent); }
.enquiry-form ::placeholder { color: #6d6b75; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: .9rem; font-weight: 500; margin-bottom: 8px; padding: 0; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.enquiry-form .check { display: inline-flex; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); font-size: .88rem; transition: .15s; }
.check input:checked + span { border-color: var(--accent); background: rgba(240, 20, 30, .15); color: #fff; }
.check input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.5em; }
.form-status.ok { color: #5ee08a; }
.form-status.err { color: #ff8a73; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 28px; background: #08080c; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-tag { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; font-size: .88rem; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); z-index: 60; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 1000px) {
  .pillar-grid, .offer-grid, .item-grid { grid-template-columns: repeat(2, 1fr); }
  .gear-grid, .industry-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border); display: none; }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-menu .btn { margin-top: 14px; }
  .nav-item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--border); }
  .nav-item > .nav-link { padding: 14px 0; border-bottom: 0 !important; flex: 1; }
  .dropdown-toggle { padding: 14px 8px; }
  .dropdown { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; border: 0; padding: 0 0 12px; display: none; }
  .has-dropdown.open .dropdown { display: grid; transform: none; }
  .dropdown::before { display: none; }
  .nav-menu .dropdown a { border-bottom: 0; padding: 10px 12px; }
  .dropdown-more { grid-template-columns: 1fr 1fr; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split, .contact-split, .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pillar-grid, .offer-grid, .item-grid, .check-list, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Services overview */
.jump-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; }
.jump-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.jump-links a:hover { color: var(--accent); }
.core-list { display: grid; gap: 28px; }
.core-service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); scroll-margin-top: 90px; }
.core-service > * { min-width: 0; }
.core-title { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.core-head .btn { margin-top: .6em; }
.core-body .label:first-child { margin-top: 0; }
.flow { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow li { white-space: nowrap; padding: 7px 14px; border-radius: 10px; background: rgba(240, 20, 30, .1); border: 1px solid rgba(240, 20, 30, .35); font-size: .88rem; font-weight: 500; }
.flow li:not(:last-child)::after { content: "→"; color: var(--accent); margin-left: 12px; margin-right: -4px; }
.detail-list { display: grid; gap: 12px; margin: 0 0 1.4em; }
.detail-list dt { font-weight: 600; }
.detail-list dd { margin: 0; color: var(--muted); font-size: .94rem; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); }
.plain-list li::before { content: "—"; color: var(--accent); margin-right: 10px; }
.tech-outro { margin-top: 2em; }
.case-links { margin-top: 2em; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.center-row .cta-row { justify-content: center; }
.step-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.step-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.step-grid span { display: block; font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }
.statement { margin-top: 2.4em; max-width: 640px; }
.closing { max-width: 820px; margin: 2em auto 0; }

/* Industries */
.industry-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 1.6em; }
.industry-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.industry-card h2 { font-size: 1.4rem; }
.industry-card p { color: var(--muted); }
.industry-card .chips { margin-bottom: 1em; }

@media (max-width: 820px) {
  .core-service, .industry-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .step-grid { grid-template-columns: 1fr; }
}

/* Blog */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.cat-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; font-size: .9rem; color: var(--muted); }
.cat-nav a:hover { color: var(--text); border-color: var(--accent); }
.cat-nav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: rgba(240, 20, 30, .6); transform: translateY(-3px); }
.post-cover { display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(240, 20, 30, .55), rgba(83, 208, 255, .45)), #1b1b24; text-decoration: none; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover span { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h2 { font-size: 1.2rem; margin: .4em 0 .5em; }
.post-card-body h2 a { text-decoration: none; }
.post-card-body h2 a:hover { color: var(--accent-2); }
.post-card-body > p:not(.post-meta) { color: var(--muted); font-size: .95rem; }
.post-card .post-meta { margin-top: auto; }
.post-cat { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); text-decoration: none; }
.post-meta { color: var(--muted); font-size: .88rem; margin: 0; }
.post-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-top: .4em; }
.post-hero-img { width: 100%; border-radius: var(--radius); margin-bottom: 2em; }
.empty-state { color: var(--muted); padding: 40px 0; }
.prose { font-size: 1.08rem; line-height: 1.8; color: #dedbe3; }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; color: var(--text); }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-2); }
.prose blockquote { margin: 1.6em 0; padding: 4px 22px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose img { border-radius: 12px; }
.post-tags { margin-top: 2em; }
.post-cta { margin-top: 3em; padding: 32px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(240, 20, 30, .14), var(--surface)); border: 1px solid var(--border); }
.post-cta h2 { font-size: 1.5rem; }
.post-cta .cta-row { margin-bottom: 0; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* Work / portfolio */
.work-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.showcase-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.showcase-card:hover { border-color: rgba(240, 20, 30, .6); transform: translateY(-3px); }
.showcase-media { aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative; background: linear-gradient(135deg, rgba(240, 20, 30, .5), rgba(83, 208, 255, .4)), #1b1b24; }
.showcase-media::after { content: ""; position: absolute; width: 58px; height: 58px; border-radius: 50%; background: rgba(0, 0, 0, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") center / 26px no-repeat; border: 1px solid rgba(255, 255, 255, .4); }
.showcase-media span { position: absolute; left: 18px; bottom: 14px; font-family: var(--font-head); font-weight: 700; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.showcase-body { padding: 24px; }
.showcase-body p { color: var(--muted); }

/* Admin-managed content: images and social links */
.social-links { list-style: none; padding: 0; margin: 1.2em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; }
.social-links a:hover { border-color: var(--accent); }
.has-img { background: #1b1b24; }
.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-media.has-img::after { opacity: .9; }
.industry-media { aspect-ratio: 3 / 2; margin: -30px -30px 22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.service-hero-img { margin-top: 48px; }
.service-hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
