:root {
  --ink: #0f1412;
  --muted: #69706b;
  --line: #d9d6ce;
  --paper: #f2f1ed;
  --stone: #e2e6de;
  --wood: #a77f49;
  --white: #fbfaf6;
  --forest: #17352b;
  --clay: #8f4f39;
  --shadow: 0 24px 70px rgba(15, 20, 18, 0.18);
  --font-sans: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-display: "SF Pro Display", Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Bodoni 72", Didot, Georgia, "Times New Roman", serif;
  --font-number: "Bodoni 72", Didot, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 246, 0.9);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(15, 20, 18, 0.08);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 58px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.quote-header .brand {
  color: var(--ink);
}

.quote-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.quote-page {
  background: #eef1ed;
}

.quote-estimator {
  min-height: calc(100vh - 95px);
}

.quote-estimator h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
}

.brand {
  width: 86px;
  height: 58px;
  display: flex;
  align-items: center;
}

.brand img,
.footer img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: contrast(1.08);
}

.site-header:not(.is-scrolled) .brand img {
  filter: invert(1) brightness(1.8) contrast(1.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.nav a,
.header-cta {
  opacity: 0.86;
  transition: opacity 180ms ease;
}

.nav a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  justify-self: end;
  border: 1px solid currentColor;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #171512;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.84), rgba(18, 17, 15, 0.36) 48%, rgba(18, 17, 15, 0.08)),
    linear-gradient(0deg, rgba(18, 17, 15, 0.55), rgba(18, 17, 15, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 160px clamp(22px, 7vw, 96px) 150px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--wood);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.02;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(52px, 8vw, 104px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 64px);
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.16;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 400;
  line-height: 1.72;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.primary {
  background: var(--white);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(255, 253, 248, 0.55);
  color: var(--white);
}

.button.primary.dark {
  background: var(--forest);
  color: var(--white);
}

.button.secondary.dark {
  border-color: rgba(15, 20, 18, 0.32);
  color: var(--ink);
}

.hero-stats {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  border: 1px solid rgba(255, 253, 248, 0.22);
  background: rgba(18, 17, 15, 0.34);
  backdrop-filter: blur(18px);
  color: var(--white);
}

.hero-stats div {
  min-height: 94px;
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 253, 248, 0.18);
}

.hero-stats div:first-child {
  border-left: 0;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-family: var(--font-number);
  font-size: 24px;
  line-height: 1.1;
}

.hero-stats span {
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 13px;
}

.intro {
  padding: clamp(58px, 8vw, 110px) clamp(22px, 8vw, 120px);
  background: var(--white);
}

.intro p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(23px, 3vw, 39px);
  font-weight: 300;
  line-height: 1.45;
}

.section {
  padding: clamp(64px, 9vw, 126px) clamp(22px, 7vw, 96px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-note {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.44);
}

.service-grid span,
.timeline span {
  display: inline-block;
  margin-bottom: 62px;
  color: var(--wood);
  font-family: var(--font-number);
  font-size: 18px;
}

.service-grid p,
.timeline p,
.work-copy,
.pricing-copy,
.category-grid p,
.category-grid li,
.example-grid p,
.portal-card p,
.miniapp-copy p,
.contact p,
.footer {
  color: var(--muted);
}

.pricing {
  background: var(--ink);
  color: var(--white);
}

.pricing .section-heading h2 {
  color: var(--white);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.pricing-copy {
  color: rgba(255, 253, 248, 0.7);
  font-size: 18px;
}

.pricing-copy p {
  margin-bottom: 34px;
}

.promise-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 253, 248, 0.18);
}

.promise-grid div {
  padding: 22px;
  background: rgba(255, 253, 248, 0.06);
}

.promise-grid strong,
.promise-grid span {
  display: block;
}

.promise-grid strong {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 18px;
}

.promise-grid span {
  color: rgba(255, 253, 248, 0.62);
  font-size: 14px;
}

.price-board {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.price-board-header {
  padding: clamp(24px, 4vw, 38px);
  border-bottom: 1px solid var(--line);
}

.price-board-header span {
  display: block;
  margin-bottom: 10px;
  color: var(--wood);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.price-board-header strong {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.08;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 20px clamp(22px, 4vw, 38px);
  border-bottom: 1px solid var(--line);
}

.price-row span {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

.price-row strong {
  font-family: var(--font-number);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
  white-space: nowrap;
}

.muted-row {
  background: #f3eee6;
}

.price-note {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 4vw, 38px);
}

.price-note strong {
  font-size: 22px;
}

.price-note span {
  color: var(--muted);
  font-size: 16px;
}

.estimator {
  background: #eef1ed;
}

.estimator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.estimate-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid #cfd7cf;
}

.estimate-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfd7cf;
  background: #fbfcf8;
  color: var(--ink);
  padding: 0 15px;
  font: inherit;
}

.estimate-form textarea {
  padding-top: 14px;
  resize: vertical;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  border-color: #607b65;
  outline: none;
}

.form-feedback {
  min-height: 24px;
  margin: -4px 0 0;
  color: #607b65;
  font-size: 14px;
  font-weight: 700;
}

.form-feedback[data-tone="error"] {
  color: #9d392d;
}

.estimate-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.estimate-result {
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 50px);
  background: #21352a;
  color: var(--white);
  box-shadow: 0 28px 80px rgba(33, 53, 42, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.estimate-result.is-saved {
  transform: translateY(-4px);
  box-shadow: 0 36px 90px rgba(33, 53, 42, 0.3);
}

.estimate-result > span {
  color: rgba(255, 253, 248, 0.66);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.estimate-result > strong {
  display: block;
  font-family: var(--font-number);
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1;
}

.estimate-result p {
  margin: 0;
  color: rgba(255, 253, 248, 0.74);
  font-size: 17px;
}

.estimate-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 253, 248, 0.2);
}

.estimate-metrics div {
  padding: 18px;
  background: rgba(255, 253, 248, 0.08);
}

.estimate-metrics strong,
.estimate-metrics span {
  display: block;
}

.estimate-metrics strong {
  margin-bottom: 8px;
  font-size: 26px;
}

.estimate-metrics span {
  color: rgba(255, 253, 248, 0.62);
  font-size: 13px;
}

.estimate-next {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  padding-top: 20px;
}

.estimate-next[hidden] {
  display: none;
}

.estimate-next strong,
.estimate-next span,
.estimate-next a {
  display: block;
}

.estimate-next span {
  font-family: var(--font-number);
  font-size: 28px;
  line-height: 1;
}

.estimate-next a {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.categories {
  background: var(--paper);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.category-grid article {
  min-height: 430px;
  padding: clamp(30px, 5vw, 58px);
  background: var(--white);
}

.category-label,
.example-grid span,
.portal-card span,
.app-kicker {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--wood);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-grid h3 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.08;
}

.category-grid p {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: 17px;
}

.category-grid ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.category-grid li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
}

.category-grid li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--wood);
  content: "";
}

