
/* ------------------------------------------------------------------
   Nunito Sans, self-hosted. Nothing is requested from a third party,
   so no visitor IP reaches Google and there is no GDPR question.
   Files go in assets/fonts/ — see the README there.
   If they are absent the stack below simply falls back to the
   system faces; the site still works, it just looks different.
   ------------------------------------------------------------------ */
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:200;
  font-display:swap;src:url('fonts/nunito-sans-200.woff2') format('woff2')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:400;
  font-display:swap;src:url('fonts/nunito-sans-400.woff2') format('woff2')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:600;
  font-display:swap;src:url('fonts/nunito-sans-600.woff2') format('woff2')}

/* WATT Legal — direction 1a. Text is black or white throughout; the only
   coloured element is the firm name, which always carries the logo blue. */
:root{
  --font:'Nunito Sans','Avenir Next',Avenir,'Segoe UI',sans-serif;
  --blue:#2e99c9;                 /* logo blue — firm name only */
  --ink:#000;                     /* body + headings — black */
  --rule:#C9C7C2;
  --surface:#fff;                 /* TRIAL: tiles white, was #f0f3f5 */
  --paper:#fff;
  --scrim:rgba(31,31,31,.46);
  --on-scrim:#fff;
  --ease:cubic-bezier(.2,.6,.2,1);
  --tile:280px;                   /* fixed square — the grid reorders, never resizes */
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);
  font:400 17px/1.6 var(--font);-webkit-font-smoothing:antialiased}
h1,h2{font-family:var(--font);color:var(--ink);margin:0;font-weight:200}
img{max-width:100%;height:auto;display:block}
.ic{display:inline-block;flex:none}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;background:#fff;padding:.6rem 1rem;z-index:100;border:2px solid var(--ink)}
a{color:inherit;text-decoration:none}
.page a{text-decoration:underline;text-underline-offset:3px}
.langs a,.topbar a{text-decoration:none}
/* the firm name, everywhere */
.wl{color:var(--blue);font-weight:600}

/* ---------- home: the tiles are the menu ---------- */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,var(--tile));gap:1px;
  justify-content:center;background:var(--paper)}
.tile,.cell{position:relative;display:block;width:var(--tile);height:var(--tile);
  overflow:hidden;background:var(--surface)}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tile .veil{position:absolute;inset:0;background:var(--surface);color:var(--ink);
  padding:clamp(14px,1.6vw,24px);display:flex;flex-direction:column;justify-content:space-between;
  transition:background 220ms var(--ease),color 220ms var(--ease)}
.tile .label{font-weight:400;font-size:29px;line-height:1.15;text-wrap:pretty}
@media (hover:hover){
  .tile:hover .veil,.tile.on .veil{background:var(--scrim);color:var(--on-scrim)}
}
/* Touch, and anyone asking for reduced motion: the inverse. Photographs
   are shown by default — a static all-grey grid would read as broken —
   and the veil closes on touch or hover instead. */
@media (hover:none),(prefers-reduced-motion:reduce){
  .tile .veil{background:var(--scrim);color:var(--on-scrim)}
  .tile:hover .veil,.tile:active .veil,.tile.on .veil{background:var(--surface);color:var(--ink)}
}
.tile:focus-visible,.crow:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}

/* logo square, with the language switcher in its top-left corner */
.logo-cell{grid-column:span 2;grid-row:span 2;width:calc(var(--tile)*2 + 1px);
  height:calc(var(--tile)*2 + 1px);background:var(--paper);position:relative;
  display:flex;align-items:center;justify-content:center;padding:34px}
.logo-cell img{width:100%;max-width:276px}
.langs{position:absolute;top:clamp(12px,1.4vw,20px);left:clamp(12px,1.4vw,20px);
  display:flex;flex-direction:column;gap:.1rem;font-size:11px;letter-spacing:.14em}
.langs a{padding:.3rem .45rem;color:var(--ink);opacity:.45}
.langs a:hover{opacity:1}
.langs a[aria-current]{opacity:1;font-weight:600}

/* contact square — the data itself, not a link to it */
.cell.contact{background:var(--paper);display:flex;flex-direction:column;
  justify-content:space-between;padding:clamp(14px,1.6vw,24px);aspect-ratio:1/1}
.cell.contact .label{font-weight:400;font-size:29px;line-height:1.15}
.crows{display:flex;flex-direction:column;gap:.15rem}
.crow{display:flex;align-items:center;gap:.6rem;padding:.34rem 0;font-size:clamp(12px,1.05vw,15px)}
.crow .ic{color:var(--blue)}
.crow:hover{text-decoration:underline;text-underline-offset:3px}
.cell.contact address{font-style:normal;font-size:clamp(11px,.95vw,13px);opacity:.7;line-height:1.45}

/* ---------- interior pages ---------- */
.topbar{display:flex;align-items:center;gap:1rem;padding:1rem clamp(1rem,4vw,2.4rem);
  border-bottom:1px solid var(--rule)}
.topbar .home{display:flex;align-items:center;opacity:.75}
.topbar .home:hover{opacity:1}
.topbar .langs{position:static;margin-left:auto;flex-direction:row;gap:.15rem}
.page{max-width:1180px;margin:0 auto;padding:clamp(1.6rem,4vw,3rem) clamp(1rem,4vw,2.4rem) 4rem}
/* square picture floated, copy wrapping around it */
.pagehead{position:relative;float:left;width:var(--tile);height:var(--tile);max-width:100%;
  overflow:hidden;margin:.3rem 2.2rem 1.4rem 0;background:var(--surface)}
.pagehead img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pagehead h1{position:absolute;left:0;right:0;top:0;padding:clamp(16px,2vw,28px);
  color:#fff;font-weight:400;font-size:29px;line-height:1.15;
  text-shadow:0 1px 18px rgba(0,0,0,.5)}
.page h1.plain{margin:0 0 1.6rem;font-weight:400;font-size:29px}
.page p{margin:0 0 1.15rem;color:#000}
.newslist{list-style:none;margin:0;padding:0;clear:both}
.newslist li{border-top:1px solid var(--rule);padding:1.15rem 0}
.newslist li:last-child{border-bottom:1px solid var(--rule)}
.newslist time{display:block;font-size:13px;opacity:.6;margin-bottom:.2rem}
.newslist a{font-size:20px;font-weight:400;text-decoration:none}
.newslist a:hover{text-decoration:underline;text-underline-offset:3px}
.postmeta{font-size:13px;opacity:.6;margin:0 0 1.4rem}
.backlink{display:inline-block;margin-top:2rem;font-size:14px}
.page ul{margin:0 0 1.3rem;padding-left:1.15rem}
.page li{margin:.3rem 0}
.page:after{content:"";display:block;clear:both}
footer.site{border-top:1px solid var(--rule);padding:1.6rem clamp(1rem,4vw,2.4rem);
  font-size:12px;opacity:.6;display:flex;gap:1rem;flex-wrap:wrap;justify-content:space-between}

@media (max-width:900px){
  .pagehead{float:none;margin:0 0 1.6rem}
}
@media (max-width:620px){
  body{font-size:16px}
  :root{--tile:min(280px,calc(100vw - 2px))}
  .logo-cell{grid-column:span 1;grid-row:span 1;
    width:var(--tile);height:var(--tile);padding:26px}
  .logo-cell img{max-width:186px}
  .pagehead{width:var(--tile);height:var(--tile)}
}
@media print{.topbar,footer.site{display:none}}
