/* Schenck Builders — static preview
   Built to be lifted into WordPress / Beaver Builder sections.
   Palette: limestone, charcoal, bronze. Fonts: Cormorant Garamond + Manrope. */

:root {
  --cream: #F4EFE8;
  --cream-2: #E8DFD2;
  --paper: #FAF7F2;
  --ink: #1C1916;
  --ink-2: #3A342E;
  --stone: #6A6158;
  --line: #D9D0C4;
  --bronze: #9A5B3C;
  --bronze-d: #7A432C;
  --bronze-l: #C48963;
  --white: #FFFcf8;
  --shadow: 0 18px 40px rgba(28, 25, 22, 0.12);
  --wrap: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); text-decoration: none; }
a:hover { color: var(--bronze-d); }
ul { list-style: none; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 600;
  margin-bottom: 12px;
}
h1, h2, h3, .logo-text, .hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); margin-bottom: 18px; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 16px; }
h3 { font-size: 1.55rem; margin-bottom: 8px; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 38em; }
.muted { color: var(--stone); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: 0.18s ease;
  cursor: pointer;
}
.btn-primary { background: var(--bronze); color: #fff; }
.btn-primary:hover { background: var(--bronze-d); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 239, 232, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 78px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  display: grid; place-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem; font-weight: 600;
}
.logo-text { font-size: 1.35rem; letter-spacing: 0.02em; line-height: 1; }
.logo-text em { font-style: normal; font-weight: 600; }
.logo-text small {
  display: block; font-family: Manrope, sans-serif;
  font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone); margin-top: 3px; font-weight: 600;
}
.site-nav { display: flex; gap: 16px; margin-left: auto; }
.site-nav a { color: var(--ink-2); font-size: 0.88rem; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bronze-d); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .phone { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.header-cta .phone:hover { color: var(--bronze); }
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--line); background: transparent;
  cursor: pointer; border-radius: var(--radius);
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative;
}
.nav-toggle span:before, .nav-toggle span:after { content: ""; position: absolute; left: 0; }
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }

/* Hero */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  background: #1c1916;
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,12,12,0.16) 0%, rgba(12,12,12,0.28) 40%, rgba(10,10,10,0.78) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 0 0 72px; max-width: 760px; }
.hero h1, .hero .eyebrow, .hero p { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 6px 20px rgba(0,0,0,0.45); }
.hero p:not(.eyebrow) { font-size: 1.15rem; max-width: 22em; color: rgba(255,255,255,0.96); text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 6px 22px rgba(0,0,0,0.6); }
.hero .eyebrow { max-width: none; }
.page-hero { min-height: 52vh; }
.page-hero .hero-content { padding-bottom: 56px; }

/* Texas Coastal Living: portrait front elevation in a split hero */
.hero.hero-portrait-split {
  height: calc(100vh - 79px);
  min-height: 36rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}
.hero.hero-portrait-split img.hero-bg {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  object-fit: cover;
  object-position: center 28%;
  align-self: stretch;
}
.hero.hero-portrait-split::after { display: none; }
.hero.hero-portrait-split .hero-content {
  width: 100%;
  margin-inline: 0;
  padding: 72px 56px 72px 48px;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
}
.hero.hero-portrait-split .hero-content .eyebrow { color: var(--bronze-l); }
img.img-portrait-facade {
  object-position: center 32%;
}
.division img.img-portrait-facade {
  object-position: center 22%;
}
.division:has(.img-portrait-facade) {
  height: 640px;
  min-height: 640px;
}
img.img-coastal-elevation {
  object-position: center center;
}
.division img.img-coastal-elevation {
  object-position: center center;
}
.division:has(.img-coastal-elevation) {
  height: 640px;
  min-height: 640px;
}
@media (max-width: 900px) {
  .hero.hero-portrait-split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .hero.hero-portrait-split img.hero-bg { height: 72vh; min-height: 72vh; }
  .hero.hero-portrait-split .hero-content { padding: 48px 28px 56px; }
}


/* Trust */
.trust { background: var(--ink); color: var(--cream); }
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; text-align: center; padding: 28px 0;
}
.trust-item strong {
  display: block; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem; font-weight: 500; color: #fff;
}
.trust-item span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-2); }