.examples {
  background: var(--white);
}

.example-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, minmax(0, 0.75fr));
  gap: 1px;
  background: var(--line);
}

.example-grid article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
}

.featured-example {
  grid-row: span 2;
  padding: 0;
}

.featured-example img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.featured-example div {
  padding: clamp(24px, 3vw, 36px);
}

.example-grid span {
  margin-bottom: 42px;
}

.featured-example span {
  margin-bottom: 18px;
}

.example-grid h3 {
  max-width: 420px;
}

.miniapp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background: #171512;
  color: var(--white);
}

.saas {
  background: #f7f8f4;
}

.saas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #d4dbd2;
}

.saas-grid article {
  min-height: 290px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
}

.saas-grid span {
  display: inline-block;
  margin-bottom: 58px;
  color: #607b65;
  font-family: var(--font-number);
  font-size: 18px;
}

.saas-grid p {
  color: var(--muted);
}

.revenue-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: #d4dbd2;
}

.revenue-strip div {
  padding: clamp(22px, 3vw, 32px);
  background: #21352a;
  color: var(--white);
}

.revenue-strip strong,
.revenue-strip span {
  display: block;
}

.revenue-strip strong {
  margin-bottom: 10px;
  font-family: var(--font-number);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.revenue-strip span {
  color: rgba(255, 253, 248, 0.66);
  font-size: 14px;
}

.launch {
  background: var(--white);
}

.launch-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.launch-board article {
  display: grid;
  min-height: 360px;
  align-content: start;
  padding: clamp(26px, 4vw, 42px);
  background: #f7f8f4;
}

.launch-board span {
  margin-bottom: 48px;
  color: #607b65;
  font-size: 13px;
  font-weight: 800;
}

.launch-board p {
  color: var(--muted);
}

.launch-board strong {
  align-self: end;
  margin-top: 34px;
  color: var(--ink);
  font-size: 16px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
}

.metric-strip div {
  padding: 24px;
  background: var(--ink);
  color: var(--white);
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  margin-bottom: 8px;
  font-family: var(--font-number);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.metric-strip span {
  color: rgba(255, 253, 248, 0.66);
  font-size: 14px;
}

.miniapp-layout {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

.miniapp-copy h2 {
  max-width: 760px;
  margin-bottom: 22px;
}

.miniapp-copy p {
  max-width: 760px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 17px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 253, 248, 0.22);
}

.portal-card {
  min-height: 290px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(255, 253, 248, 0.16);
  transition: background 180ms ease, transform 180ms ease;
}

.portal-card:hover {
  background: rgba(255, 253, 248, 0.1);
  transform: translateY(-3px);
}

.portal-card span {
  margin-bottom: 48px;
}

.portal-card h3 {
  color: var(--white);
}

.portal-card p {
  min-height: 78px;
  color: rgba(255, 253, 248, 0.66);
}

.portal-card strong {
  display: inline-flex;
  margin-top: 18px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.42);
  padding-bottom: 6px;
  font-size: 14px;
}

.entry-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.3);
  color: rgba(255, 253, 248, 0.72);
  font-family: var(--font-number);
  font-size: 18px;
}

.app-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 340px);
  padding: 13px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.2), rgba(255, 253, 248, 0.04));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.3);
}

.phone-top {
  width: 82px;
  height: 5px;
  margin: 8px auto 14px;
  background: rgba(255, 253, 248, 0.28);
}

.app-screen {
  min-height: 520px;
  padding: 30px 24px;
  background: var(--white);
  color: var(--ink);
}

.app-screen h3 {
  margin-bottom: 40px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.1;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.progress-row strong {
  color: var(--ink);
  font-size: 22px;
}

.progress-bar {
  height: 8px;
  margin-bottom: 34px;
  background: var(--stone);
}

.progress-bar span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--wood);
}

.app-list {
  display: grid;
  gap: 13px;
}

.app-list div {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 12px;
  background: #f1ece3;
}

.app-list span {
  width: 10px;
  height: 10px;
  background: var(--wood);
}

.app-list p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.work {
  background: var(--stone);
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.work-image {
  box-shadow: var(--shadow);
}

.work-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-copy {
  font-size: 17px;
}

.work-copy p {
  margin-bottom: 26px;
}

.work-copy ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.process {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.timeline div {
  min-height: 250px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
}

.timeline span {
  margin-bottom: 50px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: clamp(54px, 8vw, 96px) clamp(22px, 7vw, 96px);
  background: var(--ink);
  color: var(--white);
}

.contact h2 {
  margin-bottom: 18px;
}

.contact p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.68);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 7vw, 96px);
  background: var(--white);
  font-size: 14px;
}

.footer img {
  width: 72px;
}

.footer p {
  margin: 0;
}

.login-page {
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(18, 17, 15, 0.88), rgba(18, 17, 15, 0.5)),
    url("assets/hero-renovation.png") center / cover;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(280px, 390px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(22px, 5vw, 72px);
}

.login-logo {
  position: fixed;
  top: 24px;
  left: clamp(22px, 5vw, 72px);
  width: 78px;
  background: transparent;
  padding: 0;
}

.login-logo img {
  width: 100%;
  filter: invert(1) brightness(1.7) contrast(1.08);
}

.login-panel {
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 66px);
}

.login-copy {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 17px;
}

.login-form {
  display: grid;
  gap: 18px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.login-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 15px;
  font: inherit;
}

.login-form input:focus {
  border-color: var(--wood);
  outline: none;
}

