/* ===== Retro Den Studios — shared styles ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --purple:#6C5CE0;
  --purple-d:#5B4BC9;
  --navy:#2B1B47;
  --navy-2:#3A2660;
  --sky:#BDE8F8;
  --sky-d:#A5DFF4;
  --cream:#FDF7EA;
  --gold:#C0A062;
  --bg:#F4F4F2;
  --white:#fff;
  --text:#3A3A42;
  --muted:#6E6E78;
  --line:rgba(43,27,71,.14);
  --teal:#1FA0A8;
  --ease:cubic-bezier(.16,1,.3,1);
  --sans:'Figtree','Wix Madefor Text',-apple-system,'Segoe UI',sans-serif;
  --display:'Familjen Grotesk','Figtree',sans-serif;
}

html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:'Figtree','Wix Madefor Text',-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit}
::selection{background:var(--purple);color:#fff}
:focus-visible{outline:2px solid var(--purple);outline-offset:3px;border-radius:3px}

/* ===== HEADER ===== */
.site-head{background:var(--bg);padding:16px 40px 0}
.head-row{max-width:1600px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand img{width:57px;height:56px;flex-shrink:0}
.brand .bt{font-size:20px;font-weight:700;color:var(--navy);line-height:1.25;letter-spacing:-.01em}
.brand .bs{font-size:16px;color:var(--navy);font-weight:400;letter-spacing:-.01em}
.head-right{display:flex;align-items:center;gap:16px}
.socials{display:flex;align-items:center;gap:9px}
.soc{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--navy);color:var(--navy);text-decoration:none;transition:.2s;background:#fff}
.soc:hover{background:var(--navy);color:#fff}
.soc svg{width:17px;height:17px;fill:currentColor}
.soc.round{border-radius:50%;background:#8EA9E8;border-color:#8EA9E8;color:#fff;width:40px;height:40px}
.soc.round:hover{background:var(--purple);border-color:var(--purple)}
.soc.fill{background:#3B7BE8;border-color:#3B7BE8;color:#fff}
.head-phone{font-size:16px;color:var(--navy);letter-spacing:.1em;white-space:nowrap;text-decoration:none}

/* ===== NAV ===== */
.site-nav{padding:6px 40px 0;background:var(--bg)}
.nav-in{max-width:1600px;margin:0 auto;display:flex;justify-content:flex-end;align-items:center;position:relative}
.nav-bar{background:var(--purple);display:flex;flex-wrap:wrap;justify-content:center;border-radius:40px;overflow:hidden}
.nav-bar a{color:#fff;text-decoration:none;font-family:'Jost','Futura',var(--sans);font-size:14px;padding:14px 22px;display:block;transition:background .2s;letter-spacing:.7px;white-space:nowrap}
.nav-bar a:hover{background:var(--purple-d)}
.nav-bar a.on{text-decoration:underline;text-underline-offset:5px}
.nav-search{width:54px;height:54px;border-radius:50%;background:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 14px rgba(20,14,40,.16);margin-left:-26px;z-index:3;flex-shrink:0;color:var(--navy);transition:transform .2s}
.nav-search:hover{transform:scale(1.06)}
.nav-search svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2}
.burger{display:none;background:none;border:1.5px solid var(--navy);color:var(--navy);width:42px;height:42px;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:4px;border-radius:4px}
.burger span{width:18px;height:1.6px;background:currentColor;display:block}

/* ===== TYPE ===== */
.h-page{font-family:var(--display);font-size:clamp(38px,5vw,56px);font-weight:700;color:var(--navy);text-align:center;letter-spacing:-.02em;line-height:1.1}
.h-sec{font-family:var(--display);font-size:clamp(30px,3.6vw,44px);font-weight:700;color:var(--navy);letter-spacing:-.02em;line-height:1.14}
.lede{font-size:16.5px;color:var(--text);line-height:1.75}
.serif-i{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic}

/* ===== BUTTONS ===== */
.btn{display:inline-block;background:var(--navy);color:#fff;border:none;padding:13px 30px;font-family:inherit;font-size:14.5px;font-weight:500;text-decoration:none;cursor:pointer;transition:background .22s,transform .22s;text-align:center;border-radius:2px}
.btn:hover{background:var(--navy-2);transform:translateY(-1px)}
.btn-sm{padding:8px 18px;font-size:13px}

/* ===== SECTIONS ===== */
section{padding:74px 40px}
.wrap{max-width:1180px;margin:0 auto}
.wrap-wide{max-width:1500px;margin:0 auto}

/* ===== FOOTER ===== */
.site-foot{background:var(--bg);padding:52px 40px 30px;border-top:1px solid rgba(43,27,71,.07)}
.foot-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:48px}
.foot-brand .fb1{font-size:30px;font-weight:800;color:var(--navy);letter-spacing:-.02em;line-height:1.15}
.foot-brand .fb2{font-size:21px;color:var(--navy);margin-top:6px;font-weight:400}
.foot-col{font-size:15.5px;color:var(--navy);line-height:1.9}
.foot-col a{color:var(--navy);text-decoration:none}
.foot-col a:hover{text-decoration:underline}
.foot-col .blk+.blk{margin-top:18px}
.foot-links a{display:block}
.foot-links .cu{margin-top:16px;text-decoration:underline}
.foot-legal{max-width:1400px;margin:40px auto 0;font-size:13.5px;color:var(--muted)}
.foot-legal a{color:var(--muted)}

/* ===== WHATSAPP ===== */
.wa{position:fixed;left:26px;bottom:26px;z-index:900;width:56px;height:56px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 22px rgba(37,211,102,.4);text-decoration:none;transition:transform .25s}
.wa:hover{transform:scale(1.07)}
.wa svg{width:28px;height:28px;fill:#fff}

/* ===== REVEAL ===== */
.rev{opacity:0;transform:translateY(20px);transition:opacity .75s var(--ease),transform .75s var(--ease)}
.rev.vis{opacity:1;transform:none}
.rev.d1{transition-delay:.08s}.rev.d2{transition-delay:.16s}.rev.d3{transition-delay:.24s}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.rev{opacity:1;transform:none}}

/* ===== RESPONSIVE ===== */
@media(max-width:1000px){
  .foot-grid{grid-template-columns:1fr 1fr;gap:34px}
}
@media(max-width:820px){
  .site-head{padding:12px 20px 0}
  .site-nav{padding:10px 20px 0}
  .nav-bar{display:none;width:100%;flex-direction:column}
  .nav-bar.open{display:flex}
  .nav-bar a{padding:13px 18px;text-align:center;border-bottom:1px solid rgba(255,255,255,.18)}
  .burger{display:flex}
  .nav-in{justify-content:flex-end;flex-direction:column;align-items:stretch}
  .nav-search{display:none}
  .nav-bar{border-radius:14px}
  section{padding:52px 20px}
  .head-phone{font-size:15px}
  .brand img{width:48px;height:48px}
  .brand .bt{font-size:18px}.brand .bs{font-size:14px}
  .foot-grid{grid-template-columns:1fr;gap:28px}
  .site-foot{padding:40px 20px 24px}
  .wa{left:16px;bottom:16px;width:50px;height:50px}
}

/* 17 Nov: top bar from the 14 Sep coastal-homes page (light, always on) */
.topnav{position:sticky;top:0;z-index:1000;display:block;padding:14px 48px 0;background:rgba(242,239,233,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(20,20,18,.14);font-family:'Inter',sans-serif}
.topnav .nav-brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.topnav .nav-brand img{height:34px;width:auto;display:block}
.topnav .nav-brand .word{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:#141412;font-weight:500}
.topnav .nav-links{display:flex;align-items:center;gap:36px;list-style:none;margin:0;padding:0}
.topnav .nav-links a{font-size:11px;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;color:#5F5B54;transition:color .3s;font-weight:400}
.topnav .nav-links a:hover,.topnav .nav-links a.on{color:#141412}
.topnav .nav-right{display:flex;align-items:center;gap:12px}
.topnav .nav-cta{font-size:11px;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;color:#141412;border:1px solid #141412;padding:12px 26px;transition:.3s;font-weight:500}
.topnav .nav-cta:hover{background:#141412;color:#FAF8F4}
.topnav .nav-burger{display:none;flex-direction:column;gap:6px;background:none;border:none;cursor:pointer;padding:8px}
.topnav .nav-burger span{width:26px;height:1px;background:#141412;display:block}
@media(max-width:960px){.topnav{padding:14px 18px}.topnav .nav-links,.topnav .nav-cta{display:none}.topnav .nav-burger{display:flex}}
.mmenu{position:fixed;inset:0;background:#F2EFE9;z-index:1500;display:flex;flex-direction:column;justify-content:center;padding:0 32px;gap:4px;transform:translateY(-102%);transition:transform .6s cubic-bezier(.2,.7,.2,1);overflow-y:auto}
.mmenu.open{transform:none}
.mmenu a{font-family:'Cormorant Garamond',serif;font-size:32px;font-weight:400;color:#141412;text-decoration:none;padding:8px 0;border-bottom:1px solid rgba(20,20,18,.14)}
.mmenu a:last-of-type{border:none}
.mmenu-close{position:absolute;top:22px;right:24px;background:none;border:none;font-size:24px;cursor:pointer;color:#141412;padding:8px}

/* 17 Nov b: two rows, all her menu options */
.topnav .tn-row{display:flex;align-items:center;justify-content:space-between}
.topnav .nav-links{justify-content:center;flex-wrap:wrap;gap:10px 34px;padding:14px 0 13px;margin-top:12px;border-top:1px solid rgba(20,20,18,.10)}
@media(max-width:1100px){.topnav{padding:14px 18px}.topnav .nav-links,.topnav .nav-cta{display:none}.topnav .nav-burger{display:flex}}

/* 17 Nov c: one row again, and every page in the coastal-homes look (his "the other pages have that new design") */
.topnav .tn-row{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px}
.topnav .nav-links{margin:0;padding:0;border:none;gap:36px}
:root{
  --purple:#141412;--purple-d:#232320;--navy:#141412;--navy-2:#232320;
  --bg:#F2EFE9;--cream:#FAF8F4;--white:#FAF8F4;--sky:#E6E0D4;--sky-d:#DCD4C5;
  --gold:#A8875A;--teal:#A8875A;--text:#3B3934;--muted:#5F5B54;--line:rgba(20,20,18,.14);
  --sans:'Inter',-apple-system,'Segoe UI',sans-serif;
  --display:'Cormorant Garamond',Georgia,serif;
}
body{font-family:var(--sans);font-weight:300}
h1,h2,h3,h4,[class*="-h1"],[class*="-h2"],[class*="title"]{font-family:var(--display);font-weight:400 !important;letter-spacing:-.005em}
strong,b{font-weight:500}
.btn,button.btn,a.btn{border-radius:0 !important;font-family:'Inter',sans-serif;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:500;padding:16px 32px}
::selection{background:#A8875A;color:#fff}
:focus-visible{outline-color:#A8875A}

/* 17 Nov d: footer with every page, in the new look */
.nf{background:#141412;color:#C9C4BA;padding:80px 48px 36px;font-family:'Inter',sans-serif;font-weight:300}
.nf-top{max-width:1260px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr;gap:48px}
.nf-brand img{height:40px;width:auto;filter:brightness(1.6)}
.nf-brand .w{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:#FAF8F4;margin:16px 0 14px;font-weight:500}
.nf-brand p{font-size:15px;line-height:1.6;max-width:24em;margin-bottom:24px}
.nf-cta{display:inline-block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#141412;background:#FAF8F4;padding:14px 26px;text-decoration:none;font-weight:500}
.nf-col h4{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#FAF8F4;font-weight:500;margin-bottom:18px}
.nf-col a,.nf-col span{display:block;font-size:14px;line-height:1.5;color:#C9C4BA;text-decoration:none;margin-bottom:10px}
.nf-col a:hover,.nf-legal a:hover{color:#FAF8F4}
.nf-bot{max-width:1260px;margin:56px auto 0;padding-top:24px;border-top:1px solid rgba(250,248,244,.14);display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:12.5px}
.nf-legal a{color:#C9C4BA;text-decoration:none;margin-left:22px}
@media(max-width:900px){.nf{padding:56px 20px 28px}.nf-top{grid-template-columns:1fr 1fr;gap:36px}.nf-brand{grid-column:span 2}.nf-legal a{margin:0 18px 0 0}}

/* 17 Nov e: over a big opening photo the bar is clear with white type, and turns light once you scroll (like the editorial page) */
body:has(#hero) .topnav{position:fixed;left:0;right:0;top:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;transition:background .4s,box-shadow .4s,padding .4s}
body:has(#hero) .topnav:not(.scrolled) .nav-brand .word,body:has(#hero) .topnav:not(.scrolled) .nav-links a{color:#fff}
body:has(#hero) .topnav:not(.scrolled) .nav-links a:hover,body:has(#hero) .topnav:not(.scrolled) .nav-links a.on{color:#fff;opacity:.75}
body:has(#hero) .topnav:not(.scrolled) .nav-brand img{filter:brightness(0) invert(1)}
body:has(#hero) .topnav:not(.scrolled) .nav-cta{color:#fff;border-color:rgba(255,255,255,.7)}
body:has(#hero) .topnav:not(.scrolled) .nav-cta:hover{background:#fff;color:#141412}
body:has(#hero) .topnav:not(.scrolled) .nav-burger span{background:#fff}
body:has(#hero) .topnav.scrolled{background:rgba(242,239,233,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(20,20,18,.14)}
body:has(#hero) #hero{position:relative}
body:has(#hero) #hero::before{content:'';position:absolute;left:0;right:0;top:0;height:200px;background:linear-gradient(rgba(12,12,10,.5),rgba(12,12,10,0));z-index:1;pointer-events:none}
body:has(#hero) #hero .hero-wrap{padding-top:140px;padding-bottom:80px}
@media(max-width:700px){body:has(#hero) #hero .hero-wrap{padding-top:110px}}

/* ===== 17 Nov: six quiet motions (assets/motion.js) ===== */
/* F soft page change: the page fades in from the cream, and fades out to it on a click */
body::after{content:'';position:fixed;inset:0;background:#F2EFE9;z-index:5000;pointer-events:none;opacity:0;animation:ptIn .5s ease both}
body.pt-out::after{animation:ptOut .22s ease forwards}
@keyframes ptIn{from{opacity:1}to{opacity:0}}@keyframes ptOut{from{opacity:0}to{opacity:1}}
/* A pictures open like a curtain */
html body img.m-cv{clip-path:inset(100% 0 0 0);transition:clip-path 1s cubic-bezier(.65,0,.35,1),transform 1.2s cubic-bezier(.2,.7,.2,1)!important}
html body img.m-cv.m-in{clip-path:inset(0 0 0 0)}
/* B titles rise in, line by line */
.m-wm{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.16em;margin-bottom:-.16em}
.m-wi{display:inline-block;transform:translateY(112%);transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.m-ti.m-in .m-wi{transform:none}
/* C hover on a project */
.m-hv img{transition:clip-path 1s cubic-bezier(.65,0,.35,1),transform 1.2s cubic-bezier(.2,.7,.2,1)!important}
.m-hv:hover img{transform:scale(1.035)}
.m-hn{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .6s cubic-bezier(.2,.7,.2,1);padding-bottom:3px}
.m-hv:hover .m-hn{background-size:100% 1px}
.m-ar{display:inline-block;margin-left:10px;font-family:'Inter',sans-serif;font-size:.62em;opacity:0;transform:translateX(-8px);transition:opacity .4s,transform .4s}
.m-hv:hover .m-ar{opacity:1;transform:none}
/* D banners breathe */
#hero img.m-hz{animation:mHz 6.5s cubic-bezier(.2,.6,.2,1) both!important}
@keyframes mHz{from{transform:scale(1.1)}to{transform:scale(1)}}
.m-card{animation:mCard 1s cubic-bezier(.2,.7,.2,1) .35s both}
@keyframes mCard{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
/* E lines draw across */
.m-ln{position:absolute;left:0;right:0;height:1px;transform:scaleX(0);transform-origin:left center;transition:transform 1.1s cubic-bezier(.65,0,.35,1);pointer-events:none;z-index:1}
.m-lt{top:-1px}.m-lb{bottom:-1px}
.m-in > .m-ln{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){body::after{display:none}}
/* 17 Nov late (his links): Facebook, Instagram, X and the phone, each with its mark, under the footer's Book button */
.nf-soc{display:flex;align-items:center;gap:20px;margin-top:28px;flex-wrap:wrap}
.nf-soc a{display:inline-flex;align-items:center;gap:10px;color:rgba(250,248,244,.72);text-decoration:none;transition:color .3s}
.nf-soc a:hover{color:#FAF8F4}
.nf-soc svg{width:19px;height:19px;flex:none}
.nf-soc span{font-size:13px;letter-spacing:.04em}
/* ===== 17 Nov: phone pass (his "phone experience has to be good too") ===== */
.tidy .it{white-space:nowrap}.tidy .sep{margin:0 .55em}
@media(max-width:700px){
 .tidy{display:flex!important;flex-wrap:wrap;column-gap:18px;row-gap:6px;align-items:baseline}
 .tidy.tidy-c{justify-content:center}
 .tidy .sep{display:none}
 .wa{left:auto!important;right:16px!important;bottom:16px!important;width:50px!important;height:50px!important}
 .wa svg{width:24px!important;height:24px!important}
}
/* 17 Nov (his phone note "it's bleeding at the top"): the bar reaches up behind the phone's clock and battery,
   so nothing shows through above it while scrolling */
.topnav{padding-top:calc(14px + env(safe-area-inset-top))!important}
body:has(#hero) #hero .hero-wrap{padding-top:calc(110px + env(safe-area-inset-top))}
.mmenu{padding-top:env(safe-area-inset-top)}
@media(max-width:700px){.wa{bottom:calc(16px + env(safe-area-inset-bottom))!important}}
/* 17 Nov (his phone menu note): a full-screen menu; brand and close on top, six pages, small links, button and socials */
.mmenu{justify-content:flex-start!important;gap:0!important;padding:calc(16px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom))!important;height:100%;height:100dvh}
.mm-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid rgba(20,20,18,.14);margin-bottom:6px}
.mmenu .mm-brand{display:flex;align-items:center;gap:12px;font-family:'Inter',sans-serif;font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:#141412;text-decoration:none;border:none;padding:0}
.mm-brand img{height:28px;width:auto}
.mmenu .mmenu-close{position:static;font-size:20px;padding:6px}
.mmenu .mm-main a{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;line-height:1.1;padding:13px 0;border-bottom:1px solid rgba(20,20,18,.12);color:#141412;text-decoration:none}
.mm-sub{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;margin-top:24px}
.mmenu .mm-sub a{font-family:'Inter',sans-serif;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#5F5B54;border:none;padding:0;text-decoration:none}
.mm-cta{margin-top:auto;padding-top:28px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.mmenu .mm-btn{display:inline-block;background:#141412;color:#FAF8F4;font-family:'Inter',sans-serif;font-size:11px;letter-spacing:.18em;text-transform:uppercase;padding:15px 22px;border:none;text-decoration:none}
.mm-soc{display:flex;gap:18px;align-items:center}
.mmenu .mm-soc a{color:#5F5B54;border:none;padding:0;display:inline-flex}
.mm-soc svg{width:19px;height:19px}
/* 17 Nov: the footer's brand line shows on computers, not on phones */
@media(max-width:700px){.nf-brand p{display:none}}
/* 17 Nov (his "the page moves sideways on the phone"): the page can never slide left or right */
html,body{overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}
input,textarea,select{font-size:16px}

/* ===== 17 Nov late: phone pass 2 (his "for a phone that's a lot of words", "the banner should be at the top") ===== */
html{background:#F2EFE9}
@media(max-width:700px){
 /* the bar is always solid cream on phones, so Safari colours the strip behind the clock to match and nothing shows through */
 .topnav,body:has(#hero) .topnav,body:has(#hero) .topnav.scrolled{background:#F2EFE9!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 1px 0 rgba(20,20,18,.12)!important}
 body:has(#hero) .topnav:not(.scrolled) .nav-brand .word{color:#141412!important}
 body:has(#hero) .topnav:not(.scrolled) .nav-brand img{filter:none!important}
 body:has(#hero) .topnav:not(.scrolled) .nav-burger span{background:#141412!important}
 body:has(#hero) #hero::before{display:none}
 /* card banners: the photo fills the screen, the card sits low with just the title and the button */
 #hero{min-height:100svh!important;align-items:flex-end!important}
 #hero .hero-wrap{align-items:flex-end!important;justify-content:flex-start!important;padding:0 20px calc(92px + env(safe-area-inset-bottom))!important;min-height:0!important}
 #hero.pjh .wrap2{align-items:flex-end!important;padding:0 20px calc(92px + env(safe-area-inset-bottom))!important}
 #hero .hero-card,#hero.pjh .card{max-width:none!important;width:100%;padding:24px 22px 22px!important;box-shadow:0 10px 30px rgba(0,0,0,.18)!important}
 #hero .hero-card .hero-eyebrow,#hero .hero-card p,#hero.pjh .card .sub{display:none!important}
 #hero .hero-card h1,#hero.pjh .card h1{font-size:34px!important;line-height:1.05!important;margin:8px 0 20px!important}
 #hero .hero-card .k,#hero.pjh .card .k{font-size:10px!important}
 /* Contact: the title on the same 20px edge as every other page */
 #cpanel{padding-left:0!important;padding-right:0!important}
}

/* ===== 17 Nov late: phone pass 3 (his notes) ===== */
/* menu open = the page behind it stays still */
html.mm-lock body{position:fixed;left:0;right:0;width:100%;overflow:hidden}
.mmenu{overscroll-behavior:contain}
.sb-top{display:none}
@media(max-width:900px){
 /* the bar slides away while you scroll down and comes back when you scroll up */
 .topnav{transition:transform .35s cubic-bezier(.2,.7,.2,1),background .4s,box-shadow .4s!important}
 .topnav.nav-hide{transform:translateY(-110%)}
 /* a cream strip always covers the area behind the clock, so the page never shows through there */
 .sb-top{display:none}
}
/* the closing band is light now, so only the footer is black (his "the banner at the bottom is huge") */
html body section.f-cta,html body section.close{background:#FAF8F4!important;color:#141412!important;border-top:1px solid rgba(20,20,18,.12);padding:96px 40px!important}
html body section.f-cta h2,html body section.close h2{color:#141412!important;font-size:clamp(36px,4.4vw,60px)!important}
html body section.f-cta .btn,html body section.close .btn{background:#141412!important;color:#FAF8F4!important}
html body section.f-cta .f-all,html body section.close .ln{color:#141412!important;border-color:rgba(20,20,18,.4)!important}
@media(max-width:700px){
 .f-cta,.close{padding:64px 20px!important}
 /* a shorter footer on phones: the homes are in the menu already */
 .nf{padding:44px 20px 24px!important}
 .nf-col[aria-label="Homes"]{display:none}
}
/* 17 Nov late (his "it bleeds behind the clock"): on phones the page scrolls inside its own frame, so iPhone Safari never
   shows scrolled content behind the clock; the strip there stays cream */
@media(max-width:900px){
 html{height:100%;overflow:hidden}
 body{height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:none}
 html.mm-inner body{position:static!important;overflow:hidden!important}
}
/* 18 Nov (his "make sure we change computer too"): the top bar hides on the way down and comes back on a small scroll up, on computers as well */
.topnav{transition:transform .35s cubic-bezier(.2,.7,.2,1),background .4s,box-shadow .4s!important}
.topnav.nav-hide{transform:translateY(-110%)}
