/* ============================================================
   Atlante — landing page styles
   Palette: parchment, ink, oxblood, antique gold
   ============================================================ */

:root {
  --bg: #f5efe4;
  --bg-warm: #ede4d2;
  --paper: #fbf7ef;
  --ink: #1c1d1a;
  --ink-soft: #3a3b36;
  --muted: #6b6a62;
  --rule: #c9bfa8;
  --oxblood: #6b1f1f;
  --oxblood-deep: #4a1414;
  --gold: #b08a3a;
  --gold-soft: #d8b96a;
  --shadow: 0 1px 0 rgba(28, 29, 26, 0.04), 0 12px 32px -16px rgba(28, 29, 26, 0.18);

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse 1200px 600px at 12% -10%, rgba(176, 138, 58, 0.07), transparent 60%),
    radial-gradient(ellipse 900px 500px at 100% 30%, rgba(107, 31, 31, 0.05), transparent 60%);
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0;
}
h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  font-weight: 500;
}
h1 em {
  font-style: italic;
  color: var(--oxblood);
  font-weight: 500;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.15;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.3;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
p { margin: 0; }
p + p { margin-top: 1em; }

.lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

.muted { color: var(--muted); }

.kicker {
  display: inline-block;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--oxblood);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-link {
  padding: 13px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}
.btn-link:hover {
  color: var(--oxblood);
  border-bottom-color: var(--oxblood);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(245, 239, 228, 0.85);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  background: var(--paper);
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--rule);
  padding-left: 10px;
  margin-left: 2px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.15s ease;
}
.site-nav a:not(.btn):hover {
  color: var(--oxblood);
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.site-nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  padding: 88px 0 100px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  padding-left: 32px;
  padding-right: 0;
  max-width: 720px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero .lede {
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  margin: 0;
}
.hero-stats > div {
  padding: 0 18px;
  border-right: 1px solid var(--rule);
}
.hero-stats > div:last-child { border-right: none; }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-stats dd span {
  color: var(--oxblood);
  font-style: italic;
}

.hero-aside {
  position: relative;
  padding-right: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.record-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 22px 24px;
  margin: 0;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
  transition: transform 0.4s ease;
}
.record-card--alt {
  transform: rotate(1.5deg) translateX(40px);
  background: #f1e8d3;
}
.record-card:hover { transform: rotate(0deg); }
.record-card--alt:hover { transform: rotate(0deg) translateX(40px); }

.record-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.record-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--oxblood);
  font-weight: 600;
}
.record-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.record-body .line {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}
.record-body .line span {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-right: 8px;
  font-weight: 600;
}
.record-card footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Strip (logos / archives) ---------- */
.strip {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--rule);
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 32px;
  flex-wrap: wrap;
}
.strip span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}
.strip ul {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.strip li {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- Sections base ---------- */
section { padding: 110px 0; }
section:not(.hero):not(.strip) { border-bottom: 1px solid var(--rule); }

/* ---------- Service ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.service-intro h2 { margin-bottom: 22px; }
.service-intro p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; max-width: 44ch; }

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.service-cards li {
  background: var(--paper);
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s ease;
}
.service-cards li:hover {
  background: #fdfaf1;
}
.service-cards .num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.service-cards h3 {
  margin-bottom: 10px;
  color: var(--oxblood-deep);
}
.service-cards p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Process ---------- */
.process { background: var(--bg-warm); }
.process h2 { margin-bottom: 64px; max-width: 22ch; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 1px;
  border-top: 1px dashed var(--rule);
  z-index: 0;
}
.process-steps li {
  position: relative;
  z-index: 1;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 22px;
  transition: background 0.2s ease, color 0.2s ease;
}
.process-steps li:hover .step-num {
  background: var(--oxblood);
  color: var(--paper);
  border-color: var(--oxblood);
}
.process-steps h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--oxblood-deep);
}
.process-steps p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Records ---------- */
.records-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.records-text h2 { margin-bottom: 22px; }
.records-text p { color: var(--ink-soft); max-width: 36ch; }
.records-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.records-cols h4 {
  color: var(--oxblood);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.records-cols ul li {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink-soft);
  padding: 7px 0;
  border-bottom: 1px dotted var(--rule);
  line-height: 1.4;
}
.records-cols ul li:last-child { border-bottom: none; }