.login-form .button {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
}

.login-note {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.login-note strong {
  display: block;
  margin-bottom: 8px;
}

.login-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.progress-preview {
  align-self: center;
}

.progress-preview .app-screen {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.crew-list {
  margin-top: 34px;
}

.admin-page {
  background: var(--paper);
}

.admin-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(30px, 5vw, 64px) clamp(22px, 7vw, 96px);
  background: var(--ink);
  color: var(--white);
}

.admin-header h1 {
  margin-bottom: 0;
  font-size: clamp(40px, 6vw, 68px);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-actions.small {
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.admin-shell {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 5vw, 58px) clamp(22px, 7vw, 96px);
}

.admin-shell.is-locked {
  display: none;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 42px) clamp(22px, 7vw, 96px);
  background: #f3eee6;
  border-bottom: 1px solid var(--line);
}

.admin-login.is-hidden {
  display: none;
}

.admin-login h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 52px);
}

.admin-login p {
  color: var(--muted);
}

.admin-login-box {
  display: grid;
  gap: 12px;
}

.admin-login-box input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 14px 16px;
  font: inherit;
}

.admin-login-box p {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
}

.admin-panel {
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
}

.admin-panel h2 {
  margin-bottom: 24px;
  font-size: clamp(26px, 3vw, 38px);
}

.admin-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-guide {
  border-color: rgba(167, 127, 73, 0.36);
  background: #101512;
  color: var(--white);
}

.admin-guide h2 {
  color: var(--white);
}

.admin-guide p {
  max-width: 920px;
  margin: 22px 0 0;
  color: rgba(251, 250, 246, 0.68);
}

.admin-shortcuts h2 {
  margin-bottom: 18px;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.shortcut-grid a {
  display: grid;
  gap: 8px;
  min-height: 110px;
  align-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: #f3eee6;
  color: var(--ink);
}

.shortcut-grid strong,
.shortcut-grid span {
  display: block;
}

.shortcut-grid strong {
  font-size: 20px;
}

.shortcut-grid span {
  color: var(--muted);
  font-size: 13px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(251, 250, 246, 0.16);
}

.guide-grid div {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: rgba(251, 250, 246, 0.06);
}

.guide-grid strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(217, 176, 111, 0.46);
  color: #d9b06f;
  font-family: var(--font-number);
  font-size: 22px;
}

.guide-grid span {
  color: rgba(251, 250, 246, 0.86);
  font-weight: 700;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.panel-title-row h2 {
  margin-bottom: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-grid.compact {
  gap: 14px;
}

.admin-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.admin-panel input,
.admin-panel select,
.admin-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbf8f2;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}

.admin-panel textarea {
  resize: vertical;
}

.admin-panel input:focus,
.admin-panel select:focus,
.admin-panel textarea:focus {
  border-color: var(--wood);
  outline: none;
}

.admin-panel small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.admin-preview {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--stone);
}

.admin-list {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.admin-hint {
  display: flex;
  gap: 10px;
  margin: -8px 0 18px;
  padding: 14px 16px;
  background: #f3eee6;
  color: var(--muted);
  line-height: 1.55;
}

.admin-hint strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 180px) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #f3eee6;
}

.check-field {
  display: inline-flex;
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.check-field input {
  width: auto;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--wood);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.text-button.danger {
  color: #9d392d;
}

.example-admin-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: #f3eee6;
}

.example-admin-media {
  display: grid;
  align-content: start;
  gap: 12px;
}

.example-admin-media .admin-preview,
.example-admin-media .empty-state {
  min-height: 240px;
}

.album-admin-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.album-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.album-admin-thumb {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  background: var(--stone);
}

.album-admin-thumb img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
}

.album-admin-thumb button {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(251, 250, 246, 0.92);
  padding: 4px 7px;
  font-size: 12px;
}

.example-admin-fields {
  display: grid;
  gap: 16px;
}

.case-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-card-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card-title strong {
  display: inline-flex;
  border: 1px solid rgba(167, 127, 73, 0.48);
  padding: 5px 10px;
  color: var(--wood);
  font-size: 12px;
  line-height: 1;
}

.file-button {
  position: relative;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.lead-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  background: var(--line);
}

.lead-stats div {
  padding: 22px;
  background: #f3eee6;
}

.lead-stats strong,
.lead-stats span {
  display: block;
}

.lead-stats strong {
  margin-bottom: 8px;
  font-family: var(--font-number);
  font-size: 30px;
  line-height: 1;
}

.lead-stats span {
  color: var(--muted);
  font-size: 13px;
}

.lead-list {
  display: grid;
  gap: 12px;
}

.lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  gap: 18px;
  padding: 18px;
  background: #f8f4ed;
  border: 1px solid var(--line);
}

.lead-card h3 {
  margin-bottom: 8px;
}

.lead-card span,
.lead-card p {
  color: var(--muted);
}

.lead-card p {
  margin-bottom: 0;
}

.lead-card textarea,
.lead-meta select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.lead-card textarea {
  margin-top: 14px;
  resize: vertical;
}

.lead-card textarea:focus,
.lead-meta select:focus {
  border-color: var(--wood);
  outline: none;
}

.lead-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.lead-meta strong {
  font-family: var(--font-number);
  font-size: 28px;
  line-height: 1;
}

.lead-meta a {
  color: #607b65;
  font-weight: 800;
}

.empty-state {
  padding: 24px;
  background: #f3eee6;
  color: var(--muted);
}

.admin-help p {
  max-width: 850px;
  color: var(--muted);
}

