/* The original portfolio layout lives in css/styles.css; this is its dossier
   material layer, shared without changing the vanilla files or their content. */
@import './paper-dialogs.css';
@import './site-theme-switch.css';
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Permanent+Marker&display=swap');

html[data-paper-page] {
  --bg:#eee0c4; --surface:#f3e6cf; --surface-2:#e6d2ae; --border:#b89b78;
  --text:#322820; --muted:#614e40; --accent:#6c432d; --accent-hover:#4e2c1d;
  --accent-contrast:#f6e7cd; --shadow:0 3px 9px #5e3b2533;
  --typewriter:'Courier Prime','Courier New',monospace; --title-font:'Permanent Marker',cursive;
  background:var(--bg); color-scheme:light;
  scrollbar-color:#795336 #d1b694;
}
.paper-site { background:radial-gradient(ellipse at 4% 2%,#a06e3323,transparent 45%),radial-gradient(ellipse at 94% 48%,#91603916,transparent 40%),url('./paper-grain.svg') repeat; background-color:var(--bg); font-family:var(--typewriter); color:var(--text); }
/* Existing original heading/subtitle typography remains intact. */
.paper-site :is(h1,h2,h3,h4),.paper-site .section-title,.paper-site .page-header .eyebrow { font-family:'Space Grotesk','Inter',sans-serif; }
.paper-navigation { background:var(--bg) url('./paper-grain.svg'); backdrop-filter:none; border-bottom:1px solid #846346; box-shadow:0 2px 5px #694b3433; }
.paper-navigation .container { max-width:none; justify-content:flex-end; position:relative; align-items:end; }
.paper-tabs { display:flex; width:min(100%,610px); height:100%; align-items:end; gap:0; }
.paper-tab { flex:1; display:grid; place-items:center; min-width:0; height:48px; position:relative; padding:0 .35em; font:400 clamp(.85rem,2.2vw,1.16rem)/1 var(--title-font); text-transform:uppercase; letter-spacing:.025em; color:#46301f; cursor:pointer; border:0; background:#c5a373 url('./paper-grain.svg'); background-blend-mode:multiply; clip-path:polygon(0 100%,0 27%,7% 4%,93% 4%,100% 27%,100% 100%); box-shadow:inset 0 2px 1px #e2c9a8; }
.paper-tab::after { content:''; position:absolute; inset:3px 4px 0; border:1px solid #805b3a80; border-bottom:0; border-radius:11px 11px 0 0; pointer-events:none; }
.paper-tab.active { height:55px; background-color:#eee0c4; color:#392517; box-shadow:inset 0 2px 1px #fff1d6; }
.paper-tab:hover,.paper-tab:focus-visible { background-color:#cabb99; color:#432919; }
.paper-site .page-header,.paper-site section.content-section { border-color:#ad926e63; }
.paper-site .timeline-item { border-left-color:transparent; }
.paper-site .timeline-item:not(:last-child)::after { content:''; position:absolute; left:-4px; top:.65rem; height:calc(100% + 2.5rem); width:7px; background:url('./pen-vertical.svg') center / 7px 160px repeat-y; pointer-events:none; }
.paper-site .timeline-item::before { background:transparent url('./pen-dot.svg') center / contain no-repeat; box-shadow:none; width:15px; height:15px; left:-8px; border-radius:0; z-index:1; }
.paper-site :is(.project-entry,.skill-card) { position:relative; border:1px solid #b29a77; border-radius:2px 3px 5px 1px; background:linear-gradient(149deg,#fff3db44,transparent 70%),url('./paper-grain.svg'); box-shadow:1px 3px 5px #79533b29,inset 0 0 12px #9d744313; }
.paper-site :is(.skill-card,.project-entry)::before { content:''; position:absolute; inset:3px 3px 3px 4px; pointer-events:none; border:4px solid transparent; border-image:url('./pen-border.svg') 6 stretch; opacity:.64; }
.paper-site .project-entry:hover { border-color:#6c432d; }
.paper-site :is(.project-stack span,.project-entry .company-tag,.project-filters button) { border:3px solid transparent; border-image:url('./pen-border.svg') 6 stretch; border-radius:0; background:linear-gradient(135deg,#f5e6cc,#dfc7a1); color:var(--text); }
.paper-site .project-filters button { padding:.47rem .85rem; font-weight:700; }
.paper-site .project-filters button.active { background:#6c432d; color:#fff0d5; border-image:url('./pen-border.svg') 6 stretch; }
.paper-site .project-filters button:hover { background:#d6b78d; color:#302117; }
.paper-site .project-filters button.active:hover { background:#56321f; color:#fff0d5; }
.paper-site :is(.contact-strip,footer) { position:relative; border-top:0; background:none; }
.paper-site :is(.contact-strip,footer)::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:min(calc(100% - 3rem),1072px); height:7px; background:url('./pen-line.svg') center / 100% 100% no-repeat; pointer-events:none; }
.paper-site .contact-strip { border-bottom:0; }
.paper-site .contact-strip a:hover { color:var(--accent-hover); }
.paper-site .paper-close { font-family:var(--title-font); }
@media(max-width:570px) { .paper-navigation .container { padding-inline:.5rem; } .paper-tab { font-size:.83rem; } }
