/* The Loyal Host - Site Stylesheet */

:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --ink: #1f2a2e;
  --mut: #66737a;
  --line: #dfe7e4;
  --acc: #2a9d8f;
  --warm: #e9a23b;
  --soft: #e8f1ee;
  --display: "Fraunces", Georgia, serif;
  --body: "Karla", system-ui, sans-serif;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 0.5em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.5em;
  max-width: 68ch;
}

/* Links */
a {
  color: var(--acc);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

a:hover {
  color: #1f7a6e; /* Slightly darker teal */
}

/* Focus Styles */
:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 2px;
}

/* Layout Wrapper */
.lh-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Header Area */
.lh-top {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
}

.lh-mast {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}

.lh-mast small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--mut);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

.lh-nav {
  margin-top: 1rem;
}

.lh-nav a {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: 1.5rem;
}

.lh-nav a:hover {
  color: var(--acc);
}

/* Hero Section */
.lh-hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.lh-eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.75rem; /* 12px */
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--acc);
  margin-bottom: 1rem;
  display: block;
}

.lh-h1 {
  margin-bottom: 1.5rem;
}

.lh-dek {
  font-size: 1.25rem;
  color: var(--mut);
  max-width: 60ch;
  margin: 0 auto;
}

/* Section & Headings */
.lh-section {
  padding: 3rem 0;
}

.lh-h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}

.lh-intro {
  font-size: 1.125rem;
  color: var(--mut);
  margin-bottom: 3rem;
}

/* Grid System */
.lh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .lh-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .lh-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.lh-card {
  background-color: var(--surface);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(31, 42, 46, 0.06);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lh-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(31, 42, 46, 0.09);
}

.lh-card .lh-tag {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--acc);
  margin-bottom: 0.75rem;
}

.lh-card h3 {
  margin-bottom: 0.75rem;
}

.lh-card p {
  font-size: 0.95rem;
  color: var(--mut);
  flex-grow: 1;
}

a.lh-more {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

a.lh-more:hover {
  color: var(--acc);
  border-color: var(--acc);
}

/* Featured Piece */
.lh-feature {
  background-color: var(--soft);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 960px) {
  .lh-feature {
    padding: 4rem;
  }
}

.lh-feature h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

/* Q&A Block */
.lh-qa {
  margin-bottom: 2rem;
}

.lh-q {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.lh-a {
  color: var(--mut);
  margin-top: 0;
}

/* Prose / Article Body */
.lh-prose {
  font-size: 1.0625rem; /* ~17px */
  line-height: 1.65;
  color: var(--ink);
}

.lh-prose p {
  margin-bottom: 1.5em;
}

.lh-prose blockquote {
  border-left: 4px solid var(--acc);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--mut);
  background-color: var(--soft);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}

/* Byline & Meta */
.lh-byline {
  font-family: var(--body);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.lh-meta {
  font-family: var(--body);
  font-size: 0.875rem;
  color: var(--mut);
  margin-bottom: 2rem;
}

/* Sidebar / Aside */
.lh-aside {
  background-color: var(--surface);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(31, 42, 46, 0.06);
  margin-top: 2rem;
}

@media (min-width: 960px) {
  .lh-aside {
    margin-top: 0;
  }
}

/* Offers List */
.lh-offers {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lh-offer {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.lh-offer:last-child {
  border-bottom: none;
}

.lh-offer-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  display: block;
}

.lh-offer p {
  font-size: 0.95rem;
  color: var(--mut);
  margin-bottom: 1rem;
}

/* Forms */
.lh-form {
  max-width: 60ch;
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--acc);
}

label {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--mut);
  margin-bottom: 0.5rem;
}

/* Buttons */
.lh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  height: 46px;
  border-radius: 12px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: none;
}

.lh-btn:hover {
  transform: translateY(-1px);
}

/* Primary Button (Amber) */
.lh-btn {
  background-color: var(--warm);
  color: var(--ink);
}

.lh-btn:hover {
  background-color: #d69230; /* Slightly darker amber */
}

/* Quiet Button (Teal Outline) */
.lh-btn.quiet {
  background-color: transparent;
  border: 2px solid var(--acc);
  color: var(--acc);
}

.lh-btn.quiet:hover {
  background-color: var(--soft);
  color: #1f7a6e;
  border-color: #1f7a6e;
}

/* Footer */
.lh-foot {
  padding: 3rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.875rem;
  color: var(--mut);
}
