/* ============================================================
   GravesWare, LLC — company landing page
   House palette (shared GravesWare design system), Inter type.
   ============================================================ */

:root {
  --primary:      #7C8CBA;   /* soft indigo */
  --primary-dark: #5C6A94;
  --accent:       #6BBFB9;   /* soft teal (action) */
  --accent-dark:  #4FA89F;
  --bg:           #F5F3F0;   /* warm off-white ground */
  --surface:      #FEFCFA;
  --border:       #E8E4DF;
  --tint:         #E4E8F2;   /* indigo tint */
  --text:         #3A3A3C;
  --subtext:      #7A7A7E;

  --radius-card:  16px;
  --radius-pill:  22px;
  --maxw:         960px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

a { color: var(--primary-dark); }

/* ---- HEADER ---------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.brand-mark {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.5px;
  color: var(--primary);
  line-height: 1;
}
.brand-mark sup { font-size: 0.42em; font-weight: 600; top: -1.1em; }
.brand-name {
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.brand-name .llc { color: var(--subtext); font-weight: 500; }
.motto {
  font-size: 12.5px;
  font-style: italic;
  color: var(--subtext);
  text-align: right;
  max-width: 400px;
  line-height: 1.5;
}

/* ---- HERO ------------------------------------------------ */
.hero { padding: 92px 0 78px; }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.02;
  color: var(--text);
  max-width: 16ch;
}
.hero-lede {
  margin-top: 28px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 62ch;
  font-weight: 400;
}

.hero-note {
  margin-top: 26px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--subtext);
  max-width: 58ch;
  padding-left: 16px;
  border-left: 2px solid var(--tint);
}

/* ---- BAND TITLES ----------------------------------------- */
.band-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--subtext);
  letter-spacing: 0.2px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ---- PRODUCTS -------------------------------------------- */
.products { padding: 20px 0 84px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
}
.card-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.card-line {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
}
.card-link {
  margin-top: 20px;
  align-self: flex-start;
  background: var(--accent);
  color: #10302E;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease;
}
.card-link:hover { background: var(--accent-dark); }
.card-soon {
  margin-top: 20px;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--subtext);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
}

/* ---- CUSTOM WORK ----------------------------------------- */
.custom {
  background: var(--primary);
  color: #fff;
  padding: 72px 0;
}
.custom-inner { max-width: 720px; }
.custom-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.custom-body {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}
.custom-cta {
  margin-top: 22px;
  font-size: 1.08rem;
  color: #fff;
}
.custom-cta a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.55);
}
.custom-cta a:hover { text-decoration-color: #fff; }

/* ---- FOOTER ---------------------------------------------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--subtext);
}
.foot-brand { font-weight: 600; color: var(--text); }
.foot-mail { color: var(--primary-dark); text-decoration: none; }
.foot-mail:hover { text-decoration: underline; }
.foot-copy { margin-left: auto; }

/* ---- RESPONSIVE ------------------------------------------ */
@media (max-width: 780px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .motto { text-align: left; max-width: none; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 52px; }
  .foot-copy { margin-left: 0; width: 100%; }
}

/* ---- A11Y ------------------------------------------------ */
a:focus-visible, .card-link:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