/* Cards / gallery */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-4 .proj-card img { height: 220px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.proj-card { background: var(--white); box-shadow: var(--shadow); }
.proj-card img { width: 100%; height: 280px; object-fit: cover; }
.proj-card figcaption { padding: 18px 20px 22px; }
.proj-card h3 { margin-bottom: 4px; }
.proj-card p { color: var(--stone); font-size: 0.95rem; }

/* Legacy slot placeholders */
.fb-slot {
  background: repeating-linear-gradient(-45deg, #efe8de, #efe8de 12px, #e5dcd0 12px, #e5dcd0 24px);
  border: 2px dashed var(--bronze);
  min-height: 240px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  color: var(--ink);
  position: relative;
}
.fb-slot-inner { max-width: 280px; }
.fb-slot-label {
  display: inline-block;
  background: var(--bronze); color: #fff;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; padding: 4px 8px; margin-bottom: 10px;
}
.fb-slot strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; margin-bottom: 6px; }
.fb-slot p { font-size: 0.88rem; color: var(--ink-2); }
.fb-slot code { font-size: 0.78rem; background: rgba(255,255,255,0.7); padding: 1px 4px; }
.fb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fb-grid .fb-slot { min-height: 220px; }

.band { background: var(--cream); }
.band-dark { background: var(--ink); color: var(--cream); }
.band-dark h2, .band-dark p { color: #fff; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.split img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.split-text p + p { margin-top: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 36px; }
.step-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem; color: var(--bronze); line-height: 1; margin-bottom: 8px;
}
.step p { color: var(--stone); font-size: 0.95rem; }

.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.area-chip {
  display: block; background: var(--white); border: 1px solid var(--line);
  padding: 18px 16px; text-align: center; color: var(--ink);
  font-weight: 600;
}
.area-chip:hover { border-color: var(--bronze); color: var(--bronze-d); }
.area-chip span { display: block; font-weight: 500; color: var(--stone); font-size: 0.85rem; margin-top: 4px; }

.cta-band { text-align: center; padding: 88px 0; }
.cta-band p { margin-inline: auto; }

/* Gallery */
.gallery-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.gallery-toolbar button {
  border: 1px solid var(--line); background: var(--white); color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 0.88rem;
}
.gallery-toolbar button.is-on, .gallery-toolbar button:hover {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.masonry {
  columns: 3; column-gap: 16px;
}
.masonry figure { break-inside: avoid; margin: 0 0 16px; background: var(--white); }
.masonry img { width: 100%; }
.masonry figcaption { padding: 10px 12px 14px; font-size: 0.88rem; color: var(--stone); }
.masonry figure[data-cat].is-hidden { display: none; }

/* City sections */
.city-block { padding: 48px 0; border-top: 1px solid var(--line); }
.city-block:first-of-type { border-top: 0; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
.contact-card { background: var(--cream); padding: 32px; }
.contact-card a { color: var(--ink); font-weight: 600; }
.contact-card a:hover { color: var(--bronze); }
.contact-card p { margin: 10px 0; }
form { display: grid; gap: 14px; }
label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone); }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--white); font: inherit; color: var(--ink); border-radius: var(--radius);
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.85rem; color: var(--stone); margin-top: 8px; }
.form-success {
  display: none; background: var(--cream); border: 1px solid var(--bronze-l);
  padding: 20px; }
