:root {
  --bg: #F8F4ED;
  --bg-alt: #FAF7F2;
  --text: #1A1814;
  --text-muted: #6B6259;
  --accent: #B8893A;
  --accent-hover: #9A6F2A;
  --border: #E8E1D4;
  --max: 1200px;
  --content: 760px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 150ms ease;
}
a:hover { color: var(--accent-hover); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 0.6em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.45rem; }
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.prose { max-width: var(--content); }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--bg);
  padding: 12px 16px;
  z-index: 1000;
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 244, 237, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.wordmark {
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.wordmark:hover { color: var(--text); }

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }

@media (max-width: 480px) {
  .nav { gap: 16px; }
  .nav a { font-size: 0.9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  background: var(--bg-alt);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248,244,237,0.0) 40%, rgba(248,244,237,0.85) 100%);
}
.hero__inner {
  position: relative;
  padding: 80px 24px 56px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero__title {
  font-size: 2.1rem;
  max-width: 18ch;
  margin-bottom: 16px;
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 52ch;
  margin: 0;
}
@media (min-width: 768px) {
  .hero { min-height: 70vh; }
  .hero__title { font-size: 3.4rem; }
  .hero__sub { font-size: 1.2rem; }
  .hero__inner { padding: 120px 24px 80px; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 40px; }
@media (min-width: 768px) { .section__head { margin-bottom: 56px; } }

/* ---------- Venture cards ---------- */
.ventures {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .ventures { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.venture { display: flex; flex-direction: column; }
.venture__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 20px;
}
.venture__media img { width: 100%; height: 100%; object-fit: cover; }
.venture__title { margin-bottom: 10px; letter-spacing: 0.01em; }
.venture__body { color: var(--text-muted); margin-bottom: 18px; }
.venture__cta { margin-top: auto; }
.venture__soon {
  margin-top: auto;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--text);
  border-radius: 2px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  font-family: inherit;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
.form label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 500;
}
.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  font: inherit;
  color: var(--text);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 137, 58, 0.18);
}
.form textarea { min-height: 140px; resize: vertical; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.form__check input { margin-top: 4px; }
.form__hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.form__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.about-image {
  background: var(--bg-alt);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact + entity block ---------- */
.entity {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  font-style: normal;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}
.entity strong { font-weight: 500; }

.mailto-large {
  display: inline-block;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.3rem;
  margin: 4px 0 24px;
}
@media (min-width: 768px) { .mailto-large { font-size: 1.5rem; } }

/* ---------- Legal prose ---------- */
.legal h1 { margin-bottom: 8px; }
.legal .meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
  line-height: 1.5;
}
.legal h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
@media (min-width: 768px) { .legal h2 { font-size: 1.4rem; } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 48px 0 56px;
  margin-top: 32px;
}
.site-footer__entity {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 75ch;
}
.site-footer__nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer__nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--accent); }

.lead {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 60ch;
}
@media (min-width: 768px) { .lead { font-size: 1.2rem; } }

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