.save-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.save-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    padding-bottom: 240px;
  }

  .hero-stats {
    right: 22px;
    left: 22px;
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid,
  .pricing-layout,
  .estimator-layout,
  .category-grid,
  .example-grid,
  .timeline,
  .work-layout,
  .miniapp,
  .saas-grid,
  .revenue-strip,
  .launch-board,
  .metric-strip,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .timeline div {
    min-height: 220px;
  }

  .featured-example {
    grid-row: auto;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .login-shell {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .progress-preview {
    display: none;
  }

  .admin-header,
  .field-grid,
  .guide-grid,
  .shortcut-grid,
  .lead-stats,
  .lead-card,
  .example-admin-card,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 16px;
    gap: 14px;
  }

  .quote-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    width: 64px;
    height: 48px;
  }

  .header-cta {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 17, 15, 0.84), rgba(18, 17, 15, 0.5)),
      linear-gradient(0deg, rgba(18, 17, 15, 0.62), rgba(18, 17, 15, 0));
  }

  .hero-content {
    padding: 124px 20px 245px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    bottom: 20px;
  }

  .hero-stats div {
    min-height: 70px;
    border-left: 0;
    border-top: 1px solid rgba(255, 253, 248, 0.18);
  }

  .hero-stats div:first-child {
    border-top: 0;
  }

  .section-heading {
    display: block;
  }

  .service-grid {
    border-left: 0;
  }

  .service-grid article {
    border-right: 0;
  }

  .category-grid ul {
    grid-template-columns: 1fr;
  }

  .estimate-contact-grid,
  .estimate-metrics {
    grid-template-columns: 1fr;
  }

  .lead-meta {
    justify-items: start;
    text-align: left;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  .portal-card {
    min-height: 240px;
  }

  .app-screen {
    min-height: 460px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Homepage refresh */
body {
  background:
    linear-gradient(180deg, rgba(23, 53, 43, 0.035), rgba(23, 53, 43, 0) 340px),
    #f2f1ed;
}

.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(10, 13, 12, 0.42), rgba(10, 13, 12, 0));
}

.site-header:not(.is-scrolled) .header-cta {
  background: rgba(251, 250, 246, 0.08);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled .header-cta {
  background: #17352b;
  border-color: #17352b;
  color: #fbfaf6;
}

body.is-about-visible .site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.74);
  color: #f6f7f4;
  box-shadow: none;
}

body.is-about-visible .site-header.is-scrolled .brand img {
  filter: invert(1) brightness(1.8) contrast(1.08);
}

body.is-about-visible .site-header.is-scrolled .header-cta {
  background: rgba(246, 247, 244, 0.08);
  border-color: rgba(246, 247, 244, 0.3);
  color: #f6f7f4;
}

.eyebrow {
  color: #a77f49;
}

h1,
h2 {
  letter-spacing: 0.01em;
}

.button.primary:hover,
.button.secondary:hover {
  background: #d9b06f;
  border-color: #d9b06f;
  color: #0f1412;
}

.nav {
  justify-content: center;
}

.brand,
.brand img {
  border-radius: 0;
}

.reno-hero {
  min-height: 96vh;
  align-items: center;
}

.reno-hero .hero-overlay {
  background:
    radial-gradient(circle at 70% 42%, rgba(167, 127, 73, 0.1), transparent 34%),
    linear-gradient(90deg, rgba(10, 13, 12, 0.9), rgba(10, 13, 12, 0.48) 48%, rgba(10, 13, 12, 0.16)),
    linear-gradient(0deg, rgba(10, 13, 12, 0.66), rgba(10, 13, 12, 0.04));
}

.reno-hero .hero-content {
  padding-bottom: 120px;
}

.hero-card-stack {
  position: absolute;
  right: clamp(18px, 6vw, 86px);
  bottom: clamp(26px, 7vw, 88px);
  z-index: 2;
  display: grid;
  width: min(360px, calc(100vw - 44px));
  gap: 10px;
}

.hero-card-stack article {
  padding: 18px;
  border: 1px solid rgba(242, 241, 237, 0.22);
  background: rgba(13, 24, 21, 0.54);
  color: var(--white);
  backdrop-filter: blur(18px);
  transform: translateY(0);
  transition: transform 180ms ease, background 180ms ease;
}

.hero-card-stack article:hover {
  background: rgba(23, 53, 43, 0.64);
  transform: translateY(-3px);
}

.hero-card-stack span,
.hero-card-stack small {
  display: block;
  color: rgba(255, 253, 248, 0.66);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card-stack strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.social-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #cfd5ce;
  border-bottom: 1px solid #cfd5ce;
}

.social-strip div {
  padding: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 30px);
  background: #fbfaf6;
}

.social-strip strong,
.social-strip span {
  display: block;
}

.social-strip strong {
  margin-bottom: 6px;
  font-size: clamp(18px, 2vw, 24px);
}

.social-strip span {
  color: #69706b;
  font-size: 14px;
}

.about-orbit {
  position: relative;
  min-height: auto;
  overflow: hidden;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  place-items: center;
  padding: clamp(92px, 11vw, 142px) clamp(22px, 6vw, 92px);
  background:
    linear-gradient(135deg, rgba(8, 13, 11, 0.96), rgba(16, 24, 20, 0.94)),
    url("assets/hero-renovation.png") center / cover;
  color: #f6f7f4;
  isolation: isolate;
}

.about-orbit::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 11, 0.88), rgba(8, 13, 11, 0.56)),
    repeating-linear-gradient(90deg, rgba(246, 247, 244, 0.04) 0 1px, transparent 1px 90px);
  content: "";
  pointer-events: none;
  z-index: 1;
}

.about-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: start;
  width: min(100%, 1200px);
  text-align: left;
}

.about-kicker {
  margin: 0 0 24px;
  color: rgba(246, 247, 244, 0.62);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy h2 {
  max-width: 860px;
  margin: 0;
  background: linear-gradient(180deg, #fff 8%, #9da29e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(46px, 6.6vw, 90px);
  font-weight: 650;
  line-height: 1.02;
}

.about-copy p:not(.about-kicker) {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(246, 247, 244, 0.6);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.68;
}

.about-proof {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 1200px);
}

.about-proof article {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(246, 247, 244, 0.14);
  border-radius: 8px;
  background: rgba(8, 13, 11, 0.62);
  box-shadow: inset 0 1px 0 rgba(246, 247, 244, 0.08);
  backdrop-filter: blur(14px);
}

.about-proof span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(217, 176, 111, 0.38);
  color: #d9b06f;
  font-weight: 900;
}

.about-proof h3 {
  margin: 28px 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
}

.about-proof p {
  margin: 0;
  color: rgba(246, 247, 244, 0.62);
  line-height: 1.72;
}

.about-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 34px;
  border: 1px solid rgba(246, 247, 244, 0.18);
  background: #0b0d0c;
  color: #f6f7f4;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 800;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.about-cta:hover {
  border-color: rgba(217, 176, 111, 0.56);
  background: #151917;
  transform: translateY(-2px);
}

