/* Fixed Haus — brand: orange, ink, warm paper. */

:root {
  --ink: #14110f;
  --ink-2: #241e1a;
  --ink-3: #3a322b;
  --orange: #f26722;
  --orange-dark: #d5531a;
  --orange-soft: #fdece1;
  --cream: #f6efe4;
  --cream-2: #efe5d5;
  --paper: #fffcf7;
  --muted: #6e6459;
  --line: #e3d7c6;
  --line-2: #d3c4ae;
  --ok: #2f7d4f;
  --warn: #b3401b;
  --shadow: 0 1px 0 rgba(20, 17, 15, 0.04), 0 10px 30px -18px rgba(20, 17, 15, 0.35);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 0.6rem;
  text-transform: none;
}
h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.05rem; letter-spacing: 0.02em; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 620px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.82rem; }
strong.strong, .strong { font-weight: 700; }
code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 0.9rem;
}
.accent { color: var(--orange); }
.lede { font-size: 1.16rem; color: var(--ink-3); max-width: 56ch; }
.fineprint { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.fineprint.center { text-align: center; margin-top: 1.5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  padding: 0.78rem 1.4rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 0 var(--orange-dark); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #000; }
.btn-ink:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { font-size: 0.86rem; padding: 0.55rem 0.9rem; }
.btn-xs { font-size: 0.72rem; padding: 0.35rem 0.6rem; border-width: 1px; }
.btn-lg { font-size: 1.2rem; padding: 1rem 1.8rem; }
.btn-block { width: 100%; }
.text-link { color: var(--orange-dark); font-weight: 600; border-bottom: 1px solid transparent; }
.text-link:hover { border-color: currentColor; }
.icon-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  line-height: 1;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
}
.icon-btn:hover { color: var(--warn); border-color: var(--warn); }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 2rem; padding: 0.55rem 0; }
.brand { display: flex; align-items: center; }
.logo { height: 72px; width: auto; object-fit: contain; }
.site-nav { display: flex; gap: 1.5rem; margin-left: auto; font-size: 0.92rem; font-weight: 500; }
.site-nav a { padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { border-color: var(--orange); }
.head-actions { display: flex; align-items: center; gap: 1rem; }
.head-phone { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-3); }
.site-foot { background: var(--ink); color: #e9e1d6; padding: 3rem 0 1.5rem; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-logo { height: 88px; background: #fff; border-radius: 6px; padding: 4px; }
.foot-tag { color: #a89c8d; font-size: 0.85rem; margin-top: 0.6rem; }
.site-foot h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: #a89c8d; margin-bottom: 0.7rem; }
.site-foot p, .site-foot a { font-size: 0.9rem; color: #e9e1d6; }
.site-foot a:hover { color: var(--orange); }
.foot-fine { border-top: 1px solid #332c26; margin-top: 2.4rem; padding-top: 1rem; font-size: 0.75rem; color: #8d8175; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 4.5rem;
  background:
    radial-gradient(1000px 420px at 88% -10%, rgba(242, 103, 34, 0.13), transparent 60%),
    linear-gradient(var(--paper), var(--cream));
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 17, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 17, 15, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lede { font-size: 1.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0 2.4rem; }
.hero-proof { display: flex; gap: 2.2rem; list-style: none; padding: 1.4rem 0 0; margin: 0; border-top: 2px solid var(--ink); }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.hero-proof span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 0.25rem; }
.hero-art { position: relative; height: 520px; }
.hero-photo { position: absolute; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 50px -30px rgba(20, 17, 15, 0.7); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-a { top: 0; right: 0; width: 76%; height: 62%; border-radius: 6px; }
.hero-photo-b { bottom: 0; left: 0; width: 62%; height: 48%; border-radius: 6px; }
.hero-stamp {
  position: absolute;
  right: 6%;
  bottom: 4%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px dashed var(--orange);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem;
  transform: rotate(-6deg);
  box-shadow: var(--shadow);
}
.hero-stamp strong { font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.02em; }
.hero-stamp span { font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.12em; color: var(--muted); }

/* ---------- strip ---------- */
.strip { background: var(--ink); color: var(--cream); }
.strip-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; }
.strip-inner p { margin: 0; }
.strip-inner span { color: var(--orange); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-cream { background: var(--cream); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 2.6rem; }
.section-lede { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { margin: 0; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item:first-child img { aspect-ratio: 1 / 1; }
.gallery-item figcaption { padding: 0.9rem 1rem 1.1rem; border-top: 1px solid var(--line); }
.gallery-item figcaption strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.gallery-item figcaption span { font-size: 0.82rem; color: var(--muted); }
.sample-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(20, 17, 15, 0.78);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
}
.gallery-foot { margin-top: 1.6rem; }
.gallery-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.chip {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-3);
  cursor: pointer;
}
.chip:hover { border-color: var(--orange); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-item[hidden] { display: none; }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: 8px;
  padding: 1.4rem 1.3rem 1.2rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.service-card:hover { transform: translateY(-3px); border-top-color: var(--orange); }
.service-icon { font-size: 1.5rem; display: block; margin-bottom: 0.6rem; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.9rem; color: var(--muted); min-height: 4.2em; }
.service-card .text-link { font-size: 0.85rem; }

/* ---------- tiers ---------- */
.tiers-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
.tiers-copy { position: sticky; top: 100px; }
.tiers-copy .btn { margin-top: 0.8rem; }
.tier-list { display: grid; gap: 1rem; }
.tier-row { display: grid; grid-template-columns: 60px 1fr; gap: 1.2rem; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.tier-row p { font-size: 0.92rem; color: var(--ink-3); margin: 0; }
.tier-row .tier-tag { color: var(--orange-dark); font-weight: 600; margin-bottom: 0.4rem; }
.tier-num { font-family: var(--display); font-size: 2.4rem; color: var(--orange); line-height: 0.9; }
.tier-row.tier-mid { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.tier-row.tier-high { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.tier-row.tier-high p { color: #c3b8aa; }
.tier-row.tier-high h3 { color: #fff; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { border-top: 2px solid var(--orange); padding-top: 1rem; }
.steps span { font-family: var(--mono); font-size: 0.75rem; color: var(--orange); letter-spacing: 0.1em; }
.steps h3 { color: var(--ink); margin: 0.5rem 0; }
.steps p { color: var(--muted); font-size: 0.92rem; }
.section-how { background: var(--cream-2); border-block: 1px solid var(--line); }
.section-how .steps span { color: var(--orange-dark); }

/* ---------- cta ---------- */
.cta-band { background: var(--cream); border-top: 3px solid var(--orange); border-bottom: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); margin-bottom: 0.3rem; }
.cta-band p { margin: 0; color: var(--muted); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; }
.hint { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="file"], select, textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 0.6rem 0.7rem;
  width: 100%;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
input[type="file"] { padding: 0.5rem; background: var(--cream); border-style: dashed; }
input[readonly] { background: var(--cream); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.card h2 { font-size: 1.7rem; }
.card h3 { font-size: 1.2rem; }
.divider { height: 1px; background: var(--line); margin: 1.3rem 0; }
.form-error { color: var(--warn); font-weight: 600; background: #fdece6; border: 1px solid #f3c6b4; padding: 0.6rem 0.8rem; border-radius: 7px; }
.notice { background: #eaf5ed; border: 1px solid #b9dcc4; color: #215c39; padding: 0.8rem 1rem; border-radius: 8px; margin: 1.5rem 0; }
.badge { display: inline-block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--cream); color: var(--ink-3); white-space: nowrap; }
.badge-soft { background: #f4efe7; }
.status-draft { background: #f1ece4; color: #6b6157; }
.status-requested { background: var(--orange-soft); color: var(--orange-dark); border-color: #f6c3a5; }
.status-sent { background: #e8f0fa; color: #245a8a; border-color: #c2d8ef; }
.status-approved, .status-paid { background: #e7f5ec; color: var(--ok); border-color: #b8dcc5; }
.status-declined, .status-unpaid { background: #fbe9e3; color: var(--warn); border-color: #f2c7b6; }
.status-archived, .status-partial { background: #f1ece4; color: #6b6157; }

/* ---------- bid ---------- */
.bid-section { background: linear-gradient(var(--cream), var(--paper) 45%); }
.bid-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: start; }
.bid-head { position: sticky; top: 100px; }
.bid-head h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.bid-bullets { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.5rem; }
.bid-bullets li { font-size: 0.92rem; padding-left: 1.4rem; position: relative; color: var(--ink-3); }
.bid-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.bid-form { margin: 0; }
.photo-previews { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.6rem; }
.photo-previews img { width: 84px; height: 84px; object-fit: cover; border-radius: 7px; border: 1px solid var(--line-2); }
#bid-result { margin-top: 3.5rem; scroll-margin-top: 90px; }
.result-head { max-width: 780px; margin-bottom: 1.8rem; }
.result-head h2 { margin-bottom: 0.5rem; }
.source-note { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.tier-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; align-items: start; }
.tier-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.2rem; display: flex; flex-direction: column; gap: 0.8rem; position: relative; }
.tier-card.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.tier-card h3 { font-size: 1.7rem; margin: 0; }
.tier-kicker { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--orange-dark); margin: 0; }
.tier-tag { font-size: 0.85rem; color: var(--muted); margin: 0; }
.tier-price { font-family: var(--display); font-size: 2.5rem; line-height: 1; margin: 0.4rem 0 0; }
.tier-price small { font-size: 0.95rem; color: var(--muted); font-family: var(--body); }
.tier-blurb { font-size: 0.82rem; color: var(--muted); margin: 0; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.tier-table th {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0 0 0.3rem;
  border-bottom: 1px solid var(--line-2);
  font-weight: 500;
}
.tier-table th.num { text-align: right; }
.tier-table td { padding: 0.45rem 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.tier-table td.num { text-align: right; white-space: nowrap; color: var(--ink-3); }
.tier-table td.strong { font-weight: 700; }
.line-desc { display: block; font-size: 0.76rem; color: var(--muted); line-height: 1.35; }
.tier-card.tier-high { background: var(--ink); color: #fff; border-color: var(--ink); }
.tier-card.tier-high .tier-tag, .tier-card.tier-high .tier-blurb { color: #bdb2a5; }
.tier-card.tier-high .line-desc { color: #b3a798; }
.tier-card.tier-high .tier-table th { color: #9a8f83; border-color: #3b332c; }
.tier-card.tier-high .tier-table td { border-color: #3b332c; }
.tier-card.tier-high .tier-kicker { color: var(--orange); }
.tier-card.tier-high .tier-table td.num { color: #ded4c7; }

.result-detail h3 { margin-bottom: 0.8rem; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th { text-align: left; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); padding: 0.5rem 0.6rem; white-space: nowrap; }
.data-table td { padding: 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; white-space: nowrap; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.two-col ul { margin: 0.4rem 0 0; padding-left: 1.1rem; font-size: 0.88rem; color: var(--ink-3); }
.two-col li { margin-bottom: 0.4rem; }
.result-addons h3 { margin-bottom: 0.3rem; }
.addon-list { display: grid; gap: 0.5rem; margin-top: 1rem; }
.addon-row { display: grid; grid-template-columns: 20px 1fr auto; gap: 0.8rem; align-items: center; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; }
.addon-row:hover { border-color: var(--orange); }
.addon-row input { width: 16px; height: 16px; accent-color: var(--orange); }
.addon-name { font-size: 0.9rem; font-weight: 600; }
.addon-price { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); white-space: nowrap; }
.request-band { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; background: var(--cream); }
.request-band h3 { margin-bottom: 0.4rem; }
.request-form { margin: 0; }
.tier-pick-note { margin: 0; font-size: 0.85rem; }
.center { text-align: center; }

/* ---------- quote ---------- */
.quote-section { padding-top: 2.5rem; }
.quote-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.9rem;
  margin-bottom: 2rem;
}
.quote-doc-brand { display: flex; align-items: center; gap: 1.2rem; }
.quote-doc-brand img { height: 72px; width: auto; }
.quote-doc-contact { margin: 0; font-family: var(--mono); font-size: 0.72rem; line-height: 1.6; color: var(--muted); }
.quote-doc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 0.15rem; }
.quote-doc-meta .eyebrow { margin: 0; }
.quote-doc-meta strong { font-family: var(--mono); font-size: 1rem; }
.quote-doc-meta span:last-child { font-size: 0.74rem; color: var(--muted); }
.quote-head { max-width: 860px; margin-bottom: 2rem; }
.quote-summary { font-size: 1.05rem; color: var(--ink-3); max-width: 70ch; border-left: 3px solid var(--orange); padding-left: 1rem; }
.quote-meta { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; font-size: 0.76rem; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em; }
.quote-tiers { align-items: stretch; }
.quote-tiers .tier-card { padding: 1.4rem; }
.quote-tiers .tier-table { flex: 1; }
.quote-tiers .tier-card .btn { margin-top: auto; }
.quote-tiers .tier-card.is-selected { outline: 3px solid var(--orange); outline-offset: 2px; }
.card-what .changes { display: grid; gap: 0.8rem; margin-top: 1rem; }
.change-row h4 { margin: 0 0 0.3rem; font-family: var(--body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.change-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; font-size: 0.82rem; }
.change-cells > div { background: var(--cream); border-radius: 7px; padding: 0.5rem 0.6rem; }
.change-key { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 0.15rem; }
.quote-total-bar {
  position: sticky;
  bottom: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
  margin: 1.5rem 0;
}
.quote-total-bar .muted { color: #a89c8d; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--mono); display: block; }
.quote-total-bar strong { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.quote-notes { margin-top: 0.5rem; }
.approve-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 1rem; }
.approve-form .field:nth-child(4) { grid-column: span 3; }
.approve-form .btn, .approve-form .fineprint { grid-column: span 3; }

/* ---------- admin ---------- */
body.admin { background: #f7f4ef; }
.admin-bar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 30; }
.admin-bar-inner { display: flex; align-items: center; gap: 2rem; padding: 0.5rem 0; }
.admin-brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.02em; }
.admin-brand img { background: #fff; border-radius: 6px; padding: 2px; }
.admin-brand em { font-style: normal; color: var(--orange); }
.admin-nav { display: flex; gap: 0.3rem; margin-left: auto; }
.admin-nav a { padding: 0.5rem 0.8rem; border-radius: 6px; font-size: 0.88rem; color: #d6ccbf; }
.admin-nav a:hover { background: #2a231e; color: #fff; }
.admin-nav a.is-active { background: var(--orange); color: #fff; }
.admin-bar-actions { display: flex; align-items: center; gap: 1rem; }
.admin-bar-actions .text-link { color: #d6ccbf; font-size: 0.82rem; }
.admin-bar-actions .btn-ghost { color: #fff; border-color: #5b4f45; }
.admin-bar-actions .btn-ghost:hover { background: #fff; color: var(--ink); }
.admin-main { padding: 2rem 0 4rem; }
.security-banner {
  background: #fff4e3;
  border: 1px solid #e8c48a;
  color: #6b4513;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.84rem;
  margin-bottom: 1rem;
}
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-head h1 { font-size: 2.4rem; margin: 0; }
.admin-head .muted { margin: 0.2rem 0 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.kpi-grid.kpi-3 { grid-template-columns: repeat(3, 1fr); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.kpi span { font-family: var(--mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.kpi strong { display: block; font-family: var(--display); font-size: 2rem; line-height: 1.1; margin: 0.3rem 0 0.1rem; }
.kpi small { font-size: 0.76rem; color: var(--muted); }
.admin-grid-2 { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 1.5rem; margin-bottom: 1.5rem; align-items: start; }
.admin-grid-2 .card { margin-bottom: 0; }
.admin-grid-2.editor-top { grid-template-columns: 1.4fr 0.6fr; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head h2 { margin: 0; }
.quick-actions { display: grid; gap: 0.6rem; }
.quick { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem 0.9rem; background: var(--paper); }
.quick:hover { border-color: var(--orange); }
.quick strong { display: block; font-size: 0.92rem; }
.quick span { font-size: 0.78rem; color: var(--muted); }
.empty { color: var(--muted); padding: 1rem 0; }
.row-link { font-family: var(--mono); font-size: 0.8rem; color: var(--orange-dark); font-weight: 500; }
.row-actions { display: flex; gap: 0.4rem; align-items: center; justify-content: flex-end; }
.row-actions form { margin: 0; }
.data-table .due { color: var(--warn); font-weight: 600; }
.edit-table input { padding: 0.4rem 0.45rem; font-size: 0.85rem; min-width: 70px; }
.edit-table td:first-child input { min-width: 150px; }
.edit-table td:nth-child(2) input { min-width: 190px; }
.edit-table td { padding: 0.35rem 0.3rem; }
.edit-table .row-total { font-family: var(--mono); font-size: 0.8rem; }
.totals-list { list-style: none; padding: 0; margin: 0.6rem 0; }
.totals-list li { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.totals-list strong { font-family: var(--mono); }
.copy-row { display: flex; gap: 0.4rem; }
.copy-row input { font-family: var(--mono); font-size: 0.78rem; }
.editor-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: rgba(255, 252, 247, 0.96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 0.9rem 0; margin-top: 1rem; z-index: 15; }
.editor-actions { display: flex; gap: 0.6rem; }
.save-state { font-size: 0.82rem; color: var(--ok); }
.photo-strip { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.photo-strip img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.checklist { padding-left: 1.1rem; font-size: 0.9rem; color: var(--ink-3); }
.checklist li { margin-bottom: 0.5rem; }
.photo-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.photo-admin { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.photo-admin-img { position: relative; background: var(--cream); }
.photo-admin-img img { width: 100%; height: 170px; object-fit: cover; }
.photo-admin form { padding: 0.8rem; }
.photo-admin .field { margin-bottom: 0.5rem; }
.photo-admin label { font-size: 0.7rem; }
.photo-admin input, .photo-admin select { font-size: 0.82rem; padding: 0.4rem 0.5rem; }
.checkline { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; margin: 0.4rem 0; }
.checkline input { width: auto; }
.photo-admin-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem; }
.settings-form { max-width: 900px; }
.login-page { display: grid; place-items: center; min-height: 100vh; background: var(--cream); }
.login-card { width: min(420px, calc(100% - 32px)); padding: 2rem; }
.login-logo { height: 116px; width: auto; margin: 0 auto 1rem; }
.login-card h1 { font-size: 2rem; margin-bottom: 0.2rem; }
.login-card .field { margin-top: 1.2rem; }
.photo-previews:empty { display: none; }

/* ---------- print: estimate sheet ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; }
  .site-head, .site-foot, .no-print, .quote-total-bar, .approve-card, .addon-row input, #quote-approve, .security-banner { display: none !important; }
  .quote-section { padding: 0; }
  .quote-doc { border-color: #000; margin-bottom: 1rem; }
  .quote-doc-brand img { height: 62px; }
  .tier-cards { display: block; }
  .tier-card { break-inside: avoid; page-break-inside: avoid; margin-bottom: 10px; box-shadow: none; }
  .card { box-shadow: none; }
  .tier-card.tier-high { background: #fff; color: var(--ink); border: 1px solid #000; }
  .tier-card.tier-high .tier-table td { border-color: #ccc; }
  .tier-card.tier-high .tier-tag,
  .tier-card.tier-high .tier-blurb,
  .tier-card.tier-high .tier-table td.num { color: var(--ink-3); }
  .quote-tiers { display: block; }
  a[href]::after { content: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .site-nav { display: none; }
  .head-actions { margin-left: auto; }
  .hero-grid, .tiers-wrap, .bid-wrap, .request-band { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { height: 380px; max-width: 560px; }
  .tiers-copy, .bid-head { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; grid-row: auto; }
  .gallery-item:first-child img { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .admin-grid-2, .admin-grid-2.editor-top { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-bar-inner { flex-wrap: wrap; gap: 0.4rem 1rem; padding: 0.4rem 0; }
  .admin-nav {
    display: flex;
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav a { white-space: nowrap; padding: 0.45rem 0.7rem; }
  .admin-bar-actions { margin-left: auto; }
  .quote-tiers { grid-template-columns: 1fr; }
  .approve-form { grid-template-columns: 1fr; }
  .approve-form .field:nth-child(4), .approve-form .btn, .approve-form .fineprint { grid-column: auto; }
}
@media (max-width: 680px) {
  .head-phone { display: none; }
  .logo { height: 54px; }
  .hero-proof { gap: 1.2rem; }
  .hero-proof strong { font-size: 1.35rem; }
  .strip-inner { overflow-x: auto; }
  .strip-inner p { white-space: nowrap; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .tier-cards { grid-template-columns: 1fr; }
  .field-row, .two-col { grid-template-columns: 1fr; }
  /* Rate and total collide in a 390px card; qty and total are the useful pair. */
  .tier-table th:nth-child(3), .tier-table td:nth-child(3) { display: none; }
  .tier-table td:first-child { padding-right: 0.6rem; }
  .tier-table th.num:last-child, .tier-table td.num:last-child { padding-left: 0.75rem; }
  .change-cells { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .kpi-grid, .kpi-grid.kpi-3 { grid-template-columns: repeat(2, 1fr); }
  .kpi { padding: 0.9rem 0.95rem; }
  .kpi strong { font-size: 1.7rem; }
  .quote-total-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .editor-bar { flex-direction: column; align-items: stretch; }
  .admin-brand span { display: none; }
  .addon-price { display: none; }
}
