/*
Theme Name: Earth-Strata C
Theme URI: https://earth-strata.com
Author: Earth-Strata Geotechnical Services
Description: Concept C — 2026 dark studio (charcoal, bone, copper). Switch with A or B in Appearance → Themes.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: earth-strata-c
*/

:root {
  --void: #0c0d0b;
  --bone: #e8e4db;
  --panel: #161714;
  --copper: #d4784a;
  --copper-fg: #1a120e;
  --stone: #8a8580;
  --line: #2a2b27;
  --font: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --display: "Syne", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--void); color: var(--bone); }
body { font-family: var(--font); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; margin: 0; }
img { max-width: 100%; display: block; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(12,13,11,.9); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
.dot { width: 0.7rem; height: 0.7rem; border-radius: 99px; background: var(--copper); }
.brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--display); letter-spacing: .18em; text-transform: uppercase; font-size: .85rem; }
.nav { display: flex; gap: 1.6rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.nav a:hover { color: var(--bone); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; padding: 0 1.2rem; border: 0; cursor: pointer; font: 600 .72rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; background: var(--copper); color: var(--copper-fg); }
.btn-outline { background: transparent; border: 1px solid rgba(232,228,219,.25); color: var(--bone); }
.split-hero { display: grid; min-height: 86vh; }
@media (min-width: 900px) { .split-hero { grid-template-columns: 0.95fr 1.05fr; } }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 4rem 0; }
.kicker { letter-spacing: .28em; text-transform: uppercase; font-size: .7rem; color: var(--copper); }
.hero-copy h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .95; max-width: 11ch; margin-top: 1.25rem; }
.hero-copy p { max-width: 28rem; color: var(--stone); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-photo { position: relative; min-height: 42vh; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section { padding: 4rem 0; border-top: 1px solid var(--line); }
.grid-2 { display: grid; gap: 1.5rem; }
.bento { display: grid; gap: 1px; background: var(--line); }
@media (min-width: 700px) { .grid-2, .bento { grid-template-columns: 1fr 1fr; } }
.bento a, .bento article { background: var(--void); padding: 1.75rem; }
.num { font-size: .75rem; color: var(--copper); font-variant-numeric: tabular-nums; }
.panel { background: var(--panel); }
.site-footer { border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 2rem; padding: 3.5rem 0; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-copy { font-size: .75rem; color: var(--stone); border-top: 1px solid var(--line); padding: 1rem 0; }
.page { padding: 3rem 0 4rem; }
.row { display: grid; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .row { grid-template-columns: 4rem 14rem 1fr; align-items: baseline; } }
.rotator { background: var(--panel); }
.rotator-frame { position: relative; }
.rotator-frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.rotator-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.25rem; height: 2.25rem; border: 0; background: rgba(12,13,11,.8); color: #fff; cursor: pointer; }
.rotator-btn.prev { left: .5rem; } .rotator-btn.next { right: .5rem; }
.rotator-count { position: absolute; right: .5rem; bottom: .5rem; background: rgba(12,13,11,.85); color: #fff; font-size: .75rem; padding: .15rem .45rem; }
.rotator-cap { padding: 1.25rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: inherit; width: 2.75rem; height: 2.75rem; }
@media (max-width: 800px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; right: 1rem; top: 4rem; background: var(--void); padding: 1rem; border: 1px solid var(--line); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
}
input, textarea { width: 100%; height: 2.75rem; border: 1px solid var(--line); background: var(--void); color: var(--bone); padding: 0 .75rem; font: inherit; }
textarea { height: auto; min-height: 8rem; padding: .75rem; }
label { display: block; font-size: .85rem; margin-bottom: .35rem; }
.notice { padding: 1rem; background: var(--panel); margin: 1rem 0; }
