/* Man Handy Solutions, LLC: Walnut Grove, MO
   Palette: badge black, ink, white, limestone gray, folding-rule wood, cedar.
   Type: Roboto Serif (headings), PT Sans (body). */

:root {
  --black: #000000;
  --ink: #1C1B19;
  --ink-2: #5E5A54;
  --white: #FFFFFF;
  --stone: #EDEDEA;
  --stone-2: #E2E1DC;
  --line: #D3D1CB;
  --rule: #E4CC8C;
  --rule-ink: #2A2418;
  --cedar: #8B5A2B;
  --cedar-d: #6E4521;
  --silver: #D6D1CB;
  --silver-2: #A9A49D;

  --serif: "Roboto Serif", Georgia, "Times New Roman", serif;
  --sans: "PT Sans", "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --pad: 32px;
  --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  --rule-w: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cedar-d); text-underline-offset: 3px; }
a:hover { color: var(--cedar); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); }
h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
h4 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; }
cite { font-style: normal; font-weight: 700; color: var(--ink-2); font-size: .9em; white-space: nowrap; }
blockquote { margin: 0; }
figure { margin: 0; }

:focus-visible { outline: 3px solid var(--cedar); outline-offset: 3px; }
.top :focus-visible, .about :focus-visible, .foot :focus-visible, .sticky-book :focus-visible { outline-color: var(--rule); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--rule); color: var(--black); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 16px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border: 2px solid transparent; border-radius: 3px;
  font-family: var(--sans); font-size: 18px; font-weight: 700; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--cedar-d); color: var(--white); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--rule { background: var(--rule); color: var(--black); }
