/* Consolidated page-specific theme, layout, glassmorphism, and account workspace overrides for index.html */

/* ===== About Page ===== */
#about.about-page{padding:clamp(22px,4vw,48px) 0 36px;color:var(--ink)}
#about .about-intro{max-width:850px;margin:0 auto 28px;text-align:center}
#about .about-intro .eyebrow{letter-spacing:.01em;font-size:13px;font-weight:500;text-transform:none;color:rgba(255,255,255,.9)}
#about .about-intro h1{font-size:clamp(34px,5vw,62px);line-height:1.05;letter-spacing:-.035em;margin:15px auto;max-width:850px}
#about .about-intro h1 span{display:inline-block}
#about .about-intro>p{max-width:660px;margin:0 auto;color:var(--muted);font-size:clamp(15px,1.5vw,18px);line-height:1.75}
#about .about-story-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:18px;align-items:stretch}
#about .about-glass-card,#about .about-value-card{min-width:0;border:0;border-radius:20px;background:transparent;background-image:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
#about .about-glass-card{padding:clamp(22px,3vw,38px)}
#about .about-overline,#about .about-value-number{font-size:13px;letter-spacing:.01em;font-weight:500;text-transform:none;color:rgba(255,255,255,.9)}
#about .about-glass-card h2{font-size:clamp(23px,2.5vw,32px);line-height:1.2;margin:12px 0 16px;letter-spacing:-.02em}
#about .about-glass-card>p{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 14px}
#about .about-glass-card>p:last-child{margin-bottom:0}
#about .about-principle{display:grid;grid-template-columns:38px 1fr;gap:13px;padding:15px 0;border-top:1px solid rgba(255,255,255,.12)}
#about .about-principle-mark{font-size:11px;letter-spacing:.08em;color:var(--muted);padding-top:3px}
#about .about-principle h3,#about .about-value-card h3{font-size:16px;line-height:1.35;margin:0 0 5px}
#about .about-principle p,#about .about-value-card p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}
#about .about-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
#about .about-value-card{padding:22px 24px}
#about .about-value-card h3{font-size:17px;margin:12px 0 7px}
#about .about-signoff{margin:28px auto 0;text-align:center;max-width:620px}
#about .about-signoff span{font-size:10px;letter-spacing:.25em;font-weight:700;color:var(--muted)}
#about .about-signoff p{font-size:14px;line-height:1.7;margin:8px 0 0;color:var(--muted)}
@media(max-width:760px){
  #about.about-page{padding-top:18px}
  #about .about-intro{text-align:left;margin-bottom:20px}
  #about .about-intro>p{margin-left:0}
  #about .about-story-grid,#about .about-values{grid-template-columns:1fr}
  #about .about-glass-card{padding:22px}
  #about .about-values{gap:10px}
  #about .about-value-card{padding:18px 20px}
  #about .about-signoff{text-align:left}
}

/* ===== Contact Page ===== */
#contact .contact-intro-card{position:relative;overflow:hidden;margin:30px 0 24px;padding:clamp(26px,5vw,54px);border:0!important;border-radius:24px}
#contact .contact-intro-copy{position:relative;z-index:1;max-width:850px}
#contact .contact-intro-copy h1{max-width:14em;margin:10px 0 14px;font-size:clamp(34px,5.5vw,58px);line-height:1.08;letter-spacing:-.035em}
#contact .contact-intro-copy>p{max-width:720px;color:rgba(255,255,255,.78);line-height:1.75}
#contact .contact-specialties{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}
#contact .contact-specialties span{padding:8px 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.045);color:rgba(255,255,255,.88);font-size:12px;font-weight:650}
#contact .contact-intro-note{margin-top:18px;font-size:14px}
#nav .nav-contact,#nav .nav-contact[aria-selected="true"]{background:transparent!important;background-color:transparent!important;box-shadow:none!important;border-color:transparent!important}
#nav .nav-contact[aria-selected="true"]{color:#E5B96F!important;opacity:1}

#contact #publicContactForm{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 24px!important;
  padding:clamp(22px,4vw,42px)!important;
  border-radius:20px!important;
  border:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
