/*
 * TONGA 04 — Gutenberg-native architectural concept implementation
 * Scope: only pages using the dedicated landing-page template.
 * Graphic geometry is self-contained CSS, not a photo or AI image.
 * Existing textdomains, pattern slugs and saved page blocks stay stable.
 * The reference CGI mockups are separate design studies, not this runtime.
 */
body:has(.hoc-landing-page) {
 --tonga-ink:#211b30;
 --tonga-dark:#201b2c;
 --tonga-deep:#2b1c3c;
 --tonga-lavender:#d9bdf7;
 --tonga-accent:#875bc2;
 --tonga-pale:#f2ecfa;
 --tonga-border:#e4dceb;
 background:#fff;
 color:var(--tonga-ink);
}
body:has(.hoc-landing-page) .hoc-header {
 background:#fff!important;
 box-shadow:0 1px 0 #e3dceb;
}
body:has(.hoc-landing-page) .hoc-header>.wp-block-group {max-width:1220px}
body:has(.hoc-landing-page) .hoc-header .wp-block-site-title {
 font-family:Arial,Helvetica,sans-serif;
 letter-spacing:.25em;
 font-size:1.22rem;
 font-weight:800;
 color:var(--tonga-deep);
}
body:has(.hoc-landing-page) .hoc-header a:hover,
body:has(.hoc-landing-page) .hoc-footer a:hover {color:var(--tonga-accent)}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero {
 position:relative;
 isolation:isolate;
 overflow:hidden;
 padding-block:clamp(4.25rem,7vw,7rem)!important;
 background:
  radial-gradient(ellipse at 80% 12%,#54385f 0%,transparent 53%),
  linear-gradient(115deg,#1a1725,#292039 66%,#3c2a4a);
 color:#fff;
 min-height:475px;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero:before {
 content:"";position:absolute;z-index:-1;pointer-events:none;
 width:70%;height:210%;right:-26%;top:-76%;
 transform:rotate(22deg);border-radius:48%;
 background:linear-gradient(145deg,#b793d8 0%,#d8bae9 38%,#6b4c93 79%);
 opacity:.92;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero>.wp-block-columns {
 width:min(1200px,calc(100% - 60px));
 margin-inline:auto;
 gap:clamp(1.6rem,3.5vw,4rem);
 align-items:center!important;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero>.wp-block-columns>.wp-block-column:first-child {flex-basis:54%!important;position:relative;z-index:2}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero>.wp-block-columns>.wp-block-column:last-child {flex-basis:46%!important;position:relative;z-index:1}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero h1 {
 color:#fff;
 font-family:Georgia,"Times New Roman",serif;
 font-weight:500;
 font-size:clamp(3rem,5vw,5.5rem);
 line-height:1.05;
 letter-spacing:-.055em;
 max-width:14ch;
 text-wrap:balance;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero .hoc-eyebrow {
 font-family:Arial,Helvetica,sans-serif;
 font-size:.79rem;letter-spacing:.19em;font-weight:750;
 color:#dac0f4!important;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero p:not(.hoc-eyebrow) {
 max-width:58ch;
 color:#f3e9fb!important;
 font-size:clamp(1rem,1.35vw,1.16rem);
 line-height:1.7;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero .wp-block-buttons {
 gap:.85rem;margin-top:1.9rem;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero .wp-block-button__link {
 background:#e1ccfa;color:#1f162e;
 border-radius:6px;
 border:1px solid #ead9fd;
 font-weight:710;font-size:.93rem;
 padding:.85rem 1.25rem;
 transition:background .15s ease,transform .15s ease;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero .wp-block-button__link:hover {
 background:#fff;box-shadow:0 9px 25px #03030528;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero .is-style-hoc-soft .wp-block-button__link {
 color:#fff;background:#ffffff11;border-color:#d8c4e8;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero .is-style-hoc-soft .wp-block-button__link:hover {background:#ffffff33}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero-art {
 min-height:350px;
 height:clamp(355px,32vw,490px);
 max-height:490px;
 width:100%;
 border:1px solid #dbcdf699;
 border-radius:9px;
 box-shadow:0 25px 80px #100b25a0,0 0 0 8px #ffffff08;
 overflow:hidden;
 transform:perspective(950px) rotateY(-8deg);
 position:relative;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--agency {
 background:
  linear-gradient(20deg,transparent 0 56%,#241e2877 56% 100%),
  radial-gradient(ellipse at 75% 17%,#efbccb 1%,#b6a0d0 32%,transparent 53%),
  linear-gradient(120deg,#2b2733 1%,#715d84 66%,#ba9cb9 100%);
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--agency:before {
 content:"";position:absolute;inset:24% -6% -17% 22%;
 border-radius:1px;background:linear-gradient(105deg,#68606c 0 18%,#a7a0a8 18% 22%,#37323b 22% 39%,#cac3c8 39% 43%,#4c4550 43% 100%);
 transform:skewX(-23deg) rotate(-6deg);
 box-shadow:-20px -23px 0 0 #a69cac;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--agency:after {
 content:"";position:absolute;inset:42% -5% 6% 28%;
 width:auto;height:auto;transform:skewX(-22deg);
 background:repeating-linear-gradient(90deg,#13101b88 0 2px,#11111b8c 3px 54px,#ddd3dfaa 56px 58px);
 border-radius:0;border:0;box-shadow:none;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--hospitality {
 background:
  radial-gradient(ellipse at 70% 21%,#f3c4ba 0%,transparent 42%),
  linear-gradient(180deg,#827eae 0 45%,#6974a0 46% 48%,#53678f 49% 75%,#ad8c7f 75%);
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--hospitality:before {
 content:"";position:absolute;inset:0 -10% 0 54%;width:auto;height:auto;
 background:linear-gradient(100deg,#433b38 1%,#b9a18c 15%,#443631 18%,#816e5e 25%,#201b22 28%,#6c625b 70%,#413639 100%);
 border-radius:0;filter:none;transform:skewX(-12deg);
 box-shadow:-12px 0 0 #e1cab4;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--hospitality:after {
 content:"";position:absolute;inset:46% 3% 0 58%;
 width:auto;height:auto;border-radius:0;border:0;
 background:repeating-linear-gradient(90deg,#17172099 0 8%,#ead5becc 9% 10%,#4b3f40af 11% 31%);
 transform:none;box-shadow:0 -18px 0 #4b3c3c;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--healthcare {
 background:
  radial-gradient(ellipse at 63% 10%,#faf5ef 0 13%,transparent 28%),
  linear-gradient(110deg,#d3bcb2 0 15%,#f7eae1 18% 56%,#c7aeaa 58% 65%,#eee1dd 66%);
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--healthcare:before {
 content:"";position:absolute;inset:0 16% 0 16%;height:auto;width:auto;border-radius:0;
 background:repeating-linear-gradient(90deg,#b49fa266 0 2px,#faf9f555 4px 22%,#b8b1b222 23% 35%);
 box-shadow:none;filter:none;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--healthcare:after {
 content:"✚";position:absolute;left:67%;top:21%;
 width:92px;height:92px;aspect-ratio:auto;display:grid;place-items:center;
 border:2px solid #a7a4a0;border-radius:20px;
 color:#8d6f88;font-size:4.7rem;font-family:Arial,sans-serif;font-weight:200;
 background:#ede7df;transform:rotate(-7deg);box-shadow:12px 16px 35px #3e343c33;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--portfolio {
 background:
  linear-gradient(120deg,#322d43 0 37%,#b7a1b9 38% 58%,#dbc2b8 59% 100%);
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--portfolio:before {
 content:"";position:absolute;inset:20% -15% -14% 30%;border-radius:0;
 background:linear-gradient(135deg,#d9c4bc 0 17%,#b0a1a0 18% 25%,#e7dcd6 26% 70%,#a89791 71%);
 transform:rotate(-9deg) skewX(-7deg);
 box-shadow:0 0 0 0 transparent;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--portfolio:after {
 content:"";position:absolute;inset:36% 8% -8% 42%;
 width:auto;height:auto;border-radius:0;border:0;transform:skewX(-14deg);
 background:linear-gradient(130deg,#2b242b99 0 44%,#d6c4bd55 45% 48%,#25202677 49%);
 box-shadow:none;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--software {
 background:linear-gradient(140deg,#33254f,#ae8acb 58%,#543974);
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--software:before {
 content:"TONGA  /  Overview";position:absolute;inset:11% 6% 12% 9%;width:auto;height:auto;
 display:flex;align-items:flex-start;padding:15px 18px;
 color:#e5d7f2;font-family:Arial,sans-serif;font-size:.95rem;font-weight:700;letter-spacing:.06em;
 background:linear-gradient(90deg,#261c38 0 29%,#fdfbff 29% 100%);
 border:1px solid #dfd5eb;border-radius:14px;
 box-shadow:0 29px 45px #150b3277;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--software:after {
 content:"Active projects     12       ·      Tasks      38       ·       76%";
 position:absolute;inset:35% 11% 31% 39%;width:auto;height:auto;
 display:flex;align-items:center;justify-content:center;padding:20px;
 border:1px solid #ede4f7;border-radius:10px;
 background:
  linear-gradient(180deg,#fbf8fe 0 74%,#d3b0f3 75% 89%,#fff 90%);
 color:#392549;font-family:Arial,sans-serif;font-size:clamp(.8rem,1.05vw,1.05rem);font-weight:650;
 letter-spacing:0;transform:none;box-shadow:0 5px 17px #37204633;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--commerce {
 background:
  radial-gradient(ellipse at 65% 11%,#fceae0,transparent 36%),
  linear-gradient(155deg,#d9b5b0 0%,#e9d8cd 58%,#ac9b91 100%);
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--commerce:before {
 content:"";position:absolute;inset:64% 0 0 0;width:auto;height:auto;
 background:linear-gradient(180deg,#bda9a1,#f1dbce);
 border-radius:0;box-shadow:0 -12px 24px #584c5144;filter:none;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-art--commerce:after {
 content:"";position:absolute;left:37%;top:18%;width:33%;height:55%;
 border-radius:37% 37% 48% 48% / 12% 12% 34% 34%;
 background:linear-gradient(90deg,#665058,#c1a6a1 49%,#e7d4c6 68%,#705960);
 border:0;transform:rotate(-5deg);
 box-shadow:17px 22px 35px #5c3c4445,0 -20px 0 -9px #b69f90;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector {
 padding-block:0!important;
 background:#fff;
 color:#292037;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector .hoc-sector-inner {
 padding-block:clamp(3.5rem,6vw,6.3rem);
 width:min(1160px,calc(100% - 44px));
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector.hoc-sector--muted {
 background:linear-gradient(120deg,#f5effb,#eae0f5);
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector.hoc-sector--dark {
 background:linear-gradient(115deg,#21182f,#4b2b60);
 color:#fff;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector h2 {
 font-family:Georgia,"Times New Roman",serif;
 color:inherit;
 font-size:clamp(2.3rem,4.5vw,4.3rem);
 letter-spacing:-.052em;
 font-weight:500;
 line-height:1.13;
 max-width:24ch;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector h3 {
 font-family:Arial,Helvetica,sans-serif;
 color:inherit;font-weight:750;
 font-size:clamp(1.04rem,1.4vw,1.3rem);
 letter-spacing:-.022em;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector .hoc-sector-kicker,
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector .hoc-sector-number {
 color:#875ac1;font-weight:760;letter-spacing:.14em;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector.hoc-sector--dark .hoc-sector-kicker {color:#debcff}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector .hoc-sector-intro {color:#595164}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector--dark .hoc-sector-intro {color:#e8daf8}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector-card {
 border:0;box-shadow:none;border-radius:9px;
 padding:clamp(1.4rem,2vw,2rem);
 background:#fff;color:#292037;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector.hoc-sector--muted .hoc-sector-card {
 background:#fbf8fd;border:1px solid #e6ddf0;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-editorial-panel {
 border-radius:6px;
 border:1px solid #d1c3df;
 min-height:clamp(260px,30vw,400px);
 background:
  radial-gradient(ellipse at 76% 25%,#e7cfeb,transparent 50%),
  linear-gradient(138deg,#ddd0df,#eee7eb);
 box-shadow:none;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-editorial-panel:nth-child(2) {
 background:linear-gradient(130deg,#bca9c5,#e2ccd4);
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-sector--dark .wp-block-button__link {
 background:#e8d3ff!important;color:#2b1843!important;
}
body:has(.hoc-landing-page) .hoc-landing-page .hoc-faq-item {border-color:#e1d4ee}
body:has(.hoc-landing-page) .hoc-landing-page .wp-block-button__link {
 background:#674086;color:#fff;border-radius:5px;font-weight:700;
}
body:has(.hoc-landing-page) .hoc-landing-page .wp-block-button__link:hover {
 background:#50306d;box-shadow:0 7px 25px #25133522;
}
@media(max-width:980px){
 body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero>.wp-block-columns{
  width:min(900px,calc(100% - 42px));
 }
 body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero h1{
  font-size:clamp(2.5rem,5vw,4.5rem);
 }
 body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero-art{
  min-height:330px;height:350px;transform:none;
 }
}
@media(max-width:781px){
 body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero>.wp-block-columns {
  display:flex;flex-direction:column!important;
 }
 body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero>.wp-block-columns>.wp-block-column{
  flex-basis:auto!important;width:100%;
 }
 body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero h1 {
  font-size:clamp(2.45rem,10vw,4rem);
 }
 body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero-art{
  min-height:280px;height:300px;
 }
 body:has(.hoc-landing-page) .hoc-landing-page .hoc-hero:before{
  width:120%;height:105%;right:-70%;top:35%;
 }
}
@media(prefers-reduced-motion:reduce){
 body:has(.hoc-landing-page) .wp-block-button__link {transition:none}
}

/* TONGA reference composition expansion: native Gutenberg, illustrative CSS only. */
body:has(.hoc-landing-page) .hoc-reference-section .hoc-reference-card{background:#fff;border:1px solid #e5ddeb;border-radius:8px;padding:16px;overflow:hidden}
body:has(.hoc-landing-page) .hoc-reference-section .hoc-reference-card h3{font-size:clamp(1.25rem,2vw,1.8rem)}
body:has(.hoc-landing-page) .hoc-reference-section .hoc-reference-label{color:#65428b;font-size:.72rem}
body:has(.hoc-landing-page) .hoc-reference-section .hoc-reference-art{position:relative;min-height:220px;overflow:hidden;isolation:isolate;border-radius:5px;background:#c8b6d1}
body:has(.hoc-landing-page) .hoc-reference-art:before,body:has(.hoc-landing-page) .hoc-reference-art:after{content:"";position:absolute;pointer-events:none}
body:has(.hoc-landing-page) .hoc-art-architecture{background:linear-gradient(145deg,#2b2638,#9380a4 52%,#d9c5e5)}
body:has(.hoc-landing-page) .hoc-art-architecture:before{inset:16% -5% -18% 19%;background:repeating-linear-gradient(100deg,#e4d8e8 0 9%,#52445f 9% 16%,#a99bb4 16% 27%);transform:skew(-16deg);box-shadow:0 20px 50px #2b243c55}
body:has(.hoc-landing-page) .hoc-art-editorial{background:linear-gradient(150deg,#ded0df,#a98dae)}
body:has(.hoc-landing-page) .hoc-art-editorial:before{inset:16% 20%;transform:rotate(-8deg);background:linear-gradient(140deg,#30293b 0 48%,#f0e4f2 48%);box-shadow:20px 20px 30px #41334b44}
body:has(.hoc-landing-page) .hoc-art-object{background:linear-gradient(145deg,#ded0de,#a993bb)}
body:has(.hoc-landing-page) .hoc-art-object:before{width:46%;height:70%;left:26%;top:15%;background:linear-gradient(140deg,#f5e7ec,#977ca9);border-radius:50% 50% 10% 10%;box-shadow:20px 20px 25px #4a3a5a44}
body:has(.hoc-landing-page) .hoc-art-room{background:linear-gradient(180deg,#c8b6cf 0 50%,#e5d4ca 50% 70%,#917b84 70%)}
body:has(.hoc-landing-page) .hoc-art-room:before{inset:12% 12% 45% 43%;background:linear-gradient(160deg,#ebd7e3,#9b9cbd);border:6px solid #f4e8ed}
body:has(.hoc-landing-page) .hoc-art-room:after{inset:48% 12% 9% 14%;background:linear-gradient(165deg,#f4e8dc,#bba6ad);border-radius:12px 12px 0 0}
body:has(.hoc-landing-page) .hoc-art-wellness{background:radial-gradient(ellipse at 25% 12%,#efe5ed,#ab91ba 65%,#695d7f)}
body:has(.hoc-landing-page) .hoc-art-wellness:before{inset:35% 10% -28%;border-radius:50%;background:repeating-radial-gradient(ellipse,#ebdce5 0 12px,#cbb8d7 13px 23px)}
body:has(.hoc-landing-page) .hoc-art-table{background:linear-gradient(145deg,#c6a8b5,#eee1d5)}
body:has(.hoc-landing-page) .hoc-art-table:before{inset:12% 21%;border:14px solid #f8f0e5;background:#a68c9a;border-radius:50%;box-shadow:0 15px 35px #4f385b44}
body:has(.hoc-landing-page) .hoc-art-terrace{background:linear-gradient(180deg,#d1c0dd,#f5e4df 50%,#9a8fa2 51%,#5f536e)}
body:has(.hoc-landing-page) .hoc-art-terrace:after{inset:52% 0 0;background:repeating-linear-gradient(90deg,#e7d6e4 0 3px,transparent 3px 25px);border-top:7px solid #e7d6e4}
body:has(.hoc-landing-page) .hoc-art-profile{min-height:340px;background:linear-gradient(135deg,#ece5eb,#c5bfd2)}
body:has(.hoc-landing-page) .hoc-art-profile:before{width:28%;aspect-ratio:1;left:36%;top:17%;border-radius:50%;background:#81718b}
body:has(.hoc-landing-page) .hoc-art-profile:after{width:60%;height:42%;left:20%;bottom:4%;border-radius:45% 45% 5% 5%;background:#f7f4f7}
body:has(.hoc-landing-page) .hoc-reference-asymmetric>.wp-block-column:first-child{flex-basis:59%!important}
body:has(.hoc-landing-page) .hoc-reference-asymmetric>.wp-block-column:first-child .hoc-reference-art{min-height:340px}
body:has(.hoc-landing-page) .hoc-reference-dashboard{background:#282137;color:#fff;padding:clamp(16px,3vw,40px);border-radius:12px}
body:has(.hoc-landing-page) .hoc-reference-dashboard .hoc-reference-card{background:#3e3451;color:#fff;border-color:#665575}
body:has(.hoc-landing-page) .hoc-reference-dashboard .hoc-reference-card h3{color:#fff;font-size:2.4rem}
body:has(.hoc-landing-page) .hoc-reference-dashboard .hoc-reference-label{color:#f0dfff}
body:has(.hoc-landing-page) .hoc-art-dashboard{background:repeating-linear-gradient(0deg,#30263f 0 38px,#5e4e6b 39px 40px)}
body:has(.hoc-landing-page) .hoc-art-dashboard:before{inset:15% 8% 8%;background:repeating-linear-gradient(90deg,#c8a8f2 0 8%,transparent 8% 13%);clip-path:polygon(0 70%,14% 45%,27% 63%,42% 30%,57% 43%,72% 12%,86% 26%,100% 0,100% 100%,0 100%)}
body:has(.hoc-landing-page) .hoc-reference-plans>.wp-block-column:nth-child(2) .hoc-reference-card{border:2px solid #8b65bb;background:#f6effb}
body:has(.hoc-landing-page) .hoc-art-vase{background:linear-gradient(130deg,#e5d9d4,#b49cba)}
body:has(.hoc-landing-page) .hoc-art-vase:before{inset:13% 30% 9%;background:linear-gradient(90deg,#907992,#f1e0e5,#ac8eaa);border-radius:20% 20% 40% 40%;box-shadow:15px 20px 25px #4a355a44}
body:has(.hoc-landing-page) .hoc-art-textile{background:repeating-linear-gradient(135deg,#ddd0de 0 7px,#c2aecb 8px 14px,#eadde5 15px 18px)}
body:has(.hoc-landing-page) .hoc-reference-newsletter{max-width:760px;margin-inline:auto;padding:clamp(24px,4vw,60px)}
@media(max-width:781px){body:has(.hoc-landing-page) .hoc-reference-asymmetric>.wp-block-column:first-child{flex-basis:100%!important}body:has(.hoc-landing-page) .hoc-reference-asymmetric>.wp-block-column:first-child .hoc-reference-art{min-height:240px}}
