/* CG Design Ltd — site styles. Layered on ds.css (Industry design system tokens). */

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent); }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.muted { color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.faint { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-700); }
.rule { border-top: 1px solid var(--color-divider); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-divider);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; }
.brand { margin-right: auto; display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand-logo { display: block; height: 34px; width: auto; }
.brand-tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent-700); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 14px; text-decoration: none; }
.site-nav a:not(.btn) { color: inherit; }
.site-nav a:not(.btn):hover { color: var(--color-accent-700); }
.site-nav a[aria-current="page"] { color: var(--color-accent-700); }
.site-nav a.btn { text-decoration: none; }

/* Sections */
.section { padding-top: 64px; padding-bottom: 96px; }
.section-hero { padding-top: 112px; padding-bottom: 88px; }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.split-head h2 { font-size: 44px; margin: 0; }
.split p.lead { font-size: 17px; line-height: 1.6; margin: 0; align-self: end; }
.prose p { font-size: 17px; line-height: 1.65; margin: 0 0 20px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }

/* Hero */
.hero { padding-top: 120px; padding-bottom: 96px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: 68px; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 28px; }
.hero .lead { font-size: 18px; line-height: 1.6; max-width: 34em; margin: 0 0 36px; text-wrap: pretty; }
.hero .kicker { display: block; margin-bottom: 24px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.actions .btn { padding: 12px 22px; font-size: 15px; text-decoration: none; }

.page-title { font-size: 62px; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 28px; }
.page-intro { font-size: 18px; line-height: 1.6; max-width: 40em; margin: 0; text-wrap: pretty; }
.section-hero .kicker { display: block; margin-bottom: 24px; }

/* Scope list (hero figure) */
.scope { }
.scope-row { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--color-divider); }
.scope-row:last-child { border-bottom: 0; }
.scope-row span:first-child { font-family: var(--font-heading); font-size: 26px; }
.scope-row span:last-child { font-size: 12px; color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.scope-head { padding: 18px 20px; border-bottom: 1px solid var(--color-divider); font-family: var(--font-heading); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 55%, transparent); }

/* Card grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-2 > .card, .grid-2 > .blueprint { padding: 32px; }
.grid-2 h3 { font-size: 27px; margin: 0 0 10px; }
.grid-2 p { font-size: 15px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.section-head { margin-bottom: 56px; }
.section-head--tight { margin-bottom: 48px; }

/* Software lists */
.software { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; }
.software > .blueprint { padding: 32px; }
.software-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-700); margin-bottom: 22px; }
.software ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
.software ul.two-col { grid-template-columns: repeat(2, 1fr); }
.software li { font-family: var(--font-heading); font-size: 24px; padding: 12px 0; border-bottom: 1px solid var(--color-divider); }
.software ul.two-col li:nth-last-child(-n+2) { border-bottom: 0; }
.software ul:not(.two-col) li:last-child { border-bottom: 0; }

/* CTA band */
.cta { background: var(--color-accent-900); color: var(--color-bg); }
.cta .wrap { padding-top: 112px; padding-bottom: 112px; text-align: center; }
.cta h2 { font-size: 52px; margin: 0 0 18px; color: var(--color-bg); }
.cta p { font-size: 18px; line-height: 1.6; max-width: 32em; margin: 0 auto 36px; color: color-mix(in srgb, #f2f2f3 78%, transparent); text-wrap: pretty; }
.cta .btn { padding: 13px 26px; font-size: 15px; background: var(--color-bg); color: var(--color-accent-900); border-color: var(--color-bg); text-decoration: none; }
.cta .btn:hover { background: #fff; color: var(--color-accent-900); }

/* Contact */
.contact-direct { padding-top: 72px; padding-bottom: 112px; }
.contact-plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.contact-plate {
  padding: 40px; text-decoration: none; color: inherit; display: block;
  transition: background-color 120ms ease;
}
.contact-plate:hover { color: inherit; background: var(--color-accent-100); }
.contact-plate:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.plate-label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-700); margin-bottom: 20px; }
.plate-value { display: block; font-family: var(--font-heading); font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 12px; overflow-wrap: break-word; }
.contact-plate--empty { color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.contact-plate--empty:hover { background: none; }
.contact-plate:hover .plate-value { color: var(--color-accent-700); }
.plate-note { display: block; font-size: 14px; color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.contact-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--color-divider); }
.contact-meta dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-700); margin-bottom: 6px; }
.contact-meta dd { font-size: 16px; margin: 0; }
.contact-foot-note { font-size: 14px; margin: 40px 0 0; color: color-mix(in srgb, var(--color-text) 60%, transparent); }

/* Footer */
.site-footer { border-top: 1px solid var(--color-divider); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.footer-logo { display: block; height: 30px; width: auto; margin-bottom: 14px; }
.footer-blurb { font-size: 14px; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.footer-links { display: flex; gap: 28px; align-items: flex-start; justify-content: flex-end; }
.footer-links a { font-size: 14px; text-decoration: none; }
.footer-links a:not(.btn) { color: inherit; }
.footer-links a:not(.btn):hover { color: var(--color-accent-700); }
.footer-bottom { border-top: 1px solid var(--color-divider); padding-top: 20px; padding-bottom: 48px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: color-mix(in srgb, var(--color-text) 55%, transparent); }

@media (max-width: 900px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .hero, .split, .grid-2, .software, .footer-top, .contact-plates, .contact-meta { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; gap: 40px; }
  .hero h1 { font-size: 46px; }
  .page-title { font-size: 42px; }
  .split { gap: 32px; }
  .split-head h2, .section-head h2 { font-size: 34px; }
  .cta h2 { font-size: 36px; }
  .cta .wrap { padding-top: 72px; padding-bottom: 72px; }
  .section { padding-top: 48px; padding-bottom: 64px; }
  .section-hero { padding-top: 64px; padding-bottom: 56px; }
  .contact-direct { padding-top: 48px; padding-bottom: 64px; }
  .plate-value { font-size: 26px; }
  .contact-plate { padding: 28px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; }
  .software ul.two-col li { border-bottom: 1px solid var(--color-divider); }
  .software ul.two-col li:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .site-header .wrap { gap: 16px; }
  .site-nav { gap: 16px; }
  .brand-logo { height: 26px; }
  .hero h1 { font-size: 38px; }
}