#contact #publicContactForm .contact-grid{width:100%!important;max-width:none!important}
@media(max-width:600px){#contact #publicContactForm{padding:20px!important}}

/* ===== Footer Legal Links & Account Chauffeur Live Styles ===== */
.legal-footer-links{display:inline-flex;gap:6px;flex-wrap:wrap;align-items:center}
.legal-footer-links a,.account-legal-preferences a{color:var(--gold,#d7bd83);text-decoration:underline;text-underline-offset:3px}
.legal-footer-links button{border:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font:inherit;padding:0}
.account-subscription-note,.account-legal-preferences{margin:16px 0;padding:16px;border-radius:12px;background:rgba(255,255,255,.035)}
.account-subscription-note h4,.account-legal-preferences h4{margin:0 0 6px}
.account-subscription-note p,.account-legal-preferences p{margin:8px 0}
@media(max-width:600px){.legal-footer-links{display:flex;margin-top:8px}}

.account-chauffeur-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 14px;flex-wrap:wrap}
.account-cancellation-state{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:9px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}
.account-cancellation-state .success{color:#8bd5a7}
.account-cancellation-state .danger{color:#f1a09a}
.account-cancellation-state .pending{color:#e6c77d}
.account-booking-actions{margin-top:9px}
.account-booking-row .st.success{color:#8bd5a7}
.account-booking-row .st.danger{color:#f1a09a}

/* ===== Admin Loading, Inventory Loading, & Listing Photo Editor ===== */
.admin-loading-state{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:28px 16px}
.admin-loading-spinner{width:28px;height:28px;border:3px solid var(--line);border-top-color:var(--gold);border-radius:50%;animation:admin-loading-spin .8s linear infinite}
@keyframes admin-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.admin-loading-spinner{animation:none;border-top-color:var(--line)}}

.inventory-loading-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:16px;width:100%}
.inventory-loading-card{min-width:0;border:1px solid var(--line);border-radius:16px;padding:10px;overflow:hidden;background:var(--panel,rgba(255,255,255,.55))}
.inventory-loading-card span,.inventory-loading-card i{display:block;border-radius:9px;background:rgba(140,140,140,.14);animation:inventory-pulse 1.4s ease-in-out infinite}
.inventory-loading-card span{height:145px;margin-bottom:12px}.inventory-loading-card i{height:11px;margin:9px 0;width:78%}.inventory-loading-card i:last-child{width:48%}
@keyframes inventory-pulse{0%,100%{opacity:.55}50%{opacity:.95}}
@media(prefers-reduced-motion:reduce){.inventory-loading-card span,.inventory-loading-card i{animation:none}}

#sellerEditListingDialog .edit-photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;margin:10px 0 18px}
#sellerEditListingDialog .edit-photo-item{min-width:0;border:1px solid var(--line);border-radius:12px;padding:8px;background:var(--surface-2,#f8fafc);display:flex;flex-direction:column;gap:7px}
#sellerEditListingDialog .edit-photo-item img{display:block;width:100%;height:90px;object-fit:cover;border-radius:8px;background:#e5e7eb}
#sellerEditListingDialog .edit-photo-item .btn{width:100%;min-height:38px;padding:7px 10px}
#sellerEditListingDialog #editListingPhotos:disabled{opacity:.6}

/* ===== Luxury Glass Showroom, Global Blurred Wallpaper & Typography ===== */
:root{
  color-scheme:dark;
  --bg:#090a0c;--surface:rgba(25,27,30,.68);--ink:#f7f4ed;--mute:#b9b3a7;--line:rgba(225,203,155,.22);--gold:#d7bd83;--gold-ink:#111;
  --glass-fill:rgba(20,22,25,.34);--glass-fill-strong:rgba(17,19,22,.58);--glass-stroke:rgba(255,255,255,.13);--glass-highlight:rgba(255,255,255,.08);
}
html{min-height:100%;background:transparent!important}
body{min-height:100vh;display:flex;flex-direction:column;position:relative!important;isolation:isolate!important;background:transparent!important;background-color:transparent!important;color:#f7f4ed}
body:before{
  content:""!important;display:block!important;position:fixed!important;inset:-10px!important;z-index:-1!important;pointer-events:none!important;
  background:url("/public/assets/hero-backdrop-mobile.webp") center center/cover no-repeat!important;
  filter:blur(4px)!important;transform:scale(1.025)!important;
}
body:after{
  content:""!important;display:block!important;position:fixed!important;inset:0!important;z-index:-1!important;pointer-events:none!important;
  background:rgba(8,9,11,.36)!important;
}
@media(max-width:760px){
  body:before{
    top:-12px!important;left:-12px!important;right:auto!important;bottom:auto!important;
    width:calc(100vw + 24px)!important;height:calc(100vh + 24px)!important;height:calc(100lvh + 24px)!important;
    background-image:url("/public/assets/hero-backdrop-mobile.webp")!important;
    filter:none!important;
    transform:translate3d(0,0,0)!important;
  }
}

main{flex:1 0 auto;min-width:0}
a{color:#e4ce9d}
.btn,.button,button.primary{border-radius:12px}
input::placeholder,textarea::placeholder{color:rgba(255,255,255,.68)!important}

@media(min-width:1280px){main.wrap{width:100%!important;max-width:1280px!important;padding-left:24px!important;padding-right:24px!important}}
.hero{position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:24px;padding:clamp(56px,6vw,88px) clamp(22px,5vw,70px) clamp(46px,6vw,78px)!important;margin:16px auto 34px!important;width:100%;max-width:100%;min-height:clamp(380px,50vw,620px);display:flex;flex-direction:column;justify-content:center}
.hero h1{max-width:11ch!important;color:#fff!important;text-shadow:0 5px 28px rgba(0,0,0,.45)}
.hero h1:after{background:#e5b96f!important;border-radius:99px}
.hero p{max-width:38em;color:rgba(255,255,255,.84)!important}
@media(max-width:760px){
  .hero{width:100%;margin:8px auto 20px!important;min-height:380px;border-radius:24px!important;padding:28px 20px 26px!important}
  .hero h1{font-size:clamp(34px,10vw,52px)!important}
}

/* Modal & Drawer surfaces retain deep translucent blur; section cards stay transparent with corner borders */
html:not([data-theme="light"]) #dlg,
html:not([data-theme="light"]) .authbox,
html:not([data-theme="light"]) .modal:not(#accDlg),
html:not([data-theme="light"]) .drawer,
html:not([data-theme="light"]) .journal-photo-viewer {
  background-color:rgba(16,18,24,.92)!important;
  background-image:none!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 24px 64px rgba(0,0,0,.48)!important;
  -webkit-backdrop-filter:blur(24px) saturate(130%)!important;
  backdrop-filter:blur(24px) saturate(130%)!important;
  border-radius:20px!important;
}
.hero,#home .tile,.tiles .tile,.card,.panel,.contact-card,.journal-intro,.journal-card,.journal-entry,.project-intro,.project-card,.vehicle-card,.dealer,#autoQuoteRail{
  border-radius:24px;
}
@media(max-width:800px){
  body{padding-top:0!important}
  body>header,header.site-header,.site-header{padding-top:env(safe-area-inset-top,0px)!important}
  @supports(padding:constant(safe-area-inset-top)){
    body>header,header.site-header,.site-header{padding-top:constant(safe-area-inset-top)!important}
  }
}

/* Header & menu drawer responsive layout (account inside #nav) */
@media(min-width:981px){
  body>header>.wrap{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    grid-template-areas:"brand nav"!important;
    align-items:center!important;
    column-gap:clamp(12px,2vw,24px)!important;
    width:100%!important;max-width:1180px!important;
  }
  body>header .wrap>.logo{
    grid-area:brand!important;justify-self:start!important;display:block!important;flex:none!important;
    width:max-content!important;max-width:none!important;min-width:max-content!important;
    white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;
  }
  body>header #nav{
    grid-area:nav!important;justify-self:end!important;min-width:0!important;
    display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;
    gap:2px!important;overflow:visible!important;
  }
  body>header #nav button,body>header #nav a.navlink{
    white-space:nowrap!important;
    padding-left:clamp(5px,.8vw,11px)!important;padding-right:clamp(5px,.8vw,11px)!important;
    font-size:clamp(11px,1vw,14px)!important;
  }
  body>header #nav>.account-pill{
    grid-area:auto!important;display:flex!important;align-items:center!important;
    margin:0 0 0 4px!important;padding:2px!important;flex:0 0 auto!important;
  }
  body>header #nav>.account-pill span{display:none!important}
}
@media(min-width:768px) and (max-width:1120px){
  body>header .wrap{column-gap:10px!important}
  body>header .wrap>.logo{font-size:21px!important}
  body>header .wrap>nav button,body>header .wrap>nav a.navlink{font-size:11px!important;padding-left:5px!important;padding-right:5px!important}
}
@media(max-width:767px){
  body>header>.wrap{
    display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;
    grid-template-areas:"brand nav-toggle"!important;align-items:center!important;
    column-gap:8px!important;row-gap:0!important;position:relative!important;
  }
  body>header>.wrap>.logo{
    grid-area:brand!important;justify-self:start!important;text-align:left!important;
    min-width:0!important;max-width:100%!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  }
  body>header>.wrap>button#navToggle.nav-toggle{
    grid-area:nav-toggle!important;justify-self:end!important;display:inline-flex!important;
    width:40px!important;height:40px!important;min-width:40px!important;margin:0!important;position:relative!important;inset:auto!important;
    visibility:visible!important;opacity:1!important;z-index:1002!important;
  }
  body>header #nav{
    left:auto!important;right:-1px!important;width:fit-content!important;min-width:185px!important;max-width:85vw!important;top:calc(100% + 8px)!important;
    align-items:stretch!important;
  }
}
@media(max-width:420px){
  body>header>.wrap{grid-template-columns:minmax(0,1fr) 38px!important;column-gap:6px!important}
  body>header>.wrap>button#navToggle.nav-toggle{width:38px!important;height:38px!important;min-width:38px!important}
  body>header>.wrap>.logo{font-size:clamp(15px,4.4vw,18px)!important}
}



/* ===== Home Corner-Frame Smoked-Glass Cards, Quote Rail & Interactions ===== */
#home .hero{display:flex!important;flex-direction:column!important;align-items:flex-start!important}
html:not([data-theme="light"]) #home .journal-intro .btn.alt,
html:not([data-theme="light"]) #home .project-intro .btn.alt{
  background:rgba(255,255,255,.06)!important;
  background-color:rgba(255,255,255,.06)!important;
  background-image:none!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#f7f4ed!important;
  -webkit-backdrop-filter:blur(14px) saturate(125%)!important;
  backdrop-filter:blur(14px) saturate(125%)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.22)!important;
}
#home .home-with-quote{display:block!important}
#home .home-with-quote>div{min-width:0!important}
#home #autoQuoteRail{
  display:block!important;position:relative!important;float:none!important;left:auto!important;top:auto!important;bottom:auto!important;transform:none!important;
  width:min(100%,390px)!important;max-width:100%!important;margin:24px 0 0!important;box-sizing:border-box!important;z-index:2!important;
  border-radius:24px!important;
}
html:not([data-theme="light"]) #home #autoQuoteRail{
  border:0!important;color:#fff!important;
}
html:not([data-theme="light"]) #home #autoQuoteRail .auto-quote-top,
html:not([data-theme="light"]) #home #autoQuoteRail .auto-quote-footer{
  border-color:rgba(255,255,255,.08)!important;
}
#home .hero #autoQuoteRail{align-self:flex-start!important}
html:not([data-theme="light"]) #home .auto-quote-text,
html:not([data-theme="light"]) #home .auto-quote-author{color:#fff!important}
html:not([data-theme="light"]) #home .auto-quote-label{color:rgba(255,255,255,.90)!important;text-transform:none!important;letter-spacing:.01em!important;font-size:13px!important;font-weight:500!important}
#autoQuoteRail .auto-quote-body{min-height:0!important;padding:14px 16px!important}
#autoQuoteRail .auto-quote-text{font-size:clamp(15px,2vw,19px)!important;line-height:1.4!important;margin:5px 0 10px!important}
#autoQuoteRail .auto-quote-top{padding:12px 15px 8px!important}
#autoQuoteRail .auto-quote-footer{padding:8px 14px 10px!important}

