/* A.G. Land Co — shared styles */
:root {
  --ink: #16201B;
  --ink-2: #2E3833;
  --muted: #4A554F;
  --dark: #16201B;
  --darker: #101813;
  --dark-line: #2C3A33;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C5CEC8;
  --on-dark-soft: #A9B4AD;
  --stone: #F2F0EA;
  --stone-2: #E6E2D7;
  --line: #E2DFD6;
  --field: #C9C6BC;
  --green: #2F5D50;
  --green-dark: #1F4238;
  --accent: #C9974A;
  --white: #FFFFFF;
  --radius: 6px;
  --max: 1200px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--ink); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }
.bg-stone { background: var(--stone); }
.bg-dark { background: var(--dark); color: var(--on-dark); }
.bg-dark p, .bg-dark .lead { color: var(--on-dark-muted); }

.eyebrow { font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 14px; }
.bg-dark .eyebrow { color: var(--accent); }
.h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.05; letter-spacing: -0.02em; }
.h2 { font-size: clamp(32px, 4vw, 42px); line-height: 1.1; }
.h3 { font-size: 22px; line-height: 1.25; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head .lead { margin-top: 16px; }
.split-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px 80px; align-items: end; margin-bottom: 56px; }
.split-head .lead { font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 14px 24px; min-height: 48px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #D8A75C; color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #24312A; color: var(--white); }
.btn--ghost { border-color: #4A5A51; color: var(--white); font-weight: 500; }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 600; text-underline-offset: 4px; }

/* Header */
.site-header { background: var(--dark); color: var(--white); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.site-header.bordered .wrap { border-bottom: 1px solid var(--dark-line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; }
.brand-tag { font-size: 12px; color: var(--on-dark-soft); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: #D5DCD7; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.nav .nav-cta { background: var(--white); color: var(--ink); font-weight: 600; padding: 11px 18px; border-radius: 4px; text-decoration: none; }
.nav .nav-cta:hover { background: var(--stone); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid #4A5A51; color: var(--white); border-radius: 4px; width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-top: 1px solid var(--dark-line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--dark-line); font-size: 17px; }
  .nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
}

/* Hero */
.hero { background: var(--dark); color: var(--white); padding-top: 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: end; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; padding-bottom: 88px; }
.hero-copy .lead { color: var(--on-dark-muted); font-size: 19px; max-width: 540px; }
.hero-art { display: block; width: 100%; height: auto; }
.hero { padding-bottom: 88px; }
.hero-grid { align-items: center; }
.hero .hero-copy { padding-bottom: 0; }

/* Photos */
.hero-photo, .card-photo, .service-photo, .band-photo {
  display: block; width: 100%; height: auto; object-fit: cover;
  background-color: var(--stone-2);
}
.hero-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); background-color: #24302A; }
.card-photo { aspect-ratio: 16 / 10; }
.service-photo { aspect-ratio: 16 / 10; border-radius: var(--radius); margin-bottom: 28px; }
.photo-band { background: linear-gradient(var(--dark) 0 50%, var(--white) 50% 100%); }
.band-photo { aspect-ratio: 21 / 8; min-height: 220px; border-radius: var(--radius); }

.page-hero { background: var(--dark); color: var(--white); padding: 88px 0 96px; }
.page-hero + .photo-band { margin-top: -1px; }
.photo-band + .section { padding-top: 96px; }
.page-hero .lead { color: var(--on-dark-muted); margin-top: 20px; }
.page-hero .eyebrow { color: var(--accent); }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px 96px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; background: var(--white); }
.card--plain { border: 0; }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.pillar h3 { font-size: 20px; margin-bottom: 8px; }
.pillar p { color: var(--muted); }

.type-card { background: var(--stone); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.type-card svg { display: block; width: 100%; height: auto; background: var(--stone-2); }
.type-card .body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.type-card h3 { font-size: 20px; }
.type-card p { color: var(--muted); font-size: 15px; }

/* Process */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px 0; }
.steps li { border-top: 2px solid #3B4B42; padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.steps li:first-child { border-top-color: var(--accent); }
.steps .num { font-family: var(--display); font-size: 15px; color: var(--on-dark-soft); font-weight: 600; }
.steps li:first-child .num { color: var(--accent); }
.steps .title { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--white); }
.steps .desc { color: var(--on-dark-muted); font-size: 15px; }

.detail-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.detail-steps li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 24px; padding: 36px 0; border-top: 1px solid var(--line); }
.detail-steps li:last-child { border-bottom: 1px solid var(--line); }
.detail-steps .num { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--green); }
.detail-steps h3 { font-size: 24px; margin-bottom: 8px; }
.detail-steps p { color: var(--muted); max-width: 720px; }

/* Service detail blocks */
.service { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px 96px; padding: 64px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h2 { font-size: 32px; margin: 16px 0 12px; }
.service p { color: var(--muted); font-size: 17px; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9.5 L7 13 L15 5' fill='none' stroke='%232F5D50' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Prose */
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 17px; color: #3A4540; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.values h3 { font-size: 20px; margin-bottom: 8px; }
.values p { color: var(--muted); }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 36px); max-width: 620px; }
.cta-band p { margin-top: 12px; max-width: 620px; }

/* Forms */
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 4px;
  color: var(--ink); background: var(--white); width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.hidden { display: none; }
.form-note { font-size: 13px; color: var(--muted); }

.contact-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-list .label { font-size: 14px; color: var(--on-dark-soft); }
.contact-list .value { font-size: 18px; font-weight: 500; color: var(--white); }
.contact-list a.value { color: var(--white); }

/* Footer */
.site-footer { background: var(--darker); color: var(--on-dark-soft); padding: 64px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.footer-grid h2 { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--on-dark-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-brand .brand-name { color: var(--white); font-size: 18px; display: block; margin-bottom: 8px; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .card, .form { padding: 28px; }
  .hero { padding-top: 56px; }
  .hero { padding-bottom: 56px; }
  .detail-steps li { grid-template-columns: 1fr; gap: 8px; }
}
