/* ---------------------------------------------------------
   Connor Graydon Joiner — design tokens
   ink     #1B1812  near-black warm charcoal
   paper   #F1ECDF  warm cream
   paper-2 #E8DFC8  deeper cream (section contrast)
   walnut  #4A2F1D  deep wood brown
   brass   #A9803D  muted brass accent
--------------------------------------------------------- */

:root{
  --ink: #1B1812;
  --ink-soft: #34302A;
  --paper: #F1ECDF;
  --paper-2: #E7DEC5;
  --walnut: #4A2F1D;
  --brass: #A9803D;
  --brass-dark: #8A6A2F;
  --line: rgba(27,24,18,0.14);
  --line-on-dark: rgba(241,236,223,0.18);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1120px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-optical-sizing: auto;
}

p{ margin: 0 0 1em; }
p:last-child{ margin-bottom: 0; }

a{ color: inherit; }

img{ max-width: 100%; display: block; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* subtle paper grain overlay, gives texture instead of flat gradients */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- header ---------------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241,236,223,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text{ display: flex; flex-direction: column; line-height: 1.15; }
.brand-name{ font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.brand-role{ font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-soft); }

.site-nav{
  display: flex;
  gap: 28px;
}
.site-nav a{
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover{ color: var(--ink); }
.site-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transition: right 0.25s ease;
}
.site-nav a:hover::after{ right: 0; }

.header-call{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
}
.header-call .dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass);
  display: inline-block;
}
.header-call:hover{ border-color: var(--brass); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
}

/* ---------------- hero ---------------- */

.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media{
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-scrim{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,13,0.55) 0%, rgba(20,18,13,0.35) 35%, rgba(20,18,13,0.86) 100%);
}
.hero-inner{
  position: relative;
  z-index: 1;
  color: var(--paper);
  padding-top: 120px;
  padding-bottom: 76px;
}
.hero-kicker{
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #D9CBA8;
  margin-bottom: 18px;
}
.hero-title{
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--paper);
  max-width: 14ch;
}
.hero-lede{
  max-width: 46ch;
  font-size: 1.12rem;
  color: #E9E2CF;
  margin-top: 20px;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary{
  background: var(--brass);
  color: #1B1812;
}
.btn-primary:hover{ background: var(--brass-dark); }
.btn-ghost{
  border-color: rgba(241,236,223,0.5);
  color: var(--paper);
}
.btn-ghost:hover{ border-color: var(--paper); background: rgba(241,236,223,0.08); }

/* ---------------- generic section rhythm ---------------- */

section{ padding: 108px 0; }

.eyebrow-mark{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brass-dark);
  margin: 0 0 18px;
}
.eyebrow-light{ color: #C7A968; }

/* ---------------- intro ---------------- */

.intro{ padding-top: 96px; }
.intro-grid{
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
}
.intro-grid h2{
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 16ch;
}
.intro-grid p{
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

/* ---------------- services ---------------- */

.services{
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services h2{
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 48px;
}
.service-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service{
  background: var(--paper-2);
  padding: 34px 32px;
}
.service h3{
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service p{
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------------- work / jobs ---------------- */

.work{
  background: var(--ink);
  color: var(--paper);
}
.work-title{
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--paper);
  margin-bottom: 56px;
}

.job{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line-on-dark);
}
.job:last-child{ padding-bottom: 0; }
.job-reverse{ direction: rtl; }
.job-reverse > *{ direction: ltr; }

.job-photos{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.job-photos img{
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.job-photos img:first-child{
  grid-row: span 2;
  height: 100%;
}
.job-photos-single{ grid-template-columns: 1fr; }
.job-photos-single img{ height: 340px; grid-row: auto; }

.job-caption h3{
  color: var(--paper);
  font-size: 1.4rem;
}
.job-caption p{
  color: #C9C2AE;
  font-size: 0.98rem;
  max-width: 34ch;
}

/* ---------------- quote form ---------------- */

.quote-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.quote-intro h2{
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.quote-intro p{ color: var(--ink-soft); max-width: 40ch; }
.quote-alt{ margin-top: 24px; font-size: 0.95rem; }
.quote-alt a{
  color: var(--brass-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-form{
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 36px;
}
.form-row{ margin-bottom: 20px; }
.form-row-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label{
  display: block;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
input, select, textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
}
input:focus, select:focus, textarea:focus{
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}
textarea{ resize: vertical; }

.form-status{
  margin-top: 14px;
  font-size: 0.92rem;
  min-height: 1.4em;
}
.form-status.ok{ color: #4B6B3F; }
.form-status.err{ color: #9A4B3A; }

/* ---------------- contact ---------------- */

.contact{
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.contact-mark{
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 28px;
}
.contact h2{
  color: var(--paper);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  max-width: 20ch;
  margin: 0 auto 30px;
}
.contact-links{
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 1.05rem;
}
.contact-links a{
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
}
.contact-links a:hover{ color: #D9CBA8; }

/* ---------------- footer ---------------- */

.site-footer{
  background: var(--ink);
  color: #8B8474;
  border-top: 1px solid var(--line-on-dark);
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 0.85rem;
}

/* ---------------- responsive ---------------- */

@media (max-width: 980px){
  .quote-grid{ grid-template-columns: 1fr; gap: 40px; }
  .job{ grid-template-columns: 1fr; }
  .job-reverse{ direction: ltr; }
  .service-list{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  section{ padding: 72px 0; }
  .intro-grid{ grid-template-columns: 1fr; }
  .site-nav{
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open{ display: flex; }
  .site-nav a{
    padding: 16px 28px;
    border-top: 1px solid var(--line);
  }
  .header-call{ display: none; }
  .nav-toggle{ display: flex; }
  .hero-inner{ padding-top: 90px; padding-bottom: 56px; }
  .form-row-split{ grid-template-columns: 1fr; }
  .job-photos{ grid-template-columns: repeat(2, 1fr); }
  .job-photos img:first-child{ grid-column: span 2; grid-row: auto; height: 220px; }
  .contact-links{ flex-direction: column; gap: 16px; }
  .footer-inner{ flex-direction: column; gap: 6px; text-align: center; }
}
