/* ==========================================================================
   John Voultsis — portfolio
   Built from the Figma file "MonthlyFlavors project desktop finished".
   Plain CSS, no build step. Sections:
     1. Fonts            5. Text blocks          9. Compositions (absolute layers)
     2. Tokens           6. Project pages        10. Home / About
     3. Base             7. Devices (iPhone/Mac) 11. Responsive
     4. Header           8. Images & shots
   ========================================================================== */

/* 1. Fonts (self-hosted) -------------------------------------------------- */
@font-face{font-family:"Comfortaa";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/comfortaa-latin-400-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Comfortaa";font-style:normal;font-weight:500;font-display:swap;
  src:url("../fonts/comfortaa-latin-500-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Comfortaa";font-style:normal;font-weight:700;font-display:swap;
  src:url("../fonts/comfortaa-latin-700-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Greek subset (kept so Greek copy can be added later without touching fonts) */
@font-face{font-family:"Comfortaa";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/comfortaa-greek-400-normal.woff2") format("woff2");
  unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:"Comfortaa";font-style:normal;font-weight:500;font-display:swap;
  src:url("../fonts/comfortaa-greek-500-normal.woff2") format("woff2");
  unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:"Comfortaa";font-style:normal;font-weight:700;font-display:swap;
  src:url("../fonts/comfortaa-greek-700-normal.woff2") format("woff2");
  unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}

/* Headline serif. The Figma file uses "Theano Didot", which is not available
   from the font sources this site was built with, so Bodoni Moda (a close
   Didone) stands in. To use the real font: add fonts/TheanoDidot-Regular.woff2
   and uncomment the block below — nothing else needs to change.
@font-face{font-family:"Theano Didot";font-weight:400;font-display:swap;
  src:url("../fonts/TheanoDidot-Regular.woff2") format("woff2")}
*/
@font-face{font-family:"Bodoni Moda";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/bodoni-moda-latin-400-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* 2. Tokens --------------------------------------------------------------- */
:root{
  --ink:#000;
  --muted:#4f4f4f;          /* header + headline text */
  --gold:#a99e6c;           /* "product designer" accent */
  --rule:#a6a6a6;
  --sans:"Comfortaa",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --serif:"Theano Didot","Bodoni Moda",Didot,Georgia,serif;

  --maxw:1126px;            /* overridden per page below */

  /* Type scale: matches the Figma sizes at desktop width, shrinks fluidly below. */
  --fs-body:clamp(15px,1.76vw,18px);   --lh-body:calc(var(--fs-body)*1.4444);   /* 18 / 26 */
  --fs-h3:clamp(19px,2.34vw,24px);                                              /* 24 / 26 */
  --fs-intro:clamp(18px,2.54vw,26px);  --lh-intro:calc(var(--fs-intro)*1.3846); /* 26 / 36 */
  --fs-title:clamp(28px,3.52vw,36px);                                           /* 36 / 36 */
  --fs-nav:clamp(17px,3.125vw,32px);
  --fs-hero:clamp(32px,5.68vw,64px);

  --pad-text:clamp(18px,7.42vw,76px);   /* side padding of centred text blocks */
  --pad-edge:clamp(14px,2.73vw,28px);   /* side padding of wide media */
}
body.w-about{--maxw:1101px}
body.w-mf{--maxw:1024px}
body.w-gwc{--maxw:1100px}

/* 3. Base ----------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--sans);font-weight:400;
  font-size:var(--fs-body);line-height:var(--lh-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,p,ul,figure{margin:0;padding:0}
ul{list-style:none}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
.page{max-width:var(--maxw);margin-inline:auto}
.flow{display:flex;flex-direction:column;gap:26px;padding-top:26px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:#fff;color:#000;padding:10px 14px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.25);text-decoration:none}
.skip-link:focus{top:12px}
:focus-visible{outline:2px solid #3c88a5;outline-offset:3px;border-radius:4px}

/* 4. Header --------------------------------------------------------------- */
.site-header{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 4px 12.35px rgba(0,0,0,.09)}
.site-header__inner{max-width:var(--maxw);margin-inline:auto;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;align-items:center;
  padding:clamp(18px,3.6vw,37px) clamp(16px,3.8vw,39px);
  font-weight:500;font-size:var(--fs-nav);line-height:1.125;color:var(--muted)}
.site-header a{text-decoration:none}
.site-header__brand{white-space:nowrap;display:block;line-height:0}
.site-header__brand img{display:block;height:calc(var(--fs-nav)*1.15);width:auto}
.site-header nav{display:flex;gap:clamp(14px,2.44vw,25px);text-align:right;white-space:nowrap}
.site-header nav a:hover,.site-header__brand:hover{color:#000}
.site-header .cv{text-decoration:underline;text-underline-position:from-font}

.nav-toggle{display:none}

/* 5. Text blocks ---------------------------------------------------------- */
.copy{padding:24px var(--pad-text);font-size:var(--fs-body);line-height:var(--lh-body)}
.copy--center{text-align:center}
.copy--wide{padding-inline:var(--pad-edge)}
.copy h3,.copy .h3{font-size:var(--fs-h3);line-height:1.0833;font-weight:700}
.copy .sp{margin-top:var(--lh-body)}            /* one blank line, as in the design */
.copy ul{list-style:disc;padding-left:27px}
.copy ul.plain{list-style:disc}
.copy .b,.copy strong{font-weight:700}
.copy--tight-bottom{padding-bottom:0}

.section-title{padding:24px var(--pad-text);text-align:center;font-weight:700;font-size:var(--fs-body);line-height:var(--lh-body)}
.section-title--lg{font-size:var(--fs-h3);line-height:1.0833}
.rule{padding:24px var(--pad-text) 0;display:flex;justify-content:center}
.rule::before{content:"";display:block;width:min(501px,100%);height:0;border-top:1px solid #000}
.rule--gap-sm{padding-bottom:65px}.rule--gap-md{padding-bottom:66px}.rule--gap-lg{padding-bottom:76px}.rule--gap-xs{padding-bottom:64px}
.rule--none{padding-bottom:0}

/* 6. Project pages -------------------------------------------------------- */
.project-info{display:flex;gap:50px;align-items:center;justify-content:center;padding:59px var(--pad-edge) 58px}
.project-info__about{flex:1 1 0;min-width:0}
.project-info__title{font-size:var(--fs-title);line-height:1;font-weight:700;margin-bottom:var(--lh-intro)}
.project-info__lead{font-size:var(--fs-intro);line-height:var(--lh-intro)}
.project-info__tasks{flex:0 0 360px;min-height:284px;padding:0 31px;font-size:var(--fs-body);line-height:var(--lh-body)}
.project-info__tasks .b{font-weight:700}

.cover{padding:0 var(--pad-edge)}
.cover img{width:100%;object-fit:cover}
.cover--mf{padding-bottom:19.8px}
.cover--mf img{aspect-ratio:4096/1918;border-radius:15px}
.cover--gwc{padding-inline:24px}
.cover--gwc img{aspect-ratio:1200/746}

.overview{display:flex;gap:48px;justify-content:center;align-items:flex-start;padding:0 24px 22px}
.overview--mf{min-height:150px}
.overview__label{flex:0 0 274px;text-align:right;font-size:var(--fs-intro);line-height:1.115;font-weight:700}
.overview__text{flex:1 1 0;min-width:0;font-size:var(--fs-body);line-height:var(--lh-body)}
.overview__text p+p{margin-top:var(--lh-body)}

/* 7. Devices ---------------------------------------------------------------
   iPhone and MacBook are built from the exported Figma device layers
   (images/devices/*.svg) stacked with percentage offsets, so they scale with
   their container. The screen is a scrollable region (a tall website
   screenshot), clipped by the device's own screen-shape mask.            */
.iphone{position:relative;width:100%;aspect-ratio:246.711/500.435}
.iphone>*{position:absolute;display:block}
.iphone img{max-width:none}
.iphone .ip-buttons{left:0;top:19.23%;width:100%;height:21.91%}
.iphone .ip-surround{left:.71%;top:0;width:98.58%;height:100%}
.iphone .ip-highlight{left:.95%;top:.116%;width:98.1%;height:99.77%}
.iphone .ip-background{left:1.89%;top:.583%;width:96.22%;height:98.83%}
.iphone .ip-antenna{left:.71%;top:0;width:98.58%;height:100%}
.iphone .ip-camera{left:57.45%;top:2.68%;width:3.31%;height:1.63%}
.iphone .ip-speaker{left:44.92%;top:3.15%;width:10.16%;height:.7%}
.iphone .ip-screen{left:6.05%;top:3.695%;width:87.9%;height:94.04%;overflow-x:hidden;overflow-y:auto;background:#fff;
  -webkit-mask:url("../images/devices/ip-screenmask.svg") 50% 96.56%/101.93% 101.63% no-repeat;
          mask:url("../images/devices/ip-screenmask.svg") 50% 96.56%/101.93% 101.63% no-repeat}

.macbook{position:relative;width:100%;aspect-ratio:636.529/332.208}
.macbook--b{aspect-ratio:589.386/334.298}
.macbook>*{position:absolute}
.macbook img{display:block;max-width:none}
.macbook .fill{width:100%;height:100%}
.macbook .mb-shadow{left:4.3%;top:98.27%;width:91.49%;height:1.733%}
.macbook .mb-shadow .bleed{position:absolute;inset:-260.62% -2.58%}
.macbook--b .mb-shadow .bleed{inset:-258.9% -2.78%}
.macbook .mb-screen{left:9.52%;top:0;width:81%;height:96.85%}
.macbook .mb-screen>*{position:absolute}
.macbook .mb-outside{inset:0}
.macbook .mb-outside .bleed{position:absolute;inset:-.62% -.78% -1.86% -.78%}
.macbook--b .mb-outside .bleed{inset:-.62% -.84% -1.85% -.84%}
.macbook .mb-rubber{left:.24%;top:.385%;width:99.51%;height:99.28%}
.macbook .mb-border{left:.48%;top:.674%;width:99.02%;height:98.57%}
.macbook .mb-bar{left:.48%;top:94.51%;width:99.02%;height:2.683%;background:#262c2d}
.macbook--b .mb-bar{border-radius:15px}
.macbook .mb-content{left:2.53%;top:5.89%;width:94.85%;height:86.4%;overflow-x:hidden;overflow-y:auto;background:#fff;
  -webkit-mask:var(--mb-mask) 0 0/100% 100% no-repeat;mask:var(--mb-mask) 0 0/100% 100% no-repeat}
.macbook .mb-camera{left:49.61%;top:3.09%;width:.68%;height:.984%}
.macbook .mb-bottom{left:0;top:94.15%;width:100%;height:5.136%}
.macbook{--mb-mask:url("../images/devices/mb-screenmask.svg")}
.macbook--b{--mb-mask:url("../images/devices/mb2-screenmask.svg")}

/* scrollable screens: thin, unobtrusive scrollbar, still keyboard reachable */
.ip-screen,.mb-content{scrollbar-width:none;overscroll-behavior:contain}
.ip-screen::-webkit-scrollbar,.mb-content::-webkit-scrollbar{display:none}
.ip-screen img,.mb-content img{display:block;width:100%;height:auto;max-width:none}
.ip-screen:focus-visible,.mb-content:focus-visible{outline-offset:-4px}
.caption{text-align:center;font-size:var(--fs-body);line-height:var(--lh-body)}

/* 8. Images & shots ------------------------------------------------------- */
.shot{position:relative;overflow:hidden;border-radius:var(--radius,14px);box-shadow:var(--shadow,none)}
.shot>img{display:block;width:100%;height:100%;object-fit:cover}
.crop{position:relative;overflow:hidden}
.crop>img{position:absolute;max-width:none;left:var(--cl,0);top:var(--ct,0);width:var(--cw,100%);height:var(--ch,100%)}
.shot.crop>img,.shot.fill-img>img{object-fit:fill}

/* 9. Compositions: absolutely placed layers inside an aspect-ratio box.
      --l/--t/--w/--h are percentages of the stage (measured from Figma). */
.stage{position:relative}
.layer{position:absolute;left:var(--l,0);top:var(--t,0);width:var(--w,auto);height:var(--h,auto)}
.layer>img.fit{width:100%;height:100%;max-width:none}
.layer>.bleed{position:absolute;inset:var(--bleed)}
.layer>.bleed>img{width:100%;height:100%;max-width:none}

.dev-home{padding:0 clamp(14px,3.8vw,39px)}
.dev-home .stage{aspect-ratio:946/500.435}

.gradient-stage{padding:9.3px 16px}
.gradient-stage .stage{aspect-ratio:992/576.893;border-radius:15px;overflow:hidden;background:linear-gradient(180deg,#3c88a5 0%,#2b3e50 100%)}

.map-row{display:flex;gap:10px;padding:10px;aspect-ratio:7734/2020;background:#fff;overflow:hidden}
.map-row>*{flex:0 0 auto;height:100%;position:relative;overflow:hidden}
.map-row .fill img{display:block;width:100%;height:100%;max-width:none}

.home-v2{padding:18px 0}
.home-v2 .stage{aspect-ratio:1024/749.505;overflow:hidden}
.v2-illus{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:7.63% 0;background:#fff}
.v2-illus img{width:61%;aspect-ratio:413/271;object-fit:cover}
.v2-illus img+img{margin-top:3.97%}

.stamps-img{padding:31px 24px 0}
.stamps-img img{width:100%;aspect-ratio:1387/435;object-fit:contain}
.stamps-row{padding:0 24px 105px}
.stamps-row .stage{aspect-ratio:976/240.72}
.rot-box{position:absolute;inset:0;container-type:size;display:flex;align-items:center;justify-content:center}
.rot-box>.shot{flex:none;height:100cqw;width:100cqh;transform:rotate(-90deg)}

.blog-stage{padding:11.27px 16px;filter:drop-shadow(0 13px 6.3px rgba(0,0,0,.08))}
.blog-stage .stage{aspect-ratio:992/844.19}
.blog-bg{position:absolute;top:0;height:100%;width:99.65%;border-radius:23px}
.blog-bg--1{left:0;background:linear-gradient(180deg,#f7f7f7,rgba(246,246,246,.65))}
.blog-bg--2{left:.35%;background:linear-gradient(180deg,rgba(252,252,252,.3),rgba(225,225,225,.3))}

.eshop{padding:0 14px;overflow:clip}
.eshop--pad{padding-block:8.98%}
.eshop .stage{aspect-ratio:996/564.707}
.new-home{padding:24px 14px}
.new-home__row{display:flex;align-items:flex-end;justify-content:center;gap:0}
.new-home__col{flex:0 0 47.15%;display:flex;flex-direction:column;align-items:center;gap:10px}
.new-home__col b{font-weight:700;font-size:16px;line-height:normal;white-space:nowrap}
.new-home__col .shot{--radius:14px;--shadow:7px 10px 13.4px -1px rgba(0,0,0,.1)}
.automation{padding:10px}
.automation .crop{aspect-ratio:1704/1002.558}

/* 9b. GreekWineClub ------------------------------------------------------- */
.dev-gwc{display:flex;padding:0 24px;overflow:clip}
.dev-gwc__col{flex:1 1 0;min-width:0;aspect-ratio:586/620.696;display:flex;flex-direction:column;align-items:center;justify-content:center}
.dev-gwc__col--phone{padding-block:11.26%}
.dev-gwc__phone{width:34.6%}
.dev-gwc__cap{padding-block:15px;white-space:nowrap}
.dev-gwc__col--mac .macbook{width:100%}
.gwc-row{display:flex;gap:46px;align-items:center;justify-content:center;padding:49px 49px;overflow:clip}
.gwc-row>.shot{flex:1 1 0;min-width:0}
.gwc-row__dev{flex:1 1 0;min-width:0;aspect-ratio:586/620.696;display:flex;flex-direction:column;align-items:center;justify-content:center}
.gwc-row__phone{width:46.85%}
.gwc-row__cap{padding-block:13px;white-space:nowrap}
.gwc-wide{padding:0 24px}
.gwc-wide-copy{padding-top:21px;padding-inline:24px}
.gwc-pair{display:flex;gap:60px;align-items:flex-start;padding:74px 24px;filter:drop-shadow(0 13px 6.3px rgba(0,0,0,.08))}
.gwc-pair>.shot{flex:1 1 0;min-width:0}
.gwc-cards{padding:0 14px;overflow:clip}
.gwc-cards .stage{aspect-ratio:1072/609.7}
.gwc-list{width:min(872px,100% - 36px);margin-inline:auto;padding-bottom:42px;font-size:var(--fs-body);line-height:var(--lh-body)}
.gwc-list ul{list-style:disc;padding-left:27px}
.gwc-list .sp{margin-top:var(--lh-body)}
.gwc-list .b{font-weight:700}
.overview--gwc{padding-bottom:22px}
.overview--gwc .overview__label{align-self:flex-start}

/* 9c. SKOE case study ------------------------------------------------------ */
.sk-hero{padding:0 24px 26px}
.sk-hero img,.sk-shot img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 16px 20.3px -3px rgba(0,0,0,.25)}
.sk-shot{padding:0 24px}
.sk-note{color:#4f4f4f}
.sk-lang{padding-top:0}
.sk-cards{display:grid;gap:14px;padding:12px 24px}
.sk-cards--3{grid-template-columns:repeat(3,1fr)}
.sk-cards--2{grid-template-columns:repeat(2,1fr)}
.sk-cards--4{grid-template-columns:repeat(4,1fr)}
.sk-card{position:relative;padding:20px 20px 22px;border-radius:14px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.09);font-size:var(--fs-body);line-height:var(--lh-body)}
.sk-card h3{font-size:var(--fs-body);font-weight:700;line-height:var(--lh-body);margin-bottom:6px}
.sk-card p{font-size:calc(var(--fs-body)*.88);line-height:1.5}
.sk-card__num{display:block;font-weight:700;font-size:var(--fs-h3);color:#4f4f4f;margin-bottom:6px}
.sk-card--dark{background:#0f1b2d;color:#fff}
.sk-card--dark p{color:rgba(255,255,255,.82)}
.sk-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding:20px 24px 0;text-align:left}
.sk-stats div{border-top:1px solid #000;padding-top:16px}
.sk-stats strong{display:block;font-size:var(--fs-title);line-height:1.1;font-weight:700}
.sk-stats h3{font-size:var(--fs-body);font-weight:700;line-height:var(--lh-body);margin-top:6px}
.sk-stats p{font-size:calc(var(--fs-body)*.88);line-height:1.5;margin-top:4px}
.sk-arch{display:flex;align-items:stretch;justify-content:center;gap:10px;padding:12px 24px 0}
.sk-node{flex:1 1 0;min-width:0;padding:16px 16px 18px;border-radius:14px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.09)}
.sk-node h3{font-size:var(--fs-body);font-weight:700;line-height:var(--lh-body)}
.sk-node p{font-size:calc(var(--fs-body)*.88);line-height:1.5;margin-top:4px}
.sk-node--dark{background:#0f1b2d;color:#fff}
.sk-arrow{align-self:center;color:#4f4f4f;font-size:22px}
.sk-callout{margin:14px 24px 0;padding:16px 20px;border-radius:14px;background:#fdf3e8;border:1px dashed #d9a066;font-size:var(--fs-body);line-height:var(--lh-body)}
.sk-ds{display:grid;grid-template-columns:1.1fr 1fr;gap:36px;padding:12px 48px 0;align-items:start}
.sk-swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 14px}
.sk-swatches i{display:block;height:64px;border-radius:10px;margin-bottom:6px}
.sk-swatches b{display:block;font-size:calc(var(--fs-body)*.85);line-height:1.3}
.sk-swatches span{display:block;font-size:calc(var(--fs-body)*.8);line-height:1.3;color:#4f4f4f}
.sk-type{font-size:var(--fs-body);line-height:var(--lh-body)}
.sk-type p+p{margin-top:12px}
.sk-type__sample{font-size:var(--fs-title);font-weight:700;line-height:1.1}
.sk-chips{display:flex;flex-wrap:wrap;gap:8px}
.sk-chips span{padding:3px 12px;border-radius:99px;font-size:calc(var(--fs-body)*.8);font-weight:700;line-height:1.5}
.c-green{background:#e5f4ec;color:#0f7b4e}.c-amber{background:#fdf0dc;color:#b45309}.c-red{background:#fbe7e5;color:#b42318}.c-indigo{background:#ebebfc;color:#4338ca}.c-grey{background:#eceef1;color:#475467}
.sk-tablewrap{padding:12px 24px 0;overflow-x:auto}
.sk-table{width:100%;border-collapse:collapse;font-size:calc(var(--fs-body)*.9);line-height:1.45}
.sk-table th,.sk-table td{padding:10px 14px;text-align:left;vertical-align:top}
.sk-table thead th{background:#0f1b2d;color:#fff;font-weight:700}
.sk-table thead th:first-child{border-radius:10px 0 0 0}.sk-table thead th:last-child{border-radius:0 10px 0 0}
.sk-table tbody th{font-weight:700}
.sk-table tbody td:nth-child(2){color:#b45309}
.sk-table tbody tr:nth-child(even){background:#f5f6f8}
/* 9d. SKOE 48-hour monitor ------------------------------------------------ */
.sk-split{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;padding:12px 24px}
.sk-split h3{font-size:var(--fs-body);font-weight:700;line-height:var(--lh-body);margin-bottom:8px}
.sk-split ul{list-style:disc;padding-left:22px;font-size:calc(var(--fs-body)*.92);line-height:1.6}
.sk-card--dark .sk-card__num{color:#fff}
.sk-codewrap{padding:12px 24px 0}
.sk-code{margin:0;padding:18px 22px;border-radius:14px;background:#0f1b2d;color:#e6ecf5;overflow-x:auto;font:400 calc(var(--fs-body)*.8)/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;box-shadow:0 8px 20px -6px rgba(0,0,0,.25)}
.sk-code code{font:inherit;white-space:pre;background:none;padding:0;border-radius:0;color:inherit}
code{font:400 .88em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#f1f2f4;padding:1px 6px;border-radius:5px}
.sk-card--dark code{background:rgba(255,255,255,.14);color:#fff}
.sk-table--plain thead th{background:#0f1b2d}
.sk-table--plain tbody td:nth-child(2){color:inherit}
.sk-chips--inline{display:inline-flex;vertical-align:middle}
.sk-mock{margin:0;padding:12px 24px 0}
.sk-mock figcaption{margin-top:10px;text-align:center;font-size:calc(var(--fs-body)*.85);color:#4f4f4f}
.sk-form,.sk-dash,.sk-slack{border-radius:14px;box-shadow:0 16px 20.3px -3px rgba(0,0,0,.2);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.sk-form{display:flex;align-items:center;gap:20px;padding:44px 28px;background:#eff3f9;border:1px solid #d4dcea}
.sk-form__label{font-weight:700;font-size:13px;color:#1b3a8a}
.sk-form__field{flex:1 1 0;min-width:0;padding:11px 14px;border-radius:6px;background:#fff;border:1px solid #cfd8e6;font-size:14px;color:#8793a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sk-form__btn{padding:11px 22px;border-radius:6px;background:#1b3a8a;color:#fff;font-weight:700;font-size:13px}
.sk-dash{display:flex;align-items:center;gap:26px;padding:20px 28px;background:#e1e8f1;border:1px solid #cfd8e6}
.sk-donut{flex:0 0 112px;height:112px;border-radius:50%;background:conic-gradient(#ef4444 0 15%,#22c55e 0);display:grid;place-items:center;position:relative}
.sk-donut::after{content:"";position:absolute;inset:22px;border-radius:50%;background:#eff3f9}
.sk-donut span{position:relative;z-index:1;font-weight:700;font-size:15px;color:#0f1b2d}
.sk-recs{list-style:none;flex:1 1 0;min-width:0;display:grid;gap:6px}
.sk-recs li{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;border-radius:8px;background:#fff;font-size:13px;color:#0f1b2d;border-left:4px solid #22c55e}
.sk-recs li.dup{border-left-color:#ef4444}
.sk-recs b{font-size:12px;letter-spacing:.02em;color:#0f6a35}.sk-recs .dup b{color:#a01818}
.sk-slack{padding:20px 24px;background:#fff;border:1px solid #e0e3ea;border-left:5px solid #ef4444;color:#434c5e;font-size:14px;line-height:1.55}
.sk-slack p+p{margin-top:2px}
.sk-slack__head{display:flex;align-items:center;gap:8px;margin-bottom:6px;color:#0f1b2d}
.sk-slack__head time{font-weight:400;font-size:12px;color:#8793a6}
.sk-slack__dot{width:16px;height:16px;border-radius:50%;background:#ef4444}
.sk-slack__small{font-size:12px;color:#5b6577}

/* 9e. Device mockups (sample data) ------------------------------------------ */
.mk-stage{margin:0 24px;border-radius:14px;padding:44px 24px 36px;background:linear-gradient(135deg,#e7edf8 0%,#f6f8fc 55%,#e9eef7 100%);box-shadow:0 16px 20.3px -3px rgba(0,0,0,.14);display:flex;justify-content:center;align-items:center;gap:34px;flex-wrap:wrap;position:relative}
.mk-cap{margin:12px 0 0;text-align:center;font-size:calc(var(--fs-body)*.85);line-height:1.4;color:#4f4f4f}
.mk-pair{display:flex;flex-direction:column;align-items:center}
.mk-arrow{font-size:28px;color:#1b4fd8;align-self:center}
.mk-tablet,.mk-phone,.mk-slack,.mk-sheet,.mk-watch,.mk-banner{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#0f1b2d;text-align:left}
.mk-tablet i,.mk-phone i{font-style:normal}
/* tablet */
.mk-tablet{width:min(100%,640px);aspect-ratio:4/3;padding:13px;border-radius:30px;background:#151c2c;box-shadow:0 30px 50px -18px rgba(15,27,45,.5),inset 0 0 0 2px #2b3550}
.mk-tablet__screen{height:100%;border-radius:18px;background:#fff;overflow:hidden;font-size:12.5px;line-height:1.4}
.mk-bar{display:flex;align-items:center;gap:12px;padding:10px 18px;background:#0f1b2d;color:#fff;font-size:12px}
.mk-logo{display:inline-grid;place-items:center;padding:2px 8px;border-radius:6px;background:#1b4fd8;font-weight:800;letter-spacing:.04em;font-size:11px}
.mk-bar__t{font-weight:600}.mk-bar__r{margin-left:auto;opacity:.7}
.mk-formbody{padding:18px 8% 0;position:relative}
.mk-formbody h4{font-size:19px;font-weight:800;line-height:1.2}
.mk-sub{color:#5b6577;margin:2px 0 12px}
.mk-field{margin-bottom:10px;position:relative}
.mk-field label{display:block;font-size:11px;font-weight:700;color:#475467;margin-bottom:4px}
.mk-select,.mk-input{padding:9px 12px;border-radius:8px;border:1px solid #cfd8e6;background:#fff;font-size:13px}
.mk-select{display:flex;justify-content:space-between;border-color:#1b4fd8;box-shadow:0 0 0 3px rgba(27,79,216,.15)}
.mk-select i{width:7px;height:7px;border-right:2px solid #475467;border-bottom:2px solid #475467;transform:rotate(45deg);margin:3px 3px 0 0}
.mk-menu{list-style:none;position:absolute;z-index:3;left:0;right:0;top:100%;margin-top:4px;padding:4px;border-radius:10px;background:#fff;border:1px solid #dde3ee;box-shadow:0 14px 30px -8px rgba(15,27,45,.35)}
.mk-menu li{padding:7px 10px;border-radius:6px;font-size:12.5px}
.mk-menu li.on{background:#eaf0ff;color:#1b4fd8;font-weight:600}
.mk-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mk-input--focus{border-color:#1b4fd8;box-shadow:0 0 0 3px rgba(27,79,216,.15)}
.mk-caret{display:inline-block;width:1.5px;height:14px;background:#1b4fd8;vertical-align:-2px;margin-left:2px}
.mk-submit{margin-top:14px;padding:12px;border-radius:10px;background:#1b4fd8;color:#fff;text-align:center;font-weight:700;font-size:14px;box-shadow:0 8px 16px -6px rgba(27,79,216,.6)}
/* phone */
.mk-phone{width:250px;height:520px;flex:0 0 auto;padding:10px;border-radius:42px;background:#151c2c;box-shadow:0 30px 50px -18px rgba(15,27,45,.5),inset 0 0 0 2px #2b3550;position:relative}
.mk-phone::before{content:"";position:absolute;top:17px;left:50%;width:76px;height:20px;margin-left:-38px;border-radius:12px;background:#151c2c;z-index:3}
.mk-phone__screen{height:100%;border-radius:33px;background:#f5f7fb;overflow:hidden;display:flex;flex-direction:column;font-size:11px;line-height:1.35}
.mk-status{display:flex;justify-content:space-between;padding:12px 20px 4px;font-size:11px;color:#0f1b2d}
.mk-status span{font-size:8px;letter-spacing:2px}
.mk-appbar{display:flex;justify-content:space-between;align-items:center;padding:10px 16px 8px}
.mk-appbar h4{font-size:20px;font-weight:800}
.mk-live{font-size:10px;font-weight:700;color:#0f7b4e;background:#e5f4ec;border-radius:99px;padding:2px 8px}
.mk-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:0 12px}
.mk-kpis div{background:#fff;border-radius:10px;padding:7px 8px;box-shadow:0 1px 3px rgba(15,27,45,.08);border:1.5px solid transparent}
.mk-kpis b{display:block;font-size:17px;font-weight:800;line-height:1.1}
.mk-kpis span{font-size:9px;color:#5b6577}
.mk-kpis .sel{border-color:#ef4444}
.g{color:#0f7b4e}.r{color:#b42318}
.mk-chartcard{display:flex;align-items:center;gap:14px;margin:8px 12px 0;padding:10px 12px;background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(15,27,45,.08)}
.mk-donut--sm{flex:0 0 68px;height:68px;border-radius:50%;background:conic-gradient(#ef4444 0 15%,#22c55e 0);display:grid;place-items:center;position:relative}
.mk-donut--sm::after{content:"";position:absolute;inset:14px;border-radius:50%;background:#fff}
.mk-donut--sm span{position:relative;z-index:1;font-size:12px;font-weight:800}
.mk-donut--sel{background:conic-gradient(#ef4444 0 15%,#bfe9cf 0);box-shadow:0 0 0 4px rgba(239,68,68,.18)}
.mk-legend{list-style:none;flex:1;display:grid;gap:6px}
.mk-legend li{display:flex;align-items:center;gap:6px;font-size:10.5px}
.mk-legend li.dim{opacity:.4}
.mk-legend i{width:8px;height:8px;border-radius:50%;background:#22c55e}.mk-legend i.r{background:#ef4444}
.mk-legend b{margin-left:auto}
.mk-chips{display:flex;gap:5px;padding:9px 12px 4px}
.mk-chips span{padding:3px 10px;border-radius:99px;background:#e8ecf3;font-size:10px;font-weight:600;color:#475467}
.mk-chips .on{background:#0f1b2d;color:#fff}.mk-chips .on.r{background:#b42318;color:#fff}
.mk-list{list-style:none;display:grid;gap:5px;padding:2px 12px 0;flex:1}
.mk-list li{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-radius:9px;background:#fff;border-left:4px solid #22c55e;box-shadow:0 1px 3px rgba(15,27,45,.08)}
.mk-list li.dup{border-left-color:#ef4444}
.mk-list b{display:block;font-size:11px}.mk-list span{font-size:9px;color:#5b6577}
.mk-list em{font-style:normal;font-size:9px;font-weight:700;color:#0f6a35}.mk-list .dup em{color:#a01818}
.mk-tabs{display:flex;justify-content:space-around;padding:9px 6px 12px;background:#fff;border-top:1px solid #e6e9f0;font-size:9.5px;color:#8793a6;margin-top:auto}
.mk-tabs .on{color:#1b4fd8;font-weight:700}
/* slack */
.mk-slack{width:min(100%,620px);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 30px 50px -18px rgba(15,27,45,.45),0 0 0 1px rgba(15,27,45,.1)}
.mk-slack__top{display:flex;gap:6px;padding:9px 12px;background:#3f0e40}
.mk-slack__top i{width:10px;height:10px;border-radius:50%;background:#ff5f57}.mk-slack__top i:nth-child(2){background:#febc2e}.mk-slack__top i:nth-child(3){background:#28c840}
.mk-slack__body{display:grid;grid-template-columns:150px 1fr;font-size:12px;line-height:1.45}
.mk-slack aside{background:#3f0e40;color:#d9c8da;padding:12px 14px;min-height:300px}
.mk-slack aside b{display:block;color:#fff;font-size:14px;margin-bottom:12px}
.mk-slack aside span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;opacity:.7;margin-bottom:6px}
.mk-slack aside ul{list-style:none;display:grid;gap:3px}
.mk-slack aside li{padding:3px 8px;border-radius:6px}.mk-slack aside li.on{background:#1164a3;color:#fff}
.mk-slack header{padding:10px 16px;border-bottom:1px solid #e6e6e6;font-weight:800;font-size:14px}
.mk-slack header small{display:block;font-weight:400;font-size:11px;color:#616061}
.mk-msg{display:flex;gap:10px;padding:12px 16px 0}
.mk-avatar{flex:0 0 32px;height:32px;border-radius:7px;background:#ef4444;position:relative}
.mk-avatar::after{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}
.mk-msg__h b{font-size:12.5px}.mk-msg time{font-size:10.5px;color:#616061}
.mk-att{margin-top:4px;padding:2px 0 2px 11px;border-left:4px solid #ef4444;color:#1d1c1d}
.mk-att .s{font-size:11px;color:#616061}
.mk-react{display:flex;gap:6px;margin-top:6px}.mk-react span{padding:1px 8px;border-radius:99px;background:#e8f5fa;border:1px solid #1264a3;font-size:11px}
/* watch + banner */
.mk-watch{width:170px;height:200px;padding:9px;border-radius:50px;background:#1c1c1e;box-shadow:0 24px 40px -14px rgba(0,0,0,.55),inset 0 0 0 2px #3a3a3c;flex:0 0 auto}
.mk-watch__screen{height:100%;border-radius:42px;background:#000;color:#fff;padding:16px 14px;font-size:11px;line-height:1.35}
.mk-watch__t{display:flex;align-items:center;gap:6px;font-size:9.5px;font-weight:700;letter-spacing:.04em;color:#ff6b61;margin-bottom:8px}
.mk-watch__t i{width:9px;height:9px;border-radius:50%;background:#ef4444}.mk-watch__t time{margin-left:auto;color:#aaa;font-weight:400}
.mk-watch__screen b{display:block;font-size:14px;line-height:1.2;margin-bottom:6px}
.mk-watch__screen span{color:#bdbdc2;font-size:10.5px}
.mk-banner{width:min(100%,340px);padding:12px 14px;border-radius:20px;background:rgba(255,255,255,.88);box-shadow:0 18px 34px -12px rgba(15,27,45,.4),0 0 0 1px rgba(15,27,45,.06);font-size:12px;line-height:1.35}
.mk-banner>div{display:flex;gap:10px}
.mk-banner__ic{flex:0 0 34px;height:34px;border-radius:9px;background:#ef4444;position:relative}
.mk-banner__ic::after{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}
.mk-banner p:first-child{display:flex;justify-content:space-between}.mk-banner time{color:#6b7280;font-size:11px}
.mk-banner .s{color:#4b5563;font-size:11.5px}
.mk-alertcol{display:flex;flex-direction:column;align-items:center;gap:22px}
/* sheet */
.mk-sheet{margin:0 24px;border-radius:12px;background:#fff;box-shadow:0 24px 40px -16px rgba(15,27,45,.35),0 0 0 1px rgba(15,27,45,.1);overflow:hidden}
.mk-sheet__top{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#0f9d58;color:#fff;font-size:13px}
.mk-sheet__top span:last-child{margin-left:auto;font-size:11px;opacity:.85}
.mk-sheet__ic{width:14px;height:18px;border-radius:2px;background:#fff;opacity:.9}
.mk-sheet__scroll{overflow-x:auto}
.mk-sheet table{width:100%;min-width:760px;border-collapse:collapse;font-size:12px}
.mk-sheet th{background:#f1f3f4;font-weight:700;text-align:left;padding:7px 12px;border:1px solid #e0e3e7;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;color:#3c4043}
.mk-sheet td{padding:7px 12px;border:1px solid #e0e3e7;white-space:nowrap}
.mk-sheet tr.dup td{background:#fdecea}
.mk-sheet .c-green,.mk-sheet .c-red{padding:2px 9px;border-radius:99px;font-size:10.5px;font-weight:700}
.mk-sheet__tab{padding:6px 14px;background:#f1f3f4;border-top:1px solid #e0e3e7;font-size:11px}
.mk-sheet__tab span{display:inline-block;padding:3px 12px;background:#fff;border-radius:4px;color:#0f9d58;font-weight:700;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.mk-datanote{margin-top:10px}

/* 10. Home / About -------------------------------------------------------- */
.home-flow{display:flex;flex-direction:column;gap:80px;padding-top:80px}
.hero{padding:0 clamp(14px,2.2vw,25px)}
.hero h1{font-family:var(--serif);font-weight:400;font-size:var(--fs-hero);line-height:1.547;color:var(--muted)}
.hero .accent{color:var(--gold)}
.work{display:flex;flex-wrap:wrap;gap:56px 31px;align-items:flex-start;padding:0 clamp(14px,2.4vw,27px)}
.card{flex:0 0 calc((100% - 62px)/3);min-width:0;display:flex;flex-direction:column;gap:22px;text-decoration:none;color:inherit}
.card__img{position:relative;overflow:hidden;width:100%}
.card__img>img{position:absolute;max-width:none}
.card__title{font-weight:500;font-size:var(--fs-h3);line-height:normal}
a.card:hover .card__title{text-decoration:underline;text-underline-position:from-font}
.card--mf .card__img{aspect-ratio:313/266.418}
.card--mf .card__img>img{height:131.79%;left:-38.7%;top:-19.33%;width:168.24%}
.card--gwc .card__img{aspect-ratio:313/266.418}
.card--gwc .card__img>img{height:110.1%;left:-20.28%;top:-10.1%;width:140.57%}
.card--sk .card__img,.card--sk2 .card__img{aspect-ratio:313/266.418}
.card--sk2 .card__img>img{inset:0;width:100%;height:100%;object-fit:cover}
.card--sk .card__img>img{inset:0;width:100%;height:100%;object-fit:cover;object-position:18% 0}
.card--mk .card__img{aspect-ratio:4096/2522}
.card--mk .card__img>img{inset:0;width:100%;height:100%;object-fit:cover}
.hr-black{margin:0 clamp(14px,2.7vw,30px);height:105px;border-bottom:1px solid #000}
.contact{padding:0 clamp(12px,1.5vw,17px);font-weight:500;font-size:var(--fs-h3);line-height:calc(var(--fs-h3)*1.5);min-height:218px}
.contact a{text-decoration:none}
.contact a.u{text-decoration:underline;text-underline-position:from-font}

.about-top{display:flex;justify-content:space-between;align-items:flex-start;padding:23px 10px;min-height:299.28px;font-size:var(--fs-intro);line-height:calc(var(--fs-intro)*1.615)}
.about-top__text{padding-top:calc(var(--fs-intro)*1.615)}
.about-top__text a{text-decoration:none}
.about-top__text a.u{text-decoration:underline;text-underline-position:from-font}
.about-top__photo{flex:0 0 22.69%;max-width:245px}
.about-top__photo img{width:100%;aspect-ratio:1;object-fit:cover}
.about-intro{padding:21px 10px;font-size:var(--fs-intro);line-height:var(--lh-intro)}
.about-intro p+p{margin-top:var(--lh-intro)}
.about-short-rule{display:flex;justify-content:center;padding:41px 10px;height:82px}
.about-short-rule::before{content:"";display:block;width:min(193px,60%);border-top:1px solid var(--rule)}
.about-body{padding:0 10px;display:flex;flex-direction:column;gap:10px}
.about-bottom-rule{height:105px;margin:0 clamp(14px,2.7vw,30px);border-bottom:1px solid #000}

/* 11. Responsive ---------------------------------------------------------- */
@media (max-width:860px){
  .project-info{flex-direction:column;align-items:stretch;gap:32px;padding-top:40px;padding-bottom:36px}
  .project-info__tasks{flex:none;min-height:0;padding:0}
  .overview{flex-direction:column;gap:12px}
  .overview--mf{min-height:150px}
.overview__label{flex:none;text-align:left;font-size:var(--fs-h3)}
  .work{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:40px}
  .card{flex:none}
  .hr-black{height:60px}
  .about-top{flex-direction:column-reverse;gap:8px;min-height:0}
  .about-top__text{padding-top:0}
  .about-top__photo{flex:none;width:55%;max-width:240px}
  .about-short-rule{height:60px;padding-block:30px}
  .about-bottom-rule{height:60px}
  .contact{min-height:0;padding-block:0 40px}
  .sk-cards--3,.sk-cards--4{grid-template-columns:repeat(2,1fr)}
  .sk-stats{grid-template-columns:1fr}
  .sk-split{grid-template-columns:1fr}
  .mk-arrow{transform:rotate(90deg)}
  .sk-arch{flex-direction:column}.sk-arrow{transform:rotate(90deg)}
  .sk-ds{grid-template-columns:1fr;padding-inline:24px}
  .dual{flex-direction:column;align-items:center}
  .dev-gwc__col,.gwc-row__dev{flex:none;width:100%;max-width:520px}
  .gwc-row{padding-inline:20px}.gwc-row>.shot{flex:none;width:100%;max-width:480px}
  .gwc-pair{flex-direction:column;gap:32px}
  .gwc-pair>.shot{flex:none;width:100%}
}
/* Phones: hamburger menu, 10px page margins (mobile design is 360px wide) */
@media (max-width:640px){
  .site-header{height:110px}
  .site-header__inner{align-items:center;height:100%;padding:0 20px 0 20px}
  .nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:7px;width:45px;height:45px;margin-right:-3px;padding:10px 8px;background:none;border:0;cursor:pointer}
  .nav-toggle span{display:block;height:3px;border-radius:2px;background:var(--muted);transition:transform .2s,opacity .2s}
  .nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(10px) rotate(45deg)}
  .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-10px) rotate(-45deg)}
  .site-header nav{display:none;position:absolute;top:calc(100% - 8px);right:16px;z-index:20;flex-direction:column;gap:22px;min-width:162px;padding:24px 24px 26px;
    background:#fff;border-radius:14px;box-shadow:0 8px 24px rgba(0,0,0,.18);text-align:left;font-size:24px}
  .site-header nav.is-open{display:flex}
  .site-header__brand img{height:34px}
}
@media (max-width:560px){
  .sk-cards--2,.sk-cards--3,.sk-cards--4{grid-template-columns:1fr}
  .sk-hero,.sk-shot,.sk-cards,.sk-stats,.sk-arch,.sk-tablewrap{padding-inline:14px}
  .sk-callout{margin-inline:14px}
  .sk-split,.sk-codewrap,.sk-mock{padding-inline:14px}
  .mk-stage{margin-inline:14px;padding:28px 12px 24px}.mk-sheet{margin-inline:14px}
  .mk-slack__body{grid-template-columns:1fr}.mk-slack aside{display:none}
  .mk-tablet{aspect-ratio:auto;padding:10px}.mk-formbody{padding-bottom:18px}
  .sk-form{flex-direction:column;align-items:stretch;padding:24px 18px}
  .sk-dash{flex-direction:column;padding:20px 16px}
  .copy{padding-block:16px}
  .site-header__inner{gap:12px}
  .map-row{padding:6px;gap:6px}
  .rule{padding-top:12px}
  .stamps-row{padding-bottom:48px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.site-header{box-shadow:none}.ip-screen,.mb-content{overflow:hidden}}

/* 9f. Nursing-home project mockups */
.nh-phone{width:270px;height:590px}
.nh-head{display:flex;gap:10px;align-items:center;padding:8px 14px 6px}
.nh-head h4{font-size:15px;font-weight:800;line-height:1.15}.nh-head small{font-size:9.5px;color:#5b6577}
.nh-logo{flex:0 0 28px;height:28px;border-radius:9px;background:#0e9384;position:relative}
.nh-logo::after{content:"";position:absolute;left:12px;top:6px;width:4px;height:16px;background:#fff;border-radius:1px;box-shadow:-6px 6px 0 -0px transparent}
.nh-logo::before{content:"";position:absolute;left:6px;top:12px;width:16px;height:4px;background:#fff;border-radius:1px}
.nh-body{padding:4px 14px 0;display:flex;flex-direction:column;flex:1}
.nh-body .mk-field{margin-bottom:7px}.nh-body .mk-field label{font-size:9.5px;margin-bottom:3px}
.nh-body .mk-select,.nh-body .mk-input{padding:6px 9px;font-size:11px;background:#fff}
.nh-sel{border-color:#cfd8e6!important;box-shadow:none!important}
.nh-two{display:grid;grid-template-columns:.6fr 1fr;gap:8px}
.nh-auto{color:#0e7a6e;background:#e8f6f4!important;border-color:#bfe6e1!important;font-weight:600}
.nh-temp{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #f3c6c2;border-radius:10px;padding:4px 8px}
.nh-temp span{width:26px;height:26px;border-radius:8px;background:#eef2f6;display:grid;place-items:center;font-weight:800;font-size:15px;color:#475467}
.nh-temp b{font-size:20px;color:#d92d20}.nh-temp small{font-size:11px;font-weight:600}
.nh-chips{display:flex;flex-wrap:wrap;gap:4px}
.nh-chips span{padding:3px 8px;border-radius:99px;background:#e8ecf3;font-size:9.5px;font-weight:600;color:#475467}
.nh-chips .on{background:#0e9384;color:#fff}
.nh-note{font-size:10px!important;line-height:1.35;min-height:34px;color:#344054}
.nh-seg{display:grid;grid-template-columns:repeat(3,1fr);padding:3px;border-radius:10px;background:#e8ecf3;gap:3px}
.nh-seg span{text-align:center;padding:5px 0;border-radius:8px;font-size:10px;font-weight:700;color:#5b6577}
.nh-seg .on{background:#0e9384;color:#fff}.nh-seg .on.urg{background:#d92d20}
.nh-body .mk-submit{margin-top:auto;margin-bottom:14px;background:#0e9384;box-shadow:0 8px 16px -6px rgba(14,147,132,.6);padding:10px;font-size:12.5px}
.nh-bar{background:#0b3c44}.nh-logo2{background:#0e9384}
.nh-tablet .mk-select,.nh-tablet .mk-input{background:#fff}
.nh-tablet .mk-input--focus{border-color:#0e9384;box-shadow:0 0 0 3px rgba(14,147,132,.18)}.nh-tablet .mk-caret{background:#0e9384}
.nh-tablet .mk-formbody{padding-top:14px}.nh-tablet .mk-field{margin-bottom:8px}
.nh-seg--wide{max-width:300px;margin-top:4px}.nh-seg .on.rou{background:#0e9384}
.nh-submit{background:#0e9384;box-shadow:0 8px 16px -6px rgba(14,147,132,.6);margin-top:12px}
/* excel */
.nh-xl .mk-sheet__top{background:#1d6f42}
.nh-fx{display:flex;align-items:center;gap:10px;padding:5px 12px;background:#f7f8f9;border-bottom:1px solid #e0e3e7;font-size:11.5px}
.nh-fx span{padding:1px 10px;background:#fff;border:1px solid #d0d5dd;border-radius:3px}.nh-fx i{font-style:italic;color:#667085}.nh-fx em{font-style:normal;font-family:ui-monospace,Menlo,Consolas,monospace;color:#1d2939}
.nh-xl table{min-width:820px}.nh-xl tbody th{background:#f1f3f4;text-align:center;font-family:inherit;width:34px;padding:7px 4px}
.nh-xl tr.urg td{background:#fdecea}.nh-xl tr.mut td{color:#667085}
.nh-xl .hot{color:#b42318}
.nh-xl .mk-sheet__tab span{color:#1d6f42}.nh-xl .nh-t2{background:transparent;color:#667085;box-shadow:none;font-weight:500}
.nh-xl .c-grey{padding:2px 9px;border-radius:99px;font-size:10.5px;font-weight:700}
/* slack */
.mk-att--g{border-left-color:#0e9384}.mk-att--m{border-left-color:#98a2b3;color:#667085}
.nh-av--g{background:#0e9384}.nh-av--m{background:#98a2b3}
.nh-pill{display:inline-block;padding:0 7px;border-radius:99px;background:#eef2f6;color:#475467;font-size:10px;font-weight:700;margin-left:4px}
.nh-pill--r{background:#fdecea;color:#b42318}
.nh-slack aside{min-height:380px}
/* charts window */
.nh-charts{margin:0 24px;border-radius:12px;background:#fff;box-shadow:0 24px 40px -16px rgba(15,27,45,.35),0 0 0 1px rgba(15,27,45,.1);overflow:hidden;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#0f1b2d}
.nh-charts .mk-sheet__top{background:#1d6f42}
.nh-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:12px;padding:14px;background:#f5f7fb}
.nh-panel{background:#fff;border-radius:10px;padding:12px 14px;box-shadow:0 1px 3px rgba(15,27,45,.1)}
.nh-panel--wide{grid-column:1/-1}
.nh-panel h5{font-size:12px;font-weight:700;margin-bottom:6px}
.nh-panel svg text{font-size:9px;fill:#667085;font-family:inherit}
.nh-key{font-size:10.5px;color:#475467;display:flex;gap:6px;align-items:center}
.nh-key i,.nh-don i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#0e9384}.nh-key i.r,.nh-don i.r{background:#d92d20}.nh-don i.m{background:#98a2b3}
.nh-don{display:flex;align-items:center;gap:18px;padding-top:6px}
.nh-donut{flex:0 0 96px;height:96px;border-radius:50%;background:conic-gradient(#d92d20 0 7%,#98a2b3 0 17.5%,#0e9384 0);display:grid;place-items:center;position:relative}
.nh-donut::after{content:"";position:absolute;inset:20px;border-radius:50%;background:#fff}
.nh-donut span{position:relative;z-index:1;font-size:19px;font-weight:800}
.nh-don ul{list-style:none;display:grid;gap:7px;font-size:11.5px;flex:1}.nh-don li{display:flex;align-items:center;gap:7px}.nh-don b{margin-left:auto}
.nh-stage{background:linear-gradient(135deg,#e3f3f1 0%,#f6faf9 55%,#e6f1f5 100%)}
@media (max-width:860px){.nh-grid{grid-template-columns:1fr}.nh-charts{margin-inline:14px}.nh-tablet{aspect-ratio:auto}.nh-tablet .mk-formbody{padding-bottom:18px}}
.nh-panel svg{display:block;margin:0 auto;max-height:210px}
.nh-panel--wide svg{max-height:190px}

/* 9g. Agentic Irrigation case study --------------------------------------- */
/* Inter (OFL, fonts/OFL-inter.txt), Latin + Greek subset, used for UI samples */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-regular-subset.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-semibold-subset.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/inter-bold-subset.woff2") format("woff2")}
.ir-tag{display:inline-block;margin-top:14px;padding:3px 12px;border-radius:99px;background:#f1edfe;color:#5b3fd6;font-weight:700;font-size:calc(var(--fs-body)*.8)}
.ir-muted{color:#4f4f4f;font-size:calc(var(--fs-body)*.9)}
.ir-stats{padding-bottom:12px}
.ir-statement{margin:14px 24px 0;padding:26px 30px;border-radius:14px;background:#0f1b2d;color:#fff;font-family:var(--serif);font-size:var(--fs-intro);line-height:var(--lh-intro);text-align:center}
.ir-quotes{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;padding:12px 24px}
.ir-quote{margin:0;padding:22px 24px;border-radius:14px;background:#f5f6f8;border-left:4px solid #1d5fd1}
.ir-quote blockquote{margin:0;font-family:var(--serif);font-size:var(--fs-h3);line-height:1.3}
.ir-quote figcaption{margin-top:12px;font-size:calc(var(--fs-body)*.82);line-height:1.45;color:#4f4f4f}
.ir-loop{margin:4px 24px 0;text-align:center;font-size:calc(var(--fs-body)*.92);color:#4f4f4f}
.ir-loop span{color:#5b3fd6;font-weight:700;margin-right:6px}
.ir-ds-h{font-weight:700;margin:18px 0 10px;font-size:calc(var(--fs-body)*.9)}
.sk-ds>div>.ir-ds-h:first-child{margin-top:0}
.ir-swatches--4{grid-template-columns:repeat(4,1fr)}
.ir-type{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.ir-type .ir-ds-h{font-family:var(--sans)}
.ir-type p.ir-type__xl{font-size:clamp(28px,3.4vw,36px);font-weight:700;line-height:1.1;margin-top:0}
.ir-type p.ir-type__l{font-size:clamp(19px,2.2vw,22px);font-weight:600;line-height:1.25;margin-top:8px}
.ir-type p.ir-type__m{font-size:15px;font-weight:600;margin-top:8px}
.ir-type p.ir-type__s{font-size:13px;color:#5a615e;margin-top:6px}
.ir-type p.ir-type__nums{font-size:14px;font-variant-numeric:tabular-nums;margin-top:6px}
.ir-chips{display:flex;flex-wrap:wrap;gap:8px}
.ir-chip{display:inline-flex;align-items:center;gap:7px;padding:4px 12px 4px 6px;border-radius:99px;font-size:13px;font-weight:600;line-height:1.4}
.ir-chip i{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;font-style:normal;font-size:11px;font-weight:700;color:#fff}
.ir-chip--red{background:#fef3f2;color:#b42318}.ir-chip--red i{background:#b42318}
.ir-chip--amber{background:#fff6e8;color:#93370d}.ir-chip--amber i{background:#b54708;border-radius:3px}
.ir-chip--green{background:#ecfdf3;color:#067647}.ir-chip--green i{background:#067647}
.ir-chip--violet{background:#f1edfe;color:#5b3fd6}.ir-chip--violet i{background:none;color:#5b3fd6}
.ir-chip--grey{background:#f2f4f7;color:#475467}.ir-chip--grey i{background:none;color:#475467}
.ir-rules{list-style:disc;padding-left:20px;margin-top:16px;font-family:var(--sans);font-size:calc(var(--fs-body)*.88);line-height:1.6}
.ir-screen-title{display:flex;align-items:baseline;gap:12px;padding:30px 24px 0;font-size:var(--fs-h3);line-height:1.2;font-weight:700}
.ir-screen-title span{font-family:var(--serif);font-weight:400;color:#a99e6c}
.ir-sources ul{list-style:disc;padding-left:22px;font-size:calc(var(--fs-body)*.85);line-height:1.7}
@media (max-width:860px){
  .ir-quotes{grid-template-columns:1fr}
}
@media (max-width:560px){
  .ir-quotes{padding-inline:14px}
  .ir-statement{margin-inline:14px;padding:20px 18px}
  .ir-screen-title{padding-inline:14px}
  .ir-swatches--4{grid-template-columns:repeat(2,1fr)}
  .ir-loop{margin-inline:14px}
}

/* 9h. A2 Rig (personal app) ---------------------------------------------- */
/* Bebas Neue (OFL, fonts/OFL-bebas-neue.txt), Latin subset, the app's label face */
@font-face{font-family:"Bebas Neue";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/bebas-neue-latin-subset.woff2") format("woff2")}
.a2-tag{display:inline-block;margin-top:14px;padding:3px 12px;border-radius:99px;background:#fdf0e3;color:#9a4f0c;font-weight:700;font-size:calc(var(--fs-body)*.8)}
.a2-chains{display:grid;gap:22px;padding:12px 24px 0}
.a2-chains figure{margin:0}
.a2-chains img{display:block;width:100%;height:auto;border-radius:14px}
.a2-chains figcaption{margin-top:8px;font-size:calc(var(--fs-body)*.88);line-height:1.5;color:#4f4f4f}
.a2-chains figcaption b{color:#000}
.a2-type__panel{padding:22px 24px;border-radius:14px;background:#2d2c2a;color:#efede8}
.a2-type__panel p+p{margin-top:10px}
.a2-type .a2-type__display{font-family:"Bebas Neue",Impact,sans-serif;font-size:clamp(26px,3vw,34px);line-height:1.05;letter-spacing:.04em;color:#e8892b}
.a2-type .a2-type__label{font-family:"Bebas Neue",Impact,sans-serif;font-size:19px;letter-spacing:.08em;color:#9d998f}
.a2-type .a2-type__body{font-family:-apple-system,system-ui,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;font-variant-numeric:tabular-nums}
.a2-pair{display:grid;grid-template-columns:1fr 1.3fr;gap:22px;padding:12px 24px 0;align-items:start}
.a2-pair figure{margin:0}
.a2-pair img{display:block;width:100%;height:auto;border-radius:14px}
.a2-pair figcaption{margin-top:8px;font-size:calc(var(--fs-body)*.88);line-height:1.5;color:#4f4f4f}
.a2-pair figcaption b{color:#000}
.a2-shot-gap{margin-top:18px}
.a2-keys kbd{display:inline-block;min-width:26px;padding:1px 7px;border-radius:6px;border:1px solid #c9c9c9;border-bottom-width:2px;background:#fff;font-family:inherit;font-size:.9em;font-weight:700;text-align:center;line-height:1.5}
.a2-keys tbody td:nth-child(2){color:inherit}
@media (max-width:560px){
  .a2-chains,.a2-pair{padding-inline:14px}
  .a2-pair{grid-template-columns:1fr}
}

/* 12. Footer / sitemap ---------------------------------------------------- */
.site-footer{margin-top:clamp(48px,6vw,96px);background:#fff;border-top:1px solid #e3e3e3;box-shadow:0 -4px 12.35px rgba(0,0,0,.05);color:var(--muted)}
.site-footer__inner{max-width:var(--maxw);margin-inline:auto;padding:clamp(32px,4.5vw,56px) clamp(16px,3.8vw,39px) 28px;
  display:grid;grid-template-columns:1.3fr 1fr 1.4fr 1fr;gap:32px 28px;font-weight:500;font-size:clamp(15px,1.45vw,18px);line-height:1.5}
.site-footer h2{margin:0 0 12px;font-size:.78em;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#000}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.site-footer a{color:inherit;text-decoration:none}
.site-footer a:hover,.site-footer a:focus-visible{color:#000;text-decoration:underline;text-underline-position:from-font}
.site-footer__brand b{display:block;font-size:1.25em;color:#000;font-weight:500;margin-bottom:8px}
.site-footer__brand p{margin:0;max-width:30ch}
.site-footer__legal{max-width:var(--maxw);margin-inline:auto;padding:16px clamp(16px,3.8vw,39px) 28px;border-top:1px solid #eee;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:clamp(13px,1.2vw,14px);color:#777}
.site-footer__legal a{text-decoration:underline;text-underline-position:from-font}
@media (max-width:860px){.site-footer__inner{grid-template-columns:1fr 1fr}.site-footer__brand{grid-column:1/-1}}
@media (max-width:560px){.site-footer__inner{grid-template-columns:1fr;gap:26px}}
@media (max-width:640px){html{scroll-padding-top:110px}}
@media print{.site-header{position:static}.site-footer{box-shadow:none}}

/* 9h-2. A2 Rig v2 ------------------------------------------------------------ */
.a2-v2-label{margin:0 auto -6px;padding:0 var(--pad-text);text-align:center;font-weight:700;font-size:calc(var(--fs-body)*.8);letter-spacing:.08em;text-transform:uppercase;color:#9a4f0c}
figure.a2-chains{margin:0}
.a2-bars{list-style:none;margin:0;padding:12px 24px 0;display:grid;gap:8px}
.a2-bars li{display:grid;grid-template-columns:minmax(120px,190px) 1fr 92px;align-items:center;gap:14px;font-size:calc(var(--fs-body)*.88)}
.a2-bars__bar{display:block;height:14px;border-radius:7px;background:#e8892b;width:calc(var(--v) / 6.8 * 100%);min-width:4px}
.a2-bars__val{font-variant-numeric:tabular-nums;color:#4f4f4f;text-align:right}
@media (max-width:640px){.a2-bars{padding-inline:14px}.a2-bars li{grid-template-columns:96px 1fr 76px;gap:8px}}
