/*
Theme Name: Akash Portfolio
Theme URI: https://akashmajumder.com
Author: Akash Majumder
Description: Dark portfolio theme for a filmmaker and photographer. Homepage with selected work, a film page built from YouTube and Vimeo links, photo stories, category galleries, about and contact pages.
Version: 1.10.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akash-portfolio
*/

/* Fonts (bundled, no external requests) */
@font-face{font-family:"Karla";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/karla-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Karla";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/karla-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:"Karla";font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/karla-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Karla";font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/karla-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:"Karla";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/karla-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Karla";font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/karla-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}
@font-face{font-family:"Caveat";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/caveat-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Caveat";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/caveat-latin-600-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}

:root{
	--bg:#23262e;
	--surface:#323642;
	--field:#2c3039;
	--line:#454a57;
	--border:#8d92a0;
	--text:#f4f4f0;
	--soft:#d8dae2;
	--muted:#c9ccd6;
	--ink:#1b1d23;
	--accent:#eeee22;
	--radius:6px;
	--wrap:1520px;
	--pad:clamp(20px,4vw,32px);
}

/* Base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Karla",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:18px;line-height:1.5;-webkit-font-smoothing:antialiased}
img,video,iframe{max-width:100%}
img{height:auto;display:block}
a{color:var(--text);text-decoration:none}
a:hover{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
h1,h2,h3,h4{margin:0;line-height:1.1;letter-spacing:-0.01em}
h1{font-size:clamp(44px,6vw,80px);line-height:1.02;letter-spacing:-0.02em}
h2{font-size:clamp(34px,4vw,44px)}
h3{font-size:26px}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
button{font:inherit;color:inherit}
[hidden]{display:none!important}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--accent);color:var(--ink);padding:10px 16px;border-radius:var(--radius);font-weight:700;z-index:100}
.skip-link:focus{left:8px;color:var(--ink)}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad)}
.section{padding-top:clamp(72px,9vw,128px)}
.section--tight{padding-top:clamp(40px,5vw,56px)}
.lead{font-size:21px;color:var(--soft);max-width:680px}
.kicker{font-size:14px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--accent)}
.meta{font-size:16px;color:var(--muted)}
.stack{display:flex;flex-direction:column;gap:16px}

/* Optional site background photo (Customize > Background Image), dimmed so text stays readable */
body.custom-background::before{content:"";position:fixed;inset:0;z-index:-1;background:rgba(35,38,46,var(--bg-dim,0.8));pointer-events:none}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:14px 26px;border-radius:999px;border:1.5px solid var(--accent);background:var(--accent);color:var(--ink);font-weight:700;cursor:pointer}
.btn:hover{color:var(--ink);filter:brightness(1.08)}
.btn--ghost{background:transparent;border-color:var(--text);color:var(--text)}
.btn--ghost:hover{color:var(--accent);border-color:var(--accent);filter:none}
.btn--dark{background:var(--ink);border-color:var(--ink);color:var(--text)}
.btn--dark:hover{color:var(--text);filter:brightness(1.4)}
.text-link{display:inline-block;padding:12px 0;font-weight:700;color:var(--accent)}
.text-link:hover{text-decoration:underline}
.btn-row{display:flex;flex-wrap:wrap;gap:14px}

/* Header */
.site-header{display:flex;flex-wrap:wrap;gap:16px 40px;justify-content:space-between;align-items:center;padding-block:28px}
.site-title{font-size:20px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--accent)}
.site-nav .menu{display:flex;flex-wrap:wrap;gap:8px clamp(14px,3vw,36px);align-items:center;font-size:17px;font-weight:500}
.site-nav .menu a{display:block;padding:12px 0 10px;border-bottom:2px solid transparent}
.site-nav .menu .current-menu-item>a,.site-nav .menu .current_page_item>a{color:var(--accent);border-bottom-color:var(--accent)}
.site-nav .menu>li:last-child>a{padding:10px 22px;border:1.5px solid var(--accent);border-radius:999px;color:var(--accent)}
.site-nav .menu>li:last-child.current-menu-item>a,.site-nav .menu>li:last-child.current_page_item>a,.site-nav .menu>li:last-child>a:hover{background:var(--accent);color:var(--ink)}
.menu-toggle{display:none;position:relative;width:46px;height:46px;flex:0 0 46px;padding:0;border-radius:50%;border:1.5px solid var(--accent);background:transparent;color:var(--accent);cursor:pointer}
.menu-toggle .bars,.menu-toggle .bars::before,.menu-toggle .bars::after{position:absolute;left:50%;width:20px;height:2px;margin-left:-10px;border-radius:2px;background:currentColor;transition:transform .2s ease,opacity .2s ease}
.menu-toggle .bars{top:50%;margin-top:-1px}
.menu-toggle .bars::before,.menu-toggle .bars::after{content:"";left:0;margin-left:0}
.menu-toggle .bars::before{top:-6px}
.menu-toggle .bars::after{top:6px}
.nav-open .menu-toggle .bars{background:transparent}
.nav-open .menu-toggle .bars::before{transform:translateY(6px) rotate(45deg)}
.nav-open .menu-toggle .bars::after{transform:translateY(-6px) rotate(-45deg)}

