/* === ALASKA LOG FURNISHINGS — workshop-raw direction === */

:root {
  /* Paper palette (default) */
  --bg:        #f4efe6;
  --bg-2:      #ece5d6;
  --ink:       #1c1814;
  --ink-2:     #4a3f33;
  --muted:     #847462;
  --line:      #1c181433;
  --line-soft: #1c18141a;
  --accent:    #b14a23;      /* warm rust */
  --accent-2:  #6b3a1c;
  --card:      #fbf8f1;

  --font-mono: "IBM Plex Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;
  --font-serif:"Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Space Grotesk", system-ui, sans-serif;

  --head-font: var(--font-mono); /* tweakable */

  --maxw: 1380px;
  --pad-x: clamp(20px, 4vw, 56px);
  --gap: clamp(60px, 8vw, 120px);
}

/* Tweak: dark spruce palette */
[data-palette="dark"] {
  --bg:        #131311;
  --bg-2:      #1b1b18;
  --ink:       #f1ece1;
  --ink-2:     #cbbfa6;
  --muted:     #8a8170;
  --line:      #f1ece133;
  --line-soft: #f1ece11a;
  --accent:    #e08658;
  --accent-2:  #f1ece1;
  --card:      #1b1b18;
}

/* Tweak: cool slate palette */
[data-palette="cool"] {
  --bg:        #eef0ee;
  --bg-2:      #e2e6e2;
  --ink:       #14181a;
  --ink-2:     #3a4347;
  --muted:     #6b7479;
  --line:      #14181a33;
  --line-soft: #14181a14;
  --accent:    #2f5d4a;
  --accent-2:  #14181a;
  --card:      #f6f7f5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* === Typography === */
.h-display {
  font-family: var(--head-font);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(40px, 7vw, 96px);
  margin: 0;
  text-wrap: balance;
}
[data-head-font="grotesk"] .h-display { letter-spacing: -0.03em; font-weight: 600; }
[data-head-font="serif"] .h-display { font-family: var(--font-serif); font-weight: 500; font-style: italic; letter-spacing: -0.01em; }

.h-section {
  font-family: var(--head-font);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
[data-head-font="serif"] .h-section { font-family: var(--font-serif); font-weight: 500; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.mono-label--ink { color: var(--ink); }

.serif-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* === Layout === */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: clamp(56px, 7vw, 110px); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 80px); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 70ch;
  padding-bottom: clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.section-head__sub { color: var(--muted); max-width: 60ch; margin: 0; }
.section-head__sub .em { color: var(--ink); }

.divider {
  height: 1px; background: var(--line); border: 0;
}

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  display: flex; align-items: center; gap: 24px;
  padding-block: 14px;
}
.nav__brand {
  font-family: var(--font-mono);
  font-weight: 600; letter-spacing: 0.02em;
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
}
.nav__brand .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 1px; }
.nav__brand .est { color: var(--muted); font-weight: 400; }
.nav__links { display: flex; gap: 22px; margin-left: 18px; flex: 1; }
.nav__links a { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); transition: color .15s; }
.nav__links a:hover { color: var(--accent); }
.nav__phone { font-size: 12px; letter-spacing: 0.08em; }
.nav__phone .label { color: var(--muted); margin-right: 8px; }
.nav__cta {
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px;
  transition: background .15s;
}
.nav__cta:hover { background: var(--accent); color: #fff; }
.nav__hamburger { display: none; }
@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__hamburger { display: block; margin-left: auto; }
}

