/* Kohr-inspired layout (not a copy): mobile-first, big photography, serif headings, simple sections.
   Replace photos in /assets/work/ and edit copy as needed.
*/
:root{
  --bg: #ffffff;
  --ink:#0f1720;
  --muted:#5f6b76;
  --line: rgba(15,23,32,.14);
  --soft: #f5f6f7;
  --dark: #0c141d;
  --dark2: #0f1b27;
  --accent: #c08b2b; /* warm contractor gold */
  --accent2: #e8d3a6;
  --radius: 14px;
  --wrap: 1120px;
  --shadow: 0 22px 60px rgba(0,0,0,.14);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

img{ max-width:100%; display:block; }
a{ color: inherit; }
a:hover{ text-decoration: none; opacity:.92; }

.wrap{
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto;
  background: #fff;
  border: 2px solid var(--accent);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}

.h1,.h2,.h3{
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: .1px;
  margin: 0 0 12px;
}
.h1{ font-size: clamp(2rem, 3.1vw + 1rem, 3.1rem); line-height: 1.1; }
.h2{ font-size: clamp(1.5rem, 1.4vw + 1rem, 2.2rem); line-height: 1.2; }
.h3{ font-size: 1.05rem; }

.muted{ color: var(--muted); }

.eyebrow{
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.kicker{
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.kicker--light{ color: rgba(255,255,255,.72); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn--sm{ padding: 10px 12px; font-size: .92rem; }
.btn--ghost{
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow:none;
}
.btn--ghost:hover{ background: rgba(0,0,0,.03); }
.btn--full{ width: 100%; }

/* HEADER */
.header{
  position: sticky;
  top:0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  min-width: 0;
}
.brand__mark{
  height: 44px;
  width: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}
.brand__name{
  font-family: "Teko", "Bebas Neue", Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 34px;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--ink);
  line-height: .95;
  white-space: nowrap;
  transform: translateY(1px);
}

/* NAV */
.nav{
  display:none;
  flex-direction: column;
  gap: 6px;
  position: fixed;
  left: 20px;
  right: 20px;
  top: 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
}
.nav a{
  padding: 12px 12px;
  border-radius: 10px;
  text-decoration:none;
  color: var(--ink);
  font-weight: 700;
}
.nav a:hover{ background: rgba(0,0,0,.03); }

/* NAV CTA (Contact button) */
.nav a.btn{
  background: var(--ink);
  color: #ffffff;
  border: 2px solid var(--ink);
  box-shadow: none;
  padding: 10px 16px;
  border-radius: 10px;
  line-height: 1.1;
  opacity: 1 !important;
}
.nav a.btn:hover{
  background: #ffffff;
  color: var(--ink);
}
.nav a:not(.btn){
  background: transparent;
  border: none;
}

/* Hamburger */
.menuBtn{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 5px;
  cursor:pointer;
}
.menuBtn span{
  width: 20px; height: 2px; background: var(--ink); border-radius: 999px;
}

/* HERO */
.hero{ padding: 18px 0 26px; }
.hero__grid{ display:grid; gap: 16px; }
.hero__copy{ padding-top: 6px; }

.lede{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero__meta{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .98rem;
}
.hero__meta a{ color: var(--ink); font-weight: 700; }

.hero__meta--stack{
  margin-top: 12px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 1.02rem;
}
.hero__meta--stack a{
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.hero__meta--stack a:hover{
  text-decoration: underline;
}

.hero__image{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero__image img{
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* CONTENT BLOCKS */
.block{ padding: 34px 0; }
.block--light{ background: #fff; }
.block--alt{
  background: var(--soft);
  border-top: 1px solid rgba(15,23,32,.06);
  border-bottom: 1px solid rgba(15,23,32,.06);
}
.block__grid{ display:grid; gap: 16px; }

.block__image{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(15,23,32,.10);
  box-shadow: 0 16px 44px rgba(0,0,0,.10);
  background: #fff;
}
.block__image img{
  width:100%;
  height: 300px;
  object-fit: cover;
}
.block__content p{ margin: 0 0 12px; }

.list{
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}
.list li{ margin: 6px 0; }

/* Checklist (green checks) */
.checklist{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.checklist li{
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-weight: 600;
}
.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(34,197,94,.14);
  color: #16a34a;
  font-weight: 900;
}

/* PORTFOLIO STACK */
.stack{ padding: 34px 0; background: #fff; }
.stack__images{ display:grid; gap: 12px; }
.stack__images img{
  width:100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(15,23,32,.10);
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}
.stack__cta{
  display:flex;
  justify-content:center;
  margin-top: 18px;
}

/* FEATURE */
.feature{
  padding: 52px 0;
  background:
    linear-gradient(0deg, rgba(12,20,29,.68), rgba(12,20,29,.68)),
    url("assets/work/photo-2.jpg");
  background-size: cover;
  background-position: center;
}
.feature__overlay{
  color: #fff;
  max-width: 62ch;
}
.h2--light{ color: #fff; }
.feature__text{
  margin: 0 0 16px;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
}

/* TESTIMONIALS */
.testimonials{ padding: 42px 0; background: #fff; }
.centerHead{ text-align:center; margin-bottom: 14px; }
.tgrid{ display:grid; gap: 12px; margin-top: 12px; }

.tcard{
  border: 1px solid rgba(15,23,32,.12);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.06);
}
.stars{ color: var(--accent); letter-spacing: .08em; font-size: 1.05rem; margin-bottom: 8px; }

/* CONTACT */
.contact{
  padding: 52px 0;
  background: linear-gradient(180deg, var(--dark2), var(--dark));
  color: #fff;
}
.contact__grid{ display:grid; gap: 18px; }
.contact__text{ color: rgba(255,255,255,.78); margin: 0 0 14px; }

.contact__details{
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 14px;
  display:grid;
  gap: 8px;
}
.contact__details a{ color: #fff; font-weight: 800; }

.social{ display:flex; gap: 10px; align-items:center; color: rgba(255,255,255,.72); }
.social a{ color: #fff; font-weight: 800; text-decoration: none; }
.social span{ opacity:.7; }

.contact__form{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 16px;
}
label{ display:block; font-weight: 700; margin-top: 12px; }
input, textarea{
  width:100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  color: #fff;
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(232,211,166,.72);
  box-shadow: 0 0 0 4px rgba(232,211,166,.16);
}
.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-weight: 600;
}
.check input{ width:auto; margin-top: 2px; }
.fine{ margin: 10px 0 0; color: rgba(255,255,255,.68); font-size: .92rem; }

/* FOOTER */
.footer{
  background: var(--dark);
  color:#fff;
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 34px 0 14px;
}
.footer__grid{ display:grid; gap: 18px; }

.footer__brand img{
  height: 34px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer__social{
  display:flex;
  gap: 12px;
  margin-top: 10px;
}
.footer__social a{
  border: 1px solid rgba(255,255,255,.14);
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration:none;
  color:#fff;
}
.footer__social a:hover{ background: rgba(255,255,255,.06); }

.footer__cols{ display:grid; gap: 16px; }
.col a, .col span{
  display:block;
  padding: 6px 0;
  color: rgba(255,255,255,.78);
  text-decoration:none;
}
.col a:hover{ color:#fff; }

.footer__bottom{
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: .92rem;
}

.footer--simple{ padding: 14px 0; }
.thanks .header{ position: static; }
.thanks__main{ padding: 44px 0 60px; }

/* Desktop */
@media (min-width: 860px){
  .nav{
    position: static;
    display:flex !important;
    flex-direction: row;
    align-items:center;
    gap: 18px;
    background: transparent;
    border: none;
    box-shadow:none;
    padding: 0;
  }
  .nav a{ padding: 0; font-weight: 700; }
  .menuBtn{ display:none; }

  .brand__mark{ height: 48px; }
  .brand__name{ font-size: 42px; letter-spacing: .012em; transform: translateY(2px); }

  .hero{ padding: 28px 0 40px; }
  .hero__grid{
    grid-template-columns: 1.05fr .95fr;
    align-items:center;
    gap: 26px;
  }
  .hero__image img{ height: 420px; }

  .block{ padding: 54px 0; }
  .block__grid{
    grid-template-columns: 1fr 1fr;
    align-items:center;
    gap: 28px;
  }
  .block__grid--flip .block__image{ order: 2; }
  .block__image img{ height: 420px; }

  .stack__images{
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .stack__images img{ height: 260px; }

  .tgrid{
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .contact__grid{
    grid-template-columns: 1fr 1fr;
    align-items:start;
    gap: 26px;
  }

  .footer__grid{
    grid-template-columns: 1fr 1.5fr;
    align-items:start;
    gap: 26px;
  }
  .footer__cols{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Brand sizing by phone width */
@media (max-width: 680px){
  .header__inner{ gap: 10px; }
  .brand{
    max-width: calc(100% - 66px);
    overflow: hidden;
  }
  .brand__name{
    font-size: 24px;
    letter-spacing: .006em;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .brand__mark{ height: 30px; }
  .menuBtn{ flex: 0 0 auto; }
}
@media (max-width: 520px){
  .brand__name{ font-size: 22px; }
  .brand__mark{ height: 28px; }
}

/* Mobile menu CTA spans full width */
@media (max-width: 860px){
  .nav a.btn{
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
  }
}

/* ✅ Preserve email casing everywhere (this fixes your Title Case issue) */
a[href^="mailto:"]{
  text-transform: none !important;
  font-variant: normal !important;
  letter-spacing: inherit !important;
}
/* Never allow CSS to lowercase email text */
a[href^="mailto:"]{
  text-transform: none !important;
}
/* Allow long emails to wrap cleanly on mobile */
.contact__details a[href^="mailto:"],
.hero__meta--stack a[href^="mailto:"]{
  overflow-wrap: anywhere;
  word-break: break-word;
}

