/* MAK Works: site styles. Colours and type from the MAK Works brand kit. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0F172A;
  --steel: #376D98;
  --slate: #94A3B8;
  --light: #E5E7EB;
  --white: #FFFFFF;
  --ink-soft: rgba(15, 23, 42, .78);
  --wrap: 1120px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--navy);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 1.5rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--navy); padding: .6rem 1rem; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 4px; }
.section-navy :focus-visible, .site-header :focus-visible, .hero :focus-visible { outline-color: var(--light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 23, 42, .92);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
/* Horizontal lockup: min 160px wide (brand kit). */
.brand img { width: 216px; height: auto; }
.site-header ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a {
  display: inline-block; padding: .5rem .85rem; border-radius: 999px;
  color: var(--light); text-decoration: none; font-weight: 500; font-size: .8125rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.site-header nav a:hover { color: var(--white); background: rgba(148, 163, 184, .12); }
.site-header nav a.nav-cta { border: 1px solid rgba(148, 163, 184, .45); }
.site-header nav a.nav-cta:hover { border-color: var(--light); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 85% 110%, rgba(55, 109, 152, .22), transparent 60%),
    radial-gradient(40rem 22rem at 0% -10%, rgba(148, 163, 184, .08), transparent 60%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(4.5rem, 11vw, 8.5rem); padding-bottom: clamp(4.5rem, 11vw, 8.5rem);
}
/* Stacked logo: min 120px wide; padding gives the kit's clear space (X = half MAK cap height). */
.hero-logo { padding: clamp(.75rem, 2.5vw, 1.5rem); }
.hero-logo img { width: clamp(240px, 46vw, 460px); height: auto; }
.hero-lead {
  max-width: 34rem; margin-top: clamp(1.75rem, 4vw, 2.5rem);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--light);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.25rem; }
.hero-mark {
  position: absolute; z-index: 0; right: -4rem; bottom: -3.5rem; width: 26rem; height: auto;
  opacity: .05; pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: .8rem 1.5rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--steel); color: var(--white); border: 1px solid var(--steel); }
.btn-primary:hover { background: #2E5D83; border-color: #2E5D83; }
.btn-ghost { color: var(--light); border: 1px solid rgba(148, 163, 184, .5); }
.btn-ghost:hover { border-color: var(--light); color: var(--white); }
.btn-lg { font-size: 1rem; letter-spacing: .06em; text-transform: none; padding: 1rem 2rem; min-height: 56px; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-light { background: var(--light); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }

.eyebrow {
  font-weight: 500; font-size: .8125rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--steel); margin-bottom: .9rem;
}
.eyebrow-dark { color: var(--slate); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 600; letter-spacing: -.01em; }
.section-lead { max-width: 38rem; margin-top: 1rem; font-size: 1.125rem; color: var(--ink-soft); }
.section-navy .section-lead { color: var(--light); }

/* Make / Adapt / Know */
.pillars {
  list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.pillar {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem 2.1rem;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
}
.pillar-icon {
  width: 44px; height: 44px; margin-bottom: 1.4rem;
  fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.pillar h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: .02em; }
.pillar h3::after { content: ""; display: block; width: 2rem; height: 3px; margin-top: .8rem; background: var(--steel); border-radius: 2px; }
.pillar p { margin-top: 1rem; color: var(--ink-soft); }

/* Projects */
.projects { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.soon-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem;
  padding: clamp(2.25rem, 5vw, 3.25rem) 2rem; border-radius: var(--radius);
  border: 2px dashed rgba(55, 109, 152, .45); background: rgba(229, 231, 235, .45);
}
/* Monogram with clear space of 1/8 icon width. */
.soon-card img { width: 80px; height: auto; margin: 10px; }
.soon-badge {
  font-weight: 500; font-size: .8125rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--white); background: var(--navy); padding: .4rem .9rem .4rem 1.2rem; border-radius: 999px;
}
.soon-text { color: var(--ink-soft); max-width: 18rem; }

/* Contact */
.contact { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact .section-lead { margin-bottom: 2rem; }

/* Footer */
.site-footer { background: var(--navy); color: var(--slate); border-top: 1px solid rgba(148, 163, 184, .16); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; padding-bottom: 1.75rem; font-size: .875rem; }
.footer-inner img { width: 40px; height: auto; margin: 5px; }

/* Responsive */
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 1.25rem; }
  .nav-optional { display: none; }
  .brand img { width: 184px; }
  .header-inner { min-height: 64px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 20rem; }
  .hero-mark { width: 16rem; right: -3rem; bottom: -2rem; }
  .btn-lg { width: 100%; max-width: 22rem; font-size: .9375rem; padding: 1rem 1.25rem; }
}

/* Contact page */
.contact-page { min-height: 60vh; }
.contact-page h1 { margin: 0 0 1rem; font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 600; letter-spacing: -.01em; }
.contact-options { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact-options .pillar h2 { font-size: 1.125rem; margin: 0 0 .5rem; }
.contact-options .btn { margin-top: .5rem; }
