/* Shevlin Construction — shevlinconstructionfl.com
   Brand: charcoal/white two-tone · Merriweather serif + Lato · SC diamond monogram
   Built 2026-08 by The Imprintinator digital services. */

:root {
  --paper: #faf9f7;
  --ink: #1a1a1a;
  --charcoal: #212121;
  --stone: #5f5c58;
  --line: #e5e2dd;
  --gold: #d19a3e;   /* sampled from the twilight-hero glow, lifted for contrast */
  --gold-dark: #a9761f;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 247, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 14px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.06em; line-height: 1.2;
}
.brand-name small {
  display: block; font-family: var(--sans); font-weight: 400;
  font-size: 0.62rem; letter-spacing: 0.18em; color: var(--stone); text-transform: uppercase;
}
nav.main { margin-left: auto; display: flex; gap: 26px; align-items: center; }
nav.main a {
  text-decoration: none; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a.active { border-bottom-color: var(--gold); }
.call-btn {
  background: var(--charcoal); color: #fff !important; border-radius: 4px;
  padding: 10px 18px !important; border-bottom: none !important; white-space: nowrap;
}
.call-btn:hover { background: #000; }

/* mobile nav */
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 860px) {
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .call-btn { text-align: center; margin-top: 10px; border-radius: 4px; }
  .nav-toggle { display: block; }
}

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.hero-copy { background: var(--charcoal); color: #f3f1ee; display: flex; align-items: center; }
.hero-copy-inner {
  padding: 76px 60px 76px clamp(24px, calc((100vw - 1120px) / 2 + 24px), 170px);
  max-width: 620px;
}
.kicker {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  hyphens: none; text-wrap: balance;
  color: #cfcbc4; margin-bottom: 18px; font-weight: 700;
}
.hero h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(1.95rem, 2.7vw, 2.7rem);
  line-height: 1.16; margin-bottom: 20px; text-wrap: balance; }
.hero p.lede { color: #d9d5cf; margin-bottom: 30px; max-width: 46ch; text-wrap: pretty; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 4px; transition: background 0.15s; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #1a1a1a; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { border: 2px solid #f3f1ee; color: #f3f1ee; }
.btn-outline:hover { background: #f3f1ee; color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #000; }
.hero-photo { background-size: cover; background-position: center; min-height: 320px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy-inner { padding: 56px 24px; }
}

/* ---------- trust bar ---------- */
/* Trust bar — the credentials strip under the hero. Given real weight 2026-08-31:
   it was a thin line of small caps doing a lot of work in very little space. */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 34px; padding-bottom: 34px; gap: 0;
}
.tcell { padding: 4px 30px; border-left: 1px solid var(--line); }
.tcell:first-child { padding-left: 0; border-left: none; }
.tcell:last-child { padding-right: 0; }
.tlabel {
  display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-dark); margin-bottom: 9px;
}
.tval {
  display: block; font-family: var(--serif); font-weight: 700; font-size: 1.02rem;
  line-height: 1.42; color: var(--ink); text-wrap: pretty;
}
@media (max-width: 980px) {
  .trust .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .tcell:nth-child(3) { padding-left: 0; border-left: none; }
}
@media (max-width: 560px) {
  .trust .wrap { grid-template-columns: 1fr; row-gap: 22px; }
  .tcell { padding-left: 0; border-left: none; }
}

/* ---------- sections ---------- */
section.block { padding: 84px 0; }
section.block.tight { padding: 56px 0; }
.section-kicker { color: var(--gold); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 12px; }
h2.section-title { font-family: var(--serif); font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.25; margin-bottom: 18px; }
.section-intro { max-width: 62ch; color: var(--stone); margin-bottom: 40px; }

/* services */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 40px 36px; }
.svc-card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; margin-bottom: 6px; }
.svc-card p.sub { color: var(--stone); font-size: 0.92rem; margin-bottom: 20px; }
.svc-card ul { list-style: none; }
.svc-card li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; }
.svc-card li:last-child { border-bottom: none; }
.svc-card li::before {
  content: ""; position: absolute; left: 4px; top: 50%; width: 9px; height: 9px;
  transform: translateY(-50%) rotate(45deg); border: 1.5px solid var(--gold);
}
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

/* about band */
.about-band { background: var(--charcoal); color: #f3f1ee; }
.about-band .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 84px; }
.about-band .section-kicker { color: var(--gold); }
.about-band h2 { color: #fff; }
.about-band p { color: #d9d5cf; margin-bottom: 18px; }
.about-band img { border-radius: 6px; }
@media (max-width: 860px) { .about-band .wrap { grid-template-columns: 1fr; } }

/* gallery */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal-grid a { display: block; overflow: hidden; border-radius: 6px; background: #ddd; }
.gal-grid img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.25s; }
.gal-grid a:hover img { transform: scale(1.04); }
.gal-caption { font-size: 0.85rem; color: var(--stone); margin-top: 8px; }
figure { margin: 0; }
@media (max-width: 860px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gal-grid { grid-template-columns: 1fr; } .gal-grid img { height: auto; } }

/* CTA band */
.cta-band { background: var(--gold); color: #1a1a1a; text-align: center; }
.cta-band .wrap { padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.cta-band p { margin-bottom: 26px; opacity: 0.85; }
.cta-band .btn { background: var(--charcoal); color: #fff; }
.cta-band .btn:hover { background: #000; }

/* contact + form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-list { list-style: none; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-bottom: 3px; }
.contact-list a { font-family: var(--serif); font-size: 1.15rem; text-decoration: none; }
form.estimate { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 36px; }
form.estimate label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin: 18px 0 6px; }
form.estimate label:first-of-type { margin-top: 0; }
form.estimate input, form.estimate select, form.estimate textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--sans); font-size: 1rem; background: var(--paper);
}
form.estimate textarea { min-height: 120px; resize: vertical; }
form.estimate button { margin-top: 24px; width: 100%; border: none; cursor: pointer; font-family: var(--sans); }
.form-note { font-size: 0.8rem; color: var(--stone); margin-top: 12px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: #cfcbc4; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand img { height: 64px; margin-bottom: 14px; }
.foot-brand .tagline { font-family: var(--serif); font-style: italic; color: #f3f1ee; margin-bottom: 8px; }
.site-footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cfcbc4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-legal { border-top: 1px solid #3a3a3a; padding-top: 22px; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-legal b { color: #f3f1ee; font-weight: 700; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* page hero (interior pages) */
.page-hero { background: var(--charcoal); color: #fff; }
.page-hero .wrap { padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; }
.page-hero p { color: #d9d5cf; max-width: 60ch; }

/* careers roles */
.role-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 36px; margin-bottom: 24px; }
.role-card h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 8px; }
.role-card ul { margin: 14px 0 20px 20px; }
.role-card li { margin-bottom: 6px; }


/* ---------- FAQ (homepage) ---------- */
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-list details:last-of-type { border-bottom: none; }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--ink);
  padding-right: 48px; transition: color 0.15s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-dark); }
.faq-list summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 400; font-size: 1.7rem; line-height: 1;
  color: var(--gold); transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  padding-top: 14px !important; max-width: 76ch; color: var(--stone); line-height: 1.7;
}

/* work-preview thumbnails read as a showcase, not thumbnails */
.gal-grid img { height: 330px; }
@media (max-width: 860px) { .gal-grid img { height: 280px; } }
