/*
Theme Name: Kimbofoto Studio
Description: Philips fotoportfolio med albums, billedarkiv og redaktion.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kimbofoto
*/
:root{color-scheme:light;--ink:#131313;--paper:#fff;--line:#cfcfcf;--muted:#555;--black:#0c0c0c;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;color:var(--ink);background:white;font:16px/1.6 'Helvetica Neue',Arial,sans-serif}body.locked{overflow:hidden}img{display:block;width:100%;filter:grayscale(1)}a{color:inherit}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px double currentColor;outline-offset:4px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1;letter-spacing:-.055em}i{font-weight:400}h2{font-size:clamp(2.7rem,5vw,5.25rem)}h3{font-size:clamp(1.5rem,2.4vw,2.7rem)}[hidden]{display:none!important}.wrap{width:min(90%,1480px);margin-inline:auto}.sr,.skip:not(:focus){position:absolute;clip-path:inset(50%);white-space:nowrap;overflow:hidden;width:1px;height:1px}.skip:focus{position:absolute;background:white;padding:10px;z-index:5}
.top,.bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem}.top{min-height:80px}.brand{font:2.55rem/1 var(--serif);letter-spacing:-.09em;text-decoration:none}.top nav>ul,.bottom ul{display:flex;list-style:none;padding:0;gap:2rem;margin:0;align-items:center}.top nav a,.bottom a:not(.brand){font-size:.92rem;text-decoration:none}.top nav a:hover,.bottom a:hover{text-decoration:underline;text-underline-offset:5px}.top .menu-item-has-children{position:relative}.top .sub-menu{display:none;list-style:none;position:absolute;z-index:4;background:white;padding:12px 20px;min-width:175px;border:1px solid var(--line);margin:0}.top .menu-item-has-children:hover>.sub-menu,.top .menu-item-has-children:focus-within>.sub-menu{display:block}.top .sub-menu li{margin:.35rem 0}.mobile-menu{display:none}
.cover{display:grid;grid-template-columns:46% 54%;background:var(--black);color:#fff}.hero-print{overflow:hidden}.hero-print img{height:clamp(480px,68vh,750px);object-fit:cover;object-position:center 44%}.cover-copy{align-self:center;padding:clamp(35px,5vw,100px) 5% clamp(40px,6vw,120px) max(10.85%,calc((100vw - 1480px)/2))}.kicker{text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;line-height:1.55;font-weight:650}.cover h1{font-size:clamp(3.2rem,5.25vw,6.45rem);margin:1.6rem 0 2.5rem;line-height:1.04}.btn,.line{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:.94rem}.btn{background:var(--ink);color:#fff;border:1px solid var(--ink);padding:.7rem 1.55rem;min-height:47px}.btn:hover{background:#444}.invert{background:white;color:#111;border-color:#fff}.invert:hover{background:#ddd}.line{background:none;border:0;padding:.28rem 0;text-decoration:underline;text-underline-offset:.32rem}.line:hover{text-decoration-thickness:2px}.section{padding-block:clamp(56px,6vw,100px)}.archive-head,.dialogbar,.framebar,.paging,.actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.archive-head{align-items:flex-end;margin-bottom:2.2rem}.archive-head .kicker,.contact .kicker,.profile .kicker{margin-bottom:1rem}.filter-label{display:grid;gap:.2rem;font-size:.83rem;color:var(--muted)}select,input,textarea{border:1px solid #aaa;background:white;padding:.55rem .65rem;border-radius:0;color:#171717}.covers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5rem clamp(14px,2.15vw,36px)}.card{display:block;color:inherit;text-decoration:none}.card figure{overflow:hidden;background:#eee}.card img{aspect-ratio:1.04;object-fit:cover;transition:transform .35s}.card:hover img{transform:scale(1.025)}.card h3{margin:.8rem 0 .24rem}.meta,.samples p{font-size:.9rem;color:var(--muted)}
.about{background:#141414;color:white}.profile,.contact{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(2rem,8vw,10rem)}.profile{padding-block:clamp(45px,5vw,90px)}.profile figure{width:min(100%,480px)}.profile img{aspect-ratio:4/4.5;object-fit:cover;object-position:center 35%}.bio,.contact p:not(.kicker){max-width:49ch;margin:1.25rem 0}.contact .actions,.sheet .actions{justify-content:flex-start;flex-wrap:wrap}.samples{border-top:1px solid var(--line);padding-block:1.4rem}.samples summary{cursor:pointer;font-size:1rem}.samples .card{max-width:260px;margin-top:1rem}.samples>p{margin-top:.7rem}.bottom{min-height:90px;flex-wrap:wrap}.bottom-links{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}footer{border-top:1px solid var(--line)}.bottom .brand{font-size:1.9rem}
dialog{border:0;padding:0;color:inherit;max-height:92dvh;background:#fff}dialog::backdrop{background:#000b}#album-dialog{width:min(1260px,96vw)}.album-inner{padding:clamp(20px,4vw,54px)}.album-inner>h2{margin:1.2rem 0 .5rem}.album-inner>p{color:var(--muted)}.close,.paging button{border:1px solid currentColor;background:transparent;width:44px;height:44px;border-radius:50%;font-size:1.6rem;line-height:1}.contact-sheet{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:1.5rem}.contact-sheet button{border:0;padding:0;background:#eee}.contact-sheet img{aspect-ratio:4/5;object-fit:cover}#photo-dialog{width:min(1350px,98vw);background:#101010;color:#fff}.full{height:min(90dvh,1020px);display:flex;flex-direction:column;padding:1rem 1.4rem}.stage{flex:1;min-height:0;padding-block:.65rem}.stage img{height:100%;width:100%;object-fit:contain}.contact-sheet img,.stage img{filter:none}.framebar,.dialogbar{min-height:46px}.framebar .line{font-size:.85rem}.paging span{min-width:3rem;text-align:center;white-space:nowrap}.sheet{padding:clamp(18px,3vw,40px);width:min(500px,90vw)}.sheet h2{font-size:2rem}.sheet>p,.sheet form{margin-top:1rem}.sheet label{display:grid;font-size:.9rem;gap:.3rem;margin-bottom:.65rem}.sheet textarea{width:100%;resize:vertical}.sheet #draft-output{border-top:1px solid #ccc;padding-top:1.2rem;margin-top:1.2rem}.entry{max-width:850px;min-height:55vh}.entry h1{font-size:clamp(2.7rem,5vw,5rem);margin-bottom:1rem}.entry p{margin-block:1em}.entry img{max-width:100%;height:auto}.instructions{padding:1.25rem;border:1px solid var(--line);margin-bottom:1.5rem}
@media(min-width:1450px){.optional{display:none}}@media(max-width:850px){.top{min-height:68px}.cover{grid-template-columns:47% 53%}.cover-copy{padding-left:10.6%}.cover h1{font-size:clamp(2.45rem,6vw,4rem)}.covers{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-sheet{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.top{position:relative;min-height:64px}.brand{font-size:2.15rem}.mobile-menu{display:block;background:white;border:1px solid #444;padding:.4rem .8rem}.top nav{display:none;position:absolute;z-index:5;background:white;left:-5.5%;right:-5.5%;top:100%;padding:1rem 6%;border-top:1px solid #ccc}.top nav.open{display:block}.top nav>ul,.top .sub-menu{display:grid;gap:.65rem}.top .sub-menu{position:static;border:0;padding:.25rem .75rem}.cover{display:flex;flex-direction:column-reverse}.hero-print img{height:clamp(230px,39vh,450px);object-position:center 39%}.cover-copy{align-self:stretch;padding:1.75rem 5% 2.1rem}.cover h1{font-size:clamp(2.7rem,10vw,4.2rem);margin:.65rem 0 1.25rem}.optional{display:none}.archive-head{align-items:flex-start;flex-wrap:wrap;gap:1.1rem;margin-bottom:1.35rem}.covers{gap:1.5rem .85rem}.card h3{font-size:1.5rem}.card .meta{font-size:.78rem}.profile,.contact{grid-template-columns:1fr;gap:1.8rem}.profile figure{max-width:330px}.bottom{padding-block:1.1rem}.bottom-links{gap:.75rem}.contact-sheet{grid-template-columns:repeat(2,minmax(0,1fr))}.full{padding:.75rem}.framebar{align-items:flex-start}.paging{gap:.35rem}.paging button{width:36px;height:36px}.album-inner{padding:16px}.sheet{width:min(90vw,500px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::after,*::before{transition:none!important}}

.contact-sheet button{background:#f4f4f4}.contact-sheet img{object-fit:contain;aspect-ratio:4/5}.bottom-links nav ul{display:flex;list-style:none;padding:0;gap:1rem}