:is(button,a,[role=button],summary,.account-pill,.account-icon,.tile,.card,.panel,.project-card,.contact-card,.mechanic-card,.journal-intro,.project-intro,.nav-contact):not(header *):not(#accDlg *):not(#accActionDlg *):not(#sellerEditListingDialog *){
  transition:transform .26s cubic-bezier(.22,1,.36,1),background-color .24s ease,border-color .24s ease,box-shadow .26s ease,opacity .22s ease!important;
}
@media (hover: hover) and (pointer: fine) and (min-width: 821px){
  :is(button,a,[role=button],summary,.account-pill,.account-icon,.nav-contact):not(header *):not(#accDlg *):not(#accActionDlg *):not(#sellerEditListingDialog *):hover{
    border-color:rgba(255,255,255,.30)!important;
    box-shadow:0 14px 30px rgba(0,0,0,.22)!important;
  }
  :is(button,a,[role=button],.tile,.card,.project-card,.contact-card,.mechanic-card,.journal-card):not(header *):not(#accDlg *):not(#accActionDlg *):not(#sellerEditListingDialog *):hover,
  :is(.tile,.card,.project-card,.contact-card,.mechanic-card,.journal-card):not(header *):not(#accDlg *):not(#accActionDlg *):not(#sellerEditListingDialog *):focus-visible{
    transform:translateY(-2px)!important;
  }
  #home .journal-intro:hover,
  #home .project-intro:hover,
  #home .journal-intro:focus-within,
  #home .project-intro:focus-within{
    transform:translateY(-2px)!important;
  }
}
button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:2px solid #d3b58f!important;outline-offset:3px!important}