[data-about-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1000ms cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1000ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.about-orbit.is-visible [data-about-reveal] {
  opacity: 1;
  transform: translateY(0);
}

.about-orbit.is-visible [data-about-reveal]:nth-child(2) {
  transition-delay: 120ms;
}

.about-orbit.is-visible [data-about-reveal]:nth-child(3) {
  transition-delay: 220ms;
}

.about-orbit.is-visible [data-about-reveal]:nth-child(4) {
  transition-delay: 320ms;
}

.device-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding: clamp(86px, 10vw, 132px) clamp(22px, 6vw, 92px);
  background:
    radial-gradient(circle at 78% 22%, rgba(217, 176, 111, 0.18), transparent 30%),
    linear-gradient(135deg, #101813, #060807);
  color: #fbfaf6;
  overflow: hidden;
}

.device-copy h2 {
  max-width: 9.5em;
  margin: 16px 0 22px;
  font-size: clamp(42px, 5.8vw, 82px);
  font-weight: 650;
  line-height: 0.98;
}

.device-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(251, 250, 246, 0.66);
  font-size: 18px;
  line-height: 1.8;
}

.device-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.device-tabs button {
  min-height: 42px;
  border: 1px solid rgba(217, 176, 111, 0.34);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.06);
  color: rgba(251, 250, 246, 0.8);
  padding: 0 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.device-tabs button:hover,
.device-tabs button:focus-visible,
.device-tabs button.is-active {
  border-color: #d9b06f;
  background: rgba(217, 176, 111, 0.18);
  color: #fff8e8;
  transform: translateY(-2px);
}

.device-stage {
  position: relative;
  min-height: 560px;
  perspective: 1400px;
}

.desktop-preview {
  position: absolute;
  inset: 46px 72px 30px 0;
  overflow: hidden;
  border: 1px solid rgba(251, 250, 246, 0.16);
  border-radius: 12px;
  background: #111813;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.38);
  transform: rotateX(2deg) rotateY(-8deg);
  transform-origin: center;
}

.browser-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(251, 250, 246, 0.1);
  background: rgba(251, 250, 246, 0.06);
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(251, 250, 246, 0.38);
}

.browser-bar em {
  margin-left: 12px;
  color: rgba(251, 250, 246, 0.42);
  font-size: 12px;
  font-style: normal;
}

.desktop-screen {
  min-height: calc(100% - 42px);
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(120deg, rgba(8, 13, 11, 0.76), rgba(8, 13, 11, 0.3)),
    url("assets/hero-renovation.png") center / cover;
  transition: background-position 500ms ease;
}

.screen-hero {
  max-width: 560px;
  min-height: 270px;
}

.screen-hero span,
.phone-screen span {
  display: block;
  color: #d9b06f;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-hero h3 {
  max-width: 9em;
  margin: 18px 0 18px;
  color: #fffdf8;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 650;
  line-height: 0.98;
}

.screen-hero p {
  max-width: 520px;
  color: rgba(251, 250, 246, 0.72);
  font-size: 17px;
  line-height: 1.72;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.screen-grid article {
  min-height: 104px;
  padding: 20px;
  border: 1px solid rgba(251, 250, 246, 0.14);
  border-radius: 8px;
  background: rgba(8, 13, 11, 0.66);
  backdrop-filter: blur(12px);
}

.screen-grid strong,
.screen-grid span {
  display: block;
}

.screen-grid strong {
  color: #fffdf8;
  font-size: 22px;
}

.screen-grid span {
  margin-top: 10px;
  color: rgba(251, 250, 246, 0.56);
}

.phone-preview {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(230px, 34vw);
  min-height: 430px;
  border: 1px solid rgba(251, 250, 246, 0.22);
  border-radius: 28px;
  background: #07100d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  padding: 12px;
  transform: rotateY(-11deg) translateY(8px);
}

.phone-status {
  width: 74px;
  height: 5px;
  margin: 6px auto 12px;
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.28);
}

.phone-screen {
  min-height: 382px;
  border-radius: 20px;
  padding: 22px 18px;
  background:
    linear-gradient(180deg, rgba(8, 13, 11, 0.4), rgba(8, 13, 11, 0.96)),
    url("assets/hero-renovation.png") center / cover;
}

.phone-screen h3 {
  margin: 14px 0;
  color: #fffdf8;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 600;
}

.phone-image {
  height: 136px;
  margin: 18px 0;
  border: 1px solid rgba(251, 250, 246, 0.14);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.12);
  box-shadow: inset 0 0 32px rgba(217, 176, 111, 0.12);
}

.phone-screen p {
  color: rgba(251, 250, 246, 0.66);
  line-height: 1.58;
}

.device-stage .desktop-screen,
.device-stage .phone-screen {
  transition: opacity 180ms ease, transform 180ms ease;
}

.device-stage.is-switching .desktop-screen,
.device-stage.is-switching .phone-screen {
  opacity: 0.64;
  transform: translateY(8px);
}

