/* John Korlapati — Custom Software, Websites & Online Stores
   No-scroll layout: every page fits one screen. Palette: gold and white, with a deep warm ink for text. */
@font-face{font-family:"Outfit";src:url("fonts/outfit.woff") format("woff");font-weight:100 900;font-display:swap}
@font-face{font-family:"Figtree";src:url("fonts/figtree.woff") format("woff");font-weight:300 900;font-display:swap}
:root{
  --ink:#2A2314; --ink-2:#4A3D1E;                       /* text */
  --gold:#A67C00; --gold-d:#85630A; --gold-soft:#FBF4DE; /* deep gold: headings, links, icon lines */
  --gold2:#D4AF37; --gold2-d:#BF9B2A; --gold2-soft:#FDF8EA; /* bright gold: buttons, accents */
  --gold-grad:linear-gradient(135deg,#F0D27A 0%,#D4AF37 45%,#B8901E 100%);
  --cream:#FFFDF8; --white:#FFFFFF;
  --steel:#6E6452; --line:#EFE3C4;
  --display:"Outfit","Figtree",system-ui,sans-serif;
  --text:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --max:1320px; --gut:clamp(16px,3vw,40px);
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;overflow:hidden;-webkit-text-size-adjust:100%}
body{font-family:var(--text);font-size:16px;line-height:1.5;color:var(--ink);background:url("texture.svg") 0 0/260px 260px,radial-gradient(rgba(70,52,10,.07) 1px,transparent 1.3px) 0 0/16px 16px,linear-gradient(180deg,#F6EBCF 0%,#FCF7EA 45%,#FFFFFF 100%);background-attachment:fixed}
body:before{content:"";position:fixed;inset:auto 0 0 0;height:min(56vh,520px);background:url("skyline.svg") center bottom/cover no-repeat;opacity:.75;pointer-events:none;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 30%);mask-image:linear-gradient(180deg,transparent 0,#000 30%)}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--display);margin:0;line-height:1.05;letter-spacing:-.02em;text-wrap:balance}
p{margin:0}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:8px}
.fi{line-height:1}

/* ---------- one-screen frame ---------- */
.screen{position:relative;height:100vh;height:100dvh;display:flex;flex-direction:column}
.bar{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;height:64px;padding:0 var(--gut);padding-top:env(safe-area-inset-top);background:rgba(255,255,255,.9);backdrop-filter:saturate(1.4) blur(10px)}
.brand{font-family:var(--display);font-size:22px;font-weight:800;text-decoration:none;letter-spacing:-.02em;color:var(--ink);white-space:nowrap}
.brand b{color:var(--gold);font-weight:800}
.bar-nav{display:flex;align-items:center;gap:8px}
.pill{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:999px;border:1.5px solid #E8D9B0;background:#fff;text-decoration:none;font-weight:700;font-size:15px;color:var(--ink);transition:border-color .15s,color .15s}
.pill.ico{width:38px;padding:0;justify-content:center;font-size:16px}
.pill .fi-brands-linkedin{color:var(--gold)}
.pill:hover{border-color:var(--gold);color:var(--gold)}
.back{transform:rotate(90deg);font-size:18px}
.split{position:absolute;left:0;right:0;bottom:0;height:4px;display:grid;grid-template-columns:1fr 1fr}
.split span:first-child{background:var(--gold);transform-origin:left}
.split span:last-child{background:var(--gold2);transform-origin:right}
.stage{position:relative;flex:1;min-height:0;width:100%;max-width:var(--max);margin:0 auto;display:flex;flex-direction:column;padding:clamp(14px,3vh,36px) var(--gut) clamp(14px,3vh,32px);padding-bottom:max(clamp(14px,3vh,32px),env(safe-area-inset-bottom));overflow:auto}
.credit{position:relative;flex:none;text-align:center;font-size:12px;color:var(--steel);padding:0 0 8px}
.credit a{color:var(--steel)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font:700 15px/1 var(--text);text-decoration:none;border-radius:999px;padding:14px 22px;border:2px solid transparent;cursor:pointer;transition:background .15s,color .15s,border-color .15s,box-shadow .15s,transform .15s;white-space:nowrap}
.btn .fi{font-size:18px}
.btn-connect,.btn-solid{background:var(--gold-grad);color:var(--ink);box-shadow:0 10px 24px rgba(166,124,0,.25)}
.btn-connect:hover,.btn-solid:hover{filter:brightness(1.06) saturate(1.1)}
.btn-refer{background:#fff;color:var(--ink);border-color:var(--gold2)}
.btn-refer .fi{color:var(--gold2)}
.btn-refer:hover{background:var(--gold2-soft)}
.btn-ghost{background:#fff;border-color:#E8D9B0;color:var(--ink)}
.btn-ghost:hover{border-color:var(--ink)}
.btn-send{background:var(--gold-grad);color:var(--ink);width:100%;padding:16px}
.btn-send:hover{filter:brightness(1.06) saturate(1.1)}
.btn-send.refer{background:var(--gold-grad)}

.btn-send:disabled{opacity:.65;cursor:progress}

/* ---------- portrait with the two-tone ring ---------- */
.portrait{position:relative;margin:0;flex:none;aspect-ratio:1;width:clamp(68px,13vh,124px)}
.portrait img{position:absolute;inset:7%;width:86%;height:86%;border-radius:50%;object-fit:cover;background:#fff;box-shadow:0 16px 36px rgba(70,52,10,.18)}
.ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-200deg)}
.ring circle{fill:none;stroke-width:2.6;stroke-linecap:round}
.ring-b{stroke:var(--gold);stroke-dasharray:50 100}
.ring-r{stroke:var(--gold2);stroke-dasharray:50 100;stroke-dashoffset:-50}

/* ---------- home ---------- */
.hero{flex:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(16px,2.6vw,36px)}
.name{font-size:clamp(34px,min(5.2vw,7.6vh),74px);font-weight:800;letter-spacing:-.035em;line-height:.95}
.name span{display:inline-block}
.name .first{color:var(--ink)}
.name .last{color:var(--gold)}
.tagline{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin-top:clamp(6px,1.4vh,14px);font:600 clamp(15px,min(1.5vw,2.3vh),20px)/1.25 var(--display);color:var(--ink)}
.tagline .dot{width:8px;height:8px;border-radius:50%;background:var(--gold2);display:inline-block}
.ctas{display:flex;flex-direction:column;gap:12px}
.ctas .btn{padding:14px 24px;font-size:15.5px}

.tiles{flex:1;min-height:0;margin-top:clamp(14px,3.4vh,40px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,210px));align-content:start;gap:clamp(10px,1.8vh,18px)}
.tile{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:10px;text-align:center;text-decoration:none;color:var(--ink);background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1.5px solid rgba(239,227,196,.95);border-radius:20px;box-shadow:0 6px 18px rgba(70,52,10,.06);transition:border-color .15s,box-shadow .15s,transform .15s}
.tile:hover{background:#fff;border-color:var(--gold);box-shadow:0 18px 40px rgba(166,124,0,.16);transform:translateY(-3px)}
.t-ic{position:relative;width:64px;aspect-ratio:1;border-radius:26%;display:grid;place-items:center;background:var(--gold-soft);color:var(--gold);font-size:32px;transition:background .15s,color .15s}
.t-ic:after{content:"";position:absolute;right:-3px;top:-3px;width:16%;height:16%;border-radius:50%;background:var(--gold2);border:2px solid #fff}
.tile:hover .t-ic{background:var(--gold);color:#fff}
.t-title{font:700 15px/1.2 var(--display);max-width:14em}
/* icons and titles grow with each tile, so they stay as large as the screen allows */
@supports (container-type:size){
  .tile{container-type:size;gap:0}
  .t-ic{width:min(42cqh,40cqw);margin-bottom:7cqh}
  .t-ic .fi{font-size:min(20cqh,19cqw)}
  .t-ic{font-size:inherit}
  .t-title{font-size:clamp(12px,min(8.6cqh,7.4cqw),17px)}
}

/* ---------- solution page ---------- */
.sol{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,72px);align-items:center}
.sol-art{position:relative;justify-self:center;width:100%;max-width:min(380px,44vh);aspect-ratio:1;border-radius:32px;display:grid;place-items:center;background:radial-gradient(120% 120% at 20% 10%,var(--gold) 0%,var(--ink-2) 60%,var(--ink) 100%);color:#fff;box-shadow:0 30px 60px rgba(70,52,10,.28)}
.sol-art:after{content:"";position:absolute;right:9%;top:9%;width:7%;aspect-ratio:1;border-radius:50%;background:var(--gold2)}
.big-ic{font-size:clamp(56px,min(13vw,18vh),140px);line-height:1;display:grid}
.count{position:absolute;left:9%;bottom:8%;font:700 clamp(14px,2vh,18px)/1 var(--display);letter-spacing:.06em;color:rgba(255,255,255,.75)}
.sol-body h1{font-size:clamp(28px,min(3.7vw,5.6vh),50px);font-weight:800}
.sol-desc{margin-top:clamp(10px,2.2vh,22px);font-size:clamp(15px,2vh,17.5px);line-height:1.55;color:#4A4230;max-width:36em}
.points{list-style:none;margin:clamp(14px,2.8vh,28px) 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:40em}
.points li{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border:1.5px solid var(--line);border-radius:14px;font-weight:700;font-size:clamp(13px,1.7vh,15px);line-height:1.25}
.points .fi{flex:none;width:28px;height:28px;border-radius:50%;background:var(--gold-soft);color:var(--gold);font-size:14px;display:grid;place-items:center}
.sol-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(16px,3.4vh,34px)}
.stepper{flex:none;display:flex;justify-content:space-between;gap:12px;margin-top:clamp(12px,2.4vh,28px)}
.step{display:inline-flex;align-items:center;gap:10px;min-width:0;padding:6px 16px 6px 10px;border-radius:999px;background:rgba(255,255,255,.85);border:1.5px solid var(--line);text-decoration:none;font:700 14.5px/1.2 var(--display);color:var(--ink);transition:border-color .15s,color .15s}
.step.next{padding:6px 10px 6px 16px}
.step:hover{border-color:var(--gold);color:var(--gold)}
.step>.fi{font-size:20px;color:var(--steel)}
.step.prev>.fi{transform:rotate(90deg)}
.step.next>.fi{transform:rotate(-90deg)}
.s-ic{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--gold-soft);color:var(--gold);font-size:16px}
.s-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- connect / refer pages ---------- */
.form-wrap{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(24px,5vw,72px);align-items:center;max-width:1120px;width:100%;margin:0 auto}
.form-side{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(12px,2.4vh,22px)}
.portrait.sm{width:clamp(72px,14vh,136px)}
.form-side h1{font-size:clamp(28px,min(3.7vw,5.6vh),48px);font-weight:800}
.refer .form-side h1{color:var(--ink)}
.connect .form-side h1{color:var(--ink)}
.reach{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.reach a{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-weight:700;font-size:15px}
.reach .fi{flex:none;width:38px;height:38px;border-radius:12px;background:#fff;border:1.5px solid var(--line);display:grid;place-items:center;font-size:18px;color:var(--gold)}
.reach .fi-brands-linkedin{color:var(--gold)}
.reach a:hover{color:var(--gold)}
.swap{display:inline-flex;align-items:center;gap:10px;font-weight:700;color:var(--gold);text-decoration:none}
.refer .swap{color:var(--gold)}
.connect .swap .fi{color:var(--gold2)}
.swap:hover{text-decoration:underline;text-underline-offset:3px}
.formcard{background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1.5px solid var(--line);border-radius:24px;padding:clamp(18px,3vh,30px);box-shadow:0 24px 60px rgba(70,52,10,.12);border-top:5px solid var(--gold)}
.refer .formcard{border-top-color:var(--gold2)}
.cform{display:grid;gap:clamp(10px,1.8vh,16px)}
.cform[hidden],.done[hidden],.ferr[hidden]{display:none}
.cform label{display:block;font-weight:700;font-size:14.5px}
.cform label span{font-weight:400;color:var(--steel)}
.cform input,.cform select,.cform textarea{display:block;margin-top:6px;width:100%;font:inherit;font-size:16px;color:var(--ink);padding:clamp(9px,1.5vh,13px) 14px;border:1.5px solid #E8D9B0;border-radius:12px;background:#fff}
.cform textarea{resize:none;height:clamp(70px,13vh,130px)}
.cform input:focus,.cform select:focus,.cform textarea:focus{outline:0;border-color:var(--gold);box-shadow:0 0 0 4px rgba(166,124,0,.14)}
.cform [aria-invalid="true"]{border-color:var(--gold2)}
.cform .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ferr{color:#B4161C;font-weight:700;font-size:14.5px}
.notice{padding:12px 14px;border-radius:12px;font-weight:700;margin-bottom:14px}
.notice.ok{background:#E8F7EE;color:#106A3A}.notice.bad{background:var(--gold2-soft);color:#B4161C}
.done{text-align:center;padding:24px 6px}
.done .fi{width:72px;height:72px;border-radius:50%;background:#E8F7EE;color:#16834A;font-size:34px;display:grid;place-items:center;margin:0 auto 14px}
.done h2{font-size:32px}
.done p{color:var(--steel);margin:8px auto 22px;max-width:28em}
.done-btns{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}

/* ---------- load moment ---------- */
@media (prefers-reduced-motion:no-preference){
  .ring-b{animation:drawB 1.1s .15s cubic-bezier(.6,.05,.25,1) both}
  .ring-r{animation:drawB 1.1s .15s cubic-bezier(.6,.05,.25,1) both}
  .split span{animation:grow .9s .5s cubic-bezier(.6,.05,.25,1) both}
  .name,.sol-body,.form-side{animation:rise .7s .05s cubic-bezier(.2,.7,.2,1) both}
  .tile{animation:rise .6s cubic-bezier(.2,.7,.2,1) both}
  .tile:nth-child(2){animation-delay:.04s}.tile:nth-child(3){animation-delay:.08s}.tile:nth-child(4){animation-delay:.12s}.tile:nth-child(5){animation-delay:.16s}
  .tile:nth-child(6){animation-delay:.2s}.tile:nth-child(7){animation-delay:.24s}.tile:nth-child(8){animation-delay:.28s}.tile:nth-child(9){animation-delay:.32s}.tile:nth-child(10){animation-delay:.36s}.tile:nth-child(11){animation-delay:.4s}.tile:nth-child(12){animation-delay:.44s}
  .sol-art{animation:pop .6s cubic-bezier(.2,.7,.2,1) both}
}
@keyframes drawB{from{stroke-dasharray:0 100}to{stroke-dasharray:50 100}}
@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes pop{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}

/* ---------- tablet ---------- */
@media (max-width:1100px){
  .hero{grid-template-columns:auto minmax(0,1fr)}
  .ctas{grid-column:1/-1;flex-direction:row}
  .ctas .btn{flex:1}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}
}
@media (max-width:1100px) and (min-aspect-ratio:4/3){
  .tiles{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
}

/* ---------- phone ---------- */
@media (max-width:760px){
  body{font-size:16px}
  .bar{height:56px}
  .brand{font-size:21px}
  .pill{height:38px;padding:0 12px;font-size:14px}
  .pill.ico{width:38px;font-size:16px}
  .hero{grid-template-columns:auto minmax(0,1fr);gap:8px 14px}
  .portrait{width:clamp(56px,8.5vh,78px)}
  .name{font-size:clamp(28px,min(9vw,5.2vh),42px)}
  .tagline{font-size:clamp(12px,3.3vw,15px);gap:2px 8px;margin-top:6px}
  .tagline .dot{width:6px;height:6px}
  .ctas{gap:8px;margin-top:4px}
  .ctas .btn{padding:12px 10px;font-size:14px;gap:7px}
  .ctas .btn .fi{font-size:17px}
  .tiles{margin-top:clamp(10px,2vh,18px);grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));align-content:stretch;gap:10px}
  .tile{border-radius:18px;padding:6px}

  .sol{grid-template-columns:1fr;align-content:center;gap:clamp(12px,2.4vh,22px)}
  .sol-art{justify-self:start;width:clamp(76px,12.5vh,116px);border-radius:24px}
  .big-ic{font-size:clamp(38px,6.5vh,60px)}
  .count{display:none}
  .sol-body h1{font-size:clamp(25px,min(7.4vw,4.4vh),34px)}
  .sol-desc{font-size:clamp(15px,2.1vh,17px);margin-top:10px}
  .points{grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
  .points li{padding:9px 10px;font-size:13.5px;gap:8px;border-radius:12px}
  .points .fi{width:22px;height:22px;font-size:11px}
  .sol-ctas{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
  .sol-ctas .btn{padding:14px 8px;font-size:14.5px;gap:7px}
  .step{padding:6px!important}
  .step .s-t{display:none}

  .form-wrap{grid-template-columns:1fr;align-content:start;gap:16px}
  .form-side{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 14px}
  .portrait.sm{width:64px;grid-row:span 2}
  .form-side h1{font-size:26px}
  .reach{grid-auto-flow:column;justify-content:start;gap:8px}
  .reach a span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .reach .fi{width:38px;height:38px}
  .swap{grid-column:1/-1;font-size:15px}
  .form-wrap{gap:12px}
  .formcard{padding:16px;border-radius:20px}
  .cform{gap:10px}
  .cform .row{gap:10px}
  .cform label{font-size:13.5px}
  .cform label span{font-size:12.5px}
  .cform input,.cform select,.cform textarea{padding:10px 12px;margin-top:4px;border-radius:10px}
  .cform textarea{height:clamp(64px,10vh,110px)}
  .btn-send{padding:14px}
}
@media (max-width:340px){.cform .row{grid-template-columns:1fr}}
/* screens too short for one view (phone on its side): let the page scroll instead of squashing */
@media (max-height:520px){
  html,body{overflow:auto}
  .screen{height:auto;min-height:100dvh}
  .stage{overflow:visible}
  .tiles{grid-template-rows:none;grid-auto-rows:150px;grid-template-columns:repeat(4,minmax(0,1fr))}
  .hero{grid-template-columns:auto minmax(0,1fr) auto}
  .ctas{grid-column:auto;flex-direction:column}
}

/* ---------- banner icons (icons.php): navy line art with red / blue accents ---------- */
.sol-svg{display:block;width:100%;height:100%;overflow:visible}
.sol-svg *{fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.sol-svg .ic-n{stroke:var(--ink)}
.sol-svg .ic-r{stroke:var(--gold2)}
.sol-svg .ic-b{stroke:var(--gold)}
.sol-svg .ic-w{fill:#fff}
.sol-svg .ic-f,.sol-svg .ic-f *{fill:var(--ink);stroke:none}
.sol-svg .ic-bars *{stroke-linecap:butt}
.sol-svg .ic-sm *{stroke-width:2.7}
/* home tiles: plain icon over the title, like the banner */
.t-ic{width:68px;height:68px;aspect-ratio:auto;background:none;border-radius:0;font-size:0}
.t-ic:after{display:none}
.tile:hover .t-ic{background:none;color:inherit}
.tile:hover .t-ic svg{transform:scale(1.06)}
.t-ic svg{transition:transform .2s}
.t-title{font:500 16px/1.25 var(--text);color:var(--ink);letter-spacing:-.005em;max-width:10.5em}
.t-title .dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--gold2);margin:0 .4em;vertical-align:.22em}
@supports (container-type:size){
  .t-ic{width:min(44cqh,38cqw);height:min(44cqh,38cqw);margin-bottom:7cqh}
  .t-title{font-size:clamp(12px,min(9.4cqh,8cqw),18px)}
}
/* solution page: the icon on a white card */
.sol-art{background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1.5px solid var(--line);box-shadow:0 30px 60px rgba(70,52,10,.14)}
.sol-art:after{display:none}
.big-ic{width:52%;aspect-ratio:1;font-size:0}
.count{color:var(--steel)}
.s-ic{background:none;width:30px;height:30px;font-size:0}
.s-ic .sol-svg *{stroke-width:3.4}
@media (max-width:760px){.big-ic{width:58%}}

/* ---------- WhatsApp ---------- */
.wa-ic{width:1em;height:1em;fill:#25D366;display:block}
.pill.wa{font-size:19px}
.pill.wa:hover{border-color:#25D366}
.reach .wa .fi{color:#25D366}
.reach .wa .wa-ic{width:20px;height:20px}

/* ---------- footer bar (as on the banner) ---------- */
.foot{position:relative;flex:none;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:var(--gold-grad);color:var(--ink);padding:0 var(--gut);padding-bottom:env(safe-area-inset-bottom)}
.foot a{display:flex;align-items:center;justify-content:center;gap:12px;height:clamp(48px,7vh,64px);text-decoration:none;font-size:clamp(14px,1.9vh,17px);white-space:nowrap}
.foot a+a{border-left:1px solid rgba(42,35,20,.3);margin:clamp(10px,1.6vh,14px) 0;height:auto}
.foot .fi{font-size:24px;color:var(--ink)}
.foot .fi-brands-linkedin{color:var(--ink)}
.foot .wa-ic{width:21px;height:21px;fill:var(--ink)}
.foot a:hover{text-decoration:underline;text-underline-offset:4px}
.stage{padding-bottom:clamp(14px,3vh,32px)}
@media (max-width:760px){
  .foot{grid-template-columns:1fr auto auto;padding:0 12px}
  .foot a{gap:8px;font-size:14px;justify-content:flex-start}
  .foot a+a{padding:0 14px;justify-content:center}
  .foot .opt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
}

/* ---------- about page ---------- */
.about-wrap{flex:1;min-height:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(28px,6vw,88px);align-items:center;max-width:1120px;width:100%;margin:0 auto}
.portrait.lg{width:clamp(140px,min(30vw,46vh),380px)}
.about-body h1{font-size:clamp(30px,min(4vw,6vh),54px);font-weight:800}
.about-body h1 span{color:var(--gold)}
.about-body p{margin-top:clamp(10px,2vh,18px);font-size:clamp(15px,2vh,18px);line-height:1.6;color:#4A4230;max-width:36em}
.promise{list-style:none;margin:clamp(14px,2.8vh,28px) 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.promise li{display:flex;align-items:center;gap:10px;padding:9px 16px 9px 9px;background:rgba(255,255,255,.9);border:1.5px solid var(--line);border-radius:999px;font-weight:700;font-size:clamp(13px,1.8vh,15px)}
.promise .fi{width:32px;height:32px;border-radius:50%;background:var(--gold-soft);color:var(--gold);font-size:15px;display:grid;place-items:center}
.promise li:nth-child(2) .fi{background:var(--gold2-soft);color:var(--gold2)}
.foot .opt{white-space:pre}
@media (max-width:760px){
  .about-wrap{grid-template-columns:1fr;justify-items:start;align-content:center;gap:14px}
  .portrait.lg{width:clamp(76px,13vh,120px)}
  .about-body h1{font-size:30px}
  .about-body p{font-size:clamp(14px,1.9vh,16px);margin-top:10px}
  .promise{gap:6px;margin-top:12px}
  .promise li{padding:6px 12px 6px 6px;font-size:13px;gap:8px}
  .promise .fi{width:26px;height:26px;font-size:12px}
  .foot{grid-template-columns:1fr auto auto}
}


/* ---------- portfolio (one screen: cards are paged, --cols × --rows per page) ---------- */
.pill[aria-current]{border-color:var(--gold);color:var(--gold)}
.pill.pf .fi{font-size:16px;color:var(--gold)}
.btn .n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--gold-soft);color:var(--gold);font-size:12.5px}
.page-work{--cols:4;--rows:2}
.page-work .stage{overflow:hidden}
.work-head{flex:none;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 24px}
.work-head h1{font-size:clamp(28px,min(3.6vw,5.4vh),48px);font-weight:800}
.work-head p{margin-top:4px;color:#4A4230;font-size:15px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.9);border:1.5px solid var(--line);text-decoration:none;font-weight:700;font-size:14px;color:var(--ink);transition:border-color .15s,background .15s,color .15s}
.chip:hover{border-color:var(--gold)}
.chip.on{background:var(--gold-grad);border-color:var(--gold2);color:var(--ink)}
.works{flex:1;min-height:0;margin-top:clamp(12px,2.4vh,24px);display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));gap:clamp(10px,1.8vh,18px);touch-action:pan-y}
.work[hidden]{display:none}
.work{display:flex;flex-direction:column;min-width:0;min-height:0;text-decoration:none;color:var(--ink);background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1.5px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 6px 18px rgba(70,52,10,.06);transition:border-color .15s,box-shadow .15s,transform .15s}
.work:hover{border-color:var(--gold);box-shadow:0 18px 40px rgba(166,124,0,.16);transform:translateY(-3px)}
.shot{position:relative;flex:1;min-height:60px;margin:0;background:linear-gradient(135deg,var(--gold-soft),#fff);border-bottom:1.5px solid var(--line);overflow:hidden}
.chrome{position:absolute;inset:0 0 auto 0;z-index:2;height:22px;display:flex;align-items:center;gap:5px;padding:0 10px;background:#FBF6EA;border-bottom:1px solid var(--line)}
.chrome i{width:7px;height:7px;border-radius:50%;background:#E3D3A8;flex:none}
.chrome i:first-child{background:var(--gold2)}
.chrome span{margin-left:8px;flex:1;min-width:0;height:14px;border-radius:5px;background:#fff;font-size:10px;line-height:14px;padding:0 8px;color:var(--steel);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shot img{position:absolute;top:22px;left:0;width:100%;height:calc(100% - 22px);object-fit:cover;object-position:top;z-index:1;background:#fff}
.ph{position:absolute;inset:22px 0 0;display:grid;place-items:center;font:800 clamp(36px,7vh,64px)/1 var(--display);color:var(--gold);opacity:.25}
.w-body{flex:none;display:flex;flex-direction:column;gap:3px;padding:10px 14px 12px}
.w-type{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--gold-d);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-type span{color:var(--steel);text-transform:none;letter-spacing:0;font-weight:600}
.w-body h2{font-size:clamp(15px,2.1vh,18px);font-weight:800;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w-body p{font-size:13px;line-height:1.45;color:#4A4230;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.w-link{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:13.5px;color:var(--gold);min-width:0}
.w-link svg{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.work:hover .w-link svg{transform:translate(2px,-2px)}
.pager{flex:none;display:flex;align-items:center;justify-content:center;gap:14px;margin-top:clamp(10px,2vh,20px)}
.pager[hidden]{display:none}
.pg{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--ink);font-size:20px;transition:border-color .15s,color .15s}
.pg:hover:not(:disabled){border-color:var(--gold);color:var(--gold)}
.pg:disabled{opacity:.35;cursor:default}
.pg.prev .fi{transform:rotate(90deg)}.pg.next .fi{transform:rotate(-90deg)}
.dots{display:flex;gap:7px}
.dots button{width:9px;height:9px;padding:0;border:0;border-radius:999px;background:#CDB879;cursor:pointer;transition:width .2s,background .2s}
.dots button[aria-current]{width:26px;background:var(--gold)}
@media (prefers-reduced-motion:no-preference){.work.in{animation:rise .4s cubic-bezier(.2,.7,.2,1) both}}
@media (max-height:760px){.w-body p{display:none}}
@media (max-width:1100px){.page-work{--cols:2;--rows:3}}
@media (max-width:1100px) and (min-aspect-ratio:4/3){.page-work{--cols:4;--rows:2}}
@media (max-width:760px){
  .page-work{--cols:2;--rows:2}
  .pill.pf{width:38px;padding:0;justify-content:center}
  .pill.pf span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .work-head p{font-size:13.5px}
  .chips{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(-1 * var(--gut));padding:0 var(--gut) 2px;scrollbar-width:none;width:calc(100% + 2 * var(--gut))}
  .chips::-webkit-scrollbar{display:none}
  .chip{flex:none}
  .work{border-radius:14px}
  .w-body{padding:8px 10px 10px}
  .w-body p{display:none}
  .w-link{font-size:12px}.w-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .w-type{font-size:10.5px}.w-type span{display:none}
  .chrome{height:18px;padding:0 7px;gap:4px}.chrome i{width:5px;height:5px}.chrome span{height:11px;font-size:8.5px;line-height:11px;margin-left:4px}
  .shot img{top:18px;height:calc(100% - 18px)}
  .pg{width:36px;height:36px}
}
/* short screens (phone on its side): no paging, just scroll */
@media (max-height:520px){.page-work .stage{overflow:visible}.works{grid-template-rows:none;grid-auto-rows:240px}.pager{display:none}}
.em-short{display:none}
@media (max-width:760px){
  .em-full{display:none}.em-short{display:inline}
  .foot{grid-template-columns:repeat(3,1fr)}
  .foot a,.foot a+a{justify-content:center;padding:0 8px}
}

/* ---------- header on phones: room for WhatsApp ---------- */
@media (max-width:760px){
  .bar-nav{gap:6px}
  .bar-nav .pill:not(.ico):not(.pf){width:38px;padding:0;justify-content:center}
  .bar-nav .pill:not(.ico):not(.pf) span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .bar-nav .pill.li{display:none}
  .foot{grid-template-columns:repeat(3,1fr) 56px;padding-right:4px}
  .foot .li .opt{display:none}
}
.pill.ico.li .fi,.reach .fi-brands-linkedin{color:var(--gold)}