@media (max-width:719px){
	.menu-toggle{display:block}
	.site-header{flex-wrap:nowrap;gap:16px;padding-block:18px}
	.site-title{font-size:16px;letter-spacing:0.1em;min-width:0}
	.site-nav{display:none;position:fixed;inset:0;z-index:60;background:var(--bg);padding:96px var(--pad) 40px;overflow:auto}
	.nav-open .site-nav{display:block}
	.nav-open .menu-toggle{position:fixed;top:18px;right:var(--pad);z-index:70;background:var(--bg)}
	.nav-open{overflow:hidden}
	.site-nav .menu{flex-direction:column;align-items:stretch;gap:0;font-size:26px;font-weight:700}
	.site-nav .menu>li{border-bottom:1px solid var(--line)}
	.site-nav .menu a{padding:18px 0;border-bottom:0}
	.site-nav .menu>li:last-child{margin-top:28px;border-bottom:0}
	.site-nav .menu>li:last-child>a{display:inline-block;font-size:18px;padding:14px 28px;background:var(--accent);color:var(--ink)}
}

/* Hero */
.hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:min(78vh,720px);padding:clamp(24px,4vw,48px);border-radius:var(--radius);background:var(--surface);overflow:hidden}
.hero-media{position:absolute;inset:0}
.hero-media img,.hero-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-media::after{content:"";position:absolute;inset:0;background:rgba(20,22,27,0.5)}
.hero-body{position:relative;display:flex;flex-direction:column;gap:20px;max-width:820px}
.hero-body .lead{font-size:20px;max-width:620px}

/* Section head */
.section-head{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:flex-end;margin-bottom:40px}
.section-head .links{display:flex;flex-wrap:wrap;gap:8px 28px}