@media(max-width:640px){
  body>header{margin-bottom:12px!important}
  main.wrap{width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important}
  #home .hero{min-height:0!important;padding:24px 17px 22px!important;gap:12px!important;border-radius:24px!important}
  #home .hero h1{font-size:clamp(1.95rem,8.4vw,2.75rem)!important;line-height:1.08!important;margin:6px 0 10px!important}
  #home .hero p{font-size:13px!important;line-height:1.5!important}
  #home .showroom-actions{gap:8px!important;flex-wrap:wrap!important}
  #home .showroom-actions .btn{padding:10px 13px!important;font-size:12px!important}
  #home .showroom-vehicle-note{position:relative!important;inset:auto!important;width:100%!important;margin-top:10px!important}
  #home #autoQuoteRail{width:100%!important;margin:14px 0 0!important}
  #home .tiles,.tiles,.cols,.grid,.vehicle-grid,.journal-grid{gap:10px!important}
  #home .tile,.tiles .tile,.card,.panel,.service-card,.booking-card,.garage-card,.contact-card,.feature-card,.dealer,.stat{padding:12px!important;border-radius:24px!important}
  #home .tile h2,#home .tile h3,.card h2,.card h3,.panel h2,.panel h3{font-size:15px!important;line-height:1.25!important}
}

/* ===== Footer, Journal Cards, Inputs, & Location Borderless Glass ===== */
footer,body>footer{
  margin-top:auto!important;width:100%;position:relative!important;inset:auto!important;clear:both;
  border:0!important;border-top:0!important;border-bottom:0!important;outline:0!important;
  box-shadow:none!important;
}
footer .wrap{display:block;border:0!important;background:transparent!important;box-shadow:none!important}
footer::before,footer::after,body>footer::before,body>footer::after{border:0!important;box-shadow:none!important}
footer a,body>footer a{position:relative}
#footerBrand,#footerNote{color:inherit}

