/* ============================================================
   H2N Ventures — editorial · warm · immersive
   Cream paper · single desaturated pine accent · film photography
   ============================================================ */

:root {
  --paper:   #e7eae1;   /* cool porcelain, green-grey undertone */
  --paper-2: #f4f6ef;   /* raised near-white */
  --ink:     #14201a;   /* deep green-black */
  --body:    #3d473e;   /* cool green-grey body */
  --muted:   #65705f;   /* secondary */
  --line:    #d0d6c7;
  --line-2:  #bec6b2;
  --pine:    #2d5a40;   /* accent — forest green */
  --pine-ink:#244d34;   /* accent for text */
  --pine-deep:#183524;
  --dark:    #102019;   /* deep forest footer / overlays */
  --shadow:  28px 44px 56px -40px #10201933;
  --maxw:    1240px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--body);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain overlay */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { color: var(--ink); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; }
.display { font-family: var(--serif); font-weight: 400; }
.accent { color: var(--pine-ink); }
em, .italic { font-style: italic; }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--pine-ink); margin-bottom: 22px;
}
.eyebrow .idx { color: var(--muted); margin-right: 12px; }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 2px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  cursor: pointer; transition: .25s ease; border: 1px solid transparent;
}
.btn-primary { background: var(--pine); color: #f4f0e6; }
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-1px); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.textlink {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
  color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: .2s;
}
.textlink:hover { color: var(--pine-ink); border-color: var(--pine); }
.textlink .arw { transition: transform .25s; }
.textlink:hover .arw { transform: translateX(4px); }

