/* Home page. Design palette mapped onto the Bands theme tokens in style.css */

a{color:var(--brand)}a:hover{color:var(--ink-soft)}
::selection{background:var(--brand);color:var(--cream)}
a:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
a.on-film,a.on-film:hover{color:#fbfbfc}
a.btn-light,a.btn-light:hover{color:var(--brand)}
.turn{background-size:600% 400%;background-repeat:no-repeat}
.t0{background-image:url(../assets/home/6de23f6ea90b8ad9fc4333c1cc9b37ad.webp)}
.t1{background-image:url(../assets/home/51ebf174d0d19c0c4ef53b3375c9570a.webp)}
.t2{background-image:url(../assets/home/3398b2468f78f72e00cedfdd23180bef.webp)}
.t3{background-image:url(../assets/home/20bef76cfa28596ff20cb912fffd2223.webp)}
.t4{background-image:url(../assets/home/ba06facf4fa8b42ed75f2d412f0dc64c.webp)}
.t5{background-image:url(../assets/home/280efac3f692e65568640c12747c9bcf.webp)}
.t6{background-image:url(../assets/home/abe4e22f0db4bce5531dbb6e45830bb8.webp)}
.t7{background-image:url(../assets/home/15cefa63f227de556a4c6c27c14d2a58.webp)}
.t8{background-image:url(../assets/home/abdbada03009a8aa02c3b5bffc91bdb2.webp)}
.t9{background-image:url(../assets/home/c643308795bb0777f8d171bea53d8d8d.webp)}
.silver{background:#b9bec4 url(../assets/home/82e3854080eccc6a53a55474fd8f06f2.jpg) center/cover}
.k14 { --d: clamp(300px, min(54vw, 78vh), 800px); box-sizing: border-box; width: var(--d); height: var(--d); border: calc(var(--d) * 0.1) solid #000000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: calc(var(--d) * 0.34); line-height: 1; letter-spacing: -0.04em; color: #000000; white-space: nowrap; }
a.btn-line{background:#ffffff;transition:background .2s,border-color .2s,color .2s}
a.btn-line:hover{background:var(--brand);color:var(--cream)}
.tg-l{display:block;margin-bottom:6px;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#5b6774}
.tg-r{display:flex;flex-wrap:wrap;gap:6px}
.tg-t{display:inline-flex;align-items:center;gap:8px;height:30px;margin:0;padding:0 10px 0 12px;border:1px solid rgba(14,57,86,.5);border-radius:999px;background:#ffffff;color:var(--brand);font:inherit;font-size:10px;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:background .25s,color .25s,border-color .25s}
.tg-t i{position:relative;flex:none;width:8px;height:8px;transform:rotate(45deg);transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.tg-t i::before,.tg-t i::after{content:"";position:absolute;left:0;top:3.5px;width:8px;height:1px;background:currentColor}
.tg-t i::after{transform:rotate(90deg)}
.tg-t:hover{border-color:var(--brand)}
.tg-t[aria-pressed="false"]{border-style:dashed;border-color:rgba(14,57,86,.3);background:transparent;color:rgba(14,57,86,.5)}
.tg-t[aria-pressed="false"] i{transform:none}
.tg-t[aria-pressed="false"]:hover{border-color:rgba(14,57,86,.6);color:var(--brand)}
.tg-t:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.tile.off{display:none !important}
@media (hover:none){.tg-t{height:36px;padding:0 13px 0 15px}}
@media (prefers-reduced-motion:reduce){.tg-t,.tg-t i{transition:none}}
.tile{background:var(--cream-2);transition:background .3s}
.tile:hover,.tile:focus-visible{background:#e1e0e6}
.tile img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.tile:hover img,.tile:focus-visible img{transform:scale(1.07)}
.tile .cap{opacity:0;transform:translateY(4px);transition:opacity .25s,transform .25s}
.tile:hover .cap,.tile:focus-visible .cap{opacity:1;transform:none}
@media (hover:none){.tile .cap{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tile,.tile img,.tile .cap{transition:none}.tile:hover img,.tile:focus-visible img{transform:none}}
.veil{-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4)}
#m1-head,#m1-head>*{transition:color .35s}
#m1-head a{color:inherit}
#m1-head a:hover{color:inherit}
#m1-head nav a,#m1-head .side a{opacity:calc(1 - .4 * var(--q, 0));transition:opacity .2s}
#m1-head nav a:hover,#m1-head .side a:hover{opacity:1}
#m1-head .mark{transform-origin:50% 50%}
@media (max-width:720px){#m1-head{gap:0 16px!important;padding-top:10px!important;padding-bottom:6px!important}#m1-head nav{order:3;flex:1 1 100%!important}#m1-head .side{flex:0 0 auto!important}#m1-head .mark{transform-origin:0 50%}#m1-head.quiet nav{display:none!important}}
#m3-stage{--s:52px;--g:7px;--bw:min(76vw, 1372px, 125vh);--bc:min(24vw, 39vh);--al:calc(50% + min(41vw, 740px, 67.5vh) + 4px);--ar:auto}
.m3-row{gap:var(--g)}
.m3-th{position:relative;flex:none;width:var(--s);height:var(--s);margin:0;padding:0;border:1px solid rgba(14,57,86,.12);border-radius:10px;background:rgba(14,57,86,.035);cursor:pointer;opacity:.45;transform:scale(.88);transition:opacity .35s,transform .45s cubic-bezier(.2,.7,.2,1),background .3s,border-color .3s}
.m3-th img{display:block;width:100%;height:100%;box-sizing:border-box;padding:6px;object-fit:contain}
.m3-th:hover{opacity:.85}
.m3-th.on{opacity:1;transform:scale(1);background:rgba(14,57,86,.07);border-color:rgba(14,57,86,.28)}
.m3-th:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
.m3-focus{position:absolute;z-index:1;left:-5px;top:-5px;width:calc(var(--s) + 10px);height:calc(var(--s) + 10px);box-sizing:border-box;pointer-events:none;border:1.5px solid var(--brand);border-radius:14px;-webkit-mask:linear-gradient(#000 0 0) 0 0/17px 17px no-repeat,linear-gradient(#000 0 0) 100% 0/17px 17px no-repeat,linear-gradient(#000 0 0) 0 100%/17px 17px no-repeat,linear-gradient(#000 0 0) 100% 100%/17px 17px no-repeat;mask:linear-gradient(#000 0 0) 0 0/17px 17px no-repeat,linear-gradient(#000 0 0) 100% 0/17px 17px no-repeat,linear-gradient(#000 0 0) 0 100%/17px 17px no-repeat,linear-gradient(#000 0 0) 100% 100%/17px 17px no-repeat}
.m3-bars i{flex:none;width:var(--s);height:2px;border-radius:2px;background:linear-gradient(90deg,var(--brand) calc(var(--p,0) * 100%),rgba(14,57,86,.16) 0)}
@media (max-width:720px){#m3-stage{--s:38px;--g:5px;--bw:76vw;--bc:34vw;--al:auto;--ar:0px}}
@media (prefers-reduced-motion:reduce){.m3-th{transition:none}}
.m3-s{opacity:0;transition:opacity .16s ease,transform .3s ease}
.m3-s.up{transform:translateY(-22px)}
.m3-s.down{transform:translateY(22px)}
.m3-s.on{opacity:1;transform:none;transition:opacity .32s ease .16s,transform .5s cubic-bezier(.2,.7,.2,1) .12s}
.m3-i{opacity:0;transition:opacity .3s ease}
.m3-i.on{opacity:1}
.m3-focus{transition:transform .45s cubic-bezier(.2,.7,.2,1)}
@media (prefers-reduced-motion:reduce){.m3-s,.m3-s.on,.m3-i,.m3-focus{transition:none}}
#m1-head nav .dd-btn{opacity:calc(1 - .4 * var(--q, 0))}
#m1-head nav .dd:hover .dd-btn,#m1-head nav .dd:focus-within .dd-btn,#m1-head nav .dd.open .dd-btn{opacity:1}
.m3-ar{display:flex;align-items:center;justify-content:center;box-sizing:content-box;width:44px;height:44px;margin:0;padding:6px;border:0;background:none;color:var(--brand);cursor:pointer;opacity:.55;transition:opacity .25s}
.m3-ar::before{content:"";width:11px;height:11px;border-left:1.5px solid currentColor;border-top:1.5px solid currentColor;transform:translateY(3px) rotate(45deg)}
.m3-ar[data-m3step="1"]::before{transform:translateY(-3px) rotate(225deg)}
.m3-ar:hover:not(:disabled){opacity:1}
.m3-ar:disabled{opacity:.18;cursor:default}
.m3-ar:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.m3-ar{transition:none}}
.pg{--gut0:max(clamp(20px, 3.4vw, 48px), calc((100vw - 1160px) / 2));--gut:max(clamp(20px, 3.4vw, 48px), calc((100vw - 960px) / 2))}
@media (min-width:1056px){#m1-panel{--txt:calc(100vw - 2 * var(--gut) - min(65.3vh, 52vw, (100vw - 2 * var(--gut)) * 0.62) - 40px)}#m1-panel h2{font-size:clamp(34px, calc(var(--txt) / 5.3), 76px) !important}.m1-facts{max-width:min(520px, var(--txt)) !important}}
.pg{--grain:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.11  0 0 0 0 0.14  0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");--grain-l:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");background-image:var(--grain)}
.vig{position:fixed;inset:0;z-index:39;pointer-events:none;background:radial-gradient(125% 115% at 50% 46%, rgba(10,40,57,0) 52%, rgba(10,40,57,.1) 100%)}
@media (min-height:1601px){.vig{display:none}}
.sr{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;list-style:none}
.mq{display:flex;white-space:nowrap;will-change:transform}
.mq-set{display:flex;align-items:center;flex:none}
.mq .w{display:block;transition:opacity .35s,color .35s}
.mq .g{display:block;flex:none;width:.46em;margin:0 .34em}
.mq.o .w{color:transparent;-webkit-text-stroke:1px rgba(242,243,245,.74)}
.mq.o .w:hover{color:var(--cream)}
.mqs:hover .w{opacity:.3}.mqs .w:hover{opacity:1}
@media (prefers-reduced-motion:reduce){.mq .w{transition:none}}
@media (max-width:720px){
#m1-head nav{display:none!important}
#m1-head .side{gap:22px!important;align-items:center}
body.menu .mnav{visibility:visible;-webkit-clip-path:inset(0);clip-path:inset(0);transition:clip-path .7s cubic-bezier(.7,0,.2,1),-webkit-clip-path .7s cubic-bezier(.7,0,.2,1),visibility 0s}
body.menu .mnav-links a,body.menu .mnav-foot{opacity:1;transform:none;transition:opacity .6s calc(.22s + var(--i) * .06s),transform .8s cubic-bezier(.2,.7,.2,1) calc(.22s + var(--i) * .06s)}
.pg.mcta-on .mcta{transform:translate(-50%, 0)}
.facts,.tg,#process ol{scrollbar-width:none;-webkit-overflow-scrolling:touch}
.facts::-webkit-scrollbar,.tg::-webkit-scrollbar,#process ol::-webkit-scrollbar{display:none}
.facts{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory}
.facts>div{flex:0 0 68%;box-sizing:border-box;scroll-snap-align:start;border-top:0!important;padding:36px 20px 38px!important}
#m1-hero h2{font-size:12.4vw!important}
.m1-facts dl{grid-template-columns:minmax(0, 1fr)!important;max-width:44%}
.s4h{font-size:clamp(30px, 14.5cqw, 92px)!important}
.tg{flex:1 1 100%;min-width:0;flex-wrap:nowrap!important;align-items:flex-start!important;overflow-x:auto;margin:0 -20px;padding:0 20px 2px;gap:0 22px!important}
.tg>div{flex:none}
.tg-r{flex-wrap:nowrap!important}
#process{display:block!important;padding:96px 0 104px!important}
#process h2{padding:0 20px;margin-bottom:28px!important}
#process ol{flex-direction:row!important;overflow-x:auto;gap:12px;padding:0 20px!important;scroll-snap-type:x mandatory}
#process li{flex:0 0 70%!important;box-sizing:border-box;flex-direction:column!important;flex-wrap:nowrap!important;gap:10px!important;padding:16px 0 0!important;border-bottom:0!important;scroll-snap-align:center}
#process li>span{flex:none!important}
#process li>span:first-child{margin-bottom:34px;padding-top:0!important;font-weight:300;font-size:46px!important;line-height:1;letter-spacing:-0.045em!important;color:var(--brand)!important}
}
.facts>div+div{border-left:1px solid rgba(14,57,86,.14)}
@media (max-width:700px){.facts>div{border-top:1px solid rgba(14,57,86,.14)}}

/* the site-wide heading style (uppercase DM Sans) does not apply on the home page */
.pg h1,.pg h2,.pg h3{font-family:inherit;text-transform:none}
.pg{font-family:"Inter Tight",system-ui,sans-serif}
/* phones: "Start your design" floats within thumb reach once the opening film has gone by */
.mcta{display:none}
@media (max-width:720px){
.mcta{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));z-index:37;display:inline-flex;align-items:center;min-height:46px;padding:0 24px;border:1px solid rgba(14,57,86,.5);border-radius:999px;background:#ffffff;box-shadow:0 14px 34px -14px rgba(10,40,57,.6);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transform:translate(-50%, 170%);transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.pg.mcta-on .mcta{transform:translate(-50%, 0)}
}
a.mcta,a.mcta:hover{color:var(--brand)}
@media (prefers-reduced-motion:reduce){.mcta{transition:none}}

/* the 14K footer, in the outro's style: champagne label and underlined link, cream row */
#m4-over .film__label{margin:0;font-size:11px;font-weight:500;letter-spacing:.32em;text-transform:uppercase;color:rgba(216,195,145,.72)}
#m4-over a.film__link,#m4-over a.film__link:visited{margin-top:0;color:#d8c391}
#m4-over a.film__link:hover{color:#f0e6cd}
#m4-over a.on-room,#m4-over a.on-room:hover{color:#f0e6cd}
#m4-over .m4-ig{position:relative;display:inline-flex;align-items:center;align-self:center;padding:0}
#m4-over .m4-ig svg{display:block}
#m4-over .m4-ig::before{content:"";position:absolute;inset:-15px}

/* Best sellers: the tags row sticks under the top nav for the length of the section */
.tg-bar{position:sticky;top:56px;z-index:5;background:var(--grain),var(--cream);transition:box-shadow .3s}
.tg-bar.stuck{box-shadow:0 1px 0 rgba(14,57,86,.12)}
/* hands / no hands switch (after the one on lowenrings.com/shop) */
.hands-toggle{display:inline-flex;align-items:center;gap:12px;margin:0;padding:0;border:0;background:none;color:var(--brand);font:inherit;cursor:pointer;user-select:none}
.hands-toggle__label{min-width:72px;text-align:right;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;opacity:.8}
/* the switch is as tall as the tag pills beside it (30px; 36px on touch screens, as the pills grow there) */
.hands-toggle{--h:30px}
@media (hover:none){.hands-toggle{--h:36px}}
.hands-toggle__track{position:relative;display:inline-block;width:calc(var(--h) * 1.9);height:var(--h);border-radius:999px;background:rgba(14,57,86,.22);transition:background .25s}
.hands-toggle__knob{position:absolute;top:3px;left:3px;width:calc(var(--h) - 6px);height:calc(var(--h) - 6px);border-radius:50%;background:var(--cream);box-shadow:0 1px 2px rgba(10,40,57,.25);transition:left .25s cubic-bezier(.2,.7,.2,1)}
.hands-toggle[aria-checked="true"] .hands-toggle__track{background:var(--brand)}
.hands-toggle[aria-checked="true"] .hands-toggle__knob{left:calc(var(--h) * .9 + 3px)}
.hands-toggle:hover .hands-toggle__label{opacity:1}
.hands-toggle:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
@media (prefers-reduced-motion:reduce){.hands-toggle__track,.hands-toggle__knob{transition:none}}
/* the 14K cover is nudged down while it rises; this extends its paper upward so nothing behind it shows at the top of the screen */
#m4-cover::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:100vh;background:var(--grain),var(--cream)}
/* phones: a little more room under the opening film's button */
@media (max-width:599px){#m0-film > div[style*="padding: 120px"]{padding-bottom:84px !important}}
/* phones: the turning ring starts higher, just overlapping the bottom of "Fine jewelry, designed by you."
   (its final pose is computed from its own position, so only the start moves) */
@media (max-width:599px){#m1-ring{top:calc(min(100vh, 920px) * 0.53 - 70px) !important}#m1-hero > h2{top:calc(clamp(96px, 11vw, 164px) + 176px) !important}}
/* phones: the headings come in sooner after the navy section starts */
@media (max-width:599px){#m1-panel{padding-top:calc(var(--ix) - 268px) !important;padding-bottom:100px !important;min-height:0 !important;justify-content:flex-start !important}#m1-panel > p:first-of-type{display:none}#m1-panel > .m1-facts{margin-top:0 !important;padding-top:0 !important}#m1-panel > div:has(+ .m1-facts){margin-bottom:0 !important}}
/* phones: tags and the hands toggle share one row. The tags scroll and fade out before a divider, then the toggle */
@media (max-width:599px){
.tg-bar{flex-wrap:nowrap !important;align-items:flex-end !important;gap:0 !important}
.tg-bar .tg{flex:1 1 auto !important;margin:0 0 0 -20px !important;padding:0 18px 2px 20px !important;gap:0 14px !important;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 34px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 34px),transparent)}
.tg-bar .tg-r{gap:4px}
.tg-bar .hands-toggle{flex:none;gap:6px;margin-left:2px;padding-left:10px;border-left:1px solid rgba(14,57,86,.18);height:var(--h);align-self:flex-end}
.tg-bar .hands-toggle__label{min-width:0}
}
/* phones: no floating "Start your design" button */
@media (max-width:599px){#mcta{display:none !important}}
/* phones: the big option words are a little smaller so the longest ("Monogram") clears the arrows */
@media (max-width:599px){#m3-stage .m3-s > p[aria-hidden]{font-size:calc(var(--bw) / 4.4) !important}}
/* the turning ring gets its own compositing layer, so moving/tilting it doesn't repaint the page around it */
#m1-ring{will-change:transform}
/* best sellers: six to a row on desktop (18 rings, three rows); phones keep the two-column grid and show the first 12 */
@media (min-width:900px){#designs .tile{min-width:0}#designs div:has(> .tile){grid-template-columns:repeat(6, minmax(0, 1fr)) !important}}
@media (max-width:599px){#designs .tile:nth-of-type(n+13){display:none !important}}
/* phones: the footer copyright sits on the BANDS row, at the right; the links take the row below (as .footer in style.css) */
@media (max-width:720px){#m4-over nav[aria-label="Footer, over the film"]{order:2;flex:1 1 100%}}
