/* Motomeru Strategies — site stylesheet
   Fonts are self-hosted (IBM Plex Serif + IBM Plex Sans, SIL OFL). */

@font-face { font-family: "Plex Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/ibm-plex-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Plex Serif"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-serif-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Serif"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-serif-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #18264A;        /* indigo ink: headings, buttons, dark sections */
  --paper: #F4F5F7;      /* cool paper: page background */
  --white: #FFFFFF;      /* document sheets */
  --text: #2B3347;       /* body text */
  --muted: #5A6378;      /* secondary text */
  --rule: #C9CED8;       /* hairlines */
  --tint: #E3E7F0;       /* highlighter / quiet fills */
  --seal: #B2362A;       /* seal red: reviewer marks only */

  --serif: "Plex Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Plex Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; margin: 0; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.18; }
h3 { font-size: 1.25rem; line-height: 1.3; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 18px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(16px, 3vw, 34px); font-family: var(--sans); font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); font-weight: 500; }
.nav a.btn { padding: 9px 18px; border-bottom: 0; color: var(--paper); white-space: nowrap; }
.nav a.btn:hover { border-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 500; font-size: 0.97rem;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 13px 24px; border-radius: 2px; border: 1px solid var(--ink); line-height: 1.2;
}
.btn:hover { background: #0F1A38; }
.btn.on-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.on-dark:hover { background: var(--white); }
.link-quiet { font-family: var(--sans); font-size: 0.97rem; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.2rem; line-height: 1.6; color: var(--text); max-width: 34em; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }

/* The reviewed offering memorandum (hero) */
.om { margin: 0; background: var(--white); border: 1px solid var(--rule); box-shadow: 10px 10px 0 var(--tint); }
.om-head { padding: 14px 22px; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 0.82rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.om-head strong { font-weight: 500; color: var(--text); }
.om-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-bottom: 1px solid var(--tint); }
.om-row:last-of-type { border-bottom: 0; }
.om-row > p { margin: 0; padding: 20px 22px; font-size: 0.97rem; line-height: 1.65; }
.om-row mark {
  color: inherit; background: linear-gradient(var(--tint), var(--tint)) no-repeat left center / 100% 100%;
  padding: 1px 2px; border-bottom: 2px solid var(--ink); box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.om-row aside {
  border-left: 1px solid var(--rule); padding: 20px 20px 20px 18px; font-family: var(--sans); font-style: italic;
  font-size: 0.86rem; line-height: 1.55; color: var(--seal);
}
.om-row aside b { font-style: normal; font-weight: 500; margin-right: 6px; }
.om-foot { padding: 12px 22px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }

/* One orchestrated moment: the review marks arrive in sequence */
@media (prefers-reduced-motion: no-preference) {
  .om-row mark { background-size: 0% 100%; animation: sweep 0.7s ease-out forwards; }
  .om-row aside { opacity: 0; animation: note 0.5s ease-out forwards; }
  .om-row:nth-of-type(1) mark { animation-delay: 0.5s; }
  .om-row:nth-of-type(1) aside { animation-delay: 1.15s; }
  .om-row:nth-of-type(2) mark { animation-delay: 1.8s; }
  .om-row:nth-of-type(2) aside { animation-delay: 2.45s; }
  .om-row:nth-of-type(3) mark { animation-delay: 3.1s; }
  .om-row:nth-of-type(3) aside { animation-delay: 3.75s; }
}
@keyframes sweep { to { background-size: 100% 100%; } }
@keyframes note { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin: 0; color: var(--muted); max-width: 36em; align-self: end; }

/* Ruled list: services */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 5vw, 72px); padding-block: 26px; border-bottom: 1px solid var(--rule); }
.rows h3 { font-size: 1.3rem; }
.rows p { margin: 0; }
.rows p + p { margin-top: 0.9em; }
.rows .for { display: block; margin-top: 10px; font-family: var(--sans); font-size: 0.88rem; color: var(--muted); }

/* Three audiences, separated by rules, no boxes */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.cols > div { padding: 26px clamp(16px, 2.5vw, 32px) 8px 0; }
.cols > div + div { padding-left: clamp(16px, 2.5vw, 32px); border-left: 1px solid var(--rule); }
.cols h3 { margin-bottom: 10px; }
.cols p { color: var(--text); }

.perspective { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
.perspective .big { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.45; color: var(--ink); margin: 0; max-width: 28em; }
.perspective ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.perspective li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.perspective li strong { color: var(--ink); font-weight: 600; }

/* Dark call-to-action band */
.band { background: var(--ink); color: #DDE2EE; padding-block: clamp(56px, 8vw, 88px); }
.band { padding-bottom: 0; }
.band::after {
  content: ""; display: block; height: min(22vw, 380px); margin-top: clamp(28px, 5vw, 56px);
  background: url("mountains-dark.svg") center bottom / cover no-repeat;
}
.ridge { height: min(22vw, 380px); margin-top: clamp(32px, 5vw, 64px); background: url("mountains-light.svg") center bottom / cover no-repeat; }
.seek { padding-bottom: 0; }
.band h2 { color: var(--paper); max-width: 18ch; }
.band p { max-width: 36em; margin-top: 16px; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.band .actions { margin-top: 0; justify-content: flex-start; }
.band a:not(.btn) { color: var(--paper); }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(44px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { font-size: 1.2rem; max-width: 36em; margin-top: 20px; }

.people { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.person { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding-block: 40px; border-bottom: 1px solid var(--rule); }
.portrait { position: relative; width: 200px; aspect-ratio: 4 / 5; background: var(--tint); display: grid; place-items: center; overflow: hidden; }
.portrait span { font-size: 3rem; font-weight: 500; color: var(--ink); letter-spacing: 0.02em; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person h2 { font-size: 1.7rem; }
.person .role { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); margin: 4px 0 18px; }
.person p { max-width: 38em; }
.person .li { font-family: var(--sans); font-size: 0.92rem; }

.scope { background: var(--white); border: 1px solid var(--rule); padding: clamp(22px, 3.5vw, 36px); }
.scope h2 { font-size: 1.35rem; margin-bottom: 12px; }
.scope ul { margin: 0; padding-left: 1.2em; }
.scope li { margin-bottom: 0.5em; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
.details { margin: 0; border-top: 1px solid var(--ink); }
.details div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.details dt { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }
.details dd { margin: 0; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C3CADB; font-family: var(--sans); font-size: 0.88rem; line-height: 1.6; padding-block: 40px; border-top: 1px solid #2B3A63; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); }
.site-footer a { color: var(--paper); }
.site-footer p { margin: 0 0 0.6em; max-width: 44em; }
.site-footer .foot-links { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .hero .wrap, .section-head, .rows li, .perspective, .band .wrap, .contact-grid, .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .cols > div, .cols > div + div { padding: 24px 0 8px; border-left: 0; }
  .cols > div + div { border-top: 1px solid var(--rule); }
  .hero h1 { max-width: 20ch; }
  .person { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: 140px; }
  .band h2 { max-width: none; }
}
@media (max-width: 560px) {
  .om-row { grid-template-columns: minmax(0, 1fr); }
  .om-row aside { border-left: 0; border-top: 1px dashed var(--rule); padding: 12px 22px 18px; }
  .om { box-shadow: 6px 6px 0 var(--tint); }
  .details div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .nav { gap: 8px 12px; font-size: 0.88rem; }
  .nav a.btn { padding: 8px 12px; }
  .brand img { height: 42px; }
}

@media print {
  .site-header .nav, .band, .site-footer .foot-links { display: none; }
  body { background: #fff; }
}