/* ---------- Nav ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.wordmark { display: flex; align-items: baseline; gap: 9px; color: var(--ink); }
.wordmark .m { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -0.02em; }
.wordmark .s { font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--body); transition: .2s; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.menu-btn { display: none; background: none; border: 0; color: currentColor; font-size: 24px; cursor: pointer; }

/* nav over dark hero (default on home, before scroll) */
header.nav.over { color: #f2ede2; }
header.nav.over .wordmark, header.nav.over .wordmark .m { color: #f6f1e7; }
header.nav.over .wordmark .s { color: #d8cfbe; }
header.nav.over .nav-links a { color: #ece6da; }
header.nav.over .btn-line { color: #f2ede2; border-color: #f2ede299; }
header.nav.over .btn-line:hover { background: #f2ede2; color: var(--ink); }
/* solid after scroll / on inner pages */
header.nav.solid { background: #f1ece1f2; backdrop-filter: blur(12px) saturate(1.1); border-bottom-color: var(--line); }

/* ---------- Hero (immersive full-bleed) ---------- */
.hero { position: relative; min-height: 96vh; min-height: 96dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #0c120e80 0%, #0c120e30 34%, #0c120e55 62%, #0c120eea 100%),
    linear-gradient(90deg, #0c120ed6 0%, #0c120e8c 34%, #0c120e33 60%, transparent 82%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 84px; padding-top: 130px; max-width: 900px; }
.hero .kicker { color: #e7dfcf; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; margin-bottom: 26px; display: inline-flex; align-items: center; gap: 12px; }
.hero .kicker::before { content: ""; width: 34px; height: 1px; background: #d8b877; }
.hero h1 { color: #f4f6ee; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 92px); line-height: 1.02; letter-spacing: -0.02em; max-width: 15ch; text-shadow: 0 2px 40px #0c120eaa; }
.hero h1 em { font-style: italic; color: #cbd9bf; }
.hero .sub { color: #eef1e6; font-size: clamp(17px, 1.7vw, 20px); max-width: 540px; margin-top: 26px; line-height: 1.55; text-shadow: 0 1px 24px #0c120e99; }
.hero .actions { display: flex; gap: 26px; align-items: center; margin-top: 38px; flex-wrap: wrap; }
.hero .actions .textlink { color: #f2ede2; border-color: #f2ede255; }
.hero .actions .textlink:hover { color: #fff; border-color: #d8b877; }

/* ---------- Section rhythm ---------- */
section { padding: 128px 0; position: relative; }
.lede { max-width: 720px; }
.lede h2 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 54px); line-height: 1.06; margin-bottom: 0; }
.lede p { color: var(--muted); font-size: 19px; margin-top: 22px; }

/* ---------- Editorial feature rows (thesis) ---------- */
.feature { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 0; align-items: center; }
.feature + .feature { margin-top: 120px; }
/* clean editorial frame */
.plate { background: var(--paper-2); border: 1px solid var(--line-2); padding: 12px; box-shadow: var(--shadow); }
.plate-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; box-shadow: inset 0 0 0 1px #0c120e14; }
.plate-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 40px 0 40px 72px; display: flex; flex-direction: column; justify-content: center; }
.feature.reverse .plate { order: 2; }
.feature.reverse .feature-body { padding: 40px 72px 40px 0; }
.feature-body .num { font-family: var(--serif); font-size: 15px; color: var(--pine-ink); letter-spacing: .06em; margin-bottom: 20px; }
.feature-body .num::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--pine); vertical-align: middle; margin-right: 14px; }
.feature-body h3 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin-bottom: 22px; max-width: 15ch; }
.feature-body p { font-size: 17.5px; color: var(--body); max-width: 46ch; }
.feature-body p + p { margin-top: 16px; }
.feature-body .pull { color: var(--ink); font-style: italic; font-family: var(--serif); font-size: 1.06em; }

/* ---------- Approach (numbered list, not cards) ---------- */
.approach { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.approach-list { border-top: 1px solid var(--line); }
.approach-item { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.approach-item .n { font-family: var(--serif); font-size: 20px; color: var(--pine-ink); }
.approach-item h3 { font-size: 21px; font-family: var(--serif); margin-bottom: 8px; color: var(--ink); }
.approach-item p { font-size: 16px; color: var(--muted); max-width: 52ch; }

/* ---------- Immersive band (materials) ---------- */
.band { position: relative; padding: 0; }
.band-media { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #14100ae0 0%, #14100a99 42%, #14100a1a 78%); }
.band-quote { position: relative; z-index: 2; max-width: 620px; }
.band-quote .eyebrow { color: #d8b877; }
.band-quote h2 { font-family: var(--serif); color: #f6f1e7; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.12; margin-bottom: 20px; }
.band-quote p { color: #e2dacc; font-size: 18px; max-width: 48ch; }
.band-quote .actions { margin-top: 32px; }
.band-quote .textlink { color: #f6f1e7; border-color: #f6f1e755; }
.band-quote .textlink:hover { border-color: #d8b877; }

/* ---------- Portfolio (editorial list) ---------- */
.pf-list { border-top: 1px solid var(--line); margin-top: 8px; }
.pf-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 28px; align-items: center; padding: 30px 4px; border-bottom: 1px solid var(--line); transition: .25s; }
.pf-row:hover { padding-left: 16px; background: linear-gradient(90deg, #e9e2d3 0%, transparent 60%); }
.pf-row .n { font-family: var(--serif); font-size: 16px; color: var(--muted); }
.pf-row .name { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); }
.pf-row .tag { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-ink); }

/* ---------- Messaging (A2P) — definition list ---------- */
.msg-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 76px; align-items: start; }
.msg-intro h2 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; margin-bottom: 20px; }
.msg-intro p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.msg-intro .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.msg-dl { border-top: 1px solid var(--line-2); }
.msg-dl .item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.msg-dl .k { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.msg-dl .k .tick { color: var(--pine); flex-shrink: 0; }
.msg-dl .v { font-size: 15.5px; color: var(--muted); padding-left: 30px; }
.msg-dl .v strong { color: var(--ink); }
.msg-dl .v a { color: var(--pine-ink); border-bottom: 1px solid var(--line-2); }
.msg-note { grid-column: 1 / -1; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.msg-note strong { color: var(--ink); }

/* slim messaging strip */
.msg-slim { padding: 56px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.msg-slim-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.msg-slim .eyebrow { margin-bottom: 12px; }
.msg-slim p { font-size: 15.5px; color: var(--body); max-width: 78ch; line-height: 1.62; }
.msg-slim p strong { color: var(--ink); }
.msg-slim-links { display: flex; flex-direction: column; gap: 14px; white-space: nowrap; }
@media (max-width: 940px) { .msg-slim-inner { grid-template-columns: 1fr; gap: 24px; } .msg-slim-links { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Contact (editorial rows) ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-rows { border-top: 1px solid var(--line); margin-top: 36px; }
.contact-row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-row .k { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.contact-row .v { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); color: var(--ink); }
.contact-row a.v:hover { color: var(--pine-ink); }

/* ---------- Opt-in form ---------- */
.optin { background: var(--paper-2); border: 1px solid var(--line-2); padding: 38px; box-shadow: var(--shadow); }
.optin h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 6px; }
.optin .optin-sub { font-size: 15px; color: var(--muted); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--line-2); }
.field input {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 2px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #b3a893; }
.field input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px #3b5a4522; }
.field input.invalid { border-color: #a5462f; box-shadow: 0 0 0 3px #a5462f1f; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 24px; cursor: pointer; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--pine); cursor: pointer; }
.consent span { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.consent a { color: var(--pine-ink); text-decoration: underline; text-underline-offset: 2px; }
.consent.invalid span { color: #a5462f; }
.optin .btn-primary { width: 100%; justify-content: center; }
.form-error { color: #a5462f; font-size: 14px; margin-top: 14px; }
.optin-success { background: var(--paper-2); border: 1px solid var(--pine); border-left: 3px solid var(--pine); padding: 40px 38px; box-shadow: var(--shadow); }
.optin-success h3 { font-family: var(--serif); font-size: 26px; color: var(--pine-ink); margin-bottom: 10px; }
.optin-success p { font-size: 16px; color: var(--body); }

/* ---------- Footer ---------- */
footer.site { background: var(--dark); color: #b3a992; padding: 84px 0 46px; }
footer.site .wordmark .m { color: #f4efe4; }
footer.site .wordmark .s { color: #8c8370; }
.foot-top { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid #ffffff14; }
.foot-links { display: flex; gap: 30px; flex-wrap: wrap; }
.foot-links a { color: #c3b9a1; font-size: 15px; transition: .2s; }
.foot-links a:hover { color: #e8dcc2; }
.foot-legal { margin-top: 34px; color: #7c7360; font-size: 13.5px; line-height: 1.7; max-width: 900px; }

/* ---------- Legal pages ---------- */
.legal { padding: 150px 0 70px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.5vw, 60px); margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: 14px; letter-spacing: .04em; margin-bottom: 46px; }
.legal h2 { font-family: var(--serif); font-size: 25px; margin: 50px 0 14px; color: var(--ink); }
.legal h3 { font-size: 14px; letter-spacing: .04em; margin: 28px 0 8px; color: var(--pine-ink); }
.legal p, .legal li { color: var(--body); font-size: 16.5px; margin-bottom: 15px; }
.legal ul { padding-left: 22px; margin-bottom: 15px; }
.legal li { margin-bottom: 9px; }
.legal a.inline { color: var(--pine-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .callout { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--pine); border-radius: 2px; padding: 26px 30px; margin: 28px 0; }
.legal .callout p:last-child { margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 9px; color: var(--pine-ink); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; background: #f1ece1f7; backdrop-filter: blur(12px); padding: 24px 32px; gap: 20px; border-bottom: 1px solid var(--line); }
  header.nav.over .nav-links.open a { color: var(--body); }
  .feature, .approach, .msg-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 34px; }
  .feature-body, .feature.reverse .feature-body { padding: 0; }
  .feature.reverse .plate { order: 0; }
  section { padding: 84px 0; }
  .band-media::after { background: linear-gradient(90deg, #14100aee 0%, #14100abb 100%); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .hero-inner { padding-bottom: 56px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .pf-row { grid-template-columns: 40px 1fr; }
  .pf-row .tag { display: none; }
  .contact-row { grid-template-columns: 110px 1fr; gap: 14px; }
  .optin, .optin-success { padding: 26px 22px; }
  .plate { padding: 10px 10px 0; }
}
