/* ============================================================
   Your Choice Services — Design System
   yourchoiceservices.net

   "Well-built handyman who also codes." Warm, grounded base
   with a rust accent and deep navy. Sturdy serif headlines
   paired with clean sans-serif body.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700;9..144,900&family=Inter:wght@400;500;600;700&display=swap');

/* --- Palette --- */
:root {
  --ink:           #1B2A41;   /* deep navy — primary dark */
  --ink-soft:      #2A3A55;
  --rust:          #B8482A;   /* burnt orange — primary accent (work boots) */
  --rust-dark:     #92381F;
  --ember:         #D9784F;   /* lighter accent / hover */
  --olive:         #5F6B3A;   /* secondary accent — grounded earth */
  --sand:          #C9A87C;   /* warm wood */
  --cream:         #FAF6EE;   /* page background */
  --cream-deep:    #F1EADC;
  --paper:         #FFFFFF;
  --rule:          #E5DDCB;
  --text:          #25303D;
  --text-soft:     #5A6472;
  --text-muted:    #8A8F99;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --max-content: 1040px;
  --max-narrow:  720px;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 2px rgba(27,42,65,0.06);
  --shadow-md:   0 6px 18px rgba(27,42,65,0.08);
  --shadow-lg:   0 14px 40px rgba(27,42,65,0.14);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ember); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.18;
  color: var(--ink);
  font-weight: 700;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--ink);
  color: #fff;
  padding: 1.6rem 1.5rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 24px),
    linear-gradient(45deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 24px);
  pointer-events: none;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--rust) 0%, var(--rust) 33%,
    var(--sand) 33%, var(--sand) 66%,
    var(--olive) 66%, var(--olive) 100%
  );
}
.site-header-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.brand .mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.55rem;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.brand .mark .accent { color: var(--ember); }
.brand .tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.site-nav a.active { color: var(--ember); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 4rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -120px; top: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(216,120,79,0.18), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.hero h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 1rem;
  line-height: 1.05;
}
.hero h1 .accent {
  color: var(--ember);
  font-style: italic;
  font-weight: 500;
}
.hero .lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin-bottom: 1.8rem;
  max-width: 36rem;
}
.hero-paths {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.hero-portrait {
  position: relative;
  justify-self: center;
}
.hero-portrait img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream-deep);
}
.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--rust);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ============================================================
   CONTAINERS / SECTIONS
   ============================================================ */
