/*
Theme Name: Garra Construction
Theme URI: https://garraconstruction.com
Author: Garra Construction
Description: One-page marketing theme for Garra Construction — construction management and select general contracting. Editable via Appearance > Customize (logo, contact email, hero and section copy).
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garra
*/

:root {
  --g-bg: #F6F3EE;
  --g-bg-alt: #FFFDFA;
  --g-ink: #221D18;
  --g-ink-soft: #4B443C;
  --g-ink-mute: #6B6259;
  --g-ink-faint: #8B8177;
  --g-brown: #7A4A22;
  --g-brown-dark: #4A2C13;
  --g-line: #E4DDD1;
  --g-tan: #C9A278;
  --g-pad: clamp(24px, 6vw, 96px);
  --g-display: Archivo, "Helvetica Neue", Helvetica, sans-serif;
  --g-body: Barlow, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--g-bg);
}

body {
  font-family: var(--g-body);
  font-weight: 400;
  color: var(--g-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
::selection { background: #E4D9C8; }

a { color: var(--g-brown); text-decoration: none; }
a:hover { color: var(--g-brown-dark); }

.g-skip {
  position: absolute;
  left: -9999px;
}
.g-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 99;
  background: var(--g-bg-alt);
  padding: 10px 16px;
  border: 1px solid var(--g-line);
}

/* ---------- header ---------- */
.g-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px var(--g-pad);
  border-bottom: 1px solid var(--g-line);
}
.g-logo { display: block; line-height: 0; }
.g-logo img {
  height: 42px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}
.g-nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  font-family: var(--g-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.g-nav a { color: var(--g-ink); }
.g-nav a:hover { color: var(--g-brown); }

/* ---------- shared ---------- */
.g-section { padding: clamp(48px, 7vw, 96px) var(--g-pad); }
.g-section--line { border-top: 1px solid var(--g-line); }
.g-section--alt { background: var(--g-bg-alt); }

.g-eyebrow {
  font-family: var(--g-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--g-brown);
  margin-bottom: 28px;
}
.g-kicker {
  font-family: var(--g-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-ink-faint);
}
.g-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.g-h2 {
  font-family: var(--g-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  margin: 0;
}

/* ---------- hero ---------- */
.g-hero {
  padding: clamp(64px, 11vw, 140px) var(--g-pad) clamp(56px, 8vw, 104px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}
.g-hero h1 {
  font-family: var(--g-display);
  font-weight: 600;
  font-size: clamp(40px, 6.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.g-hero p {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--g-ink-soft);
  margin: 0;
  max-width: 46ch;
  text-wrap: pretty;
}

/* ---------- services ---------- */
.g-grid-sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--g-line);
  border: 1px solid var(--g-line);
}
.g-sector {
  background: var(--g-bg-alt);
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 172px;
  transition: background 140ms ease;
}
.g-sector:hover { background: #FAF6F0; }
.g-sector-num {
  font-family: var(--g-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #B39A7E;
}
.g-sector h3 {
  font-family: var(--g-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
}
.g-sector p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--g-ink-mute);
  margin: 0;
  text-wrap: pretty;
}
.g-gc {
  margin-top: 28px;
  padding: 26px 28px;
  border: 1px solid var(--g-line);
  border-left: 3px solid var(--g-brown);
  background: var(--g-bg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 40px;
  align-items: center;
}
.g-gc h3 {
  font-family: var(--g-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
}
.g-gc p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--g-ink-soft);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- projects ---------- */
.g-grid-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.g-project { display: flex; flex-direction: column; }
.g-project-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--g-line);
}
.g-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}
.g-project h3 {
  font-family: var(--g-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 22px 0 0;
}
.g-project-meta {
  font-family: var(--g-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-brown);
  margin-top: 8px;
}
.g-project p {
  font-size: 15px;
  line-height: 1.55;
  color: #5A524A;
  margin: 14px 0 0;
  text-wrap: pretty;
}

/* ---------- approach ---------- */
.g-approach {
  padding: clamp(48px, 7vw, 104px) var(--g-pad);
  background: var(--g-ink);
  color: var(--g-bg);
}
.g-approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 6vw, 80px);
}
.g-approach h2 {
  font-family: var(--g-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.g-approach-body {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.g-approach-body > p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: #CFC5B7;
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}
.g-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px 32px;
  padding-top: 26px;
  border-top: 1px solid #3B332B;
}
.g-stat-k {
  font-family: var(--g-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--g-tan);
}
.g-stat-v {
  font-size: 14px;
  line-height: 1.45;
  color: #A79C8E;
  margin-top: 6px;
}

/* ---------- contact / footer ---------- */
.g-footer { padding: clamp(48px, 7vw, 96px) var(--g-pad) clamp(36px, 4vw, 56px); }
.g-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.g-contact h2 {
  font-family: var(--g-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.g-email {
  font-family: var(--g-display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  color: var(--g-brown);
  border-bottom: 2px solid #DCCDB8;
  padding-bottom: 3px;
}
.g-email:hover {
  color: var(--g-ink);
  border-bottom-color: var(--g-brown);
}
.g-contact p {
  font-size: 16px;
  line-height: 1.6;
  color: #5A524A;
  margin: 0;
  max-width: 40ch;
  text-wrap: pretty;
}
.g-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 24px;
  border-top: 1px solid var(--g-line);
  font-size: 13px;
  color: var(--g-ink-faint);
}
.g-legal img {
  height: 24px;
  width: auto;
  display: block;
  opacity: 0.7;
  mix-blend-mode: multiply;
}

/* ---------- fallback page/post content ---------- */
.g-page {
  padding: clamp(48px, 7vw, 96px) var(--g-pad);
  max-width: 72ch;
}
.g-page h1, .g-page h2, .g-page h3 {
  font-family: var(--g-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.g-page p, .g-page li { font-size: 17px; line-height: 1.6; color: var(--g-ink-soft); }
