:root {
  --forest: #103f2e;
  --deep: #0b2e23;
  --ink: #163d2e;
  --muted: #52685c;
  --line: #cadbd0;
  --white: #fff;
  --body: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --light-gradient: linear-gradient(135deg, #fff 0%, #edf5f0 58%, #d0e4d8 100%);
  --forest-gradient: linear-gradient(130deg, #0b2e23 0%, #164f39 54%, #418768 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: linear-gradient(150deg, #fff, #e2eee6); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: #c5e2d2; color: var(--deep); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #559779; outline-offset: 5px; border-radius: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
em { font: italic 400 1em var(--serif); }
strong { font-weight: 600; }
p + p { margin-top: 18px; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 108px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .11em; line-height: 1.7; }
.skip-link { position: fixed; z-index: 1000; top: -100px; left: 12px; padding: 10px 18px; background: var(--light-gradient); }
.skip-link:focus { top: 12px; }
.reading-progress { position: fixed; z-index: 200; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, #c2dfd0, #1c6346); pointer-events: none; }
.site-header { position: fixed; inset: 0 0 auto; height: 100px; z-index: 50; display: flex; align-items: center; gap: 40px; padding: 0 56px; background: transparent; border: 0; transition: background .35s, backdrop-filter .35s; }
.site-header.scrolled { background: linear-gradient(105deg, #fffffff2, #e7f1ebe8 65%, #c2dbccdb); backdrop-filter: blur(20px); }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; }
.paul-logo { display: block; width: 158px; height: auto; aspect-ratio: 1455 / 509; }
.site-header .paul-logo { width: 120px; }
.desktop-nav { display: flex; gap: 34px; margin-inline: auto; font-size: 14px; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: linear-gradient(90deg, #164e36, #79ac92); transition: right .25s; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.nav-contact { display: flex; align-items: center; gap: 25px; padding: 10px 21px; border: 1px solid #d3e2d7a8; border-radius: 999px; font-size: 14px; background: linear-gradient(125deg, #ffffffd9, #e3f0e8a8); transition: transform .25s, box-shadow .25s; }
.nav-contact:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #123b2712; }
.nav-contact span { font-size: 20px; }
.menu-toggle { display: none; }
/* A single canvas continues behind the navigation, hero and introduction. */
.opening { position: relative; isolation: isolate; background: radial-gradient(ellipse 65% 50% at 110% 15%, #15543e 0%, #3d785a8c 39%, #98bea552 59%, #ffffff00 82%), linear-gradient(155deg, #fff 0%, #f5f9f6 44%, #dcebe1 78%, #fff 100%); }
.hero { position: relative; padding-top: 126px; color: var(--ink); overflow: hidden; background: transparent; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 30px; padding-top: 40px; }
.hero-copy { z-index: 2; padding: 25px 0 50px; }
.hero-intro { color: #486a56; }
.hero-intro span { opacity: .5; padding-inline: 12px; }
.hero h1 { font-size: clamp(58px, 5.85vw, 83px); line-height: 1.07; letter-spacing: -.055em; margin-top: 30px; font-weight: 400; max-width: 660px; }
.hero h1 em { color: #286344; }
.hero-description { max-width: 475px; color: #4c6757; font-size: 17px; line-height: 1.75; margin-top: 28px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 33px; min-height: 52px; padding: 15px 23px; border: 1px solid #ffffff26; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: transform .25s, box-shadow .25s, filter .25s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 9px 26px #143c2921; filter: brightness(1.06); }
.button span { font-size: 20px; font-weight: 400; }
.button-lime, .button-green { background: var(--forest-gradient); color: #fff; }
.quiet-link { display: flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 600; }
.quiet-link:hover { color: #418467; }
.portrait-stage { position: relative; align-self: end; height: 575px; min-width: 0; }
.portrait { position: absolute; height: 100%; width: 100%; object-fit: contain; object-position: bottom; bottom: 0; z-index: 1; mask-image: linear-gradient(to bottom, #000 0%, #000 87%, transparent 100%); }
.hero-bottom { grid-column: 1/-1; position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 10px; border: 0; background: transparent; font-size: 12px; color: #476553; }
.hero-bottom > span:first-child { letter-spacing: .1em; }
.hero-bottom a { font-size: 14px; }
.hero-bottom a span { margin-left: 14px; font-size: 19px; }
.availability { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.availability i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(125deg, #699f7c, #206140); }
.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 65px; background: transparent; border: 0; padding-top: 90px; }
.story-copy { width: min(100%, 800px); margin-inline: auto; text-align: center; }
.story h2 { font-size: clamp(32px, 3.2vw, 45px); line-height: 1.2; margin-bottom: 28px; }
.story h2 em { color: #3a6d4c; }
.story-copy > p { font-size: 17px; color: var(--muted); max-width: 740px; margin-inline: auto; text-align: left; }
.story-tldr { max-width: 740px; margin: 0 auto 28px; text-align: left; }
.story-tldr summary { font-weight: 600; }
.story-tldr .details-body { font-size: 16px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.skill-tags span, .project-tags span { border: 1px solid #bfd4c7; border-radius: 30px; font-size: 12px; padding: 7px 13px; color: #3e634d; background: linear-gradient(125deg, #ffffffb8, #dcebe166); }
/* Equal-width groups make the final frame identical to the first. */
.tools-section { grid-column: 1 / -1; min-width: 0; margin-top: 8px; }
.tools-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.tools-heading #tools-title { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.2; letter-spacing: -.035em; margin: 0; }
.tools-toggle { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 7px 13px; color: #486652; font-size: 12px; border: 1px solid #b9d0c080; border-radius: 999px; background: linear-gradient(120deg, #ffffff80, #e0ede480); }
.tools-toggle[hidden] { display: none; }
.tools-toggle:hover { border-color: #70977f; }
.tools-toggle-icon { display: inline-block; width: 12px; text-align: center; font-size: 13px; }
.tools-marquee { overflow: hidden; padding-block: 12px; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tools-track { display: flex; width: max-content; animation: tools-scroll 42s linear infinite; }
.tools-track[data-paused="true"] { animation-play-state: paused; }
.tools-group { display: flex; flex: none; align-items: center; gap: 30px; margin: 0; padding: 0 30px 0 0; list-style: none; }
.tools-item { display: flex; align-items: center; justify-content: center; flex: 0 0 170px; width: 170px; height: 80px; }
.tools-item img, .tools-item svg { display: block; flex: none; object-fit: contain; max-width: 100%; }
.tools-item .tool-icon { width: auto; height: 49px; }
.tools-item .tool-sap { width: 107px; height: 53px; }
.tools-item .tool-sam { width: 122px; height: 56px; }
.tools-item .tool-jira { width: 107px; height: auto; }
.tools-item .tool-confluence { width: 168px; height: auto; }
.tools-item .tool-canva { width: 121px; height: auto; }
@keyframes tools-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .tools-section { margin-top: 28px; }
  .tools-heading { margin-bottom: 20px; gap: 12px; }
  .tools-heading #tools-title { font-size: 25px; }
  .tools-group { gap: 24px; padding-right: 24px; }
  .tools-item { flex-basis: 150px; width: 150px; height: 72px; }
  .tools-item .tool-confluence { width: 145px; }
  .tools-track { animation-duration: 38s; }
}
@media (prefers-reduced-motion: reduce), print {
  .tools-marquee { overflow: visible; mask-image: none; -webkit-mask-image: none; }
  .tools-track { width: 100%; animation: none; transform: none; }
  .tools-group { width: 100%; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 0; }
  .tools-group[aria-hidden="true"], .tools-toggle { display: none; }
  .tools-item { flex-basis: 150px; width: 150px; }
}
.work-section { background: linear-gradient(155deg, #fff 0%, #edf5f0 35%, #d7e9dd 65%, #fbfdfc 100%); padding: 92px 0 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 55px; }
.section-heading h2 { font-size: clamp(40px, 4.2vw, 57px); }
.section-heading > p { font-size: 15px; color: var(--muted); max-width: 380px; }
.project { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-bottom: 78px; }
.project-visual { border-radius: 24px; min-height: 505px; padding: 30px; display: flex; flex-direction: column; position: relative; border: 1px solid #d0e0d5; overflow: hidden; }
.bento-tile { --tilt-x: 0deg; --tilt-y: 0deg; --pointer-x: 50%; --pointer-y: 30%; transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transition: transform .5s cubic-bezier(.2,.75,.2,1), box-shadow .45s, border-color .3s; }
.bento-tile::before { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; background: radial-gradient(450px circle at var(--pointer-x) var(--pointer-y), #ffffff20, transparent 65%); transition: opacity .4s; }
.bento-tile > * { position: relative; z-index: 2; }
.bento-tile:hover, .bento-tile:focus-within { box-shadow: 0 24px 60px #174c3024; border-color: #7caf9488; }
.bento-tile:hover::before, .bento-tile:focus-within::before { opacity: 1; }
.visual-top, .visual-bottom, .research-cover-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .045em; line-height: 1.5; }
.visual-top > span:first-child { flex: 1; }
.visual-bottom { margin-top: auto; padding-top: 20px; border-top: 1px solid #ffffff2c; align-items: start; }
.visual-bottom > span { max-width: 50%; }
.visual-bottom > span:last-child { text-align: right; }
.status-pill { white-space: nowrap; letter-spacing: .02em; font-size: 12px; border: 1px solid #ffffff50; padding: 6px 11px; border-radius: 30px; background: linear-gradient(120deg, #ffffff1a, #ffffff04); text-transform: none; }
.carbone-visual { background: radial-gradient(ellipse at 95% 0, #639e7866, transparent 70%), var(--forest-gradient); color: #ecf7ef; border-color: #49846752; }
.carbone-logo { width: 70%; max-width: 320px; height: auto; margin-top: 38px; margin-bottom: 8px; }
.visual-statement { font-size: 28px; line-height: 1.25; letter-spacing: -.025em; margin-top: 20px; }
.scope-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.scope-pills span { font-size: 12px; border: 1px solid #bad7c84d; background: linear-gradient(120deg, #d3eadc15, #ffffff03); border-radius: 30px; padding: 5px 11px; }
.carbone-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; padding: 22px 0 5px; color: #d0e5d8; }
.carbone-flow b { opacity: .6; }
.card-explore { display: flex; align-items: center; justify-content: space-between; gap: 25px; width: 100%; color: inherit; background: linear-gradient(115deg, #ffffff18, #ffffff03); border: 1px solid #ffffff32; border-radius: 12px; padding: 12px 15px; margin: 22px 0; font-size: 14px; text-align: left; transition: background .3s, box-shadow .3s, transform .2s; }
.card-explore:hover { background: linear-gradient(115deg, #ffffff2b, #ffffff09); box-shadow: 0 4px 15px #0000000b; }
.card-explore:active { transform: scale(.985); }
.card-explore-icon { display: inline-block; font-size: 23px; font-weight: 400; line-height: 1; transition: transform .35s; }
.card-explore[aria-expanded=true] .card-explore-icon { transform: rotate(45deg); }
.project-copy .eyebrow { color: #63806c; }
.project-copy h3 { font-size: clamp(30px, 2.8vw, 39px); line-height: 1.15; margin: 16px 0 23px; }
.project-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.project-copy strong { color: var(--ink); }
details { margin-top: 22px; border-top: 1px solid #c0d5c7; border-bottom: 1px solid #c0d5c7; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
.plus { font-size: 24px; font-weight: 400; line-height: 1; transition: transform .35s; }
details[open] .plus { transform: rotate(45deg); }
.details-body { padding: 0 0 20px; color: var(--muted); font-size: 15px; }
.details-body p + p { margin-top: 14px; }
.details-body .project-note { font-size: 12px; border-left: 2px solid #9bbb9e; padding-left: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 23px; font-size: 14px; font-weight: 600; padding-bottom: 7px; border-bottom: 1px solid var(--ink); margin-top: 25px; transition: gap .25s, color .25s; }
.text-link:hover { gap: 31px; color: #39815b; }
.text-link span { font-size: 20px; font-weight: 400; line-height: 1; }
.project-carbone { align-items: start; }
.carbone-gallery { min-width: 0; margin-top: 0; border-top: 0; }
.carbone-gallery .details-body { padding-bottom: 18px; }
.carbone-gallery-images { display: grid; gap: 16px; max-height: clamp(280px, 70vh, 650px); max-height: clamp(280px, 70svh, 650px); overflow-y: auto; list-style: none; margin: 0; padding: 4px 10px 4px 4px; scrollbar-width: thin; scrollbar-color: #68967b #e6f0ea; }
.carbone-gallery-images li { min-width: 0; }
.carbone-gallery-images a { display: block; border-radius: 12px; cursor: zoom-in; }
.carbone-gallery-images img { width: 100%; height: auto; border-radius: 12px; }
.carbone-gallery-images:focus-visible { outline: 3px solid #559779; outline-offset: 3px; border-radius: 5px; }
@media print {
  .carbone-gallery-images { max-height: none; overflow: visible; }
}
.project-qamar .project-visual { order: 2; }
.project-qamar .project-copy { order: 1; }
.qamar-visual { background: radial-gradient(ellipse at 100% 0, #588e6e52, transparent 70%), linear-gradient(140deg, #f7fbf8, #c6dfd0 75%, #a9cdb9); color: var(--forest); }
.qamar-visual .status-pill { border-color: #49785a66; background: linear-gradient(120deg, #ffffffc4, #ffffff1c); }
.qamar-visual .card-explore { border-color: #6d9b7f50; background: linear-gradient(120deg, #ffffffa6, #ffffff20); }
.qamar-visual .visual-bottom { border-color: #6183683d; }
.qamar-statement { font-size: clamp(30px, 3vw, 43px); line-height: 1.15; letter-spacing: -.04em; margin-top: 30px; }
.qamar-statement em { color: #3a6d4c; }
.qamar-numbers { display: flex; gap: 55px; margin-top: 22px; }
.qamar-numbers > div { display: flex; flex-direction: column; }
.qamar-numbers strong { font-size: 54px; line-height: 1.2; font-weight: 400; letter-spacing: -.05em; }
.qamar-numbers span { font-size: 12px; color: #4e6b55; }
.emissions-chart { margin-top: 24px; }
.chart-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .02em; border-top: 1px solid #86a68d66; padding-top: 15px; }
.chart-row { margin-top: 11px; }
.chart-row > div:first-child { display: flex; justify-content: space-between; font-size: 12px; }
.chart-row b { font-weight: 400; }
.bar-track { height: 6px; background: linear-gradient(90deg, #a1c1ad, #e8f2ec); border-radius: 5px; margin-top: 5px; overflow: hidden; }
.bar-track > span { display: block; height: 100%; width: var(--bar-width); background: linear-gradient(90deg, #175539, #5e9875); border-radius: 5px; transform-origin: left; transition: filter .4s; }
.qamar-visual:hover .bar-track > span { filter: brightness(1.2); }
.project-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 22px; }
.research-heading { padding-top: 20px; margin-bottom: 35px; }
.research-heading h3 { font-size: 35px; margin-top: 14px; }
.research-heading .eyebrow { color: #66816b; }
.research-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 32px; }
.research-card { display: flex; flex-direction: column; background: linear-gradient(140deg, #ffffffeb, #e8f3edd9); border: 1px solid #ccdcd1; border-radius: 24px; overflow: hidden; transition: box-shadow .4s; }
.research-card:focus-within, .research-card:hover { box-shadow: 0 20px 50px #123d2b12; }
.research-cover { position: relative; min-height: 355px; padding: 28px; display: flex; flex-direction: column; overflow: hidden; }
.msc-cover { background: linear-gradient(140deg, #174831, #357354 68%, #689e7e); color: #edf6f0; }
.bsc-cover { background: linear-gradient(130deg, #eff7f1, #bed9c7 68%, #8db39b); color: #234c32; }
.research-cover-main { display: flex; align-items: center; gap: 24px; margin-block: auto; padding-block: 24px; }
.research-keyword { font: italic 400 76px/1.1 var(--serif); letter-spacing: -.055em; white-space: nowrap; }
.bsc-cover .research-keyword { font-family: var(--body); font-style: normal; font-size: 101px; letter-spacing: -.09em; }
.research-cover-main p { font-size: 16px; line-height: 1.5; }
.research-cover .card-explore { margin: 0 0 20px; }
.bsc-cover .card-explore { border-color: #64846b66; background: linear-gradient(125deg, #ffffffb0, #ffffff20); }
.research-cover-footer { border-top: 1px solid #ffffff40; padding-top: 15px; align-items: start; }
.research-cover-footer span:last-child { flex-shrink: 0; }
.bsc-cover .research-cover-footer { border-color: #53775c4d; }
.research-copy { display: flex; flex-direction: column; flex: 1; padding: 30px; }
.research-copy > .eyebrow { color: #61806a; }
.research-copy h3 { font-size: 32px; line-height: 1.15; margin: 14px 0 22px; }
.research-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.research-copy details { margin-bottom: 20px; }
.document-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: auto; }
.document-actions .text-link { margin-top: 8px; }
.download-link { display: flex; align-items: center; gap: 12px; font-size: 14px; padding-block: 11px; }
.download-link:hover { color: #448764; }
.experience-section { color: #eff7f1; background: radial-gradient(ellipse at 95% 5%, #89b49338, transparent 60%), linear-gradient(130deg, #113b2b, #1a553a 60%, #477e5b); }
.experience-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 95px; }
.experience-intro .eyebrow, .timeline .eyebrow, .learning-grid > .reveal > .eyebrow { color: #c1d9c9; }
.experience-intro h2 { font-size: clamp(36px, 3.2vw, 48px); line-height: 1.2; }
.experience-intro h2 em { color: #d6ecdf; }
.experience-intro > p:not(.eyebrow) { font-size: 16px; color: #ccdfd2; margin-top: 25px; max-width: 335px; }
.button-outline { border: 1px solid #c0d8c875; color: #f6fbf8; background: linear-gradient(120deg, #ffffff18, #ffffff03); margin-top: 28px; }
.timeline-item { padding-bottom: 32px; border-bottom: 1px solid #c3decc38; margin-bottom: 30px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item h3 { font-size: 25px; letter-spacing: -.03em; margin-top: 12px; }
.timeline-item .company { font-size: 14px; margin-top: 10px; color: #deece3; }
.timeline-item > p:not(.eyebrow):not(.company) { color: #c7ded0; font-size: 16px; margin-top: 18px; }
.learning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 74px; padding-top: 45px; border-top: 1px solid #b5d4bd40; }
.learning-list { list-style: none; margin: 24px 0 0; padding: 0; }
.learning-list li { margin-top: 20px; display: flex; flex-direction: column; gap: 3px; }
.learning-list li > span { font-size: 16px; line-height: 1.5; }
.learning-list small { font-size: 12px; color: #c4daca; }
.contact-section { padding: 108px 0; background: radial-gradient(ellipse at 100% 100%, #568d614d, transparent 70%), linear-gradient(130deg, #fff, #ecf5ee 55%, #c4ddcb); }
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 100px; align-items: center; }
.contact-layout .eyebrow { color: #5a7a61; }
.contact-layout h2 { font-size: clamp(47px, 4.9vw, 68px); line-height: 1.1; }
.contact-layout h2 em { color: #45825a; }
.contact-layout > div > p:not(.eyebrow) { max-width: 490px; color: #527059; font-size: 16px; margin-top: 26px; }
.contact-layout .contact-status { font-size: 14px !important; line-height: 1.8; }
.contact-layout .button-green { margin-top: 26px; }
.contact-links > a { display: grid; grid-template-columns: 1fr 30px; gap: 10px; padding: 26px 0; border-bottom: 1px solid #a9c4b1; transition: transform .25s; }
.contact-links > a:hover { transform: translateX(5px); }
.contact-links > a > span { grid-column: 1; font-size: 12px; letter-spacing: .1em; color: #55765e; }
.contact-links strong { grid-column: 1; font-size: 20px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.contact-links b { grid-column: 2; grid-row: 1/3; align-self: center; font-size: 25px; font-weight: 400; }
.footer { display: flex; align-items: center; gap: 35px; padding-block: 30px; }
.footer .paul-logo { width: 130px; }
.footer > span { font-size: 12px; color: #5d7664; margin-left: auto; }
.back-top { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #bfd5c5; border-radius: 50%; font-size: 20px; background: var(--light-gradient); }
.reveal { transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); }
.motion-ready .reveal:not(.visible) { opacity: 0; transform: translateY(24px); }
@media (min-width: 1500px) {
  .hero { padding-top: 145px; }
  .portrait-stage { height: 600px; }
  .hero-copy { padding-top: 35px; }
  .hero h1 { font-size: 87px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .site-header { padding-inline: 36px; gap: 28px; }
  .hero-inner { gap: 0 18px; }
  .hero h1 { font-size: 65px; }
  .portrait-stage { height: 550px; }
  .hero-description { font-size: 16px; }
  .story { gap: 42px; }
  .project { gap: 36px; }
  .project-visual { padding: 26px; }
  .research-cover { padding: 25px; }
  .research-cover-main { gap: 18px; }
  .research-cover-main p { font-size: 15px; }
  .experience-layout, .contact-layout { gap: 55px; }
  .contact-links strong { font-size: 18px; }
  .visual-top { flex-wrap: wrap; }
  .visual-top > span:first-child { min-width: 150px; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { height: 86px; padding-inline: 24px; gap: 18px; }
  .site-header .paul-logo { width: 100px; }
  .desktop-nav { gap: 18px; }
  .nav-contact { padding: 9px 15px; gap: 12px; }
  .hero { padding-top: 108px; }
  .hero-inner { padding-top: 15px; }
  .hero h1 { font-size: clamp(44px, 6.5vw, 54px); }
  .hero-intro { font-size: 12px; }
  .hero-intro span { padding-inline: 5px; }
  .portrait-stage { height: 480px; }
  .hero-description { font-size: 16px; }
  .hero-actions { gap: 20px; }
  .hero-actions .button { gap: 15px; padding-inline: 18px; }
  .quiet-link { gap: 7px; }
  .hero-bottom > a { display: none; }
  .section { padding-block: 80px; }
  .story { grid-template-columns: 1fr; gap: 27px; }
  .story h2 { font-size: 37px; }
  .section-heading h2 { font-size: 42px; }
  .section-heading > p { font-size: 14px; }
  .work-section { padding-block: 80px; }
  .project { gap: 28px; }
  .project-visual { padding: 22px; }
  .visual-top { gap: 10px; }
  .carbone-logo { margin-top: 32px; }
  .visual-statement { font-size: 26px; }
  .carbone-flow { gap: 8px; }
  .project-copy h3 { font-size: 29px; }
  .qamar-statement { font-size: 31px; }
  .qamar-numbers { gap: 35px; }
  .qamar-numbers span { max-width: 110px; }
  .research-grid { gap: 22px; }
  .research-cover { padding: 22px; }
  .research-cover-main { flex-direction: column; align-items: start; gap: 13px; }
  .research-keyword { font-size: 65px; }
  .bsc-cover .research-keyword { font-size: 80px; }
  .research-cover-footer span:last-child { display: none; }
  .research-copy { padding: 25px; }
  .research-copy h3 { font-size: 28px; }
  .experience-layout, .contact-layout { gap: 35px; }
  .experience-intro h2 { font-size: 35px; }
  .learning-grid { gap: 40px; }
  .contact-layout h2 { font-size: 48px; }
  .contact-links strong { font-size: 16px; }
  .contact-section { padding-block: 80px; }
  .footer { gap: 22px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 92px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 80px; padding-inline: 20px; gap: 15px; }
  .site-header .paul-logo { width: 100px; }
  .desktop-nav { display: none; }
  .nav-contact { margin-left: auto; gap: 10px; padding: 8px 14px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; width: 38px; height: 44px; justify-content: center; align-items: center; color: var(--forest); padding: 8px; border: 0; background: transparent; }
  .menu-toggle span { width: 22px; height: 1px; background: linear-gradient(90deg, #174530, #3e7254); transition: transform .25s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  #mobile-nav:not([hidden]) { position: absolute; display: flex; flex-direction: column; top: 80px; left: 0; right: 0; padding: 12px 20px 22px; background: linear-gradient(125deg, #fffffff7, #e0eee5f5); backdrop-filter: blur(20px); box-shadow: 0 20px 25px #001b1110; }
  #mobile-nav a { padding: 12px 8px; font-size: 17px; }
  .opening { background: radial-gradient(ellipse 125% 34% at 110% 43%, #185d419c 0%, #7dac8a6b 33%, #ffffff00 74%), linear-gradient(155deg, #fff, #f0f7f2 35%, #dcece1 70%, #fff); }
  .hero { padding-top: 112px; }
  .hero-inner { display: flex; flex-direction: column; padding-top: 0; }
  .hero-copy { padding: 0; }
  .hero-intro { font-size: 12px; line-height: 1.8; }
  .hero-intro span { padding-inline: 7px; }
  .hero h1 { font-size: clamp(46px, 11.8vw, 70px); margin-top: 24px; line-height: 1.09; }
  .hero-description { font-size: 16px; max-width: 440px; margin-top: 24px; line-height: 1.65; }
  .hero-actions { margin-top: 26px; gap: 25px; }
  .hero-actions .button { gap: 23px; padding: 15px 20px; }
  .portrait-stage { width: 100%; height: 445px; margin-top: 34px; align-self: center; max-width: 430px; }
  .hero-bottom { width: 100%; padding: 15px 0 0; flex-wrap: wrap; gap: 12px; }
  .hero-bottom > span:first-child { font-size: 12px; letter-spacing: .03em; }
  .availability { font-size: 12px; gap: 8px; }
  .section { padding-block: 67px; }
  .story { gap: 22px; }
  .story h2 { font-size: 33px; line-height: 1.2; margin-bottom: 23px; }
  .story-copy > p { font-size: 16px; }
  .skill-tags { margin-top: 26px; }
  .skill-tags span { font-size: 12px; padding: 6px 11px; }
  .work-section { padding: 60px 0 70px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p { font-size: 15px; margin-top: 18px; }
  .project { grid-template-columns: 1fr; gap: 29px; margin-bottom: 57px; }
  .project-visual { min-height: 485px; padding: 25px; }
  .visual-top > span:first-child { min-width: 140px; }
  .project-qamar .project-visual { order: 0; }
  .project-qamar .project-copy { order: 1; }
  .carbone-logo { margin-top: 37px; }
  .visual-statement { font-size: 29px; }
  .scope-pills { margin-top: 24px; }
  .carbone-flow { font-size: 12px; gap: 11px; }
  .visual-top, .visual-bottom { font-size: 12px; }
  .project-copy h3 { font-size: 33px; margin: 14px 0 20px; }
  .qamar-statement { font-size: 35px; margin-top: 27px; }
  .qamar-numbers { gap: 55px; margin-top: 18px; }
  .qamar-numbers strong { font-size: 52px; }
  .qamar-numbers span { max-width: 145px; }
  .qamar-visual { min-height: 530px; }
  .research-heading h3 { font-size: 30px; }
  .research-grid { grid-template-columns: 1fr; gap: 30px; }
  .research-cover { min-height: 350px; padding: 25px; }
  .research-cover-main { flex-direction: row; align-items: center; gap: 23px; }
  .research-keyword { font-size: 69px; }
  .bsc-cover .research-keyword { font-size: 91px; }
  .research-cover-main p { font-size: 15px; }
  .research-copy { padding: 28px 25px; }
  .research-copy h3 { font-size: 31px; }
  .document-actions { gap: 12px; }
  .experience-layout { grid-template-columns: 1fr; gap: 42px; }
  .experience-intro h2 { font-size: 39px; }
  .experience-intro > p:not(.eyebrow) { max-width: none; }
  .timeline-item { padding-bottom: 27px; }
  .learning-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 42px; padding-top: 35px; }
  .contact-section { padding-block: 70px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-layout h2 { font-size: 47px; }
  .contact-links strong { font-size: 18px; }
  .contact-links > a { padding-block: 22px; }
  .footer { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 14px; padding-block: 28px; }
  .footer > .wordmark { grid-column: 1; }
  .footer > span { grid-column: 1; font-size: 12px; margin-left: 0; }
  .back-top { grid-column: 2; grid-row: 1/3; align-self: start; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { padding-inline: 16px; gap: 10px; }
  .site-header .paul-logo { width: 84px; }
  .nav-contact { padding-inline: 12px; }
  .hero h1 { font-size: 43px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { padding-inline: 17px; gap: 17px; }
  .portrait-stage { height: 385px; }
  .research-cover-main { gap: 15px; }
  .research-keyword { font-size: 58px; }
}
@media (hover: none) {
  .bento-tile { transform: none; }
  .bento-tile:hover::before { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal:not(.visible) { opacity: 1; transform: none; }
  .bento-tile, .button:hover, .nav-contact:hover, .contact-links > a:hover { transform: none; }
}
@media print {
  .site-header, .reading-progress, .hero-actions, .portrait-stage, .hero-bottom, .menu-toggle, .back-top, .card-explore { display: none; }
  .wrap { width: 100%; }
  .hero, .experience-section { color: #000; }
  .hero { padding-top: 0; }
  .hero-inner, .story, .project, .experience-layout, .learning-grid, .contact-layout { display: block; }
  .hero h1 { font-size: 38px; }
  .section, .work-section, .contact-section { padding-block: 25px; }
  .project, .research-card, .timeline-item { break-inside: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-description, .timeline-item p, .experience-intro p, .learning-list small { color: #444 !important; }
}

@media (min-width: 641px) and (max-width: 740px) {
  .site-header { gap: 10px; }
  .site-header .paul-logo { width: 90px; }
  .desktop-nav { gap: 13px; }
  .nav-contact { padding-inline: 12px; gap: 9px; }
}

.icon-arrow { display: inline-block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; flex-shrink: 0; }
