/* Shared styles for every page: header bar, dropdown menu, back-to-top arrow, contact drawer,
   and the base layout used by Portfolio, Design Principles and Brand Experiences. */
:root{
  --bg:#d9cfc5; --bar:rgba(184,167,154,.52); --media:#8a7566; --ink:#000;
  --u:clamp(0.75px, calc(100vw / 1280), 1.5px);   /* 1 design pixel: 1.5px at 1920 wide */
}
*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--bg);font-family:'Roboto',system-ui,sans-serif;color:var(--media);-webkit-font-smoothing:antialiased}

/* Header bar */
.bar{position:sticky;top:calc(20*var(--u));z-index:20;margin:calc(20*var(--u));height:calc(46.667*var(--u));background:var(--bar);border-radius:calc(10*var(--u));
     display:flex;align-items:center;justify-content:space-between;padding:0 calc(30*var(--u)) 0 calc(50*var(--u));
     -webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}   /* frosted glass */
.brand{color:#fff;font-weight:700;font-size:calc(18*var(--u));text-decoration:none}
.bar-right{display:flex;align-items:center;gap:calc(42*var(--u))}
.icons{display:flex;align-items:center;gap:calc(42*var(--u))}
.icons a{display:block;line-height:0;transition:opacity .2s}
.icons a:hover svg{opacity:.75}
.icons .li{width:calc(27.2*var(--u));height:calc(27.2*var(--u))}
.icons .mail{width:calc(34.2*var(--u));height:calc(24.9*var(--u))}

/* Dropdown menu */
.menu{position:relative}
.menu-btn{display:flex;align-items:center;gap:8px;background:none;border:0;color:#fff;font:500 calc(16*var(--u)) 'Roboto',system-ui,sans-serif;
          letter-spacing:.04em;cursor:pointer;padding:6px 4px}
.menu-btn svg{width:12px;height:12px;transition:transform .25s}
.menu.open .menu-btn svg{transform:rotate(180deg)}
.menu-list{position:absolute;right:0;top:calc(100% + 14px);min-width:220px;list-style:none;background:#f6f1eb;border-radius:10px;padding:8px;
           box-shadow:0 12px 32px -8px rgba(0,0,0,.25);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s,transform .2s,visibility .2s}
.menu.open .menu-list{opacity:1;visibility:visible;transform:none}
.menu-list a,.menu-list button{display:block;width:100%;text-align:left;padding:10px 14px;border-radius:6px;color:#3b302a;text-decoration:none;
           font:400 15px 'Roboto',system-ui,sans-serif;background:none;border:0;cursor:pointer}
.menu-list a:hover,.menu-list button:hover{background:#e7ddd3}
.menu-list a[aria-current="page"]{font-weight:500;color:#000}
.menu-list .sub-row{display:flex;align-items:center}
.menu-list .sub-row a{flex:1}
.menu-list .sub-toggle{width:auto;flex:none;padding:10px 12px;display:flex;align-items:center;color:#8a7566}
.menu-list .sub-toggle svg{width:11px;height:11px;transition:transform .25s}
.menu-list .sub{list-style:none;margin:0 0 0 14px;padding-left:10px;border-left:1px solid #d8ccc0;
                max-height:0;overflow:hidden;opacity:0;transition:max-height .3s ease,opacity .25s ease,margin .3s ease}
.menu-list .has-sub.open .sub{max-height:320px;opacity:1;margin-bottom:4px}
.menu-list .has-sub.open .sub-toggle svg{transform:rotate(180deg)}
@media (hover:hover){
  .menu-list .has-sub:hover .sub{max-height:320px;opacity:1;margin-bottom:4px}
  .menu-list .has-sub:hover .sub-toggle svg{transform:rotate(180deg)}
}
.menu-list .sub a{padding:6px 12px;font-size:.88em;color:#6f5f53}

/* Back-to-top arrow */
.to-top{position:fixed;left:50%;bottom:24px;z-index:30;width:48px;height:48px;margin-left:-24px;border-radius:50%;border:0;cursor:pointer;
        background:rgba(138,117,102,.9);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px -6px rgba(0,0,0,.35);
        opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .3s,transform .3s,visibility .3s,background .2s}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:#6f5c4f}
.to-top svg{width:20px;height:20px}

/* Contact tab on the right rail + slide-out drawer */
.contact-tab{position:fixed;right:0;top:50%;z-index:30;transform:translateY(-50%);border:0;cursor:pointer;background:var(--media);color:#fff;
             border-radius:10px 0 0 10px;padding:14px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;
             box-shadow:-4px 6px 18px -8px rgba(0,0,0,.35);transition:background .2s,padding .2s}
.contact-tab:hover{background:#6f5c4f;padding-right:16px}
.contact-tab svg{width:22px;height:22px}
.contact-tab span{writing-mode:vertical-rl;transform:rotate(180deg);font:500 12px 'Roboto',system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.scrim{position:fixed;inset:0;z-index:40;background:rgba(30,22,17,.35);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.drawer{position:fixed;top:0;right:0;bottom:0;z-index:41;width:min(420px,100vw);background:#f6f1eb;padding:32px 32px 40px;overflow-y:auto;
        transform:translateX(100%);transition:transform .45s cubic-bezier(.2,.7,.2,1);box-shadow:-20px 0 50px -20px rgba(0,0,0,.35)}
body.drawer-open .drawer{transform:none}
body.drawer-open .scrim{opacity:1;visibility:visible}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.drawer h2{color:#000;font-weight:500;font-size:28px;letter-spacing:-.02em}
.drawer .close{background:none;border:0;cursor:pointer;font-size:28px;line-height:1;color:#5a4a3f;padding:4px 8px}
.drawer .intro{color:#6f5c4f;font-size:15px;line-height:1.5;margin-bottom:24px}
.drawer label{display:block;color:#3b302a;font-size:13px;font-weight:500;letter-spacing:.04em;margin:16px 0 6px}
.drawer input,.drawer textarea{width:100%;font:16px 'Roboto',system-ui,sans-serif;color:#000;background:#fff;border:1px solid #d6c9bd;border-radius:8px;padding:12px 14px}
.drawer input:focus,.drawer textarea:focus{outline:2px solid var(--media);outline-offset:1px;border-color:transparent}
.drawer textarea{min-height:140px;resize:vertical}
.drawer .send{margin-top:24px;width:100%;padding:14px;border:0;border-radius:999px;background:var(--media);color:#fff;font:500 15px 'Roboto',system-ui,sans-serif;cursor:pointer}
.drawer .send:hover{background:#6f5c4f}
.drawer .status{margin-top:16px;font-size:14px;line-height:1.5;color:#5a4a3f}
.drawer .status a{color:inherit}

/* Shared page layout (Portfolio, Principles, Brands, Home) */
h1.title{position:relative;z-index:3;white-space:nowrap;color:var(--ink);font-weight:500;font-size:calc(32*var(--u));letter-spacing:-.025em;text-align:center;margin:calc(46.667*var(--u)) 0 calc(46.667*var(--u))}
.section{position:relative}
.head{text-align:center;padding:calc(80*var(--u)) 20px calc(10*var(--u))}
.head h2{color:var(--ink);font-weight:500;font-size:calc(44*var(--u));letter-spacing:-.02em}
.head .roles{margin-top:10px;font-size:calc(16*var(--u));letter-spacing:.04em}
.divider{text-align:center;padding:calc(140*var(--u)) 20px calc(20*var(--u))}
.divider h2{color:var(--ink);font-weight:500;font-size:calc(32*var(--u));letter-spacing:-.02em}
.divider p{margin-top:14px;font-size:calc(20*var(--u));font-style:italic}
.stage{position:sticky;top:0;z-index:2;background:var(--bg);padding-top:calc(86.667*var(--u))}
.media{margin:0 calc(50*var(--u));height:min(calc(448*var(--u)),52vh);background:var(--media);border-radius:calc(10*var(--u));position:relative;overflow:hidden}
.media .photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1s ease-in-out}
.media .photo.show{opacity:1}
/* Photo galleries: each photo is shown at its full height and scrolls through the box top to bottom */
.media .gphoto{position:absolute;left:0;top:0;width:100%;height:auto;min-height:130%;object-fit:cover;opacity:0;
               translate:0 var(--pan,0px);transition:opacity 1s ease-in-out}
.media .gphoto.show{opacity:1}
@media (prefers-reduced-motion:reduce){.media .gphoto{transition:opacity .4s}}
/* A looping clip inside a gallery fills the box exactly (no drift) */
.media .gphoto.vid{height:100%;min-height:0}
.video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000}
.play{position:absolute;inset:0;margin:auto;width:calc(96*var(--u));height:calc(96*var(--u));border-radius:50%;border:2px solid #fff;background:rgba(0,0,0,.25);
      cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,transform .2s}
.play:hover{background:rgba(0,0,0,.45);transform:scale(1.05)}
.play svg{width:34%;height:34%;fill:#fff;margin-left:6%}
.video.playing .play{display:none}
.copy{position:relative;z-index:1;max-width:calc(1010*var(--u));margin:0 auto;padding:calc(105*var(--u)) 20px 45vh;text-align:center;font-size:calc(18*var(--u));line-height:calc(28*var(--u))}
.copy > * + *{margin-top:50px}
.copy h3{color:var(--ink);font-weight:500;font-size:calc(22*var(--u));margin-bottom:-38px}
#capital-group .copy > h3,#ford .copy > h3,#universal-audio .copy > h3,#tech-interactive .copy > h3,#carmax .copy > h3{margin-top:calc(140*var(--u))}   /* more room between phases */
/* Production Design stays put just under the picture box while the four renders play through */
#ford .copy > .hold{position:relative;height:200vh;margin-top:calc(140*var(--u))}
#ford .hold-in{position:sticky;top:var(--below-box,60vh)}
#ford .hold-in > * + *{margin-top:50px}
#ford .hold .mark{position:absolute;left:0;width:1px;height:1px}
.copy .problem{color:var(--ink);font-size:calc(22*var(--u));line-height:1.45;font-style:italic}
.copy ul{list-style:none}
.copy li + li{margin-top:10px}
.copy dl{display:grid;gap:12px}
.copy dt{color:var(--ink);font-weight:500}
.copy dd + dt{margin-top:10px}
.story .copy{padding-bottom:16vh}
/* Storytelling: the video title rides along with its box while the details scroll behind */
.titled .copy{padding-bottom:40vh}   /* room for the last paragraph to play out before the next company */
.story.titled .copy{padding-bottom:30vh}
.titled .stage .head{padding:0 20px calc(20*var(--u))}
.titled .media{height:min(calc(448*var(--u)),44vh)}

/* Pinned pages (Design Principles): title and picture box stay fixed; only the text scrolls */
.pin-page .stage h1{color:var(--ink);font-weight:500;font-size:calc(32*var(--u));letter-spacing:-.025em;text-align:center;margin:0 0 calc(10.667*var(--u))}
.pin-page .media{height:min(calc(448*var(--u)),44vh)}
.pin-page .stage::after{content:'';position:absolute;left:0;right:0;top:100%;height:calc(48*var(--u));background:linear-gradient(var(--bg),rgba(217,207,197,0));pointer-events:none}
.pin-page .copy{padding-top:calc(52.5*var(--u));padding-bottom:30vh}
.pin-page .copy h3{font-size:calc(24*var(--u))}
/* One-line lists with dividers (Team focus, Accomplishments) */
.nw{white-space:nowrap}.sep{margin:0 .7em;opacity:.7}
@media (max-width:560px){.nw{white-space:normal}}
/* No widows: browsers that support it balance the last line so it never holds a single word */
p,li,dd,blockquote,.card span{text-wrap:pretty}
.reveal{opacity:0;transform:translateY(16px);transition:opacity .8s ease,transform .8s ease}
.reveal.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .drawer,.menu-list,.to-top{transition:none}
}
@media (max-width:900px){
  h1.title{font-size:24px;margin:24px 0 12px}
  .pin-page .stage h1{font-size:24px;margin:0 0 8px}
  .pin-page .copy h3{font-size:20px}
  .pin-page .copy{padding-top:28px}
  .pin-page .stage::after{height:22px}
  .head h2{font-size:34px}
  .divider h2{font-size:24px}
  .stage{padding-top:84px}
  .media{margin:0 24px;height:min(42vw,40vh)}
  .copy{font-size:17px;line-height:27px;max-width:none;padding:56px 32px 45vh}
  .copy h3{font-size:19px}
  .play{width:72px;height:72px}
  .menu-btn{font-size:14px}
}
@media (max-width:560px){
  .bar{margin:12px;top:12px;height:42px;padding:0 16px 0 20px}
  .brand{font-size:15px}
  .bar-right,.icons{gap:18px}
  .icons .li{width:22px;height:22px}
  .icons .mail{width:27px;height:20px}
  .menu-btn span{display:none}
  .menu-btn svg{width:16px;height:16px}
  h1.title{font-size:18px;margin:16px 0 8px;white-space:normal;text-wrap:balance;padding:0 16px}
  .pin-page .stage h1{font-size:18px;margin:0 0 6px;text-wrap:balance;padding:0 16px}
  .pin-page .media{height:min(56vw,30vh)}
  .pin-page .copy{padding-top:20px}
  .pin-page .stage::after{height:14px}
  .head h2{font-size:28px}
  .head .roles{font-size:13px}
  .divider h2{font-size:18px}
  .stage{padding-top:66px}
  .media{margin:0 12px;height:min(56vw,34vh)}
  .copy{font-size:16px;line-height:26px;padding:40px 20px 40vh}
  .play{width:60px;height:60px}
  .contact-tab{padding:12px 9px}
  .contact-tab span{display:none}
  .to-top{width:44px;height:44px;margin-left:-22px;bottom:16px}
}

/* ---------- Leadership: Accomplishments honeycomb ---------- */
.media .gphoto.fit{height:100%;min-height:0}
.media .gphoto.fit img{width:100%;height:100%;object-fit:contain;display:block}
.media .gphoto.blank{background:none}
.media .gphoto.honey{background:#efedea}
.acc-box svg{position:absolute;inset:0;width:100%;height:100%}
/* Each item reserves its bold width, so bolding one never reflows the line */
.acc-item{display:inline-grid;transition:color .3s}
.acc-item::after{content:attr(data-text);font-weight:700;height:0;visibility:hidden;overflow:hidden;user-select:none}
.acc-item.on{font-weight:700;color:#3E3029}
@media (max-width:560px){.acc-text .sep{display:none}.acc-item{display:grid;margin:.45em 0}}

/* ---------- My Design Methodology: one paragraph, so give the 5D graphic room to drift ---------- */
.method .copy{padding-top:18vh}
.method .copy p{font-size:1.06em}
@media (max-width:560px){
  .method .media{height:auto;aspect-ratio:2.1}
  .method .media .gphoto{min-height:112%}
}

/* ---------- Portfolio: thin divider above each company name ---------- */
.section.titled:not(.story)[id] .stage .head{position:relative;padding-top:calc(22*var(--u))}
.section.titled:not(.story)[id] .stage .head::before{content:'';opacity:var(--line,1);position:absolute;top:0;left:calc(50*var(--u));right:calc(50*var(--u));height:1px;background:#8A7566}
@media (max-width:900px){.section.titled:not(.story)[id] .stage .head{padding-top:16px}.section.titled:not(.story)[id] .stage .head::before{left:24px;right:24px}}
@media (max-width:560px){.section.titled:not(.story)[id] .stage .head{padding-top:12px}.section.titled:not(.story)[id] .stage .head::before{left:12px;right:12px}}
#capital-group .copy{padding-bottom:max(60px, calc(40vh - 200px))}   /* tighter hand-off from Capital Group to Ford */
#ford .copy{padding-bottom:max(60px, calc(40vh - 200px))}   /* tighter hand-off from Ford to Universal Audio */
#universal-audio .copy,#tech-interactive .copy,#carmax .copy{padding-bottom:max(60px, calc(40vh - 200px))}   /* tighter hand-offs between companies */
/* Storytelling: every video placeholder is 16:9 (1920x1080), as large as fits under its title */
.story .media{height:auto;aspect-ratio:16/9;margin:0 auto;width:min(calc(100% - 100*var(--u)), calc((100vh - 250*var(--u) - 60px) * 16 / 9))}
.story .media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (max-width:900px){.story .media{width:min(calc(100% - 48px), calc((100vh - 230px) * 16 / 9))}}
@media (max-width:560px){.story .media{width:calc(100% - 24px)}}
/* Menu sits in the middle of the header bar, and its dropdown opens centered beneath it */
.bar .menu{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.menu-list{right:auto;left:50%;transform:translate(-50%,-6px)}
.menu.open .menu-list{transform:translate(-50%,0)}
/* Dropdown text centered; Portfolio's arrow sits at the right edge so it doesn't pull "Portfolio" off center */
.menu-list a,.menu-list button{text-align:center}
.menu-list .sub-row{position:relative;display:block}
.menu-list .sub-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%)}
.menu-list .sub{margin-left:0;padding-left:0;border-left:0}
.menu-list .sub li{position:relative}
/* Portfolio's arrow sits right next to the word; the pair is centered and highlights together */
.menu-list .sub-row{display:flex;justify-content:center;align-items:center;border-radius:6px}
.menu-list .sub-row:hover{background:#e7ddd3}
.menu-list .sub-row a{flex:0 0 auto;width:auto;padding-right:2px}
.menu-list .sub-row a:hover{background:none}
.menu-list .sub-toggle{position:static;transform:none;padding:10px 6px}
.menu-list .sub-toggle:hover{background:none}
.menu-list{padding-bottom:28px}   /* extra 20px under the last item, Brand Experiences */
.menu-list a,.menu-list button,.menu-list .sub a,.menu-list a[aria-current="page"]{color:#8A7566}
/* When the Portfolio list is open, leave 20px after Storytelling before Brand Experiences */
.menu-list .has-sub.open .sub{margin-bottom:24px;max-height:400px}
@media (hover:hover){.menu-list .has-sub:hover .sub{margin-bottom:24px;max-height:400px}}

/* ---------- Storytelling: title pinned at the top, videos scroll beneath it ---------- */
.story-wrap{margin-top:calc(53.333*var(--u))}
.story-title{position:sticky;top:0;z-index:4;background:var(--bg);text-align:center;color:var(--ink);font-weight:500;
             font-size:calc(32*var(--u));line-height:1.2;letter-spacing:-.025em;padding:calc(86.667*var(--u)) 20px calc(10.667*var(--u))}
.story-wrap .story .stage{padding-top:calc(135.733*var(--u))}
@media (max-width:900px){
  .story-wrap{margin-top:40px}
  .story-title{font-size:24px;padding:84px 20px 8px}
  .story-wrap .story .stage{padding-top:121px}
}
@media (max-width:560px){
  .story-wrap{margin-top:30px}
  .story-title{font-size:18px;padding:66px 16px 6px}
  .story-wrap .story .stage{padding-top:94px}
}
/* Roboto everywhere: form controls and SVG labels don't inherit the page font by default */
button,input,select,textarea,optgroup{font-family:inherit}
svg text{font-family:'Roboto',system-ui,sans-serif}

/* Leadership graphics: fill the space around each graphic with its own edge colors, so it reads as one seamless image.
   Wide box: extend the left and right edges sideways. Narrow box (phones/tablets): extend the top and bottom edges. */
.media.plates{container-type:size}
.media.plates .gphoto.fit{background:linear-gradient(180deg,#ffffff 0%,#ffffff 12%,#ffffff 25%,#ffffff 38%,#fffefe 50%,#fcfcfb 62%,#faf9f8 75%,#f8f6f5 88%,#f6f4f1 100%) left/50.5% 100% no-repeat,linear-gradient(180deg,#ede9e5 0%,#ebe7e2 12%,#e9e4de 25%,#e7e1db 38%,#e5dfd8 50%,#e2dcd4 62%,#e0d9d1 75%,#ded7ce 88%,#dcd4cb 100%) right/50.5% 100% no-repeat}
@container (max-aspect-ratio: 8/3){
  .media.plates .gphoto.fit{background:linear-gradient(90deg,#ffffff 0%,#ffffff 12%,#ffffff 25%,#fefdfd 38%,#faf9f8 50%,#f7f5f3 62%,#f4f1ee 75%,#f1edea 88%,#ede9e5 100%) top/100% 50.5% no-repeat,linear-gradient(90deg,#f6f4f1 0%,#f3f0ed 12%,#efece8 25%,#ece8e3 38%,#e9e4de 50%,#e6e0d9 62%,#e2dcd4 75%,#dfd8d0 88%,#dcd4cb 100%) bottom/100% 50.5% no-repeat}
}

/* Accomplishments graphic: the five hexagons are separate layers on top of the graphic.
   The active one swells over 2s (ease-out) and settles back when the next one starts. */
.acc-art .acc-frame{position:absolute;left:0;top:0;transform-origin:0 0;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.media .gphoto.fit .acc-frame img{object-fit:fill}
.acc-art .acc-base{position:absolute;inset:0;width:100%;height:100%;display:block}
.acc-art .acc-hex{position:absolute;display:block;z-index:1;transform-origin:50% 50%;
  transition:transform 2s cubic-bezier(.16,1,.3,1),filter 2s cubic-bezier(.16,1,.3,1)}
.acc-art .acc-hex.on{z-index:2;transform:scale(1.15);filter:drop-shadow(0 12px 18px rgba(62,48,41,.28))}
@media (prefers-reduced-motion:reduce){.acc-art .acc-hex,.acc-art .acc-frame{transition-duration:.01s}}

/* Resume icon: tooltip on hover, opens a preview window with Download / Open in PDF viewer */
.icons svg{transition:opacity .2s}
.resume-link{position:relative}
.resume-link::after{content:attr(data-tip);position:absolute;top:calc(100% + 16px);left:50%;translate:-50% -4px;
  background:#3e3029;color:#f2eee8;font:500 13px/1 'Roboto',system-ui,sans-serif;letter-spacing:.01em;white-space:nowrap;
  padding:9px 12px;border-radius:7px;box-shadow:0 6px 18px rgba(62,48,41,.22);opacity:0;pointer-events:none;transition:opacity .2s,translate .2s}
.resume-link::before{content:'';position:absolute;top:calc(100% + 10px);left:50%;translate:-50% -4px;border:6px solid transparent;border-top:0;border-bottom-color:#3e3029;opacity:0;transition:opacity .2s,translate .2s}
.resume-link:hover::after,.resume-link:focus-visible::after,.resume-link:hover::before,.resume-link:focus-visible::before{opacity:1;translate:-50% 0}
@media (hover:none){.resume-link::after,.resume-link::before{display:none}}

.pdf-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;
  background:rgba(62,48,41,.55);backdrop-filter:blur(3px);opacity:0;transition:opacity .25s}
.pdf-modal.open{opacity:1}
.pdf-panel{width:min(920px,100%);height:min(92vh,1200px);background:#f2eee8;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 24px 60px rgba(30,20,15,.35);translate:0 12px;transition:translate .25s}
.pdf-modal.open .pdf-panel{translate:0 0}
.pdf-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 14px 22px;background:#d8cfc5;flex-wrap:wrap}
.pdf-title{font:500 16px 'Roboto',system-ui,sans-serif;color:#3e3029}
.pdf-actions{display:flex;align-items:center;gap:10px}
.pdf-btn{white-space:nowrap;display:inline-flex;align-items:center;gap:8px;font:500 14px 'Roboto',system-ui,sans-serif;text-decoration:none;border-radius:999px;padding:9px 16px;
  background:#3e3029;color:#f2eee8;transition:background .2s}
.pdf-btn:hover{background:#5b463d}
.pdf-btn.ghost{background:transparent;color:#3e3029;box-shadow:inset 0 0 0 1.5px #8a7567}
.pdf-btn.ghost:hover{background:rgba(255,255,255,.4)}
.pdf-btn svg{width:16px;height:16px}
.pdf-close{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#3e3029;font-size:26px;line-height:1;cursor:pointer}
.pdf-close:hover{background:rgba(255,255,255,.45)}
.pdf-pages{flex:1;overflow:auto;padding:22px;display:flex;flex-direction:column;align-items:center;gap:18px;background:#e7e1d9;overscroll-behavior:contain}
.pdf-pages img{width:100%;max-width:820px;height:auto;display:block;background:#fff;box-shadow:0 4px 16px rgba(62,48,41,.18);border-radius:3px}
@media (max-width:560px){.pdf-modal{padding:0}.pdf-panel{height:100%;border-radius:0}.pdf-head{padding:10px 10px 10px 16px}
  .pdf-title{width:100%;order:0}.pdf-actions{width:100%;justify-content:space-between}.pdf-btn{padding:8px 14px;font-size:14px}.pdf-btn .long{display:none}.pdf-actions{justify-content:flex-start}.pdf-close{margin-left:auto}.pdf-pages{padding:12px;gap:12px}}
/* Resume icon (Marq's SVG, white line art on the header bar) */
.icons .resume-ico{display:block;width:calc(26.25*var(--u));height:calc(30*var(--u))}
@media (max-width:900px){.icons .resume-ico{width:21px;height:24px}}
/* Dropdown: rollover text turns black; Portfolio sub-list 2pt smaller (14px -> 12px) */
.menu-list a:hover,.menu-list button:hover,.menu-list .sub-row:hover a,.menu-list .sub-row:hover .sub-toggle,.menu-list .sub a:hover{color:#000}
.menu-list .sub a{font-size:12px}

/* Storytelling players (Bunny Stream / YouTube) fill the 16:9 box; the play button sits on top until tapped */
.story .media.video iframe,.story .media.video .vthumb{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;object-fit:cover;background:#000}
.story .media.video .play{z-index:2}
.story .media.video:not(.playing) iframe{pointer-events:none}

/* Contact form spam trap: hidden from people, visible to bots */
.drawer .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
