@font-face{font-family:Manrope;src:url('assets/manrope-regular.ttf') format('truetype');font-weight:400 500;font-style:normal;font-display:block}
@font-face{font-family:Manrope;src:url('assets/manrope-bold.ttf') format('truetype');font-weight:600 800;font-style:normal;font-display:block}
/* 01 — Shared tokens. The original charcoal + gold identity is retained. */
:root{color-scheme:dark;--bg:#111217;--surface:#181a22;--line:#30333e;--text:#f0f1f5;--muted:#b7bdca;--gold:#f0cb85;--radius:10px;--width:1160px;--space:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:5px}img,video{max-width:100%;height:auto}button{font:inherit}::selection{background:var(--gold);color:var(--bg)}.wrap{width:min(var(--width),calc(100% - 64px));margin-inline:auto}.skip{position:absolute;left:24px;top:-100px;background:var(--gold);color:var(--bg);padding:8px 16px;z-index:10}.skip:focus{top:12px}
/* 02 — Compact header with a solid active indicator, no glow. */
.site-header{border-bottom:1px solid var(--line)}.header-inner{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:32px}.identity{display:flex;flex-direction:column;line-height:1.4}.identity strong{font-size:21px;letter-spacing:-.5px}.identity span{font-size:14px;color:var(--muted);margin-top:3px}.site-nav{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.site-nav a{font-size:14px;padding:9px 0;border-bottom:2px solid transparent}.site-nav a[aria-current=page]{color:var(--gold);border-color:var(--gold)}.site-nav .contact-link{padding:8px 15px;border:1px solid var(--line);border-radius:6px}.site-nav .contact-link:hover{border-color:var(--gold)}
/* 03 — Homepage: one clear introduction, followed by visible work. */
.hero{padding:64px 0 48px;max-width:850px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:13px;color:var(--gold);font-weight:600;margin:0 0 12px}h1,h2,h3{line-height:1.2;letter-spacing:-.035em;margin:0}h1{font-size:clamp(36px,4.5vw,58px);font-weight:650}h2{font-size:28px;font-weight:600}h3{font-size:21px;font-weight:600}.hero .lead{font-size:20px;line-height:1.65;color:var(--muted);max-width:710px;margin:20px 0 8px}.hero .work-line{color:var(--muted);margin:8px 0 24px}.hero .work-line strong{color:var(--text);font-weight:500}.actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;align-items:center;gap:20px;background:var(--gold);color:#17181c;border:1px solid var(--gold);border-radius:6px;padding:10px 18px;font-weight:600;font-size:15px}.button:hover{background:#ffe0a8;color:#17181c}.text-link{color:var(--gold);font-size:15px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin:0 0 24px}.section-heading a{color:var(--muted);font-size:14px}.section-heading a:hover{color:var(--gold)}
/* 04 — Cards: imagery first, quieter metadata, explicit destinations. */
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.project-card{display:flex;flex-direction:column;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:border-color .18s ease,transform .18s ease}.project-card:hover{border-color:#97815e;transform:translateY(-3px);color:var(--text)}.project-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#22252e}.card-body{display:flex;flex-direction:column;flex:1;padding:22px}.tags{display:flex;flex-wrap:wrap;gap:8px 12px;color:var(--muted);font-size:13px;line-height:1.5;margin-bottom:12px}.tags span+span{border-left:1px solid #575c68;padding-left:12px}.project-card h3{font-size:21px;letter-spacing:-.025em}.project-card p{color:var(--muted);font-size:15px;line-height:1.65;margin:12px 0 22px}.card-action{font-size:14px;color:var(--gold);margin-top:auto}.now{margin:56px 0 64px;display:grid;grid-template-columns:1fr 2fr;gap:48px;border-top:1px solid var(--line);padding-top:32px}.now p{margin:0 0 12px;color:var(--muted)}.now h2{font-size:22px}.page-heading{padding:48px 0 32px}.page-heading p{color:var(--muted);margin:14px 0 0}.page-grid{padding-bottom:64px}
/* 05 — Existing project/article content gets a readable shared frame. */
.reading{max-width:860px;margin:40px auto 64px;overflow-wrap:anywhere}.reading h1{font-size:clamp(32px,4vw,48px);margin-bottom:24px}.reading h2,.reading h3,.reading h4{margin:36px 0 16px;color:var(--text)}.reading p,.reading li{color:var(--muted)}.reading a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}.reading figure{margin:24px 0}.reading figcaption{font-size:14px;color:var(--muted)}.reading img{border-radius:6px;object-fit:contain}.reading iframe{max-width:100%;border:0}.reading table{display:block;overflow:auto;max-width:100%;border-collapse:collapse}.reading td,.reading th{padding:12px;border:1px solid var(--line)}.reading pre{overflow:auto;background:var(--surface);padding:20px;max-width:100%;font-size:14px}.reading .wp-block-columns{display:flex;gap:24px;flex-wrap:wrap}.reading .wp-block-column{flex:1;min-width:230px}.reading .wp-block-spacer{max-height:24px}.reading .wp-block-image img{height:auto}.reading .bs-blog-meta,.reading .comments-area,.reading .bs-blog-category,.reading .post-share-icons,.reading .bs-info-author-block,.reading .bs-blog-post .title{display:none}.reading .wp-block-button__link{display:inline-block;padding:10px 20px;border:1px solid var(--line);border-radius:6px}.back-link{display:inline-block;color:var(--muted);font-size:14px;margin-top:32px}
/* 06 — Footer/contact, with named links instead of ambiguous icon glyphs. */
.site-footer{border-top:1px solid var(--line);padding:32px 0}.footer-inner{display:flex;justify-content:space-between;gap:32px;align-items:center}.footer-inner strong{font-size:17px}.footer-inner p{margin:4px 0 0;color:var(--muted);font-size:14px}.footer-links{display:flex;gap:24px;font-size:14px;flex-wrap:wrap}
/* 07 — Responsive and reduced-motion behavior. Navigation remains visible. */
@media(min-width:1500px){.hero{padding-top:80px}}
@media(max-width:950px){.header-inner{gap:24px}.site-nav{gap:18px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding-top:48px}.now{gap:24px}}
@media(max-width:680px){.wrap{width:calc(100% - 40px)}.header-inner{padding:20px 0;align-items:flex-start;flex-direction:column;gap:16px}.identity strong{font-size:20px}.site-nav{gap:10px 20px;width:100%}.site-nav a{padding:5px 0}.site-nav .contact-link{padding:4px 10px}.hero{padding:36px 0}.hero .lead{font-size:18px}.grid{grid-template-columns:1fr}.project-card img{aspect-ratio:16/9}.section-heading h2{font-size:24px}.section-heading{gap:12px}.now{grid-template-columns:1fr;gap:16px;margin-top:40px}.footer-inner{align-items:flex-start;flex-direction:column;gap:20px}.reading{margin-top:24px}.reading .wp-block-column{min-width:0;flex-basis:100%}.page-heading{padding-top:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-card{transition:none}.project-card:hover{transform:none}}

/* Refined direction: precise typography, open image-led layouts, warm metallic accents. */
:root{--bg:#101113;--surface:#191b1e;--line:#303236;--text:#f4f3ee;--muted:#b0b1b6;--gold:#e6bd78;--radius:3px;--width:1240px}
body{font-family:Manrope,"Segoe UI",sans-serif;line-height:1.75;-webkit-font-smoothing:antialiased}
.header-inner{min-height:100px}.identity strong{font-size:19px;letter-spacing:-.04em;font-weight:700}.identity span{font-size:12px;letter-spacing:.09em;text-transform:uppercase;margin-top:7px}.site-nav{gap:30px}.site-nav a{font-size:14px}.site-nav a[aria-current=page]{border-color:transparent}.site-nav a[aria-current=page]::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--gold);vertical-align:middle;margin-right:8px}.site-nav .contact-link{border-radius:2px;padding:8px 18px}
h1,h2,h3{font-weight:700}h1{letter-spacing:-.06em}h2{letter-spacing:-.045em}h3{letter-spacing:-.035em}
.hero{max-width:none;padding:72px 0 64px;position:relative}.eyebrow{font-size:12px;letter-spacing:.15em;font-weight:700}.hero h1{font-size:clamp(3.25rem,7.8vw,6.8rem);line-height:1.02;letter-spacing:-.065em;margin-top:25px}.hero h1 span{color:var(--gold)}.hero .lead{font-size:clamp(1.125rem,1.8vw,1.375rem);line-height:1.6;margin-top:28px;letter-spacing:-.02em}.hero .work-line{font-size:14px;max-width:610px;margin:12px 0 28px}.hero .work-line::before{content:"";display:inline-block;width:6px;height:6px;background:var(--gold);border-radius:50%;margin-right:10px;vertical-align:middle}.hero .work-line strong{font-weight:400}.actions{gap:28px}.button{border-radius:2px;padding:12px 21px;font-size:14px}.text-link{font-size:14px}.section-heading{border-top:1px solid var(--line);padding-top:27px;margin-bottom:28px}.section-heading h2{font-size:25px}.section-heading a{font-size:14px}
.grid{gap:36px 28px}.project-card{background:transparent;border:0;border-radius:0;overflow:visible;transition:transform .2s ease}.project-card:hover{transform:translateY(-4px)}.project-card img{aspect-ratio:16/10;border-radius:3px;border:1px solid var(--line)}.card-body{padding:22px 0 0}.tags{font-size:12px;letter-spacing:.025em;margin-bottom:10px}.project-card h3{font-size:23px;line-height:1.3}.project-card p{font-size:16px;line-height:1.7;margin:12px 0 18px;max-width:44ch}.card-action{font-size:14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px}.project-card:hover .card-action{border-color:var(--gold)}.selected-grid{grid-template-columns:1.35fr 1fr 1fr}.selected-grid .project-card img{aspect-ratio:1.5}.selected-grid .project-card:first-child img{aspect-ratio:2.025}
.now{margin:76px 0 80px;padding-top:36px;grid-template-columns:1fr 1.4fr;gap:80px}.now .eyebrow{color:var(--gold);margin-bottom:12px}.now h2{font-size:28px}.now p{font-size:16px;max-width:58ch}.page-heading{padding:64px 0 42px}.page-heading h1{font-size:clamp(3rem,6vw,5rem)}.page-heading p{font-size:18px}.page-grid{padding-bottom:80px}
.reading{max-width:1206px;margin:40px auto 88px;font-size:17px;line-height:1.85}.reading h1{font-size:clamp(2.25rem,4.7vw,3.8rem);line-height:1.12;margin-bottom:36px}.reading h2{font-size:30px}.reading h3{font-size:24px}.reading p{margin:0 0 1.4em}.reading li{margin-bottom:.45em}.reading strong{color:var(--text)}.reading hr{border:0;border-top:1px solid var(--line);margin:32px 0}.reading pre{font-family:Consolas,monospace;line-height:1.65;border:1px solid var(--line);border-radius:3px}.reading :not(pre)>code{font-size:.9em;color:var(--gold)}.reading iframe[src*="youtube"],.reading iframe[src*="vimeo"]{width:100%;height:auto;aspect-ratio:16/9}.reading .wp-block-columns{flex-wrap:nowrap;gap:32px}.reading .wp-block-column{min-width:0}.reading .wp-block-image{margin:0}.reading figure{margin:24px 0}.back-link{margin-top:36px}
.articles-page .page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 48px}.articles-page .project-card{display:grid;grid-template-columns:140px 1fr;gap:24px;border-top:1px solid var(--line);padding-top:24px}.articles-page .project-card img{aspect-ratio:1;object-fit:cover}.articles-page .card-body{padding:0}.articles-page .project-card h3{font-size:22px}.articles-page .card-action{border-bottom:0;padding-bottom:0}
.site-footer{padding:40px 0 48px}.footer-inner strong{font-size:24px;letter-spacing:-.04em}.footer-inner p{margin-top:8px}.footer-links{gap:28px}
/* Personal introduction and restrained, static gold light. */
.home .hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:60px;padding:72px 0 64px}
.home .hero h1{font-size:clamp(3rem,6.3vw,5.6rem);line-height:1.08}
.home .hero .lead{max-width:49ch;font-size:1.2rem}
.hero h1 span{text-shadow:0 0 32px rgb(230 189 120 / 23%)}
.hero-portrait{margin:0;text-align:center;position:relative}
.hero-portrait img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%;border:1px solid rgb(230 189 120 / 45%);box-shadow:0 0 28px rgb(230 189 120 / 12%),0 0 90px rgb(230 189 120 / 9%)}
.hero-portrait figcaption{font-size:14px;color:var(--muted);line-height:1.7;margin-top:22px}
.site-nav a[aria-current=page]{text-shadow:0 0 16px rgb(230 189 120 / 50%)}
.site-nav a[aria-current=page]::before,.hero .work-line::before{box-shadow:0 0 9px 2px rgb(230 189 120 / 45%)}
.button{box-shadow:0 0 24px rgb(230 189 120 / 13%)}
.button:hover,.button:focus-visible{box-shadow:0 0 30px rgb(230 189 120 / 28%)}
.project-card:is(:hover,:focus-visible) img{border-color:rgb(230 189 120 / 65%);box-shadow:0 0 26px rgb(230 189 120 / 14%)}
.text-link:hover,.reading a:hover{ text-shadow:0 0 16px rgb(230 189 120 / 35%)}
@media(max-width:1000px){.home .hero{grid-template-columns:minmax(0,1fr) 200px;gap:32px}.home .hero h1{font-size:clamp(2.6rem,6vw,4rem)}}
@media(max-width:760px){.home .hero{grid-template-columns:1fr;padding:44px 0;gap:32px}.home .hero h1{font-size:clamp(2.4rem,9vw,4.5rem)}.hero-portrait{display:flex;align-items:center;gap:20px;text-align:left}.hero-portrait img{width:96px;flex-shrink:0}.hero-portrait figcaption{margin:0}.home .hero .eyebrow{line-height:1.7}.reading{max-width:100%}}
@media(max-width:1000px){.selected-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.selected-grid .project-card img,.selected-grid .project-card:first-child img{aspect-ratio:1.5}.site-nav{gap:18px}.now{gap:40px}.articles-page .project-card{grid-template-columns:100px 1fr;gap:18px}}
@media(max-width:760px){.selected-grid{grid-template-columns:1fr}.selected-grid .project-card{display:grid;grid-template-columns:1fr 1fr;gap:24px}.selected-grid .card-body{padding-top:0}.selected-grid .project-card img{height:100%;object-fit:cover}.articles-page .page-grid{grid-template-columns:1fr}.reading .wp-block-columns{flex-wrap:wrap}.reading .wp-block-column{flex-basis:100%!important}.now{gap:28px}.hero{padding:48px 0}.header-inner{align-items:flex-start;flex-direction:column;padding:24px 0;gap:18px}}
@media(max-width:540px){.wrap{width:calc(100% - 40px)}.site-nav{gap:8px 19px}.site-nav a{font-size:14px}.hero h1{font-size:clamp(2.8rem,11.5vw,4rem)}.hero .eyebrow{font-size:12px;letter-spacing:.09em}.hero .work-line{font-size:14px}.selected-grid .project-card{display:flex;gap:0}.selected-grid .card-body{padding-top:20px}.selected-grid .project-card img{height:auto;aspect-ratio:16/10}.project-card h3{font-size:22px}.section-heading h2{font-size:23px}.section-heading{gap:12px}.now{margin:48px 0}.page-heading{padding-top:40px}.reading{font-size:16px}.reading h2{font-size:26px}.footer-links{gap:24px}.articles-page .project-card{grid-template-columns:80px 1fr;gap:16px}.articles-page .project-card h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){.project-card:hover{transform:none}}

