/* Public PG website – same family as the admin area: peacock, marigold and ink on a cool mint-white page.
   One bold element: the live bed board. Everything else stays quiet. */
:root{
  --ink:#173B36; --ink-2:#22524B; --peacock:#0E6B66; --peacock-2:#0B5753; --leaf:#E3F1EF;
  --marigold:#E2A41C; --marigold-2:#C98A06; --marigold-soft:#FCF1D6;
  --page:#F3F6F5; --white:#FFFFFF; --line:#D5DEDB; --muted:#56635F; --text:#1E2B29; --red:#B42318;
  --head:"Baloo Bhai 2","Mukta",system-ui,sans-serif;
  --body:"Mukta",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --wrap:1120px;
}
/* theme colours (Owner panel → Logo & colours overrides these through /brand/theme.css) */
:root{--ink:#173B36;--ink-2:#22524B;--ink-3:#4B7A72;--ink-line:#2F5A53;--peacock:#0E6B66;--peacock-2:#0B5753;--peacock-soft:#E3F1EF;--leaf:#E3F1EF;--on-ink:#DCE8E5;--on-ink-2:#B9D3CE;--on-ink-3:#9FBDB7;--marigold:#E2A41C;--marigold-2:#C98A06;--marigold-light:#F6CD6A;--marigold-soft:#FCF1D6;--paper:#F4F7F6;--page:#F3F6F5}

*{box-sizing:border-box}
html{font-size:17px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--text);font-family:var(--body);line-height:1.6}
img{max-width:100%;display:block}
a{color:var(--peacock)}
a:hover{color:var(--ink)}
:focus-visible{outline:3px solid var(--marigold);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--head);color:var(--ink);margin:0 0 .5rem;line-height:1.12;font-weight:700}
h1{font-size:clamp(2.1rem,4.6vw,3.5rem);letter-spacing:-.01em}
h2{font-size:clamp(1.6rem,3vw,2.2rem)}
h3{font-size:1.2rem;font-weight:600}
p{margin:0 0 1rem}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.lede{font-size:1.15rem;color:var(--muted);max-width:60ch}
.muted{color:var(--muted)}
.skip{position:absolute;left:-999px;top:0;background:var(--marigold);color:var(--ink);padding:.5rem 1rem;z-index:99}
.skip:focus{left:0}

/* ---------- header ---------- */
.top{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.top .wrap{display:flex;align-items:center;gap:1.5rem;min-height:68px}
.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--ink);font-family:var(--head);font-weight:700;font-size:1.3rem;line-height:1.1}
.logo-mark{width:38px;height:38px;flex:none}
.menu{display:flex;gap:.2rem;margin-left:auto;align-items:center}
.menu a{padding:.4rem .6rem;border-radius:8px;text-decoration:none;color:var(--text);font-weight:500;white-space:nowrap}
.menu a:hover{background:var(--leaf);color:var(--ink)}
.menu a[aria-current=page]{color:var(--peacock);box-shadow:inset 0 -3px 0 var(--marigold);border-radius:0}
.menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--line);border-radius:8px;padding:.4rem .8rem;font:600 .95rem var(--body);color:var(--ink)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.3rem;border-radius:10px;
  font:600 1rem var(--body);text-decoration:none;border:2px solid var(--peacock);background:var(--peacock);color:#fff;cursor:pointer;line-height:1.2;white-space:nowrap}