.cases-section {
  background:
    linear-gradient(180deg, #f3f1ea 0%, #fbfaf6 48%, #ece8de 100%);
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(180px, 0.25fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-top: clamp(20px, 4vw, 44px);
}

.project-tabs {
  display: grid;
  align-content: start;
  gap: 0;
  border-top: 1px solid rgba(15, 20, 18, 0.18);
}

.project-tabs button {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  border: 0;
  border-bottom: 1px solid rgba(15, 20, 18, 0.16);
  background: transparent;
  color: rgba(15, 20, 18, 0.62);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
  transition: color 180ms ease, padding-left 180ms ease;
}

.project-tabs button span {
  color: rgba(15, 20, 18, 0.36);
  font-size: 13px;
  font-weight: 900;
}

.project-tabs button:hover,
.project-tabs button.is-active {
  color: #0f1412;
  padding-left: 12px;
}

.project-tabs button.is-active {
  box-shadow: inset 4px 0 0 #a77f49;
}

.featured-project {
  position: relative;
  min-height: clamp(420px, 52vw, 650px);
  overflow: hidden;
  background:
    linear-gradient(135deg, #19231d 0%, #2c342b 56%, #0f1412 100%);
  isolation: isolate;
}

.featured-project img,
.featured-project__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.featured-project__image,
.project-card__image {
  background:
    linear-gradient(135deg, rgba(217, 176, 111, 0.22), transparent 42%),
    linear-gradient(160deg, #17352b 0%, #26342b 54%, #0f1412 100%);
}

.featured-project::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 7, 0.08) 0%, rgba(5, 8, 7, 0.2) 38%, rgba(5, 8, 7, 0.82) 100%);
  z-index: 1;
}

.featured-project__overlay {
  position: absolute;
  left: clamp(22px, 4vw, 54px);
  right: clamp(86px, 10vw, 150px);
  bottom: clamp(24px, 5vw, 58px);
  z-index: 2;
  color: #fbfaf6;
}

.featured-project__overlay span,
.project-card__body span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid currentColor;
  padding: 6px 11px;
  color: #d9b06f;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.featured-project__overlay h3 {
  max-width: 780px;
  margin-bottom: 14px;
  color: #fbfaf6;
  font-size: clamp(36px, 5vw, 74px);
  font-weight: 650;
  line-height: 1;
}

.featured-project__overlay p {
  max-width: 660px;
  color: rgba(251, 250, 246, 0.74);
  font-size: clamp(16px, 1.8vw, 21px);
}

.featured-project__arrow {
  position: absolute;
  right: clamp(22px, 4vw, 52px);
  bottom: clamp(24px, 5vw, 58px);
  z-index: 2;
  display: grid;
  width: clamp(54px, 7vw, 82px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(251, 250, 246, 0.7);
  border-radius: 50%;
  color: #fbfaf6;
  font-size: clamp(24px, 4vw, 40px);
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.project-card {
  overflow: hidden;
  background: #fbfaf6;
  border: 1px solid rgba(15, 20, 18, 0.12);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  border-color: rgba(167, 127, 73, 0.8);
  transform: translateY(-4px);
}

.project-card.is-hidden {
  display: none;
}

.project-card img,
.project-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
}

.project-card__body {
  min-height: 178px;
  padding: clamp(18px, 2.5vw, 28px);
}

.project-card__body h3 {
  color: #0f1412;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.08;
}

.project-card__body small {
  display: block;
  margin-top: 14px;
  color: rgba(15, 20, 18, 0.48);
  font-size: 12px;
  font-weight: 900;
}

.album-open-button {
  width: fit-content;
  min-height: 42px;
  margin-top: 22px;
  border: 1px solid rgba(251, 250, 246, 0.56);
  background: rgba(251, 250, 246, 0.1);
  color: #fbfaf6;
  padding: 0 18px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.project-modal[hidden] {
  display: none;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 52px);
  background: rgba(5, 8, 7, 0.84);
}

body.is-modal-open {
  overflow: hidden;
}

.project-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  width: min(1180px, 100%);
  max-height: min(760px, 92vh);
  overflow: hidden;
  background: #fbfaf6;
  color: #0f1412;
}

.project-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(251, 250, 246, 0.42);
  background: rgba(5, 8, 7, 0.38);
  color: #fbfaf6;
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  line-height: 1;
}

.project-modal__media {
  min-height: 460px;
  background: #101512;
}

.project-modal__media img {
  width: 100%;
  height: 100%;
  max-height: 92vh;
  object-fit: cover;
  display: block;
}

.project-modal__content {
  display: grid;
  align-content: end;
  padding: clamp(24px, 4vw, 48px);
}

.project-modal__content > span {
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid currentColor;
  padding: 6px 11px;
  color: #a77f49;
  font-size: 12px;
  font-weight: 900;
}

.project-modal__content h3 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.project-modal__content p {
  color: rgba(15, 20, 18, 0.64);
}

.project-modal__controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.project-modal__controls button {
  min-height: 42px;
  border: 1px solid rgba(15, 20, 18, 0.16);
  background: #17352b;
  color: #fbfaf6;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.project-modal__controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.project-modal__controls span {
  color: rgba(15, 20, 18, 0.54);
  font-size: 13px;
  font-weight: 900;
}

.room-light-section {
  --room-x: 56%;
  --room-y: 42%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  min-height: 720px;
  padding: clamp(82px, 10vw, 132px) clamp(22px, 6vw, 92px);
  background:
    radial-gradient(circle at 72% 42%, rgba(217, 176, 111, 0.14), transparent 34%),
    linear-gradient(135deg, #080d0b 0%, #111813 54%, #060807 100%);
  color: #fbfaf6;
  overflow: hidden;
}

.room-light-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--room-x) var(--room-y), rgba(255, 235, 190, 0.16), transparent 24%),
    linear-gradient(90deg, transparent, rgba(251, 250, 246, 0.035), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.room-light-section.is-visible::before {
  opacity: 1;
}

.room-light-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.room-light-section.is-visible .room-light-copy {
  opacity: 1;
  transform: translateY(0);
}

.room-light-copy h2 {
  max-width: 10em;
  margin: 16px 0 22px;
  font-size: clamp(42px, 5.6vw, 80px);
  line-height: 0.98;
  font-weight: 650;
}

.room-light-copy p:not(.eyebrow) {
  min-height: 108px;
  color: rgba(251, 250, 246, 0.68);
  font-size: 18px;
  line-height: 1.8;
  transition: opacity 180ms ease;
}

.room-light-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.room-light-tabs button {
  min-height: 42px;
  border: 1px solid rgba(217, 176, 111, 0.36);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.06);
  color: rgba(251, 250, 246, 0.78);
  padding: 0 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.room-light-tabs button:hover,
.room-light-tabs button:focus-visible,
.room-light-tabs button.is-active {
  border-color: #d9b06f;
  background: rgba(217, 176, 111, 0.18);
  color: #fff8e8;
  transform: translateY(-2px);
}

.room-light-home {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-height: 520px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(251, 250, 246, 0.035);
  background-size: 44px 44px;
  clip-path: none;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.34), 0 36px 120px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 900ms ease 120ms, transform 900ms cubic-bezier(0.215, 0.61, 0.355, 1) 120ms;
}