html:not([data-theme="light"]) :is(input,select,textarea):not(#accDlg *):not(#accActionDlg *):not(#sellerEditListingDialog *):not(#uxChatDrawer *){background:rgba(20,20,21,.30)!important;color:inherit!important;border:1px solid rgba(255,255,255,.25)!important;-webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important}
input,select,textarea{border-radius:11px}
:is(input,select,textarea,button,.btn):not(header *):not(#accDlg *):not(#accActionDlg *):not(#sellerEditListingDialog *):not(#uxChatDrawer *){-webkit-backdrop-filter:blur(14px) saturate(130%);backdrop-filter:blur(14px) saturate(130%)}

html:not([data-theme="light"]) .journal-card-top,html:not([data-theme="light"]) .project-card .project-article{background:rgba(20,22,26,.88)!important}
html:not([data-theme="light"]) .journal-card-body h2,html:not([data-theme="light"]) .project-body h2,html:not([data-theme="light"]) .project-intro h2,html:not([data-theme="light"]) .journal-intro h2{color:#f4efe4}
html:not([data-theme="light"]) .journal-read,html:not([data-theme="light"]) .project-kicker,html:not([data-theme="light"]) .contact-card span{color:#d9bd7d!important}
@media(max-width:600px){.journal-intro{padding:22px!important}.journal-card-body{padding:18px}.project-body{padding:20px}}

/* ===== Auth Dialog & Account Switch ===== */
#authDlg{background:rgba(17,17,18,.32)!important;border-color:rgba(255,255,255,.20)!important;color:var(--text,#f5f2eb);border-radius:22px;box-shadow:0 28px 90px rgba(0,0,0,.48)}
#authDlg::backdrop{background:rgba(5,7,9,.64);backdrop-filter:blur(5px)}
#authDlg .in{position:relative;z-index:1}
#authCloseTop{position:sticky;top:0;z-index:20;float:right;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid rgba(195,169,112,.38);background:rgba(255,255,255,.08);color:inherit;font-size:26px;cursor:pointer;pointer-events:auto}
#authCloseBack,#authSubmit,#accountRetryButton{position:relative;z-index:3;pointer-events:auto;cursor:pointer}
.account-load-error{padding:24px;border:1px solid rgba(195,169,112,.35);border-radius:16px}
.account-load-error button{padding:10px 16px;border-radius:999px;background:var(--gold,#c3a970);color:#171717;border:0;font-weight:700;cursor:pointer}

#authDlg #authSwitchRow{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;position:relative!important;z-index:9999!important;pointer-events:auto!important;isolation:isolate!important;visibility:visible!important;opacity:1!important}
#authDlg #authSwitchRow *{pointer-events:auto}
#authDlg #authSwitchRow span{pointer-events:none!important}
#authDlg #authSwitch{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:10000!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important;min-height:44px!important;min-width:64px!important;padding:10px 14px!important;margin:0 0 0 4px!important;border:1px solid rgba(212,160,23,.65)!important;border-radius:999px!important;color:var(--gold,#d4a017)!important;background:rgba(212,160,23,.10)!important}

/* ===== Location & Garage Sections ===== */
.garage-hero,.dealer-hero,.location-hero{border-left:0!important;border-right:0!important}
html:not([data-theme="light"]) #location .tile,
html:not([data-theme="light"]) #location .card,
html:not([data-theme="light"]) #location .panel,
html:not([data-theme="light"]) #location .location-card,
html:not([data-theme="light"]) #location .location-panel,
html:not([data-theme="light"]) #location .contact-card,
html:not([data-theme="light"]) #location .map-card,
html:not([data-theme="light"]) #location .location-content,
html:not([data-theme="light"]) #location .location-info,
html:not([data-theme="light"]) #location .location-details,
html:not([data-theme="light"]) #location .location-cta{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:20px!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html:not([data-theme="light"]) #location input,
html:not([data-theme="light"]) #location select,
html:not([data-theme="light"]) #location textarea{background:rgba(20,20,21,.30)!important;border-color:rgba(255,255,255,.25)!important;-webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important}
#location hr,#location .gold-line,#location .gold-divider,#location .section-divider{border:0!important;height:0!important;background:transparent!important;box-shadow:none!important}

/* ===== Mobile Full Screen Scroll ===== */
@media(max-width:760px){
  html{height:auto!important;max-height:none!important;min-height:100dvh;overflow-x:clip!important;overflow-y:visible!important;scroll-padding-top:68px!important}
  body{height:auto!important;max-height:none!important;min-height:100dvh!important;overflow-x:clip!important;overflow-y:visible!important}
  main>section,main section[id],body>section,section.page-section,section.content-section{scroll-margin-top:68px!important;box-sizing:border-box!important}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* ===== Official 3 Pedals Typography ===== */
html body,html body button,html body input,html body select,html body textarea{font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif!important;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
html body :is(h1,h2,h3,h4,h5,h6){font-family:"Sora","Manrope",system-ui,sans-serif!important;font-weight:600!important;letter-spacing:-.035em!important;line-height:1.18!important}
html body :is(h1){font-weight:700!important;letter-spacing:-.045em!important}
html body :is(p,li,label,small,.description,.muted,.meta,.subtitle,.section-subtitle,.eyebrow,.lead){font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif!important}
html body :is(.brand,.logo,.brand-name,.site-brand,.wordmark,header .brand,header .logo){font-family:"Sora",system-ui,sans-serif!important;font-weight:700!important;letter-spacing:-.035em!important}
html body :is(button,.btn,a.button,.back,nav a,nav button){font-family:"Manrope",system-ui,sans-serif!important;font-weight:600!important}
html body :is(.price,.amount,.vehicle-price,[data-price]){font-family:"Manrope",system-ui,sans-serif!important;font-weight:700!important;font-variant-numeric:tabular-nums}
html body :is(.journal-title,.article-title,.editorial-title,.article-head h2){font-family:"Sora","Manrope",system-ui,sans-serif!important;font-weight:600!important;letter-spacing:-.025em!important}
#home .home-with-quote{padding-top:clamp(8px,1.2vw,16px)!important}
@media(max-width:760px){#home .home-with-quote{padding-top:8px!important}}

/* ===== Account Workspace styling moved to /account-panel.css ===== */

/* ===== Journal Share Controls & Dialog ===== */
#journalGrid .journal-entry .journal-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
#journalGrid .journal-entry .journal-card-actions .journal-read{margin:0!important}
#journalGrid .journal-entry .journal-share{font-family:inherit}
@media(max-width:520px){#journalGrid .journal-entry .journal-card-actions{gap:7px;margin-top:10px}#journalGrid .journal-entry .journal-card-actions .journal-read{min-height:40px!important}}
.journal-share-dialog{width:min(520px,calc(100vw - 28px));padding:24px;border:1px solid rgba(201,183,132,.55);border-radius:18px;background:rgba(22,23,24,.96);color:#f5f1e6;box-shadow:0 24px 80px rgba(0,0,0,.65);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.journal-share-dialog::backdrop{background:rgba(0,0,0,.68);backdrop-filter:blur(5px)}
.journal-share-dialog h2{font:700 24px/1.15 "Sora","Manrope",system-ui,sans-serif;margin:0 42px 6px 0}
.journal-share-dialog p{margin:0 0 18px;color:#aaa18e}
.journal-share-dialog label{display:block;font-size:12px;font-weight:700;color:#c9b784}
.journal-share-dialog .journal-share-url{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid rgba(201,183,132,.3);border-radius:9px;background:#111213;color:#f5f1e6;font:13px/1.4 Manrope,system-ui,sans-serif}
.journal-share-actions{display:flex;gap:9px;margin-top:14px}
.journal-share-actions button,.journal-share-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border:1px solid rgba(201,183,132,.45);border-radius:9px;background:rgba(201,183,132,.12);color:#f5f1e6;text-decoration:none;font:700 14px Manrope,system-ui,sans-serif;cursor:pointer}
@media(hover:hover) and (pointer:fine){.journal-share-actions button:hover,.journal-share-actions a:hover{border-color:#c9b784;background:rgba(201,183,132,.22)}}
.journal-copy-status{display:block;margin-top:12px;color:#aaa18e}
.journal-share-close{float:right;width:36px;height:36px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(255,255,255,.05);color:#f5f1e6;font-size:22px;cursor:pointer}

/* ===== Featured & Mobile Marketplace Inventory Layout ===== */
.featured-section{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
@media(min-width:1100px){
  .featured-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
  .featured-grid .swatch{height:96px!important;min-height:96px!important}
  .featured-grid .swatch-photo{height:100%!important;min-height:0!important;object-fit:cover!important}
  .featured-grid .card .body{padding:7px!important}
  .featured-grid .card h3{font-size:12px!important;line-height:1.2!important;margin:0 0 4px!important}
  .featured-grid .card .price{font-size:12px!important;margin:0 0 4px!important}
  .featured-grid .card .tags{margin:2px 0 4px!important}
  .featured-grid .card .tag{font-size:10px!important;padding:0!important}
  .featured-grid .card .card-extra{margin-top:5px!important}
  .featured-grid .card .yard-line{font-size:9px!important;gap:4px!important}
}
@media(min-width:761px) and (max-width:1099px){
  .featured-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
  .featured-grid .swatch{height:100px!important;min-height:100px!important}
  .featured-grid .card .body{padding:8px!important}
  .featured-grid .card h3,.featured-grid .card .price{font-size:13px!important}
}
@media (max-width:820px), (hover:none), (pointer:coarse){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation-duration:.001ms!important;animation-delay:0ms!important;transition-duration:.001ms!important;transition-delay:0ms!important;scroll-behavior:auto!important}
  .card:hover,.card:focus-visible,.tile:hover,.tile:focus-visible,.project-card:hover,.project-card:focus-visible,.contact-card:hover,.panel:hover,.mechanic-card:hover,.btn:hover,.back:hover,.logo:hover,.account-pill:hover,.account-icon:hover,nav button:hover,nav a.navlink:hover,.thumb:hover,.thumbs button:hover,.card:active,.tile:active,.btn:active{transform:none!important;filter:none!important;box-shadow:none!important}
  .card:hover img,.card:focus-visible img,.card:hover .swatch,.card:focus-visible .swatch,.project-card:hover img,.project-card:hover video,.account-icon:hover svg{transform:none!important;filter:none!important}
  .card-reveal{transition:none!important}
  nav button,nav a.navlink{--dock-scale:1!important}
  .backdrop-blur,.glass,.panel,.filters input,.filters select{-webkit-backdrop-filter:none;backdrop-filter:none}
}
@media (max-width:820px) and (prefers-reduced-motion:no-preference){main>section:not([hidden]){animation:none!important}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:560px){
  #buy .card-main{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;min-width:0!important}
  #buy .card .swatch{display:flex!important;width:100%!important;max-width:100%!important;flex:0 0 auto!important;box-sizing:border-box!important;min-width:0!important;height:clamp(150px,48vw,200px)!important;min-height:0!important;align-self:stretch!important;padding:8px!important}
  #buy .card .swatch .swatch-year{font-size:15px!important;line-height:1!important}
  #buy .card .yard-badge{font-size:8px!important;line-height:1!important;padding:3px 5px!important;letter-spacing:.02em!important;max-width:calc(100% - 12px)!important;white-space:nowrap!important;z-index:6!important}
  #buy .card .swatch .promoted-tag{position:absolute!important;top:7px!important;right:5px!important;left:auto!important;z-index:5!important;max-width:calc(100% - 10px);padding:3px 4px!important;font-size:7px!important;line-height:1!important;letter-spacing:0!important;white-space:nowrap;box-sizing:border-box}
  #buy .card-extra .yard-line{gap:4px!important;margin:3px 0 0!important;font-size:10px!important;line-height:1.2!important;overflow-wrap:anywhere}
  #buy .card-extra .yard-link{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word;font-size:10px!important;line-height:1.2!important}
  #buy .card-extra .yard-logo{width:20px!important;height:20px!important;flex-basis:20px!important}
  #buy .card-reveal{margin-top:3px!important;font-size:10px!important}
  #buy .filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:8px 0!important}
  #buy .filters #q{grid-column:auto!important}
  #buy .filters input,#buy .filters select{width:100%!important;min-width:0!important;min-height:40px!important;height:40px!important;padding:7px 9px!important;font-size:12.5px!important;border-radius:10px!important}
  #buy #grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  #buy #grid .card{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;overflow:hidden!important}
  #buy #grid .card .swatch{position:relative!important;display:block!important;flex:0 0 auto!important;width:100%!important;height:clamp(125px,34vw,155px)!important;min-height:0!important;margin:0!important;border-radius:0!important;overflow:hidden!important;aspect-ratio:4/3!important}
  #buy #grid .card .swatch-photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;object-position:center!important;display:block!important}
  #buy #grid .card .body{position:relative!important;display:flex!important;flex-direction:column!important;flex:1 0 auto!important;width:100%!important;min-width:0!important;height:auto!important;padding:6px 7px!important;gap:0!important;overflow:visible!important}
  #buy #grid .card .body h3,#buy #grid .card .body .price,#buy #grid .card .body .tag,#buy #grid .card .body .card-extra,#buy #grid .card .body .yard-line{position:static!important;max-width:100%!important}
  #buy{padding-top:0!important;margin-top:0!important}
  #buy .hero{display:block!important;padding:0 0 6px!important;margin:0!important;min-height:0!important;gap:0!important}
  #buy .hero h1{margin:0!important;padding:0!important;line-height:1.12!important;min-height:0!important}
  #buy .hero p{margin:4px 0 0!important;padding:0!important}
  #buy #grid .card .body h3{min-height:0!important;height:auto!important;margin:0 0 2px!important;padding:0!important;font-size:13px!important;line-height:1.18!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2!important;overflow:hidden!important;overflow-wrap:anywhere!important}
  #buy #grid .card .body .price{margin:0 0 2px!important;padding:0!important;font-size:14px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
  #buy .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  #buy .grid>.card{display:flex!important;flex-direction:column!important;min-width:0!important;height:auto!important;min-height:0!important;overflow:hidden!important;padding:0!important}
  #buy .grid>.card .card-main{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;height:auto!important;min-height:0!important}
  #buy .grid>.card .swatch{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;height:clamp(125px,38vw,165px)!important;min-height:0!important;flex:0 0 auto!important;margin:0!important;padding:0!important;box-sizing:border-box!important;background-size:cover!important;background-position:center!important;overflow:hidden!important}
  #buy .grid>.card .swatch-photo{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;object-position:center!important}
  #buy .grid>.card .body{display:block!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;flex:1 0 auto!important;box-sizing:border-box!important;margin:0!important;padding:8px 8px 6px!important;gap:4px!important;overflow:visible!important}
  #buy .grid>.card .body h3{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;min-height:0!important;height:auto!important;margin:0 0 2px!important;padding:0!important;font-size:13px!important;line-height:1.18!important;overflow:hidden!important}
  #buy .grid>.card .body .price{display:block!important;margin:0 0 2px!important;padding:0!important;font-size:14px!important;line-height:1.15!important}
  #buy .grid>.card .body .tags,
  #buy .grid>.card .body>.tags{display:flex!important;flex-wrap:wrap!important;align-items:center!important;margin:4px 0 2px!important}
  #buy .grid>.card .body>.tag{display:inline-flex!important;margin:3px 6px 0 0!important;font-size:10.5px!important;padding:0!important}
  #buy .grid>.card .body .card-extra,#buy .grid>.card .body .yard-line,#buy .grid>.card .body .card-reveal{display:block!important;margin-top:4px!important}
  #buy .grid>.card>.yard-badge{font-size:8px!important;padding:2px 4px!important}
  .featured-grid .card .body,.featured-grid>.card .body{padding:6px 7px!important;margin:0!important;gap:0!important}
  .featured-grid>.card .card-main{display:flex!important;flex-direction:column!important;gap:0!important}
  .featured-grid>.card .swatch{width:100%!important;height:clamp(110px,32vw,145px)!important;min-height:0!important;flex:0 0 auto!important}
  .featured-grid>.card .swatch-photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
  .featured-grid>.card .body h3{min-height:0!important;margin:0 0 1px!important;font-size:12px!important;line-height:1.15!important}
  .featured-grid>.card .body .price{margin:0!important;font-size:13px!important;line-height:1.12!important}
  .featured-grid>.card .body>.tag{display:inline-flex!important;margin:3px 6px 0 0!important}
  .featured-grid>.card .body .card-extra,.featured-grid>.card .body .yard-line,.featured-grid>.card .body .card-reveal{display:block!important;margin-top:4px!important}
}

/* ===== Journal Two-Column Feed ===== */
#journalGrid.journal-grid{display:grid!important;width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:22px!important}
#journalGrid.journal-grid>.journal-entry{display:flex!important;flex-direction:column!important;grid-column:auto!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;height:100%!important;margin:0!important}
#journalGrid.journal-grid>.journal-entry .journal-entry-media,#journalGrid.journal-grid>.journal-entry .journal-entry-media img,#journalGrid.journal-grid>.journal-entry .journal-entry-empty{display:block!important;width:100%!important;height:clamp(190px,20vw,280px)!important;min-height:0!important;max-height:280px!important;object-fit:cover!important}
#journalGrid.journal-grid>.journal-entry .project-body{display:flex!important;flex:1!important;flex-direction:column!important;min-width:0!important;overflow:visible!important;padding:clamp(18px,2vw,28px)!important}
@media(max-width:600px){
  #journalGrid.journal-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  #journalGrid.journal-grid>.journal-entry{max-width:100%!important}
  #journalGrid.journal-grid>.journal-entry .journal-entry-media,#journalGrid.journal-grid>.journal-entry .journal-entry-media img,#journalGrid.journal-grid>.journal-entry .journal-entry-empty{height:clamp(190px,52vw,300px)!important;max-height:300px!important}
}
@media (min-width:761px){
  #journalGrid.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(18px,1.8vw,28px)!important}
  #journalGrid.journal-grid>.journal-entry{width:100%!important;max-width:none!important;min-width:0!important}
  #journalGrid.journal-grid>.journal-entry .journal-entry-media,#journalGrid.journal-grid>.journal-entry .journal-entry-media img,#journalGrid.journal-grid>.journal-entry .journal-entry-empty{height:clamp(190px,20vw,280px)!important;max-height:280px!important}
  #journalGrid.journal-grid>.journal-entry .project-body{padding:clamp(20px,2vw,30px)!important}
}

/* ===== Translucent Icon Controls & Account Admin Bar ===== */
.glass-icon-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:56px!important;height:56px!important;min-width:56px!important;padding:0!important;border:0!important;outline:0!important;border-radius:0!important;box-sizing:border-box!important;background:transparent!important;color:rgba(235,207,133,.88)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;transition:transform .2s ease,color .2s ease,opacity .2s ease!important;opacity:.92!important}
.glass-icon-btn:focus,.glass-icon-btn:focus-visible{outline:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.glass-icon-btn svg{width:40px!important;height:40px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:.92!important}
@media (hover:hover) and (pointer:fine){.glass-icon-btn:hover{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;transform:translateY(-1px);opacity:1!important;color:rgba(255,235,183,.98)!important}}
#publicWhatsappHero{font-size:0!important;gap:0!important;background:transparent!important}
#publicWhatsappHero svg{color:rgba(235,207,133,.9)!important}
#publicWhatsappFab{width:46px!important;height:46px!important;min-width:46px!important;right:20px!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;padding:0!important;color:rgba(235,207,133,.9)!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;z-index:954!important}
#publicWhatsappFab svg{width:32px!important;height:32px!important}
html[data-theme="light"] .glass-icon-btn,html[data-theme="light"] #publicWhatsappFab,html[data-theme="light"] #publicWhatsappHero svg{color:#8c6510!important}
@media (hover:hover) and (pointer:fine){html[data-theme="light"] .glass-icon-btn:hover,html[data-theme="light"] #publicWhatsappFab:hover{color:#6e4e08!important}}
#adminOpen{cursor:pointer!important;background:transparent!important}
body:has(#home[hidden]) #publicWhatsappFab{display:none!important}
@media(max-width:600px){#publicWhatsappHero{width:52px!important;height:52px!important;min-width:52px!important}#publicWhatsappFab{width:44px!important;height:44px!important;min-width:44px!important;right:14px!important;bottom:calc(13px + env(safe-area-inset-bottom,0px))!important}#publicWhatsappFab svg{width:30px!important;height:30px!important}}
@media(prefers-reduced-motion:reduce){.glass-icon-btn{transition:none!important}}

/* ===== Mobile Card Consistency (<= 760px): Smoked Glass + Corner-Frame ===== */
@media(max-width:760px){
  html:not([data-theme="light"]) .journal-share-dialog{
    background:rgba(22,23,24,.96)!important;
  }
  html:not([data-theme="light"]) :is(button.ghost,.btn.ghost,.button.ghost,.btn.alt,.button.alt,.journal-entry .journal-read,
  .journal-entry .journal-share,.journal-share-actions button,.journal-share-actions a,
  .auto-quote-next,.yard-badge,.project-media-count,.account-card-save):not(#accDlg *):not(#accActionDlg *):not(#sellerEditListingDialog *){
    -webkit-backdrop-filter:blur(10px) saturate(125%)!important;
    backdrop-filter:blur(10px) saturate(125%)!important;
    background-color:rgba(255,255,255,.085)!important;
    background-image:none!important;
    border-color:rgba(255,255,255,.22)!important;
  }
  html:not([data-theme="light"]) :is(input,select,textarea):not(#accDlg *):not(#accActionDlg *):not(#sellerEditListingDialog *){
    -webkit-backdrop-filter:blur(10px)!important;
    backdrop-filter:blur(10px)!important;
    background:rgba(18,20,24,.58)!important;
  }
}

#buy #grid>.card,
.featured-grid>.card,
#journalGrid.journal-grid>.journal-entry{
  content-visibility:auto;
  contain-intrinsic-size:auto 320px;
}

/* ===== Balanced Home Screen Cards Grid (3x2 desktop, 2x3 tablet/mobile, zero orphan card) ===== */
#home{
  padding-bottom:36px;
}
#home .tiles,
.tiles{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:1fr;
  align-items:stretch!important;
  gap:16px!important;
  margin:0 0 22px!important;
}
#home .tile,
.tiles .tile{
  min-width:0!important;
  height:100%!important;
  min-height:126px!important;
  padding:22px 24px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  gap:7px!important;
  box-sizing:border-box!important;
}
#home .tile h3,
.tiles .tile h3{
  margin:0!important;
  font-size:clamp(19px,1.7vw,23px)!important;
  line-height:1.22!important;
  text-wrap:balance;
}
#home .tile .meta,
.tiles .tile .meta{
  margin:0!important;
  font-size:13.5px!important;
  line-height:1.48!important;
  max-width:30ch!important;
  color:rgba(244,240,232,.74);
}
#home .journal-intro,
#home .project-intro{
  margin:0 0 18px!important;
  padding:24px 28px!important;
}
#home .journal-intro .btn,
#home .project-intro .btn{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  min-height:44px!important;
  padding:11px 20px!important;
}
@media(max-width:900px){
  #home .tiles,
  .tiles{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  #home .tile,
  .tiles .tile{
    min-height:112px!important;
    padding:16px 16px 15px!important;
  }
  #home .tile h3,
  .tiles .tile h3{
    font-size:clamp(17px,2.4vw,20px)!important;
  }
}
@media(max-width:600px){
  #home{
    padding-bottom:28px;
  }
  #home .tiles,
  .tiles{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin-bottom:16px!important;
  }
  #home .tile,
  .tiles .tile{
    min-height:98px!important;
    padding:13px 13px 12px!important;
    gap:5px!important;
  }
  #home .tile h3,
  .tiles .tile h3{
    font-size:15.5px!important;
    line-height:1.2!important;
  }
  #home .tile .meta,
  .tiles .tile .meta{
    font-size:12px!important;
    line-height:1.4!important;
  }
  #home .journal-intro,
  #home .project-intro{
    padding:20px!important;
  }
  #home .journal-intro .btn,
  #home .project-intro .btn{
    width:auto!important;
  }
}

