/*
Theme Name: Almor Ventures
Description: Minimal one-page theme for Almor Ventures. "Quiet capital" direction — ink, bone, Fraunces serif.
Version: 1.0.0
Author: HeyNow Studio
Text Domain: almor
*/

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-var.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14171C;
  --ink-2: #1D2128;
  --line: #2A2F38;
  --line-hover: #4A5160;
  --bone: #EDE9E0;
  --muted: #8A8F98;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 420;
  line-height: 1.15;
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 3px;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* Header */
.site-head { padding: 28px 0; }

.wordmark {
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.lang { font-size: 0.8125rem; color: var(--muted); display: flex; gap: 8px; }
.lang a { color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--bone); }
.lang a.on { color: var(--bone); }

/* Hero */
.hero { padding: 16vh 24px 12vh; }

.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  max-width: 14em;
  margin-bottom: 0.5em;
}

.hero .sub {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 32em;
}

.hero-media { margin-top: 72px; }

.hero-media img,
.hero-media video {
  display: block;
  width: 100%;
  height: min(56vh, 520px);
  object-fit: cover;
  border: 1px solid var(--line);
}

/* Sections */
.overline {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.brands { padding-bottom: 12vh; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: block;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 32px 32px 36px;
  text-decoration: none;
  transition: border-color 0.25s ease;
}

.card:hover { border-color: var(--line-hover); }

.card h2 { font-size: 1.5rem; margin-bottom: 8px; }

.card p { color: var(--muted); font-size: 0.9375rem; max-width: 26em; }

.card .arrow {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--muted);
  font-size: 1.125rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.card:hover .arrow { color: var(--bone); transform: translate(2px, -2px); }

.card-brand { margin-bottom: 14px; line-height: 0; }

.card-logo { height: 30px; width: auto; display: block; }

/* Photo band */
.photos { padding-bottom: 12vh; }

.photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* Contact */
.contact { padding-bottom: 16vh; }

.contact h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 20px;
}

.email {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  text-decoration: none;
  border-bottom: 1px solid var(--line-hover);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}

.email:hover { border-color: var(--bone); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0; }

.site-foot p { font-size: 0.8125rem; color: var(--muted); }

/* Subpages (privacy policy etc.) */
.subpage { padding: 8vh 24px 12vh; }

.subpage h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1em; }

.subpage .prose { max-width: 42em; color: var(--bone); }

.subpage .prose p, .subpage .prose ul, .subpage .prose ol { margin-bottom: 1em; color: var(--muted); }

.subpage .prose h2, .subpage .prose h3 { margin: 1.5em 0 0.5em; }

.subpage .prose a { color: var(--bone); }

@media (max-width: 600px) {
  .hero { padding: 10vh 24px 10vh; }
  .site-foot .row { flex-direction: column; align-items: flex-start; gap: 4px; }
}