.room-light-section.is-visible .room-light-home {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.room-light-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1px solid rgba(217, 176, 111, 0.18);
  background:
    linear-gradient(145deg, rgba(251, 250, 246, 0.06), transparent 38%),
    radial-gradient(circle at 54% 46%, rgba(217, 176, 111, 0.16), transparent 38%);
  clip-path: polygon(50% 0, 94% 27%, 94% 100%, 6% 100%, 6% 27%);
  opacity: 0.95;
  pointer-events: none;
}

.room-light-home::after {
  content: "";
  position: absolute;
  inset: 14% 6% 0;
  z-index: 1;
  border-right: 1px solid rgba(217, 176, 111, 0.34);
  border-bottom: 1px solid rgba(217, 176, 111, 0.34);
  border-left: 1px solid rgba(217, 176, 111, 0.34);
  background:
    linear-gradient(90deg, rgba(217, 176, 111, 0.22) 0 1px, transparent 1px) 50% 0 / 1px 100% no-repeat,
    rgba(8, 13, 11, 0.18);
  clip-path: polygon(50% 0, 100% 23%, 100% 100%, 0 100%, 0 23%);
  pointer-events: none;
}

.home-cursor-light,
.home-scan-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-cursor-light {
  z-index: 6;
  background: radial-gradient(circle at var(--room-x) var(--room-y), rgba(255, 236, 188, 0.26), rgba(217, 176, 111, 0.08) 18%, transparent 38%);
  mix-blend-mode: screen;
  opacity: 0.7;
  transition: opacity 300ms ease;
}

.home-scan-lines {
  z-index: 7;
  background: repeating-linear-gradient(180deg, transparent 0 18px, rgba(251, 250, 246, 0.035) 19px 20px);
  opacity: 0.38;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

.home-chimney {
  position: absolute;
  top: 3%;
  right: 26%;
  z-index: 2;
  width: 42px;
  height: 82px;
  border: 1px solid rgba(217, 176, 111, 0.42);
  background: linear-gradient(180deg, rgba(217, 176, 111, 0.1), rgba(251, 250, 246, 0.018));
  transform: skewY(-8deg);
  pointer-events: none;
}

.home-roof {
  position: absolute;
  top: 0;
  left: 4%;
  z-index: 3;
  width: 92%;
  height: 36%;
  background:
    linear-gradient(145deg, rgba(217, 176, 111, 0.22), rgba(251, 250, 246, 0.025) 52%),
    repeating-linear-gradient(96deg, rgba(251, 250, 246, 0.07) 0 1px, transparent 1px 42px);
  clip-path: polygon(50% 0, 100% 76%, 92% 76%, 50% 12%, 8% 76%, 0 76%);
  opacity: 1;
  pointer-events: none;
}

.home-roof::before,
.home-roof::after {
  content: "";
  position: absolute;
  top: 37%;
  z-index: 2;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(217, 176, 111, 0.96), rgba(255, 248, 232, 0.28));
  box-shadow: 0 0 24px rgba(217, 176, 111, 0.28);
  transform-origin: right center;
}

.home-roof::before {
  left: 4%;
  transform: rotate(-31deg);
}

.home-roof::after {
  right: 4%;
  transform: rotate(31deg);
  transform-origin: left center;
}

.home-attic {
  position: absolute;
  top: 21%;
  left: 39%;
  z-index: 3;
  width: 22%;
  height: 18%;
  border: 1px solid rgba(217, 176, 111, 0.45);
  background: radial-gradient(circle at 50% 70%, rgba(217, 176, 111, 0.22), transparent 68%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.home-floor-line {
  position: absolute;
  left: 10%;
  right: 10%;
  z-index: 4;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 176, 111, 0.48), transparent);
  pointer-events: none;
}

.floor-main {
  top: 58%;
}

.floor-basement {
  top: 77%;
  opacity: 0.82;
  pointer-events: none;
}

.room-zone {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: end start;
  min-width: 0;
  border: 1px solid rgba(251, 250, 246, 0.14);
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 176, 111, 0), transparent 48%),
    linear-gradient(145deg, rgba(251, 250, 246, 0.035), rgba(251, 250, 246, 0.01));
  color: rgba(251, 250, 246, 0.46);
  padding: 18px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  overflow: hidden;
  transition:
    background 900ms cubic-bezier(0.215, 0.61, 0.355, 1),
    border-color 700ms ease,
    color 500ms ease,
    box-shadow 900ms ease,
    transform 500ms ease;
}

.room-zone::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 188, 0.42), rgba(217, 176, 111, 0.12) 42%, transparent 70%);
  filter: blur(18px);
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.room-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.16), transparent 48%);
  opacity: 0;
  transition: opacity 700ms ease;
}

.room-zone span {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-zone em {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 14em;
  margin-top: 8px;
  color: rgba(251, 250, 246, 0.54);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms ease, transform 500ms ease, color 500ms ease;
}

.room-zone:hover,
.room-zone:focus-visible,
.room-zone.is-active {
  border-color: rgba(217, 176, 111, 0.72);
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 176, 111, 0.28), rgba(217, 176, 111, 0.08) 38%, rgba(251, 250, 246, 0.035) 72%),
    linear-gradient(145deg, rgba(251, 250, 246, 0.12), rgba(251, 250, 246, 0.035));
  color: #fff8e8;
  box-shadow: inset 0 0 46px rgba(217, 176, 111, 0.16), 0 0 34px rgba(217, 176, 111, 0.16);
  transform: translateY(-2px);
}

.room-zone:hover::before,
.room-zone:focus-visible::before,
.room-zone.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.room-zone:hover::after,
.room-zone:focus-visible::after,
.room-zone.is-active::after {
  opacity: 1;
}

.room-zone:hover em,
.room-zone:focus-visible em,
.room-zone.is-active em {
  color: rgba(255, 248, 232, 0.78);
  opacity: 1;
  transform: translateY(0);
}

.room-light-home:has(.living.is-active) .window-one,
.room-light-home:has(.kitchen.is-active) .window-two,
.room-light-home:has(.basement.is-active) .home-door {
  border-color: rgba(255, 236, 188, 0.66);
  background: linear-gradient(180deg, rgba(255, 236, 188, 0.28), rgba(217, 176, 111, 0.08));
  box-shadow: 0 0 34px rgba(217, 176, 111, 0.26), inset 0 0 24px rgba(255, 236, 188, 0.18);
}