/* ---------- Community (give back) ---------- */
.community {
  background:
    linear-gradient(180deg, var(--oxblood-deep) 0%, var(--oxblood) 100%);
  color: var(--paper);
  border-bottom: none !important;
}
.community-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.community h2 {
  color: var(--paper);
  margin-bottom: 24px;
}
.community h2 em {
  color: var(--gold-soft);
  font-style: italic;
}
.community p {
  color: rgba(251, 247, 239, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 56ch;
  margin-bottom: 14px;
}
.community .muted { color: rgba(251, 247, 239, 0.62); font-style: italic; }
.community-kicker { color: var(--gold-soft); }

.community em { color: var(--gold-soft); font-style: italic; }

.community-points {
  margin: 30px 0;
  border-top: 1px solid rgba(251, 247, 239, 0.18);
}
.community-points li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(251, 247, 239, 0.18);
  font-size: 0.98rem;
  color: rgba(251, 247, 239, 0.86);
  line-height: 1.55;
}
.community-points strong {
  display: block;
  color: var(--paper);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.consent-card {
  background: var(--paper);
  color: var(--ink);
  padding: 32px 28px;
  border: 1px solid var(--gold);
  position: sticky;
  top: 120px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.consent-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.consent-header .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.consent-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--oxblood-deep);
}
.consent-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.55;
}
.consent-card ul {
  border-top: 1px solid var(--rule);
  margin-bottom: 18px;
}
.consent-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}
.consent-card .check { color: #2f6e3a; font-weight: 700; }
.consent-card .x { color: var(--oxblood); font-weight: 700; }
.consent-footer {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ---------- Principles ---------- */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.principles-grid > ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 50px;
}
.principles-grid > ul li h4 {
  color: var(--oxblood-deep);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.principles-grid > ul li p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Contact ---------- */
.contact { background: var(--bg-warm); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-inner h2 { margin-bottom: 18px; }
.contact-inner p { color: var(--ink-soft); max-width: 38ch; }
.contact-kicker { color: var(--oxblood); }

.contact-form {
  background: var(--paper);
  padding: 36px 32px;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: block;
  margin-bottom: 18px;
}
.contact-form label > span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--rule);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--ink);
  border-radius: 1px;
  transition: border-color 0.15s ease, background 0.15s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--oxblood);
  background: var(--paper);
}
.contact-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg);
  padding: 16px;
  border: 1px solid var(--rule);
  margin-bottom: 22px;
}
.contact-form .checkbox > span {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin: 0;
}
.contact-form .checkbox input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--oxblood);
}
.contact-form .checkbox em {
  color: var(--muted);
  font-style: italic;
}
.contact-form button { width: 100%; }
.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--oxblood);
  font-style: italic;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 247, 239, 0.72);
  padding: 60px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251, 247, 239, 0.12);
}
.footer-inner .brand-mark {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.footer-inner .brand-name { color: var(--paper); }
.footer-inner > div:first-child p {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(251, 247, 239, 0.5);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h5 {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 14px;
}
.footer-cols ul li {
  padding: 5px 0;
  font-size: 0.92rem;
  color: rgba(251, 247, 239, 0.72);
}
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.78rem;
  color: rgba(251, 247, 239, 0.45);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 64px 0 80px;
  }
  .hero-aside { padding: 0 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: none; }

  .service-grid,
  .records-grid,
  .community-inner,
  .principles-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .records-cols { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .consent-card { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .header-inner { padding: 16px 22px; }
  .brand-tag { display: none; }
  .site-nav { gap: 16px; }
  .site-nav a:not(.btn) { display: none; }

  section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-inner { padding-left: 22px; }
  .hero-aside { padding: 0 22px; }
  .record-card--alt { transform: rotate(1.5deg) translateX(20px); }

  .hero-stats { grid-template-columns: 1fr 1fr; padding: 14px 0; }
  .hero-stats > div { padding: 10px 14px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .hero-stats > div:nth-child(odd) { border-left: none; padding-left: 0; }
  .hero-stats > div:nth-child(2n) { border-right: none; }

  .service-cards { grid-template-columns: 1fr; }
  .records-cols { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .principles-grid > ul { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }

  .contact-form { padding: 24px 20px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }

  .strip-inner { padding: 18px 22px; gap: 16px; }
  .strip ul { gap: 22px; }
}
