:root{--navy:#111b2e;--navy2:#18243a;--ink:#1c2534;--muted:#727b88;--cream:#f4f0e8;--paper:#fbf9f4;--gold:#c7a66a;--gold2:#e2c58e;--line:rgba(25,37,54,.14);--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.site-header{height:88px;padding:0 6.5%;display:flex;align-items:center;justify-content:space-between;background:rgba(251,249,244,.94);backdrop-filter:blur(18px);position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(30,42,58,.07)}.brand{font:600 17px var(--sans);letter-spacing:.17em;color:var(--navy);display:inline-flex;align-items:center;gap:7px}.brand span{font-weight:400;letter-spacing:.12em}.brand i{font-style:normal;color:var(--gold);font-size:20px;margin-left:2px}.main-nav{display:flex;gap:clamp(14px,2.3vw,34px);align-items:center}.main-nav a{font-size:12px;letter-spacing:.03em;color:#4d5663;transition:color .25s}.main-nav a:hover,.under-link:hover{color:#a17e43}.header-cta{font-size:12px;border-bottom:1px solid var(--gold);padding:9px 0;color:var(--navy)}.header-cta span{color:var(--gold);margin-left:10px}.menu-toggle{display:none;background:none;border:0;font-size:22px}.hero{min-height:690px;height:min(790px,calc(100vh - 88px));background:radial-gradient(ellipse at 76% 44%,#293a56 0,#19263c 35%,#101a2b 75%);color:#fff;position:relative;overflow:hidden;display:flex;align-items:center;padding:80px 10.5%}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,16,28,.25),transparent 70%),url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");opacity:.32}.hero-content{position:relative;z-index:3;max-width:610px;animation:rise 1.1s both}.eyebrow{font-size:10px;letter-spacing:.22em;font-weight:600;color:var(--gold);text-transform:uppercase}.eyebrow-line{display:inline-block;width:34px;height:1px;background:var(--gold);vertical-align:middle;margin-right:12px}.hero h1{font:500 clamp(50px,6.2vw,86px)/1.08 var(--serif);letter-spacing:-.035em;margin:30px 0 24px}.hero h1 em,.section h2 em,.inner-page h1 em,.article-page h1 em,.login-card h1 em,.admin-head h1 em{color:var(--gold2);font-weight:500}.hero-content>p{font-size:16px;line-height:1.8;color:#c5cad3;max-width:440px}.hero-buttons{display:flex;align-items:center;gap:14px;margin-top:34px}.btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:15px 22px;font-size:11px;letter-spacing:.06em;cursor:pointer;transition:transform .25s,background .25s,border .25s}.btn:hover{transform:translateY(-3px)}.btn-gold{background:var(--gold);color:#151d2b}.btn-gold:hover{background:var(--gold2)}.btn-ghost,.btn-outline{border:1px solid rgba(255,255,255,.3);color:#fff;background:transparent}.btn-outline{border-color:var(--line);color:var(--ink)}.hero-portrait{position:absolute;right:11%;top:11%;width:min(31vw,400px);height:76%;z-index:2;animation:fadeIn 1.4s .25s both}.hero-portrait:before{content:'';position:absolute;inset:24px -22px -22px 22px;border:1px solid rgba(210,179,120,.55);z-index:-1}.hero-portrait img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.75);display:block}.portrait-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#33445c,#1c293e);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.55)}.portrait-placeholder span{font:italic 90px var(--serif);color:var(--gold2)}.portrait-placeholder small{letter-spacing:.2em;font-size:9px}.portrait-caption{position:absolute;bottom:0;left:0;right:0;padding:17px;background:linear-gradient(transparent,rgba(7,13,23,.8));font-size:10px;letter-spacing:.2em}.portrait-caption span{color:var(--gold);float:right}.orbit{position:absolute;border:1px solid rgba(201,171,113,.22);border-radius:50%;pointer-events:none}.orbit-one{width:670px;height:670px;right:-55px;top:2%;animation:orbit 90s linear infinite}.orbit-two{width:520px;height:520px;right:20px;top:13%;border-style:dashed;animation:orbit 70s linear infinite reverse}.orbit-three{width:900px;height:900px;right:-170px;top:-13%;opacity:.4}.orbit-one:after,.orbit-two:after{content:'✦';position:absolute;top:13%;left:17%;color:var(--gold2);font-size:13px}.hero-bottom{position:absolute;bottom:26px;left:10.5%;right:10.5%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.2em;color:#9ca7b8}.section{padding:110px 10.5%;position:relative}.section-kicker{font-size:9px;letter-spacing:.2em;color:#a48a60}.about-section{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:390px;background:var(--cream)}.about-copy{max-width:590px}.about-copy h2,.section h2,.contact-section h2{font:500 clamp(36px,4.3vw,56px)/1.15 var(--serif);margin:16px 0 20px;color:var(--navy)}.about-copy h2 em,.section h2 em,.contact-section h2 em,.inner-page h1 em,.article-page h1 em{color:#b18d54}.about-copy p{max-width:600px;color:#68717d;line-height:1.9}.under-link{font-size:11px;letter-spacing:.06em;border-bottom:1px solid var(--gold);padding-bottom:8px;display:inline-block;margin-top:18px;transition:color .2s}.under-link span{color:#b18d54;margin-left:12px}.about-symbol{font-size:180px;color:rgba(190,158,101,.17);justify-self:center;animation:slowSpin 45s linear infinite}.services-section{background:#fff}.section-title{display:flex;justify-content:space-between;align-items:end;margin:20px 0 38px}.section-title h2{margin:12px 0 0}.service-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.service-mini{min-height:170px;padding:24px 22px;border-right:1px solid var(--line);position:relative;transition:background .3s}.service-mini:first-child{border-left:1px solid var(--line)}.service-mini:hover{background:var(--cream)}.service-mini span{font-size:10px;color:#a98b59;letter-spacing:.15em}.service-mini h3{font:500 21px/1.25 var(--serif);max-width:190px;margin:25px 0 0}.service-mini b{position:absolute;right:20px;bottom:20px;color:#a98b59;font-weight:400}.publication-section{background:var(--navy);color:white}.publication-section h2{color:#fff}.publication-section .section-kicker{color:#a88b5b}.publication-section .under-link{color:#e8e2d7}.articles-section{background:var(--cream)}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}.post-card{display:block;background:#fff;padding-bottom:24px;transition:transform .35s,box-shadow .35s}.post-card:hover{transform:translateY(-7px);box-shadow:0 18px 40px rgba(0,0,0,.12)}.post-cover{height:180px;background:linear-gradient(135deg,#283750,#101a2c);background-size:cover;background-position:center;position:relative}.post-cover:after{content:none;display:none}.post-cover span{position:absolute;z-index:2;left:16px;top:15px;font-size:8px;letter-spacing:.2em;color:#fff}.post-card .post-meta,.post-card h2,.post-card p,.post-card>b{margin-left:22px;margin-right:22px}.post-meta{font-size:10px;color:#a58a5b;margin-top:19px}.post-card h2{font:500 22px/1.3 var(--serif);margin-top:9px;margin-bottom:9px;color:var(--navy)}.post-card p{font-size:12px;color:#78818b;line-height:1.7}.post-card>b{display:inline-block;font-size:10px;color:#9c7b46;margin-top:9px}.application-section{background:#eee8dc;display:grid;grid-template-columns:.85fr 1.15fr;gap:9%;align-items:start}.application-intro h2{font:500 clamp(42px,5vw,65px)/1.1 var(--serif);margin:20px 0}.application-intro h2 em{color:#b18d54}.application-intro p{max-width:350px;color:#6f7781;line-height:1.9}.application-orbit{font-size:135px;color:rgba(186,150,91,.3);margin-top:45px;animation:slowSpin 50s linear infinite}.application-form{background:var(--paper);padding:38px;box-shadow:0 20px 60px rgba(30,37,47,.06)}label{display:block;font-size:11px;color:#626d7b;letter-spacing:.03em}input,textarea,select{width:100%;border:1px solid #dfe0dc;background:#fff;padding:13px 14px;margin-top:7px;color:#1e2a3b;outline:none;border-radius:0}input:focus,textarea:focus,select:focus{border-color:#b79863;box-shadow:0 0 0 3px rgba(183,152,99,.12)}textarea{resize:vertical}.application-form>label,.application-form>.two{margin-bottom:16px}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.consent{display:flex;gap:10px;align-items:flex-start;margin:17px 0}.consent input{width:16px;margin:2px 0 0;flex:0 0 16px}.consent span{font-size:10px;line-height:1.5}.form-note{display:block;color:#9299a2;font-size:9px;margin-top:13px}.honeypot{position:absolute;left:-9999px}.captcha-check{margin:18px 0 16px;padding:16px 18px;border:1px solid #e2d8c5;background:#f8f5ef}.captcha-check label{font-size:12px;color:#263247;letter-spacing:0}.captcha-check input{max-width:180px}.captcha-check small{display:block;margin-top:7px;color:#9299a2;font-size:10px}.contact-section{display:flex;justify-content:space-between;align-items:center;background:#fff}.contact-section h2{margin-bottom:0}.contact-details{display:flex;flex-direction:column;gap:10px;min-width:260px}.contact-details p{color:#7a828d;font-size:12px}.contact-details a{font:500 18px var(--serif);color:#a1814c}.site-footer{padding:35px 6.5%;display:flex;justify-content:space-between;align-items:center;background:#101a2b;color:#aeb6c2}.site-footer .brand{color:#fff;font-size:14px}.site-footer>span,.site-footer>a:last-child{font-size:10px;color:#aeb6c2}.inner-page,.article-page{max-width:1120px;margin:0 auto;padding:100px 36px 130px;min-height:65vh}.inner-page h1,.article-page h1{font:500 clamp(42px,6vw,70px)/1.15 var(--serif);color:var(--navy);margin:18px 0 28px}.intro-copy{max-width:630px;color:#747e8a}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:45px 0}.service-card{padding:28px;background:#fff;border:1px solid var(--line);min-height:235px}.service-card>span{color:#b18d54;font-size:22px}.service-card h2{font:500 23px/1.25 var(--serif);color:var(--navy)}.service-card p{font-size:12px;color:#727c88}.service-card a{font-size:10px;color:#9b7b4b;border-bottom:1px solid var(--gold);padding-bottom:5px}.note{background:var(--cream);padding:20px;color:#6f7883;font-size:12px}.article-page{max-width:850px}.article-cover{width:100%;max-height:470px;object-fit:cover;margin:20px 0}.article-body{font-size:16px;line-height:1.95;color:#394556;margin:40px 0 70px}.article-body h2,.article-body h3{font-family:var(--serif);color:var(--navy);margin-top:1.8em}.article-body a{color:#a1814c;text-decoration:underline}.empty-state{padding:35px;background:#fff;color:#79818c}.toast{position:fixed;z-index:99;right:24px;bottom:24px;padding:18px 24px;background:#1d3a30;color:#fff;box-shadow:0 12px 35px #0002;animation:rise .4s both}.admin-wrap{max-width:1100px;margin:0 auto;padding:42px 24px 100px}.admin-wrap>.brand{margin-bottom:50px}.login-card{max-width:440px;margin:7vh auto;background:#fff;padding:42px;box-shadow:0 20px 60px #15243a12}.login-card h1,.admin-head h1{font:500 42px var(--serif);color:var(--navy);margin:12px 0 25px}.stack{display:grid;gap:18px}.stack .btn{margin-top:5px}.admin-head{display:flex;justify-content:space-between;align-items:center}.admin-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin:30px 0;padding-bottom:14px}.admin-tabs a{font-size:12px}.admin-tabs b{background:#b18d54;color:white;border-radius:20px;padding:2px 7px}.admin-actions{display:flex;align-items:center;justify-content:space-between}.admin-list{margin-top:20px;background:#fff}.admin-row,.application-row{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:25px;align-items:center}.admin-row h3,.application-row h3{font:500 19px var(--serif);margin:8px 0}.admin-row small{color:#8a929c}.pill{font-size:8px;letter-spacing:.12em;color:#9b7b4b}.row-actions{display:flex;gap:16px;white-space:nowrap;font-size:11px}.row-actions a{color:#8c6e42}.row-actions form{display:inline}.link-danger{border:0;background:none;color:#aa5555;cursor:pointer;font-size:11px}.admin-form{max-width:820px;background:#fff;padding:30px;display:grid;gap:17px}.admin-form small{display:block;color:#8b939d;margin-top:6px}.admin-form .btn{justify-self:start}.admin-form h2{font:500 26px var(--serif);margin:0}.admin-photo{max-width:180px;max-height:180px;object-fit:cover}.application-row{align-items:flex-start}.application-row p{font-size:12px;color:#697481}.application-row form{min-width:160px}.application-row form select{margin-bottom:8px}.error{background:#fae8e6;color:#8d3e36;padding:12px;font-size:12px}.success{background:#e8f3e9;color:#2e6940;padding:15px}.installer{background:var(--navy);min-height:100vh;display:grid;place-items:center;padding:24px}.install-card{width:min(100%,560px);padding:42px;background:var(--paper)}.install-card h1{font:500 42px var(--serif);color:var(--navy)}.install-card h1 em{color:#b18d54}.install-card h2{font:500 21px var(--serif);margin:14px 0 0;color:var(--navy)}@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes slowSpin{to{transform:rotate(360deg)}}
@media(max-width:980px){.main-nav{gap:12px}.main-nav a{font-size:10px}.hero{padding-left:7%;padding-right:7%}.hero-portrait{right:7%;width:34vw}.hero-bottom{left:7%;right:7%}.section{padding:85px 7%}.service-mini{padding:18px 14px}.service-mini h3{font-size:18px}.application-section{gap:5%}.application-form{padding:25px}}
@media(max-width:720px){.site-header{height:72px;padding:0 6%}.brand{font-size:14px}.menu-toggle{display:block;color:var(--navy)}.header-cta{display:none}.main-nav{display:none;position:absolute;top:71px;left:0;right:0;padding:20px 7%;background:var(--paper);box-shadow:0 15px 25px #0001;flex-direction:column;align-items:flex-start}.main-nav.open{display:flex}.main-nav a{font-size:13px;padding:7px 0}.hero{height:auto;min-height:790px;display:block;padding:72px 7% 90px}.hero-content{max-width:100%}.hero h1{font-size:55px;margin-top:24px}.hero-content>p{font-size:14px}.hero-portrait{position:relative;top:auto;right:auto;width:74%;height:330px;margin:55px auto 0}.hero-bottom{bottom:18px;font-size:7px}.orbit-one{right:-420px;top:220px}.orbit-two{right:-350px;top:290px}.section{padding:72px 7%}.about-section{grid-template-columns:1fr;min-height:auto}.about-symbol{display:none}.section-title{align-items:flex-start;gap:15px;flex-direction:column}.service-strip{grid-template-columns:1fr 1fr}.service-mini:nth-child(2){border-right:0}.service-mini:nth-child(n+3){border-top:1px solid var(--line)}.post-grid{grid-template-columns:1fr;gap:18px}.post-cover{height:210px}.application-section{grid-template-columns:1fr;gap:25px}.application-orbit{display:none}.application-form{padding:22px}.contact-section{display:block}.contact-details{margin-top:30px}.site-footer{padding:28px 7%;gap:15px;flex-wrap:wrap}.site-footer>span{order:3;width:100%}.inner-page,.article-page{padding:70px 7% 90px}.service-grid{grid-template-columns:1fr}.admin-wrap{padding:25px 15px 70px}.admin-head{align-items:flex-start}.admin-tabs{gap:15px;flex-wrap:wrap}.admin-row,.application-row{align-items:flex-start;flex-direction:column}.row-actions{margin-top:10px}.two{grid-template-columns:1fr}.application-row form{width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Illustrated service cards */
.service-visual-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;border:0}
.service-visual-card{display:flex;flex-direction:column;min-height:0;padding:0;border:1px solid rgba(25,37,54,.12);background:#fbf9f4;overflow:hidden;transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}
.service-visual-card:first-child{border-left:1px solid rgba(25,37,54,.12)}
.service-visual-card:hover{background:#fbf9f4;transform:translateY(-7px);box-shadow:0 18px 38px rgba(17,27,46,.12);border-color:rgba(177,141,84,.5)}
.service-image{height:205px;overflow:hidden;position:relative;background:#17243a}
.service-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,18,31,.02) 45%,rgba(10,18,31,.32));pointer-events:none}
.service-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1);filter:saturate(.88)}
.service-visual-card:hover .service-image img{transform:scale(1.07)}
.service-card-copy{position:relative;padding:20px 20px 24px;min-height:128px}
.service-card-copy span{font-size:9px;letter-spacing:.16em;color:#a98b59}
.service-card-copy h3{font:500 20px/1.22 var(--serif);color:var(--navy);margin:12px 25px 0 0;max-width:220px}
.service-card-copy b{position:absolute;right:18px;bottom:20px;color:#a98b59;font-size:18px;font-weight:400}
@media(max-width:980px){.service-visual-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.service-image{height:220px}}
@media(max-width:720px){.service-visual-grid{grid-template-columns:1fr 1fr;gap:11px}.service-image{height:150px}.service-card-copy{padding:14px 12px 18px;min-height:116px}.service-card-copy h3{font-size:17px;margin-top:9px}.service-card-copy span{font-size:8px}.service-card-copy b{right:11px;bottom:14px}}
@media(max-width:390px){.service-visual-grid{grid-template-columns:1fr}.service-image{height:205px}}


/* Mobile layout hardening: prevent fixed/grid content from escaping the viewport */
html,body{width:100%;max-width:100%;overflow-x:hidden}
*,*:before,*:after{box-sizing:border-box}
img,video,svg,canvas{max-width:100%}
main{width:100%;max-width:100%;min-width:0}
section{max-width:100%;min-width:0}
.section{width:100%;min-width:0}
.service-visual-grid{width:100%;max-width:100%;min-width:0}
.service-visual-card{width:100%;max-width:100%;min-width:0}
.service-image{width:100%;max-width:100%;min-width:0}
.service-image img{width:100%;max-width:100%;height:100%;object-fit:cover}
@media screen and (max-width:767px){
  .site-header{width:100%;max-width:100%;padding-left:5%;padding-right:5%}
  .main-nav{max-width:100%;width:100%}
  .hero,.section{width:100%;max-width:100%;padding-left:6%;padding-right:6%}
  .hero{min-height:0;height:auto;overflow:hidden}
  .hero-content{width:100%;max-width:100%;min-width:0}
  .hero h1{font-size:clamp(40px,11vw,56px);overflow-wrap:anywhere}
  .hero-portrait{max-width:82%;height:310px}
  .about-section{display:block;width:100%;max-width:100%;min-width:0}
  .about-copy{width:100%;max-width:100%;min-width:0}
  .about-copy p{max-width:100%}
  .section-title{width:100%;max-width:100%;min-width:0}
  .section-title h2{font-size:clamp(34px,9vw,46px);max-width:100%;overflow-wrap:anywhere}
  .service-visual-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
  .service-visual-card{display:flex;flex-direction:column;grid-column:1;min-height:0}
  .service-image{height:auto;aspect-ratio:16/9}
  .service-card-copy{min-height:100px;padding:16px 17px 20px}
  .service-card-copy h3{max-width:calc(100% - 28px);font-size:20px}
  .post-grid{grid-template-columns:minmax(0,1fr);width:100%;max-width:100%}
  .post-card{width:100%;max-width:100%;min-width:0}
  .application-section{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%}
  .application-form{width:100%;max-width:100%;min-width:0}
  .application-form input,.application-form select,.application-form textarea{width:100%;max-width:100%;min-width:0}
  .two{grid-template-columns:minmax(0,1fr)}
  .contact-section{width:100%;max-width:100%}
  .site-footer{width:100%;max-width:100%}
}

/* Consistent vector arrows: never render platform emoji glyphs */
.arrow-icon{display:inline-block;width:1em;height:1em;vertical-align:-.13em;flex:0 0 auto;overflow:visible;color:currentColor}
a:hover .arrow-icon,button:hover .arrow-icon{transform:translate(2px,-2px)}
.arrow-icon{transition:transform .25s ease}
.header-cta .arrow-icon{width:12px;height:12px;margin-left:5px}
.btn .arrow-icon{width:15px;height:15px}
.service-card-copy .arrow-icon{width:17px;height:17px}
.post-card .arrow-icon{width:14px;height:14px}
@media(prefers-reduced-motion:reduce){.arrow-icon{transition:none}}

/* Brand and decorative star marks use vector artwork, never iOS emoji glyphs */
.star-mark{display:inline-block;width:1em;height:1em;vertical-align:middle;flex:0 0 auto;color:var(--gold);overflow:visible}
.brand .star-mark{width:20px;height:20px;margin-left:5px;color:var(--gold)}
.brand{gap:7px}
.about-symbol .star-mark{width:1em;height:1em;color:rgba(190,158,101,.34)}
.application-orbit .star-mark{width:1em;height:1em;color:rgba(190,158,101,.5)}
.service-card>span .star-mark,.portrait-caption .star-mark{width:1em;height:1em}

/* Inline images and lightweight upload controls in the content editor */
.content-image{margin:28px auto;max-width:100%;text-align:center}.content-image img{display:block;width:auto;max-width:100%;max-height:720px;height:auto;margin:0 auto;border-radius:5px}.editor-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0}.editor-toolbar span,.editor-status{font-size:12px;color:#7c8490}.editor-status{min-height:18px;margin-top:6px}.editor-image-button{font-size:12px;padding:9px 14px}.admin-form textarea{width:100%;min-width:0}

/* Visual WYSIWYG editor */
.visual-editor{margin-top:8px;border:1px solid #dfe0dc;background:#fff;min-width:0}.visual-editor-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:9px;background:#f5f3ef;border-bottom:1px solid #e5e1d9}.visual-editor-toolbar button{appearance:none;border:1px solid #ddd8ce;background:#fff;color:#344052;min-height:34px;padding:6px 10px;font:500 11px/1.2 'DM Sans',sans-serif;cursor:pointer;border-radius:3px}.visual-editor-toolbar button:hover,.visual-editor-toolbar button:focus{border-color:#b18d54;background:#fbf8f1;outline:none}.visual-editor-toolbar button b,.visual-editor-toolbar button i,.visual-editor-toolbar button u{font-size:14px}.visual-editor-toolbar .toolbar-sep{width:1px;height:24px;background:#d8d3c9;margin:0 3px}.visual-editor-area{min-height:250px;padding:17px 18px;color:#263447;font:14px/1.8 'DM Sans',sans-serif;outline:none;overflow-wrap:anywhere}.visual-editor-area:focus{box-shadow:inset 0 0 0 2px rgba(177,141,84,.18)}.visual-editor-area:empty:before{content:attr(data-placeholder);color:#a0a5ac;pointer-events:none}.visual-editor-area p{margin:0 0 12px}.visual-editor-area h2,.visual-editor-area h3{font-family:'Playfair Display',serif;color:#17263a;line-height:1.3;margin:18px 0 10px}.visual-editor-area h2{font-size:25px}.visual-editor-area h3{font-size:20px}.visual-editor-area ul,.visual-editor-area ol{padding-left:25px;margin:10px 0}.visual-editor-area blockquote{margin:16px 0;padding:10px 16px;border-left:3px solid #b18d54;background:#f7f4ee;color:#667080}.visual-editor-area a{color:#9a7845;text-decoration:underline}.visual-editor-area figure{margin:18px 0;text-align:center}.visual-editor-area img{max-width:100%;max-height:420px;height:auto;object-fit:contain}.editor-source{display:none!important}.visual-editor .editor-status{padding:7px 12px;border-top:1px solid #eee;color:#858c95;font-size:11px}.article-body figure{margin:25px auto;text-align:center}.article-body img{max-width:100%;height:auto;max-height:720px}
@media(max-width:600px){.visual-editor-toolbar{gap:4px;padding:7px}.visual-editor-toolbar button{font-size:10px;padding:6px 8px;min-height:32px}.visual-editor-area{min-height:210px;padding:13px;font-size:14px}.visual-editor-toolbar .toolbar-sep{display:none}}

/* Monthly zodiac forecast template */
.article-body figure.zodiac-entry{margin:18px 0 22px;text-align:left}
.article-body figure.zodiac-entry img{display:block;width:190px;height:190px;max-width:70vw;max-height:none;object-fit:cover;border:1px solid rgba(199,166,106,.42);padding:5px;background:#fbf9f4}
.visual-editor-area figure.zodiac-entry{margin:12px 0 18px;text-align:left}
.visual-editor-area figure.zodiac-entry img{width:150px;height:150px;max-height:none;object-fit:cover;border:1px solid rgba(199,166,106,.42);padding:4px;background:#fbf9f4}
@media(max-width:600px){.article-body figure.zodiac-entry img{width:150px;height:150px}.visual-editor-area figure.zodiac-entry img{width:126px;height:126px}}

/* Floating return-to-top control */
.back-to-top{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:60;width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(199,166,106,.55);border-radius:50%;background:rgba(17,27,46,.94);color:#e2c58e;box-shadow:0 8px 26px rgba(10,18,31,.2);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .22s ease,transform .22s ease,visibility .22s ease,background .22s ease; -webkit-tap-highlight-color:transparent}
.back-to-top svg{width:22px;height:22px;display:block}
.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top:hover{background:#263650;color:#fff}
.back-to-top:focus-visible{outline:3px solid var(--gold2);outline-offset:3px}
@media(max-width:600px){.back-to-top{width:46px;height:46px;right:max(16px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}

/* iOS-friendly return-to-top: visible on touch screens and placed above Safari's bottom UI. */
@media (hover: none) and (pointer: coarse) {
  .back-to-top { opacity: 1 !important; visibility: visible !important; transform: none !important; bottom: calc(env(safe-area-inset-bottom, 0px) + 88px) !important; right: 18px !important; z-index: 9999 !important; }
}
.back-to-top { touch-action: manipulation; -webkit-appearance: none; appearance: none; }

/* Admin filters, pagination and application controls */
.admin-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0 22px;padding:18px;background:#fff;border:1px solid var(--line)}
.admin-filter label{flex:1 1 190px;min-width:160px}
.admin-filter .btn{white-space:nowrap;margin:0}
.admin-filter .text-link{font-size:12px;color:#987849;padding:12px 4px;white-space:nowrap}
.admin-pagination{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;margin:24px 0}
.admin-pagination a{display:inline-flex;min-width:36px;height:36px;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;color:var(--navy);font-size:12px}
.admin-pagination a.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.application-actions{display:grid;gap:12px;min-width:175px}
.application-actions form{min-width:0!important}
.application-actions .link-danger{padding:8px 0;text-align:left}
.admin-actions h2 small,.admin-wrap h2 small{font:400 12px var(--sans);color:var(--muted)}
@media(max-width:720px){.admin-filter{display:grid;grid-template-columns:1fr;padding:14px}.admin-filter label{min-width:0}.admin-filter .btn{width:100%}.admin-pagination{justify-content:flex-start}.application-actions{width:100%;min-width:0}.admin-actions{gap:12px;align-items:flex-start;flex-wrap:wrap}}