.living {
  top: 41%;
  left: 10%;
  width: 42%;
  height: 36%;
  border-radius: 2px 0 0 0;
}

.kitchen {
  top: 41%;
  right: 10%;
  width: 38%;
  height: 17%;
  border-radius: 0 2px 0 0;
}

.bath {
  top: 58%;
  right: 10%;
  width: 38%;
  height: 19%;
}

.basement {
  left: 10%;
  right: 10%;
  bottom: 6%;
  height: 17%;
  border-radius: 0 0 2px 2px;
}

.home-window,
.home-door {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(251, 250, 246, 0.22);
  pointer-events: none;
}

.home-window {
  width: 54px;
  height: 74px;
  background: rgba(251, 250, 246, 0.04);
  box-shadow: inset 0 0 20px rgba(217, 176, 111, 0.08);
}

.window-one {
  top: 48%;
  left: 22%;
}

.window-two {
  top: 45%;
  right: 22%;
}

.home-door {
  right: 24%;
  bottom: 6%;
  width: 72px;
  height: 108px;
  background: linear-gradient(180deg, rgba(217, 176, 111, 0.08), rgba(251, 250, 246, 0.02));
}

.estimator {
  background:
    linear-gradient(180deg, rgba(23, 53, 43, 0.07), rgba(23, 53, 43, 0)),
    #edf0eb;
}

.estimate-form,
.estimate-result,
.price-board,
.admin-panel,
.login-panel,
.lead-card {
  border-radius: 8px;
}

.service-grid article,
.timeline div,
.social-strip div,
.project-card {
  border-radius: 8px;
}

.service-grid,
.timeline {
  gap: 14px;
  background: transparent;
  border: 0;
}

.service-grid article,
.timeline div {
  border: 1px solid #d9d6ce;
  background: #fbfaf6;
}

.process {
  background: #fbfaf6;
}

.contact {
  background:
    linear-gradient(120deg, rgba(23, 53, 43, 0.96), rgba(15, 20, 18, 0.94)),
    url("assets/hero-renovation.png") center / cover;
}

.mobile-dock {
  display: none;
}

@media (max-width: 980px) {
  .reno-hero {
    min-height: 860px;
  }

  .reno-hero .hero-content {
    padding-bottom: 300px;
  }

  .hero-card-stack {
    right: 22px;
    left: 22px;
    width: auto;
  }

  .social-strip,
  .project-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-orbit {
    min-height: 880px;
  }

  .about-proof {
    grid-template-columns: 1fr;
  }

  .device-showcase {
    grid-template-columns: 1fr;
  }

  .device-stage {
    min-height: 520px;
  }

  .desktop-preview {
    right: 46px;
  }

  .room-light-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .room-light-copy {
    max-width: 720px;
  }

  .room-light-copy h2 {
    max-width: 12em;
  }

  .room-light-home {
    min-height: 480px;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 0;
  }

  .project-tabs button {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 82px;
    border-top: 1px solid rgba(15, 20, 18, 0.16);
    padding: 12px;
    font-size: 16px;
  }

  .project-tabs button:hover,
  .project-tabs button.is-active {
    padding-left: 12px;
  }

  .project-tabs button.is-active {
    box-shadow: inset 0 4px 0 #a77f49;
  }

  .project-modal__panel {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .project-modal__media {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 64px;
  }

  .reno-hero {
    min-height: 780px;
  }

  .reno-hero .hero-content {
    padding-bottom: 274px;
  }

  .social-strip,
  .project-card-grid {
    grid-template-columns: 1fr;
  }

  .project-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-project__overlay {
    right: 24px;
  }

  .featured-project__arrow {
    display: none;
  }

  .project-modal {
    padding: 10px;
  }

  .project-modal__media {
    min-height: 300px;
  }

  .project-modal__controls {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .about-orbit {
    padding: 88px 18px;
  }

  .about-copy {
    text-align: left;
    justify-items: start;
    padding-inline: 6px;
  }

  .about-copy h2 {
    font-size: 45px;
  }

  .about-copy p:not(.about-kicker) {
    font-size: 17px;
  }

  .about-proof article {
    min-height: 180px;
  }

  .device-showcase {
    padding: 76px 18px;
  }

  .device-copy h2 {
    font-size: 42px;
  }

  .device-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .device-stage {
    min-height: 560px;
  }

  .desktop-preview {
    inset: 12px 0 118px;
    transform: none;
  }

  .browser-bar em {
    max-width: 160px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .desktop-screen {
    padding: 24px;
  }

  .screen-hero h3 {
    font-size: 38px;
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }

  .phone-preview {
    right: 18px;
    bottom: 0;
    width: 170px;
    min-height: 310px;
    border-radius: 22px;
    transform: none;
  }

  .phone-screen {
    min-height: 264px;
    padding: 16px 14px;
  }

  .phone-screen h3 {
    font-size: 18px;
  }

  .phone-image {
    height: 74px;
  }

  .room-light-section {
    padding: 76px 18px;
  }

  .room-light-copy h2 {
    font-size: 42px;
  }

  .room-light-copy p:not(.eyebrow) {
    min-height: 150px;
    font-size: 16px;
  }

  .room-light-tabs button {
    min-height: 40px;
    padding: 0 14px;
  }

  .room-light-home {
    min-height: 420px;
    padding: 16px;
  }

  .home-roof {
    top: -34px;
    height: 76px;
  }

  .room-zone {
    padding: 12px;
  }

  .room-zone span {
    font-size: 10px;
  }

  .home-window {
    width: 38px;
    height: 52px;
  }

  .home-door {
    right: 18%;
    width: 48px;
    height: 78px;
  }

  .featured-project {
    min-height: 390px;
  }

  .mobile-dock {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 253, 248, 0.28);
    background: rgba(18, 17, 15, 0.92);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
  }

  .mobile-dock a {
    display: grid;
    min-height: 50px;
    place-items: center;
    color: #fffdf8;
    font-size: 14px;
    font-weight: 800;
  }

  .mobile-dock a + a {
    border-left: 1px solid rgba(255, 253, 248, 0.16);
  }
}
