/*
Theme Name: Designe'Chi Portfolio
Theme URI: https://ibrahimjoseph.com
Author: Ibrahim Joseph
Author URI: https://ibrahimjoseph.com
Description: A precision portfolio theme for Chiehiura Basil (Designe'Chi) — converted from a bespoke HTML/CSS design. DM Sans body, DM Mono labels, Playfair Display italic accents. Warm parchment palette, deep violet accent, exact source tokens throughout.
Version: 2.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: designechi
Tags: portfolio, one-page, custom-colors, custom-logo, custom-menu, translation-ready, accessibility-ready
*/

/* ============================================================
   TOKENS — verbatim from source HTML
   ============================================================ */
:root{--bg:#f2f1ee;--paper:#fbfaf8;--ink:#141414;--muted:#65635f;--line:#d8d6d1;--accent:#5430cc;--yellow:#f5df67}
.dark{--bg:#191917;--paper:#232320;--ink:#f4f2ee;--muted:#b8b5af;--line:#3c3b37;--accent:#ad96ff}
.dark .dark-btn{background:#f4f2ee;color:#171717}
.dark .portrait{background:#c7bbff}
.dark .contact{background:#5637c8}

/* ============================================================
   BASE — verbatim from source
   ============================================================ */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;transition:.35s background,color}
/* Zero the default rhythm for theme chrome only — long-form WP content
   keeps its margins via .entry-content further down. */
header,main,footer,section,
h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd{margin:0}
a{text-decoration:none;color:inherit}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}
input,select,textarea{font:inherit}
img,svg,video{max-width:100%}
img{height:auto}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}

/* ============================================================
   HEADER — verbatim from source
   ============================================================ */
/* Gutter matches the 1240px content column so the logo/nav line up with
   every section below, instead of hugging the viewport edge on wide screens. */
header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 max(44px,calc((100vw - 1240px)/2 + 44px));position:sticky;top:0;z-index:5;background:var(--bg);border-bottom:1px solid var(--line);transition:background .35s}
.logo{font-size:19px;font-weight:700;letter-spacing:-1px;color:var(--ink)}
.logo i{color:var(--accent);font-family:serif;font-style:italic}
nav{display:flex;align-items:center;gap:38px;font-size:14px;font-weight:500}
/* wp_nav_menu emits bare <li> items — keep them from rendering as a list */
nav ul,nav li{list-style:none;margin:0;padding:0;display:contents}
nav a{color:var(--ink);transition:color .2s}
nav a:hover,nav a.active,nav .current-menu-item>a{color:var(--accent)}
.hdr-right{display:flex;align-items:center;gap:20px}
.theme-btn{background:transparent;padding:5px;display:grid;place-items:center;color:var(--ink)}
.talk{display:inline-flex;align-items:center;gap:9px;border-radius:99px;padding:12px 19px;font-size:14px;font-weight:600;background:var(--accent);color:#fff;transition:transform .15s,box-shadow .15s}
.talk:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(84,48,204,.28);color:#fff}
.mobile-menu{display:none;background:none;border:0;color:var(--ink)}

/* ============================================================
   LAYOUT
   ============================================================ */
.section{max-width:1240px;margin:auto;padding-left:44px;padding-right:44px}
.eyebrow{text-transform:uppercase;letter-spacing:1.4px;font:500 11px 'DM Mono',monospace;color:var(--muted);margin:0 0 17px;display:block}

/* ============================================================
   HERO — verbatim from source
   ============================================================ */
.hero{min-height:calc(100svh - 78px);text-align:center;display:flex;flex-direction:column;align-items:center;padding-top:53px;position:relative;overflow:hidden}
.hero-blob{width:660px;height:540px;position:absolute;top:0;border-radius:50%;background:radial-gradient(ellipse at 50% 35%,#d9d4eb 0%,#e9e7e8 47%,transparent 70%);z-index:0;pointer-events:none}
.dark .hero-blob{opacity:.28}
/* Only the flow content is lifted — the blob and the frame stay absolute.
   (Without the :not() they'd inherit position:relative and drop into flow.) */
.hero>*:not(.hero-blob):not(.hero-frame){position:relative;z-index:1}
.availability{padding:9px 14px;border:1px solid var(--line);background:color-mix(in srgb,var(--paper) 75%,transparent);border-radius:30px;font-size:13px;display:inline-flex;align-items:center;gap:7px;box-shadow:0 3px 9px rgba(0,0,0,.04)}
.availability span{height:7px;width:7px;border-radius:9px;display:inline-block;background:#63d476;flex-shrink:0}
.hero .eyebrow{margin-top:53px}
.hero h1{font-size:clamp(58px,8.8vw,110px);line-height:.89;letter-spacing:-.085em;margin:0;max-width:900px}
h1 em,h2 em{font-family:'Playfair Display',serif;color:var(--accent);letter-spacing:-.08em;font-style:italic}
.intro{max-width:495px;color:var(--muted);font-size:18px;line-height:1.45;margin:31px 0 26px}
.hero-cta{display:flex;gap:21px;align-items:center;flex-wrap:wrap;justify-content:center;margin-bottom:38px}
.button{display:inline-flex;align-items:center;gap:9px;border-radius:99px;padding:12px 19px;font-size:14px;font-weight:600;transition:transform .15s,box-shadow .15s}
.dark-btn{background:var(--ink);color:var(--bg)}
.dark-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.18)}
.text-link{display:inline-flex;gap:7px;align-items:center;font-size:14px;font-weight:600;color:var(--ink)}
.text-link:hover{color:var(--accent)}
/* auto pins the rule to the bottom of the viewport-tall hero; the min-height
   (not a fixed height) lets it grow instead of clipping on short screens */
.hero-bottom{border-top:1px solid var(--line);width:100%;margin-top:auto;padding:20px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:12px;text-align:left}
.hero-bottom b{font-size:14px;margin-left:14px;color:var(--ink)}
.hero-bottom a{display:flex;align-items:center;gap:7px;color:var(--muted);white-space:nowrap}
.hero-bottom a:hover{color:var(--accent)}

/* ============================================================
   HERO FRAME + CURSOR
   ============================================================ */
.hero-frame{position:absolute;z-index:0;inset:38px 8.5% 55px;border:1px dashed #1677ff;pointer-events:none}
.frame-handle{position:absolute;width:9px;height:9px;background:#1677ff;box-shadow:0 0 0 2px color-mix(in srgb,var(--bg) 85%,transparent)}
.handle-tl{left:-5px;top:-5px}.handle-tc{left:calc(50% - 4px);top:-5px}.handle-tr{right:-5px;top:-5px}.handle-ml{left:-5px;top:calc(50% - 4px)}.handle-mr{right:-5px;top:calc(50% - 4px)}.handle-bl{left:-5px;bottom:-5px}.handle-bc{left:calc(50% - 4px);bottom:-5px}.handle-br{right:-5px;bottom:-5px}
.frame-cursor{position:absolute;right:-34px;bottom:-35px;color:#1677ff;filter:drop-shadow(0 2px 1px #ffffff99);transform:rotate(-14deg)}
.dark .hero-frame{border-color:#73a9ff}.dark .frame-handle{background:#73a9ff}.dark .frame-cursor{color:#73a9ff}

/* ============================================================
   ABOUT — verbatim from source
   ============================================================ */
.about{display:grid;grid-template-columns:1fr 1fr;gap:11vw;padding-top:110px;padding-bottom:130px;max-width:1240px;margin:auto;padding-left:44px;padding-right:44px}
.portrait{height:510px;background:#d0c8f4;position:relative;overflow:hidden;border-radius:2px}
/* Fixed ink: the portrait tile stays a light lavender in dark mode, so
   var(--ink) would flip to near-white and vanish. */
.portrait-label{position:absolute;top:19px;left:20px;font:11px 'DM Mono',monospace;z-index:2;color:#241a4d}
.portrait-shape{width:440px;height:440px;background:#3c269f;border-radius:48% 52% 30% 70%;transform:rotate(-20deg);position:absolute;left:-68px;bottom:-129px;display:grid;place-items:center}
.portrait-shape span{font-size:140px;font-weight:700;color:#f3eece;letter-spacing:-20px;transform:rotate(20deg);margin-left:-20px;font-family:'DM Sans',sans-serif}
/* Biased left of centre: the subject sits off-centre, so a width crop at
   narrower column widths keeps her in frame. */
.portrait-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:40% 30%}
/* Photo variant — scrim keeps the corner label legible over any image */
.portrait--photo:before{content:'';position:absolute;inset:0 0 auto;height:32%;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(8,6,18,.5),transparent)}
.portrait--photo .portrait-label{color:#fff}
.years{position:absolute;right:20px;bottom:20px;background:var(--paper);padding:14px 18px;min-width:134px}
.years strong{font-size:34px;line-height:1;display:block;letter-spacing:-2px}
.years sup{color:var(--accent)}
.years small{font-size:11px;color:var(--muted);font-family:'DM Mono',monospace}
.about-copy{padding-top:45px}
.about-copy h2{font-size:clamp(43px,5.2vw,68px);line-height:.96;letter-spacing:-.07em}
.about-copy>p:not(.eyebrow){color:var(--muted);font-size:16px;line-height:1.6;max-width:450px;margin:29px 0}
.capabilities{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 32px}
.capabilities span{font:11px 'DM Mono',monospace;border:1px solid var(--line);padding:7px 9px;border-radius:2px;color:var(--ink)}

/* ============================================================
   SERVICES — verbatim from source
   ============================================================ */
.services{border-top:1px solid var(--line);padding-top:106px;padding-bottom:130px;max-width:1240px;margin:auto;padding-left:44px;padding-right:44px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:65px}
.section-head h2{font-size:clamp(43px,5.2vw,68px);line-height:.96;letter-spacing:-.07em}
.section-head>p{color:var(--muted);max-width:300px;line-height:1.5;font-size:15px}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.service-card{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px;position:relative;transition:.25s;min-height:250px}
.service-card:hover{background:var(--paper);transform:translateY(-3px)}
.service-icon{color:var(--accent);font-size:24px;display:block;margin-bottom:0}
.service-no{position:absolute;right:22px;top:22px;color:var(--muted);font:11px 'DM Mono',monospace}
.service-card h3{font-size:20px;letter-spacing:-.04em;margin:48px 0 8px}
.service-card p{font-size:13px;color:var(--muted);line-height:1.45;max-width:280px}
.service-arrow{position:absolute;right:22px;bottom:21px;color:var(--accent);font-size:18px}

/* ============================================================
   WORK — verbatim from source
   ============================================================ */
.work-wrap{background:var(--paper);padding-top:110px;padding-bottom:128px;transition:background .35s}
.work{max-width:1240px;margin:auto;padding-left:44px;padding-right:44px}
.work-top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:58px}
.work-top h2{font-size:clamp(43px,5.2vw,68px);line-height:.96;letter-spacing:-.07em}
.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:52px 25px}
.project{border:0;background:none;text-align:left;padding:0;cursor:pointer;width:100%}
.project-art{height:330px;position:relative;overflow:hidden;transition:.35s transform}
.project:hover .project-art{transform:scale(.985)}
.lavender .project-art{background:#c9b9ff}
.cream    .project-art{background:#f4e9cf}
.pink     .project-art{background:#f5c4d2}
.blue     .project-art{background:#b5dcea}
.sage     .project-art{background:#c8dfc0}
.peach    .project-art{background:#f5d5c0}
.dark .cream .project-art{background:#e4d6a2}
.project-meta{display:flex;justify-content:space-between;font:11px 'DM Mono',monospace;color:var(--muted);padding:15px 0 8px}
.project h3{font-size:22px;letter-spacing:-.045em;margin:0 0 9px;color:var(--ink)}
.case-link{font-size:13px;font-weight:600;color:var(--accent);display:inline-flex;align-items:center;gap:5px}

/* ── Art illustrations — verbatim from source ──────────
   These classes sit ON .project-art, so they must not restate width/height:
   `height:100%` resolved against the auto-height button and collapsed the
   tile to 0, wiping out every illustration. .project-art owns the box. */
.checkout-art::before{content:'Checkout';position:absolute;top:32px;left:54px;background:#fff;color:#181818;width:260px;height:275px;padding:25px;font-size:19px;font-weight:700;box-shadow:14px 12px #6b51c7;display:block}
/* ::before is not counted by :nth-child, so the bars are children 1..3 */
.checkout-bar{position:absolute;background:#e4e3e1;height:10px;left:80px;width:175px}
.checkout-bar:nth-child(1){top:97px}
.checkout-bar:nth-child(2){top:145px;width:125px}
.checkout-bar:nth-child(3){top:219px;background:#5233c8;width:200px;height:35px}

.finance-card{position:absolute;left:10%;top:20%;font-size:26px;font-weight:700;background:#1e2630;color:white;padding:35px 28px;width:80%;height:150px;border-radius:14px;display:flex;align-items:flex-end}
/* .finance-card is child 1, so the bars start at child 2 */
.finance-bar{position:absolute;width:18%;height:40px;background:#d9c575;bottom:35px;border-radius:5px}
.finance-bar:nth-child(2){left:16%}
.finance-bar:nth-child(3){left:40%;height:80px}
.finance-bar:nth-child(4){left:64%;height:120px}

.data-label{position:absolute;top:34px;left:38px;font:10px 'DM Mono',monospace;letter-spacing:3px;color:#2a3f4a}
.data-circle1{position:absolute;border-radius:50%;background:#277d9c;width:200px;height:200px;right:13%;top:22%;box-shadow:-65px 40px #eb7a92}
.data-circle2{position:absolute;width:20px;height:20px;border-radius:50%;right:72%;top:69%;background:#fff}

/* Gradient rides on a pseudo-element so the .pink/.blue/… tint underneath
   still wins the background of .project-art (as in the source). */
.home-art::before{content:'';position:absolute;inset:0;background:linear-gradient(140deg,#9e453e 0 30%,transparent 30%),linear-gradient(135deg,transparent 43%,#fff2e4 43% 100%)}
.home-h{position:absolute;inset:0;display:grid;place-items:center;font:600 90px 'Playfair Display',serif;color:#fdf0df}

/* ============================================================
   PROCESS — verbatim from source
   ============================================================ */
.process-wrap{max-width:1240px;margin:auto;padding:120px 44px 125px;display:grid;grid-template-columns:38% 1fr;gap:4%}
.process-wrap h2{font-size:clamp(43px,5.2vw,68px);line-height:.96;letter-spacing:-.07em}
.steps{border-top:1px solid var(--line)}
.step{display:grid;grid-template-columns:55px 140px 1fr;gap:20px;padding:26px 0;border-bottom:1px solid var(--line);align-items:start}
.step-num{font:11px 'DM Mono',monospace;color:var(--accent)}
.step h3{font-size:19px;letter-spacing:-.04em;margin:0}
.step p{margin:0;color:var(--muted);line-height:1.5;font-size:13px;max-width:350px}

/* ============================================================
   SPEAKING — full-bleed dark band: staggered talk reel + lockup.
   Always dark (like .contact is always violet), so it holds its
   own palette in both light and dark theme modes.
   ============================================================ */
.speaking{
  --speak-ink:#fff;
  --speak-dim:#a2a19d;
  --speak-panel:rgba(255,255,255,.05);
  --speak-grid:rgba(255,255,255,.045);
  background:#0f0f10;
  color:var(--speak-ink);
  padding:104px 44px 110px;
  position:relative;
  overflow:hidden;
}
/* faint blueprint grid + a soft lift behind the lockup */
.speaking:before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(to right,var(--speak-grid) 1px,transparent 1px) 0 0/168px 168px,
    linear-gradient(to bottom,var(--speak-grid) 1px,transparent 1px) 0 0/168px 168px;
  mask-image:radial-gradient(ellipse 90% 80% at 50% 45%,#000 40%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 90% 80% at 50% 45%,#000 40%,transparent 100%);
}
.speaking-inner{
  max-width:1152px;margin:0 auto;position:relative;z-index:1;
  display:grid;grid-template-columns:1.64fr 1fr;gap:44px;align-items:center;
}

/* ── the reel ─────────────────────────────────────────── */
.speaking-reel{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.reel-col{display:flex;flex-direction:column;gap:68px}
.reel-col:nth-child(2){margin-top:126px}
.reel-card{background:var(--speak-panel);border-radius:14px;padding:12px 12px 16px;transition:background .25s,transform .25s}
.reel-card:hover{background:rgba(255,255,255,.085);transform:translateY(-3px)}
.reel-thumb{position:relative;border-radius:8px;overflow:hidden;aspect-ratio:16/9;background:#1c1c1d}
.reel-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.reel-badge{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.78);color:#fff;font:500 12px/1 'DM Mono',monospace;padding:5px 7px;border-radius:4px;letter-spacing:.02em}
.reel-head{display:flex;align-items:flex-start;gap:10px;margin-top:13px}
.reel-head h3{font-size:15px;font-weight:700;line-height:1.34;letter-spacing:-.015em;color:var(--speak-ink);margin:0;flex:1}
.reel-kebab{flex-shrink:0;width:16px;color:var(--speak-dim);margin-top:2px}
.reel-kebab svg{display:block;width:16px;height:16px}
.reel-org{font-size:14px;color:var(--speak-dim);margin-top:7px}

/* ── the lockup panel ─────────────────────────────────── */
.speaking-panel{background:rgba(255,255,255,.028);border-radius:22px;padding:46px 34px 44px;text-align:center}
.speak-mark{
  display:inline-grid;grid-template-columns:auto auto;column-gap:12px;
  align-items:end;text-align:left;margin:0 0 30px;
  font-weight:800;letter-spacing:-.045em;line-height:.9;color:var(--speak-ink);
}
.speak-mark{column-gap:18px;row-gap:9px}
.speak-mid{align-self:end;justify-self:end;font-size:34px;font-weight:700;letter-spacing:-.03em;margin-bottom:-8px}
.speak-num{position:relative;font-size:92px;padding:0 .16em;justify-self:start}
/* Hand-drawn ring. preserveAspectRatio="none" + non-scaling-stroke lets the box
   stretch to whatever the number is while the stroke stays even. Width/height
   are explicit — with only `inset`, the SVG's viewBox ratio wins and it
   under-fills the box. Nudged down because the glyph sits below the line-box
   centre at line-height .9. */
.speak-ring{position:absolute;left:-16%;top:-6%;width:132%;height:124%;color:var(--yellow);overflow:visible}
.speak-arrow{color:var(--yellow);justify-self:end;padding-bottom:10px}
.speak-arrow svg{display:block;width:48px;height:26px;stroke-width:3.4}
.speak-word{font-size:62px;justify-self:start}
.speak-body{font-size:24px;font-weight:700;line-height:1.32;letter-spacing:-.02em;max-width:415px;margin:0 auto 32px}
.speak-cta{
  display:inline-flex;align-items:center;gap:14px;
  background:#fff;color:#141414;border-radius:99px;padding:7px 30px 7px 7px;
  font-size:21px;font-weight:700;letter-spacing:-.02em;
  transition:transform .15s,box-shadow .15s;
}
.speak-cta:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.45);color:#141414}
.speak-cta-icon{width:44px;height:44px;border-radius:50%;background:var(--yellow);color:#141414;display:grid;place-items:center;flex-shrink:0}
.speak-cta-icon svg{width:21px;height:21px}

/* ============================================================
   CONTACT — verbatim from source
   ============================================================ */
.contact{background:#4b2abb;color:#fff;padding:110px 44px 25px;transition:background .35s;position:relative;overflow:hidden}
.contact:before{content:'';position:absolute;width:620px;height:620px;border-radius:50%;right:-310px;top:-360px;background:radial-gradient(circle,#7f63ef 0%,rgba(127,99,239,0) 68%);opacity:.65;pointer-events:none}
.contact-inner{max-width:1152px;margin:0 auto;position:relative;z-index:1}
.dark .contact{background:#5637c8}
.contact .eyebrow{color:#d9d0ff}
.contact h2{font-size:clamp(55px,7vw,98px);max-width:750px;line-height:.96;letter-spacing:-.07em;margin:0}
.contact h2 em{color:#f9e575;font-family:'Playfair Display',serif;font-style:italic;letter-spacing:-.07em}
.contact-inner>p:not(.eyebrow){max-width:440px;line-height:1.55;color:#e1dbff;margin:25px 0;font-size:16px}
.contact-btn{background:#f9e575;color:#27201e;margin:5px 0 34px;display:inline-flex;align-items:center;gap:9px;border-radius:99px;padding:13px 20px;font-size:14px;font-weight:600;transition:transform .15s,box-shadow .15s}.contact-btn:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(0,0,0,.18);color:#27201e}
.contact-socials{display:flex;gap:10px;margin-bottom:72px}.csoc{width:42px;height:42px;border-radius:50%;background:rgba(249,230,117,.16);border:1px solid rgba(249,230,117,.5);display:flex;align-items:center;justify-content:center;color:#f9e575;transition:transform .15s,background .15s;text-decoration:none;flex-shrink:0}.csoc:hover{transform:translateY(-3px);background:#f5df67;color:#4b2abb}
.csoc svg{width:16px;height:16px}
.contact-foot{border-top:1px solid rgba(221,213,255,.34);padding-top:21px;display:flex;justify-content:space-between;align-items:center;color:#ddd5ff;font:11px 'DM Mono',monospace}.contact-foot a{color:#fff;display:inline-flex;align-items:center;gap:7px}.contact-foot a:hover{color:#f9e575}

/* ============================================================
   MODAL — overlay must be fixed: main.js locks body scroll on open,
   so an in-flow box would trap the page on a panel nobody can see.
   ============================================================ */
.modal-overlay{display:none;position:fixed;inset:0;z-index:100;background:rgba(16,12,29,.53);padding:40px 20px;overflow-y:auto;align-items:center;justify-content:center;-webkit-overflow-scrolling:touch}
.modal-overlay.open{display:flex}
.modal-box{background:var(--paper);max-width:690px;width:100%;margin:auto;padding:24px 35px 36px;position:relative;box-shadow:0 20px 65px rgba(0,0,0,.25)}
.modal-close-btn{position:absolute;right:13px;top:13px;background:var(--ink);color:var(--bg);border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:16px;cursor:pointer;border:0;font:inherit;z-index:2}
.modal-visual{height:220px;margin:-24px -35px 31px;background-size:cover;background-position:center}
.modal-title{font-size:46px;letter-spacing:-.07em;line-height:.96;margin:0 0 16px}
.modal-copy{color:var(--muted);line-height:1.5;max-width:470px}
.modal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:25px 0}
.modal-stats small{display:block;color:var(--muted);font:10px 'DM Mono',monospace;margin-bottom:5px}
.modal-stats b{font-size:12px;line-height:1.25;display:block}

/* ============================================================
   SKIP LINK (WP accessibility)
   ============================================================ */
/* Screen-reader-only text. Used to give decorative lockups a real heading
   string that crawlers and answer engines can read. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:absolute;top:-100%;left:44px;background:var(--accent);color:#fff;padding:8px 16px;border-radius:99px;z-index:999;font-size:13px;font-weight:600}
.skip-link:focus{top:16px}

/* ============================================================
   RESPONSIVE — verbatim from source
   ============================================================ */
@media(max-width:760px){
  /* one gutter for every section — .about/.services/.hero were still on 44px */
  .section,.about,.services{padding-left:22px;padding-right:22px}
  header{padding:0 22px}
  nav{display:none}
  nav.open{display:flex;position:absolute;top:78px;left:0;right:0;padding:22px;background:var(--paper);flex-direction:column;align-items:flex-start;gap:20px;border-top:1px solid var(--line)}
  .talk{display:none}
  .mobile-menu{display:block}
  .hero{padding-top:38px}
  .hero-frame{inset:30px 14px 55px}
  .frame-handle{width:7px;height:7px}
  .frame-cursor{right:-26px;bottom:-28px}
  .hero .availability{margin-top:7px}
  .hero .eyebrow{margin-top:45px}
  .hero h1{font-size:57px}
  .intro{font-size:16px}
  .hero-cta{margin-bottom:28px}
  .hero-bottom{font-size:10px}
  .hero-bottom b{display:none}
  .about{grid-template-columns:1fr;gap:0;padding-top:70px;padding-bottom:80px}
  .portrait{height:390px}
  .about-copy{padding-top:50px}
  .services{padding-top:72px;padding-bottom:80px}
  .section-head{display:block;margin-bottom:42px}
  .section-head>p{margin-top:21px}
  .service-grid{grid-template-columns:1fr 1fr}
  .service-card{min-height:230px;padding:17px}
  .service-card h3{font-size:17px}
  .service-card p{font-size:12px}
  .work-wrap{padding:72px 22px 80px}
  .work{padding-left:0;padding-right:0}
  .work-top{display:block;margin-bottom:42px}
  .work-top .text-link{margin-top:20px}
  .project-grid{grid-template-columns:1fr;gap:35px}
  .project-art{height:245px}
  .process-wrap{grid-template-columns:1fr;padding:72px 22px 76px;gap:42px}
  .speaking{padding:72px 22px 78px}
  .speaking:before{background-size:104px 104px,104px 104px}
  .speaking-inner{grid-template-columns:1fr;gap:52px}
  /* panel first on small screens — the lockup is the section's heading */
  .speaking-panel{order:-1;padding:34px 22px 32px;border-radius:18px}
  .speaking-reel{grid-template-columns:1fr;gap:0}
  .reel-col{display:contents}
  .reel-col:nth-child(2){margin-top:0}
  .reel-card{margin-bottom:26px}
  .speak-mid{font-size:26px}
  .speak-num{font-size:70px}
  .speak-word{font-size:47px}
  .speak-arrow svg{width:34px;height:19px}
  .speak-body{font-size:19px;margin-bottom:26px}
  .speak-cta{font-size:17px;gap:11px;padding:6px 24px 6px 6px}
  .speak-cta-icon{width:38px;height:38px}
  .speak-cta-icon svg{width:18px;height:18px}
  .step{grid-template-columns:40px 1fr;gap:10px}
  .step p{grid-column:2}
  .contact{padding:75px 22px 22px}
  .contact:before{width:420px;height:420px;right:-210px;top:-245px}
  .contact-btn{margin-bottom:28px}
  .contact-socials{margin-bottom:56px}
  .contact-foot{gap:13px;flex-wrap:wrap;align-items:flex-start;line-height:1.5}
  .modal-box{padding:20px 22px 25px}
  .modal-visual{margin:-20px -22px 25px}
  .modal-title{font-size:38px}
  .modal-stats{grid-template-columns:1fr}
  .modal-stats div{margin-bottom:5px}
}

/* ============================================================
   INNER PAGES — project singles, archives, breadcrumbs
   ============================================================ */
.archive-wrap{padding:clamp(40px,7vw,72px) 0 clamp(80px,12vw,130px)}
.archive-inner,.entry-wrap,.single-work-inner{max-width:1152px;margin:0 auto;padding:0 clamp(22px,6vw,44px)}
.entry-wrap,.single-work-inner{max-width:848px}
.archive-inner h1,.entry-wrap h1,.single-work-inner h1{font-size:clamp(38px,5.2vw,68px);line-height:.98;letter-spacing:-.06em;margin:0 0 20px}
.archive-inner .project-grid{margin-top:52px}
.archive-inner .project h2{font-size:22px;letter-spacing:-.045em;margin:0 0 9px;color:var(--ink)}
.archive-empty{color:var(--muted)}
.archive-list article{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}
.archive-list h2{font-size:23px;letter-spacing:-.04em;margin-bottom:8px}
.archive-list p{color:var(--muted);font-size:15px;line-height:1.6}

.breadcrumbs{margin-bottom:26px;font:11px 'DM Mono',monospace;color:var(--muted)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.breadcrumbs li+li:before{content:'/';margin-right:8px;opacity:.55}
.breadcrumbs a:hover{color:var(--accent)}

.single-work-lede{font-size:19px;line-height:1.5;color:var(--muted);max-width:620px;margin-bottom:32px}
.single-work-hero{margin:44px auto;max-width:1152px;padding:0 clamp(22px,6vw,44px)}
.single-work-hero img{width:100%;height:auto;display:block;border-radius:3px}
.work-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:0}
.work-stats dt{color:var(--muted);font:10px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:1px;margin-bottom:5px}
.work-stats dd{margin:0;font-size:14px;font-weight:600;line-height:1.3}
.single-work-inner .entry-content{margin-top:36px}
.single-work-meta{color:var(--muted);font:11px 'DM Mono',monospace;margin-top:36px}
.single-work-cta{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:28px}
.work-more{margin-top:64px;border-top:1px solid var(--line);padding-top:28px}
.work-more h2{font-size:19px;letter-spacing:-.03em;margin-bottom:14px}
.work-more ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.work-more a{font-size:16px;font-weight:600}
.work-more a:hover{color:var(--accent)}

.pagination{margin-top:52px;font-size:14px;font-weight:600}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.pagination .page-numbers{padding:7px 13px;border:1px solid var(--line);border-radius:99px}
.pagination .page-numbers.current{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.pagination a.page-numbers:hover{border-color:var(--accent);color:var(--accent)}

@media(max-width:760px){
  .work-stats{grid-template-columns:1fr;gap:14px}
  .single-work-hero{margin:30px auto}
}

/* ============================================================
   LONG-FORM CONTENT (pages, search results, editor output)
   The chrome above runs on a zeroed rhythm; restore it here so
   the_content() doesn't render as an unbroken wall of text.
   ============================================================ */
.entry-content{color:var(--muted);font-size:16px;line-height:1.7}
.entry-content>*+*{margin-top:1.15em}
.entry-content h2,.entry-content h3,.entry-content h4{color:var(--ink);letter-spacing:-.03em;line-height:1.2;margin-top:1.8em}
.entry-content h2{font-size:32px}
.entry-content h3{font-size:23px}
.entry-content h4{font-size:18px}
.entry-content a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.entry-content ul,.entry-content ol{padding-left:1.3em}
.entry-content li+li{margin-top:.4em}
.entry-content img,.entry-content figure{border-radius:2px}
.entry-content blockquote{border-left:2px solid var(--accent);padding-left:20px;font-size:19px;line-height:1.5;color:var(--ink)}
.entry-content code{font-family:'DM Mono',monospace;font-size:.9em;background:var(--paper);border:1px solid var(--line);border-radius:3px;padding:1px 5px}
.entry-content pre{background:var(--paper);border:1px solid var(--line);padding:18px;overflow-x:auto}
.entry-content pre code{border:0;background:none;padding:0}
.entry-content hr{border:0;border-top:1px solid var(--line);margin:2.4em 0}
.entry-content table{width:100%;border-collapse:collapse;font-size:14px}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:9px 12px;text-align:left}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}html{scroll-behavior:auto}}
::selection{background:rgba(84,48,204,.15)}
.dark ::selection{background:rgba(173,150,255,.3)}
