:root {
  --bg: #08131f;
  --bg-deep: #040b13;
  --panel: rgba(6, 16, 28, 0.82);
  --panel-strong: rgba(5, 13, 23, 0.92);
  --ink: #f4f1ea;
  --muted: #c8d0da;
  --gold: #a58145;
  --gold-soft: #c8a86a;
  --line: rgba(255, 255, 255, 0.12);
  --line-gold: rgba(165, 129, 69, 0.45);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(7, 17, 30, 0.76), rgba(3, 8, 15, 0.96)),
    url("/sitepad-data/uploads/2022/04/OhioR-1200x675.jpg") top center / cover fixed no-repeat,
    var(--bg);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 10, 18, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 0.85rem 0 0.95rem;
}

.brand img {
  width: 244px;
  max-width: 48vw;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a,
.social-link {
  color: rgba(244, 241, 234, 0.82);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.social-link:hover {
  color: var(--gold-soft);
}

.social-link svg,
.hero-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.hero {
  padding: 1.5rem 0 2.4rem;
}

.hero-stage {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: end;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 6, 12, 0.16) 0%, rgba(2, 6, 12, 0.42) 36%, rgba(2, 6, 12, 0.78) 100%),
    url("/sitepad-data/uploads/screenshots/home.jpg") center top / cover no-repeat,
    #0a1524;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 214, 145, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(8, 17, 30, 0.04), rgba(8, 17, 30, 0.32));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  padding: clamp(1.3rem, 2vw, 1.8rem);
  background: rgba(10, 18, 31, 0.74);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-soft);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.blog-post h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 5.3rem);
  line-height: 0.96;
  font-weight: 400;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.accent-rule {
  width: min(220px, 42vw);
  height: 2px;
  margin: 1.1rem 0 1.15rem;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(165, 129, 69, 0.15) 100%);
}

.lede {
  max-width: 48ch;
  margin: 0;
  color: rgba(244, 241, 234, 0.88);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #15100a;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.hero-card,
.service-card,
.work-card,
.post-card,
.feature-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  min-height: 170px;
  padding: 1.2rem;
  overflow: hidden;
  background: #0f1a28;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 21, 0.18), rgba(5, 11, 21, 0.82)),
    var(--card-image) center / cover no-repeat;
}

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

.hero-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--gold-soft);
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card h2 {
  max-width: 15ch;
  margin: 1rem 0 0;
  font-size: 1.2rem;
  line-height: 1.22;
  font-weight: 400;
}

.section-heading {
  margin: 0 0 1.4rem;
}

.section-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.02;
  font-weight: 400;
}

.section-heading p {
  margin-bottom: 0.7rem;
}

.services,
.work,
.journal,
.page-body,
.page-hero,
.blog-post {
  padding: 2.2rem 0 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: stretch;
}

.services-copy {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(6, 16, 28, 0.92), rgba(6, 16, 28, 0.74));
}

.services-copy p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.service-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.service-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.15rem;
}

.service-list a::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.services-image {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(5, 11, 21, 0.15), rgba(5, 11, 21, 0.6)),
    url("/sitepad-data/uploads/screenshots/words.jpg") center / cover no-repeat;
}

.card-grid,
.work-grid,
.post-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.service-card,
.work-card,
.post-card {
  overflow: hidden;
  background: var(--panel);
}

.service-card {
  grid-column: span 6;
}

.service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-body,
.post-card,
.work-card figcaption {
  padding: 1.2rem 1.2rem 1.35rem;
}

.service-body h3,
.post-card h2,
.post-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.5rem;
  font-weight: 400;
}

.service-body p,
.post-card p,
.page-body p,
.prose li {
  color: var(--muted);
  line-height: 1.75;
}

.feature-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
}

.feature-panel {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 11, 21, 0.18), rgba(5, 11, 21, 0.58)),
    url("/sitepad-data/uploads/2022/04/OhioR-1200x675.jpg") center / cover no-repeat;
}

.feature-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(5, 11, 21, 0), rgba(5, 11, 21, 0.88));
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(5, 11, 21, 0.66), rgba(5, 11, 21, 0.9)),
    url("/sitepad-data/uploads/2022/04/joecallanfooter.jpg") center / cover no-repeat;
}

.feature-copy p {
  max-width: 44ch;
  color: rgba(244, 241, 234, 0.9);
  font-size: 1.05rem;
  line-height: 1.8;
}

.work-card {
  grid-column: span 3;
}

.work-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.work-card figcaption {
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--muted);
}

.post-card {
  grid-column: span 6;
  background: rgba(6, 16, 28, 0.88);
}

.post-date {
  margin-bottom: 0.7rem;
  color: var(--gold-soft);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 2rem;
  align-items: center;
}

.page-hero-image {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.prose {
  max-width: 760px;
}

.empty-state {
  color: var(--muted);
  font-style: italic;
}

.site-footer {
  padding: 2.2rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(4, 10, 18, 0.35), rgba(4, 10, 18, 0.92)),
    url("/sitepad-data/uploads/2022/04/joecallanfooter.jpg") center / cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(244, 241, 234, 0.8);
}

@media (max-width: 980px) {
  .header-inner,
  .hero-stack,
  .services-grid,
  .feature-shell,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 58vh;
    padding: 1.4rem;
  }

  .service-card,
  .work-card,
  .post-card {
    grid-column: span 12;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--max), calc(100% - 1rem));
  }

  .header-inner {
    padding: 0.9rem 0;
  }

  .hero-copy {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