/* Cards */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:40px 28px}
.card-grid--large{grid-template-columns:repeat(auto-fill,minmax(min(100%,520px),1fr));gap:56px 28px}
@media (min-width:900px){.card-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}}
.card{display:flex;flex-direction:column;gap:6px;min-width:0}
.card .thumb{position:relative;display:block;overflow:hidden;border-radius:var(--radius);background:var(--surface);margin-bottom:10px}
.thumb--video{aspect-ratio:16/9}
.thumb--photo{aspect-ratio:3/2}
.card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card:hover .thumb img{transform:scale(1.03)}
.card-title{font-size:24px;font-weight:700;line-height:1.2;color:var(--text)}
.card:hover .card-title{color:var(--accent)}
.story-card--large .card-title{font-size:28px}
.card-text{font-size:18px;color:var(--soft);max-width:560px}
.card-more{font-size:17px;font-weight:700;color:var(--accent);padding-top:4px}
.play{position:absolute;left:50%;top:50%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;border:1.5px solid #fff;background:rgba(20,22,27,0.45)}
.play::after{content:"";position:absolute;left:22px;top:17px;border-style:solid;border-width:10px 0 10px 16px;border-color:transparent transparent transparent #fff}

/* Featured film */
.featured{position:relative;display:block;aspect-ratio:16/7;min-height:360px;width:100%;border-radius:var(--radius);background:var(--surface);overflow:hidden}
.featured img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.featured::after{content:"";position:absolute;inset:0;background:rgba(20,22,27,0.45)}
.featured .play{z-index:2;width:88px;height:88px;margin:-44px 0 0 -44px;background:var(--accent);border-color:var(--accent)}
.featured .play::after{left:36px;top:29px;border-width:15px 0 15px 24px;border-left-color:var(--ink)}
.featured-label{position:absolute;z-index:2;left:24px;top:24px}
.featured-body{position:absolute;z-index:2;left:24px;right:24px;bottom:24px;display:flex;flex-direction:column;gap:4px}
.featured-title{font-size:clamp(24px,3vw,34px);font-weight:700;line-height:1.15;color:var(--text)}
.featured .meta{color:var(--soft)}

/* Photography layout: category list at the side, pictures beside it */
.photo-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:start}
.photo-nav{position:sticky;top:32px}
.photo-nav ul{display:flex;flex-direction:column;gap:2px;text-align:right}
.photo-nav a{display:block;padding:9px 0;font-size:17px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase}
.photo-nav a.is-active{color:var(--accent)}
.story-tiles{display:flex;flex-direction:column;gap:28px}
.story-tile{position:relative;display:block;border-radius:var(--radius);overflow:hidden;background:var(--surface);min-height:120px}
.story-tile img{width:100%;transition:transform .6s ease}
.story-tile:hover img{transform:scale(1.02)}
.story-tile-title{position:absolute;left:16px;bottom:16px;padding:6px 12px;border-radius:4px;background:rgba(20,22,27,0.72);color:var(--text);font-size:16px;font-weight:700}
.story-tile:hover .story-tile-title{color:var(--accent)}
.photo-layout .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1100px){.photo-layout .photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:719px){
	.photo-layout{grid-template-columns:minmax(0,1fr)}
	.photo-nav{position:static}
	.photo-nav ul{flex-direction:row;flex-wrap:wrap;gap:0 22px;text-align:left}
	.photo-nav a{font-size:15px;padding:10px 0}
}

.am-diagnostics summary{cursor:pointer;font-weight:700}
.am-diagnostics{margin:12px auto;max-width:var(--wrap);padding:14px 18px;border:2px solid var(--accent);border-radius:var(--radius);background:#15171c;color:var(--text);font-size:15px;line-height:1.5;word-break:break-word}

/* Pills */
.pills{display:flex;flex-wrap:wrap;gap:10px}
.pill{display:inline-flex;align-items:center;min-height:44px;padding:9px 20px;border-radius:999px;border:1.5px solid var(--border);background:transparent;color:var(--text);font-size:16px;font-weight:700;cursor:pointer}
.pill:hover{border-color:var(--accent);color:var(--accent)}
.pill.is-active,.pill[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--ink)}

.pills--sub{margin-top:14px;gap:8px}
.pill--sub{min-height:38px;padding:6px 15px;font-size:14px;font-weight:500;border-color:var(--line);color:var(--soft)}
.pill--sub.is-active{background:transparent;border-color:var(--accent);color:var(--accent)}

