/* ==========================================================================
   Bedrock Sites — one-page studio site
   Palette: charcoal bedrock + bone + safety orange
   ========================================================================== */

:root {
  --ink:        #0c0e12;
  --ink-2:      #14171e;
  --ink-3:      #1c2029;
  --line:       #2a2f3a;

  --bone:       #f6f4f1;
  --bone-2:     #ebe7e1;
  --stone:      #6f7681;
  --stone-lt:   #a7adb6;

  --orange:     #ff6a13;
  --orange-hot: #ff8438;
  --orange-dim: rgba(255, 106, 19, .14);

  --wrap: 1160px;
  --r: 4px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

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

.skip {
  position: absolute; left: -9999px;
  background: var(--orange); color: #fff; padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.05; font-weight: 900; }

h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow-dark { color: #b9500f; }

.accent { color: var(--orange); }
.muted  { color: var(--stone); font-weight: 400; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-weight: 700; font-size: .95rem;
  padding: 14px 22px;
  border-radius: var(--r);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hot); transform: translateY(-2px); }

.btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }

.btn:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,14,18,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand-mark { width: 30px; height: 30px; fill: var(--orange); flex: none; }
.brand-text { font-weight: 900; font-size: 1.18rem; letter-spacing: -.02em; }
.brand-text.small { font-size: 1.05rem; }
.brand-thin { font-weight: 400; color: var(--stone-lt); margin-left: 2px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: #d7dae0; text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav a.btn-primary { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s var(--ease); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/hero-stone.jpg') center/cover no-repeat;
  opacity: .5;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 15% 20%, rgba(12,14,18,.5), rgba(12,14,18,.94) 70%),
    linear-gradient(to bottom, rgba(12,14,18,.35), var(--ink));
}
.hero-inner { position: relative; padding: clamp(76px, 12vw, 148px) 24px clamp(70px, 10vw, 120px); max-width: 900px; margin-inline: auto; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: #c3c8d0;
  max-width: 620px;
  margin: 26px 0 0;
}

.offer {
  display: flex; align-items: center; gap: 14px;
  margin: 34px 0 0;
  padding: 18px 22px;
  background: var(--orange-dim);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r) var(--r) 0;
  max-width: 620px;
}
.offer p { margin: 0; font-size: 1.06rem; color: #fff; }
.offer-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 118px) 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-stone { background: var(--bone-2); position: relative; overflow: hidden; }
.section-stone::before {
  content: ''; position: absolute; inset: 0;
  background: url('assets/stone-strata.jpg') center/cover no-repeat;
  opacity: .07;
  pointer-events: none;
}
.section-stone .wrap { position: relative; z-index: 1; }

/* ---------- before / after ---------- */
.work { background: var(--bone); }

.ba {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  margin-top: 44px;
}
.ba-frame {
  position: relative;
  border: 1px solid rgba(12,14,18,.22);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px -14px rgba(12,14,18,.45);
}
.ba-frame-after {
  border-color: rgba(255,106,19,.6);
  box-shadow: 0 22px 46px -18px rgba(12,14,18,.55), 0 0 0 3px rgba(255,106,19,.14);
}
.ba-item { margin: 0; }

/* fake browser chrome so both read as matched screenshots */
.ba-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 13px;
  background: #e6e3de;
  border-bottom: 1px solid rgba(12,14,18,.16);
}
.ba-frame-after .ba-chrome { background: #1a1d24; border-bottom-color: rgba(255,106,19,.3); }
.ba-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #c3bfb9; flex: none; }
.ba-frame-after .ba-chrome i { background: #3a3f49; }

/* identical crop for every pair, whatever the source height */
.ba-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.ba-tag {
  margin-left: auto;
  font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
}
.ba-tag-before { background: rgba(12,14,18,.1); color: #6a6f78; }
.ba-tag-after  { background: var(--orange); color: #fff; }

.ba-caption { margin: 20px 0 0; font-weight: 600; font-size: .95rem; }

.fixes { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; max-width: 780px; }
.fixes li { display: flex; gap: 12px; align-items: flex-start; color: #3d434d; font-size: 1rem; }
.fix-x, .fix-check { font-weight: 900; flex: none; width: 20px; }
.fix-x { color: #c0392b; }
.fix-check { color: #1f7a4d; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px 30px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: rgba(255,106,19,.5); transform: translateY(-3px); }
.card-num { font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--orange); }
.card h3 { font-size: 1.28rem; margin: 14px 0 10px; }
.card p { margin: 0; color: var(--stone-lt); font-size: .97rem; }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: s; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.steps li { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 900; font-size: 1.05rem;
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 10px; }
.steps p { margin: 0; color: #4a505a; font-size: .98rem; }

/* ---------- what you get ---------- */
.get-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }
.get-lede { color: #4a505a; font-size: 1.08rem; margin: 0; }
.get-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; }
.get-list li {
  padding: 17px 0 17px 34px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  position: relative;
  font-weight: 500;
}
.get-list li:first-child { border-top: 1px solid rgba(0,0,0,.1); }
.get-list li::before {
  content: '';
  position: absolute; left: 2px; top: 25px;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--orange);
}

/* ---------- honest note ---------- */
.note-section { background: var(--bone); }
.note { max-width: 720px; }
.note-body { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; margin: 0; letter-spacing: -.01em; }
.note-sign { margin: 26px 0 0; font-weight: 700; color: var(--stone); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: start; }
.contact-lede { color: var(--stone-lt); margin: 0 0 22px; }
.contact-direct { color: var(--stone-lt); font-size: .95rem; }
.contact-direct a { color: var(--orange); font-weight: 600; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .82rem; font-weight: 600; color: #cbd0d8; letter-spacing: .02em; }
.opt { color: var(--stone); font-weight: 400; }
.field input {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: #fff;
  padding: 14px 15px;
  font: inherit;
  font-size: .96rem;
}
.field input:focus { outline: none; border-color: var(--orange); }
.form-note { margin: 4px 0 0; font-size: .84rem; color: var(--stone); text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--stone-lt); border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-inner .brand-text { color: #fff; }
.footer-meta, .footer-copy { margin: 0; font-size: .88rem; }
.footer-meta a { color: var(--orange); text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .get-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ba { grid-template-columns: 1fr; }
  .steps li { padding-top: 22px; }

  .nav {
    position: fixed; inset: 74px 0 auto;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 10px 24px 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn-primary { margin-top: 16px; border-bottom: 0; justify-content: center; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .offer { align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
