/* ==========================================================================
   Aditi Printing Service — static rebuild
   A print shop's site should feel crisp and inky: near-black ground option
   avoided in favor of a clean white canvas with a strong vermillion accent
   (the color of registration marks / spot-color proofs), plus a slab-ish
   display face for headings against a workhorse grotesque for body text.
   ========================================================================== */

:root {
  --paper:   #FAFAF7;
  --ink:     #1C1A17;
  --ink-soft:#5B564C;
  --line:    #E4E0D6;
  --line-2:  #D6D0C0;
  --accent:  #C1401C;   /* vermillion / registration-mark red */
  --accent-dark: #9A3115;
  --panel:   #F1EEE4;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --measure: 62ch;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--accent); color: #fff; padding: .6em 1em; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 52px; width: auto; border-radius: var(--radius); }
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}
.brand-tagline {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.social-link {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line-2);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- nav ---------- */
.primary-nav { border-bottom: 1px solid var(--line); background: var(--panel); }
.primary-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.8rem;
  margin: 0;
  padding: 0.85rem 0;
  font-size: 0.92rem;
  font-weight: 500;
}
.primary-nav a {
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 1.4rem 0 0;
}
.breadcrumb a { color: var(--ink-soft); }

/* ---------- home hero ---------- */
main { padding: 2.75rem 0 4rem; }

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 1rem;
  max-width: 22ch;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
}
p { max-width: var(--measure); }

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin-bottom: 2.5rem;
}

/* ---------- service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 0 0 3rem;
}
@media (max-width: 800px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.service-card .thumb {
  aspect-ratio: 4 / 3;
  background: var(--panel);
  overflow: hidden;
}
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card .card-body { padding: 1.1rem 1.2rem 1.4rem; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}
.service-card .read-more {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
}

/* ---------- about panel ---------- */
.about-panel {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 1.9rem 2rem;
  max-width: 760px;
}
.about-panel p { max-width: none; }

/* ---------- single service page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 720px) {
  .service-detail { grid-template-columns: 1fr; }
}
.service-detail figure {
  margin: 0;
  border: 1px solid var(--line);
  padding: 8px;
  background: #fff;
  border-radius: var(--radius);
}
.service-detail figcaption {
  font-size: 0.78rem;
  color: var(--ink-soft);
  padding-top: 0.5rem;
}

/* ---------- contact ---------- */
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 1.9rem 2rem;
  max-width: 480px;
}
.contact-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}
.contact-card dt { color: var(--ink-soft); font-size: 0.88rem; }
.contact-card dd { margin: 0; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 1.6rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.site-footer a { color: var(--ink-soft); }
