/*
  EtherComm Studio, 2026 editorial design system.
  Loaded AFTER legacy and brand-refresh styles on all 15 KANTOOR locales.
  No external fonts, no scripts or third-party CSS, no build step.
  Original logos and owner-approved light image remain unmodified.
*/
:root{
  color-scheme:light;
  --studio-ink:#102e40;
  --studio-muted:#4c6976;
  --studio-ocean:#087f89;
  --studio-ocean-dark:#05616e;
  --studio-sky:#eaf5fa;
  --studio-ice:#d5e9f2;
  --studio-white:#fff;
  --studio-line:#d3e3eb;
  --studio-shadow:0 18px 48px rgba(14,47,67,.09);
  --studio-radius:24px;
  --studio-gutter:clamp(20px,4.2vw,64px);
}
html{scroll-behavior:smooth;scroll-padding-top:clamp(88px,13vw,186px)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
*,*::before,*::after{box-sizing:border-box}
body{
  color:var(--studio-ink);
  background:radial-gradient(ellipse at 8% 9%,rgba(205,233,245,.62),transparent 31%),
             radial-gradient(ellipse at 89% 43%,rgba(217,237,242,.45),transparent 39%),
             #f7fbfd;
  background-attachment:scroll;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%}
.wrap{width:min(calc(100% - var(--studio-gutter) - var(--studio-gutter)),1240px);margin-inline:auto}
h1,h2,h3{color:var(--studio-ink);text-wrap:balance}
p{overflow-wrap:break-word}
:where(a,button,input,select,summary,textarea):focus-visible{
  outline:3px solid #0b93a4;
  outline-offset:4px;
  border-radius:6px;
}
a:not(.btn):hover{text-underline-offset:3px}
:where(.btn,.go,.project,.family-card){transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease}
@media(prefers-reduced-motion:reduce){
 :where(.btn,.go,.project,.family-card){transition:none!important;animation:none!important}
}
.btn{min-height:44px;display:inline-flex;justify-content:center;align-items:center}
.btn.primary{background:var(--studio-ocean-dark);color:#fff;border-color:transparent}
.btn.primary:is(:hover,:focus-visible){background:#074d58}
:where(.btn,.go){font-weight:700}
.site-head{
  position:relative;
  z-index:40;
  background:rgba(248,252,254,.97);
  border-bottom:1px solid var(--studio-line);
}
@supports (backdrop-filter:blur(12px)){
 .site-head{background:rgba(248,252,254,.89);backdrop-filter:blur(12px)}
}
.site-head.ec-scrolled{box-shadow:0 12px 38px rgba(13,49,67,.08)}
.site-head .head-inner{
  min-height:176px;
  gap:clamp(14px,2.4vw,34px);
  align-items:center;
  justify-content:space-between;
}
.site-head .brand{flex:none;max-width:160px;margin-inline-end:clamp(8px,1.4vw,24px)}
.site-head .brand img{
  display:block;
  width:151px;
  height:151px;
  max-height:none;
  max-width:100%;
  aspect-ratio:1;
  object-fit:contain;
  object-position:center;
  background:transparent;
  border:0;
  padding:0;
  border-radius:0;
  box-shadow:none;
}
.site-head .brand strong{display:none}
.site-head nav a,.desktop-nav a{font-weight:660}
.site-head nav a[aria-current="location"],.desktop-nav a[aria-current="location"]{
  color:var(--studio-ocean-dark);
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:7px;
}
.hero{
  background:radial-gradient(ellipse at 92% 25%,rgba(208,234,247,.72),transparent 52%),
             linear-gradient(135deg,#f6fbfd,#eaf5f9 60%,#fff);
}
.hero .hero-grid{gap:clamp(22px,3.2vw,42px);padding-block:clamp(54px,7vw,94px)}
.hero h1{font-size:clamp(2.8rem,6.3vw,5.9rem);line-height:1.03;letter-spacing:-.06em;max-width:930px}
.hero .lead{font-size:clamp(1rem,1.5vw,1.22rem);line-height:1.7;max-width:67ch}
.hero .hero-visual{
  border-radius:var(--studio-radius);
  border:1px solid var(--studio-line);
  box-shadow:var(--studio-shadow);
  background:#fff;
  overflow:hidden;
}
.hero .hero-visual .ec26-selected-banner{width:100%;height:100%;object-fit:contain}
.hero-note{color:var(--studio-muted)}
.trustline{background:rgba(222,242,249,.55);border-block:1px solid var(--studio-line)}
.section{padding-block:clamp(56px,7.5vw,112px)}
.section-heading{gap:clamp(18px,3vw,56px);align-items:end}
.section-heading h2{font-size:clamp(2.15rem,4.5vw,3.85rem);letter-spacing:-.045em;line-height:1.12}
.section-heading p{color:var(--studio-muted);line-height:1.7}
.cards{gap:clamp(18px,2.2vw,30px)}
.project,.family-card{
  container-type:inline-size;
  border:1px solid var(--studio-line);
  border-radius:var(--studio-radius);
  overflow:hidden;
  box-shadow:0 13px 34px rgba(18,49,65,.07);
  background:var(--studio-white);
}
.project:is(:hover,:focus-within),.family-card:is(:hover,:focus-within){
  transform:translateY(-3px);
  box-shadow:0 20px 54px rgba(18,49,65,.12);
  border-color:#a9d0da;
}
.project-top{min-height:220px}
.project-body{padding:clamp(24px,3cqi,37px)}
.project-body p{line-height:1.73;color:var(--studio-muted)}
.project-body h3{font-size:clamp(1.5rem,2.4vw,2.15rem)}
.tagbar{gap:8px;flex-wrap:wrap}
.tagbar span{border:1px solid #d9e9ed;background:#eef7f9;color:#27535f}
.ec26-promotion-section{background:linear-gradient(140deg,#edf7fa,#f9fcfd 72%)}
.ec26-promotion-card{border-radius:var(--studio-radius);border:1px solid var(--studio-line);box-shadow:var(--studio-shadow)}
.ec26-promotion-mark{border-radius:18px}
.family-section,.contact-section{background:transparent}
.family-card{padding:clamp(18px,2.2vw,27px)}
.about-card{border-radius:var(--studio-radius);box-shadow:var(--studio-shadow)}
.about-card h3{color:#fff}
.ec26-about-page{
  background:radial-gradient(ellipse at 85% 16%,#e2f1f9,transparent 42%),#f8fcfd;
}
.ec26-about-page::before{
  display:block;
  max-width:min(380px,calc(100% - 32px));
  aspect-ratio:1;
  height:auto;
  margin:clamp(28px,4vw,48px) auto;
  background:transparent url('/ethercomm-site/assets/ethercomm-logo-transparent.webp?v=20261126') center / contain no-repeat;
  border:0;
  box-shadow:none;
}
.ec26-about-page-grid article,.ec26-linkedin-story{border-radius:var(--studio-radius)}
.ec26-about-page-grid p,.ec26-linkedin-story p{line-height:1.75}
.ec26-about-page-contact{border-radius:var(--studio-radius)}
.contact-box{border-radius:var(--studio-radius);box-shadow:var(--studio-shadow);border:1px solid var(--studio-line)}
.contact-details{border-radius:18px}
.footer{
  margin-top:0;
  background:linear-gradient(145deg,#0c2e41,#102838);
  border-top:1px solid #2e5060;
}
.footer::before{content:none!important;display:none!important;height:0!important}
.footer .footer-main{gap:clamp(20px,2.8vw,38px);align-items:start}
.footer .footer-brand-image{
  display:block;
  inline-size:151px;
  block-size:151px;
  max-height:none;
  aspect-ratio:1;
  object-fit:contain;
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
}
.footer .visitor-box{border-radius:18px}
.footer .footer-col a{line-height:1.75}
.footer .footer-bottom{font-size:.9rem}
[dir="rtl"] .site-head .brand{margin-inline-end:clamp(8px,1.4vw,24px)}
[dir="rtl"] .footer .footer-brand-image{margin-inline-start:auto}
@media(min-width:900px){
 .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .family-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1020px){
 .site-head .head-inner{min-height:126px}
 .site-head .brand img{width:112px;height:112px}
}
@media(max-width:720px){
 .site-head .head-inner{min-height:96px}
 .site-head .brand img{width:78px;height:78px}
 .site-head .brand{max-width:82px}
 .hero .hero-grid{padding-block:40px}
 .hero .hero-visual{aspect-ratio:3/1}
 .hero h1{font-size:clamp(2.55rem,10vw,4rem)}
 .section{padding-block:56px}
 .project:is(:hover,:focus-within),.family-card:is(:hover,:focus-within){transform:none}
 .footer .footer-main{grid-template-columns:1fr 1fr}
 .footer .footer-brand{grid-column:1/-1}
 .footer .footer-brand-image{width:124px;height:124px}
 .ec26-about-page::before{max-width:280px}
}
@media(max-width:470px){
 .footer .footer-main{grid-template-columns:1fr}
 .hero .actions{flex-wrap:wrap}
 .hero .hero-visual{aspect-ratio:auto}
 .hero .hero-visual .ec26-selected-banner{aspect-ratio:3/1;height:auto}
}


/* Direct answers: useful native interactions, no JavaScript dependency */
.ec-studio-answers{background:linear-gradient(145deg,#ebf5f9 0%,#f9fcfd 78%)}
.ec-studio-answers-layout{
 display:grid;
 grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);
 gap:clamp(24px,5vw,76px);
 align-items:start;
}
.ec-studio-answers-heading{position:sticky;top:22px}
.ec-studio-answers-heading h2{font-size:clamp(2rem,3.8vw,3.4rem);line-height:1.12}
.ec-studio-answers-heading p{color:var(--studio-muted);line-height:1.75}
.ec-studio-answers-list{border:1px solid var(--studio-line);background:#fff;border-radius:var(--studio-radius);overflow:hidden;box-shadow:var(--studio-shadow)}
.ec-studio-answer+.ec-studio-answer{border-top:1px solid var(--studio-line)}
.ec-studio-answer summary{
 display:list-item;
 cursor:pointer;
 padding:clamp(20px,2.6vw,29px);
 padding-inline-end:clamp(27px,3vw,45px);
 font-size:clamp(1rem,1.55vw,1.18rem);
 line-height:1.45;
 font-weight:750;
 color:var(--studio-ink);
}
.ec-studio-answer[open] summary{color:var(--studio-ocean-dark)}
.ec-studio-answer summary:hover{background:#f4fafd}
.ec-studio-answer-detail{padding:0 clamp(20px,2.6vw,29px) clamp(22px,2.8vw,32px)}
.ec-studio-answer-detail p{color:var(--studio-muted);line-height:1.75;margin-top:0}
.ec-studio-answer-detail .go{display:inline-flex;min-height:36px;align-items:center}
@media(max-width:790px){
 .ec-studio-answers-layout{grid-template-columns:1fr}
 .ec-studio-answers-heading{position:static}
}


/* Private FAQ finder, no data leaves this page. */
.ec-studio-answers-layout{align-items:start}
.ec-studio-answers-heading{grid-column:1;grid-row:1 /span 2}
.ec-studio-faq-search{grid-column:2;grid-row:1;display:grid;gap:11px;min-width:0}
.ec-studio-faq-search label{font-weight:750;color:var(--studio-ink)}
.ec-studio-faq-search-controls{display:flex;gap:10px;flex-wrap:wrap}
.ec-studio-faq-search input[type="search"]{
  flex:1 1 240px;min-width:0;min-height:48px;
  border-radius:13px;border:1px solid #a8cdd8;
  background:#fff;color:var(--studio-ink);
  font:inherit;font-size:1rem;line-height:1.4;
  padding:10px 14px;
}
.ec-studio-faq-search input[type="search"]::placeholder{color:#57717b;opacity:1}
.ec-studio-faq-search [data-ec-faq-clear]{
  min-height:44px;border:1px solid #b9d4dc;
  border-radius:12px;background:#eef7fa;color:#124154;
  font:inherit;font-weight:700;padding:9px 18px;cursor:pointer;
}
.ec-studio-faq-search [data-ec-faq-clear]:hover{background:#dceef4}
.ec-studio-faq-empty{font-size:.95rem;line-height:1.6;color:var(--studio-muted);margin:0}
.ec-studio-answers-list{grid-column:2;grid-row:2;min-width:0}
.ec-studio-answer[hidden],[data-ec-faq-clear][hidden],[data-ec-faq-empty][hidden],[data-ec-faq-search][hidden]{display:none!important}
@media(max-width:790px){
  .ec-studio-answers-heading,.ec-studio-faq-search,.ec-studio-answers-list{
    grid-column:1;grid-row:auto
  }
}


/* The ten original I15 locales use a legacy ec26-hero-panel instead of the
   newer .hero-visual container. Present the *same approved light banner*
   while leaving each locale's real headline, lead and page metadata intact. */
.hero .ec26-hero-panel{
  display:block;
  width:100%;
  min-height:0;
  aspect-ratio:3/1;
  padding:0;
  margin:0;
  overflow:hidden;
  border:1px solid var(--studio-line);
  border-radius:var(--studio-radius);
  box-shadow:var(--studio-shadow);
  background:#fff url('/ethercomm-site/assets/ethercomm-banner-light.webp?v=3') center / contain no-repeat;
}
.hero .ec26-hero-panel > *{display:none!important}
@media(max-width:720px){
  .hero .ec26-hero-panel{border-radius:15px;aspect-ratio:3/1}
}


/* EtherComm studio motion system: progressive, browser-native, 26 Nov 2026.
   The approved wide light banner remains prominently displayed in the HERO.
   Decorative transitions never remove essential content or trap keyboard users. */
.hero .hero-grid{position:relative}
.hero .hero-visual{
  position:relative;
  width:100%;aspect-ratio:3/1;min-height:220px;
  background:#f5fbfd;border:1px solid #cfe8f1;
  isolation:isolate;box-shadow:0 34px 70px rgba(12,53,73,.14);
}
.hero .hero-visual .ec26-selected-banner{
  display:block!important;
  position:absolute;inset:0;width:100%;height:100%;
  aspect-ratio:3/1;object-fit:contain;z-index:2;
  opacity:1!important;visibility:visible!important;
}
.hero .hero-visual .hero-card{display:none!important}
.hero .ec26-hero-panel{
  display:flex;align-items:center;justify-content:center;
  aspect-ratio:3/1;min-height:220px;padding:0;
  background:#f6fbfd;box-shadow:0 30px 70px rgba(10,51,71,.13);
  border:1px solid #d6e8ef;border-radius:24px;
  position:relative;overflow:hidden;
}
.hero .ec26-hero-panel > *{display:none!important}
.hero .ec26-hero-panel > .ec26-selected-banner{
  display:block!important;position:absolute;inset:0;
  width:100%;height:100%;object-fit:contain;
  opacity:1!important;visibility:visible!important;
}
.hero .ec26-hero-panel::before,.hero .ec26-hero-panel::after{display:none!important}
.site-head{position:sticky;top:0;z-index:80}
.site-head .brand img,.footer .footer-brand-image{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  object-fit:contain;
}
/* A light pool behind the footer logo keeps its dark navy wordmark legible.
   It is a diffused glow rather than an opaque rectangular badge. */
.footer .footer-brand{
  background:radial-gradient(ellipse 65% 46% at 20% 29%,rgba(232,248,255,.95) 0%,rgba(215,240,249,.52) 42%,transparent 76%);
}
/* Allow images outside the square logo to preserve their intrinsic proportions. */
.hero .ec26-selected-banner{max-width:100%}
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  ::view-transition-old(root){animation:ec-page-exit .22s ease-in both}
  ::view-transition-new(root){animation:ec-page-enter .45s cubic-bezier(.2,.8,.22,1) both}
  @keyframes ec-page-exit{to{opacity:.15;transform:translateY(-8px)}}
  @keyframes ec-page-enter{from{opacity:.45;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
  .hero .hero-grid > :first-child{animation:ec-hero-copy .65s cubic-bezier(.22,1,.36,1) both}
  .hero .hero-visual,.hero .ec26-hero-panel{animation:ec-hero-art .85s cubic-bezier(.22,1,.36,1) .12s both}
  @keyframes ec-hero-copy{from{opacity:.5;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
  @keyframes ec-hero-art{from{opacity:.3;transform:translateY(24px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
}
/* Native scroll-linked reveal: browser scroll timelines, no JS frame-by-frame
   animation, and no dependence on animation support for basic content. */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .project,.family-card,.ec26-promotion-card,.contact-box,
    .ec-studio-answer,.ec26-about-page-grid article,
    .ec26-linkedin-story,.section-heading{
      animation:ec-scroll-reveal 1ms linear both;
      animation-timeline:view(block);
      animation-range:entry 0% cover 32%;
    }
    @keyframes ec-scroll-reveal{
      from{opacity:.34;transform:translateY(29px) scale(.985)}
      to{opacity:1;transform:translateY(0) scale(1)}
    }
    /* Thin journey-progress line follows document scrolling on capable engines. */
    body::after{
      content:"";position:fixed;z-index:150;
      top:0;inset-inline:0;height:3px;
      background:linear-gradient(90deg,#16c9d6,#087a89,#ffb54b);
      transform:scaleX(0);transform-origin:left center;
      pointer-events:none;
      animation:ec-page-progress 1ms linear both;
      animation-timeline:scroll(root block);
    }
    @keyframes ec-page-progress{to{transform:scaleX(1)}}
  }
}
@media (prefers-reduced-motion:reduce){
  .hero .hero-visual,.hero .ec26-hero-panel,
  .project,.family-card,.ec-studio-answer,.section-heading{
    animation:none!important;transform:none!important;opacity:1!important;
  }
}
@media(max-width:720px){
  .site-head{position:relative}
  .hero .hero-visual,.hero .ec26-hero-panel{min-height:0;aspect-ratio:3/1}
  .hero .ec26-hero-panel>.ec26-selected-banner{height:100%}
}


/* Transparent logo, same original owner artwork in header and footer.
   No hard white rectangle, photo-card or logo-box background. */
.site-head .brand,.site-head .brand img,
.footer .footer-brand-image{background:transparent!important}
.ec26-about-page::before{
  background-image:url('/ethercomm-site/assets/ethercomm-logo-transparent.webp?v=20261126')!important;
  background-color:transparent!important;
  border:0!important;box-shadow:none!important;
}


/* Firefox currently supports the scroll timeline, but multi-document
   View Transitions remain partial; JS provides a tiny exit transition. */
@media(prefers-reduced-motion:no-preference){
  body{transition:opacity .18s ease-out,transform .18s ease-out}
  html.ec-page-leaving body{opacity:.58;transform:translateY(-7px)}
}
@media(prefers-reduced-motion:reduce){
  html.ec-page-leaving body{opacity:1!important;transform:none!important}
}


/* About the creator: the full logo belongs beside the introduction instead
   of floating on its own in a tall, empty full-width strip. */
.ec26-about-page::before{content:none!important;display:none!important}
.ec26-about-page-heading{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(230px,.75fr);
  column-gap:clamp(25px,5vw,84px);row-gap:clamp(10px,1.3vw,18px);
  align-items:center;
  padding-block:clamp(32px,5vw,75px);
}
.ec26-about-page-heading>.ec26-about-page-logo{
  display:block;grid-column:2;grid-row:1 / span 3;
  width:100%;max-width:370px;height:auto;max-height:470px;
  object-fit:contain;justify-self:end;
  filter:drop-shadow(0 15px 22px rgba(12,59,84,.12));
}
.ec26-about-page-heading>:not(.ec26-about-page-logo){grid-column:1}
.ec26-about-page-heading h1{margin-block:0;font-size:clamp(2.75rem,5vw,5rem)}
.ec26-about-page-heading .lead{max-width:54ch;line-height:1.75}
@media(prefers-reduced-motion:no-preference){
  .ec26-about-page-heading>.ec26-about-page-logo{
    animation:ec-hero-art .85s cubic-bezier(.22,1,.36,1) both;
  }
}
@media(max-width:790px){
  .ec26-about-page-heading{grid-template-columns:1fr}
  .ec26-about-page-heading>.ec26-about-page-logo{
    grid-column:1;grid-row:1;justify-self:center;max-width:230px;
  }
  .ec26-about-page-heading>:not(.ec26-about-page-logo){grid-column:1}
}


/* WELOOMA: age restriction is a user-facing safety policy, not a badge that
   implies applicants have already passed age verification. */
.ec-welooma-access{
  margin-block:clamp(16px,2.1vw,23px);
  padding:clamp(17px,2vw,23px);
  border:1px solid #bcd9e5;
  border-inline-start:4px solid #067f8f;
  border-radius:15px;
  background:linear-gradient(130deg,#f1f9fc,#e7f3f8);
  color:#174253;
}
.ec-welooma-access h4{
  margin:0 0 10px;
  font-size:clamp(1.02rem,1.3vw,1.16rem);
  letter-spacing:-.015em;line-height:1.35;
  color:#103b50;
}
.ec-welooma-access p{
  margin:0 0 10px;
  line-height:1.65;
  font-size:clamp(.91rem,1.1vw,1rem);
  color:#254f5e;
}
.ec-welooma-access p:last-child{margin-bottom:0;font-weight:650}
.ec-welooma-access-section{padding-block:26px;background:#edf7fa}
.ec-welooma-access-section .ec-welooma-access{max-width:920px;margin-inline:auto}
[dir="rtl"] .ec-welooma-access{border-inline-start:4px solid #067f8f}
@media(prefers-reduced-motion:reduce){
  .ec-welooma-access{animation:none!important;transform:none!important;opacity:1!important}
}
