/* V41 hero slider cache-bust */
/* Torin Construction V35 */
:root{
  --bg:#080808;
  --bg-soft:#0e0f11;
  --panel:#111317;
  --panel-2:#15181d;
  --line:#24282f;
  --text:#f5f7fa;
  --muted:#a9b0bb;
  --accent:#a0c8f7;
  --accent-strong:#78afea;
  --ink:#07111c;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--accent);color:var(--ink);padding:8px 12px;z-index:999}
.skip-link:focus{left:8px}
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;overflow:visible;border-bottom:1px solid rgba(72,56,40,.22);background:rgba(168,146,120,.52);-webkit-backdrop-filter:blur(13px) saturate(.92);backdrop-filter:blur(13px) saturate(.92);box-shadow:0 2px 12px rgba(36,27,18,.10)}
.header-inner{height:81px;display:flex;align-items:center;gap:34px}
.brand{position:relative;display:block;width:172px;height:81px;flex:0 0 172px;align-self:flex-start;padding:0;overflow:visible;z-index:2}
.brand img{position:absolute;left:0;top:0;width:172px;height:auto;max-height:none;object-fit:contain;object-position:left top;filter:drop-shadow(0 2px 1px rgba(255,255,255,.10))}
.site-nav{display:flex;align-items:center;gap:24px;margin-left:auto}
.site-nav a,.text-link{font-size:14px;color:#211c17;transition:.2s ease}
.site-nav a:hover,.text-link:hover{color:#3e75ad}
.header-actions{display:flex;align-items:center;gap:18px}
.menu-toggle{display:none;background:none;border:0;color:#211c17;padding:8px}
.menu-toggle span{display:block;width:24px;height:1px;background:#211c17;margin:6px 0}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 22px;border:1px solid var(--accent);background:var(--accent);color:var(--ink);font-weight:700;font-size:14px;letter-spacing:.01em;transition:.22s ease}
.button:hover{background:var(--accent-strong);border-color:var(--accent-strong);transform:translateY(-1px)}
.button-small{min-height:42px;padding:0 16px;font-size:13px}
.button-ghost{background:transparent;color:var(--text);border-color:#6f7885}
.button-ghost:hover{background:rgba(255,255,255,.06);border-color:#c3cad4;color:white}
.hero{position:relative;min-height:760px;height:92vh;display:flex;align-items:center;overflow:hidden;padding-top:81px}
.hero-media{position:absolute;inset:0;background:#080808;overflow:hidden}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.8s ease-in-out;background-size:cover;background-position:center 48%;filter:saturate(.78) contrast(1.05);will-change:opacity}
.hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,8,8,.95) 0%,rgba(8,8,8,.76) 44%,rgba(8,8,8,.30) 100%),linear-gradient(0deg,rgba(8,8,8,.98) 0%,rgba(8,8,8,0) 38%)}
.hero-slide.is-active{opacity:1}
@media (prefers-reduced-motion:reduce){.hero-slide{transition:none}.hero-slide:not(:first-child){display:none}.hero-slide:first-child{opacity:1}}
.hero-content{position:relative;z-index:2;padding-top:20px}
.eyebrow{text-transform:uppercase;letter-spacing:.17em;color:var(--accent);font-size:11px;font-weight:700;margin:0 0 18px}
.hero h1,h2,h3{font-family:Manrope,Inter,sans-serif}
.hero h1{font-size:clamp(52px,7vw,96px);line-height:.98;letter-spacing:-.045em;max-width:940px;margin:0}
.hero-copy{font-size:clamp(17px,2vw,22px);color:#d0d6de;max-width:680px;margin:28px 0 0}
.hero-actions{display:flex;gap:12px;margin-top:38px}
.hero-meta{position:absolute;z-index:3;bottom:30px;left:50%;transform:translateX(-50%);display:flex;gap:30px;color:#c4cad2;font-size:12px;text-transform:uppercase;letter-spacing:.12em}
.hero-meta span+span:before{content:"";display:inline-block;width:28px;height:1px;background:#49515c;vertical-align:middle;margin-right:30px}
.section{padding:110px 0}
.section-alt{background:var(--bg-soft);border-top:1px solid #14171b;border-bottom:1px solid #14171b}
.split{display:grid;grid-template-columns:1fr 1.15fr;gap:90px}
h2{font-size:clamp(38px,4vw,60px);line-height:1.05;letter-spacing:-.035em;margin:0}
h3{font-size:21px;letter-spacing:-.02em;margin:0 0 10px}
.copy-stack{font-size:18px;color:#c5cbd3;max-width:650px}
.copy-stack p{margin:0 0 22px}
.sector-strip{display:flex;flex-wrap:wrap;gap:11px;margin-top:58px}
.sector-strip span{border:1px solid var(--line);padding:12px 16px;color:#d9dee5;background:#0c0d0f;font-size:13px}
.section-heading{display:grid;grid-template-columns:1fr 430px;align-items:end;gap:60px;margin-bottom:48px}
.section-heading>p{margin:0;color:var(--muted);font-size:16px}
.compact-heading{grid-template-columns:1fr}
.trade-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.trade-card{min-height:132px;padding:24px;display:flex;align-items:flex-end;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-family:Manrope,sans-serif;font-size:18px;font-weight:600;background:linear-gradient(145deg,#101216,#0d0f12);transition:.2s}
.trade-card:hover{background:#15191e;color:var(--accent)}
.service-paths{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.path-card{border:1px solid var(--line);background:var(--panel);padding:38px;min-height:350px}
.path-card .number{display:inline-flex;width:42px;height:42px;border:1px solid #38404a;align-items:center;justify-content:center;color:var(--accent);font-size:12px;margin-bottom:58px}
.path-card h3{font-size:30px;margin-bottom:18px}
.path-card p{color:var(--muted);max-width:520px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.feature-grid article{padding:32px;min-height:220px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.feature-grid h3{font-size:19px}
.feature-grid p{color:var(--muted);margin:12px 0 0}
.urgent-strip{background:var(--accent);color:var(--ink);padding:64px 0}
.urgent-inner{display:grid;grid-template-columns:1fr auto;gap:80px;align-items:center}
.urgent-inner h2{max-width:700px}
.urgent-inner p:not(.eyebrow){max-width:800px;font-size:16px}
.dark-eyebrow{color:#31506e}
.button-dark{background:var(--ink);border-color:var(--ink);color:white;white-space:nowrap}
.button-dark:hover{background:#102438;border-color:#102438}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stat-grid div{padding:30px 22px;border-right:1px solid var(--line)}
.stat-grid div:last-child{border-right:0}
.stat-grid span{font-family:Manrope,sans-serif;font-size:18px;font-weight:700}
.stat-grid p{color:var(--muted);margin:5px 0 0;font-size:13px}
.micro-copy{color:var(--muted);font-size:13px;margin-top:20px}
.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.process-grid article{padding:34px;background:#101216;border:1px solid var(--line);min-height:250px}
.process-grid article>span{color:var(--accent);font-size:12px;letter-spacing:.12em}
.process-grid h3{margin-top:50px}
.process-grid p{color:var(--muted)}
.gallery-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;grid-auto-rows:260px;gap:12px}
.gallery-item{position:relative;margin:0;border:1px solid var(--line);overflow:hidden;background:#0d0f12;min-height:0}
.gallery-item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease,filter .45s ease;filter:saturate(.88) contrast(1.02)}
.gallery-item:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 58%,rgba(5,6,8,.74) 100%);pointer-events:none}
.gallery-item figcaption{position:absolute;z-index:2;left:16px;right:16px;bottom:14px;color:#f4f7fa;font-size:11px;text-transform:uppercase;letter-spacing:.11em;opacity:.9}
.gallery-item:hover img{transform:scale(1.025);filter:saturate(1) contrast(1.04)}
.gallery-item.tall{grid-row:span 2}
.gallery-item.wide{grid-column:span 2}
.compliance-grid{align-items:start}
.compliance-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.compliance-list>div{padding:26px;border:1px solid var(--line);background:#101216}
.compliance-list strong{display:block;color:var(--accent);font-size:28px;font-family:Manrope,sans-serif}
.compliance-list span{display:block;color:#c2c8d0;font-size:13px;margin-top:5px}
.compliance-list p{grid-column:1/-1;color:var(--muted);margin:12px 0 0}
.response-section{padding-top:70px;padding-bottom:70px}
.response-card{border-left:2px solid var(--accent);padding:18px 0 18px 38px}
.response-card h2{max-width:820px}
.response-card>p:last-child{color:var(--muted);max-width:800px;font-size:17px}
.testimonials-section{padding-top:78px;padding-bottom:78px}
.testimonials-section .section-heading{margin-bottom:28px}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
blockquote{margin:0;padding:22px 20px;border:1px solid var(--line);background:#101216}
blockquote>p{margin:0 0 16px;font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.58;color:#d4dae2;min-height:0}
blockquote footer{color:#8d96a2;font-size:11px;line-height:1.45}
.faq-wrap{display:grid;grid-template-columns:380px 1fr;gap:80px;align-items:start}
.faq-intro{position:sticky;top:110px}
.faq-list{border-top:1px solid var(--line)}
details{border-bottom:1px solid var(--line);padding:0}
summary{list-style:none;cursor:pointer;padding:24px 44px 24px 0;font-family:Manrope,sans-serif;font-size:18px;font-weight:600;position:relative}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";position:absolute;right:0;color:var(--accent);font-size:24px;font-weight:400;top:19px}
details[open] summary:after{content:"–"}
details p{color:var(--muted);padding:0 40px 24px 0;margin:0;max-width:760px}
.contact-section{background:linear-gradient(180deg,#0a0b0d 0%,#11151a 100%);border-top:1px solid var(--line)}
.contact-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:90px}
.contact-copy>p:not(.eyebrow){color:var(--muted);font-size:17px;max-width:440px}
.contact-details{display:grid;gap:1px;margin-top:50px;border-top:1px solid var(--line)}
.contact-action-row{display:grid;grid-template-columns:minmax(0,1fr) 52px;border-bottom:1px solid var(--line);align-items:stretch}
.contact-main-link{display:flex;flex-direction:column;gap:3px;padding:17px 16px 17px 0;min-width:0;cursor:pointer;transition:color .2s ease,background .2s ease}
.contact-main-link:hover,.contact-main-link:focus-visible{color:var(--accent)}
.contact-details span{color:#7e8792;font-size:11px;text-transform:uppercase;letter-spacing:.12em}
.contact-details strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.contact-copy-button{display:flex;align-items:center;justify-content:center;border:0;border-left:1px solid var(--line);background:transparent;color:#8e98a4;font-size:18px;line-height:1;cursor:pointer;transition:color .2s ease,background .2s ease}
.contact-copy-button:hover,.contact-copy-button:focus-visible{color:var(--accent);background:rgba(160,200,247,.06)}
.contact-office-row{padding:17px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:3px}
.form-note-email{color:#a9cff9;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.form-note-email:hover,.form-note-email:focus-visible{color:#d9eaff}
.project-form{background:#0d0f12;border:1px solid var(--line);padding:34px}
.project-form label{display:flex;flex-direction:column;gap:8px;color:#adb5c0;font-size:12px;font-weight:600;letter-spacing:.02em;margin-bottom:18px}
.form-row{display:grid;gap:16px}.two-col{grid-template-columns:1fr 1fr}
input,select,textarea{width:100%;border:1px solid #2a3038;background:#101317;color:var(--text);padding:13px 14px;outline:none;border-radius:0;transition:.2s}
input:focus,select:focus,textarea:focus{border-color:var(--accent)}
textarea{resize:vertical}
.consent{flex-direction:row!important;align-items:flex-start;gap:10px!important;font-weight:400!important;line-height:1.4}
.consent input{width:17px;height:17px;margin-top:1px;accent-color:var(--accent)}
.consent a{text-decoration:underline;color:#dce5ef}
.form-submit{width:100%;margin-top:4px}
.form-status{font-size:13px;margin:12px 0 0;min-height:20px}.form-status.error{color:#ff9f9f}.form-status.success{color:#a6e8bb}
.form-note{font-size:11px;color:#737d89;margin:10px 0 0}.form-note a{text-decoration:underline}
.site-footer{border-top:1px solid var(--line);padding:48px 0 26px;background:#060607}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:30px}
.footer-logo{width:190px}
.footer-links{display:flex;gap:22px;color:#aab2bd;font-size:13px}
.footer-bottom{display:flex;justify-content:space-between;gap:30px;border-top:1px solid #171a1f;margin-top:34px;padding-top:22px;color:#6f7884;font-size:11px}
.footer-bottom p{margin:0}
.cookie-banner{position:fixed;z-index:90;left:18px;right:18px;bottom:18px;max-width:900px;margin:auto;background:#12161b;border:1px solid #343b45;padding:18px 20px;display:flex;align-items:center;gap:30px;justify-content:space-between;box-shadow:0 16px 60px rgba(0,0,0,.45)}
.cookie-banner[hidden]{display:none}.cookie-banner strong{font-family:Manrope,sans-serif}.cookie-banner p{margin:4px 0 0;color:#9ba4af;font-size:12px}.cookie-actions{display:flex;gap:8px;flex:0 0 auto}.cookie-actions .button{min-height:40px;font-size:12px;padding:0 14px}
.legal-page{padding:150px 0 90px}.legal-page .legal-content{max-width:850px}.legal-page h1{font-family:Manrope,sans-serif;font-size:clamp(46px,7vw,76px);line-height:1;letter-spacing:-.04em;margin:0 0 40px}.legal-page h2{font-size:26px;margin:36px 0 12px}.legal-page p,.legal-page li{color:#b8c0ca}.legal-page a{text-decoration:underline}
@media (max-width:980px){
  .site-nav,.header-actions .text-link{display:none}.menu-toggle{display:block;margin-left:auto}.header-actions{margin-left:0}.brand{width:154px;height:74px;flex-basis:154px;padding:0}.brand img{width:154px;max-height:none;top:0}.header-inner{height:74px}
  .site-nav.open{display:flex;position:absolute;top:74px;left:0;right:0;background:rgba(226,213,195,.97);-webkit-backdrop-filter:blur(18px) saturate(.96);backdrop-filter:blur(18px) saturate(.96);border-top:1px solid rgba(72,56,40,.14);border-bottom:1px solid rgba(72,56,40,.28);box-shadow:0 16px 32px rgba(30,22,15,.24);padding:14px 20px 18px;flex-direction:column;align-items:stretch;gap:0}
  .site-nav.open a{display:block;width:100%;padding:13px 2px;color:#17130f;font-size:15px;font-weight:650;line-height:1.25;letter-spacing:.01em;border-bottom:1px solid rgba(72,56,40,.16);text-shadow:0 1px 0 rgba(255,255,255,.35)}
  .site-nav.open a:last-child{border-bottom:0}
  .site-nav.open a:hover,.site-nav.open a:focus{color:#285f96;background:rgba(255,255,255,.18)}
  .hero{display:block;min-height:720px;height:auto;padding:160px 0 115px}.hero-media{background-position:center}
  .hero-meta{position:relative;bottom:auto;left:auto;transform:none;margin-top:55px;flex-wrap:wrap}.hero-meta span+span:before{display:none}
  .split,.contact-grid,.faq-wrap{grid-template-columns:1fr;gap:48px}.section-heading{grid-template-columns:1fr;gap:20px}.trade-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:repeat(2,1fr)}.service-paths{grid-template-columns:1fr}.urgent-inner{grid-template-columns:1fr;gap:30px}.process-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:220px}.gallery-item.wide{grid-column:span 1}.compliance-grid{grid-template-columns:1fr}.faq-intro{position:static}.testimonial-grid{grid-template-columns:1fr}.contact-grid{gap:55px}
}
@media (max-width:640px){
  .testimonials-section{padding-top:60px;padding-bottom:60px}.testimonials-section .section-heading{margin-bottom:22px}blockquote{padding:20px 18px}blockquote>p{font-size:15px;line-height:1.55;margin-bottom:14px}
  .container{width:min(calc(100% - 28px),var(--max))}.header-actions .button-small{display:none}.brand{width:154px;height:74px;flex-basis:154px;padding:0}.brand img{width:154px;max-height:none;top:0}.hero{min-height:680px;padding-top:137px}.hero h1{font-size:50px}.hero-copy{font-size:17px}.hero-actions{flex-direction:column;align-items:stretch}.hero-meta{gap:12px 20px;font-size:10px}.section{padding:80px 0}.split{gap:35px}h2{font-size:38px}.trade-grid{grid-template-columns:1fr}.trade-card{min-height:98px}.feature-grid{grid-template-columns:1fr}.path-card{padding:28px}.path-card .number{margin-bottom:36px}.urgent-strip{padding:50px 0}.stat-grid{grid-template-columns:1fr}.stat-grid div{border-right:0;border-bottom:1px solid var(--line)}.stat-grid div:last-child{border-bottom:0}.gallery-grid{grid-template-columns:1fr;grid-auto-rows:220px}.gallery-item.tall{grid-row:span 1}.compliance-list{grid-template-columns:1fr}.compliance-list p{grid-column:auto}.response-card{padding-left:20px}.two-col{grid-template-columns:1fr}.project-form{padding:22px}.footer-top,.footer-bottom{flex-direction:column;align-items:flex-start}.cookie-banner{align-items:flex-start;flex-direction:column;gap:14px}.cookie-actions{width:100%;flex-direction:column}.cookie-actions .button{width:100%}
}

/* V14 technical hardening */
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.menu-toggle{min-width:44px;min-height:44px;align-items:center;justify-content:center}
.form-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;margin:0!important;padding:0!important}
.form-submit:disabled{opacity:.62;cursor:wait;transform:none}
.form-status a{text-decoration:underline}
img[width][height]{height:auto}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}


/* V15: readable mobile policy overlays */
.policy-overlay[hidden]{display:none!important}
.policy-overlay{position:fixed;inset:0;z-index:120;background:rgba(7,8,10,.72);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:18px;display:flex;align-items:center;justify-content:center}
.policy-panel{position:relative;width:min(760px,100%);max-height:min(86vh,820px);overflow:auto;background:#151515;color:#f5f3ef;border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 70px rgba(0,0,0,.45);border-radius:18px;padding:34px 32px 30px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.policy-panel h2{font-family:Manrope,Inter,Arial,sans-serif;font-size:clamp(28px,5vw,42px);line-height:1.1;margin:4px 48px 8px 0}
.policy-panel h3{font-family:Manrope,Inter,Arial,sans-serif;font-size:18px;margin:26px 0 8px;color:#fff}
.policy-panel p,.policy-panel li{font-size:15px;line-height:1.7;color:#d9d4cc}
.policy-panel p{margin:0 0 12px}
.policy-panel a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.policy-kicker{font-size:12px!important;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)!important;font-weight:700}
.policy-updated{font-size:13px!important;color:#aaa39a!important;margin-bottom:22px!important}
.policy-close{position:absolute;top:16px;right:16px;width:42px;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:#242321;color:#fff;font-size:26px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer}
.policy-close:hover,.policy-close:focus-visible{background:#34312d;border-color:var(--accent);outline:none}
body.policy-open{overflow:hidden}
@media (max-width:640px){
  .policy-overlay{padding:10px;align-items:flex-end}
  .policy-panel{width:100%;max-height:88dvh;border-radius:18px 18px 10px 10px;padding:26px 20px 24px}
  .policy-panel h2{font-size:30px;margin-right:42px}
  .policy-panel h3{font-size:17px;margin-top:22px}
  .policy-panel p,.policy-panel li{font-size:14px;line-height:1.65}
  .policy-close{top:12px;right:12px;width:40px;height:40px}
}


/* V16: clickable project galleries */
.gallery-item[data-project]{cursor:zoom-in;outline:none}
.gallery-item[data-project]:focus-visible{box-shadow:0 0 0 3px var(--accent);border-color:var(--accent)}
.gallery-open-hint{position:absolute;z-index:3;top:14px;right:14px;padding:7px 10px;border:1px solid rgba(255,255,255,.28);background:rgba(8,9,11,.66);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);color:#fff;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.11em;opacity:0;transform:translateY(-4px);transition:.22s ease;pointer-events:none}
.gallery-item[data-project]:hover .gallery-open-hint,.gallery-item[data-project]:focus-visible .gallery-open-hint{opacity:1;transform:none}
.project-lightbox[hidden]{display:none!important}
.project-lightbox{position:fixed;inset:0;z-index:180;display:flex;align-items:center;justify-content:center;padding:22px;color:#fff}
.project-lightbox-backdrop{position:absolute;inset:0;background:rgba(4,5,7,.94);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.project-lightbox-panel{position:relative;z-index:1;width:min(1180px,100%);max-height:94dvh;display:flex;flex-direction:column;gap:14px}
.project-lightbox-stage{position:relative;min-height:0;display:grid;grid-template-columns:58px minmax(0,1fr) 58px;align-items:center;gap:12px}
.project-lightbox-image-wrap{height:min(72dvh,760px);min-height:280px;display:flex;align-items:center;justify-content:center;background:#08090b;border:1px solid rgba(255,255,255,.10);overflow:hidden}
.project-lightbox-image-wrap img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none}
.project-lightbox-close{position:absolute;z-index:4;top:-12px;right:-2px;width:46px;height:46px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(18,19,21,.92);color:#fff;font-size:29px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.project-lightbox-close:hover,.project-lightbox-close:focus-visible,.project-lightbox-nav:hover,.project-lightbox-nav:focus-visible{border-color:var(--accent);background:#24282d;outline:none}
.project-lightbox-nav{width:52px;height:52px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(18,19,21,.78);color:#fff;font-size:38px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;justify-self:center}
.project-lightbox-nav[hidden]{display:none!important}
.project-lightbox-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:0 70px}
.project-lightbox-meta .eyebrow{margin:0 0 4px;color:var(--accent)}
.project-lightbox-meta h2{margin:0;font-size:25px;color:#fff}
.project-lightbox-counter{margin:0;color:#b9bec7;font-size:13px;white-space:nowrap}
.project-lightbox-thumbs{display:flex;justify-content:center;gap:8px;overflow-x:auto;padding:2px 70px 4px;scrollbar-width:thin;overscroll-behavior-inline:contain}
.project-lightbox-thumb{flex:0 0 76px;width:76px;height:54px;border:1px solid rgba(255,255,255,.16);padding:0;background:#111317;cursor:pointer;opacity:.62;overflow:hidden}
.project-lightbox-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.project-lightbox-thumb.active{opacity:1;border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
body.gallery-open{overflow:hidden}
@media (max-width:700px){
  .gallery-open-hint{opacity:1;transform:none;top:12px;right:12px;background:rgba(8,9,11,.7);font-size:9px;padding:6px 8px}
  .project-lightbox{padding:10px}
  .project-lightbox-panel{max-height:96dvh;gap:10px}
  .project-lightbox-stage{grid-template-columns:1fr;gap:0}
  .project-lightbox-image-wrap{height:min(67dvh,650px);min-height:240px;border-radius:2px}
  .project-lightbox-nav{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:44px;height:44px;font-size:34px;background:rgba(13,14,16,.76)}
  .project-lightbox-prev{left:8px}.project-lightbox-next{right:8px}
  .project-lightbox-close{top:8px;right:8px;width:42px;height:42px;background:rgba(13,14,16,.82)}
  .project-lightbox-meta{padding:0 4px;align-items:center}
  .project-lightbox-meta h2{font-size:18px}
  .project-lightbox-meta .eyebrow{font-size:9px}
  .project-lightbox-counter{font-size:12px}
  .project-lightbox-thumbs{justify-content:flex-start;padding:2px 4px 3px;gap:6px}
  .project-lightbox-thumb{flex-basis:62px;width:62px;height:46px}
}


/* V17: mobile project cards use orientation-aware framing */
@media (max-width:700px){
  .gallery-grid{grid-template-columns:1fr;grid-auto-rows:auto;gap:18px}
  .gallery-item,.gallery-item.tall,.gallery-item.wide{grid-row:auto;grid-column:auto;width:100%;height:auto;min-height:0;aspect-ratio:4 / 3}
  .gallery-item.mobile-portrait{aspect-ratio:4 / 5}
  .gallery-item.mobile-panorama{aspect-ratio:16 / 9}
  .gallery-item.mobile-landscape{aspect-ratio:4 / 3}
  .gallery-item img{width:100%;height:100%!important;object-fit:cover}
  .gallery-item.pos-commercial img{object-position:50% 52%}
  .gallery-item.pos-education img{object-position:50% 50%}
  .gallery-item.pos-painting img{object-position:50% 50%}
  .gallery-item.pos-decorative img{object-position:50% 57%}
  .gallery-item.pos-joinery img{object-position:50% 58%}
  .gallery-item.pos-exterior img{object-position:50% 48%}
  .gallery-item.pos-interior-detail img{object-position:50% 43%}
  .gallery-item figcaption{left:18px;right:18px;bottom:17px;font-size:11px;letter-spacing:.12em}
  .gallery-open-hint{top:14px;right:14px}
}

/* V27: compact project grid — 3 columns desktop, 2 tablet, 1 mobile */
.gallery-actions{display:none}
@media (min-width:701px){
  .gallery-grid{
    grid-auto-rows:auto;
    gap:18px;
  }
  .gallery-item,
  .gallery-item.tall,
  .gallery-item.wide{
    grid-row:auto;
    grid-column:auto;
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:4 / 3;
  }
  .gallery-item img{
    width:100%;
    height:100%!important;
    object-fit:cover;
  }
  .gallery-item.pos-commercial img{object-position:50% 54%}
  .gallery-item.pos-education img{object-position:50% 50%}
  .gallery-item.pos-painting img{object-position:50% 50%}
  .gallery-item.pos-decorative img{object-position:50% 58%}
  .gallery-item.pos-joinery img{object-position:50% 58%}
  .gallery-item.pos-exterior img{object-position:50% 50%}
  .gallery-item.pos-interior-detail img{object-position:50% 44%}
  .gallery-item figcaption{left:18px;right:18px;bottom:16px}
  .gallery-open-hint{top:14px;right:14px}
}
/* V28: compact responsive gallery. */
.gallery-actions{display:none}
@media (min-width:981px){
  .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
}
@media (min-width:701px) and (max-width:980px){
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media (max-width:700px){
  #projects .gallery-more-item{display:none!important}
  #projects.gallery-expanded .gallery-more-item{display:block!important}
  .gallery-actions{display:flex!important;justify-content:center;margin-top:24px}
  .gallery-more-toggle{display:inline-flex!important;width:min(100%,320px);background:transparent;color:var(--text);border-color:#59626d}
  .gallery-more-toggle:hover{color:#fff;border-color:var(--accent)}
}

/* V21: single-photo lightbox fix. When navigation arrows are hidden,
   keep the image centred instead of letting CSS Grid place it in the 58px arrow column. */
.project-lightbox-thumbs[hidden]{display:none!important}
.project-lightbox-stage.single-image{grid-template-columns:minmax(0,1fr)}
.project-lightbox-stage.single-image .project-lightbox-image-wrap{grid-column:1;width:min(860px,100%);justify-self:center}
.project-lightbox.single-image .project-lightbox-meta{width:min(860px,100%);align-self:center;padding:0}
@media (max-width:700px){
  .project-lightbox-stage.single-image .project-lightbox-image-wrap{width:100%}
  .project-lightbox.single-image .project-lightbox-meta{width:100%;padding:0 4px}
}

/* V22: expandable Skilled Trades cards */
.trade-grid{align-items:start}
.trade-card{
  width:100%;
  color:var(--text);
  text-align:left;
  cursor:pointer;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-end;
  appearance:none;
  -webkit-appearance:none;
  border-top:0;
  border-left:0;
  border-radius:0;
  line-height:1.35;
}
.trade-card-head{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%}
.trade-title{display:block}
.trade-toggle{
  flex:0 0 32px;
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #3a424c;
  color:var(--accent);
  font-family:Inter,sans-serif;
  font-size:22px;
  font-weight:400;
  line-height:1;
  transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
.trade-details{
  display:block;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(6px);
  margin-top:0;
  color:#b7bec7;
  font-family:Inter,sans-serif;
  font-size:13px;
  font-weight:400;
  line-height:1.55;
  transition:max-height .28s ease,opacity .2s ease,transform .28s ease,margin-top .28s ease;
}
.trade-card:hover .trade-toggle,.trade-card:focus-visible .trade-toggle,.trade-card.is-open .trade-toggle{border-color:var(--accent);background:rgba(160,200,247,.08)}
.trade-card.is-open{justify-content:flex-start;background:#15191e;color:#fff}
.trade-card.is-open .trade-title{color:var(--accent)}
.trade-card.is-open .trade-details{max-height:150px;opacity:1;transform:none;margin-top:16px}
.trade-card:focus-visible{position:relative;z-index:2;outline:2px solid var(--accent);outline-offset:-2px}
@media (max-width:640px){
  .trade-card{min-height:92px;padding:20px}
  .trade-card.is-open{min-height:150px}
  .trade-details{font-size:13px}
  .trade-toggle{flex-basis:30px;width:30px;height:30px}
}

@supports (content-visibility:auto){#projects,#testimonials,#faq,#contact{content-visibility:auto;contain-intrinsic-size:900px}}

/* V28 contact action feedback */
.contact-action-toast{position:fixed;left:50%;bottom:24px;z-index:220;transform:translate(-50%,18px);opacity:0;pointer-events:none;background:#15191e;border:1px solid #3b4652;color:#f5f7fa;padding:10px 14px;font-size:12px;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.32);transition:opacity .2s ease,transform .2s ease}
.contact-action-toast.is-visible{opacity:1;transform:translate(-50%,0)}


/* V29: desktop contact actions and date picker visibility */
@media (min-width:981px){
  input[type="date"]{color-scheme:dark}
  input[type="date"]::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.35);opacity:.92;cursor:pointer}
  #contact-phone.contact-attention{background:rgba(160,200,247,.055)}
}
@media (max-width:980px){
  .contact-action-row{display:block}
  .contact-copy-button{display:none!important}
  .contact-main-link{padding:17px 0;border:0}
}
\n\n

/* V32: Torin Construction quick contact widget */
.quick-contact-widget{position:fixed;right:22px;bottom:22px;z-index:210;font-family:Inter,Arial,sans-serif;pointer-events:none}
.quick-contact-widget button,.quick-contact-widget a{font:inherit}
.quick-contact-launcher{pointer-events:auto;width:58px;height:58px;border-radius:50%;border:1px solid rgba(191,220,255,.55);background:#a9cff9;color:#0a1118;display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 34px rgba(0,0,0,.38);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.quick-contact-launcher:hover,.quick-contact-launcher:focus-visible{transform:translateY(-2px);box-shadow:0 16px 42px rgba(0,0,0,.46);background:#c3ddfb;outline:none}
.quick-contact-launcher svg{width:25px;height:25px;fill:currentColor}
.quick-contact-launcher-close{display:none;font-size:31px;font-weight:300;line-height:1;transform:translateY(-1px)}
.quick-contact-widget.is-open .quick-contact-chat-icon{display:none}
.quick-contact-widget.is-open .quick-contact-launcher-close{display:block}
.quick-contact-teaser{pointer-events:auto;position:absolute;right:0;bottom:70px;width:270px;min-height:68px;background:#f7f8fa;color:#17202a;border:1px solid #d8dde4;border-radius:14px;box-shadow:0 14px 40px rgba(0,0,0,.25);display:grid;grid-template-columns:42px 1fr 28px;align-items:center;gap:10px;padding:10px 10px 10px 12px;opacity:0;transform:translateY(8px);transition:opacity .22s ease,transform .22s ease}
.quick-contact-teaser[hidden]{display:none!important}
.quick-contact-teaser.is-visible{opacity:1;transform:translateY(0)}
.quick-contact-teaser img{width:36px;height:36px;object-fit:contain;background:#efe4d1;border-radius:10px;padding:4px}
.quick-contact-teaser-main{border:0;background:transparent;color:inherit;text-align:left;padding:0;cursor:pointer;min-width:0}
.quick-contact-teaser-main strong{display:block;font-family:Manrope,sans-serif;font-size:14px;line-height:1.2}
.quick-contact-teaser-main span{display:block;color:#66717d;font-size:12px;margin-top:3px}
.quick-contact-teaser-close{border:0;background:transparent;color:#7a8590;font-size:21px;line-height:1;cursor:pointer;width:28px;height:28px;align-self:start}
.quick-contact-panel{pointer-events:auto;position:absolute;right:0;bottom:70px;width:min(350px,calc(100vw - 32px));background:#0d1014;border:1px solid #2e353e;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.55);overflow:hidden;transform-origin:bottom right;animation:quick-contact-in .18s ease-out}
.quick-contact-panel[hidden]{display:none!important}
@keyframes quick-contact-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
.quick-contact-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 17px 15px;background:linear-gradient(135deg,#151a20,#0f1216);border-bottom:1px solid #282e36}
.quick-contact-brand{display:flex;align-items:center;gap:11px;min-width:0}
.quick-contact-logo{width:42px;height:42px;display:grid;place-items:center;background:#e9dcc8;border-radius:12px;flex:0 0 auto;overflow:hidden}
.quick-contact-logo img{width:36px;height:36px;object-fit:contain}
.quick-contact-brand strong{display:block;color:#f5f7fa;font-family:Manrope,sans-serif;font-size:16px;line-height:1.2}
.quick-contact-brand span{display:block;color:#8f99a5;font-size:12px;line-height:1.35;margin-top:3px}
.quick-contact-panel-close{border:0;background:transparent;color:#84909d;font-size:23px;line-height:1;width:28px;height:28px;cursor:pointer;flex:0 0 auto}
.quick-contact-panel-close:hover,.quick-contact-panel-close:focus-visible{color:#fff;outline:none}
.quick-contact-options{padding:7px}
.quick-contact-option{display:grid;grid-template-columns:40px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:11px 10px;color:#eef3f8;border-bottom:1px solid #20262d;border-radius:10px;transition:background .16s ease,color .16s ease}
.quick-contact-option:last-child{border-bottom:0}
.quick-contact-option:hover,.quick-contact-option:focus-visible{background:#151a20;color:#a9cff9;outline:none}
.quick-contact-option-icon{width:36px;height:36px;border:1px solid #35404c;border-radius:10px;background:#12171c;display:grid;place-items:center;color:#a9cff9}
.quick-contact-option-icon svg{width:19px;height:19px;fill:currentColor}
.quick-contact-option strong{display:block;font-family:Manrope,sans-serif;font-size:14px;line-height:1.2}
.quick-contact-option small{display:block;color:#87919d;font-size:11px;line-height:1.35;margin-top:3px;overflow-wrap:anywhere}
.quick-contact-chevron{color:#6f7a86;font-size:22px;text-align:right}
.quick-contact-enquiry{margin-top:2px;background:rgba(169,207,249,.055)}
@media (max-width:700px){
  .quick-contact-widget{right:14px;bottom:18px;z-index:210}
  .quick-contact-launcher{width:54px;height:54px}
  .quick-contact-launcher svg{width:23px;height:23px}
  .quick-contact-teaser{display:none!important}
  .quick-contact-panel{right:0;bottom:64px;width:min(342px,calc(100vw - 28px));max-height:min(520px,calc(100vh - 105px));overflow:auto;border-radius:16px}
  .quick-contact-panel-head{padding:15px 14px 13px}
  .quick-contact-options{padding:6px}
  .quick-contact-option{padding:10px 9px}
}
@media (prefers-reduced-motion:reduce){.quick-contact-teaser,.quick-contact-panel,.quick-contact-launcher{transition:none!important;animation:none!important}}
@media print{.quick-contact-widget{display:none!important}}


/* V35: warm editorial mid-tone sections — softer contrast, richer cards and iconography */
#services,
#why-us,
#process,
.compliance-section,
.testimonials-section{
  --text:#211e1a;
  --muted:#5f5a53;
  --line:rgba(82,67,52,.20);
  --warm-accent:#856344;
  --warm-accent-soft:#a98868;
  --cool-accent:#456f97;
  position:relative;
  isolation:isolate;
  color:var(--text);
  border-top:1px solid rgba(91,72,54,.18);
  border-bottom:1px solid rgba(91,72,54,.18);
  overflow:hidden;
}
#services{background:linear-gradient(135deg,#d2c7ba 0%,#c5b7a7 56%,#bcae9d 100%)}
#why-us{background:linear-gradient(145deg,#c4b6a5 0%,#b7a693 100%)}
#process{background:linear-gradient(145deg,#d0c5b8 0%,#c0b19f 100%)}
.compliance-section{background:linear-gradient(140deg,#c2b3a1 0%,#af9f8c 100%)}
.testimonials-section{background:linear-gradient(145deg,#d0c5b8 0%,#c0b3a4 100%)}
#services::before,
#why-us::before,
#process::before,
.compliance-section::before,
.testimonials-section::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:430px;
  height:430px;
  border-radius:50%;
  right:-170px;
  top:-190px;
  background:radial-gradient(circle,rgba(255,255,255,.26) 0%,rgba(255,255,255,0) 70%);
  pointer-events:none;
}
#services::after,
#why-us::after,
#process::after,
.compliance-section::after,
.testimonials-section::after{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:min(760px,72vw);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(111,79,50,.38),rgba(82,116,147,.30),transparent);
  pointer-events:none;
}
#services h2,#why-us h2,#process h2,.compliance-section h2,.testimonials-section h2{color:#201d19}
#services .eyebrow,#why-us .eyebrow,#process .eyebrow,.compliance-section .eyebrow,.testimonials-section .eyebrow{
  color:#5d7690;
}
#services .section-heading>p,#why-us .section-heading>p,#process .section-heading>p,.compliance-section .section-heading>p,.testimonials-section .section-heading>p{color:var(--muted)}
#services .section-heading h2::after,#why-us .section-heading h2::after,#process .section-heading h2::after,.testimonials-section .section-heading h2::after{
  content:"";
  display:block;
  width:52px;
  height:2px;
  margin-top:18px;
  background:linear-gradient(90deg,var(--warm-accent),#6684a2);
  opacity:.8;
}

/* Skilled Trades — individual cards instead of a flat light sheet */
#services .trade-grid{
  gap:12px;
  border:0;
  grid-template-columns:repeat(4,1fr);
}
#services .trade-card{
  position:relative;
  min-height:176px;
  padding:24px 22px 22px;
  color:var(--text);
  border:1px solid rgba(81,64,48,.18);
  background:linear-gradient(145deg,rgba(246,241,234,.72),rgba(232,223,212,.62));
  box-shadow:0 12px 34px rgba(56,43,31,.08),inset 0 1px 0 rgba(255,255,255,.42);
  border-radius:4px;
  justify-content:flex-start;
}
#services .trade-card::after{
  content:"";
  position:absolute;
  left:22px;
  bottom:0;
  width:0;
  height:2px;
  background:linear-gradient(90deg,#8c6848,#5d7f9f);
  transition:width .25s ease;
}
#services .trade-card:hover,#services .trade-card:focus-visible,#services .trade-card.is-open{
  background:linear-gradient(145deg,rgba(250,246,240,.90),rgba(236,226,214,.82));
  color:#1d1a17;
  border-color:rgba(81,64,48,.30);
  box-shadow:0 16px 40px rgba(56,43,31,.13),inset 0 1px 0 rgba(255,255,255,.60);
}
#services .trade-card:hover::after,#services .trade-card:focus-visible::after,#services .trade-card.is-open::after{width:58px}
.trade-card-icon,.feature-icon,.process-icon,.compliance-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.trade-card-icon{
  width:42px;height:42px;
  margin-bottom:28px;
  border:1px solid rgba(124,90,58,.28);
  border-radius:50%;
  background:rgba(255,255,255,.25);
  color:#816043;
}
.trade-card-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
#services .trade-card-head{margin-top:auto}
#services .trade-title{color:#24201c}
#services .trade-card.is-open .trade-title{color:#3f678c}
#services .trade-details{color:#5f5a53}
#services .trade-toggle{
  border-color:rgba(76,64,52,.28);
  color:#507397;
  background:rgba(255,255,255,.20);
  border-radius:50%;
}
#services .trade-card:hover .trade-toggle,#services .trade-card:focus-visible .trade-toggle,#services .trade-card.is-open .trade-toggle{
  border-color:#6687a4;background:rgba(84,119,151,.10)
}

/* Why Us — warm feature cards with distinct line icons */
#why-us .feature-grid{
  gap:12px;
  border:0;
}
#why-us .feature-grid article{
  min-height:245px;
  padding:30px 27px;
  border:1px solid rgba(76,58,43,.17);
  border-radius:4px;
  background:linear-gradient(150deg,rgba(245,239,232,.62),rgba(224,214,202,.47));
  box-shadow:0 12px 30px rgba(57,42,29,.075),inset 0 1px 0 rgba(255,255,255,.34);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
#why-us .feature-grid article:hover{transform:translateY(-3px);border-color:rgba(76,58,43,.28);box-shadow:0 18px 38px rgba(57,42,29,.12)}
.feature-icon{
  width:46px;height:46px;
  margin-bottom:34px;
  border-radius:14px;
  background:rgba(113,82,54,.10);
  border:1px solid rgba(113,82,54,.20);
  color:#805e40;
}
.feature-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
#why-us .feature-grid h3{color:#211e1a;font-size:19px}
#why-us .feature-grid p{color:#5b5650}

/* Urgent strip — toned down from a bright band to a muted steel-blue bridge */
.urgent-strip{
  background:linear-gradient(110deg,#a9bfd2 0%,#91abc2 56%,#7f9bb5 100%);
  color:#102030;
  border-top:1px solid rgba(255,255,255,.16);
  border-bottom:1px solid rgba(28,53,75,.18);
}
.urgent-strip .dark-eyebrow{color:#3d5c78}
.urgent-strip .button-dark{background:#172737;border-color:#172737}
.urgent-strip .button-dark:hover{background:#0f1d2a;border-color:#0f1d2a}

/* Process — numbered cards plus visual icons */
#process .process-grid{gap:14px}
#process .process-grid article{
  position:relative;
  overflow:hidden;
  min-height:278px;
  padding:32px;
  background:linear-gradient(145deg,rgba(249,245,239,.72),rgba(231,222,212,.62));
  border:1px solid rgba(78,62,47,.18);
  border-radius:4px;
  box-shadow:0 14px 34px rgba(54,41,30,.075),inset 0 1px 0 rgba(255,255,255,.44);
}
#process .process-grid article::after{
  content:"";
  position:absolute;
  width:110px;height:110px;
  border-radius:50%;
  right:-38px;top:-42px;
  border:1px solid rgba(102,77,53,.14);
}
#process .process-grid article>span:first-child{color:#587997;font-weight:700}
.process-icon{
  width:44px;height:44px;
  margin-top:26px;
  color:#826143;
}
.process-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
#process .process-grid h3{margin-top:18px;color:#211e1a}
#process .process-grid p{color:#5b5650}

/* Compliance — compact icon-led credentials */
.compliance-section .compliance-list{gap:12px}
.compliance-section .compliance-list>div{
  min-height:150px;
  padding:24px;
  border:1px solid rgba(76,58,43,.18);
  border-radius:4px;
  background:linear-gradient(145deg,rgba(245,239,232,.62),rgba(223,212,198,.48));
  box-shadow:0 12px 30px rgba(57,42,29,.07);
}
.compliance-icon{
  width:38px;height:38px;margin-bottom:22px;
  color:#76583e;
}
.compliance-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.compliance-section .compliance-list strong{color:#355d82;font-size:27px}
.compliance-section .compliance-list span{color:#554f48}
.compliance-section .compliance-list p{color:#56514b}

/* Testimonials — editorial quote cards */
.testimonials-section .testimonial-grid{gap:14px}
.testimonials-section blockquote{
  position:relative;
  overflow:hidden;
  padding:30px 26px 24px;
  background:linear-gradient(150deg,rgba(249,245,239,.74),rgba(232,223,213,.64));
  border:1px solid rgba(79,61,46,.18);
  border-radius:4px;
  box-shadow:0 14px 34px rgba(54,41,30,.075);
}
.testimonials-section blockquote::before{
  content:"“";
  display:block;
  height:38px;
  color:#8a6748;
  font-family:Georgia,serif;
  font-size:58px;
  line-height:.78;
  opacity:.82;
}
.testimonials-section blockquote::after{
  content:"";
  position:absolute;
  width:86px;height:86px;border-radius:50%;
  right:-34px;bottom:-36px;
  border:1px solid rgba(83,65,48,.12);
}
.testimonials-section blockquote>p{color:#36322e;font-size:15.5px}
.testimonials-section blockquote footer{color:#68615a}

/* Keep the dark FAQ, but give it designed card rhythm rather than a bare list */
#faq .faq-list{border-top:0;display:grid;gap:10px}
#faq .faq-card{
  border:1px solid #252a31;
  background:linear-gradient(145deg,#101216,#0d0f12);
  padding:0 20px;
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
#faq .faq-card:hover,#faq .faq-card[open]{border-color:#3e4854;background:#12161b}
#faq .faq-card[open]{transform:translateX(4px)}
#faq .faq-card summary{padding:22px 44px 22px 0}
#faq .faq-card details p,#faq .faq-card p{padding-bottom:22px}

/* Projects remain dark; a softer frame ties them into the warmer editorial system */
#projects .gallery-item{border-color:#30343a;box-shadow:0 10px 26px rgba(0,0,0,.14)}
#projects .gallery-item figcaption{padding-left:9px;border-left:2px solid rgba(160,200,247,.66)}

/* Slightly warmer dark structural sections to reduce pure black / cream whiplash */
#about,.response-section,#faq{background:linear-gradient(180deg,#0b0c0e 0%,#111214 100%)}
#about.section,#projects.section,.response-section,#faq.section{border-color:#1c1d20}
.stat-grid{background:#0f1012}
.site-footer{background:#080808}

@media (max-width:980px){
  #services .trade-grid{grid-template-columns:repeat(2,1fr)}
  #services .trade-card{min-height:160px}
}
@media (max-width:640px){
  #services,#why-us,#process,.compliance-section,.testimonials-section{
    background:linear-gradient(160deg,#cabfb2 0%,#bbaa97 100%);
  }
  #services .trade-grid{grid-template-columns:1fr;gap:9px}
  #services .trade-card{min-height:126px;padding:20px}
  .trade-card-icon{width:38px;height:38px;margin-bottom:18px}
  #why-us .feature-grid{gap:9px}
  #why-us .feature-grid article{min-height:auto;padding:24px 22px}
  .feature-icon{margin-bottom:22px}
  #process .process-grid article{min-height:auto;padding:26px 24px}
  .process-icon{margin-top:18px}
  .testimonials-section blockquote{padding:26px 22px 22px}
  #faq .faq-card{padding:0 16px}
}

/* V36 — lighter project enquiry form only (V35 design preserved elsewhere) */
.project-form{
  background:linear-gradient(155deg,#eee9e2 0%,#e4ddd4 100%);
  border-color:rgba(75,61,48,.24);
  box-shadow:0 18px 44px rgba(0,0,0,.16);
  color:#16191d;
}
.project-form label{
  color:#3f454d;
}
.project-form input:not([type="checkbox"]),
.project-form select,
.project-form textarea{
  background:#fbfaf7;
  border-color:#bbb6ae;
  color:#15191e;
  caret-color:#315f8d;
  color-scheme:light;
}
.project-form input:not([type="checkbox"])::placeholder,
.project-form textarea::placeholder{
  color:#85817b;
  opacity:1;
}
.project-form select:invalid{
  color:#6f6b65;
}
.project-form input:not([type="checkbox"]):hover,
.project-form select:hover,
.project-form textarea:hover{
  border-color:#98938b;
}
.project-form input:not([type="checkbox"]):focus,
.project-form select:focus,
.project-form textarea:focus{
  border-color:#5f8fbd;
  box-shadow:0 0 0 3px rgba(95,143,189,.15);
  background:#fff;
}
.project-form input[type="date"]{
  color-scheme:light;
}
.project-form input[type="date"]::-webkit-calendar-picker-indicator{
  filter:none;
  opacity:.68;
  cursor:pointer;
}
.project-form .consent{
  color:#454a50;
}
.project-form .consent a{
  color:#2f679c;
  text-decoration-color:rgba(47,103,156,.45);
}
.project-form .consent a:hover,
.project-form .consent a:focus-visible{
  color:#184e83;
}
.project-form .form-note{
  color:#5e625f;
}
.project-form .form-note-email{
  color:#245f98;
  text-decoration-color:rgba(36,95,152,.45);
}
.project-form .form-note-email:hover,
.project-form .form-note-email:focus-visible{
  color:#174a7b;
}
.project-form .form-status.error{color:#9b2f2f}
.project-form .form-status.success{color:#2d6d43}
.project-form input:-webkit-autofill,
.project-form input:-webkit-autofill:hover,
.project-form input:-webkit-autofill:focus{
  -webkit-text-fill-color:#15191e;
  -webkit-box-shadow:0 0 0 1000px #fbfaf7 inset;
  transition:background-color 9999s ease-out 0s;
}

/* V52: third hero background is assigned by JS after initial page load. */
.hero-slide-third{}


/* V46 — compact Instagram footer link */
.footer-actions{
  display:flex;
  align-items:center;
  gap:22px;
}
.footer-instagram{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center;
  gap:9px;
  width:auto!important;
  height:38px!important;
  min-width:0!important;
  max-width:150px!important;
  flex:0 0 auto!important;
  padding:0 12px!important;
  color:rgba(255,255,255,.88);
  text-decoration:none;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  overflow:hidden!important;
  box-shadow:none;
  transition:border-color .2s ease,color .2s ease,background .2s ease;
}
.footer-instagram:hover,.footer-instagram:focus-visible{
  color:#fff;
  border-color:rgba(169,207,249,.65);
  background:rgba(169,207,249,.08);
}
.footer-instagram:focus-visible{outline:2px solid #a9cff9;outline-offset:3px}
.footer-instagram svg{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  flex:0 0 20px!important;
  display:block!important;
}
.footer-instagram-label{font-size:13px;font-weight:600;letter-spacing:.02em;line-height:1;white-space:nowrap}
@media (max-width:640px){
  .footer-actions{width:100%;align-items:flex-start;gap:18px;flex-direction:column}
  .footer-instagram{height:38px!important;max-width:150px!important}
}



/* V47: refined motion system */
@media (prefers-reduced-motion:no-preference){
  .reveal-on-scroll{opacity:0;transform:translateY(28px);transition:opacity .72s cubic-bezier(.22,.61,.36,1),transform .72s cubic-bezier(.22,.61,.36,1)}
  .reveal-on-scroll.reveal-left{transform:translateX(-28px)}
  .reveal-on-scroll.reveal-right{transform:translateX(28px)}
  .reveal-on-scroll.is-revealed{opacity:1;transform:none}
  .reveal-on-scroll[data-reveal-delay="1"]{transition-delay:.08s}
  .reveal-on-scroll[data-reveal-delay="2"]{transition-delay:.16s}
  .reveal-on-scroll[data-reveal-delay="3"]{transition-delay:.24s}
  .reveal-on-scroll[data-reveal-delay="4"]{transition-delay:.32s}

  .count-animate{font-variant-numeric:tabular-nums;display:inline-block}
  .feature-grid article,.process-grid article,.compliance-list>div,.testimonial-grid blockquote{transition:transform .3s ease,box-shadow .3s ease}
  .process-grid article:hover,.compliance-list>div:hover,.testimonial-grid blockquote:hover{transform:translateY(-4px)}
}

@media (prefers-reduced-motion:reduce){
  .reveal-on-scroll{opacity:1!important;transform:none!important;transition:none!important}
}


/* V50 — back to top control */
.footer-backtop-wrap{
  display:flex;
  justify-content:flex-end;
  padding-top:18px;
}
.footer-backtop{
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  color:rgba(255,255,255,.9);
  background:rgba(255,255,255,.035);
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease;
}
.footer-backtop svg{
  width:22px;
  height:22px;
  display:block;
}
.footer-backtop:hover,
.footer-backtop:focus-visible{
  color:#fff;
  border-color:rgba(169,207,249,.65);
  background:rgba(169,207,249,.08);
  transform:translateY(-2px);
}
.footer-backtop:focus-visible{
  outline:2px solid #a9cff9;
  outline-offset:3px;
}
@media (max-width:640px){
  .footer-backtop-wrap{
    justify-content:flex-start;
    padding-top:16px;
  }
}


/* V53 — iPhone/Safari gallery image sizing fix.
   Keep each project card inside its intended aspect ratio and prevent
   intrinsic image dimensions from stretching the card vertically. */
@media (max-width:700px){
  #projects .gallery-item,
  #projects .gallery-item.tall,
  #projects .gallery-item.wide{
    position:relative;
    display:block;
    width:100%;
    height:auto!important;
    min-height:0!important;
    overflow:hidden;
    aspect-ratio:4 / 3;
    contain:layout paint;
  }

  #projects .gallery-item.mobile-portrait{aspect-ratio:4 / 5}
  #projects .gallery-item.mobile-panorama{aspect-ratio:16 / 9}
  #projects .gallery-item.mobile-landscape{aspect-ratio:4 / 3}

  #projects .gallery-item > img{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
  }
}




/* V57 — subtle inline required / optional labels */
.project-form .field-label{
  display:inline;
}
.project-form .field-status{
  display:inline;
  margin-left:4px;
  color:#7f8995;
  font-size:.78em;
  font-weight:400;
  letter-spacing:0;
  text-transform:none;
}
.project-form .field-status.field-required{
  color:#93bce8;
}


/* V58 — dedicated footer social column */
.footer-social{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}
.footer-social-label{
  color:#8f98a4;
  font-size:10px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.footer-social-icons{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer-social-link{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  color:rgba(255,255,255,.88);
  background:rgba(255,255,255,.025);
  transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease;
}
.footer-social-link svg{
  width:18px;
  height:18px;
  display:block;
}
.footer-social-link:hover,
.footer-social-link:focus-visible{
  color:#fff;
  border-color:rgba(169,207,249,.65);
  background:rgba(169,207,249,.08);
  transform:translateY(-2px);
}
.footer-social-link:focus-visible{
  outline:2px solid #a9cff9;
  outline-offset:3px;
}
@media(max-width:700px){
  .footer-social{
    align-items:flex-start;
  }
}


/* V59 — refined footer layout */
.site-footer{
  padding-top:54px;
}

.footer-top-v59{
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto minmax(150px,220px);
  align-items:center;
  gap:54px;
  padding-bottom:38px;
}

.footer-top-v59 .footer-logo{
  justify-self:start;
  width:min(210px,100%);
  height:auto;
}

.footer-top-v59 .footer-links{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px 26px;
  margin:0;
}

.footer-top-v59 .footer-links a{
  font-size:13px;
  color:#a8afb8;
  white-space:nowrap;
  transition:color .2s ease;
}

.footer-top-v59 .footer-links a:hover,
.footer-top-v59 .footer-links a:focus-visible{
  color:#fff;
}

.footer-top-v59 .footer-social{
  justify-self:end;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  margin:0;
}

.footer-top-v59 .footer-social-label{
  font-size:10px;
  line-height:1;
  letter-spacing:.14em;
  color:#7f8994;
  text-transform:uppercase;
}

.footer-top-v59 .footer-social-icons{
  display:flex;
  align-items:center;
  gap:12px;
}

.footer-top-v59 .footer-social-link{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  background:transparent;
  color:#d8dde3;
}

.footer-top-v59 .footer-social-link svg{
  width:17px;
  height:17px;
}

.footer-top-v59 .footer-social-link:hover,
.footer-top-v59 .footer-social-link:focus-visible{
  transform:translateY(-1px);
  color:#fff;
  border-color:rgba(169,207,249,.55);
  background:rgba(169,207,249,.06);
}

.footer-bottom{
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.08);
}

.footer-backtop-wrap{
  padding-top:18px;
  padding-bottom:6px;
}

@media (max-width:900px){
  .footer-top-v59{
    grid-template-columns:1fr auto;
    gap:28px 36px;
  }

  .footer-top-v59 .footer-logo{
    grid-column:1 / -1;
  }

  .footer-top-v59 .footer-links{
    justify-content:flex-start;
  }

  .footer-top-v59 .footer-social{
    justify-self:end;
  }
}

@media (max-width:640px){
  .site-footer{
    padding-top:40px;
  }

  .footer-top-v59{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:24px;
    padding-bottom:30px;
    text-align:center;
  }

  .footer-top-v59 .footer-logo{
    width:170px;
    justify-self:auto;
  }

  .footer-top-v59 .footer-links{
    justify-content:center;
    gap:9px 18px;
  }

  .footer-top-v59 .footer-links a{
    font-size:12px;
  }

  .footer-top-v59 .footer-social{
    align-items:center;
    justify-self:auto;
  }

  .footer-top-v59 .footer-social-icons{
    justify-content:center;
  }

  .footer-bottom{
    text-align:center;
    padding-top:22px;
  }

  .footer-backtop-wrap{
    justify-content:center;
  }
}


/* V60 — Why Torin Construction: project-photo background + transparent cards.
   All 6 existing cards and their grid positions are preserved. */
#why-us{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    linear-gradient(100deg,rgba(8,10,12,.64) 0%,rgba(8,10,12,.40) 52%,rgba(8,10,12,.50) 100%),
    url("assets/oct8-commercial-04.webp") center 48% / cover no-repeat;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}

#why-us::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.16)),
    radial-gradient(circle at 20% 25%,rgba(159,200,247,.07),transparent 34%);
}

#why-us > .container{
  position:relative;
  z-index:1;
}

#why-us .section-heading .eyebrow{
  color:#a9cff9;
}

#why-us .section-heading h2{
  color:#fff;
  text-shadow:0 2px 18px rgba(0,0,0,.52);
}

#why-us .section-heading > p{
  color:rgba(244,247,250,.78);
  text-shadow:0 1px 12px rgba(0,0,0,.48);
}

/* Preserve the existing 3-column / 2-column / 1-column layout. */
#why-us .feature-grid{
  gap:12px;
  border:0;
}

/* Same six cards, now transparent/glass instead of beige. */
#why-us .feature-grid article{
  min-height:245px;
  padding:30px 27px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:4px;
  background:linear-gradient(145deg,rgba(15,19,23,.34),rgba(10,13,16,.18));
  -webkit-backdrop-filter:blur(8px) saturate(1.05);
  backdrop-filter:blur(8px) saturate(1.05);
  box-shadow:
    0 14px 34px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.07);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;
}

#why-us .feature-grid article:hover{
  transform:translateY(-3px);
  border-color:rgba(169,207,249,.38);
  background:linear-gradient(145deg,rgba(19,24,30,.44),rgba(12,15,19,.26));
  box-shadow:
    0 20px 42px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.09);
}

#why-us .feature-icon{
  width:46px;
  height:46px;
  margin-bottom:34px;
  border-radius:14px;
  background:rgba(169,207,249,.10);
  border:1px solid rgba(169,207,249,.25);
  color:#b7d8fb;
}

#why-us .feature-grid h3{
  color:#fff;
}

#why-us .feature-grid p{
  color:rgba(238,242,246,.72);
}

/* Keep mobile reliable on Safari while retaining the same card order/layout logic. */
@media (max-width:640px){
  #why-us{
    background:
      linear-gradient(180deg,rgba(7,9,11,.58),rgba(7,9,11,.68)),
      url("assets/oct8-commercial-04.webp") 56% center / cover no-repeat;
  }

  #why-us .feature-grid{
    gap:9px;
  }

  #why-us .feature-grid article{
    min-height:auto;
    padding:24px 22px;
    -webkit-backdrop-filter:blur(6px);
    backdrop-filter:blur(6px);
  }

  #why-us .feature-icon{
    margin-bottom:22px;
  }
}

@media (prefers-reduced-motion:reduce){
  #why-us .feature-grid article:hover{
    transform:none;
  }
}


/* V64 — Insurance & Compliance rebuilt from V61 with integrated photo gradient */
.compliance-editorial{
  background:linear-gradient(180deg,#cdc1b4 0%,#c0b09d 100%);
  color:#221f1c;
}

.compliance-editorial-grid{
  display:grid;
  grid-template-columns:minmax(270px,.84fr) minmax(0,1.46fr);
  gap:68px;
  align-items:start;
}

.compliance-editorial-heading{
  padding-top:6px;
}

.compliance-editorial-heading .eyebrow{
  color:#3d6f9d;
}

.compliance-editorial-heading h2{
  max-width:420px;
  margin-bottom:16px;
  color:#1f1c19;
}

.compliance-editorial-heading p{
  max-width:420px;
  margin:0;
  color:#59524b;
  font-size:15px;
  line-height:1.7;
}

.compliance-editorial-panel{
  position:relative;
  border-top:1px solid rgba(70,58,46,.22);
  border-bottom:1px solid rgba(70,58,46,.22);
}

.compliance-editorial-row{
  position:relative;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) minmax(260px,34%);
  align-items:stretch;
  min-height:172px;
  column-gap:26px;
  border-bottom:1px solid rgba(70,58,46,.16);
}

.compliance-editorial-row:last-of-type{
  border-bottom:none;
}

.compliance-editorial-number{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding-top:32px;
  color:rgba(75,64,53,.76);
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
}

.compliance-editorial-copy{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:20px;
  align-items:center;
  padding:26px 0;
  min-width:0;
  position:relative;
  z-index:2;
}

.compliance-editorial-copy .compliance-icon{
  width:42px;
  height:42px;
  margin:0;
  color:#72563e;
}

.compliance-editorial-copy .compliance-icon svg{
  width:26px;
  height:26px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.compliance-editorial-copy strong{
  display:block;
  color:#315f8b;
  font-family:Manrope,Inter,sans-serif;
  font-size:clamp(30px,3vw,42px);
  line-height:.96;
  letter-spacing:-.04em;
}

.compliance-editorial-copy span:last-child{
  display:block;
  margin-top:7px;
  color:#4f4943;
  font-size:16px;
  line-height:1.4;
}

.compliance-editorial-photo{
  position:relative;
  overflow:hidden;
  min-height:172px;
  background:#bcae9c;
}

.compliance-editorial-photo img{
  width:100%;
  height:100%;
  min-height:172px;
  display:block;
  object-fit:cover;
  filter:saturate(.84) contrast(.98) brightness(.95);
  transition:transform .45s ease, filter .45s ease;
}

/* Important: create the reference-style photo fade instead of a hard photo block */
.compliance-editorial-photo::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(201,193,181,1) 0%,
      rgba(201,193,181,.98) 10%,
      rgba(201,193,181,.92) 18%,
      rgba(201,193,181,.78) 30%,
      rgba(201,193,181,.44) 48%,
      rgba(201,193,181,.12) 68%,
      rgba(201,193,181,0) 88%);
}

.compliance-editorial-photo::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(35,29,24,.08),rgba(35,29,24,.02));
}

.compliance-editorial-row:hover .compliance-editorial-photo img{
  transform:scale(1.02);
  filter:saturate(.9) contrast(1) brightness(.98);
}

.compliance-editorial-row:nth-child(1) .compliance-editorial-photo img{
  object-position:center 52%;
}
.compliance-editorial-row:nth-child(2) .compliance-editorial-photo img{
  object-position:center 44%;
}
.compliance-editorial-row:nth-child(3) .compliance-editorial-photo img{
  object-position:center 52%;
}

.compliance-editorial-note{
  margin:0;
  padding:22px 0 0 74px;
  color:#5c554d;
  font-size:14px;
  line-height:1.7;
}

@media (max-width:1024px){
  .compliance-editorial-grid{
    grid-template-columns:1fr;
    gap:34px;
  }

  .compliance-editorial-heading p{
    max-width:620px;
  }
}

@media (max-width:760px){
  .compliance-editorial{
    background:linear-gradient(180deg,#cec2b5 0%,#c2b19f 100%);
  }

  .compliance-editorial-grid{
    gap:24px;
  }

  .compliance-editorial-panel{
    border-top:1px solid rgba(70,58,46,.18);
    border-bottom:1px solid rgba(70,58,46,.18);
  }

  .compliance-editorial-row{
    grid-template-columns:28px minmax(0,1fr);
    grid-template-areas:
      "num copy"
      ". photo";
    min-height:0;
    column-gap:12px;
    row-gap:14px;
    padding:16px 0 18px;
  }

  .compliance-editorial-number{
    grid-area:num;
    padding-top:4px;
    font-size:10px;
  }

  .compliance-editorial-copy{
    grid-area:copy;
    grid-template-columns:34px minmax(0,1fr);
    gap:12px;
    padding:0;
  }

  .compliance-editorial-copy .compliance-icon{
    width:34px;
    height:34px;
  }

  .compliance-editorial-copy .compliance-icon svg{
    width:22px;
    height:22px;
  }

  .compliance-editorial-copy strong{
    font-size:24px;
  }

  .compliance-editorial-copy span:last-child{
    margin-top:6px;
    font-size:14px;
  }

  .compliance-editorial-photo{
    grid-area:photo;
    min-height:126px;
    margin-left:0;
  }

  .compliance-editorial-photo img{
    min-height:126px;
  }

  .compliance-editorial-note{
    padding:18px 0 0 0;
    font-size:13px;
  }
}

@media (max-width:460px){
  .compliance-editorial-row{
    row-gap:12px;
  }

  .compliance-editorial-photo{
    min-height:108px;
  }

  .compliance-editorial-photo img{
    min-height:108px;
  }
}

@media (prefers-reduced-motion:reduce){
  .compliance-editorial-photo img{
    transition:none;
  }
  .compliance-editorial-row:hover .compliance-editorial-photo img{
    transform:none;
  }
}


/* V65 — reference-style integrated photo fade */
@media (min-width:761px){
  .compliance-editorial-row{
    position:relative;
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    column-gap:26px;
    min-height:178px;
    padding-right:33%;
    overflow:hidden;
  }

  .compliance-editorial-number,
  .compliance-editorial-copy{
    position:relative;
    z-index:3;
  }

  .compliance-editorial-photo{
    position:absolute;
    z-index:1;
    top:0;
    right:0;
    bottom:0;
    width:56%;
    min-height:0;
    overflow:hidden;
    background:transparent;
  }

  .compliance-editorial-photo img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-height:0;
    object-fit:cover;
    filter:saturate(.84) contrast(.98) brightness(.96);
    -webkit-mask-image:linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.05) 7%,
      rgba(0,0,0,.16) 15%,
      rgba(0,0,0,.34) 26%,
      rgba(0,0,0,.58) 40%,
      rgba(0,0,0,.80) 56%,
      rgba(0,0,0,.95) 72%,
      #000 86%
    );
    mask-image:linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.05) 7%,
      rgba(0,0,0,.16) 15%,
      rgba(0,0,0,.34) 26%,
      rgba(0,0,0,.58) 40%,
      rgba(0,0,0,.80) 56%,
      rgba(0,0,0,.95) 72%,
      #000 86%
    );
  }

  /* Very light tonal glaze only — no foggy beige block. */
  .compliance-editorial-photo::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:linear-gradient(
      90deg,
      rgba(197,185,170,.08) 0%,
      rgba(197,185,170,.035) 34%,
      rgba(197,185,170,0) 68%
    );
  }

  .compliance-editorial-photo::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:linear-gradient(
      180deg,
      rgba(34,29,24,.02),
      rgba(34,29,24,.045)
    );
  }

  .compliance-editorial-row:hover .compliance-editorial-photo img{
    transform:scale(1.01);
  }
}

/* Mobile: fade upward into the same light section background. */
@media (max-width:760px){
  .compliance-editorial-photo{
    overflow:hidden;
    background:transparent;
  }

  .compliance-editorial-photo img{
    -webkit-mask-image:linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0,0,0,.12) 10%,
      rgba(0,0,0,.38) 24%,
      rgba(0,0,0,.70) 40%,
      rgba(0,0,0,.92) 58%,
      #000 72%
    );
    mask-image:linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0,0,0,.12) 10%,
      rgba(0,0,0,.38) 24%,
      rgba(0,0,0,.70) 40%,
      rgba(0,0,0,.92) 58%,
      #000 72%
    );
  }

  .compliance-editorial-photo::before{
    background:linear-gradient(
      180deg,
      rgba(199,187,173,.06) 0%,
      rgba(199,187,173,0) 48%
    );
  }
}


/* V66 — seamless compliance photo fade */
@media (min-width:761px){
  .compliance-editorial-row{
    position:relative;
    overflow:hidden;
    grid-template-columns:48px minmax(0,1fr);
    padding-right:27%;
  }

  .compliance-editorial-photo{
    position:absolute;
    inset:0;
    z-index:1;
    width:100%;
    min-height:0;
    overflow:hidden;
    background:transparent;
    pointer-events:none;
  }

  .compliance-editorial-photo img{
    position:absolute;
    top:0;
    right:0;
    width:74%;
    height:100%;
    min-height:0;
    object-fit:cover;
    filter:saturate(.82) contrast(.98) brightness(.97);

    /* Long, reference-style fade:
       no visible image at the left edge, then a very gradual reveal. */
    -webkit-mask-image:linear-gradient(
      to right,
      transparent 0%,
      transparent 15%,
      rgba(0,0,0,.02) 22%,
      rgba(0,0,0,.06) 30%,
      rgba(0,0,0,.14) 39%,
      rgba(0,0,0,.28) 49%,
      rgba(0,0,0,.48) 59%,
      rgba(0,0,0,.68) 68%,
      rgba(0,0,0,.84) 76%,
      rgba(0,0,0,.95) 84%,
      #000 91%
    );
    mask-image:linear-gradient(
      to right,
      transparent 0%,
      transparent 15%,
      rgba(0,0,0,.02) 22%,
      rgba(0,0,0,.06) 30%,
      rgba(0,0,0,.14) 39%,
      rgba(0,0,0,.28) 49%,
      rgba(0,0,0,.48) 59%,
      rgba(0,0,0,.68) 68%,
      rgba(0,0,0,.84) 76%,
      rgba(0,0,0,.95) 84%,
      #000 91%
    );
  }

  /* Remove the previous veil that could reveal the rectangular photo boundary. */
  .compliance-editorial-photo::before,
  .compliance-editorial-photo::after{
    content:none !important;
  }

  .compliance-editorial-number,
  .compliance-editorial-copy{
    position:relative;
    z-index:3;
  }
}

/* On narrower desktops/tablets, keep the fade long enough to avoid a hard edge. */
@media (min-width:761px) and (max-width:1100px){
  .compliance-editorial-photo img{
    width:82%;
    -webkit-mask-image:linear-gradient(
      to right,
      transparent 0%,
      transparent 18%,
      rgba(0,0,0,.04) 30%,
      rgba(0,0,0,.14) 42%,
      rgba(0,0,0,.34) 54%,
      rgba(0,0,0,.60) 66%,
      rgba(0,0,0,.82) 77%,
      #000 90%
    );
    mask-image:linear-gradient(
      to right,
      transparent 0%,
      transparent 18%,
      rgba(0,0,0,.04) 30%,
      rgba(0,0,0,.14) 42%,
      rgba(0,0,0,.34) 54%,
      rgba(0,0,0,.60) 66%,
      rgba(0,0,0,.82) 77%,
      #000 90%
    );
  }
}

/* Mobile: keep the image natural and fade its top edge into the section background. */
@media (max-width:760px){
  .compliance-editorial-photo::before,
  .compliance-editorial-photo::after{
    content:none !important;
  }

  .compliance-editorial-photo img{
    -webkit-mask-image:linear-gradient(
      to bottom,
      transparent 0%,
      transparent 8%,
      rgba(0,0,0,.06) 18%,
      rgba(0,0,0,.24) 32%,
      rgba(0,0,0,.52) 48%,
      rgba(0,0,0,.78) 62%,
      #000 78%
    );
    mask-image:linear-gradient(
      to bottom,
      transparent 0%,
      transparent 8%,
      rgba(0,0,0,.06) 18%,
      rgba(0,0,0,.24) 32%,
      rgba(0,0,0,.52) 48%,
      rgba(0,0,0,.78) 62%,
      #000 78%
    );
  }
}


/* V68 — mobile Insurance & Compliance: slim right-side photos with LEFT fade */
@media (max-width:760px){
  .compliance-editorial-grid{
    gap:22px;
  }

  .compliance-editorial-panel{
    border-top:1px solid rgba(70,58,46,.16);
    border-bottom:1px solid rgba(70,58,46,.16);
  }

  .compliance-editorial-row{
    position:relative;
    display:grid;
    grid-template-columns:24px minmax(0,1fr);
    grid-template-areas:"num copy";
    align-items:center;
    column-gap:10px;
    row-gap:0;
    min-height:112px;
    padding:13px 28% 13px 0;
    overflow:hidden;
  }

  .compliance-editorial-number{
    grid-area:num;
    position:relative;
    z-index:3;
    align-self:start;
    padding-top:5px;
    font-size:9px;
  }

  .compliance-editorial-copy{
    grid-area:copy;
    position:relative;
    z-index:3;
    grid-template-columns:30px minmax(0,1fr);
    gap:10px;
    align-items:center;
    padding:0;
  }

  .compliance-editorial-copy .compliance-icon{
    width:30px;
    height:30px;
  }

  .compliance-editorial-copy .compliance-icon svg{
    width:20px;
    height:20px;
  }

  .compliance-editorial-copy strong{
    font-size:22px;
    line-height:1;
  }

  .compliance-editorial-copy span:last-child{
    margin-top:5px;
    font-size:12px;
    line-height:1.3;
  }

  .compliance-editorial-photo{
    position:absolute;
    inset:0;
    z-index:1;
    width:100%;
    min-height:0;
    margin:0;
    overflow:hidden;
    background:transparent;
    pointer-events:none;
  }

  .compliance-editorial-photo img{
    position:absolute;
    top:8px;
    right:0;
    bottom:8px;
    width:62%;
    height:calc(100% - 16px);
    min-height:0;
    object-fit:cover;
    filter:saturate(.82) contrast(.98) brightness(.97);

    /* Same direction as desktop: invisible on the LEFT, fully visible on the RIGHT. */
    -webkit-mask-image:linear-gradient(
      to right,
      transparent 0%,
      transparent 15%,
      rgba(0,0,0,.03) 23%,
      rgba(0,0,0,.10) 32%,
      rgba(0,0,0,.24) 43%,
      rgba(0,0,0,.45) 55%,
      rgba(0,0,0,.68) 66%,
      rgba(0,0,0,.86) 76%,
      rgba(0,0,0,.96) 84%,
      #000 91%
    );
    mask-image:linear-gradient(
      to right,
      transparent 0%,
      transparent 15%,
      rgba(0,0,0,.03) 23%,
      rgba(0,0,0,.10) 32%,
      rgba(0,0,0,.24) 43%,
      rgba(0,0,0,.45) 55%,
      rgba(0,0,0,.68) 66%,
      rgba(0,0,0,.86) 76%,
      rgba(0,0,0,.96) 84%,
      #000 91%
    );
  }

  .compliance-editorial-photo::before,
  .compliance-editorial-photo::after{
    content:none !important;
  }

  .compliance-editorial-note{
    padding:17px 0 0;
    font-size:12.5px;
  }
}

/* Very small phones: keep the same left fade, just tighten the proportions. */
@media (max-width:420px){
  .compliance-editorial-row{
    min-height:104px;
    padding-right:27%;
  }

  .compliance-editorial-copy{
    grid-template-columns:27px minmax(0,1fr);
    gap:8px;
  }

  .compliance-editorial-copy .compliance-icon{
    width:27px;
    height:27px;
  }

  .compliance-editorial-copy .compliance-icon svg{
    width:18px;
    height:18px;
  }

  .compliance-editorial-copy strong{
    font-size:20px;
  }

  .compliance-editorial-copy span:last-child{
    font-size:11px;
  }

  .compliance-editorial-photo img{
    top:7px;
    bottom:7px;
    width:64%;
    height:calc(100% - 14px);
  }
}