main { display: block; }
.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.container.narrow { max-width: var(--max-narrow); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.6rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.section-intro {
  font-size: 1.02rem;
  color: var(--text-soft);
  max-width: 38rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.section-rule {
  width: 60px;
  height: 3px;
  background: var(--rust);
  margin: 0 0 1.6rem;
  border: none;
}

/* Two-tone band — used to separate Property / Tech */
.band-cream { background: var(--cream-deep); }
.band-paper { background: var(--paper); }
.band-ink   { background: var(--ink); color: #fff; }
.band-ink .section-title,
.band-ink h3 { color: #fff; }
.band-ink .section-intro { color: rgba(255,255,255,0.75); }
.band-ink .section-eyebrow { color: var(--ember); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-grid {
  display: grid;
  gap: 1.2rem;
}
.service-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  position: relative;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(184,72,42,0.35);
}
.service-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--cream-deep);
  color: var(--rust);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.service-card.tech .icon { background: rgba(95,107,58,0.12); color: var(--olive); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
  flex: 1;
}
.service-card .price {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
}

/* Tech band overrides for cards on dark band */
.band-ink .service-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.band-ink .service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--ember);
}
.band-ink .service-card h3 { color: #fff; }
.band-ink .service-card p { color: rgba(255,255,255,0.7); }
.band-ink .service-card .icon { background: rgba(216,120,79,0.18); color: var(--ember); }
.band-ink .service-card .price {
  color: rgba(255,255,255,0.5);
  border-top-color: rgba(255,255,255,0.1);
}

/* ============================================================
   FEATURED PROJECT
   ============================================================ */
.featured-project {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}
.featured-project:hover { box-shadow: var(--shadow-md); }
.featured-project .visual {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 2rem;
  overflow: hidden;
}
.featured-project .visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(216,120,79,0.2), transparent 60%);
}
.featured-project .visual .screenshot {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.featured-project .body {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-project .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.6rem;
}
.featured-project h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  line-height: 1.2;
}
.featured-project p {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.featured-project .stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.featured-project .stack span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  background: var(--cream-deep);
  color: var(--ink);
  border-radius: 4px;
  letter-spacing: 0.3px;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  max-width: var(--max-content);
  margin: 0 auto;
}
.trust-item {
  text-align: center;
  padding: 0 1rem;
}
.trust-item .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.trust-item .label {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--rust);
  color: #fff;
  border-color: var(--rust);
}
.btn-primary:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(184,72,42,0.3);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn-arrow::after {
  content: '→';
  transition: transform 0.2s;
}
.btn:hover.btn-arrow::after { transform: translateX(3px); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info p {
  color: var(--text-soft);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.contact-info .channel {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.contact-info .channel:last-child { border-bottom: none; }
.contact-info .channel .label {
  font-weight: 600;
  color: var(--ink);
  min-width: 80px;
}

form.contact {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
form.contact .field { margin-bottom: 1.1rem; }
form.contact label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  letter-spacing: 0.2px;
}
form.contact input,
form.contact select,
form.contact textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
form.contact input:focus,
form.contact select:focus,
form.contact textarea:focus {
  outline: none;
  border-color: var(--rust);
  background: #fff;
}
form.contact textarea {
  min-height: 130px;
  resize: vertical;
  font-family: var(--font-body);
}
form.contact .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
form.contact button {
  width: 100%;
  margin-top: 0.4rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 3rem 1.5rem 2rem;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--rust) 0%, var(--rust) 33%,
    var(--sand) 33%, var(--sand) 66%,
    var(--olive) 66%, var(--olive) 100%
  );
}
.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-inner h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.footer-inner p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}
.footer-inner ul { list-style: none; padding: 0; }
.footer-inner li { margin-bottom: 0.4rem; }
.footer-inner a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}
.footer-inner a:hover { color: var(--ember); }
.footer-legal {
  max-width: var(--max-content);
  margin: 0 auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.project-hero {
  background: var(--ink);
  color: #fff;
  padding: 3rem 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.project-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--rust) 0%, var(--rust) 33%,
    var(--sand) 33%, var(--sand) 66%,
    var(--olive) 66%, var(--olive) 100%
  );
}
.project-hero-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
.project-hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.7rem;
  display: block;
}
.project-hero h1 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 0.7rem;
}
.project-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 38rem;
  line-height: 1.6;
}

.project {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.project-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.project-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(216,120,79,0.18), transparent 55%);
}
.project-banner img {
  position: relative;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.project-body { padding: 2rem 2.2rem; }
.project-body .meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.project-body .meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.project-body .meta .live {
  color: var(--olive);
  font-weight: 600;
}
.project-body .meta .live::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--olive);
}
.project-body h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.project-body .stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.2rem 0;
}
.project-body .stack span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: var(--cream-deep);
  color: var(--ink);
  border-radius: 4px;
}
.project-body .highlights {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.3rem 0;
}
.project-body .highlights h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.project-body .highlights ul {
  list-style: none;
  padding: 0;
}
.project-body .highlights li {
  padding: 0.35rem 0;
  padding-left: 1.3rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.project-body .highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: 700;
}
.project-body p {
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}
.project-body .links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

/* Placeholder card for upcoming projects */
.project-placeholder {
  background: transparent;
  border: 2px dashed var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.project-placeholder h3 {
  font-family: var(--font-display);
  color: var(--text-soft);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.project-placeholder p { font-size: 0.92rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .hero { padding: 3rem 1.2rem 3.5rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }
  .hero h1 { font-size: 2.3rem; }
  .hero-portrait { justify-self: start; }
  .hero-portrait img { width: 220px; height: 220px; }

  .service-grid.cols-3,
  .service-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }

  .featured-project { grid-template-columns: 1fr; }
  .featured-project .visual { min-height: 240px; padding: 1.5rem; }
  .featured-project .body { padding: 1.6rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }

  .trust-strip { grid-template-columns: 1fr; gap: 0.6rem; }
  .trust-item { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
  .trust-item:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .site-header-inner { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 0.5rem 0.6rem; font-size: 0.74rem; }

  .hero h1 { font-size: 1.9rem; }
  .hero .lede { font-size: 1rem; }
  .hero-paths { width: 100%; }
  .hero-paths .btn { flex: 1; justify-content: center; }

  .container { padding: 2.8rem 1.2rem; }
  .section-title { font-size: 1.55rem; }

  .service-grid.cols-3,
  .service-grid.cols-4 { grid-template-columns: 1fr; }

  form.contact { padding: 1.4rem; }
  form.contact .row { grid-template-columns: 1fr; gap: 0; }

  .project-hero h1 { font-size: 1.7rem; }
  .project-body { padding: 1.4rem; }
}
