/* AL GROUP — algroup.it */

:root {
  --ink: #10192b;
  --ink-2: #1a2740;
  --paper: #f7f5f0;
  --white: #ffffff;
  --text: #2a3345;
  --muted: #6b7280;
  --line: #e3ded4;
  --accent: #b3862d;
  --accent-dark: #8f6a20;
  --radius: 6px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.brand span { color: var(--accent); }

.site-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-left: 26px;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--white); }

.site-nav a.nav-cta {
  color: var(--ink);
  background: var(--accent);
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}

.site-nav a.nav-cta:hover { background: #c99a3e; color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(179, 134, 45, 0.18), transparent 60%),
    linear-gradient(160deg, var(--ink) 55%, var(--ink-2));
  color: var(--white);
  padding: 108px 0 118px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; max-width: 860px; }

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin-bottom: 38px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 14px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { background: #c99a3e; transform: translateY(-1px); }

.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-left: 12px;
}

.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Sections ---------- */

section { padding: 88px 0; }

section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 46px; }

.section-head .kicker { margin-bottom: 12px; }

h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-head p { color: var(--muted); }

.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* two column */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Press ---------- */

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.press-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

section.alt .press-card { background: var(--paper); }

.press-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 22px rgba(16, 25, 43, 0.08);
  transform: translateY(-2px);
}

.press-card .outlet {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.press-card .headline {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}

/* ---------- Value cards ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.pillar p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(900px 400px at 20% 120%, rgba(179, 134, 45, 0.16), transparent 60%),
    var(--ink);
  color: var(--white);
}

.contact h2 { color: var(--white); }

.contact p { color: rgba(255, 255, 255, 0.75); }

.contact-box {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-item .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.contact-item a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }
.contact-item a:hover { border-color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  padding: 54px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand { font-size: 1.05rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }

.site-footer a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

.footer-legal {
  padding-top: 28px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal p { margin-bottom: 12px; }

.placeholder {
  color: #d9a13c;
  font-style: italic;
}

/* ---------- Legal pages ---------- */

.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 56px;
}

.legal-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}

.legal-hero .kicker { margin-bottom: 14px; }

.legal-body { padding: 64px 0 88px; }

.legal-body .wrap { max-width: 800px; }

.legal-body h2 {
  font-size: 1.35rem;
  margin: 42px 0 14px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p { margin-bottom: 14px; }

.legal-body ul, .legal-body ol { margin: 0 0 14px 24px; }
.legal-body li { margin-bottom: 8px; }

.legal-note {
  background: #fdf6e7;
  border: 1px solid #ecd9a8;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  margin: 22px 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .cols { grid-template-columns: 1fr; gap: 34px; }
  .pillars { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 76px 0 84px; }
  section { padding: 64px 0; }
}
