/* Phone homepage (owner, Oct 30 2026, approved as previews/phone-home-layout-v2.html: "photos first"). Loaded only up to 700px
   (home_v2.twig), on top of home-full.css; desktop and tablets never see it. Tall photos shown whole with their headline
   inside (--fp-ar = the phone photo's width / height), swipe rows with white words inside each photo, light sections with the
   growth rings of a redwood slice. The see-through header stays; home-phone.js turns it dark over light sections. */
.fh { --hl: min(8.2vw, 36px); --ink: #1E2B20; }
.fh .fh-big { --H: calc(100vw / var(--fp-ar)); }
.fp-sec { display: block; }
.fp-light { background: #F3F3ED url(/assets/frv7/home-phone/rings.svg) no-repeat; background-size: 1100px; color: var(--ink); }
.fp-a { background-size: 860px; background-position: 50% 78%; }
.fp-b { background-position: -150px -540px; }
.fp-c { background-position: left -470px bottom -480px; }
.fp-tail { padding-bottom: 22px; }
.fp-top { padding-top: 26px; }
.fp-dot { display: none; }

/* chapter photos: the phone photo whole, the words on it */
.fh .fh-row { margin-bottom: 0; }
.fh .fh-big { display: block; background: none; overflow: hidden; }
.fh .fh-hero { padding-top: 0; }
.fh .fh-big > img:not(.fp-img) { display: none; }
.fh .fh-big > .fp-img { position: static; display: block; width: 100%; height: auto; aspect-ratio: var(--fp-ar); transform: none; }
.fh .fh-big::after { display: block; inset: 0 0 auto; height: var(--H); background: linear-gradient(180deg, rgba(14, 20, 16, var(--ta, .34)) 0, rgba(14, 20, 16, 0) var(--tp, 20%), rgba(14, 20, 16, 0) calc(100% - var(--bt, 50%)), rgba(14, 20, 16, var(--ba, .88)) 100%); }
.fh .fh-big .fh-cap { position: static; display: block; padding: 0; background: none; text-align: center; color: inherit; text-shadow: none; }
.fh .fh-big .fh-cap > .fh-caps, .fh .fh-big .fh-cap > .fh-serif, .fh .fh-big .fh-cap > .fh-links { position: absolute; z-index: 2; left: 0; right: 0; margin: 0; padding-inline: 20px; max-width: none; color: #fff; }
.fh .fh-big .fh-cap > .fh-caps { font: 600 11px/1.3 'Figtree', system-ui, sans-serif; letter-spacing: .2em; opacity: 1; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.fh .fh-big .fh-cap > .fh-serif { font: 500 var(--hl)/1.07 'Cormorant Garamond', Georgia, serif; letter-spacing: -.003em; text-transform: none; text-wrap: balance; text-shadow: 0 1px 14px rgba(0, 0, 0, .42); }
.fh .fh-big .fh-links { display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px; }
.fh .fh-big .fh-lk { flex: 0 1 auto; min-height: 46px; padding: 0 22px; font-size: clamp(9.5px, 2.95vw, 11.5px); letter-spacing: .11em; white-space: nowrap; border-radius: 2px; }
.fh .fh-big .fh-lk + .fh-lk, .fh .fh-big .fh-lk:has(+ .fh-lk) { flex: 1 1 auto; padding: 0 10px; }
.fh .fh-big .fh-cap > p { position: static; margin: 0; padding: 26px 24px 16px; max-width: none; font-size: 15px; line-height: 1.5; opacity: 1; text-wrap: pretty; color: #D7E1D2; }
.fp-light .fh-big .fh-cap > p { color: #47503F; }
.fh .fh-big .fh-credit { display: block; position: absolute; z-index: 2; left: auto; right: 12px; top: calc(var(--H) - 18px); bottom: auto; font: 500 9px/1 'Figtree', system-ui, sans-serif; letter-spacing: .17em; text-transform: uppercase; color: #fff; opacity: .86; text-shadow: 0 1px 4px rgba(0, 0, 0, .75); }
.fh .fh-hero .fh-credit:not(.fp-only), .fh .fp-stor .fh-credit:not(.fp-only) { display: none; }

/* the first photo; the line under it, on the rings */
.fh .fh-hero { --tp: 20%; --ta: .34; --bt: 52%; --ba: .9; --hl: min(9.7vw, 40px); color: var(--ink); }
.fh .fh-hero .fh-cap { gap: 0; }
.fh .fh-hero h1.fh-serif { top: calc(var(--H) - 87px - 2.14 * var(--hl)); font-size: var(--hl); }
.fh .fh-hero .fh-links { top: calc(var(--H) - 78px); margin: 0; }
.fh .fh-hero .fh-cap > p { padding: 86px 26px 46px; font: 500 25px/1.24 'Cormorant Garamond', Georgia, serif; text-align: center; text-wrap: balance; color: var(--ink); }
.fh .fh-hero .fh-houzz { display: block; position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--H) + 44px); bottom: auto; text-align: center; font: 600 11px/1.3 'Figtree', system-ui, sans-serif; letter-spacing: .2em; color: #53754B; opacity: 1; }

/* Structures: words in the sky, the button on the ground */
.fh .fp-struct { --tp: 46%; --ta: .6; --bt: 24%; --ba: .72; color: var(--ink); }
.fh .fp-struct .fh-cap > .fh-caps { top: 58px; }
.fh .fp-struct .fh-cap > .fh-serif { top: 80px; }
.fh .fp-struct .fh-links { top: calc(var(--H) - 76px); margin: 0; }
/* Furniture: all the words on the wall above the people */
.fh .fp-furn { --tp: 50%; --ta: .66; --bt: 12%; --ba: .55; }
.fh .fp-furn .fh-cap > .fh-caps { top: 62px; }
.fh .fp-furn .fh-cap > .fh-serif { top: 84px; }
.fh .fp-furn .fh-links { top: calc(94px + 2.14 * var(--hl)); margin: 0; }
/* Project stories and the forest: words at the foot of the photo */
.fh .fp-stor, .fh .fh-forest { --tp: 20%; --ta: .32; --bt: 50%; --ba: .88; }
.fh .fp-stor .fh-cap > .fh-caps, .fh .fh-forest .fh-cap > .fh-caps { top: calc(var(--H) - 109px - 2.14 * var(--hl)); }
.fh .fp-stor .fh-cap > .fh-serif, .fh .fh-forest .fh-cap > .fh-serif { top: calc(var(--H) - 87px - 2.14 * var(--hl)); }
.fh .fp-stor .fh-links, .fh .fh-forest .fh-links { top: calc(var(--H) - 78px); margin: 0; }
.fh .fh-forest .fh-cap { text-shadow: none; }
.fh .fh-forest .fh-cap > p { font-size: 15px; }
.fh .fh-forest { padding-bottom: 2px; }
.fh .fp-stor .fh-mapbtn { position: absolute; z-index: 4; top: 14px; right: 12px; left: auto; align-self: auto; height: 34px; margin: 0; padding: 0 12px; gap: 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(14, 20, 16, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 600 11.5px/1 'Figtree', system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
/* the map (home-phone.js moves it under <body>): its close button in its own corner */
.fh-mappane { inset: 0; color: #fff; }
.fh-mappane .fh-mapclose { position: absolute; top: 18px; right: 16px; left: auto; bottom: auto; z-index: 2; }
/* Talk to an expert: the headline over the trees, the ways to reach us under the photo */
.fh .fh-talk { --tp: 46%; --ta: .56; --bt: 14%; --ba: .5; background: var(--ink); }
.fh .fh-talk .fh-cap > .fh-caps { top: 40px; }
.fh .fh-talk .fh-cap > .fh-serif { top: 62px; font-size: var(--hl); max-width: none; }
.fh .fh-talk .fh-cap { padding-bottom: 22px; }
.fh .fh-talk .fh-cap > p { padding-bottom: 14px; text-align: center; }
.fh .fh-big.fh-talk .fh-cap { display: block; padding-inline: 0; }
.fh .fh-talk .fh-ways { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: stretch; width: calc(100% - 32px); gap: 9px; margin: 0 16px 12px; }
.fh .fh-talk .fh-ways a { width: 100%; display: grid; justify-items: start; gap: 2px; min-height: 58px; align-content: center; padding: 7px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 3px; background: rgba(255, 255, 255, .07); }
.fh .fh-talk .fh-ways .fh-caps { font: 600 10.5px/1.2 'Figtree', system-ui, sans-serif; letter-spacing: .14em; color: #B5D0A3; opacity: 1; }
.fh .fh-talk .fh-ways b { font: 600 17px/1.25 'Figtree', system-ui, sans-serif; letter-spacing: 0; }
.fh .fh-talk .fh-btn { display: flex; justify-content: center; width: calc(100% - 32px); margin: 0 16px; text-shadow: none; background: #53754B; color: #fff; }

/* swipe rows: each photo whole at its own shape, the words in white inside it */
.fp-swipe { --h: min(57vw, 250px); display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.fp-swipe::-webkit-scrollbar { display: none; }
.fh .fp-swipe .fh-row { display: contents; }
.fh .fp-swipe .fh-row .fh-t, .fh .fp-swipe .fh-row.fh-pair .fh-t, .fh .fp-swipe .fh-row.fh-pair .fh-fav, .fh .fp-swipe .fh-row.fh-pair.fh-stories .fh-t { flex: none; min-width: 0; height: var(--h); width: calc(var(--h) * var(--ar)); aspect-ratio: auto; scroll-snap-align: start; border-radius: 3px; }
.fh-vids { --h: min(50vw, 220px); }
.fh .fp-swipe .fh-vids .fh-t { height: min(50vw, 220px); width: calc(min(50vw, 220px) * 1.7778); }
.fh .fp-swipe .fh-t::after { background: linear-gradient(180deg, rgba(14, 20, 16, 0) 44%, rgba(14, 20, 16, .78) 100%); }
.fh .fp-swipe .fh-t .fh-cap { padding: 0 14px 12px; gap: 4px; justify-items: start; text-align: left; }
.fh .fp-swipe .fh-t .fh-cap .fh-serif { font: 500 23px/1.08 'Cormorant Garamond', Georgia, serif; letter-spacing: 0; text-transform: none; text-wrap: balance; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.fh .fp-swipe .fh-t .fh-cap .fh-caps { font: 600 10.5px/1.2 'Figtree', system-ui, sans-serif; letter-spacing: .17em; text-shadow: 0 1px 5px rgba(0, 0, 0, .6); opacity: 1; }
.fh .fp-swipe .fh-stories .fh-cap { padding: 10px 14px 12px 10px; }
.fh .fp-swipe .fh-stories .fh-cap .fh-caps { padding: 6px 10px; letter-spacing: .13em; font-size: 10px; text-shadow: none; }
.fh .fp-swipe .fh-stories .fh-cap .fh-serif { padding-left: 4px; }
.fh .fp-swipe .fh-vid .fh-play { top: 44%; width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.fh .fp-swipe .fh-vid-tag { top: 10px; left: 10px; height: 26px; font-size: 10px; }
.fh .fp-swipe .fh-vid-more { display: none; }
.fh-vid:not(.is-playing) > img { animation: none; }
.fp-bar { height: 2px; margin: 14px 16px 0; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.fp-bar i { display: block; height: 100%; width: 30%; border-radius: 2px; background: #D6EBC8; }
.fp-light .fp-bar { background: rgba(30, 43, 32, .15); }
.fp-light .fp-bar i { background: var(--ink); }
.fh > .fp-bar { margin-bottom: 24px; }

/* Customer favorites and Videos: headline, row, line, button */
.fp-head { display: flex; flex-direction: column; padding: 26px 0 24px; }
.fp-head .fh-band { display: contents; }
.fp-head .fh-band h2 { order: 1; margin: 0 0 16px; padding: 0 20px; font: 500 var(--hl)/1.07 'Cormorant Garamond', Georgia, serif; letter-spacing: 0; text-transform: none; text-align: center; }
.fp-head .fp-swipe { order: 2; flex: none; width: 100%; }
.fp-head .fp-bar { order: 3; align-self: stretch; }
.fp-head .fh-lks { order: 4; display: flex; justify-content: center; padding-top: 18px; }
.fp-head .fh-lk { min-height: 46px; }
.fh .fh-band--videos h2 { display: grid; justify-items: center; gap: 8px; font: 600 11px/1.3 'Figtree', system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #B5D0A3; }
.fh-band--videos .fh-band-ic { display: none; }
.fh .fh-band--videos .fh-band-sub { font: 500 var(--hl)/1.07 'Cormorant Garamond', Georgia, serif; letter-spacing: 0; text-transform: none; color: #fff; opacity: 1; text-wrap: balance; }

/* the footer's three photos: a swipe row on the rings instead of stacked cards */
body.fh-page .frv2 .trio { --h: min(58vw, 255px); display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 16px 0; scroll-padding: 0 16px; scrollbar-width: none; background: #F3F3ED url(/assets/frv7/home-phone/rings.svg) no-repeat 50% 44% / 860px; }
body.fh-page .frv2 .trio::-webkit-scrollbar { display: none; }
body.fh-page .frv2 .tcard { flex: none; display: flex; position: relative; height: var(--h); width: calc(var(--h) * var(--ar, 1.5)); aspect-ratio: auto; min-height: 0; justify-content: flex-end; gap: 4px; padding: 0 14px 12px; border-radius: 3px; overflow: hidden; scroll-snap-align: start; }
body.fh-page .frv2 .tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.fh-page .frv2 .tcard::after { background: linear-gradient(180deg, rgba(14, 20, 16, 0) 24%, rgba(14, 20, 16, .84) 100%); }
body.fh-page .frv2 .tcard small { font: 600 10.5px/1.2 'Figtree', system-ui, sans-serif; letter-spacing: .17em; }
body.fh-page .frv2 .tcard h3 { margin: 0; font: 500 21px/1.08 'Cormorant Garamond', Georgia, serif; letter-spacing: 0; text-transform: none; }
.fp-trio-bar { margin: 14px 16px 0; background: rgba(30, 43, 32, .15); }
.fp-trio-bar i { background: var(--ink); }
.fp-trio-wrap { padding-bottom: 22px; background: #F3F3ED; }

/* the see-through header over the light sections: logo and icons dark, no shade */
body.fh-page .frv2 .site-header.hdr-clear.fp-on-light:not(.menu-open) { background: none; }
body.fh-page .frv2 .site-header.hdr-clear.fp-on-light:not(.menu-open) .brand img { filter: brightness(0) opacity(.86); }
body.fh-page .frv2 .site-header.hdr-clear.fp-on-light:not(.menu-open) .hbar > * > a, body.fh-page .frv2 .site-header.hdr-clear.fp-on-light:not(.menu-open) .hbar a, body.fh-page .frv2 .site-header.hdr-clear.fp-on-light:not(.menu-open) .hbar button { color: var(--ink, #1E2B20); text-shadow: none; }
.site-header { transition: background-color .25s; }

/* a smaller chat bubble that steps aside while scrolling down */
body.fh-page #fr-tawk-bubble { right: 14px; bottom: 14px; width: 46px; height: 46px; transition: transform .25s, opacity .25s; }
body.fh-page #fr-tawk-bubble.fp-away { transform: translateY(80px); opacity: 0; }
@media (prefers-reduced-motion: reduce) { body.fh-page #fr-tawk-bubble { transition: none; } }
