/* Bitstreamedia — draft site styles */
:root {
  --ink: #161410;
  --ink-soft: #3a352c;
  --muted: #6a6358;
  --paper: #f4efe6;
  --paper-2: #ece5d8;
  --paper-3: #e2d9c8;
  --cream: #faf7f1;
  --white: #fffdf8;
  --forest: #1b2e28;
  --forest-deep: #101c18;
  --bronze: #8d5e28;
  --bronze-bright: #b07a38;
  --bronze-pale: #e8d3b0;
  --line: #d5ccbb;
  --line-strong: #c3b8a2;
  --focus: #b07a38;
  --wrap: 1120px;
  --header-h: 76px;
  --serif: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(16, 28, 24, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
cite { font-style: italic; }

a { color: var(--bronze); }
a:hover { color: var(--forest); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(3rem, 8vw, 6.25rem); font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--bronze);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest-deep);
  min-height: 44px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--forest);
  color: var(--bronze-pale);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.brand-tag { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 3px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
  padding: 8px 0;
}

.site-nav a:hover { color: var(--forest); }

.site-nav a.nav-contact {
  margin-left: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
}
.site-nav a.nav-contact:hover {
  background: var(--forest);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
}
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { top: -7px; left: 0; }
.nav-toggle .bars::after { top: 7px; left: 0; }
.site-header.open .nav-toggle .bars { background: transparent; }
.site-header.open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
.site-header.open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid var(--forest);
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: color-mix(in srgb, var(--cream) 55%, transparent);
}
.btn-ghost:hover {
  background: color-mix(in srgb, var(--cream) 12%, transparent);
  border-color: var(--cream);
  color: #fff;
}

.btn-small { padding: 9px 18px; font-size: 0.95rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 0.75em;
}

/* Hero */
.hero {
  position: relative;
  color: var(--cream);
  background: var(--forest-deep);
  overflow: hidden;
  min-height: min(86vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 80px 0 96px;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.38;
  filter: saturate(0.7) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 28, 24, 0.35) 0%, rgba(16, 28, 24, 0.55) 40%, rgba(16, 28, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(16, 28, 24, 0.75) 0%, rgba(16, 28, 24, 0.25) 60%, rgba(16, 28, 24, 0.45) 100%);
}

.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero .eyebrow { color: var(--bronze-pale); }
.hero h1 { color: #fff; margin-bottom: 0.2em; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.4;
  color: #f0e6d4;
  max-width: 28ch;
  margin-bottom: 0.9em;
}

.hero-sub {
  max-width: 46ch;
  color: #e4d9c6;
  font-size: 1.05rem;
}

/* Sections */
.section { padding: 88px 0; }
.section-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 2.25rem;
}

.ventures { background: var(--cream); }
.about { background: var(--paper); }
.quotes { background: var(--paper-2); }
.portfolio { background: var(--cream); border-top: 1px solid var(--line); }
.contact { background: var(--forest-deep); color: #e6ddd0; }
.contact h2, .contact .eyebrow { color: var(--bronze-pale); }
.contact h2 { color: #fff; }

/* Venture cards */
.venture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.venture-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.venture-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0;
}

.venture-card h3 { margin: 0; }
.venture-card p { color: var(--ink-soft); }

.venture-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 10px;
}

.venture-links a:not(.btn) {
  font-weight: 600;
  text-decoration: none;
  color: var(--forest);
  border-bottom: 1px solid var(--bronze-pale);
  padding-bottom: 1px;
}
.venture-links a:not(.btn):hover { color: var(--bronze); border-color: var(--bronze); }
.venture-links .btn { color: var(--cream); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: start;
}

.about-copy p { color: var(--ink-soft); }
.about-copy p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink);
}

.about-figure {
  margin: 8px 0 0;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.about-figure img {
  width: 100%;
  max-width: 277px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #7aa0c0;
}

.about-figure figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
  max-width: 36ch;
}

/* Quotes */
.quote {
  margin: 0 0 28px;
  padding: 28px 32px;
  background: var(--white);
  border-left: 4px solid var(--bronze);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0.9em;
}

.quote footer {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest);
  margin-top: 8px;
}

/* Domain portfolio */
.domain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.domain-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 64px;
}

.domain-name {
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--forest-deep);
  word-break: break-word;
}

.domain-note {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-intro, .form-intro {
  color: #cfc4b0;
  font-size: 1rem;
}

.contact-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: #fff;
  margin: 1.4em 0 0.2em;
}

.contact-phone a {
  font-size: 1.45rem;
  font-weight: 650;
  color: var(--bronze-pale);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.contact-phone a:hover { color: #fff; }

.contact address {
  font-style: normal;
  margin-top: 1.2em;
  color: #d5cbb8;
  line-height: 1.55;
}

.contact-form {
  background: color-mix(in srgb, #fff 7%, transparent);
  border: 1px solid color-mix(in srgb, #fff 14%, transparent);
  border-radius: var(--radius);
  padding: 28px;
}

.form-row { margin-bottom: 16px; }

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: #f0e6d4;
}

.req { color: var(--bronze-pale); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.opt-in {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500 !important;
  margin-top: 10px;
  color: #e6ddd0 !important;
  cursor: pointer;
}
.opt-in input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--bronze); flex-shrink: 0; }

.form-message {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--bronze-pale) 18%, transparent);
  color: #fff;
  font-weight: 500;
}

.contact .btn {
  background: var(--bronze-bright);
  border-color: var(--bronze-bright);
  color: #fff;
}
.contact .btn:hover {
  background: var(--bronze-pale);
  border-color: var(--bronze-pale);
  color: var(--forest-deep);
}

.site-footer {
  background: #0b1411;
  color: #9a8f7d;
  padding: 28px 0;
  font-size: 0.9rem;
}
.footer-inner p { margin: 0 0 0.35em; }
.footer-inner p:last-child { margin: 0; }

/* Mobile */
@media (max-width: 900px) {
  .venture-grid,
  .about-grid,
  .contact-grid,
  .domain-list { grid-template-columns: 1fr; }

  .about-figure { position: static; max-width: 320px; }

  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
  }

  .site-header.open .site-nav { display: flex; }

  .site-nav a { padding: 12px 4px; }
  .site-nav a.nav-contact {
    margin: 8px 0 0;
    text-align: center;
  }

  .hero { min-height: auto; padding: 56px 0 64px; align-items: flex-end; }
  .section { padding: 64px 0; }
  .venture-card, .contact-form { padding: 24px; }
  .quote { padding: 22px 20px; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .brand-tag { display: none; }
  .lead { max-width: none; }
}
