:root {
  --paper: #f7efe4;
  --paper-strong: #fff7ef;
  --ink: #182126;
  --muted: #53606a;
  --line: rgba(24, 33, 38, 0.12);
  --card: rgba(255, 251, 245, 0.86);
  --accent: #ff6a3d;
  --accent-deep: #d9471c;
  --teal: #1c9a8a;
  --gold: #f0b33e;
  --shadow: 0 24px 60px rgba(24, 33, 38, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --wrap: min(1120px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 106, 61, 0.2), transparent 28rem),
    radial-gradient(circle at top right, rgba(28, 154, 138, 0.18), transparent 24rem),
    linear-gradient(180deg, #fff8f0, var(--paper) 42%, #f3e8d9);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: 6rem;
  left: -8rem;
  background: rgba(255, 106, 61, 0.26);
}

.page-glow-right {
  top: 18rem;
  right: -8rem;
  background: rgba(28, 154, 138, 0.24);
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a,
.route-strip a,
.text-link,
.feature-link {
  transition: transform 180ms ease, color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.route-strip a:hover,
.text-link:hover,
.feature-link:hover {
  color: var(--accent-deep);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 2.8rem 0 2rem;
  align-items: center;
}

.hero-copy,
.hero-panel,
.spotlight-card,
.post-card,
.blog-shell,
.article-shell {
  opacity: 0;
  transform: translateY(14px);
  animation: rise-in 640ms ease forwards;
}

.hero-panel {
  animation-delay: 120ms;
}

.eyebrow,
.feature-kicker,
.post-meta,
.article-meta {
  display: inline-block;
  color: var(--accent-deep);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  max-width: 11ch;
}

.lede {
  margin-top: 1.25rem;
  max-width: 60ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions,
.route-strip,
.link-row,
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.6rem;
}

.route-strip {
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 16px 32px rgba(217, 71, 28, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 33, 38, 0.1);
  backdrop-filter: blur(12px);
}

.route-strip a,
.text-link,
.feature-link {
  font-weight: 700;
}

.hero-panel,
.spotlight-card,
.blog-shell,
.article-shell {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel {
  padding: 1.2rem;
  border-radius: var(--radius-xl);
}

.feature-card {
  display: grid;
  gap: 1.25rem;
}

.feature-art {
  padding: 1rem;
  border-radius: calc(var(--radius-xl) - 10px);
  background:
    linear-gradient(145deg, rgba(255, 106, 61, 0.14), rgba(28, 154, 138, 0.14)),
    rgba(255, 255, 255, 0.56);
}

.feature-body h2 {
  margin-top: 0.4rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.feature-body p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.feature-link {
  display: inline-flex;
  margin-top: 1rem;
}

.spotlight-grid,
.post-grid {
  display: grid;
  gap: 1.25rem;
}

.spotlight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 2rem 0;
}

.spotlight-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  animation-delay: 180ms;
}

.spotlight-card:nth-child(2) {
  animation-delay: 240ms;
}

.spotlight-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.7)),
    linear-gradient(135deg, rgba(255, 106, 61, 0.14), rgba(28, 154, 138, 0.16));
}

.spotlight-copy h2 {
  margin-top: 0.45rem;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.spotlight-copy p:last-of-type {
  margin-top: 0.85rem;
  color: var(--muted);
}

.link-row {
  margin-top: 1rem;
}

.recent-posts {
  padding: 2rem 0 4rem;
}

.section-heading h2 {
  margin-top: 0.35rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.post-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  animation-delay: 300ms;
}

.post-card:nth-child(2) {
  animation-delay: 340ms;
}

.post-card h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.post-card p:last-child {
  margin-top: 0.75rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
  color: var(--muted);
}

.blog-shell,
.article-shell {
  width: min(860px, calc(100vw - 2rem));
  margin: 2rem auto 4rem;
  padding: clamp(1.25rem, 2vw, 2.5rem);
  border-radius: var(--radius-xl);
}

.blog-shell {
  animation-delay: 80ms;
}

.blog-shell h1,
.article-shell h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 12ch;
}

.blog-intro,
.article-intro {
  margin-top: 1rem;
  color: var(--muted);
}

.blog-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.blog-item {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
}

.blog-item h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.blog-item p:last-of-type {
  margin-top: 0.75rem;
  color: var(--muted);
}

.article-shell {
  animation-delay: 80ms;
}

.article-actions {
  margin-bottom: 1.25rem;
}

.article-body {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.article-body h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.article-body ul,
.article-body ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.article-body li + li {
  margin-top: 0.45rem;
}

.callout {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 106, 61, 0.08);
}

.article-figure {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.article-figure figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero,
  .spotlight-grid,
  .post-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero h1,
  .blog-shell h1,
  .article-shell h1 {
    max-width: none;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .hero-panel,
  .spotlight-card,
  .blog-shell,
  .article-shell,
  .post-card,
  .blog-item {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.content-shell {
  width: min(960px, calc(100vw - 2rem));
  margin: 1.5rem auto 4rem;
  padding: clamp(1rem, 2vw, 2rem);
}

.page-panel {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  padding: clamp(1.2rem, 2vw, 2rem);
}

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

.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  max-width: 11ch;
}

.page-copy {
  display: grid;
  gap: 1rem;
}

.page-copy p,
.section-stack p,
.policy-section p,
.policy-section li,
.command-card p,
.mini-card p {
  color: var(--muted);
}

.hero-image,
.image-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.hero-image img,
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-banner {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 106, 61, 0.1);
  color: var(--accent-deep);
  font-weight: 700;
}

.quick-links,
.utility-links,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-sections {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.section-stack,
.policy-section,
.mini-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.section-stack h2,
.policy-section h2,
.mini-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.65rem;
}

.policy-section h3 {
  margin: 1rem 0 0.45rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.command-grid,
.utility-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.command-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.utility-grid,
.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.command-card {
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.command-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.45rem;
}

.command-card code {
  font-family: "Fira Code", Consolas, monospace;
  font-size: 0.95em;
}

.inline-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.inline-list li + li {
  margin-top: 0.4rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.contact-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(28, 154, 138, 0.1);
  border: 1px solid rgba(28, 154, 138, 0.15);
}

.gallery-grid .image-frame {
  min-height: 260px;
}

@media (max-width: 900px) {
  .page-hero,
  .command-grid,
  .utility-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    max-width: none;
  }
}