/* Feedback round: paired buttons, shared project cards, and personal quick bits. */
.home .actions{gap:14px;margin-top:28px}
.home .actions .button{border-radius:9px;min-height:48px;line-height:1.5}
.home .actions .button-secondary{background:var(--surface);color:var(--gold);border-color:rgb(230 189 120 / 50%);box-shadow:none}
.home .actions .button-secondary:hover,.home .actions .button-secondary:focus-visible{background:#26231e;border-color:var(--gold);box-shadow:0 0 22px rgb(230 189 120 / 13%)}
.quick-bits-intro .text-link{display:inline-block;margin-top:22px}
.quick-bits{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}
.quick-bits li{display:flex;align-items:flex-start;gap:14px;min-width:0}
.quick-bit-icon{font-size:23px;line-height:1.5;flex-shrink:0}
.quick-bits h3{font-size:16px;line-height:1.5;letter-spacing:-.02em;margin:0 0 7px}
.quick-bits p{font-size:16px;line-height:1.75;margin:0}
@media(min-width:761px){.home .now{grid-template-columns:1fr 2fr;gap:48px}}
@media(max-width:760px){.home .now{grid-template-columns:1fr;gap:28px}}
@media(max-width:540px){.quick-bits{grid-template-columns:1fr;gap:24px}.home .actions .button{justify-content:space-between}}

/* Homepage project cards follow the original portfolio card treatment. */
:is(.home,.projects-page) .project-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 6px 24px rgb(0 0 0 / 16%)}
:is(.home,.projects-page) .project-card>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center center;border:0;border-bottom:1px solid var(--line);border-radius:0;flex-shrink:0}
:is(.home,.projects-page) .project-card .card-body{padding:24px;min-width:0}
:is(.home,.projects-page) .project-card .card-action{padding:16px 0 0;border-bottom:0;border-top:1px solid var(--line)}
:is(.home,.projects-page) .project-card:is(:hover,:focus-visible){border-color:rgb(230 189 120 / 65%);box-shadow:0 0 28px rgb(230 189 120 / 12%)}
:is(.home,.projects-page) .project-card:is(:hover,:focus-visible)>img{border-color:var(--line);box-shadow:none}
@media(max-width:680px){:is(.home,.projects-page) .project-card>img{aspect-ratio:16/10}:is(.home,.projects-page) .project-card .card-body{padding:22px}}