.form-success.is-on { display: block; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream-2); padding: 56px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 1.2rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--bronze-l); }
.site-footer li { margin: 6px 0; }
.copyright { border-top: 1px solid #3a342e; padding-top: 18px; color: #9a9086; font-size: 0.82rem; }

.notice {
  background: #fff3e4; border-left: 3px solid var(--bronze);
  padding: 12px 16px; font-size: 0.9rem; color: var(--ink-2); margin-bottom: 24px;
}

@media (max-width: 900px) {
  .site-nav, .header-cta .phone { display: none; }
  .header-inner.is-open .site-nav {
    display: flex; flex-direction: column; position: absolute;
    top: 78px; left: 0; right: 0; background: var(--cream);
    padding: 16px 20px 24px; border-bottom: 1px solid var(--line); gap: 14px;
  }
  .nav-toggle { display: grid; place-items: center; }
  .trust-row, .grid-3, .grid-4, .steps, .areas-grid, .fb-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split img { min-height: 280px; }
  .masonry { columns: 2; }
  .hero { min-height: 78vh; }
  .header-cta .btn { padding: 10px 12px; font-size: 0.8rem; }
}
@media (max-width: 560px) {
  .trust-row, .grid-3, .grid-4, .steps, .areas-grid, .fb-grid, .form-row { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .wrap { width: calc(100% - 32px); }
}

.fb-photo { background: var(--white); }
.fb-photo img { width: 100%; height: 220px; object-fit: cover; }
.fb-photo figcaption { padding: 12px 14px 16px; font-size: 0.9rem; color: var(--stone); }
.fb-photo figcaption strong { display: block; color: var(--ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.2rem; font-weight: 500; }

/* Ways to build */
.ways { margin-top: 36px; }
.way {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 26px 32px;
}
.way h3 { margin-bottom: 10px; }
.way p { color: var(--stone); font-size: 0.98rem; }

/* Hill Country division band */
.division {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--ink);
  color: var(--cream);
}
.division img {
  width: 100%; height: 100%; object-fit: cover;
  min-height: 0; max-width: none;
  align-self: stretch; justify-self: stretch;
}
.division-text { padding: 72px 48px; display: flex; flex-direction: column; justify-content: center; }
.division-text h2, .division-text p, .division-text .eyebrow { color: #fff; }
.division-text p { color: rgba(255,255,255,0.86); max-width: 34em; }
.division-text .eyebrow { color: var(--bronze-l); }
@media (max-width: 900px) {
  .division { grid-template-columns: 1fr; }
  .division img { min-height: 280px; }
  .division:has(.img-portrait-facade) { height: auto; min-height: 0; }
  .division:has(.img-portrait-facade) img { height: 70vh; min-height: 320px; }
  .division:has(.img-coastal-elevation) { height: auto; min-height: 0; }
  .division:has(.img-coastal-elevation) img { height: 70vh; min-height: 320px; }

/* Coastal furnished stills: WebP <picture> wrappers */
.hero.hero-portrait-split > picture,
.division > picture {
  display: block;
  height: 100%;
  min-height: 0;
  width: 100%;
  align-self: stretch;
  justify-self: stretch;
}
.hero.hero-portrait-split > picture img.hero-bg {
  width: 100%;
  height: 100%;
}
.division > picture img {
  width: 100%;
  height: 100%;
}
.split picture { display: block; height: 100%; min-height: 420px; }
.split picture img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.gallery-grid picture,
.proj-card picture { display: block; }

  .division-text { padding: 48px 28px 56px; }
}

/* Hero land-package note */
.hero-note {
  margin: 20px 0 0;
  font-size: 1.05rem;
  max-width: 28em;
  color: rgba(255,255,255,0.96);
  text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 6px 22px rgba(0,0,0,0.6);
}
.hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Four ways: 2x2 below ~1100px so cards stay readable */
@media (max-width: 1100px) {
  .ways.grid-4 { grid-template-columns: 1fr 1fr; }
}

/* Common questions */
.faq-list { margin-top: 28px; max-width: 760px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; content: ""; }
.faq-item summary:after {
  content: "+";
  float: right;
  color: var(--bronze);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1;
}
.faq-item[open] summary:after { content: "–"; }
.faq-item .faq-answer { padding: 0 0 18px; color: var(--stone); max-width: 42em; }

.form-error {
  background: #f6ebe6;
  border: 1px solid #d7b2a3;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Ways to build with photos */
.way:has(img) { padding: 0 0 28px; overflow: hidden; }
.way img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}
.way:has(img) h3,
.way:has(img) p { padding: 0 22px; }

/* Grouped gallery */
.gallery-group { margin-top: 40px; }
.gallery-group h2 {
  font-size: 1.8rem;
  margin: 0 0 4px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.gallery-grid figure { margin: 0; background: var(--white); }
.gallery-grid img { width: 100%; height: 230px; object-fit: cover; display: block; }
.gallery-grid figcaption { padding: 10px 12px 14px; font-size: 0.88rem; color: var(--stone); }
.gallery-group.is-hidden,
.gallery-grid figure.is-hidden { display: none; }
.gallery-grid .fb-slot { min-height: 230px; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Photo placeholders (used when a division has no confirmed photographs) */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 520px;
  padding: 40px 36px 44px;
  background:
    linear-gradient(165deg, rgba(32, 28, 24, 0.08) 0%, rgba(32, 28, 24, 0.22) 100%),
    #d9d0c3;
  color: var(--ink);
}
.photo-placeholder .ph-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-d, #8a6a3b);
}
.photo-placeholder .ph-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}
.photo-placeholder p {
  margin: 0;
  max-width: 22em;
  font-size: 0.98rem;
  color: var(--ink-2, #4a433c);
}
.hero .photo-placeholder {
  position: absolute;
  inset: 0;
  min-height: 100%;
  padding: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.08), transparent 50%),
    linear-gradient(180deg, #3a342e 0%, #1c1916 100%);
  color: var(--cream);
}
.hero .photo-placeholder .ph-kicker,
.hero .photo-placeholder .ph-title,
.hero .photo-placeholder p { display: none; }
.division .photo-placeholder { min-height: 520px; height: 100%; }
.split .photo-placeholder { min-height: 420px; width: 100%; }
@media (max-width: 900px) {
  .division .photo-placeholder { min-height: 280px; }
}
@media (max-width: 1240px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 0.86rem; }
}

/* Keep the header on one line after adding Coastal Living */
.site-nav a,
.header-cta .phone,
.header-cta .btn { white-space: nowrap; }
.header-cta { flex-shrink: 0; }
.site-nav { flex-shrink: 1; }
.photo-placeholder { justify-content: center; }