/* About strip (home) */
.about-strip{display:flex;flex-wrap:wrap;gap:48px 72px;align-items:center}
.portrait{position:relative;flex:1 1 320px;max-width:440px}
.portrait-img{aspect-ratio:1/1;border-radius:50%;overflow:hidden;background:var(--surface)}
.portrait--tall .portrait-img{aspect-ratio:4/5;border-radius:var(--radius)}
.portrait-img img{width:100%;height:100%;object-fit:cover}
.script{position:absolute;left:0;bottom:-12px;font-family:"Caveat",cursive;font-weight:600;font-size:56px;line-height:1;color:var(--accent);transform:rotate(-6deg)}
.about-strip .body{flex:999 1 420px;min-width:0;display:flex;flex-direction:column;gap:28px;align-items:flex-start}
.about-strip .body p{font-size:21px;color:#e4e5ea;max-width:640px}
.clients{display:flex;flex-wrap:wrap;gap:14px 44px;font-size:22px;font-weight:500;color:#e4e5ea;margin-top:24px}

/* CTA band */
.cta{display:flex;flex-wrap:wrap;gap:32px 48px;justify-content:space-between;align-items:center;padding:clamp(40px,6vw,72px) clamp(24px,4vw,48px);border-radius:var(--radius);background:var(--accent);color:var(--ink)}
.cta-text{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:12px}
.cta h2{font-size:clamp(36px,5vw,60px);line-height:1.05;letter-spacing:-0.02em}
.cta p{font-size:20px;max-width:520px}
.cta-actions{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.cta-email{padding:10px 0;color:var(--ink);font-weight:700;text-decoration:underline}
.cta-email:hover{color:var(--ink);text-decoration:none}

/* Footer */
.site-footer{display:flex;flex-wrap:wrap;gap:20px 40px;justify-content:space-between;align-items:center;padding-block:56px 48px;font-size:16px;color:var(--muted)}
.site-footer .menu{display:flex;flex-wrap:wrap;gap:4px 26px}
.site-footer .menu a{display:block;padding:12px 0}
.site-footer .legal{display:flex;flex-wrap:wrap;gap:4px 26px;align-items:center}
.site-footer .legal a{color:var(--muted)}
.site-footer .legal a:hover{color:var(--accent)}

/* Page head */
.page-head{padding-top:clamp(32px,5vw,56px);display:flex;flex-direction:column;gap:16px}

/* Photo grids */
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.photo-grid .photo{margin:0}
.photo-grid .photo a{display:block;aspect-ratio:4/5;overflow:hidden;border-radius:var(--radius);background:var(--surface)}
.photo-grid .photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.photo-grid .photo a:hover img{transform:scale(1.03)}
.photo-grid figcaption{display:none}
@media (max-width:519px){.photo-grid{gap:8px}}
@media (min-width:1400px){.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.story-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 20px}
.story-photos .photo{margin:0;display:flex;flex-direction:column;gap:10px}
.story-photos .photo:nth-child(3n+1){grid-column:1/-1}
.story-photos .photo a{display:block;border-radius:var(--radius);overflow:hidden;background:var(--surface)}
.story-photos .photo img{width:100%}
.story-photos .photo:not(:nth-child(3n+1)) a{aspect-ratio:3/2}
.story-photos .photo:not(:nth-child(3n+1)) img{height:100%;object-fit:cover}
.story-photos figcaption{font-size:16px;color:var(--muted)}
@media (max-width:519px){.story-photos{grid-template-columns:minmax(0,1fr);gap:24px}.story-photos .photo:not(:nth-child(3n+1)) a{aspect-ratio:auto}}

.load-more{display:flex;justify-content:center;margin-top:40px}

/* Story page */
.story-head{display:flex;flex-wrap:wrap;gap:32px 72px;align-items:flex-end}
.story-head .title{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:14px}
.story-head .title h1{font-size:clamp(40px,5.5vw,76px);line-height:1.04}
.story-head .text{flex:1 1 420px;min-width:0}
.story-nav{display:flex;flex-wrap:wrap;gap:16px 40px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:32px}
.story-nav .next{font-size:24px;font-weight:700;color:var(--accent);text-align:right}

/* Prints strip */
.strip{display:flex;flex-wrap:wrap;gap:16px 40px;justify-content:space-between;align-items:center;padding-block:32px;border-block:1px solid var(--line)}
.strip strong{display:block;font-size:24px}
.strip span{color:var(--soft)}

/* Print sale */
.print-grid{columns:3 300px;column-gap:28px}
.print{margin:0 0 40px;break-inside:avoid;display:flex;flex-direction:column;gap:10px}
.print>a{display:block;border-radius:var(--radius);overflow:hidden;background:var(--surface)}
.print img{width:100%}
.print figcaption{display:flex;flex-wrap:wrap;gap:0 20px;justify-content:space-between;align-items:center}
.print-name{font-weight:700}
.print-info{max-width:760px;border-bottom:1px solid var(--line)}
.print-info li{padding:14px 0;border-top:1px solid var(--line);color:var(--soft)}

/* Prose (page and post content) */
.prose{max-width:760px;color:var(--soft)}
.prose--wide{max-width:none}
.prose>*+*{margin-top:1.2em}
.prose h2,.prose h3,.prose h4{color:var(--text);margin-top:1.8em}
.prose h2{font-size:clamp(30px,3.4vw,40px)}
.prose a{color:var(--accent);text-decoration:underline}
.prose a:hover{text-decoration:none}
.prose strong{color:var(--text)}
.prose ul,.prose ol{padding:0;border-bottom:1px solid var(--line)}
.prose li{padding:14px 0;border-top:1px solid var(--line);list-style:none}
.prose img{border-radius:var(--radius)}
.prose figure{margin-inline:0}
.prose figcaption{font-size:16px;color:var(--muted);margin-top:8px}
.prose blockquote{margin-inline:0;padding-left:24px;border-left:2px solid var(--accent);font-size:22px;color:var(--text)}
.prose iframe{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:var(--radius)}
.prose .wp-block-gallery,.prose .gallery{margin-inline:0}

/* About page */
.about-page{display:flex;flex-wrap:wrap;gap:56px 72px;align-items:flex-start}
.about-page .portrait{flex:1 1 360px;max-width:460px}
.about-page .portrait .script{left:auto;right:12px;bottom:-22px}
.about-page .body{flex:1.6 1 460px;min-width:0;display:flex;flex-direction:column;gap:32px}

.about-intro{max-width:660px}
.about-intro>p:first-child{font-size:23px;line-height:1.4;color:var(--text)}
.about-section{display:flex;flex-wrap:wrap;gap:32px 72px}
.about-section>h2{flex:1 1 280px;font-size:clamp(30px,3.4vw,40px)}
.about-section-body{flex:999 1 520px;min-width:0}
.year-list{border-bottom:1px solid var(--line)}
.year-list li{display:flex;gap:24px;padding:16px 0;border-top:1px solid var(--line)}
.year-list .year{flex:0 0 56px;font-weight:700;color:var(--accent)}
.year-list strong{color:var(--text)}
.year-list a{color:var(--text);text-decoration:underline}
.year-list a:hover{color:var(--accent)}
.brand-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
.brand-list li{padding:14px 0;border-top:1px solid var(--line);display:flex;flex-direction:column}
.brand-list span{font-size:16px;color:var(--muted)}
@media (max-width:519px){.brand-list{grid-template-columns:minmax(0,1fr)}}

/* Contact page */
.contact-grid{display:flex;flex-wrap:wrap;gap:56px 88px;align-items:flex-start}
.contact-form{flex:999 1 480px;min-width:0}
.contact-aside{flex:1 1 300px;min-width:0;border-bottom:1px solid var(--line)}
.contact-aside .block{padding:20px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.contact-aside .big{font-size:21px;font-weight:700}
.contact-aside .menu{display:flex;flex-wrap:wrap;gap:0 24px;font-weight:500}
.contact-aside .menu a{display:block;padding:10px 0}

/* Forms (Contact Form 7 and others) */
.contact-form p{margin:0 0 24px}
.contact-form label{display:block;font-size:16px;font-weight:700;color:var(--text)}
.contact-form .wpcf7-form-control-wrap{display:block;margin-top:8px}
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=number],textarea,select{width:100%;min-height:52px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--field);color:var(--text);font:inherit}
textarea{min-height:180px;resize:vertical}
input:focus,textarea:focus,select:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
input[type=submit],button[type=submit]{min-height:52px;padding:14px 34px;border-radius:999px;border:0;background:var(--accent);color:var(--ink);font:inherit;font-weight:700;cursor:pointer}
input[type=submit]:hover,button[type=submit]:hover{filter:brightness(1.08)}
.wpcf7-not-valid-tip{color:#ffb4a8;font-size:16px;margin-top:6px}
.wpcf7 form .wpcf7-response-output{margin:24px 0 0;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius)}
.wpcf7-spinner{margin-left:12px}

/* Comments */
#comments{max-width:760px;margin-top:56px;padding-top:40px;border-top:1px solid var(--line)}
#comments>h2,.comment-reply-title{font-size:28px;color:var(--text);margin:0}
#comments ol,#comments ul{border:0;margin:24px 0 40px}
#comments li{padding:20px 0;border-top:1px solid var(--line)}
#comments .children{margin:16px 0 0 24px}
.comment-meta{font-size:15px;color:var(--muted);margin-bottom:8px}
.comment-meta a{color:var(--muted);text-decoration:none}
.comment-author .avatar{display:inline-block;border-radius:50%;margin-right:10px;vertical-align:middle}
.comment-author .fn{color:var(--text);font-weight:700}
.comment-form{display:flex;flex-direction:column;gap:22px;margin-top:16px}
.comment-form p{margin:0}
.comment-form label{display:block;margin-bottom:8px;font-size:16px;font-weight:700;color:var(--text)}
.comment-form .required{color:var(--accent)}
.comment-form .comment-notes,.comment-form .logged-in-as{font-size:16px;color:var(--muted)}
.comment-form textarea{min-height:160px}
.comment-form-cookies-consent{display:flex;gap:10px;align-items:flex-start}
.comment-form-cookies-consent input{width:20px;height:20px;min-height:0;flex:0 0 20px;margin:3px 0 0;accent-color:var(--accent)}
.comment-form-cookies-consent label{margin:0;font-weight:400;color:var(--soft)}
.comment-form .form-submit{margin-top:10px}

/* Blog list */
.post-list{display:flex;flex-direction:column}
.post-list article{padding:28px 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.post-list h2{font-size:30px}
.pagination{margin-top:40px}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:10px}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border:1.5px solid var(--border);border-radius:999px;font-weight:700}
.pagination .current{background:var(--accent);border-color:var(--accent);color:var(--ink)}

/* Lightbox */
.am-lightbox{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:64px clamp(12px,4vw,72px);background:rgba(15,16,20,0.96)}
.am-lightbox figure{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:12px}
.am-lightbox img{max-width:100%;max-height:calc(100vh - 160px);object-fit:contain}
.am-lightbox figcaption{font-size:16px;color:var(--muted);text-align:center;max-width:760px}
.am-lightbox .frame{width:min(100%,calc((100vh - 140px) * 16 / 9));aspect-ratio:16/9;background:#000}
.am-lightbox iframe{width:100%;height:100%;border:0;display:block}
.am-lightbox button{position:absolute;min-width:48px;min-height:48px;border-radius:999px;border:1.5px solid var(--border);background:var(--bg);color:var(--text);font-size:22px;font-weight:700;line-height:1;cursor:pointer}
.am-lightbox button:hover{border-color:var(--accent);color:var(--accent)}
.am-lightbox .close{top:14px;right:14px}
.am-lightbox .prev{left:14px;top:50%;margin-top:-24px}
.am-lightbox .next{right:14px;top:50%;margin-top:-24px}
@media (max-width:719px){.am-lightbox .prev,.am-lightbox .next{top:auto;bottom:10px;margin:0}}

/* Social feed */
.social-feed{margin-top:8px}

/* Phones: smaller type so headlines do not crowd the screen */
@media (max-width:599px){
	body{font-size:16px}
	h1{font-size:34px;line-height:1.08}
	h2{font-size:27px}
	h3{font-size:21px}
	.lead,.hero-body .lead{font-size:16px}
	.kicker{font-size:12px}
	.hero{min-height:min(70vh,520px);padding:20px}
	.hero-body{gap:14px}
	.hero h1{font-size:32px}
	.btn{min-height:46px;padding:11px 20px;font-size:15px}
	.card-title{font-size:20px}
	.story-card--large .card-title{font-size:22px}
	.card-text{font-size:16px}
	.section-head{margin-bottom:24px}
	.about-strip .body p{font-size:17px}
	.about-intro>p:first-child{font-size:19px}
	.clients{font-size:17px;gap:10px 28px}
	.cta h2{font-size:28px}
	.cta p{font-size:16px}
	.story-head .title h1{font-size:32px}
	.story-nav .next{font-size:19px}
	.script{font-size:42px}
	.featured-title{font-size:21px}
	.pill{font-size:14px;padding:8px 16px;min-height:40px}
	.contact-aside .big{font-size:18px}
	.site-footer{font-size:15px}
}

@media (prefers-reduced-motion:reduce){.hero-video{display:none}*{transition:none!important;scroll-behavior:auto!important}}
