@font-face {
  font-family: Poppins;
  src: url("assets/fonts/poppins-v24-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/fonts/poppins-v24-latin-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --black: #0b0b0b;
  --ink: #171717;
  --muted: #626262;
  --soft: #f4f4f4;
  --line: #e2e2e2;
  --white: #fff;
  --container: 1120px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #777; outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--white); color: var(--black); border-radius: 8px; }
.skip-link:focus { top: 12px; }

h1, h2, h3, .brand, .button, .header-contact, .project-link {
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -0.035em; }

.site-header { background: var(--black); color: var(--white); border-bottom: 1px solid #292929; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-size: .98rem; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.brand-light { font-weight: 600; color: #aaa; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.main-nav a { color: #c9c9c9; text-decoration: none; font-size: .88rem; }
.main-nav a:hover, .contact-details a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.header-contact { flex: 0 0 auto; border: 1px solid #6a6a6a; border-radius: 999px; padding: 10px 16px; color: var(--white); text-decoration: none; font-size: .82rem; font-weight: 600; }
.header-contact span { margin-left: 5px; }
.header-contact:hover { background: var(--white); color: var(--black); }

.hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: clamp(76px, 11vw, 142px) 0 64px; }
.hero-inner { position: relative; z-index: 1; }
.eyebrow, .section-kicker { margin-bottom: 20px; text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; line-height: 1.4; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #c2c2c2; }
.eyebrow-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #d8d8d8; }
.hero h1 { max-width: 880px; margin-bottom: 24px; font-size: clamp(2.45rem, 7.2vw, 5.3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.hero-lead { max-width: 700px; margin-bottom: 32px; color: #c4c4c4; font-size: clamp(1.02rem, 2vw, 1.2rem); line-height: 1.75; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-size: .9rem; font-weight: 600; text-align: center; }
.button span { font-size: 1.05rem; }
.button-light { background: var(--white); color: var(--black); }
.button-light:hover { background: #dedede; }
.button-outline { background: transparent; color: var(--white); border-color: #676767; }
.button-outline:hover { background: #222; border-color: #aaa; }
.trust-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; color: #c2c2c2; font-size: .82rem; }
.trust-points span::before { content: "✓"; margin-right: 8px; color: #fff; }
.section { padding: clamp(70px, 9vw, 112px) 0; }
.section-kicker { margin-bottom: 14px; color: #5c5c5c; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2, .about-copy h2 { margin-bottom: 16px; font-size: clamp(2rem, 4.8vw, 3.45rem); font-weight: 800; }
.section-intro { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 1.02rem; }

.services-section { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.service-number { display: inline-block; margin-bottom: 28px; color: #5c5c5c; font-family: Poppins, sans-serif; font-size: .78rem; font-weight: 600; }
.service-card h3 { margin-bottom: 12px; font-size: 1.25rem; font-weight: 800; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }

.projects-section { background: var(--soft); }
.projects-heading { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 36px; }
.projects-heading .section-intro { max-width: 470px; justify-self: end; padding-bottom: 5px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.project-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dedede; border-radius: var(--radius); background: var(--white); }
.project-image { position: relative; display: block; overflow: hidden; margin: 12px 12px 0; border-radius: 14px; aspect-ratio: 16 / 9; background: #ddd; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.image-arrow { position: absolute; right: 14px; bottom: 14px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--black); font-size: 1.05rem; }
.project-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 23px 24px 24px; }
.project-label { margin-bottom: 10px; color: #5c5c5c; font-size: .65rem; font-weight: 700; letter-spacing: .12em; }
.project-body h3 { margin-bottom: 8px; font-size: 1.55rem; font-weight: 800; }
.project-body > p { margin-bottom: 18px; color: var(--muted); font-size: .94rem; }
.project-features { width: 100%; margin: 0 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-features summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--ink); cursor: pointer; list-style: none; font-size: .9rem; font-weight: 600; }
.project-features summary::-webkit-details-marker { display: none; }
.project-features summary::after { content: "+"; width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border: 1px solid #c9c9c9; border-radius: 50%; color: var(--ink); font-size: 1.2rem; font-weight: 400; line-height: 1; }
.project-features[open] summary::after { content: "−"; }
.project-features summary:focus-visible { outline: 3px solid #777; outline-offset: 3px; }
.project-features ul { margin: 0; padding: 0 0 16px 20px; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.project-features li + li { margin-top: 7px; }
.demo-disclosure { width: 100%; margin-top: auto; padding: 13px 14px; border-left: 3px solid #222; background: #f2f2f2; color: #4c4c4c; font-size: .82rem; line-height: 1.55; }
.demo-disclosure strong { color: var(--ink); }
.project-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 14px; color: var(--black); font-size: .86rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.project-link:hover { text-decoration-thickness: 2px; }
.projects-footnote { margin: 22px 0 0; color: #666; font-size: .78rem; }

.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 52px; }
.process-step { min-width: 0; padding: 20px 18px; border-top: 1px solid #999; background: #fafafa; }
.process-step > span { display: inline-block; margin-bottom: 27px; color: #5c5c5c; font-family: Poppins, sans-serif; font-size: .8rem; font-weight: 600; }
.process-step h3 { margin-bottom: 10px; font-size: 1.05rem; font-weight: 800; }
.process-step p { margin-bottom: 0; color: var(--muted); font-size: .85rem; }
.terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.term-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; }
.term-icon { display: inline-grid; min-width: 34px; height: 34px; margin-bottom: 18px; place-items: center; border-radius: 50%; background: var(--black); color: var(--white); font-size: .9rem; font-weight: 700; }
.code-icon { padding-inline: 8px; border-radius: 8px; font-size: .7rem; }
.term-card h3 { margin-bottom: 10px; font-size: 1.12rem; font-weight: 800; }
.term-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.terms-note { margin: 20px 0 0; color: #696969; font-size: .82rem; }

.about-section { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: minmax(260px, .82fr) 1.18fr; align-items: center; gap: clamp(36px, 7vw, 90px); }
.photo-placeholder { min-height: 350px; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px dashed #aaa; border-radius: 22px; background: #e9e9e9; color: #565656; text-align: center; }
.photo-mark { display: grid; width: 88px; height: 88px; place-items: center; margin-bottom: 9px; border: 1px solid #b3b3b3; border-radius: 50%; color: #5c5c5c; font-family: Poppins, sans-serif; font-size: 2.3rem; font-weight: 800; }
.photo-caption { color: #3d3d3d; font-family: Poppins, sans-serif; font-size: .77rem; font-weight: 800; letter-spacing: .13em; }
.photo-instruction { font-size: .75rem; }
.about-copy h2 { max-width: 580px; }
.about-copy > p:not(.section-kicker):not(.about-signature) { color: #555; }
.about-signature { margin: 25px 0 0; font-family: Poppins, sans-serif; font-size: .98rem; font-weight: 800; }
.about-signature span { color: #5c5c5c; }

.contact-section { padding: clamp(72px, 9vw, 112px) 0; background: var(--black); color: var(--white); text-align: center; }
.contact-inner { max-width: 760px; }
.contact-section .section-kicker { color: #aaa; }
.contact-section h2 { margin: 0 auto 18px; font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 800; }
.contact-section > .container > p:not(.section-kicker) { max-width: 620px; margin: 0 auto 28px; color: #bdbdbd; }
.contact-actions { justify-content: center; }
.contact-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; color: #aaa; font-size: .85rem; }
.contact-details a { text-decoration: none; }
.site-footer { padding: 26px 0; background: #050505; color: #999; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer-brand { font-size: .86rem; }
.footer-brand img { width: 30px; height: 30px; }
.footer-inner p { margin: 0; font-size: .76rem; }

@media (max-width: 820px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .header-inner { min-height: 70px; gap: 16px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: .8rem; }
  .header-contact { padding: 9px 12px; font-size: .78rem; }
  .projects-heading { grid-template-columns: 1fr; gap: 12px; }
  .projects-heading .section-intro { justify-self: start; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; flex-wrap: wrap; justify-content: space-between; padding-block: 12px; }
  .brand { gap: 8px; font-size: .88rem; }
  .brand img { width: 30px; height: 30px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding-top: 6px; }
  .main-nav a { font-size: .77rem; }
  .header-contact { font-size: .75rem; }
  .hero { padding: 76px 0 78px; }
  .eyebrow { align-items: flex-start; font-size: .65rem; line-height: 1.6; letter-spacing: .1em; }
  .eyebrow-dot { margin-top: .5em; }
  .hero h1 { max-width: 100%; font-size: clamp(2.55rem, 12vw, 3.7rem); letter-spacing: -.035em; overflow-wrap: normal; }
  .hero-lead { font-size: 1rem; }
  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; min-height: 56px; padding-inline: 14px; font-size: .83rem; }
  .trust-points { flex-direction: column; gap: 9px; margin-top: 32px; font-size: .78rem; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .about-copy h2 { font-size: clamp(1.9rem, 9vw, 2.65rem); }
  .section-intro { font-size: .94rem; }
  .service-grid, .project-grid, .terms-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 22px; }
  .service-number { margin-bottom: 18px; }
  .project-body { padding: 20px; }
  .project-body h3 { font-size: 1.4rem; }
  .process-grid { gap: 10px; margin-bottom: 36px; }
  .process-step { padding: 16px 14px; }
  .process-step > span { margin-bottom: 18px; }
  .process-step h3 { font-size: .95rem; }
  .process-step p { font-size: .8rem; }
  .term-card { padding: 21px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .photo-placeholder { min-height: 290px; max-height: 350px; width: min(100%, 330px); margin-inline: auto; }
  .contact-section h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .contact-details { flex-direction: column; gap: 10px; font-size: .8rem; overflow-wrap: anywhere; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Foto real (Hark Dev, 21/11) */
.about-photo { display: block; width: min(100%, 340px); height: auto; aspect-ratio: 1 / 1; margin-inline: auto; object-fit: cover; object-position: center 30%; border-radius: 50%; background: #e9e9e9; box-shadow: 0 0 0 6px #fff, 0 0 0 7px #dcdcdc; }
@media (max-width: 620px) { .about-photo { width: min(72%, 260px); } }
