/* Autumn cottagecore portfolio theme — accessible, responsive and low-dependency. */
:root{
  color-scheme:light;
  --autumn-paper:#f5eddd;
  --autumn-paper-deep:#e9dcc3;
  --autumn-cream:#fff9ed;
  --autumn-ink:#2e2a20;
  --autumn-muted:#554c3d;
  --autumn-forest:#344a35;
  --autumn-forest-deep:#243627;
  --autumn-moss:#66764a;
  --autumn-rust:#8e3f27;
  --autumn-orange:#b95f2d;
  --autumn-gold:#8a5a22;
  --autumn-line:#c7b89b;
  --autumn-shadow:0 12px 30px rgba(56,42,26,.10);
  --metal-rose:var(--autumn-rust);
  --metal-copper:var(--autumn-orange);
  --metal-silver:#655b49;
}
html{scroll-behavior:smooth;scroll-padding-top:7rem}
body{
  background-color:var(--autumn-paper)!important;
  background-image:
    radial-gradient(ellipse at 8% 8%,rgba(185,95,45,.09),transparent 34%),
    radial-gradient(ellipse at 92% 42%,rgba(102,118,74,.10),transparent 30%),
    linear-gradient(180deg,#f8f1e5 0%,var(--autumn-paper) 54%,#eee1cc 100%)!important;
  color:var(--autumn-ink)!important;
  font-family:"Nunito Sans",system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5,h6,.section-heading,.hero-copy h1,.work-page-intro h1,.contact-page h1{
  font-family:"Lora",Georgia,serif!important;
  font-weight:650!important;
  font-style:normal!important;
  letter-spacing:-.025em!important;
  line-height:1.2!important;
  color:var(--autumn-forest-deep)!important;
  text-shadow:none!important;
}
p,li,dd,dt,label,input,textarea,button,summary{font-family:"Nunito Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
p{line-height:1.75}
a{color:var(--autumn-rust);text-underline-offset:.2em}
a:hover{color:#632b1b}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:3px solid var(--autumn-orange)!important;
  outline-offset:3px!important;
}
.skip-link{background:var(--autumn-forest-deep)!important;color:#fff9ed!important}
.site-header{
  background:rgba(255,249,237,.96)!important;
  border-bottom:1px solid var(--autumn-line)!important;
  box-shadow:0 4px 18px rgba(56,42,26,.06);
  backdrop-filter:blur(12px);
}
.site-header nav a{color:var(--autumn-forest-deep)!important;font-weight:750}
.site-header nav a:hover,.site-header nav a:focus-visible,.site-header nav a[aria-current="page"]{
  color:var(--autumn-rust)!important;
  text-shadow:none!important;
  text-decoration-color:var(--autumn-orange)!important;
}
.wordmark,.full-name{color:var(--autumn-forest-deep)!important}
.wordmark span{color:var(--autumn-orange)!important}
.metal-rose-mark img{filter:drop-shadow(0 3px 3px rgba(66,46,26,.18))!important}
.notice,.info-ribbon{
  background:#e8dcc3!important;
  color:#443625!important;
  border-color:#c7b28e!important;
}
.notice p{color:#443625!important}
.notice-dot{background:var(--autumn-orange)!important}
.hero-index,.hero{
  background:transparent!important;
}
.hero-copy .eyebrow,.section-wrap>.eyebrow,.eyebrow{color:var(--autumn-rust)!important}
.eyebrow-line{background:linear-gradient(90deg,var(--autumn-orange),var(--autumn-moss))!important}
.hero-greeting,.hero-intro,.hero-copy p,.section-lead,.work-page-intro p,.about-section p,.contact-page p{
  color:var(--autumn-muted)!important;
}
.hero-tags span,.skill-list span,.about-tags span{
  color:var(--autumn-forest-deep)!important;
  background:rgba(255,249,237,.78)!important;
  border:1px solid #c6b797!important;
}
.gothic-button,.home-work-cta,.contact-method-primary a,.language-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:11px 17px;
  border:1px solid var(--autumn-forest)!important;
  border-radius:8px!important;
  background:var(--autumn-forest)!important;
  color:#fff9ed!important;
  box-shadow:0 3px 0 rgba(36,54,39,.15)!important;
  font-family:"Nunito Sans",sans-serif!important;
  font-size:.92rem!important;
  font-weight:800!important;
  letter-spacing:0!important;
  text-decoration:none;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease;
}
.gothic-button:hover,.home-work-cta:hover,.contact-method-primary a:hover,.language-toggle:hover{
  background:var(--autumn-rust)!important;border-color:var(--autumn-rust)!important;color:#fff9ed!important;transform:translateY(-1px)
}
.language-toggle{gap:9px;padding:9px 13px}
.language-toggle .language-icon{color:#fff9ed!important}
.text-link,.small-link,.project-card .sample-open-link{color:var(--autumn-rust)!important;font-weight:800;text-decoration:underline;text-underline-offset:4px}
.project-card,.skills-card,.contact-method,.creative-samples-grid .creative-sample,.home-about-teaser,.project-featured,.skills-overview,.about-work-callout{
  background:var(--autumn-cream)!important;
  background-image:linear-gradient(145deg,rgba(102,118,74,.055),transparent 48%)!important;
  border:1px solid var(--autumn-line)!important;
  border-radius:14px!important;
  box-shadow:var(--autumn-shadow)!important;
  color:var(--autumn-ink)!important;
}
.project-card h2,.project-card h3,.skills-card h2,.skills-card h3,.contact-method h2,.creative-sample-copy h3,.sample-panel-heading,.skills-heading{
  color:var(--autumn-forest-deep)!important;
}
.project-card p,.skills-card p,.contact-method p,.creative-sample-copy p,.skill-name,.skill-rating,.sample-task,.about-section li{
  color:var(--autumn-muted)!important;
}
.project-card .project-meta,.interlude-photo-grid figcaption,.project-meta,.portrait-caption,.footer-note{
  color:#65513b!important;
}
.project-card::before,.skills-card::before,.contact-method::before,.creative-samples-grid .creative-sample::before{
  border-color:rgba(142,63,39,.48)!important;
}
.project-card::after,.skills-card::after,.contact-method::after,.creative-samples-grid .creative-sample::after{
  border-color:rgba(102,118,74,.42)!important;
}
.project-card:hover,.skills-card:hover,.contact-method:hover{
  border-color:var(--autumn-moss)!important;
  box-shadow:0 16px 34px rgba(56,42,26,.14)!important;
  transform:translateY(-2px);
}
.project-samples-toggle{
  background:var(--autumn-paper-deep)!important;
  border-color:var(--autumn-line)!important;
  border-radius:10px!important;
  color:var(--autumn-ink)!important;
}
.project-samples-toggle summary{color:var(--autumn-forest-deep)!important;font-weight:800}
.project-samples-toggle .samples-toggle-content{color:var(--autumn-ink)!important}
.project-samples-toggle .expand-symbol{border-color:var(--autumn-moss)!important;color:var(--autumn-forest-deep)!important}
.branding-gallery,.oop-browser,.android-carousel-stage,.sample-visual{
  border-color:var(--autumn-line)!important;
  border-radius:10px!important;
  background-color:#e8dcc3!important;
}
.creative-samples-grid .sample-visual{
  background:linear-gradient(145deg,#e8dcc3,#f8f1e5)!important;
  border-color:var(--autumn-line)!important;
}
.creative-samples-grid .sample-expand{
  background:var(--autumn-forest-deep)!important;
  border-color:var(--autumn-cream)!important;
  color:var(--autumn-cream)!important;
}
.sample-pdf-link{color:var(--autumn-forest-deep)!important}
.sample-file-icon{background:var(--autumn-forest)!important;border-color:var(--autumn-moss)!important;color:#fff9ed!important}
.sample-file-action{color:var(--autumn-rust)!important}
.sample-pdf-preview{
  background:linear-gradient(145deg,#e8dcc3,#f8f1e5)!important;color:var(--autumn-ink)!important
}
.contact-method-primary{
  background:linear-gradient(125deg,#e2e8d6,#fff9ed 75%)!important;
  border-color:#9eae89!important;
  box-shadow:inset 4px 0 0 var(--autumn-moss),var(--autumn-shadow)!important;
}
.contact-method-primary p{color:var(--autumn-muted)!important}
.portrait-frame{border-color:var(--autumn-orange)!important;box-shadow:10px 10px 0 #d9c6a4,14px 14px 0 rgba(102,118,74,.18)!important}
.portrait-caption{background:var(--autumn-cream)!important;border-color:var(--autumn-line)!important;color:var(--autumn-muted)!important}
.info-ribbon{box-shadow:none!important}
.site-footer{
  background:var(--autumn-forest-deep)!important;
  border-top:4px solid var(--autumn-orange)!important;
  color:#fff4df!important;
}
.site-footer p,.site-footer a,.site-footer .footer-note,.site-footer .copyright-line{color:#f5eddd!important}
.site-footer a{text-decoration-color:#dba46b}
.site-footer a:hover{color:#f4c17f!important}
.gothic-mandala{
  width:clamp(180px,28vw,360px)!important;
  aspect-ratio:1!important;
  height:auto!important;
  right:-5vw!important;
  top:20vh!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:url("images/metal-rose-sigil.svg?v=4") center/contain no-repeat!important;
  background-color:transparent!important;
  opacity:.105!important;
  filter:none!important;
  animation:none!important;
  mask:none!important;
  pointer-events:none;
}
.gothic-mandala::before,.gothic-mandala::after{display:none!important;content:none!important}
.gothic-mist{opacity:.14!important;pointer-events:none}
.flex{display:flex}
.items-center{align-items:center}
.justify-center{justify-content:center}
.shrink-0{flex-shrink:0}
:where(button,a,summary,input,textarea){touch-action:manipulation}
button,summary{cursor:pointer}
img{max-width:100%;height:auto}
main{min-width:0}
section[id]{scroll-margin-top:7rem}
@media(max-width:760px){
  body{font-size:16px}
  .site-header{gap:10px}
  .site-header nav a{font-size:.9rem}
  .gothic-mandala{width:54vw!important;right:-18vw!important;top:28vh!important;opacity:.075!important}
  .project-card,.skills-card,.contact-method,.creative-samples-grid .creative-sample{border-radius:12px!important}
}
@media(max-width:560px){
  .hero-copy h1,.work-page-intro h1,.contact-page h1{font-size:clamp(2.1rem,10vw,3.25rem)!important}
  .section-heading{font-size:clamp(1.8rem,8vw,2.6rem)!important}
  .language-toggle{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* CONTENT SURFACES: keep inherited dark prototype sections from reducing contrast. */
.home-work-cta-section,.contact-section,.about-section,.work-page-intro,.contact-page,.work-section{
  background:transparent!important;color:var(--autumn-ink)!important;
}
.home-work-cta-section h1,.home-work-cta-section h2,.home-work-cta-section h3,
.contact-section h1,.contact-section h2,.contact-section h3,
.about-section h1,.about-section h2,.about-section h3,
.work-section h1,.work-section h2,.work-section h3,
.work-page-intro h1,.contact-page h1{color:var(--autumn-forest-deep)!important}
.home-work-cta-section p,.contact-section p,.work-section p,.work-section li,
.about-section p,.about-section li,.work-page-intro p,.contact-page p{color:var(--autumn-muted)!important}
.wordmark,.project-card h3,.skills-card h4,.hero-index{font-family:"Lora",Georgia,serif!important}
.hero-index{
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  min-width:124px;min-height:84px;padding:12px 18px;
  border:1px solid var(--autumn-line);border-radius:12px;
  background:var(--autumn-cream)!important;color:var(--autumn-forest-deep)!important;
  text-decoration:none!important;box-shadow:var(--autumn-shadow);
  letter-spacing:.02em;transition:transform .18s ease,box-shadow .18s ease;
}
.hero-index:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(56,42,26,.16);color:var(--autumn-rust)!important}
.hero-index .portfolio-word{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.hero-index .portfolio-year{font-size:1.9rem;font-weight:700;line-height:1}
.site-footer::after{background-image:url("images/metal-rose-sigil.svg?v=4")!important}
@media(max-width:760px){.hero-index{position:relative!important;right:auto!important;bottom:auto!important;justify-self:start;margin-top:8px}}


/* FINAL THEME: dark forest, charcoal and accessible burnt orange.
   This portfolio intentionally stays in dark mode on every device. */
:root{
  color-scheme:dark!important;
  --autumn-paper:#101512;
  --autumn-paper-deep:#171f19;
  --autumn-cream:#1b241e;
  --autumn-ink:#f1f0e8;
  --autumn-muted:#c6d0c7;
  --autumn-forest:#294b35;
  --autumn-forest-deep:#17271d;
  --autumn-moss:#a8c99a;
  --autumn-rust:#e7a06a;
  --autumn-orange:#d98245;
  --autumn-gold:#e7a06a;
  --autumn-line:#526657;
  --autumn-shadow:0 14px 34px rgba(0,0,0,.34);
  --metal-rose:#d98245;
  --metal-copper:#e7a06a;
  --metal-silver:#c6d0c7;
}
html{color-scheme:dark!important;background:#101512!important}
body{
  background-color:#101512!important;
  background-image:
    radial-gradient(ellipse at 8% 8%,rgba(41,75,53,.30),transparent 36%),
    radial-gradient(ellipse at 92% 42%,rgba(217,130,69,.09),transparent 31%),
    linear-gradient(180deg,#111914 0%,#101512 58%,#0b100d 100%)!important;
  color:#f1f0e8!important;
}
h1,h2,h3,h4,h5,h6,.section-heading,.hero-copy h1,.work-page-intro h1,.contact-page h1,
.project-card h2,.project-card h3,.skills-card h2,.skills-card h3,.skills-card h4,
.contact-method h2,.creative-sample-copy h3,.sample-panel-heading,.skills-heading{
  color:#f1f0e8!important;text-shadow:none!important;
}
p,li,dd,dt,label,.hero-intro,.hero-copy p,.section-lead,.work-page-intro p,
.about-section p,.contact-page p,.project-card p,.skills-card p,.contact-method p,
.creative-sample-copy p,.skill-name,.skill-rating,.about-section li{
  color:#c6d0c7!important;
}
a{color:#e7a06a!important}
a:hover{color:#f2b982!important}
a:focus-visible,button:focus-visible,summary:focus-visible,
input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid #e7a06a!important;outline-offset:3px!important;
}
.skip-link{background:#e7a06a!important;color:#101512!important}
.site-header{
  background:rgba(15,22,17,.97)!important;
  border-bottom:1px solid #526657!important;
  box-shadow:0 8px 26px rgba(0,0,0,.38),inset 0 -1px rgba(217,130,69,.18)!important;
}
.site-header nav a,.wordmark,.full-name{color:#f1f0e8!important}
.site-header nav a:hover,.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"]{color:#e7a06a!important}
.wordmark span{color:#e7a06a!important}
.language-toggle{
  background:#1b2a20!important;color:#f1f0e8!important;
  border:1px solid #a8c99a!important;
}
.language-toggle .language-icon{color:#a8c99a!important}
.language-toggle:hover{background:#294b35!important;border-color:#e7a06a!important}
.notice,.info-ribbon{
  background:#1b2a20!important;color:#f1f0e8!important;border-color:#526657!important;
}
.notice p,.info-ribbon p{color:#f1f0e8!important}
.notice-dot{background:#e7a06a!important}
.hero,.hero-index,.home-about-teaser,.home-work-cta-section,.contact-section,
.work-section,.about-section,.contact-page,.work-page-intro{
  background-color:transparent!important;color:#f1f0e8!important;
}
.hero-copy .eyebrow,.section-wrap>.eyebrow,.eyebrow,.intro-strip-note,
.intro-strip-mark,.privacy-note span{color:#e7a06a!important}
.eyebrow-line{background:#e7a06a!important}
.hero-tags span,.skill-list span,.about-tags span{
  color:#dce8dc!important;background:#1b2a20!important;border:1px solid #526657!important;
}
.gothic-button,.home-work-cta,.contact-method-primary a,
.project-samples-toggle .expand-symbol,.creative-samples-grid .sample-expand{
  background:#294b35!important;border:1px solid #a8c99a!important;color:#f1f0e8!important;
}
.gothic-button:hover,.home-work-cta:hover,.contact-method-primary a:hover,
.creative-samples-grid .sample-expand:hover{
  background:#365f43!important;border-color:#e7a06a!important;color:#fff!important;
}
.text-link,.small-link,.project-card .sample-open-link,.sample-file-action,
.sample-pdf-link{color:#e7a06a!important}
.project-card,.skills-card,.contact-method,.creative-samples-grid .creative-sample,
.home-about-teaser,.project-featured,.skills-overview,.about-work-callout{
  background:#1b241e!important;
  background-image:linear-gradient(145deg,rgba(41,75,53,.20),transparent 58%)!important;
  border:1px solid #526657!important;border-radius:12px!important;
  box-shadow:var(--autumn-shadow)!important;color:#f1f0e8!important;
}
.project-card:hover,.skills-card:hover,.contact-method:hover{
  border-color:#e7a06a!important;box-shadow:0 16px 36px rgba(0,0,0,.42)!important;
}
.project-card::before,.skills-card::before,.contact-method::before,
.creative-samples-grid .creative-sample::before{border-color:rgba(231,160,106,.72)!important}
.project-card::after,.skills-card::after,.contact-method::after,
.creative-samples-grid .creative-sample::after{border-color:rgba(168,201,154,.55)!important}
.project-card .project-meta,.interlude-photo-grid figcaption,.project-meta,
.portrait-caption,.footer-note{color:#c6d0c7!important}
.project-samples-toggle{
  background:#171f19!important;background-image:none!important;
  border:1px solid #526657!important;color:#f1f0e8!important;
}
.project-samples-toggle summary,.project-samples-toggle .samples-toggle-content{
  color:#f1f0e8!important;text-shadow:none!important;
}
.project-samples-toggle summary:hover{color:#e7a06a!important}
.project-samples-toggle .expand-symbol{
  background:#1b2a20!important;color:#e7a06a!important;border-color:#a8c99a!important;
}
.branding-gallery,.oop-browser,.android-carousel-stage,.sample-visual,
.sample-pdf-preview{
  background-color:#111914!important;background-image:none!important;
  border-color:#526657!important;color:#f1f0e8!important;
}
.branding-gallery figcaption,.sample-source,.sample-task{color:#c6d0c7!important}
.sample-file-icon{background:#294b35!important;border-color:#a8c99a!important;color:#fff!important}
.contact-method-primary{
  background:#1b2a20!important;border-color:#526657!important;
  box-shadow:inset 4px 0 0 #a8c99a,var(--autumn-shadow)!important;
}
.contact-method-primary p{color:#c6d0c7!important}
.portrait-frame{
  background:#1b241e!important;border-color:#d98245!important;
  box-shadow:10px 10px 0 #17271d,14px 14px 0 rgba(217,130,69,.22)!important;
}
.portrait-caption{background:#1b241e!important;border-color:#526657!important;color:#f1f0e8!important}
.site-footer{
  background:#0b100d!important;border-top:3px solid #d98245!important;color:#f1f0e8!important;
}
.site-footer p,.site-footer a,.site-footer .footer-note,.site-footer .copyright-line{
  color:#f1f0e8!important;
}
.site-footer a:hover{color:#e7a06a!important}
.hero-index{
  background:#1b241e!important;color:#f1f0e8!important;border-color:#526657!important;
}
.hero-index:hover{color:#e7a06a!important}
input,textarea,select{
  background:#111914!important;color:#f1f0e8!important;
  border:1px solid #718575!important;
}
input::placeholder,textarea::placeholder{color:#b7c4b9!important;opacity:1}
button{color:#f1f0e8}
hr{border-color:#526657!important}
::selection{background:#e7a06a!important;color:#101512!important}
@media(prefers-color-scheme:light){
  :root,html{color-scheme:dark!important}
}


/* Final heading color override: burnt orange throughout the site. */
h1,h2,h3,h4,h5,h6,
.section-heading,.skills-heading,.sample-panel-heading,
.hero-copy h1,.work-page-intro h1,.contact-page h1,
.project-card h2,.project-card h3,.project-card h4,
.skills-card h2,.skills-card h3,.skills-card h4,
.contact-method h2,.creative-sample-copy h3,
.home-work-cta-section h1,.home-work-cta-section h2,.home-work-cta-section h3,
.contact-section h1,.contact-section h2,.contact-section h3,
.about-section h1,.about-section h2,.about-section h3,
.work-section h1,.work-section h2,.work-section h3 {
  color:#D98245!important;
  text-shadow:none!important;
}


/* FINAL PALETTE: dark forest, charcoal, burnt copper and sage.
   Remove rose/pink accents and retain readable contrast in phone eye-comfort modes. */
:root{
  color-scheme:dark!important;
  --autumn-paper:#101512;
  --autumn-paper-deep:#171f19;
  --autumn-cream:#1b241e;
  --autumn-ink:#e8e5da;
  --autumn-muted:#c9d2c6;
  --autumn-forest:#294b35;
  --autumn-forest-deep:#17271d;
  --autumn-moss:#b6cdaf;
  --autumn-rust:#d98245;
  --autumn-orange:#e6a06a;
  --autumn-gold:#d98245;
  --autumn-line:#526657;
  --metal-rose:#d98245;
  --metal-copper:#e6a06a;
  --metal-silver:#c9d2c6;
  --portfolio-rose-gold:#d98245;
  --portfolio-copper:#d98245;
  --portfolio-wine:#17271d;
  --portfolio-cream:#e8e5da;
}
html,body{color-scheme:dark!important;background:#101512!important;color:#e8e5da!important}
body{
 background-color:#101512!important;
 background-image:radial-gradient(ellipse at 8% 8%,rgba(41,75,53,.28),transparent 36%),
 radial-gradient(ellipse at 92% 42%,rgba(217,130,69,.07),transparent 31%),
 linear-gradient(180deg,#111914 0%,#101512 58%,#0b100d 100%)!important;
}
h1,h2,h3,h4,h5,h6,h1 em,h2 em,h3 em,
.section-heading,.skills-heading,.sample-panel-heading,
.hero-copy h1,.work-page-intro h1,.contact-page h1,
.project-card h2,.project-card h3,.project-card h4,
.skills-card h2,.skills-card h3,.skills-card h4,
.contact-method h2,.creative-sample-copy h3{
 color:#D98245!important;text-shadow:none!important;
}
p,li,dd,dt,label,.hero-intro,.hero-copy p,.section-lead,.project-card p,
.skills-card p,.contact-method p,.creative-sample-copy p,
.about-section p,.about-section li,.work-page-intro p,.contact-page p{
 color:#C9D2C6!important;
}
a,.text-link,.small-link,.sample-open-link,.sample-file-action,.sample-pdf-link{
 color:#E6A06A!important;
}
a:hover,.text-link:hover,.small-link:hover,.sample-open-link:hover{
 color:#F0BB88!important;
}
.eyebrow,.hero-copy .eyebrow,.section-wrap>.eyebrow,
.intro-strip-note,.intro-strip-mark,.privacy-note span,
.project-meta,.project-card .project-meta{
 color:#B6CDAF!important;
}
.eyebrow-line,.notice-dot{background:#D98245!important;box-shadow:none!important}
.wordmark span,.site-header nav a:hover,.site-header nav a[aria-current="page"]{
 color:#E6A06A!important;text-shadow:none!important;
}
.site-header,.site-footer,.notice,.info-ribbon{
 background:#0B100D!important;border-color:#526657!important;
}
.site-header nav a,.wordmark,.full-name,.site-footer p,.site-footer a{
 color:#E8E5DA!important;
}
.language-toggle{
 background:#1B2A20!important;color:#E8E5DA!important;
 border:1px solid #B6CDAF!important;
}
.language-toggle .language-icon{color:#B6CDAF!important}
.hero-tags span,.skill-list span,.about-tags span{
 color:#E8E5DA!important;background:#1B2A20!important;border:1px solid #526657!important;
}
.gothic-button,.home-work-cta,.contact-method-primary a,
.project-samples-toggle .expand-symbol,.creative-samples-grid .sample-expand{
 background:#294B35!important;border:1px solid #B6CDAF!important;color:#E8E5DA!important;
}
.gothic-button:hover,.home-work-cta:hover,.contact-method-primary a:hover,
.creative-samples-grid .sample-expand:hover{
 background:#365F43!important;border-color:#E6A06A!important;color:#fff!important;
}
.project-card,.skills-card,.contact-method,.creative-samples-grid .creative-sample,
.home-about-teaser,.project-featured,.skills-overview,.about-work-callout{
 background:#1B241E!important;
 background-image:linear-gradient(145deg,rgba(41,75,53,.18),transparent 58%)!important;
 border-color:#526657!important;color:#E8E5DA!important;
 box-shadow:0 14px 34px rgba(0,0,0,.34)!important;
}
.project-card:hover,.skills-card:hover,.contact-method:hover{
 border-color:#D98245!important;
}
.project-samples-toggle,.branding-gallery,.oop-browser,.android-carousel-stage,
.sample-visual,.sample-pdf-preview,.code-sample{
 background:#111914!important;background-image:none!important;
 border-color:#526657!important;color:#E8E5DA!important;
}
.project-samples-toggle summary,.project-samples-toggle .samples-toggle-content{
 color:#E8E5DA!important;
}
.project-samples-toggle summary:hover{color:#E6A06A!important}
.contact-method-primary{
 background:#1B2A20!important;border-color:#526657!important;
 box-shadow:inset 4px 0 0 #B6CDAF,0 14px 34px rgba(0,0,0,.34)!important;
}
.portrait-frame{
 background:#1B241E!important;border-color:#D98245!important;
 box-shadow:10px 10px 0 #17271D,14px 14px 0 rgba(217,130,69,.18)!important;
}
.portrait-caption{background:#1B241E!important;border-color:#526657!important;color:#E8E5DA!important}
input,textarea,select{
 background:#111914!important;color:#E8E5DA!important;border:1px solid #718575!important;
}
input::placeholder,textarea::placeholder{color:#B6CDAF!important;opacity:1}
a:focus-visible,button:focus-visible,summary:focus-visible,
input:focus-visible,textarea:focus-visible,select:focus-visible{
 outline:3px solid #E6A06A!important;outline-offset:3px!important;
}
.skip-link{background:#E6A06A!important;color:#101512!important}
::selection{background:#D98245!important;color:#101512!important}
.site-footer{border-top:3px solid #D98245!important}
.site-footer a:hover{color:#E6A06A!important}
.hero-stamp{background:#D98245!important;color:#101512!important;border-color:#E6A06A!important}
.hero-stamp span{color:#101512!important}
.shape-two{background:#B6CDAF!important;box-shadow:none!important}
.project-oop,.oop-grade{border-color:#526657!important}
.skill-bars i.is-filled{background:#D98245!important}
.project-card:focus-within,.skills-card:focus-within,.contact-method:focus-within{
 outline:2px solid #E6A06A!important;outline-offset:3px;
}
@media(prefers-color-scheme:light){:root,html,body{color-scheme:dark!important}}


/* Replace the old burgundy/wine identity with deep pine green.
   Palette harmony: forest green + muted sage (analogous) + copper (warm accent). */
:root{
 --burgundy:#17271D!important;
 --wine:#17271D!important;
 --portfolio-wine:#17271D!important;
 --metal-wine:#17271D!important;
 --ornament-wine:#17271D!important;
 --gothic-rose:#B6CDAF!important;
 --metal-rose:#D98245!important;
 --ornament-rose:#D98245!important;
 --portfolio-rose-gold:#D98245!important;
 --line:#526657!important;
}
.notice,.work-section,.project-coming,.project-placeholder,
.hero-tags span,.skill-list span,.about-tags span{
 background-color:#17271D!important;
 border-color:#526657!important;
}
.notice{color:#E8E5DA!important}
.notice-dot{background:#D98245!important;box-shadow:0 0 0 4px rgba(217,130,69,.16)!important}
.work-section:before,.hero:before,.hero:after,.coming-art:before,.coming-art:after,
.contact-section:after{
 border-color:rgba(182,205,175,.28)!important;
}
.portrait-frame{box-shadow:14px 14px 0 #17271D,0 0 0 1px #526657!important}
.shape-one{background:#17271D!important;border-color:#526657!important}
.hero-stamp span{color:#101512!important}
.project-placeholder{
 background:linear-gradient(135deg,#17271D,#101512)!important;
}
.project-card:hover,.project-oop:hover{
 box-shadow:8px 8px 0 rgba(182,205,175,.14)!important;
}
.oop-grade{box-shadow:inset 0 0 0 6px rgba(182,205,175,.10)!important}
.skills-scale{
 border-left-color:#B6CDAF!important;
 background:linear-gradient(90deg,rgba(41,75,53,.55),transparent)!important;
}
.gothic-button,.project-samples-toggle .expand-symbol{
 background:#294B35!important;border-color:#B6CDAF!important;
}
.project-samples-toggle[open] .expand-symbol{background:#294B35!important}
.info-ribbon{border-bottom-color:#526657!important}
.gothic-mist{
 background:radial-gradient(ellipse at 10% 100%,rgba(35,69,45,.32),transparent 58%),
 radial-gradient(ellipse at 92% 100%,rgba(41,75,53,.24),transparent 55%)!important;
}
.gothic-mandala{opacity:.035!important}
.gothic-mandala::before,.gothic-mandala::after{border-color:#526657!important}


/* Mobile navigation and portrait decoration: match the forest/copper theme. */
.menu-toggle{
 background:#1B241E!important;
 border:1px solid #526657!important;
 color:#E6A06A!important;
 border-radius:10px!important;
 box-shadow:0 4px 12px rgba(0,0,0,.22)!important;
}
.menu-toggle span{background:#E6A06A!important}
.menu-toggle:hover,.menu-toggle:focus-visible{
 background:#294B35!important;border-color:#B6CDAF!important;color:#E8E5DA!important;
}
.site-header nav#primary-navigation{
 background:#1B241E!important;
 border:1px solid #526657!important;
 box-shadow:0 18px 38px rgba(0,0,0,.48)!important;
}
.site-header nav#primary-navigation a{
 color:#E8E5DA!important;border-bottom-color:#526657!important;
}
.site-header nav#primary-navigation a:hover,
.site-header nav#primary-navigation a:focus-visible,
.site-header nav#primary-navigation a[aria-current="page"]{
 color:#E6A06A!important;background:#17271D!important;
}
.portrait-frame{
 background:#1B241E!important;
 border:1px solid #D98245!important;
 box-shadow:14px 14px 0 #17271D,0 0 0 1px #526657!important;
}
.portrait-wrap:before{
 border-color:rgba(182,205,175,.48)!important;
}
.shape-one{
 background:#17271D!important;
 border-color:#526657!important;
}
.shape-two{
 background:#B6CDAF!important;
 border:1px solid #D98245!important;
 box-shadow:0 0 24px rgba(182,205,175,.12)!important;
}
.portrait-caption{
 background:#1B241E!important;
 color:#E8E5DA!important;
 border:1px solid #526657!important;
}
.image-placeholder,.portrait-placeholder{
 background:#17271D!important;color:#C9D2C6!important;
 border-color:#526657!important;
}


/* Final homepage badge and link colour cleanup: remove residual rose/pink tones. */
.hero-index{
 background:linear-gradient(145deg,#1B2A20,#17271D)!important;
 background-color:#1B2A20!important;
 border:1px solid #D98245!important;
 box-shadow:10px 10px 0 #101512,0 0 0 1px #526657!important;
 color:#E8E5DA!important;
}
.hero-index .portfolio-word{color:#E8E5DA!important}
.hero-index .portfolio-year{color:#E6A06A!important}
.hero-index:hover,.hero-index:focus-visible{
 background:linear-gradient(145deg,#294B35,#17271D)!important;
 border-color:#B6CDAF!important;color:#FFFFFF!important;
}
.hero-index:hover .portfolio-word,.hero-index:focus-visible .portfolio-word{color:#FFFFFF!important}
.hero-index:hover .portfolio-year,.hero-index:focus-visible .portfolio-year{color:#E6A06A!important}
/* Keep ordinary text links, navigation links and their decorations in the same palette. */
a:not(.hero-index):not(.gothic-button):not(.home-work-cta):not(.sample-pdf-link){
 color:#E6A06A!important;
 text-decoration-color:rgba(230,160,106,.62)!important;
}
a:not(.hero-index):not(.gothic-button):not(.home-work-cta):not(.sample-pdf-link):hover,
a:not(.hero-index):not(.gothic-button):not(.home-work-cta):not(.sample-pdf-link):focus-visible{
 color:#F0BB88!important;text-decoration-color:#F0BB88!important;
}
.site-header nav a[aria-current="page"]{color:#E6A06A!important}
