/* ==========================================================================
   Public website — calm, editorial, precise.
   Inter Tight (display) · Inter (body) · Instrument Serif italic (accents)
   Brand color comes from Settings → Tampilan → brand_color (--accent).
   ========================================================================== */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../../vendor/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../../vendor/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../../vendor/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(../../vendor/fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url(../../vendor/fonts/outfit-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url(../../vendor/fonts/outfit-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url(../../vendor/fonts/outfit-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url(../../vendor/fonts/inter-tight-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url(../../vendor/fonts/inter-tight-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 700; font-display: swap; src: url(../../vendor/fonts/inter-tight-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-display: swap; src: url(../../vendor/fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; src: url(../../vendor/fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }

:root {
    --accent: #2d4bf0;
    --accent-soft: color-mix(in srgb, var(--accent) 10%, white);
    --ink: #0d0f14;
    --ink-2: #2b2f38;
    --muted: #666b75;
    --faint: #9a9ea6;
    --line: #e8e6e1;
    --line-2: #f0eee9;
    --paper: #fbfaf7;
    --surface: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(13, 15, 20, .04), 0 8px 24px -12px rgba(13, 15, 20, .12);
    --shadow-lg: 0 30px 60px -30px rgba(13, 15, 20, .25);
    --container: 1200px;
    --display: "Outfit", "Inter", system-ui, sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, h4, h5 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -.028em; font-weight: 600; margin: 0 0 .5em; }
h1 em, h2 em, h3 em, .display em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 46px; padding: 0 1.3rem; border-radius: 999px; font-weight: 500; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn i { font-size: 1.1em; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262a33; box-shadow: 0 10px 24px -12px rgba(13, 15, 20, .6); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { box-shadow: 0 10px 24px -10px var(--accent); filter: brightness(1.05); }
.btn-line { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f0ec; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { height: 38px; padding: 0 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; color: var(--ink); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------------- header ---------------- */
.announce { background: var(--ink); color: #d6d8dd; font-size: .84rem; text-align: center; padding: .55rem 1rem; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 2rem; height: 72px; }
.logo { white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -.03em; }
.logo img { height: 30px; width: auto; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .95rem; position: relative; overflow: hidden; }
.logo-mark::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); right: -3px; bottom: -3px; }
.nav-menu { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu a { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; padding: .5rem .8rem; border-radius: 999px; font-size: .93rem; color: var(--ink-2); font-weight: 450; transition: background .2s, color .2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--ink); background: rgba(13, 15, 20, .05); }
.nav-menu .sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .4rem; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.nav-menu li:hover > .sub, .nav-menu li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub a { border-radius: 9px; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang a { font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; color: var(--muted); }
.lang a.active { background: var(--ink); color: #fff; }
.quote-pill { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--surface); font-size: 1.15rem; color: var(--ink); }
.quote-pill .count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 600; display: grid; place-items: center; }
.quote-pill .count:empty, .quote-pill .count[data-count="0"] { display: none; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.2rem; }

@media (max-width: 1080px) {
    .nav-menu { display: none; }
    .burger { display: grid; place-items: center; }
    .nav-actions .btn-cta { display: none; }
    .mobile-open .nav-menu { display: flex; flex-direction: column; align-items: stretch; position: fixed; inset: 72px 0 0; background: var(--paper); padding: 1.25rem 24px 2rem; overflow-y: auto; gap: .1rem; }
    .mobile-open .nav-menu a { font-size: 1.15rem; padding: .8rem .5rem; border-radius: 10px; }
    .mobile-open .nav-menu .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: none; padding: 0 0 0 1rem; }
    .mobile-open .nav-menu .sub a { font-size: 1rem; color: var(--muted); }
    .mobile-open .mobile-cta { display: block !important; margin-top: 1rem; }
}

/* ---------------- sections ---------------- */
.section { padding: 112px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section + .section.bordered { border-top: 1px solid var(--line); }
.section.white { background: var(--surface); }
.section.dark { background: var(--ink); color: #b8bcc5; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: 56px; }
.section-head .text { max-width: 640px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .text { margin: 0 auto; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .35em; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section.dark .section-head p { color: #9ca0aa; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.section.dark .eyebrow { color: #9ca0aa; }
.section.dark .eyebrow::before { box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }

/* ---------------- hero ---------------- */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -240px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.045em; line-height: 1.02; margin-bottom: .45em; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-trust { margin-top: 2.6rem; display: flex; align-items: center; gap: 1rem; font-size: .88rem; color: var(--muted); }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -8px; display: grid; place-items: center; font-size: .72rem; font-weight: 600; color: #fff; }
.avatars span:first-child { margin-left: 0; }

.hero-panel { position: relative; display: grid; gap: 14px; }
.panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: center; transition: transform .35s var(--ease); }
.panel-card:hover { transform: translateX(-6px); }
.panel-card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.panel-card h4 { font-size: 1rem; margin: 0 0 .1rem; letter-spacing: -.01em; }
.panel-card p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.panel-card:nth-child(2) { margin-left: 28px; }
.panel-card:nth-child(3) { margin-left: 56px; margin-right: 0; padding-right: 130px; }
.panel-stat { position: absolute; right: -8px; bottom: -40px; background: var(--ink); color: #fff; border-radius: 16px; padding: .9rem 1.2rem; box-shadow: var(--shadow-lg); }
.panel-stat strong { display: block; font-family: var(--display); font-size: 1.7rem; letter-spacing: -.03em; line-height: 1; }
.panel-stat span { font-size: .78rem; color: #aab0bb; }

.page-hero { padding: 76px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 20%, transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -.04em; max-width: 900px; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0; }
.page-hero .hero-actions { margin-top: 2rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--faint); margin-bottom: 1.4rem; }
.breadcrumbs a:hover { color: var(--ink); }

@media (max-width: 960px) {
    .panel-card:nth-child(3) { padding-right: 1.3rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .panel-card:nth-child(n) { margin-left: 0; }
    .panel-stat { right: 12px; }
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 40px; }
}

/* ---------------- logos ---------------- */
.logos { padding: 36px 0 12px; }
.logos p { text-align: center; font-size: .85rem; color: var(--faint); margin-bottom: 1.4rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-logo { height: 34px; display: flex; align-items: center; font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.03em; color: #9b9ea5; white-space: nowrap; filter: grayscale(1); opacity: .85; transition: .2s; }
.client-logo img { height: 100%; width: auto; }
.client-logo:hover { color: var(--ink); filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---------------- grid & cards ---------------- */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; }
a.card:hover, .card.hover:hover { border-color: #d6d3cc; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.28rem; margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .96rem; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.4rem; }
.icon-box.dark { background: var(--ink); color: #fff; }
.card .card-foot { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; font-size: .88rem; }

/* service bento */
.service-card { display: flex; flex-direction: column; min-height: 100%; }
.service-card .tag { position: absolute; top: 24px; right: 24px; }
.service-card ul { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .45rem; }
.service-card li { display: flex; gap: .55rem; font-size: .9rem; color: var(--ink-2); }
.service-card li i { color: var(--accent); margin-top: .22rem; }
.service-card .link-arrow { margin-top: auto; padding-top: 1.4rem; }
.service-card.featured { grid-column: span 2; background: var(--ink); border-color: var(--ink); color: #b8bcc5; }
.service-card.featured h3 { color: #fff; font-size: 1.6rem; }
.service-card.featured p { color: #a3a8b2; }
.service-card.featured .icon-box { background: rgba(255, 255, 255, .08); color: #fff; }
.service-card.featured li { color: #d7dae0; }
.service-card.featured .link-arrow { color: #fff; }
@media (max-width: 680px) { .service-card.featured { grid-column: auto; } }

.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 500; padding: .28rem .65rem; border-radius: 999px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.chip.accent { background: var(--accent-soft); color: var(--accent); }
.chip.success { background: #e5f6ec; color: #16713e; }
.chip.warning { background: #fdf1de; color: #9a5b0b; }
.chip.info { background: #e3f3f8; color: #0c6b86; }
.chip.dark { background: var(--ink); color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }

/* generated cover (used when no image uploaded) */
.cover { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 16/10; background: hsl(var(--h, 225) 45% 94%); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cover.gen { background:
        radial-gradient(120% 90% at 100% 0%, hsl(var(--h) 80% 70% / .55), transparent 55%),
        radial-gradient(90% 90% at 0% 100%, hsl(calc(var(--h) + 40) 70% 60% / .35), transparent 60%),
        linear-gradient(135deg, hsl(var(--h) 30% 16%), hsl(calc(var(--h) + 20) 35% 10%)); }
.cover.gen::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 32px 32px; }
.cover.gen .cover-label { position: absolute; left: 22px; bottom: 18px; right: 22px; color: #fff; font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: 1.05rem; opacity: .92; display: flex; align-items: center; gap: .6rem; }
.cover.gen .cover-icon { position: absolute; right: 22px; top: 18px; font-size: 2.1rem; color: rgba(255, 255, 255, .8); }
.cover.gen .cover-mono { position: absolute; right: -12px; bottom: -44px; font-family: var(--serif); font-style: italic; font-size: 11rem; line-height: 1; color: rgba(255, 255, 255, .07); }
.cover.light { background: linear-gradient(135deg, hsl(var(--h) 60% 96%), hsl(calc(var(--h) + 30) 60% 92%)); }
.cover.light::before { background-image: linear-gradient(hsl(var(--h) 40% 50% / .08) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--h) 40% 50% / .08) 1px, transparent 1px); }
.cover.light .cover-icon { color: hsl(var(--h) 55% 45%); font-size: 3rem; right: 50%; top: 50%; transform: translate(50%, -50%); }
.cover.light .cover-mono { color: hsl(var(--h) 50% 50% / .08); }

/* project card */
.project-card { display: block; }
.project-card .cover { aspect-ratio: 4/3; border-radius: var(--radius); }
.project-card:hover .cover img { transform: scale(1.04); }
.project-card .meta { display: flex; gap: .6rem; align-items: center; margin: 1.1rem 0 .45rem; font-size: .84rem; color: var(--faint); }
.project-card h3 { font-size: 1.35rem; margin-bottom: .35rem; transition: color .2s; }
.project-card:hover h3 { color: var(--accent); }
.project-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.projects-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
.projects-feature .project-card:first-child { grid-column: span 2; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.projects-feature .project-card:first-child .cover { aspect-ratio: 16/10; }
.projects-feature .project-card:first-child h3 { font-size: 2rem; }
@media (max-width: 860px) { .projects-feature { grid-template-columns: 1fr; } .projects-feature .project-card:first-child { grid-column: auto; grid-template-columns: 1fr; gap: 0; } }

/* metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .1); }
.metric { padding: 2.2rem 1.6rem 0 0; }
.metric + .metric { padding-left: 1.6rem; border-left: 1px solid rgba(255, 255, 255, .1); }
.metric strong { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: -.045em; color: #fff; line-height: 1; margin-bottom: .6rem; font-weight: 600; }
.metric span { font-size: .93rem; color: #9ca0aa; }
.section:not(.dark) .metrics { border-color: var(--line); }
.section:not(.dark) .metric + .metric { border-color: var(--line); }
.section:not(.dark) .metric strong { color: var(--ink); }
@media (max-width: 760px) { .metrics { grid-template-columns: repeat(2, 1fr); } .metric:nth-child(3) { border-left: 0; padding-left: 0; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; counter-reset: step; }
.step { padding: 1.8rem 1.6rem 0 0; border-top: 1px solid rgba(255, 255, 255, .14); position: relative; counter-increment: step; }
.step::before { content: "0" counter(step); position: absolute; top: -1px; left: 0; padding-top: .9rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--accent); border-top: 2px solid var(--accent); width: 42px; }
.step .ico { font-size: 1.6rem; color: #fff; margin: 1.4rem 0 1rem; display: block; }
.step h4 { font-size: 1.12rem; margin-bottom: .45rem; }
.step p { font-size: .92rem; color: #9ca0aa; margin: 0; }
.section:not(.dark) .step { border-color: var(--line); }
.section:not(.dark) .step .ico { color: var(--ink); }
.section:not(.dark) .step p { color: var(--muted); }

/* product card */
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card .cover { border-radius: 0; aspect-ratio: 16/9; }
.product-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card .head { display: flex; gap: .9rem; align-items: center; margin-bottom: .9rem; }
.product-logo { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; flex-shrink: 0; overflow: hidden; }
.product-logo img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { margin: 0; font-size: 1.2rem; }
.product-card .cat { font-size: .8rem; color: var(--faint); }
.product-card .link-arrow { margin-top: auto; padding-top: 1rem; }

/* hardware */
.hw-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hw-cat { display: flex; gap: 1rem; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: .25s var(--ease); }
.hw-cat:hover { border-color: var(--ink); transform: translateY(-2px); }
.hw-cat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--line-2); display: grid; place-items: center; font-size: 1.35rem; color: var(--ink); transition: .25s; }
.hw-cat:hover .ico { background: var(--ink); color: #fff; }
.hw-cat strong { display: block; font-family: var(--display); color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.hw-cat span { font-size: .84rem; color: var(--muted); }
.hw-cat i.ti-arrow-up-right { margin-left: auto; color: var(--faint); }
@media (max-width: 860px) { .hw-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hw-cats { grid-template-columns: 1fr; } }

.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.catalog-side { position: sticky; top: 96px; }
.catalog-side h5 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-family: var(--body); font-weight: 600; margin: 1.6rem 0 .6rem; }
.side-link { display: flex; justify-content: space-between; align-items: center; padding: .5rem .75rem; border-radius: 10px; font-size: .93rem; color: var(--ink-2); }
.side-link:hover { background: rgba(13, 15, 20, .04); }
.side-link.active { background: var(--ink); color: #fff; }
.side-link small { color: var(--faint); }
.side-link.active small { color: #aab0bb; }
.catalog-bar { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
@media (max-width: 900px) { .catalog { grid-template-columns: 1fr; } .catalog-side { position: static; } .side-links { display: flex; overflow-x: auto; gap: .4rem; padding-bottom: .3rem; } .side-link { white-space: nowrap; border: 1px solid var(--line); } .side-link small { display: none; } }

.hw-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.hw-card .cover { border-radius: 0; aspect-ratio: 4/3; }
.hw-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hw-card .brand { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.hw-card h3 { font-size: 1.05rem; margin: .3rem 0 .35rem; letter-spacing: -.015em; }
.hw-card p { font-size: .87rem; margin-bottom: .8rem; }
.hw-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.hw-card .price { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: .98rem; }
.hw-card .price.req { font-family: var(--body); font-weight: 500; color: var(--muted); font-size: .84rem; }
.btn-add { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 1.1rem; cursor: pointer; transition: .2s; flex-shrink: 0; }
.btn-add:hover, .btn-add.added { background: var(--ink); color: #fff; border-color: var(--ink); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 38%; padding-right: 1rem; }
.spec-table td { color: var(--ink); }

/* testimonials */
.quote-card { display: flex; flex-direction: column; }
.quote-card blockquote { margin: 0 0 1.6rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: var(--ink); letter-spacing: -.005em; }
.quote-card blockquote::before { content: "“"; display: block; font-size: 3.2rem; line-height: .6; color: var(--accent); margin-bottom: .6rem; }
.quote-card .who { margin-top: auto; display: flex; gap: .8rem; align-items: center; }
.who .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.who strong { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; }
.who span { font-size: .84rem; color: var(--muted); }
.stars { color: #f5a524; font-size: .9rem; letter-spacing: .1em; margin-bottom: .8rem; }
.initials { display: grid; place-items: center; color: #fff; font-weight: 600; font-family: var(--display); background: hsl(var(--h, 225) 45% 45%); }

/* team */
.member { display: block; }
.member .photo { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: hsl(var(--h) 30% 92%); position: relative; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); transition: .6s var(--ease); }
.member:hover .photo img { filter: none; transform: scale(1.03); }
.member .photo .mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 5.5rem; color: hsl(var(--h) 35% 40%); background: radial-gradient(80% 80% at 70% 20%, hsl(var(--h) 60% 86%), hsl(var(--h) 25% 90%)); }
.member .socials { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; opacity: 0; transform: translateY(6px); transition: .3s var(--ease); }
.member:hover .socials, .member:focus-within .socials { opacity: 1; transform: none; }
.member .socials a { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow); }
.member h4 { font-size: 1.1rem; margin: 1rem 0 .15rem; letter-spacing: -.015em; }
.member .role { font-size: .9rem; color: var(--muted); }
.member .bio { font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.division-title { display: flex; align-items: baseline; gap: 1rem; margin: 64px 0 28px; }
.division-title h3 { margin: 0; font-size: 1.5rem; }
.division-title span { color: var(--faint); font-size: .9rem; }
.division-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* blog */
.post-card { display: block; }
.post-card .cover { aspect-ratio: 16/10; border-radius: var(--radius); }
.post-card:hover .cover img { transform: scale(1.04); }
.post-card .meta { display: flex; gap: .6rem; align-items: center; font-size: .82rem; color: var(--faint); margin: 1rem 0 .5rem; }
.post-card h3 { font-size: 1.22rem; margin-bottom: .45rem; transition: color .2s; }
.post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.post-feature h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; gap: 24px; } }

/* article / prose */
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 1.75rem; margin-top: 2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.7em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.4em; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.prose img { border-radius: var(--radius-sm); }
.prose pre { background: var(--ink); color: #e6e6e6; padding: 1.2rem; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.prose code { background: var(--line-2); padding: .1em .35em; border-radius: 5px; font-size: .92em; }
.prose pre code { background: none; padding: 0; }
.article-head { max-width: 820px; margin: 0 auto; text-align: center; }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; color: var(--faint); font-size: .9rem; }
.article-cover { max-width: 1040px; margin: 48px auto 0; }
.article-cover .cover { aspect-ratio: 21/9; border-radius: 24px; }

/* case study */
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 48px; }
.case-meta div { padding: 1.3rem 1.4rem 1.3rem 0; }
.case-meta div + div { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.case-meta small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: .3rem; }
.case-meta strong { font-weight: 500; color: var(--ink); }
@media (max-width: 760px) { .case-meta { grid-template-columns: 1fr 1fr; } .case-meta div:nth-child(3) { border-left: 0; padding-left: 0; } }
.case-body { display: grid; grid-template-columns: 240px 1fr; gap: 64px; }
.case-body aside { position: sticky; top: 100px; align-self: start; }
.case-body aside a { display: block; padding: .45rem 0; color: var(--faint); font-size: .95rem; border-left: 2px solid var(--line); padding-left: 1rem; }
.case-body aside a:hover, .case-body aside a.active { color: var(--ink); border-color: var(--accent); }
.case-block { margin-bottom: 64px; }
.case-block > h2 { font-size: 1.8rem; }
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 32px 0; }
.highlight { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; }
.highlight strong { display: block; font-family: var(--display); font-size: 2.3rem; letter-spacing: -.04em; color: var(--accent); line-height: 1; margin-bottom: .5rem; font-weight: 600; }
.highlight span { font-size: .9rem; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery img { border-radius: 16px; width: 100%; aspect-ratio: 16/10; object-fit: cover; cursor: zoom-in; }
.gallery img:first-child:nth-last-child(odd) { grid-column: span 2; }
@media (max-width: 860px) { .case-body { grid-template-columns: 1fr; gap: 0; } .case-body aside { display: none; } }

/* detail two-column */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.detail-side { position: sticky; top: 96px; display: grid; gap: 16px; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; gap: 40px; } .detail-side { position: static; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list li i { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; margin-top: .15rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.info-list li:last-child { border: 0; }
.info-list li span { color: var(--muted); }
.info-list li strong { color: var(--ink); font-weight: 500; text-align: right; }

/* jobs */
.job-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1.5rem; align-items: center; padding: 1.6rem 1.8rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: .25s var(--ease); }
.job-row + .job-row { margin-top: 12px; }
.job-row:hover { border-color: var(--ink); transform: translateX(4px); }
.job-row h3 { margin: 0 0 .35rem; font-size: 1.2rem; }
.job-row .arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; font-size: 1.1rem; transition: .25s; }
.job-row:hover .arrow { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .job-row { grid-template-columns: 1fr; } .job-row .arrow { display: none; } }

/* faq */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.5rem 0; font-family: var(--display); font-size: 1.13rem; font-weight: 500; color: var(--ink); letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .3s var(--ease); flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-item .answer { padding: 0 3.5rem 1.6rem 0; color: var(--muted); white-space: pre-line; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* cta */
.cta-block { position: relative; overflow: hidden; background: var(--ink); color: #b8bcc5; border-radius: 28px; padding: 80px 64px; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
.cta-block::before { content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -280px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), transparent); opacity: .8; }
.cta-block::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .4em; }
.cta-block h2 em { color: #fff; opacity: .9; }
.cta-block p { font-size: 1.08rem; max-width: 560px; margin: 0; }
.cta-block .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-block { grid-template-columns: 1fr; padding: 56px 28px; border-radius: 22px; } }

/* forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 20px; } }
.field label { display: block; font-size: .86rem; font-weight: 500; color: var(--ink); margin-bottom: .4rem; }
.field label .opt { color: var(--faint); font-weight: 400; }
.input, .select, .textarea { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; font-size: .95rem; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.has-error .input, .has-error .select, .has-error .textarea { border-color: #d92d20; }
.error { color: #d92d20; font-size: .82rem; margin-top: .35rem; }
.hp { position: absolute; left: -9999px; }
.type-switch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.type-switch label { cursor: pointer; }
.type-switch input { position: absolute; opacity: 0; }
.type-switch .opt-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: .45rem; font-size: .88rem; font-weight: 500; color: var(--ink); transition: .2s; background: var(--paper); height: 100%; }
.type-switch .opt-card i { font-size: 1.35rem; color: var(--muted); }
.type-switch input:checked + .opt-card { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink); }
.type-switch input:checked + .opt-card i { color: var(--accent); }
@media (max-width: 640px) { .type-switch { grid-template-columns: 1fr 1fr; } }
.file-drop { display: flex; align-items: center; gap: .8rem; border: 1.5px dashed var(--line); border-radius: 12px; padding: 1rem; background: var(--paper); cursor: pointer; font-size: .92rem; color: var(--muted); }
.file-drop i { font-size: 1.4rem; color: var(--ink); }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 14px; font-size: .95rem; margin-bottom: 1.4rem; }
.alert i { font-size: 1.2rem; margin-top: .1rem; }
.alert-success { background: #e8f6ee; color: #145c34; border: 1px solid #c6ead5; }
.alert-error { background: #fdecea; color: #912018; border: 1px solid #f7c9c4; }

.quote-table { width: 100%; border-collapse: collapse; }
.quote-table td { padding: 1rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.quote-table .thumb { width: 60px; height: 60px; border-radius: 12px; overflow: hidden; }
.quote-table .thumb .cover { aspect-ratio: 1; border-radius: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 32px; height: 34px; border: 0; background: none; cursor: pointer; }
.qty input { width: 52px; border: 0; text-align: center; outline: none; font-weight: 500; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-item .icon-box { margin: 0; width: 46px; height: 46px; font-size: 1.25rem; flex-shrink: 0; }
.contact-item small { display: block; color: var(--faint); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-item strong, .contact-item a { color: var(--ink); font-weight: 500; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1.6rem; aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* tech list */
.tech-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tech { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9rem; color: var(--ink); font-weight: 500; }
.tech img { width: 20px; height: 20px; object-fit: contain; }
.tech small { color: var(--faint); font-weight: 400; }
.section.dark .tech { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #e4e6ea; }

/* about */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-intro .big { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; letter-spacing: -.025em; color: var(--ink); }
.value-card .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.4rem; margin-bottom: 1.2rem; display: block; }
@media (max-width: 900px) { .about-intro { grid-template-columns: 1fr; gap: 24px; } }

/* pagination */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 56px; list-style: none; padding: 0; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 .6rem; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); font-size: .92rem; }
.pagination a:hover { border-color: var(--ink); }
.pagination .active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .disabled span { opacity: .4; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 44px; }
.filter-bar a { padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; background: var(--surface); transition: .2s; }
.filter-bar a:hover { border-color: var(--ink); }
.filter-bar a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-bar a small { color: var(--faint); margin-left: .25rem; }
.filter-bar a.active small { color: #aab0bb; }
.search-input { position: relative; }
.search-input i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search-input .input { padding-left: 2.6rem; background: #fff; border-radius: 999px; min-width: 280px; }

.empty { text-align: center; padding: 72px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty i { font-size: 2.4rem; color: var(--faint); display: block; margin-bottom: .75rem; }

/* footer */
.site-footer { background: var(--ink); color: #9ca0aa; padding: 88px 0 32px; margin-top: 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: #fff; color: var(--ink); }
.site-footer h5 { color: #fff; font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a:hover { color: #fff; }
.footer-socials { display: flex; gap: .5rem; margin-top: 1.4rem; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 1.1rem; }
.footer-socials a:hover { background: #fff; color: var(--ink); }
.newsletter { display: flex; gap: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 5px; margin-top: 1rem; }
.newsletter input { flex: 1; background: none; border: 0; outline: 0; color: #fff; padding: 0 .9rem; min-width: 0; }
.newsletter input::placeholder { color: #7d828d; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 64px; padding-top: 28px; font-size: .85rem; }
.footer-bottom .links { display: flex; gap: 1.4rem; }
.footer-word { font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 15vw, 13rem); letter-spacing: -.06em; line-height: .8; color: rgba(255, 255, 255, .045); margin-top: 48px; user-select: none; white-space: nowrap; overflow: hidden; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* floating whatsapp + toast */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: .85rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 100; opacity: 0; transition: .35s var(--ease); display: flex; align-items: center; gap: .75rem; font-size: .93rem; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

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

.lightbox { position: fixed; inset: 0; background: rgba(13, 15, 20, .92); z-index: 200; display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.show { display: grid; }
.lightbox img { max-height: 90vh; border-radius: 12px; }

/* ---- responsive fixes ---- */
.catalog > *, .detail > *, .split > *, .contact-grid > *, .hero-grid > * { min-width: 0; }
.hw-cats.two { grid-template-columns: 1fr 1fr; }
.mobile-lang { display: none !important; }
@media (max-width: 560px) {
    .hw-cats.two { grid-template-columns: 1fr; }
    .nav { gap: .75rem; }
    .nav-actions { gap: .4rem; }
    .nav-actions .lang { display: none; }
    .logo { font-size: 1.05rem; }
    .mobile-open .mobile-lang { display: flex !important; gap: .5rem; margin-top: .5rem; }
    .mobile-open .mobile-lang a { flex: 1; justify-content: center; border: 1px solid var(--line); }
    .section { padding: 64px 0; }
    .cta-block { padding: 44px 22px; }
    .quote-table td { padding: .75rem .25rem; }
    .quote-table td:first-child { display: none; }
    .panel-stat { position: static; justify-self: end; margin-top: -4px; }
}

/* ---------------- team profiles ---------------- */
.profile-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.profile-card:hover { border-color: #d6d3cc; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.profile-card .photo { position: relative; display: block; aspect-ratio: 5/4; background: radial-gradient(80% 80% at 70% 20%, hsl(var(--h) 60% 88%), hsl(var(--h) 25% 92%)); overflow: hidden; }
.profile-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.profile-card:hover .photo img { transform: scale(1.03); }
.profile-card .photo .mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 6.5rem; color: hsl(var(--h) 35% 38%); }
.profile-card .photo .division { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }
.profile-card .body { padding: 24px 26px 22px; display: flex; flex-direction: column; flex: 1; }
.profile-card h3 { font-size: 1.3rem; margin: 0 0 .2rem; }
.profile-card h3 a:hover { color: var(--accent); }
.profile-card .role { color: var(--accent); font-weight: 500; font-size: .92rem; margin-bottom: .8rem; }
.profile-card p { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; }
.profile-card .focus { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.profile-card .focus li { display: flex; gap: .55rem; align-items: center; font-size: .9rem; color: var(--ink-2); }
.profile-card .focus i { color: var(--accent); font-size: 1.05rem; }
.profile-card .foot { margin-top: auto; min-height: 51px; padding-top: 1rem; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.profile-card .socials { display: flex; gap: .3rem; }
.profile-card .socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1rem; color: var(--ink); }
.profile-card .socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.profile-hero { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.profile-photo { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; position: relative; background: radial-gradient(80% 80% at 70% 20%, hsl(var(--h) 60% 86%), hsl(var(--h) 25% 90%)); box-shadow: var(--shadow-lg); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 8rem; color: hsl(var(--h) 35% 38%); }
.profile-quote { margin: 0 0 56px; padding: 0 0 0 1.4rem; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 1.9rem; line-height: 1.3; color: var(--ink); }
@media (max-width: 860px) { .profile-hero { grid-template-columns: 1fr; gap: 28px; } .profile-photo { max-width: 260px; } }

.role-matrix { border-top: 1px solid var(--line); }
.role-matrix .row { display: grid; grid-template-columns: 280px 1fr 260px; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.role-matrix .who { display: flex; gap: .9rem; align-items: center; }
.role-matrix .who .avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden; font-size: 1rem; }
.role-matrix .who .avatar img { width: 100%; height: 100%; object-fit: cover; }
.role-matrix .who strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; }
.role-matrix .who span { font-size: .86rem; color: var(--muted); }
.role-matrix ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.role-matrix li { display: flex; gap: .55rem; font-size: .93rem; color: var(--ink-2); }
.role-matrix li i { color: var(--accent); margin-top: .25rem; }
@media (max-width: 960px) { .role-matrix .row { grid-template-columns: 1fr; gap: 14px; } }

.pic-card { display: flex; flex-direction: column; gap: .9rem; }
.pic-card .who { display: flex; gap: .9rem; align-items: center; }
.pic-card .who .avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; font-size: 1.05rem; }
.pic-card .who .avatar img { width: 100%; height: 100%; object-fit: cover; }
.pic-card .who strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; }
.pic-card .who span { font-size: .86rem; color: var(--muted); }
.pic-card .actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.team-contacts { display: grid; gap: 12px; margin-top: 1.6rem; }
.team-contact { display: flex; gap: .9rem; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.team-contact .avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; font-size: .95rem; }
.team-contact .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-contact strong { display: block; color: var(--ink); font-size: .95rem; }
.team-contact span { font-size: .84rem; color: var(--muted); }
.team-contact .go { margin-left: auto; display: flex; gap: .3rem; }
.team-contact .go a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.team-contact .go a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
