/* Layout: brand-dark single look from the KODYK logo — black ground, silver type, angular K monogram; hero splits headline / logomark, then quiet bands separated by hairlines */
:root {
  --bg: #07080a;
  --surface: #0f1114;
  --raised: #16191d;
  --line: #24282e;
  --fg: #f1f2f4;
  --muted: #8d939c;
  --silver: #c8ced6;
  --ok: #7fd4a0;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.12; }
p { margin: 0; }
a { color: var(--fg); }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; }
.label { font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(7, 8, 10, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand svg { width: 32px; height: 32px; flex-shrink: 0; }
.brand span { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: .38em; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.menu a:hover { color: var(--fg); }
.menu .btn { color: var(--bg); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; color: var(--fg); cursor: pointer; }
.burger svg { width: 20px; height: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 15px; font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-light { background: var(--fg); color: var(--bg); }
.btn-light:hover { background: var(--silver); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.menu .btn { padding: 10px 18px; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 45%, rgba(200, 206, 214, .10), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: 88px 96px; }
.hero .wrap > * { min-width: 0; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 600; letter-spacing: -.02em; }
.hero h1 span { color: var(--muted); }
.hero .lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); max-width: 54ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.avail { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 212, 160, .15); }
.mark { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1; max-width: 100%; }
.mark svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.mark .sheen { animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { transform: translateX(-120%); } 50% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .mark .sheen { animation: none; opacity: 0; } }

/* sections */
section { padding-block: 96px; border-bottom: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 760px; }
.sec-head h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 600; letter-spacing: -.015em; }
.sec-head p { color: var(--muted); max-width: 60ch; }

/* about */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about > * { min-width: 0; }
.about-text { display: grid; gap: 18px; font-size: 18px; color: var(--silver); max-width: 60ch; }
.facts { border-top: 1px solid var(--line); }
.fact { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.fact span { color: var(--muted); }
.fact b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.service { background: var(--surface); padding: 36px; display: grid; gap: 14px; align-content: start; min-width: 0; transition: background .25s; }
.service:hover { background: var(--raised); }.service .hex { width: 40px; height: 40px; }
.service h3 { font-size: 22px; font-weight: 600; }
.service p { color: var(--muted); }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--silver); }
.service li::before { content: "— "; color: var(--muted); }

/* work */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { display: grid; gap: 16px; align-content: start; min-width: 0; }
.shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.shot-bar { display: flex; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.shot-body { aspect-ratio: 4 / 3; max-width: 100%; padding: 18px; display: grid; gap: 10px; align-content: start; }
.sk { height: 8px; border-radius: 4px; background: var(--line); }
.sk.w40 { width: 40%; } .sk.w60 { width: 60%; } .sk.w80 { width: 80%; }
.sk.title { height: 16px; width: 70%; background: var(--silver); opacity: .85; }
.sk.sk-btn { width: 34%; height: 22px; background: var(--fg); border-radius: 5px; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.sk-grid div { aspect-ratio: 1; border-radius: 6px; background: var(--raised); border: 1px solid var(--line); }
.sk-img { height: 70px; border-radius: 6px; background: linear-gradient(135deg, var(--raised), var(--line)); }
.work h3 { font-size: 18px; font-weight: 600; }
.work p { color: var(--muted); font-size: 15px; }
.work .tags { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.note { margin-top: 32px; font-size: 14px; color: var(--muted); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--silver); min-width: 0; }
.steps li::before { content: "0" counter(step); font-family: var(--display); font-size: 13px; letter-spacing: .3em; color: var(--muted); }
.steps h3 { font-size: 20px; font-weight: 600; }
.steps p { color: var(--muted); font-size: 15px; }
.steps .time { font-family: var(--mono); font-size: 13px; color: var(--silver); }

/* standards */
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec div { background: var(--bg); padding: 28px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.spec b { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--silver); }
.spec h3 { font-family: var(--body); font-size: 18px; font-weight: 700; }
.spec p { color: var(--muted); font-size: 15px; }

/* faq */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; font-family: var(--display); font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 64ch; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact > * { min-width: 0; }
.contact-info { display: grid; gap: 28px; }
.contact-info h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 600; }
.contact-info > p { color: var(--muted); }
.channels { display: grid; border-top: 1px solid var(--line); }
.channel { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.channel span { color: var(--muted); }
.channel b { font-weight: 600; user-select: all; text-align: right; overflow-wrap: anywhere; }
.channel a { color: inherit; text-decoration: none; }
.channel a:hover { text-decoration: underline; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--silver); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--silver); }
.field .err { font-size: 13px; color: #f08a8a; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row2 > * { min-width: 0; }
form .btn { justify-content: center; }
.form-note { font-size: 13px; color: var(--muted); }
.form-done { display: grid; gap: 12px; text-align: left; }
.form-done h3 { font-size: 22px; font-weight: 600; }
.form-done p { color: var(--muted); }

/* footer */
footer { padding-block: 48px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer .wrap > * { min-width: 0; }
footer p, footer a { color: var(--muted); font-size: 14px; text-decoration: none; }
footer a:hover { color: var(--fg); }
footer .col { display: grid; gap: 8px; align-content: start; }
footer .col b { font-family: var(--display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; margin-bottom: 4px; }
.copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 920px) {
  .hero .wrap, .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero .wrap { padding-block: 56px 72px; }
  .mark { width: min(70%, 300px); grid-row: 1; justify-self: start; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .spec, .works { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .burger { display: inline-grid; place-items: center; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .menu.open { display: flex; }
  .menu a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
}
@media (max-width: 600px) {
  section { padding-block: 64px; }
  .services, .steps, .spec, .works, .row2 { grid-template-columns: 1fr; }
  .service, form, .person { padding: 24px; }
  .mark { width: 180px; }
  .brand span { letter-spacing: .28em; }
}