.btn--rule:hover { background: #EED9A2; color: var(--black); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--silver); color: var(--black); }
.btn--full { width: 100%; }

.stars { display: inline-flex; gap: 2px; vertical-align: -3px; }
.stars svg { width: 18px; height: 18px; fill: var(--cedar); }

/* Header */
.top { background: var(--black); color: var(--white); position: relative; z-index: 20; }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand__logo { width: 56px; height: 56px; border-radius: 50%; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.005em; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 17px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--white); border-bottom-color: var(--rule); }
.top__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--rule); font-weight: 700; font-size: 18px; text-decoration: none; white-space: nowrap; }
.top__phone:hover { color: #F1DDA9; }
.top__phone svg { width: 18px; height: 18px; fill: currentColor; }
.menu-btn { display: none; }

/* Hero: a photo that wraps around a white notch; a folding rule bends around the notch corner */
.hero { position: relative; background: var(--stone); isolation: isolate; padding-bottom: clamp(210px, 27vh, 300px); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero__notch {
  position: relative;
  width: calc(var(--edge) + 640px);
  padding: 64px 56px 52px var(--edge);
  background: var(--white);
}
.hero h1 {
  font-size: clamp(2.6rem, 1.2rem + 2.9vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  font-variation-settings: "opsz" 100;
  text-wrap: pretty;
}
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; margin-bottom: 26px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero__rating { margin: 0; font-size: 17px; color: var(--ink-2); }
.hero__rating strong { color: var(--ink); }

.rule { position: absolute; pointer-events: none; }
.rule svg { display: block; width: 100%; height: 100%; }
.rule--h { left: 0; right: calc(var(--rule-w) * -1); bottom: calc(var(--rule-w) * -1); height: var(--rule-w); box-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.rule--v { top: 0; bottom: 0; right: calc(var(--rule-w) * -1); width: var(--rule-w); box-shadow: 3px 0 0 rgba(0, 0, 0, .18); }
.rule__joint {
  position: absolute; right: calc(var(--rule-w) * -1); bottom: calc(var(--rule-w) * -1);
  width: var(--rule-w); height: var(--rule-w); background: var(--rule);
  border-left: 1.5px solid #B99C5C; border-top: 1.5px solid #B99C5C;
}
.rule__joint::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #D9B871, #A47F3C 70%); border: 1px solid #6E5528;
}

/* Facts */
.facts { border-bottom: 1px solid var(--line); background: var(--white); }
.facts__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__list li { padding: 26px 24px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.facts__list li:first-child { border-left: 0; padding-left: 0; }
.facts__list strong { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.facts__list span { color: var(--ink-2); font-size: 16px; line-height: 1.4; }

/* Work: two scales */
.work { padding-top: clamp(64px, 8vw, 104px); }
.work__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.work__head h2 { max-width: 12em; }
.work__quote { border-left: 4px solid var(--rule); padding-left: 22px; }
.work__quote p { font-family: var(--serif); font-weight: 500; font-size: 1.22rem; line-height: 1.45; margin-bottom: 8px; }
.work__quote figcaption { color: var(--ink-2); font-size: 16px; font-weight: 700; }

.small { background: var(--stone); padding: 56px 0 64px; }
.small__grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.small__intro h3 { margin-bottom: 12px; }
.small__intro p { color: var(--ink-2); }
.small__intro { align-self: start; position: sticky; top: 24px; }
.small__link { font-weight: 700; }
.small__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.small__list li { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid #CFCDC6; align-items: start; }
.small__list img { width: 112px; height: 112px; object-fit: cover; border-radius: 2px; }
.small__list h4 { margin-bottom: 4px; font-size: 1.15rem; }
.small__list p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.small__list p cite { color: var(--ink); }

.rule--divider { position: relative; height: var(--rule-w); box-shadow: 0 3px 0 rgba(0, 0, 0, .14); }

.large { padding: 64px 0 clamp(64px, 8vw, 104px); }
.large__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.large__head p { margin: 0; color: var(--ink-2); }
.proj { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.proj:nth-of-type(even) { grid-template-columns: 8fr 4fr; }
.proj:nth-of-type(even) .proj__text { order: 2; }
.proj__text h4 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); margin-bottom: 6px; }
.proj__when { color: var(--cedar-d); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.proj__own, .proj__quote { border-left: 3px solid var(--rule); padding-left: 16px; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; line-height: 1.5; }
.proj__own cite, .proj__quote cite { display: block; font-family: var(--sans); margin-top: 6px; white-space: normal; }
.proj__media { display: grid; gap: 10px; align-content: start; }
.proj__media img { width: 100%; height: 100%; object-fit: cover; }
.proj--trim { grid-template-columns: 1fr; gap: 28px; }
.proj--trim .proj__text { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; }
.proj--trim .proj__text > * { grid-column: 1; }
.proj--trim .proj__own { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0; font-size: 1.3rem; }
.proj--trim .proj__media { grid-template-columns: 1fr 1fr .56fr; }
.proj--trim .ba { aspect-ratio: 4 / 3; }
.proj--patio .proj__media, .proj--beds .proj__media { grid-template-columns: 1fr 1fr; }
.proj--patio .ba { aspect-ratio: 4 / 3; }
.proj--beds .proj__half { aspect-ratio: 4 / 3.9; }
.proj:last-child { padding-bottom: 0; }
.proj--ramp .proj__media, .proj--slat .proj__media { grid-template-columns: 1.6fr 1fr; }
.proj--ramp figure, .proj--slat figure { aspect-ratio: auto; height: clamp(300px, 30vw, 420px); }
.ba { position: relative; overflow: hidden; }
.tag {
  position: absolute; left: 10px; top: 10px;
  background: var(--white); color: var(--ink);
  font-weight: 700; font-size: 15px; line-height: 1; padding: 7px 10px; border-radius: 2px;
}
.tag--after { background: var(--cedar-d); color: var(--white); }

/* Gallery */
.gallery-sec { padding: clamp(64px, 8vw, 96px) 0; background: var(--stone); }
.gallery-sec h2 { margin-bottom: 32px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 10px; }
.g { display: block; overflow: hidden; background: var(--stone-2); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.g:hover img { transform: scale(1.03); }
.g--big { grid-column: span 2; grid-row: span 2; }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }

/* Reviews */
.reviews { padding: clamp(64px, 8vw, 104px) 0; }
.reviews__grid { display: grid; grid-template-columns: 400px 1fr; gap: 32px 64px; }
.reviews__score h2 { margin-bottom: 18px; }
.score { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.score__num { font-family: var(--serif); font-weight: 700; font-size: 5rem; line-height: 1; letter-spacing: -0.03em; }
.score .stars svg { width: 24px; height: 24px; }
.score__note { color: var(--ink-2); font-size: 17px; }
.reviews__lead { align-self: end; border-left: 4px solid var(--rule); padding-left: 26px; }
.reviews__lead p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); line-height: 1.42; margin-bottom: 12px; }
.reviews__lead figcaption, .reviews__list figcaption { font-weight: 700; color: var(--ink-2); font-size: 16px; }
.reviews__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 24px; }
.reviews__list figure { padding: 24px 0; border-top: 1px solid var(--line); }
.reviews__list p { margin-bottom: 10px; }

/* About + service area */
.about { background: var(--black); color: var(--silver); padding: clamp(64px, 8vw, 104px) 0; }
.about h2, .about h3 { color: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 64px; align-items: start; }
.about__photo { position: relative; margin-bottom: 70px; }
.about__photo > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__badge { position: absolute; right: -24px; bottom: -70px; width: 170px; height: 170px; border-radius: 50%; box-shadow: 0 0 0 6px var(--black); }
.about__text h2 { margin-bottom: 20px; }
.about__text p { font-size: 18px; }
.about__text cite { color: var(--white); white-space: normal; }
.about__facts { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #34322F; }
.about__facts div { padding: 14px 0; border-bottom: 1px solid #34322F; }
.about__facts dt { font-size: 15px; color: var(--silver-2); }
.about__facts dd { margin: 0; color: var(--white); font-weight: 700; }
.area { grid-column: 1 / -1; border-top: 1px solid #34322F; padding-top: 40px; display: grid; grid-template-columns: 300px 1fr; gap: 24px 48px; }
.area h3 { font-size: 1.6rem; }
.area__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.25; color: var(--white); }
.area__home { color: var(--rule); }
.area__note { grid-column: 2; margin: 0; color: var(--silver-2); }

/* Contact */
.contact { padding: clamp(64px, 8vw, 104px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact__info h2 { margin-bottom: 14px; }
.contact__info > p { color: var(--ink-2); max-width: 30em; }
.contact__phone { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.7rem); color: var(--ink); text-decoration: none; line-height: 1.1; margin: 6px 0 8px; }
.contact__phone:hover { color: var(--cedar-d); }
.contact__mail { display: block; font-weight: 700; margin-bottom: 8px; word-break: break-word; }
.contact__where { color: var(--ink-2); margin-bottom: 26px; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; font-size: 17px; }
.hours caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-top: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; color: var(--ink-2); }

.quote { background: var(--stone); padding: 36px; border-top: 6px solid var(--ink); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 18px; color: var(--ink);
  background: var(--white); border: 1.5px solid #B9B6AE; border-radius: 3px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(139, 90, 43, .35); outline-offset: 0; }
.quote__fine { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); }

/* Footer */
.foot { background: var(--black); color: var(--silver); padding: 48px 0 40px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 18px; }
.foot__brand img { width: 84px; height: 84px; border-radius: 50%; }
.foot__brand p { margin: 0; }
.foot__name { font-family: var(--serif); font-weight: 700; color: var(--white); font-size: 1.25rem; }
.foot__contact { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__contact a { color: var(--rule); font-weight: 700; text-decoration: none; }
.foot__contact a:hover { color: #F1DDA9; text-decoration: underline; }
.foot__small { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--silver-2); }
.foot__small + .foot__small { margin-top: -16px; }

/* Bottom bar (phones only) */
.sticky-book { display: none; }

/* Mobile menu */
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .5); }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(320px, 86vw);
  background: var(--black); padding: 88px 24px 24px; display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu[hidden], .scrim[hidden] { display: none; }
.mobile-menu a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 20px; padding: 12px 0; border-bottom: 1px solid #2C2A27; }
.mobile-menu a.mobile-menu__phone { color: var(--rule); border-bottom: 0; margin-top: 12px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 80vh; width: auto; height: auto; }
.lightbox__cap { color: var(--silver); margin: 12px 16px 0; text-align: center; }
.lightbox button { position: absolute; background: rgba(0, 0, 0, .55); color: var(--white); border: 0; width: 52px; height: 52px; font-size: 32px; line-height: 1; cursor: pointer; border-radius: 3px; }
.lightbox button:hover { background: rgba(0, 0, 0, .8); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Wide screens: room for a three-line headline */
@media (min-width: 1500px) {
  .hero__notch { width: calc(var(--edge) + 710px); }
}

/* Laptop */
@media (max-width: 1240px) {
  .hero__notch { width: calc(var(--edge) + 560px); padding-right: 44px; }
  .small__grid { grid-template-columns: 240px 1fr; gap: 36px; }
  .small__list { column-gap: 28px; }
  .small__list li { grid-template-columns: 96px 1fr; }
  .small__list img { width: 96px; height: 96px; }
}

/* Tablet */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .work__head, .large__head { grid-template-columns: 1fr; gap: 20px; }
  .small__grid { grid-template-columns: 1fr; }
  .small__intro { position: static; }
  .proj, .proj:nth-of-type(even) { grid-template-columns: 1fr; gap: 22px; }
  .proj:nth-of-type(even) .proj__text { order: 0; }
  .proj--trim .proj__text { grid-template-columns: 1fr; }
  .proj--trim .proj__own { grid-column: 1; grid-row: auto; font-size: 1.05rem; margin-top: 4px; }
  .proj__text { max-width: 40em; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__list { grid-template-columns: 1fr 1fr; }
  .area { grid-template-columns: 1fr; }
  .area__note { grid-column: 1; }
}

@media (max-width: 900px) {
  :root { --pad: 24px; }
  .nav, .top__phone { display: none; }
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 52px; height: 52px; padding: 0 13px; background: transparent; border: 2px solid #3A3835; border-radius: 3px; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--white); }
  .menu-open .top { z-index: 60; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero stacks: text, rule, photo */
  .hero { display: flex; flex-direction: column; background: var(--white); padding-bottom: 0; }
  .hero__media { position: relative; inset: auto; order: 3; z-index: 0; }
  .hero__media img { aspect-ratio: 4 / 3; height: auto; object-position: 50% 50%; }
  .hero__notch { width: auto; padding: 36px var(--pad) 30px; margin-bottom: var(--rule-w); }
  .rule--h { left: 0; right: 0; }
  .rule--v, .rule__joint { display: none; }

  .facts__list { grid-template-columns: 1fr 1fr; }
  .facts__list li { padding: 20px 16px 18px; }
  .facts__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts__list li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__facts div:nth-last-child(-n+2) { border-bottom: 0; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .foot__in { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --pad: 16px; }
  .top__in { min-height: 64px; gap: 12px; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 1.12rem; }
  .hero__notch { padding-top: 28px; }
  .hero h1 { font-size: 2.2rem; }
  .hero__lead { font-size: 18px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .facts__list strong { font-size: 1.05rem; }
  .facts__list span { font-size: 15px; }
  .small { padding: 40px 0 44px; }
  .small__list { grid-template-columns: 1fr; }
  .small__list li { grid-template-columns: 88px 1fr; gap: 14px; }
  .small__list img { width: 88px; height: 88px; }
  .large { padding-top: 44px; }
  .proj { padding: 32px 0; }
  .proj--trim .proj__media { grid-template-columns: 1fr 1fr; }
  .proj--trim .proj__tall { display: none; }
  .proj--ramp .proj__media, .proj--slat .proj__media { grid-template-columns: 1fr 1fr; }
  .proj--ramp figure, .proj--slat figure { height: 230px; }
  .proj--patio .proj__media, .proj--beds .proj__media { grid-template-columns: 1fr 1fr; }
  .proj .ba, .proj--beds .proj__half { aspect-ratio: 1 / 1; }
  .tag { font-size: 14px; padding: 6px 8px; left: 6px; top: 6px; }
  .gallery { grid-auto-rows: 150px; gap: 8px; }
  .reviews__list { grid-template-columns: 1fr; }
  .score__num { font-size: 4rem; }
  .about__badge { width: 120px; height: 120px; right: 8px; bottom: -50px; }
  .about__photo { margin-bottom: 50px; }
  .about__facts { grid-template-columns: 1fr; }
  .about__facts div:nth-last-child(2) { border-bottom: 1px solid #34322F; }
  .quote { padding: 24px 16px; margin: 0 calc(var(--pad) * -1); }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .foot__in { grid-template-columns: 1fr; }
  .foot__small + .foot__small { margin-top: -12px; }

  .sticky-book {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--black);
    transform: translateY(110%); transition: transform .2s ease;
  }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { width: 100%; min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .g:hover img { transform: none; }
}