/* === Hero === */
.hero { position: relative; overflow: hidden; }
.hero__media {
  position: relative;
  height: clamp(560px, 80vh, 820px);
  width: 100%;
  background: #000;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.94;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.05) 50%, rgba(0,0,0,.65) 100%);
}
.hero__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 4vw, 64px) var(--pad-x);
  color: #f7f1e3;
}
.hero__top { display: flex; justify-content: space-between; gap: 24px; }
.hero__top .mono-label { color: #f7f1e3cc; }
.hero__bot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 4vw, 80px);
  align-items: end;
}
@media (max-width: 760px) { .hero__bot { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; text-wrap: balance; }
.hero h1 em { font-style: normal; color: #ffd9aa; }
.hero__sub { color: #f7f1e3cc; max-width: 56ch; font-size: 15px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500;
  border: 1px solid currentColor;
  border-radius: 2px;
  transition: all .15s;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { color: #fff; border-color: #ffffff66; }
.btn--ghost:hover { background: #ffffff14; border-color: #fff; }
.btn--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--ink:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero ticker */
.hero__ticker {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid #ffffff33; margin-top: 18px;
}
.hero__ticker > div { display: flex; flex-direction: column; gap: 2px; }
.hero__ticker .v { font-size: 14px; font-weight: 500; color: #fff; }
.hero__ticker .k { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #f7f1e399; }

/* === Process === */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 920px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }
.process__step {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.process__num { font-size: 11px; letter-spacing: 0.14em; color: var(--accent); font-weight: 500; }
.process__title { font-size: 20px; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.process__body { color: var(--ink-2); font-size: 13.5px; }

/* === Filter bar / Work grid === */
.filterbar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.filterbar button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
  background: transparent;
  transition: all .15s;
}
.filterbar button:hover { color: var(--ink); border-color: var(--ink); }
.filterbar button.is-active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}
.work-card {
  position: relative;
  display: flex; flex-direction: column;
  grid-column: span 4;
  cursor: pointer;
  background: var(--card);
}
.work-card--wide { grid-column: span 8; }
.work-card--tall { grid-column: span 6; }
@media (max-width: 900px) {
  .work-card, .work-card--wide, .work-card--tall { grid-column: span 6; }
}
@media (max-width: 560px) {
  .work-card, .work-card--wide, .work-card--tall { grid-column: span 12; }
}
.work-card__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-2);
}
.work-card--wide .work-card__img { aspect-ratio: 8/5; }
.work-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease, filter .3s;
}
.work-card:hover .work-card__img img { transform: scale(1.03); }

/* Hover scrim so the inquire button reads against any photo */
.work-card__img::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.45));
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.work-card:hover .work-card__img::after { opacity: 1; }
@media (hover: none) {
  .work-card__img::after { opacity: 1; }
}

.work-card__inquire {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  padding: 11px 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .15s;
  pointer-events: none; /* card click goes to lightbox unless on the button itself */
}
.work-card:hover .work-card__inquire,
.work-card:focus-within .work-card__inquire {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.work-card__inquire:hover { background: var(--accent-2); }

/* On touch devices, keep button always visible so it's tappable */
@media (hover: none) {
  .work-card__inquire {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}
.work-card__meta {
  padding: 14px 4px 4px;
  display: flex; flex-direction: column; gap: 4px;
}
.work-card__cat { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.work-card__title { font-size: 16px; font-weight: 500; }
.work-card__row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; color: var(--ink-2);
}
.work-card__price { color: var(--accent); font-weight: 500; }

/* === Lightbox === */
.lb-back {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15,12,9,.93);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fade .2s ease;
}
.lb {
  width: min(1200px, 96vw);
  background: var(--bg);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  max-height: 90vh;
}
@media (max-width: 820px) {
  .lb { grid-template-columns: 1fr; max-height: 94vh; overflow-y: auto; }
}
.lb__img { background: #000; overflow: hidden; }
.lb__img img { width: 100%; height: 100%; max-height: 90vh; object-fit: cover; }
.lb__body { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.lb__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  border: 1px solid #ffffff66;
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.lb__close:hover { background: #fff; color: #000; }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 13px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.price-card h3 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.price-card .rows { display: flex; flex-direction: column; gap: 6px; }
.price-card .row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13.5px;
}
.price-card .row:last-child { border-bottom: 0; }
.price-card .row .lhs { color: var(--ink-2); }
.price-card .row .rhs { font-weight: 600; color: var(--accent); white-space: nowrap; }
.price-card .row .rhs--cta {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: right;
  transition: color .15s, transform .15s;
}
.price-card .row .rhs--cta:hover { color: var(--accent-2); transform: translateX(2px); }

/* === Testimonials === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
@media (max-width: 760px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--card);
  border-left: 2px solid var(--accent);
  padding: clamp(22px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.testimonial__quote::before { content: "“"; color: var(--accent); margin-right: 2px; }
.testimonial__quote::after { content: "”"; color: var(--accent); margin-left: 2px; }
.testimonial__cite { display: flex; flex-direction: column; gap: 2px; }
.testimonial__name { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.testimonial__place { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

/* === Delivery banner === */
.delivery {
  background: var(--ink);
  color: var(--bg);
}
[data-palette="dark"] .delivery { background: var(--bg-2); }
.delivery__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 100px);
}
@media (max-width: 760px) { .delivery__inner { grid-template-columns: 1fr; } }
.delivery__inner .mono-label { color: var(--bg); opacity: .55; }
.delivery h2 { color: var(--bg); }
.delivery p { color: var(--bg); opacity: .8; }
.delivery .partner {
  border: 1px dashed var(--bg);
  padding: 22px;
  margin-top: 18px;
  background: rgba(255,255,255,.04);
}
.delivery .partner .mono-label { opacity: .9; color: var(--accent); }
.delivery .partner h4 { margin: 8px 0 6px; font-size: 18px; font-weight: 500; }
.delivery .partner p { font-size: 13.5px; }

/* === About === */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-grid p { font-size: 15px; color: var(--ink-2); margin: 0 0 14px; }
.about-grid p strong { color: var(--ink); font-weight: 500; }

/* === Footer === */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(48px, 6vw, 80px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 12px; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.footer ul a:hover { color: var(--accent); }
.footer__brand .h-display { font-size: 28px; margin-bottom: 14px; }
.footer__bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; color: var(--muted); letter-spacing: 0.06em;
}
.footer__login {
  margin-top: 16px;
  text-align: right;
}
.footer__login-link {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 8px;
  margin: -4px -8px;
  border-radius: 2px;
  transition: color .15s;
}
.footer__login-link:hover { color: var(--accent); }
@media (max-width: 460px) {
  .footer__login { text-align: left; }
}

/* === Admin portal === */
.modal.admin { width: min(1080px, 96vw); max-height: 92vh; }
.admin__tabs {
  display: flex; gap: 4px; align-items: center;
  padding: 10px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.admin__tab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 2px;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s, background .15s;
}
.admin__tab:hover { color: var(--ink); }
.admin__tab.is-on { background: var(--ink); color: var(--bg); }
.admin__count {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  border-radius: 999px;
  padding: 1px 7px;
  letter-spacing: 0;
}
.admin__logout {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
}
.admin__logout:hover { color: var(--accent); }

.admin__body { padding: 0 !important; }
.admin__pane {
  padding: clamp(20px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  max-height: calc(92vh - 130px);
  overflow-y: auto;
}
.admin__title { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.admin__sub { margin: -4px 0 4px; color: var(--ink-2); font-size: 13.5px; max-width: 60ch; }
.admin__hint {
  margin: 8px 0 0; font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em;
}
.admin__hint code, .admin__hint strong { color: var(--ink); }
.admin__hint code {
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 2px;
  font-family: var(--font-mono);
}
.admin__err {
  padding: 10px 14px;
  background: #b14a2318;
  border-left: 3px solid var(--accent);
  font-size: 12.5px;
  color: var(--ink);
}
.admin__ok {
  padding: 10px 14px;
  background: #2f5d4a18;
  border-left: 3px solid #2f5d4a;
  font-size: 12.5px;
  color: var(--ink);
}
.admin__demo {
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed var(--line);
  background: var(--bg-2);
}
.admin__demo-bar {
  background: #b14a23;
  color: #fff;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.admin__demo-bar code {
  background: rgba(0,0,0,.25);
  padding: 1px 6px;
  border-radius: 2px;
  margin: 0 2px;
}
.admin__code {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
  background: var(--bg);
  padding: 8px 14px;
  border-radius: 2px;
}
.admin__actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.admin__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-decoration: underline;
}
.admin__link:hover { color: var(--accent); }
.admin__readonly {
  margin-top: 8px;
  padding: 14px;
  background: var(--bg-2);
  border-radius: 2px;
}
.admin__section-divider {
  margin: 18px 0 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
}

/* Inbox */
.admin__inbox {
  display: grid;
  grid-template-columns: 320px 1fr;
  padding: 0;
  max-height: calc(92vh - 130px);
}
@media (max-width: 760px) {
  .admin__inbox { grid-template-columns: 1fr; }
}
.admin__list {
  border-right: 1px solid var(--line-soft);
  overflow-y: auto;
  max-height: calc(92vh - 130px);
}
.admin__list-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; background: var(--bg); z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
}
.admin__refresh {
  font-size: 11px;
  letter-spacing: 0.04em;
}
.admin__row-local {
  font-size: 10px;
  color: var(--accent);
  margin-left: 6px;
  letter-spacing: 0.06em;
}
.admin__empty {
  padding: 32px;
  color: var(--muted);
  text-align: center;
}
.admin__row {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12.5px;
  transition: background .15s;
  cursor: pointer;
}
.admin__row:hover { background: var(--bg-2); }
.admin__row.is-on { background: var(--bg-2); border-left: 3px solid var(--accent); padding-left: 15px; }
.admin__row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.admin__row-name { font-weight: 600; color: var(--ink); }
.admin__row-status {
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.admin__row.status-new .admin__row-status { color: var(--accent); border-color: var(--accent); }
.admin__row.status-replied .admin__row-status { color: #2f5d4a; border-color: #2f5d4a; }
.admin__row.status-won .admin__row-status { background: #2f5d4a; color: #fff; border-color: #2f5d4a; }
.admin__row.status-archived .admin__row-status { opacity: .5; }
.admin__row-bot {
  display: flex; justify-content: space-between; margin-top: 4px;
  color: var(--muted); font-size: 11px;
}
.admin__row-id { font-family: var(--font-mono); }

.admin__detail {
  overflow-y: auto;
  max-height: calc(92vh - 130px);
}
.admin__detail-inner { padding: clamp(20px, 3vw, 32px); }
.admin__detail-head {
  display: flex; justify-content: space-between; gap: 16px;
  align-items: flex-start;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.admin__status-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.admin__refs { display: flex; gap: 8px; flex-wrap: wrap; }
.admin__ref {
  width: 80px;
  display: flex; flex-direction: column; gap: 4px;
}
.admin__ref img {
  width: 80px; height: 80px; object-fit: cover;
  border: 1px solid var(--line-soft);
}
.admin__ref span { font-size: 10px; color: var(--muted); }
.admin__desc {
  white-space: pre-wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  padding: 14px;
  background: var(--bg-2);
  border-radius: 2px;
  margin: 0;
  color: var(--ink);
}
.admin__detail-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft);
}

/* === Request Modal === */
.modal-back {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(15,12,9,.88);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fade .2s ease;
}
.modal {
  width: min(820px, 96vw);
  max-height: 92vh;
  background: var(--bg);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line-soft);
}
.modal__head h3 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -0.005em; }
.modal__close { width: 36px; height: 36px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.modal__close:hover { background: var(--ink); color: var(--bg); }
.modal__steps {
  display: flex; gap: 6px; padding: 16px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line-soft);
}
.modal__steps .step {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding-block: 6px;
}
.modal__steps .step.is-active { color: var(--accent); }
.modal__steps .step.is-done { color: var(--ink); }
.modal__steps .step .n {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.modal__steps .step.is-active .n { background: var(--accent); color: #fff; border-color: var(--accent); }
.modal__steps .step.is-done .n { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.modal__body { padding: clamp(20px, 3vw, 32px); overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.modal__foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 16px clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line-soft);
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-field .req { color: var(--accent); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 11px 14px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  transition: border .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--accent); }
.form-field textarea { min-height: 90px; resize: vertical; font-family: var(--font-mono); }
.form-field .hint { font-size: 11px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 13px;
  border: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.04em;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.pickerb {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}
@media (max-width: 600px) { .pickerb { grid-template-columns: repeat(3, 1fr); } }
.picker-card {
  position: relative;
  aspect-ratio: 4/5; overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--bg-2);
}
.picker-card img { width: 100%; height: 100%; object-fit: cover; }
.picker-card.is-on { border-color: var(--accent); }
.picker-card.is-on::after {
  content: "✓"; position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.picker-card span {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
  color: #fff; padding: 18px 10px 8px;
  font-size: 10px; letter-spacing: 0.04em;
}

.upload {
  border: 1px dashed var(--line);
  padding: 26px;
  display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center;
  text-align: center;
  background: var(--card);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.upload:hover { border-color: var(--accent); background: var(--bg-2); }
.upload .big { font-size: 18px; font-weight: 500; }
.upload .small { font-size: 12px; color: var(--muted); }
.upload input { display: none; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img { width: 56px; height: 56px; object-fit: cover; }

.success {
  text-align: center;
  padding: 40px 20px;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.success .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* === Density (tweak) === */
[data-density="compact"] .section { padding-block: clamp(40px, 5vw, 80px); }
[data-density="compact"] .work-card__img { aspect-ratio: 1/1; }
[data-density="compact"] .hero__media { height: clamp(440px, 65vh, 640px); }

/* Hero variant: showroom instead of bed */
.hero[data-variant="cabin"] .hero__media img,
.hero[data-variant="showroom"] .hero__media img {
  object-position: center;
}

/* Floating CTA */
.fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  background: var(--accent); color: #fff;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .15s, background .15s;
}
.fab:hover { background: var(--accent-2); transform: translateY(-2px); }
@media (max-width: 600px) { .fab { bottom: 16px; right: 16px; padding: 12px 14px; } }

/* === Mobile menu === */
.menu-burger {
  display: flex; flex-direction: column; gap: 5px;
  width: 28px; padding: 8px 0;
}
.menu-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 50;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 80px var(--pad-x) 40px;
  animation: fade .15s ease;
}
.mobile-menu a {
  font-size: 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: -0.01em;
  font-weight: 500;
}
.mobile-menu__phone { margin-top: auto; }
.mobile-menu .close {
  position: absolute; top: 18px; right: var(--pad-x);
  font-size: 24px;
}

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* Focus ring */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
