@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #05080E;
  --night: #000000;
  --charcoal: #0B1424;
  --line: #1A2740;
  --blue: #1268F4;       /* brand electric blue: large text, buttons, accents */
  --sky: #4CA0FF;        /* small blue text (7.4:1 on black) */
  --cyan: #04D9D3;
  --white: #F5F8FF;
  --muted: #A3B3CB;      /* body copy on dark (≈8.9:1) */
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--white);
  background: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
button { font: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(76, 160, 255, .12);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 60px; height: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.brand-word .the { font-size: 10px; font-weight: 500; letter-spacing: .26em; margin-bottom: 4px; }
.brand-word .pl { font-size: 19px; font-weight: 400; white-space: nowrap; }
.lab { color: var(--blue); font-weight: 600; }
.brand-word .lab { color: var(--sky); }
.navlinks { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.navlinks a { color: var(--white); padding: 8px 0; }
.navlinks a:hover { color: var(--sky); }
.navlinks .contact { border: 1px solid rgba(76, 160, 255, .55); padding: 10px 20px; border-radius: 6px; }
.navlinks .contact:hover { border-color: var(--sky); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: var(--white); }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--night);
  overflow: hidden;
  min-height: min(724px, calc(100svh - 76px));
  display: flex; align-items: center;
}
.hero::after {
  /* soft hand-off from pure black to the page black */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to bottom, rgba(5, 8, 14, 0), var(--black));
  pointer-events: none;
}
.hero-art {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: min(820px, 60vw);
}
.hero-art img { width: 100%; }
.hero-inner { position: relative; z-index: 1; width: 100%; display: flex; justify-content: flex-end; }
.hero-copy { width: min(580px, 48%); padding: 64px 0; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; color: var(--sky); margin-bottom: 26px; }
.kicker { display: flex; flex-wrap: wrap; row-gap: 6px; }
.kicker .k { white-space: nowrap; }
.kicker .sep { color: #5C6F8C; margin: 0 .55em; }
.wordmark { display: flex; flex-direction: column; text-transform: uppercase; line-height: .95; font-weight: 400; }
.wordmark .the { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .22em; font-weight: 500; margin-bottom: .45em; }
.wordmark .pl { font-size: clamp(44px, 5.1vw, 74px); letter-spacing: .04em; white-space: nowrap; }
.wordmark .lab { color: var(--blue); }
.beam {
  display: block; height: 1px; margin: 30px 0 28px; width: 100%;
  background: linear-gradient(90deg, rgba(18, 104, 244, 0), var(--blue) 30%, var(--cyan) 55%, rgba(4, 217, 211, 0));
  opacity: .85;
}
.lead { font-size: clamp(15px, 1.4vw, 18px); letter-spacing: .16em; text-transform: uppercase; font-weight: 400; color: var(--white); max-width: 30em; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn.primary { background: var(--blue); color: #FFFFFF; }
.btn.primary:hover { background: #2B7BFF; }
.btn.ghost { border: 1px solid rgba(245, 248, 255, .45); color: var(--white); }
.btn.ghost:hover { border-color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: 500; letter-spacing: -.01em; max-width: 22em; }
.section-intro { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 18px; }

/* Featured project — imreadyto.work keeps its own warm sunrise identity */
.featured-wrap { background: var(--black); padding-top: 24px; }
.featured {
  margin-top: 48px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  background: #FFF7E6; color: #1F2E3B;
  border-radius: 18px; overflow: hidden;
}
.featured-copy { padding: 52px 52px 56px; min-width: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #2F6B2C; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #4C9A45; }
.featured-name { font-size: clamp(28px, 3.8vw, 48px); font-weight: 700; letter-spacing: -.02em; margin: 14px 0 4px; line-height: 1.1; color: #1F2E3B; overflow-wrap: anywhere; }
.featured-name .r, .featured-name .d { color: #A83D2B; }
.featured-tag { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #5E656E; margin-bottom: 18px; }
.featured-copy > p:not(.status):not(.featured-tag) { color: #3E454E; font-size: 17px; }
.features { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.features li { position: relative; padding-left: 28px; color: #1F2E3B; font-size: 16px; }
.features li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: #A83D2B; }
.btn.warm { background: #A83D2B; color: #FFFFFF; }
.btn.warm:hover { background: #8E3324; }
.btn.warm:focus-visible { outline-color: #1F2E3B; }
.featured-visual { position: relative; min-height: 420px; min-width: 0; display: flex; align-items: flex-end; padding: 28px; }
.featured-visual picture { position: absolute; inset: 0; }
.featured-visual picture img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.ir-card {
  position: relative; z-index: 1; width: 100%; max-width: 360px; margin: 0 auto;
  background: rgba(255, 247, 230, .96); color: #1F2E3B; border-radius: 14px; padding: 20px 22px;
  box-shadow: 0 14px 34px rgba(31, 46, 59, .25);
}
.ir-logo { width: 100%; max-width: 230px; height: auto; }
.ir-title { font-size: 22px; font-weight: 700; line-height: 1.2; margin: 14px 0 12px; }
.ir-title em { font-style: normal; color: #A83D2B; }
.ir-url { display: inline-block; font-size: 13px; background: #FCE1D6; border-radius: 999px; padding: 6px 14px; overflow-wrap: anywhere; }

/* What we make — deliberately quieter than the featured project */
.what { margin-top: 72px; }
.what-title { font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.what-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.what-list li { display: flex; gap: 14px; padding: 22px 22px 6px 0; }
.what-list li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.what-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.what-list h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.what-list p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.soon { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }

/* Approach */
#approach { background: var(--charcoal); }
.values { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.value { border-top: 1px solid rgba(76, 160, 255, .35); padding-top: 22px; }
.num { display: block; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--sky); margin-bottom: 14px; }
.value h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 16px; }

/* About */
.studio { max-width: 900px; margin-bottom: 88px; }
.studio-body { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 680px; }
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.founder-art { background: var(--charcoal); border: 1px solid var(--line); border-radius: 18px; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px; text-align: center; }
.founder-art picture { display: block; width: 100%; }
.founder-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.founder-art p { font-weight: 600; font-size: 19px; margin-top: 22px; }
.founder-art small { color: var(--muted); font-size: 14px; }
.founder-art .founder-aside { font-weight: 400; font-style: italic; font-size: 13px; color: #8494AD; margin-top: 10px; } /* 5.98:1 on --charcoal */
.founder-copy p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 18px; }
.founder-copy h2 { margin-bottom: 4px; }
.textlink { display: inline-flex; gap: 6px; margin-top: 22px; font-weight: 600; color: var(--sky); }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Closing */
.closing { background: var(--night); text-align: center; padding: 100px 0; border-top: 1px solid var(--line); }
.closing-mark { width: 104px; margin: 0 auto 26px; }
.closing h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 500; line-height: 1.2; }
.closing h2 span { color: var(--sky); display: block; }
.closing p { color: var(--muted); font-size: 18px; max-width: 600px; margin: 20px auto 32px; }

/* Footer */
footer { background: var(--night); border-top: 1px solid var(--line); padding: 30px 0; font-size: 14px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-art { width: 62vw; }
  .hero-copy { width: 52%; }
  .what-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .what-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .what-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 800px) {
  .nav { height: 64px; }
  html { scroll-padding-top: 72px; }
  .brand-mark { width: 48px; }
  .brand-word .pl { font-size: 16px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .navlinks {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #000; border-bottom: 1px solid var(--line); padding: 8px 28px 22px;
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .navlinks .contact { margin-top: 14px; text-align: center; border-radius: 6px; }

  .hero { display: block; min-height: 0; }
  .hero-art { position: relative; top: auto; transform: none; width: 100%; max-width: 560px; margin: -9% auto 0; }
  .hero-art::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000);
  }
  .hero-inner { justify-content: flex-start; }
  .hero-copy { width: 100%; padding: 0 0 64px; margin-top: -28px; }
  .kicker { letter-spacing: .18em; font-size: 11px; margin-bottom: 18px; }
  .kicker .sep { margin: 0 .4em; }
  .wordmark .pl { font-size: clamp(36px, 11.2vw, 56px); }
  .lead { letter-spacing: .12em; font-size: 14px; }
  .actions .btn { flex: 1 1 100%; }

  .section { padding: 72px 0; }
  .featured { grid-template-columns: minmax(0, 1fr); }
  .featured-copy { padding: 34px 26px 38px; }
  .featured-visual { min-height: 320px; padding: 20px; }
  .values { grid-template-columns: 1fr; gap: 30px; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .studio { margin-bottom: 56px; }
  .founder-art { min-height: 260px; }
  .foot { flex-direction: column; text-align: center; }
  .foot nav { justify-content: center; }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .what-list { grid-template-columns: 1fr; }
  .what-list li, .what-list li + li { padding: 18px 0; border-left: 0; }
  .what-list li + li { border-top: 1px solid var(--line); }
}

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

@media (max-width: 380px) {
  .featured-copy { padding: 30px 20px 34px; }
  .featured-visual { padding: 14px; }
  .btn { padding: 12px 18px; letter-spacing: .1em; }
}

.ir-title em { white-space: nowrap; }
@media (max-width: 520px) {
  .featured .btn.warm { width: 100%; letter-spacing: .08em; }
}
.studio h2 { max-width: none; }
