/* =========================================================
   Procel Construction — stylesheet
   Light & airy, warm-paper canvas, bronze/sand accent,
   sturdy architectural slab serif (Zilla Slab).
   ========================================================= */

:root {
  --bg:        #f7f4ee;   /* warm paper            */
  --bg-soft:   #efeadf;   /* alt section           */
  --panel:     #fffdf9;   /* cards                 */
  --panel-2:   #ece6d9;   /* placeholder base      */
  --ink:       #211c16;   /* warm near-black text  */
  --muted:     #6c655b;   /* warm gray             */
  --faint:     #a19a8d;
  --line:      rgba(33, 28, 22, 0.14);
  --line-soft: rgba(33, 28, 22, 0.07);

  --accent:     #b3893f;  /* primary bronze (large/decorative) */
  --accent-ink: #8a6626;  /* darker bronze for small text on light */
  --accent-2:   #c8a96e;  /* light sand (fills/hover)          */
  --btn:        #9c7430;  /* button fill                       */
  --btn-hover:  #85621f;

  --serif: "Zilla Slab", Rockwell, "Courier Bold", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --logo:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --logo-gold: #b3882f;   /* wordmark gold — reads on the light paper */

  --wrap: 1140px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(33,28,22,0.04), 0 10px 30px rgba(33,28,22,0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > *:not(.layout-switch) { position: relative; z-index: 1; }

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

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

.accent { color: var(--accent-ink); }
.accent-ital { font-style: italic; color: var(--accent); font-weight: 500; }

/* Marks content the owner still needs to fill in */
.soft-mark { color: var(--accent-ink); border-bottom: 1px dashed rgba(138,102,38,0.45); }

/* ---------- Eyebrow label (echoes SplitrMusic) ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 20px;
}

/* ====================== HEADER ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 238, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(247,244,238,0.92); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name {
  font-family: var(--logo);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: 0.24em;
  color: var(--logo-gold);
  padding-left: 0.24em;   /* balance the trailing letter-spacing */
}
.brand-rule { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 5px; }
.brand-rule::before, .brand-rule::after { content: ""; flex: 1; height: 1px; background: var(--logo-gold); opacity: 0.5; }
.brand-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 0.34em;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px !important;
  color: var(--ink) !important;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent-ink) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; padding: 8px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform 0.3s ease, opacity 0.3s ease; }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn); color: #fffdf8; font-weight: 600; box-shadow: 0 6px 18px rgba(156,116,48,0.28); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-block { width: 100%; text-align: center; }

/* ====================== HERO ====================== */
.hero { padding: 76px 0 100px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
}
.hero-sub { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; margin: 0; }

/* ---- Centered / SplitrMusic layout variant ---- */
.hero--center { padding: clamp(64px, 12vh, 140px) 0 clamp(72px, 12vh, 140px); text-align: center; }
.hero-center-inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero--center .hero-title { font-size: clamp(40px, 6.4vw, 72px); margin-bottom: 28px; }
.hero--center .hero-sub { margin: 0 auto 36px; }
.hero--center .hero-actions { justify-content: center; margin-bottom: 16px; }
.hero-ghostrow { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.hero-trust.center { text-align: center; }

/* Photo placeholder panels */
.hero-photo, .about-photo, .work-photo {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(179,137,63,0.16), transparent 55%),
    linear-gradient(155deg, #efe9dc, #ddd4c3);
}
.hero-photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.hero-photo::after, .about-photo::after, .work-photo::after {
  content: "";
  position: absolute; inset: 0;
  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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
}
.photo-tag {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  background: rgba(255,255,255,0.6);
}

/* Branded monogram for photo panels awaiting a real image */
.panel-mark {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--logo); font-weight: 600;
  font-size: clamp(96px, 15vw, 190px); line-height: 1;
  color: var(--logo-gold); opacity: 0.18;
  letter-spacing: 0.04em;
  user-select: none; pointer-events: none;
}