/* Quick, eased feedback on entry and exit; no layout-affecting animation. */
:root{--hover-duration:200ms;--hover-ease:cubic-bezier(.2,.65,.3,1)}
a{transition:color var(--hover-duration) var(--hover-ease),background-color var(--hover-duration) var(--hover-ease),border-color var(--hover-duration) var(--hover-ease),text-shadow var(--hover-duration) var(--hover-ease),box-shadow var(--hover-duration) var(--hover-ease)}
.project-card{transition:transform 220ms var(--hover-ease),border-color 220ms var(--hover-ease),box-shadow 220ms var(--hover-ease),background-color 220ms var(--hover-ease),color 200ms var(--hover-ease)}
.project-card img{transition:border-color 220ms var(--hover-ease),box-shadow 220ms var(--hover-ease)}
.project-card h3{transition:color var(--hover-duration) var(--hover-ease)}
.project-card:is(:hover,:focus-visible) h3{color:var(--gold)}
.project-card .card-body>p:last-child{margin-bottom:0}
.button{transition:transform 160ms var(--hover-ease),background-color 200ms var(--hover-ease),border-color 200ms var(--hover-ease),color 200ms var(--hover-ease),box-shadow 220ms var(--hover-ease)}
.button>span[aria-hidden]{display:inline-block;transition:transform 180ms var(--hover-ease)}
.site-nav a:is(:hover,:focus-visible){text-shadow:0 0 16px rgb(230 189 120 / 45%)}
.site-nav .contact-link:is(:hover,:focus-visible){box-shadow:0 0 18px rgb(230 189 120 / 12%)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.button:hover{transform:translateY(-2px)}.button:hover>span[aria-hidden]{transform:translateX(3px)}}
.button:active{transform:translateY(0)}
@media(prefers-reduced-motion:reduce){a,.project-card,.project-card img,.project-card h3,.button,.button>span[aria-hidden]{transition:none}.project-card:is(:hover,:focus-visible),.button:is(:hover,:active){transform:none}}

