@import url("/assets/fonts.css");

/* ============================================================
   A OH K Investments — design system
   Ink navy + brass on warm paper. Editorial, institutional.
   ============================================================ */

:root {
  --ink:        #0d1b2a;
  --ink-soft:   #17293c;
  --slate:      #4a5c6e;
  --muted:      #6b7c8d;
  --line:       #dfd9cf;
  --line-soft:  #ece7de;
  --paper:      #faf8f4;
  --paper-2:    #f2eee6;
  --white:      #ffffff;
  --brass:      #a8763e;
  --brass-deep: #8a5f2f;
  --brass-tint: #f0e5d5;

  --measure: 68ch;
  --shell: 1180px;
  --gap: clamp(18px, 3vw, 34px);

  --serif: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r: 4px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .05), 0 12px 32px -18px rgba(13, 27, 42, .28);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--brass-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.65rem); }
h4 { font-size: 1.06rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.05em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem);
  line-height: 1.55;
  color: var(--slate);
}

.eyebrow {
  font-size: .735rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 68px;
  background: var(--line);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before {
  content: "";
  height: 1px; flex: 1; max-width: 68px; background: var(--line);
}

/* ---------- layout ---------- */

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #dce4ec; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .lede { color: #9fb0c1; }
.section--ink .eyebrow { color: #c9a06a; }
.section--ink .eyebrow::after, .section--ink .eyebrow::before { background: rgba(255,255,255,.18); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
  .split--text-right { grid-template-columns: 1.08fr 0.92fr; }
}

/* ---------- header ---------- */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .9rem 0;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex; align-items: baseline; gap: .5rem;
}
.wordmark span { color: var(--brass); }
.wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav a {
  font-size: .93rem; font-weight: 500; color: var(--slate);
  text-decoration: none; padding: .35rem 0; position: relative;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brass);
}
.nav__cta {
  background: var(--ink); color: var(--white) !important;
  padding: .62rem 1.1rem !important; border-radius: var(--r);
  font-weight: 600; font-size: .88rem;
  white-space: nowrap;
}
.nav__cta:hover, .nav__cta:focus-visible { background: var(--brass-deep); }
/* the CTA stays visible at every width — it is the primary action.
   Below 700px the text links collapse instead. */
@media (max-width: 700px) {
  .nav .nav__collapse { display: none; }
  .nav__cta { padding: .58rem .95rem !important; font-size: .85rem; }
}
@media (max-width: 380px) { .wordmark small { display: none; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  padding: .88rem 1.6rem; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--brass-deep); color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--brass-tint); color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- hero ---------- */

.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,27,42,.96) 0%, rgba(13,27,42,.82) 42%, rgba(13,27,42,.5) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(88px, 15vw, 190px) 0 clamp(72px, 11vw, 140px); }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .lede { color: #b9c8d6; max-width: 54ch; margin-top: 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.3rem; }
.hero__meta {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid; gap: 1.5rem; padding: 1.7rem 0 2.2rem;
}
@media (min-width: 720px) { .hero__meta { grid-template-columns: repeat(3, 1fr); } }
.hero__meta h4 { color: var(--white); margin-bottom: .3rem; font-size: .95rem; }
.hero__meta p { color: #93a5b6; font-size: .92rem; margin: 0; }

/* ---------- cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  display: flex; flex-direction: column; gap: .65rem;
}
.card__num {
  font-family: var(--serif); font-size: .95rem; font-weight: 700;
  color: var(--brass); letter-spacing: .04em;
}
.card h3 { margin: 0; font-size: 1.24rem; }
.card p { color: var(--slate); font-size: .97rem; margin: 0; }

.pillar { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.pillar h3 { font-size: 1.16rem; margin-bottom: .45rem; }
.pillar p { color: var(--slate); font-size: .96rem; }

.figure { border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figure--tall img { aspect-ratio: 3 / 4; }

.stat { border-left: 2px solid var(--brass); padding-left: 1.1rem; }
.stat dt { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stat dd { margin: .3rem 0 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.section--ink .stat dd { color: var(--white); }
.section--ink .stat dt { color: #8fa2b4; }

/* ---------- forms ---------- */

.field { display: block; margin-bottom: 1.05rem; }
.field > span {
  display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--slate); margin-bottom: .4rem;
}
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .78rem .9rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--brass); outline-offset: 1px; border-color: transparent;
}
form { max-width: 100%; }
[data-form-status] { font-size: .93rem; }

.panel {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}

.signup {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-start;
}
.signup .field { flex: 1 1 240px; margin-bottom: 0; }
.signup .field > span { color: #9fb0c1; }
.signup input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--white); }
.signup input::placeholder { color: #8093a5; }

/* ---------- contact list ---------- */

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.35rem; }
.contact-list dt, .contact-list h4 { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; font-weight: 600; }
.contact-list a, .contact-list p { font-size: 1.02rem; color: var(--ink); margin: 0; }

/* ---------- footer ---------- */

.foot { background: var(--ink); color: #90a2b4; padding: clamp(56px, 7vw, 84px) 0 2.2rem; }
.foot a { color: #c8d4df; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot__grid { display: grid; gap: 2.4rem; }
@media (min-width: 820px) { .foot__grid { grid-template-columns: 1.5fr 1fr 1.6fr; } }
.foot h4 { color: var(--white); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.foot__base {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .84rem; color: #7d8fa1;
}
.foot__base p { margin: 0; max-width: none; }
.foot .wordmark { color: var(--white); }
.foot .wordmark small { color: #7d8fa1; }

.disclosure { font-size: .8rem; line-height: 1.6; color: #7d8fa1; max-width: 76ch; }

/* ---------- misc ---------- */

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--white); padding: .7rem 1.1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
