:root {
  --ink: #101827;
  --navy: #08111f;
  --navy-soft: #0e1c30;
  --orange: #ff7410;
  --orange-deep: #dd5700;
  --paper: #f7f8fa;
  --muted: #5d6674;
  --line: #dce1e7;
  --font-display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 99; background: #fff; padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky; z-index: 10; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 72px; padding: 0 3rem; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,24,39,.06); backdrop-filter: blur(12px);
}
.brand { font: 800 1.3rem/1 var(--font-display); letter-spacing: -.06em; color: #182131; }
.brand span { font-weight: 700; color: var(--orange); }
.site-header nav { display: flex; align-items: center; gap: 2rem; font-size: .93rem; }
.site-header nav a { position: relative; color: #303845; }
.site-header nav a:hover::after { transform: scaleX(1); }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 -.45rem; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.site-header > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .82rem 1.25rem; border: 0; border-radius: .8rem; background: var(--orange); color: white; font-family: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; box-shadow: 0 10px 24px rgba(214,79,0,.22); transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: var(--orange-deep); box-shadow: 0 14px 28px rgba(214,79,0,.28); }
.button-small { min-height: 42px; padding: .56rem 1.05rem; font-size: .82rem; }
.button svg { width: 18px; height: 18px; fill: currentColor; }
.button-ghost { background: rgba(255,255,255,.12); box-shadow: none; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255,255,255,.2); box-shadow: none; }