/* A quieter introduction with the portrait closer to the copy. */
.home .hero{max-width:1080px;grid-template-columns:minmax(0,1fr) 240px;gap:48px}
.home .hero h1{font-size:clamp(2.5rem,5.2vw,4.4rem);line-height:1.12}
.home .hero-portrait figcaption{text-align:left;padding-left:8px}
.home .now{margin-top:52px}
.beyond-copy p{max-width:64ch;margin-bottom:18px}
.beyond-copy .text-link{display:inline-block;margin-top:2px}
@media(max-width:1000px){.home .hero{grid-template-columns:minmax(0,1fr) 200px;gap:32px}.home .hero h1{font-size:clamp(2.4rem,5.2vw,3.6rem)}}
@media(max-width:760px){.home .hero{grid-template-columns:1fr;gap:28px}.home .hero h1{font-size:clamp(2.2rem,7.8vw,3.6rem)}.home .hero-portrait figcaption{padding-left:0}.home .now{margin-top:36px}}

/* Current role, restored beneath the homepage introduction. */
.home .hero .work-line{margin:16px 0 0}
.home .hero .work-line strong{font-weight:700}
.home .hero .work-line::before{background:#efa951;box-shadow:0 0 9px 2px rgb(239 169 81 / 40%)}

/* Greeting, portrait, and footer refinement. */
.home .hero{max-width:1200px;grid-template-columns:minmax(0,1fr) 280px;gap:48px;align-items:end}
.home .hero h1{font-size:clamp(2.4rem,5vw,4.2rem)}
.home .hero .greeting{font-size:15px;letter-spacing:.07em;text-transform:none;text-shadow:0 0 12px rgb(230 189 120 / 35%)}
.home .hero-portrait figcaption{padding:0;text-align:center;margin-top:20px}
@keyframes sign-glow{
  0%,34%,64%,100%{text-shadow:0 0 6px rgb(230 189 120 / 16%),0 0 18px rgb(230 189 120 / 5%)}
  16%,48%,78%{text-shadow:0 0 9px rgb(230 189 120 / 65%),0 0 25px rgb(230 189 120 / 30%)}
  51%,58%{text-shadow:0 0 2px rgb(230 189 120 / 7%),0 0 14px rgb(230 189 120 / 2%)}
  54%,61%{text-shadow:0 0 8px rgb(230 189 120 / 48%),0 0 22px rgb(230 189 120 / 22%)}
}
@media(prefers-reduced-motion:no-preference){.home .hero .greeting{animation:sign-glow 8.5s ease-in-out infinite}:is(.home,.projects-page) .project-card:hover,:is(.home,.projects-page) .project-card:hover h3{transition-delay:45ms}}
:is(.home,.projects-page) .project-card:is(:hover,:focus-visible){box-shadow:0 0 34px rgb(230 189 120 / 20%),0 6px 22px rgb(0 0 0 / 16%)}
.footer-inner>div:first-child{max-width:560px}
.footer-inner p{line-height:1.75}
.footer-links{gap:10px;flex-shrink:0}
.footer-links a{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;min-height:40px;font-size:13px;line-height:1.5;border:1px solid var(--line);border-radius:7px;background:var(--surface)}
.footer-links img{width:15px;height:15px;filter:invert(1);opacity:.8}
.footer-links a:is(:hover,:focus-visible){border-color:rgb(230 189 120 / 60%);box-shadow:0 0 18px rgb(230 189 120 / 13%)}
@media(max-width:1000px){.home .hero{grid-template-columns:minmax(0,1fr) 230px;gap:32px}.home .hero h1{font-size:clamp(2.3rem,4.9vw,3.4rem)}.footer-inner{flex-wrap:wrap}}
@media(max-width:760px){.home .hero{grid-template-columns:1fr;gap:28px}.home .hero h1{font-size:clamp(2.1rem,7.4vw,3.4rem)}.home .hero-portrait img{width:112px}.home .hero-portrait figcaption{text-align:left;margin:0}.home .hero .greeting{font-size:14px}}

/* Larger greeting within the same line box, with a steady glow. */
.home .hero .greeting{animation:none;font-size:17px;line-height:26.25px;text-shadow:0 0 10px rgb(230 189 120 / 32%),0 0 22px rgb(230 189 120 / 12%)}
@media(max-width:760px){.home .hero .greeting{font-size:16px;line-height:23.8px}}

/* Current work gives the portrait its caption. */
.home .hero-portrait .portrait-role{font-size:14px;line-height:1.7;margin-top:20px;text-align:center}
.portrait-role .role-label{display:block;color:var(--muted);margin-bottom:5px}
.portrait-role .role-label::before{content:"";display:inline-block;width:6px;height:6px;margin-right:9px;vertical-align:middle;border-radius:50%;background:#efa951;box-shadow:0 0 9px 2px rgb(239 169 81 / 40%)}
.portrait-role strong{display:block;color:var(--text);font-weight:700}
@media(max-width:760px){.home .hero-portrait .portrait-role{margin-top:0;text-align:left}}

/* Separate the subject from project context through weight. */
.tags .tag-subject{font-weight:700;color:var(--text)}

/* Muted gold subjects and a quieter portrait caption. */
.tags .tag-subject{color:#c4aa7e;font-weight:700}
.home .hero-portrait .portrait-role{line-height:1.7}
.portrait-role .role-label{font-size:13px;color:var(--muted);margin-bottom:5px}
.portrait-role strong{font-weight:400;color:var(--muted)}

/* Current role returns to the introduction with regular weight. */
.home .hero .work-line{font-weight:400;color:var(--muted)}
.home .hero-portrait{align-self:center}

/* Slightly larger portrait, centered alongside the introduction. */
.home .hero{grid-template-columns:minmax(0,1fr) 300px}
.home .hero-portrait{align-self:center;justify-self:center;width:100%}
.home .hero .work-line strong{font-weight:700;color:var(--text)}
@media(max-width:1000px){.home .hero{grid-template-columns:minmax(0,1fr) 246px}}
@media(max-width:760px){.home .hero{grid-template-columns:1fr}.home .hero-portrait{justify-content:center}.home .hero-portrait img{width:128px}}

/* Portrait enlarged by 10% across screen sizes. */
.home .hero{grid-template-columns:minmax(0,1fr) 330px}
@media(max-width:1000px){.home .hero{grid-template-columns:minmax(0,1fr) 270.6px}}
@media(max-width:760px){.home .hero{grid-template-columns:1fr}.home .hero-portrait img{width:140.8px}}

/* Stationary cards with a softer glow fade avoid hover-edge movement. */
:is(.home,.projects-page) .project-card{transition:border-color 320ms ease,box-shadow 380ms ease,background-color 320ms ease;transition-delay:0ms}
:is(.home,.projects-page) .project-card:is(:hover,:focus-visible){transform:none;transition-delay:0ms}
:is(.home,.projects-page) .project-card h3{transition:color 280ms ease;transition-delay:0ms}
:is(.home,.projects-page) .project-card:hover h3{transition-delay:0ms}
.beyond-copy .about-button{display:inline-flex;margin-top:4px;padding:9px 15px;min-height:44px;border-radius:8px;background:var(--surface);color:var(--gold);border-color:rgb(230 189 120 / 42%);box-shadow:none;font-size:14px}
.beyond-copy .about-button:is(:hover,:focus-visible){background:#26231e;border-color:var(--gold);box-shadow:0 0 20px rgb(230 189 120 / 13%)}
.footer-followup{display:block;margin-bottom:10px}
@media(prefers-reduced-motion:reduce){:is(.home,.projects-page) .project-card,:is(.home,.projects-page) .project-card h3{transition:none}}

/* Tighter footer copy and a gentle, smoothly eased card lift. */
.footer-followup{margin-bottom:0}
:is(.home,.projects-page) .project-card{transition:transform 340ms cubic-bezier(.22,.61,.36,1),border-color 320ms ease,box-shadow 380ms ease,background-color 320ms ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){:is(.home,.projects-page) .project-card:hover{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){:is(.home,.projects-page) .project-card{transition:none}:is(.home,.projects-page) .project-card:is(:hover,:focus-visible){transform:none}}

/* Compact spacing between the footer sentences. */
.footer-followup{line-height:1.35;margin-bottom:0}


/* Pagination appears only when the project count exceeds settings.js. */
.projects-page .project-card[hidden]{display:none}
.project-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:20px;margin:-40px 0 64px;font-size:14px}
.project-pagination button{font:inherit;padding:10px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);cursor:pointer;transition:border-color 200ms ease,color 200ms ease}
.project-pagination button:hover:not(:disabled){border-color:var(--gold);color:var(--gold)}
.project-pagination button:disabled{opacity:.4;cursor:default}
@media(prefers-reduced-motion:reduce){.project-pagination button{transition:none}}

/* Project groups flow naturally as their card collections grow. */
.project-section{padding:52px 0 0}
.project-section+.project-section{margin-top:52px;border-top:1px solid var(--line)}
.project-section:last-child{padding-bottom:72px}
.project-section-heading{margin-bottom:28px}
.project-section-heading h1,.project-section-heading h2{font-size:clamp(1.75rem,3vw,2.25rem);line-height:1.25;letter-spacing:-.04em}
.project-section-heading p{font-size:16px;color:var(--muted);margin:12px 0 0;max-width:72ch}
.project-section .page-grid{padding-bottom:0}
.project-section .project-pagination{margin:28px 0 0}
.project-section[hidden]{display:none}
@media(max-width:680px){.project-section{padding-top:36px}.project-section+.project-section{margin-top:36px}.project-section:last-child{padding-bottom:48px}}

/* Use the available section width for project introductions. */
.project-section-heading p{max-width:none}

/* Articles share the project-card finish in a full-width horizontal layout. */
.articles-page .page-grid{grid-template-columns:minmax(0,1fr);gap:24px}
.articles-page .project-card{display:grid;grid-template-columns:290px minmax(0,1fr);gap:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 6px 24px rgb(0 0 0 / 16%);transition:transform 340ms cubic-bezier(.22,.61,.36,1),border-color 320ms ease,box-shadow 380ms ease}
.articles-page .project-card>img{display:block;width:100%;height:100%;min-height:225px;aspect-ratio:auto;object-fit:cover;object-position:center;border:0;border-right:1px solid var(--line);border-radius:0}
.articles-page .project-card .card-body{padding:28px 32px;justify-content:center;min-width:0}
.articles-page .project-card h3{font-size:clamp(1.25rem,2.2vw,1.625rem);line-height:1.3;transition:color 280ms ease}
.articles-page .project-card p{max-width:72ch;margin:12px 0 18px}
.articles-page .project-card .card-action{margin-top:auto;padding:0;border:0;font-size:14px}
.articles-page .project-card:is(:hover,:focus-visible){transform:none;border-color:rgb(230 189 120 / 65%);box-shadow:0 0 34px rgb(230 189 120 / 20%),0 6px 22px rgb(0 0 0 / 16%)}
.articles-page .project-card:is(:hover,:focus-visible)>img{border-color:var(--line);box-shadow:none}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.articles-page .project-card:hover{transform:translateY(-3px)}}
@media(max-width:950px){.articles-page .project-card{grid-template-columns:220px minmax(0,1fr)}.articles-page .project-card .card-body{padding:24px}}
@media(max-width:680px){.articles-page .project-card{grid-template-columns:minmax(0,1fr)}.articles-page .project-card>img{height:auto;min-height:0;aspect-ratio:16/9;border-right:0;border-bottom:1px solid var(--line)}.articles-page .project-card .card-body{padding:22px}.articles-page .project-card h3{font-size:22px}}
@media(prefers-reduced-motion:reduce){.articles-page .project-card,.articles-page .project-card h3{transition:none}.articles-page .project-card:is(:hover,:focus-visible){transform:none}}

/* Wider previews within the existing card width, with unrestricted excerpts. */
.articles-page .project-card{grid-template-columns:350px minmax(0,1fr)}
.articles-page .project-card p{max-width:none;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;-webkit-line-clamp:unset;max-height:none}
@media(max-width:950px){.articles-page .project-card{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:680px){.articles-page .project-card{grid-template-columns:minmax(0,1fr)}}

/* Matching headings and equal-height article rows independent of source images. */
.articles-page .page-heading{padding:52px 0 28px}
.articles-page .page-heading h1{font-size:clamp(1.75rem,3vw,2.25rem);line-height:1.25;letter-spacing:-.04em}
.articles-page .page-heading p{font-size:16px;margin-top:12px}
.articles-page .page-grid{grid-auto-rows:1fr}
.articles-page .project-card{min-height:250px}
.article-preview{display:block;position:relative;min-width:0;min-height:0;overflow:hidden;border-right:1px solid var(--line)}
.articles-page .project-card .article-preview img{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:cover;object-position:center;border:0;border-radius:0;box-shadow:none}
@media(max-width:680px){.articles-page .page-heading{padding-top:36px}.articles-page .page-grid{grid-auto-rows:auto}.articles-page .project-card{min-height:0}.article-preview{aspect-ratio:16/9;border-right:0;border-bottom:1px solid var(--line)}}

/* Home work line stays independent of detail-page typography. */
.home .hero .work-line{font-size:16px}

/* Stronger shared card depth across home, projects, and articles. */
:is(.home,.projects-page,.articles-page) .project-card{box-shadow:0 12px 31px rgb(0 0 0 / 46.5%),0 3.5px 10px rgb(0 0 0 / 31%)}
:is(.home,.projects-page,.articles-page) .project-card:is(:hover,:focus-visible){box-shadow:0 0 34px rgb(230 189 120 / 20%),0 16px 36px rgb(0 0 0 / 51%),0 4.5px 12px rgb(0 0 0 / 34%)}