/* ====================== STATS ====================== */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 10px; text-align: center; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 600; line-height: 1; margin-bottom: 10px; }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ====================== SECTIONS ====================== */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
}
.section-lead { color: var(--muted); font-size: 17.5px; margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.service-group-title {
  font-family: var(--serif); font-weight: 600; font-size: 25px;
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.svc-no { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); letter-spacing: 0.1em; font-weight: 500; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 17px; color: var(--ink);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.service-item:hover { color: var(--accent-ink); padding-left: 8px; }
.service-item > span:first-child { white-space: nowrap; }
.svc-dash { flex: 1; height: 1px; background: var(--line); }

/* ---------- Work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 2px 4px rgba(33,28,22,0.05), 0 18px 40px rgba(33,28,22,0.10); }
.work-photo {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(179,137,63,0.14), transparent 55%),
    linear-gradient(155deg, var(--g1, #e8e2d5), var(--g2, #d7cfbf));
}
.work-meta { padding: 20px 20px 24px; }
.work-cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); font-weight: 500; }
.work-name { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 10px 0 4px; line-height: 1.2; }
.work-loc { color: var(--faint); font-size: 13.5px; margin: 0; font-family: var(--mono); letter-spacing: 0.04em; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 28px 24px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.step-num { font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--accent); display: block; line-height: 1; margin-bottom: 18px; }
.step-title { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 0 0 10px; }
.step-text { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-text p { color: var(--muted); margin: 0 0 20px; font-size: 17.5px; }
.about-text .section-title { color: var(--ink); }
.about-sign { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ink) !important; }
.about-photo { aspect-ratio: 1 / 1; box-shadow: var(--shadow); }

/* ---------- Quotes ---------- */
.quotes .eyebrow { text-align: center; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 20px; }
.quote { margin: 0; padding: 40px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.quote-text { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 23px; line-height: 1.42; margin: 0 0 20px; }
.quote-by { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info .section-lead { margin-bottom: 36px; }
.info-row { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.info-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); width: 80px; flex-shrink: 0; }
.info-val { font-size: 17px; color: var(--ink); }
a.info-val:hover { color: var(--accent-ink); }

.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input, textarea, select {
  width: 100%; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  font-family: var(--sans); font-size: 15px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(179,137,63,0.14); }
textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--faint); margin: 14px 0 0; line-height: 1.5; }

/* ====================== FOOTER ====================== */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-soft); }
.foot-tag { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.foot-col a, .foot-col span { color: var(--muted); font-size: 14.5px; transition: color 0.2s ease; }
.foot-col a:hover { color: var(--accent-ink); }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; color: var(--faint); font-size: 12.5px; font-family: var(--mono); letter-spacing: 0.04em; flex-wrap: wrap; }

/* ============ LAYOUT SWITCHER (preview helper — safe to delete) ============ */
.layout-switch {
  position: fixed; z-index: 100; right: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 4px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px; box-shadow: 0 8px 28px rgba(33,28,22,0.16);
  font-family: var(--mono); font-size: 11px;
}
.layout-switch .ls-label { color: var(--faint); padding: 0 6px 0 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.layout-switch a { padding: 7px 13px; border-radius: 999px; color: var(--muted); letter-spacing: 0.04em; transition: background 0.2s ease, color 0.2s ease; }
.layout-switch a:hover { color: var(--ink); }
.layout-switch a.active { background: var(--ink); color: var(--bg); }

/* ====================== REVEAL ANIMATION ====================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 440px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .services { gap: 48px; }
  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .services { grid-template-columns: 1fr; }
  .work-grid, .process-grid { grid-template-columns: 1fr; }
  .field.two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .layout-switch { right: 10px; bottom: 10px; font-size: 10px; }
  .layout-switch .ls-label { display: none; }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(247,244,238,0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 24px;
    transform: translateY(-120%); transition: transform 0.32s ease;
    height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav-cta { margin-top: 14px; width: 100%; text-align: center; padding: 14px 20px !important; border-radius: var(--radius); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