.hero { position: relative; isolation: isolate; min-height: 710px; display: flex; align-items: center; color: white; background: #06101c url("assets/mkworks-hero-v1.png") center / cover no-repeat; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,10,18,.91) 0%, rgba(4,10,18,.77) 40%, rgba(4,10,18,.36) 73%, rgba(4,10,18,.46) 100%); }
.hero-content { padding: 5rem 0; max-width: 1120px; }
.eyebrow { margin: 0 0 1rem; color: #ff9b56; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-dark { color: #ca5000; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.055em; line-height: 1.09; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 800; }
.hero-copy { max-width: 610px; margin: 1.55rem 0 0; color: #e7eaf0; font-size: clamp(1.04rem, 1.8vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }
.hero-note { margin: 1.25rem 0 0; color: rgba(255,255,255,.76); font-size: .9rem; }

.section { padding: 7rem 0; }
.section-heading { max-width: 820px; }
.section-heading h2 { margin: 0; font-size: clamp(2.15rem, 4.2vw, 3.6rem); }
.section-heading-light { color: white; }
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3rem; }
.problem-card { min-height: 232px; padding: 1.7rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.problem-card span { color: var(--orange); font: 800 1.1rem var(--font-display); }
.problem-card h3 { margin: 2.55rem 0 .7rem; font-size: 1.38rem; }
.problem-card p { margin: 0; color: var(--muted); }

.system { background: var(--navy); }
.system-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3.5rem; }
.system-card { padding: 1.7rem; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.13); border-radius: 1rem; color: white; }
.number { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .65rem; background: var(--orange); font: 800 1rem var(--font-display); }
.system-card h3 { margin: 2.1rem 0 .7rem; font-size: 1.45rem; }
.system-card p { margin: 0; color: #c4cbd5; }
.system-footnote { max-width: 720px; margin: 2rem 0 0; color: #c4cbd5; }

.optional { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: clamp(2.4rem, 6vw, 6rem); }
.optional-visual { overflow: hidden; aspect-ratio: 1.18; padding: .7rem; border-radius: 1.4rem; background: #e9edf2; box-shadow: inset 0 0 0 1px #d8dee6, 0 24px 60px rgba(22,35,53,.12); }
.website-preview-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 1.8rem; padding: 0 .25rem; color: #7d8794; font-size: .56rem; }
.website-preview-bar > span { justify-self: center; }
.website-preview-bar > strong { justify-self: end; padding: .15rem .38rem; border-radius: 999px; background: #dfe4ea; color: #697381; font-size: .48rem; text-transform: uppercase; letter-spacing: .08em; }
.window-dots { display: flex; gap: .28rem; align-items: center; }
.window-dots i { display: block; width: .4rem; height: .4rem; border-radius: 50%; background: #b5beca; }
.window-dots i:first-child { background: var(--orange); }
.mini-site { overflow: hidden; height: calc(100% - 1.8rem); border: 1px solid #dfe4e9; border-radius: .8rem; background: #fff; box-shadow: 0 10px 32px rgba(17,30,46,.1); }
.mini-nav { display: flex; align-items: center; justify-content: space-between; height: 16%; padding: .65rem 1rem; border-bottom: 1px solid #edf0f3; }
.mini-brand { display: flex; align-items: center; gap: .42rem; color: #152235; }
.mini-brand > span { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: .4rem; background: var(--orange); color: white; font-size: .56rem; font-weight: 800; }
.mini-brand b { font-size: .48rem; line-height: 1.05; letter-spacing: -.02em; }
.mini-nav-links { display: flex; gap: .5rem; }
.mini-nav-links i { display: block; width: 1.75rem; height: .25rem; border-radius: 999px; background: #d5dbe2; }
.mini-main { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 68%; background: linear-gradient(135deg, #f8fafb 0%, #f3f6f8 60%, #e7edf2 100%); }
.mini-hero { display: flex; flex-direction: column; justify-content: center; padding: 1.25rem 1.1rem; }
.mini-kicker { color: #c94c00; font-size: .42rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.mini-hero h3 { max-width: 12rem; margin: .42rem 0 .4rem; color: #122033; font-size: clamp(1.15rem, 2.1vw, 1.65rem); letter-spacing: -.07em; }
.mini-hero p { max-width: 12rem; margin: 0 0 .75rem; color: #657080; font-size: .54rem; }
.mini-button { align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .65rem; border-radius: .38rem; background: var(--orange); color: white; font-size: .5rem; font-weight: 800; box-shadow: 0 7px 16px rgba(221,87,0,.2); }
.mini-button b { font-size: .7rem; line-height: 0; }
.mini-form { align-self: center; margin: .65rem .7rem .65rem 0; padding: .75rem; border: 1px solid #e0e5ea; border-radius: .65rem; background: rgba(255,255,255,.96); box-shadow: 0 12px 28px rgba(26,38,52,.12); }
.mini-form-label { color: #172335; font-size: .65rem; font-weight: 800; }
.mini-form > p { margin: .08rem 0 .55rem; color: #87909c; font-size: .4rem; }
.mini-form label { display: block; margin: .35rem 0 .14rem; color: #616b78; font-size: .38rem; font-weight: 700; }
.mini-field { display: flex; justify-content: space-between; padding: .32rem .38rem; border: 1px solid #dfe4e9; border-radius: .3rem; color: #697381; background: #fbfcfd; font-size: .4rem; }
.mini-submit { display: block; margin-top: .5rem; padding: .35rem; border-radius: .3rem; background: #132238; color: white; font-size: .42rem; font-weight: 800; text-align: center; }
.mini-proof { display: grid; grid-template-columns: repeat(3,1fr); align-items: center; min-height: 16%; padding: .5rem 1rem; border-top: 1px solid #edf0f3; color: #75808d; font-size: .42rem; }
.mini-proof span { text-align: center; border-right: 1px solid #e4e8ec; }.mini-proof span:last-child { border: 0; }.mini-proof b { display: block; color: #172335; font-size: .52rem; }
.optional-content h2 { margin: 0; font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.optional-content > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.optional-content ul { padding: 0; list-style: none; }.optional-content li { margin: .68rem 0; font-weight: 600; }.optional-content li::before { content: "✓"; margin-right: .65rem; color: var(--orange); }

.process { background: var(--paper); }
.process-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; }
.steps { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 3.3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }.steps li:first-child { border-top: 1px solid var(--line); }
.steps span { color: var(--orange); font: 800 1rem var(--font-display); }.steps h3 { margin: 0; font-size: 1.25rem; }.steps p { margin: .45rem 0 0; color: var(--muted); }

.contact { padding: 6rem 0; color: white; background: linear-gradient(112deg, #0d2037, #07111d); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(430px, 1.18fr); align-items: start; gap: clamp(3rem, 7vw, 6rem); }
.contact-copy { padding-top: 1.2rem; }
.contact h2 { max-width: 620px; margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.7rem); }
.contact-copy > p:not(.eyebrow) { max-width: 570px; margin: 1.2rem 0 0; color: #c6d0dc; }
.contact-details { display: grid; gap: .8rem; margin-top: 2.2rem; }
.contact-details > div { display: grid; gap: .08rem; }
.contact-details span { color: #8f9cac; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-details a { width: fit-content; color: white; font-weight: 700; }
.contact-details a:hover { color: #ff9b56; }
.inquiry-form {
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 1.35rem;
  background: rgba(255,255,255,.98);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.form-heading { margin-bottom: 1.45rem; }
.form-heading > span { display: block; color: #111b2b; font: 800 1.45rem var(--font-display); letter-spacing: -.035em; }
.form-heading > p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: flex; min-width: 0; flex-direction: column; gap: .45rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { display: block; margin: 0; color: #2b3543; font-size: .82rem; font-weight: 750; line-height: 1.25; }
.form-field label b { color: var(--orange-deep); }
.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: .82rem .9rem;
  border: 1px solid #cfd6df;
  border-radius: .72rem;
  outline: none;
  background: #f8fafc;
  color: #111827;
  font: inherit;
  font-size: .94rem;
  line-height: 1.35;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.03);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input,
.form-field select { height: 50px; }
.form-field select {
  cursor: pointer;
  padding-right: 2.6rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #667085 50%),
    linear-gradient(135deg, #667085 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field textarea::placeholder,
.form-field input::placeholder { color: #98a2b3; opacity: 1; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: #aeb8c5; background: #fff; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,116,16,.14), 0 8px 20px rgba(8,17,31,.05);
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) { box-shadow: none; }
.form-privacy { margin: 1.05rem 0 0; color: #667085; font-size: .77rem; line-height: 1.55; }
.form-privacy a { color: var(--orange-deep); font-weight: 750; text-decoration: underline; text-underline-offset: .15em; }
.form-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.25rem; }
.form-actions .button { width: 100%; min-height: 50px; }
.button-secondary { background: var(--navy-soft); box-shadow: 0 10px 24px rgba(8,17,31,.15); }
.button-secondary:hover { background: #172a43; box-shadow: 0 14px 28px rgba(8,17,31,.22); }
.form-status { min-height: 1.3em; margin: .7rem 0 0; color: #536071; font-size: .78rem; }

.site-footer { padding: 2.2rem 0; background: #fff; }.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: start; gap: 2rem; font-size: .91rem; }.footer-grid a:not(.brand), .footer-grid p { display: block; margin: .25rem 0; color: #4d5765; }.footer-grid a:not(.brand):hover { color: var(--orange-deep); }.brand-footer { align-self: center; }.footer-label { margin: 0 0 .6rem !important; color: #172132 !important; font-weight: 700; }.footer-legal { display: flex; flex-direction: column; align-items: flex-end; }
.legal-page { max-width: 800px; padding: 5.5rem 0 7rem; }.legal-page h1 { color: var(--navy); font-size: clamp(2.8rem, 5vw, 4.4rem); }.legal-page h2 { margin-top: 2.7rem; font-size: 1.45rem; }.legal-page p { max-width: 680px; }.legal-page a:not(.button) { color: var(--orange-deep); text-decoration: underline; text-underline-offset: .18em; }.legal-note { margin-top: 3rem; padding: 1rem 1.15rem; border-left: 4px solid var(--orange); background: #fff4ec; color: #5c351b; }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 1.25rem; }.site-header nav { display: none; }.site-header > .button { font-size: .75rem; }
  .hero { min-height: 680px; background-position: 64% center; }.hero-shade { background: linear-gradient(90deg, rgba(4,10,18,.91), rgba(4,10,18,.65)); }
  .problem-grid, .system-grid { grid-template-columns: 1fr; }.problem-card { min-height: initial; }.problem-card h3 { margin-top: 1.5rem; }
  .optional, .process-wrap, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }.optional-visual { order: 2; }.contact-copy { padding-top: 0; }.footer-grid { grid-template-columns: 1fr 1fr; }.footer-legal { align-items: flex-start; }
}
@media (max-width: 510px) {
  .container { width: min(100% - 32px, 1120px); }.site-header > .button { min-height: 38px; padding: .45rem .7rem; }.brand { font-size: 1.16rem; }.section { padding: 4.5rem 0; }.hero-content { padding: 4.5rem 0; }.hero { min-height: 710px; }.hero-actions { align-items: stretch; flex-direction: column; }.hero-actions .button { width: 100%; }.contact { padding: 4rem 0; }.form-grid, .form-actions { grid-template-columns: 1fr; }.form-field-wide { grid-column: auto; }.footer-grid { grid-template-columns: 1fr; gap: 1.1rem; }.optional-visual { aspect-ratio: .98; }.mini-main { grid-template-columns: 1.08fr .92fr; }.mini-hero { padding: .85rem .7rem; }.mini-hero h3 { font-size: 1.06rem; }.mini-form { margin-right: .45rem; padding: .55rem; }.mini-proof { padding-inline: .4rem; }
}