.btn:hover{background:var(--peacock-2);border-color:var(--peacock-2);color:#fff}
.btn.gold{background:var(--marigold);border-color:var(--marigold);color:var(--ink)}
.btn.gold:hover{background:var(--marigold-2);border-color:var(--marigold-2)}
.btn.line{background:transparent;color:var(--peacock)}
.btn.line:hover{background:var(--leaf);color:var(--ink)}
.btn.wa{background:#1F8F4E;border-color:#1F8F4E}
.btn.wa:hover{background:#18733E;border-color:#18733E}
.btn svg{width:20px;height:20px}
.btn-row{display:flex;flex-wrap:wrap;gap:.7rem}

/* ---------- hero with the live bed board ---------- */
.hero{padding:3.2rem 0 3rem}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:3rem;align-items:center}
.for{display:inline-block;background:var(--marigold-soft);color:#7A5200;font-weight:600;padding:.2rem .7rem;border-radius:999px;margin-bottom:1rem;font-size:.92rem}
.hero .lede{margin:1rem 0 1.5rem}
.facts{list-style:none;margin:0 0 1.8rem;padding:0;display:grid;gap:.5rem}
.facts li{display:flex;gap:.6rem;align-items:baseline}
.facts b{font-family:var(--head);font-size:1.35rem;color:var(--ink);font-weight:700;min-width:6.5rem}
.board-card{background:var(--ink);color:var(--on-ink);border-radius:18px;padding:1.4rem 1.4rem 1.2rem}
.board-card h2{color:#fff;font-size:1.25rem;margin:0}
.board-card .free-now{font-family:var(--head);font-size:3.4rem;line-height:1;color:var(--marigold);font-weight:700;margin:.6rem 0 .1rem}
.board-card .free-now span{font-size:1.05rem;color:var(--on-ink-2);font-weight:500;font-family:var(--body)}
.floor{display:grid;grid-template-columns:3.6rem 1fr;gap:.5rem;align-items:center;margin-top:.55rem}
.floor-name{font-size:.82rem;color:var(--on-ink-3)}
.floor-rooms{display:flex;flex-wrap:wrap;gap:5px}
.rm{display:flex;gap:2px;padding:3px;border-radius:5px;background:var(--ink-2)}
.bd{width:10px;height:16px;border-radius:2px;background:var(--ink-3)}
.bd.free{background:var(--marigold);box-shadow:0 0 0 1px var(--marigold-light) inset}
.board-key{display:flex;gap:1.1rem;font-size:.85rem;color:var(--on-ink-2);margin-top:1rem;flex-wrap:wrap}
.board-key i{display:inline-block;vertical-align:-2px;margin-right:.35rem}
.board-card .updated{font-size:.82rem;color:var(--on-ink-3);margin-top:.4rem}
@media (prefers-reduced-motion:no-preference){
  .bd.free{animation:glow 2.6s ease-in-out 1}
  @keyframes glow{0%{background:var(--ink-3)}60%{background:var(--marigold-light)}100%{background:var(--marigold)}}
}

/* hero photo of the real building */
.hero-photo{margin:0;position:relative;border-radius:18px;overflow:hidden;background:var(--ink);aspect-ratio:4/5;max-height:620px}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.free-badge{position:absolute;left:16px;bottom:16px;background:var(--ink);color:var(--on-ink);text-decoration:none;
  border-radius:12px;padding:.55rem .9rem;font-weight:600;box-shadow:0 0 0 1px rgba(255,255,255,.15)}
.free-badge b{font-family:var(--head);font-size:1.5rem;color:var(--marigold);margin-right:.25rem;vertical-align:-2px}
.free-badge:hover{background:var(--ink-2);color:#fff}
.board-band{padding-top:1rem}
.notice{background:#FFF6F5;border:1px solid #F3C9C4;border-left:5px solid var(--red);border-radius:12px;padding:1.1rem 1.3rem;max-width:860px}
.notice h2,.notice h3{color:var(--red);margin-bottom:.3rem}
.notice h2{font-size:1.4rem}
.notice p{margin:0}
.small-notice{margin-top:1.4rem}

/* boys / girls floors */
.floors-band{padding-top:1.5rem}
.sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}
.sec{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:1.4rem 1.5rem;display:flex;flex-direction:column;gap:.4rem;border-top:6px solid var(--peacock)}
.sec-girls{border-top-color:#B4407A}
.sec-boys{border-top-color:#2F5E9E}
.sec h3{font-size:1.6rem;margin:0}
.sec-floors{margin:0;color:var(--muted)}
.sec-free{margin:.3rem 0 .4rem;font-size:1.05rem}
.sec-free b{font-family:var(--head);font-size:2rem;color:var(--ink);margin-right:.2rem}
.sec-free span{color:var(--muted)}
.sec-opts{list-style:none;margin:0 0 .8rem;padding:0}
.sec-opts li{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;border-bottom:1px dashed var(--line)}
.sec-opts li span:last-child{font-weight:600;color:var(--ink);white-space:nowrap}
.sec .btn{margin-top:auto;align-self:flex-start}
.sec-banner{grid-column:1/-1;margin:0;border-radius:14px;overflow:hidden}
.sec-banner img{width:100%}
.sec-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem 1rem;padding-left:.8rem;border-left:6px solid var(--peacock)}
.sec-title.sec-girls{border-left-color:#B4407A}
.sec-title.sec-boys{border-left-color:#2F5E9E}
.sec-title span{font-family:var(--body);font-size:1rem;font-weight:500;color:var(--muted)}
.floor-name em{display:block;font-style:normal;font-size:.8rem;font-weight:700}
.floor-name em.for-girls{color:#F7B8D6}
.floor-name em.for-boys{color:#A9C6F2}
.floor-name em.for-both{color:#F6CD6A}

/* ---------- sections ---------- */
section.band{padding:3.2rem 0}
section.band.white{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.section-head p{margin:0;color:var(--muted);max-width:60ch}
.page-title{padding:2.6rem 0 1.4rem}
.page-title .lede{margin-top:.6rem}

/* what the rent covers – a receipt-like list, the one place the rent idea is spelled out */
.covers{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:2.5rem;align-items:start}
.bill{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:1.4rem 1.5rem;
  background-image:linear-gradient(var(--white),var(--white)),repeating-linear-gradient(90deg,var(--line) 0 8px,transparent 8px 14px);
  background-size:100% calc(100% - 2px),100% 2px;background-position:0 0,0 100%;background-repeat:no-repeat}
.bill ul{list-style:none;margin:0;padding:0}
.bill li{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;border-bottom:1px dashed var(--line)}
.bill li span:last-child{color:var(--peacock);font-weight:600;white-space:nowrap}
.bill .total{display:flex;justify-content:space-between;padding-top:.9rem;font-family:var(--head);font-size:1.25rem;color:var(--ink);font-weight:700}

/* sharing options */
.options{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:1rem}
.opt{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:1.2rem 1.25rem;display:flex;flex-direction:column;gap:.35rem}
.opt h3{margin:0}
.opt .type{color:var(--muted);font-size:.95rem}
.opt .price{font-family:var(--head);font-size:1.8rem;color:var(--ink);font-weight:700;line-height:1.1;margin-top:.4rem}
.opt .price small{font-family:var(--body);font-size:.9rem;color:var(--muted);font-weight:400}
.opt .avail{font-weight:600;color:var(--peacock)}
.opt .avail.none{color:var(--muted)}
.opt .btn{margin-top:auto;align-self:flex-start}
.opt .mini{display:flex;gap:3px;margin:.2rem 0}
.opt .mini i{width:10px;height:16px;border-radius:2px;background:#C9D6D3}
.opt .mini i.free{background:var(--marigold)}

/* food */
.today{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.meal{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:1rem 1.15rem}
.meal h3{font-size:1rem;color:var(--muted);font-family:var(--body);font-weight:600;margin-bottom:.2rem}
.meal p{margin:0;font-size:1.08rem;color:var(--ink)}
.menu-table{width:100%;border-collapse:collapse;background:var(--white);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.menu-table th,.menu-table td{padding:.7rem .9rem;text-align:left;border-bottom:1px solid #E5ECEA;vertical-align:top}
.menu-table th{background:var(--leaf);color:var(--ink);font-weight:600}
.menu-table tr.is-today td{background:var(--marigold-soft)}
.menu-table tr.is-today td:first-child{font-weight:700}
.timings{display:flex;flex-wrap:wrap;gap:.6rem 2rem;margin-bottom:1.5rem}
.timings div b{display:block;font-family:var(--head);font-size:1.1rem;color:var(--ink)}

/* facilities */
.fac{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:1.6rem 2rem}
.fac div{display:grid;grid-template-columns:44px 1fr;gap:.9rem;align-items:start}
.fac svg{width:44px;height:44px;padding:9px;border-radius:12px;background:var(--leaf);color:var(--peacock)}
.fac h3{margin:.1rem 0 .15rem;font-size:1.1rem}
.fac p{margin:0;color:var(--muted)}

/* photos */
.strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:.7rem}
.strip figure{margin:0;border-radius:12px;overflow:hidden;background:var(--leaf);aspect-ratio:4/3;position:relative}
.strip img{width:100%;height:100%;object-fit:cover}
.strip figcaption{position:absolute;left:0;right:0;bottom:0;padding:.5rem .7rem;font-size:.88rem;color:#fff;background:linear-gradient(transparent,rgba(16,40,36,.82))}
.strip a{display:block;height:100%}
.cover{border-radius:16px;overflow:hidden;aspect-ratio:16/9;margin-bottom:1rem}
.cover img{width:100%;height:100%;object-fit:cover}
.empty-photos{border:2px dashed var(--line);border-radius:14px;padding:2rem;text-align:center;color:var(--muted);background:var(--white)}

/* rules & faq */
.rules{counter-reset:r;list-style:none;padding:0;margin:0;display:grid;gap:.7rem;max-width:760px}
.rules li{background:var(--white);border:1px solid var(--line);border-left:4px solid var(--marigold);border-radius:10px;padding:.75rem 1rem}
details{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:.2rem 1.1rem;margin-bottom:.6rem;max-width:760px}
summary{cursor:pointer;font-weight:600;color:var(--ink);padding:.7rem 0;list-style:none;display:flex;justify-content:space-between;gap:1rem}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:var(--head);font-size:1.4rem;line-height:1;color:var(--peacock)}
details[open] summary::after{content:"–"}
details p{margin:0 0 .9rem;color:var(--muted)}

/* contact */
.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:2.5rem;align-items:start}
.card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:1.5rem}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-grid .full{grid-column:1/-1}
label{display:block;font-weight:600;color:var(--ink);margin-bottom:.3rem;font-size:.95rem}
input,select,textarea{width:100%;font:1rem var(--body);padding:.65rem .75rem;border:1px solid #B9C6C3;border-radius:10px;background:#fff;color:var(--text)}
input:focus,select:focus,textarea:focus{outline:3px solid var(--leaf);border-color:var(--peacock)}
textarea{min-height:6rem;resize:vertical}
fieldset.seg{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
fieldset.seg legend{font-weight:600;color:var(--ink);margin-bottom:.3rem;font-size:.95rem;padding:0}
fieldset.seg label{display:flex;align-items:center;gap:.5rem;margin:0;border:1.5px solid #B9C6C3;border-radius:10px;padding:.6rem 1rem;cursor:pointer;font-weight:600;background:#fff}
fieldset.seg label:has(input:checked){border-color:var(--peacock);background:var(--leaf);color:var(--ink)}
fieldset.seg input{width:auto;min-height:0;accent-color:var(--peacock)}
.seg-note{color:var(--muted);font-size:.9rem;width:100%}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.errors{background:#FDE8E6;border-left:4px solid var(--red);padding:.7rem 1rem;border-radius:8px;margin-bottom:1rem}
.errors ul{margin:.2rem 0;padding-left:1.1rem}
.info-list{list-style:none;padding:0;margin:0 0 1.2rem;display:grid;gap:.8rem}
.info-list li{display:grid;grid-template-columns:24px 1fr;gap:.7rem}
.info-list svg{width:22px;height:22px;color:var(--peacock);margin-top:3px}
.map{border:0;width:100%;aspect-ratio:4/3;border-radius:14px;background:var(--leaf)}
.near{list-style:none;padding:0;margin:0}
.near li{display:flex;justify-content:space-between;padding:.45rem 0;border-bottom:1px dashed var(--line)}
.near li span:last-child{color:var(--muted)}

/* ---------- footer & phone action bar ---------- */
.foot{background:var(--ink);color:var(--on-ink-2);padding:2.6rem 0 6rem;margin-top:2rem}
.foot .wrap{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}
.foot h3{color:#fff;font-size:1.1rem}
.foot a{color:var(--on-ink)}
.foot ul{list-style:none;padding:0;margin:0;display:grid;gap:.35rem}
.foot .small{font-size:.85rem;color:var(--on-ink-3);margin-top:1rem}

.logo{white-space:nowrap}
@media (min-width: 1141px) and (max-width: 1360px){
  .menu{gap:0}
  .menu a{padding:.4rem .42rem;font-size:.95rem}
  .top .book{padding-left:.9rem;padding-right:.9rem}
}
@media (max-width: 1140px){
  .menu-btn{display:block}
  .menu{display:none;position:absolute;top:68px;left:0;right:0;background:var(--white);flex-direction:column;align-items:stretch;padding:.5rem 20px 1rem;border-bottom:1px solid var(--line)}
  .menu.open{display:flex}
  .menu a{padding:.7rem .4rem;border-bottom:1px solid #EEF2F1}
  .menu a[aria-current=page]{box-shadow:inset 4px 0 0 var(--marigold);padding-left:.8rem}
  .top .book{margin-left:.5rem}
}
@media (max-width: 900px){
  html{font-size:16px}
  .hero{padding:2rem 0}
  .hero .wrap,.covers,.contact-grid{grid-template-columns:1fr;gap:2rem}
  .hero-photo{aspect-ratio:4/3;order:-1}
  .hero{padding-top:1rem}
  .sections{grid-template-columns:minmax(0,1fr)}
  .menu-btn{display:block}
  .menu{display:none;position:absolute;top:68px;left:0;right:0;background:var(--white);flex-direction:column;align-items:stretch;padding:.5rem 20px 1rem;border-bottom:1px solid var(--line)}
  .menu.open{display:flex}
  .menu a{padding:.7rem .4rem;border-bottom:1px solid #EEF2F1}
  .menu a[aria-current=page]{box-shadow:inset 4px 0 0 var(--marigold);padding-left:.8rem}
  .top .book{display:none}
  .today{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .foot .wrap{grid-template-columns:minmax(0,1fr)}
  .menu-table{font-size:.92rem}
  .menu-table th:nth-child(1),.menu-table td:nth-child(1){white-space:nowrap}
}
@media (max-width: 560px){
  .menu-table thead{display:none}
  .menu-table,.menu-table tbody,.menu-table tr,.menu-table td{display:block;width:100%}
  .menu-table tr{border-bottom:1px solid var(--line);padding:.4rem 0}
  .menu-table td{border:0;padding:.2rem .9rem}
  .menu-table td:not(:first-child)::before{content:attr(data-meal) ": ";color:var(--muted)}
  .menu-table td:first-child{font-weight:700;color:var(--ink);padding-top:.5rem}
}
@media print{ .top,.foot,.float-contact{display:none} }

/* touch screens: finger-sized controls */
@media (pointer: coarse){
  .btn{min-height:46px}
  .menu a{min-height:44px;display:flex;align-items:center}
  input, select, textarea{font-size:16px;min-height:46px}
}
.opt .in-room{margin:.1rem 0 .3rem;font-size:.86rem;line-height:1.45;color:var(--muted,#5b5b5b)}
.opt .in-room b{color:inherit;font-weight:600}
/* events (website) */
.ev-list{display:grid;gap:.7rem;margin-bottom:1rem}
.ev-row{display:flex;gap:1rem;align-items:center;padding:.9rem 1rem;background:var(--white);border:1px solid var(--line);border-radius:14px;color:var(--text);text-decoration:none}
.ev-row:hover,.ev-row:focus-visible{border-color:var(--peacock)}
.ev-row.cancelled{opacity:.6}
.ev-date{flex:none;width:3.8rem;height:4rem;border-radius:12px;background:var(--ink);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.85rem;line-height:1.1}
.ev-date b{font-family:var(--head);font-size:1.7rem;line-height:1}
.ev-body{display:flex;flex-direction:column;gap:.15rem}
.ev-body b{font-family:var(--head);font-size:1.15rem;color:var(--ink)}
.ev-body small{color:var(--muted)}
.ev-body em{font-style:normal;font-weight:600;color:var(--peacock);font-size:.9rem}
.ev-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:1rem}
.ev-tile{display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:var(--white);border:1px solid var(--line);color:var(--text);text-decoration:none}
.ev-tile img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.ev-tile .ev-noimg{width:100%;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:var(--leaf);color:var(--ink);font-family:var(--head);font-size:1.1rem;padding:1rem;text-align:center}
.ev-tile>span:last-child{padding:.7rem .9rem;display:flex;flex-direction:column}
.ev-tile b{font-family:var(--head);color:var(--ink);font-size:1.1rem}
.ev-tile small{color:var(--muted)}
.ev-gallery.photos figure{margin:0}
.ev-gallery.photos img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block}
.ev-gallery.photos figcaption{font-size:.88rem;color:var(--muted);padding:.3rem .1rem}
.ev-desc{white-space:pre-line;max-width:70ch;font-size:1.05rem}
/* social media icons in the footer */
.foot .social{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 0;grid-template-columns:none}
.foot .social a{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .75rem .4rem .5rem;border:1px solid var(--ink-3);border-radius:999px;color:#fff;text-decoration:none;font-size:.9rem;line-height:1}
.foot .social a:hover,.foot .social a:focus-visible{background:#fff;color:var(--ink);border-color:#fff}
.foot .social svg{width:20px;height:20px;flex:none}
.foot h3.follow{margin:1.4rem 0 0;font-size:1rem}
.foot .social{margin-top:.6rem}
/* copyright line at the very bottom of every page */
.foot .copyright{display:block;margin-top:2rem;padding-top:1rem;border-top:1px solid var(--ink-line)}
.foot .copyright p{margin:0;font-size:.85rem;color:var(--on-ink-3)}
.foot .copyright p{display:flex;flex-wrap:wrap;gap:.2rem 1.2rem}
/* "who the PG is for" – under the intro, not above the heading */
.hero .for-line{display:flex;align-items:center;gap:.55rem;margin:-.2rem 0 1.4rem;font-weight:600;color:var(--ink)}
.hero .for-line svg{width:22px;height:22px;flex:none;color:var(--marigold-2)}
/* careers */
.jobs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:1.2rem}
.job h2{font-size:1.45rem;margin:0 0 .4rem}
.job h3{font-size:1rem;margin:1rem 0 .2rem}
.job p{margin:.2rem 0}
.job-tags{display:flex;flex-wrap:wrap;gap:.4rem}
.job-tags span{background:var(--leaf);border:1px solid var(--line);border-radius:999px;padding:.15rem .7rem;font-size:.9rem}
.job .btn{margin-top:1rem}
.job-done{border-left:6px solid var(--peacock);margin-bottom:1.5rem}
.agree{display:flex;gap:.5rem;align-items:flex-start;font-weight:400}
.agree input{width:auto;margin-top:.3rem}

/* v2.7: the home photo always fits the first screen (no scrolling to see the whole photo) */
@media (min-width: 901px){
  .hero{padding:2rem 0 2.6rem}
  .hero .wrap{align-items:start}
  .hero-photo{aspect-ratio:auto;height:620px;height:clamp(340px, calc(100vh - 68px - 4rem), 620px);height:clamp(340px, calc(100svh - 68px - 4rem), 620px);max-height:none}
}
@media (max-width: 900px){
  .hero-photo{max-height:calc(100vh - 175px);max-height:calc(100svh - 175px);min-height:200px}
  .hero-photo img{position:absolute;inset:0}
}

/* v2.7: back-to-top arrow (appears after scrolling down) */
.to-top{position:fixed;right:20px;bottom:24px;z-index:40;width:48px;height:48px;border-radius:50%;border:0;cursor:pointer;
  display:grid;place-items:center;background:var(--ink);color:#fff;box-shadow:0 0 0 2px #fff,0 6px 18px rgba(16,42,38,.3);
  opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease,visibility .2s}
.to-top svg{width:22px;height:22px}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--ink-2)}
.to-top:focus-visible{outline:3px solid var(--marigold);outline-offset:3px}

@media (prefers-reduced-motion: reduce){ .to-top{transition:none} }
@media print{ .to-top{display:none} }
.foot .dev-credit{color:inherit;text-decoration:none;font-weight:600}
.foot .dev-credit:hover,.foot .dev-credit:focus-visible{text-decoration:underline;color:#fff}
.logo-img{height:44px;width:44px;object-fit:contain;flex:none}

/* v2.9.3: WhatsApp and Call buttons, bottom right on every page (round, thumb-sized on phones) */
.float-contact{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:45;display:flex;flex-direction:column;gap:12px;align-items:flex-end}
.fc{position:relative;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;color:#fff;text-decoration:none;
  box-shadow:0 8px 22px rgba(10,30,26,.28);transition:transform .15s ease}
.fc svg{width:28px;height:28px}
.fc-wa{background:#1FAF55}.fc-call{background:var(--peacock)}
.fc:hover{transform:scale(1.06)}.fc:focus-visible{outline:3px solid var(--marigold);outline-offset:3px}
.fc-label{position:absolute;right:68px;top:50%;transform:translateY(-50%);background:var(--ink);color:#fff;font-size:.82rem;font-weight:600;
  padding:.3rem .65rem;border-radius:999px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s ease}
.fc:hover .fc-label,.fc:focus-visible .fc-label{opacity:1}
.fc-wa:before{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #1FAF55;animation:fc-ring 2.4s ease-out 3}
@keyframes fc-ring{from{transform:scale(1);opacity:.7}to{transform:scale(1.45);opacity:0}}
.to-top{bottom:calc(164px + env(safe-area-inset-bottom));right:23px}
@media (max-width: 900px){ .fc{width:54px;height:54px} .fc svg{width:26px;height:26px} .float-contact{right:14px} .to-top{right:17px;bottom:calc(154px + env(safe-area-inset-bottom))} .fc-label{display:none} }
@media (prefers-reduced-motion: reduce){ .fc-wa:before{animation:none;opacity:0} .fc{transition:none} }

/* v2.9.4: compact, professional footer – even columns, two-column page list on phones, slim copyright bar */
.foot{padding:2.4rem 0 0;margin-top:2.5rem}
.foot .wrap{grid-template-columns:1.5fr 1fr 1.1fr;gap:1.6rem 2.6rem;align-items:start}
.foot h3{font-size:1rem;margin:0 0 .6rem;letter-spacing:.01em}
.foot p{margin:0 0 .55rem;line-height:1.55}
.foot ul{gap:.3rem}
.foot ul a{text-decoration:none}
.foot ul a:hover,.foot ul a:focus-visible{text-decoration:underline}
.foot .btn-row{margin-top:.8rem;gap:.5rem}
.foot .btn-row .btn{padding:.5rem .95rem;font-size:.92rem}
.foot h3.follow{margin:1.1rem 0 0}
.foot .small{margin-top:.6rem}
.foot .copyright{margin-top:1.8rem;padding-top:.85rem;padding-bottom:1rem;border-top:1px solid var(--ink-line)}
.foot .copyright p{justify-content:space-between;align-items:center;font-size:.82rem;line-height:1.5}
@media (max-width: 900px){
  .foot{padding-top:1.8rem;margin-top:1.8rem}
  .foot .wrap{grid-template-columns:1fr 1fr;gap:1.3rem 1.2rem}
  .foot .wrap > div:first-child{grid-column:1 / -1}
  .foot .copyright{margin-top:1.3rem;padding-top:.75rem;padding-bottom:calc(.8rem + env(safe-area-inset-bottom))}
  .foot .copyright p{flex-direction:column;align-items:flex-start;gap:.1rem;padding-right:72px}
}
@media (max-width: 520px){
  .foot .wrap{grid-template-columns:minmax(0,1fr)}
  .foot .wrap > div:nth-child(2) ul{grid-template-columns:1fr 1fr;column-gap:1rem}
}

/* v2.9.6: nothing may be wider than a small phone (320 px) */
.sec,.sections > *{min-width:0}
input[type=file]{max-width:100%}
code{overflow-wrap:anywhere}
@media (max-width:420px){.btn{white-space:normal;text-align:center}}
