/* THV Website v1 */

:root {
  --bg: #11110f;
  --paper: #1b1a17;
  --ink: #f0eadf;
  --muted: #b7afa2;
  --accent: #b38a4a;
  --line: #3a352e;
  --dark: #0b0b0a;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 17, 15, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
}

.brand {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-style: italic;
  text-decoration: none;
  letter-spacing: 0.01em;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.1;
}

nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

nav a:hover {
  color: var(--ink);
}

.hero {
  padding: 5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

h1, h2, h3 {
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.4rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  background: var(--dark);
  color: #f7f2e8;
  text-decoration: none;
  border: 1px solid var(--dark);
}

.button-secondary {
  background: transparent;
  color: var(--dark);
}

.placeholder {
  border: 1px dashed #6f6558;
  background:
    linear-gradient(135deg, rgba(179,138,74,.10), rgba(255,255,255,.025));
  color: var(--muted);
}

.hero-photo {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.hero-photo span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--paper);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.section-alt .card {
  background: var(--bg);
}

.card p {
  color: var(--muted);
}

.thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.contact-section {
  text-align: center;
}

.email-link {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
}

.site-footer {
  background: var(--dark);
  color: #e9e1d5;
  padding: 2rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tagline {
  font-style: italic;
}

@media (max-width: 820px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-photo {
    min-height: 300px;
  }
}


/* Dark-theme refinements */
body {
  background-image:
    radial-gradient(circle at top left, rgba(179,138,74,.06), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(255,255,255,.025), transparent 28rem);
}

.site-header {
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}

.card,
.hero-photo,
.thumb {
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}

.button {
  background: var(--accent);
  border-color: var(--accent);
  color: #11110f;
  font-weight: 700;
}

.button:hover {
  filter: brightness(1.08);
}

.button-secondary {
  background: transparent;
  border-color: #7e7568;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

nav a:hover,
.email-link:hover {
  color: var(--accent);
}

.section-alt {
  background: #151411;
}

.section-alt .card {
  background: #1b1a17;
}

.site-footer {
  border-top: 1px solid #2a2722;
}


/* THV v1.1 typography refinements */
.eyebrow,
.tagline {
  font-family: "Lora", Georgia, "Times New Roman", serif;
}

.tagline {
  font-style: italic;
  font-weight: 500;
}

/* Keep navigation and body copy straightforward for easy reading. */
nav,
body p,
.card p {
  font-family: Georgia, "Times New Roman", serif;
}


/* THV v1.2 hero image */
.hero-photo-real {
  min-height: 430px;
  background:
    linear-gradient(rgba(12,12,10,.18), rgba(12,12,10,.30)),
    url("../images/thv-hero-workbench.jpg") center center / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
}

@media (max-width: 820px) {
  .hero-photo-real {
    min-height: 300px;
    background-position: 58% center;
  }
}


/* THV v2.2 monogram integration */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-seal {
  position: absolute;
  z-index: 0;
  width: min(360px, 72%);
  height: auto;
  left: -3.25rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-mark {
  width: 86px;
  height: 86px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand p {
  margin: 0;
}

.footer-wrap {
  align-items: center;
}

@media (max-width: 820px) {
  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .hero-seal {
    width: 70%;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    opacity: 0.045;
  }

  .footer-mark {
    width: 68px;
    height: 68px;
  }
}

/* THV v2.3: launch-ready story tiles */
.story-thumb { border: 1px solid var(--line); background: linear-gradient(145deg,#282219,#141311); color: var(--accent); font: italic 4rem "Lora", Georgia, serif; }
.story-photo { display: block; width: 100%; height: auto; object-fit: cover; border: 1px solid var(--line); }
.story-photo-clancy { object-position: center 58%; }
.story-photo-waterman { object-position: center top; }
section[id] { scroll-margin-top: 6rem; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
