:root {
  --bg:#121214;
  --surface:#1b1b1e;
  --text:#f5f2ef;
  --muted:#9b999e;
  --accent:#ff735f;
  --border:#ffffff20;
  color-scheme:dark;
  font-family:'Poppins',sans-serif;
  font-size: 16px}
* {
  box-sizing:border-box}
html {
  scroll-behavior:smooth;
  scroll-padding-top:40px}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased}
button,a {
  -webkit-tap-highlight-color:transparent}
a {
  color:inherit;
  text-decoration:none}
button {
  font:inherit;
  color:inherit;
  cursor:pointer}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:7px}
button {
  border:0}
::selection {
  background:var(--accent);
  color:var(--bg)}
.wrap {
  width:min(1280px,calc(100% - 112px));
  margin:auto}
.nav {
  height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--border);
  gap:32px}
.brand {
  display:flex;
  align-items:center;
  gap:16px}
.brand img {
  width:33px;
  height:36px;
  object-fit:contain}
.brand>span {
  font-size: 14px;
  letter-spacing:0;
  line-height:1.8}
.brand-small {
  display:block;
  color:var(--muted)}
nav {
  display:flex;
  gap:32px;
  font-size: 14px}
nav a,.contact-link {
  transition:color .2s}
nav a:hover,.contact-link:hover {
  color:var(--accent)}
.nav-right {
  display:flex;
  gap:40px;
  align-items:center}
.languages {
  display:flex;
  align-items:center;
  gap:8px;
  color:#777;
  font-size: 14px}
.languages button {
  background:none;
  padding:16px 8px;
  font-size: 14px;
  color:var(--muted)}
.languages button[aria-pressed=true] {
  color:#fff}
.contact-link {
  display:flex;
  gap:24px;
  font-size: 14px}
.hero {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  min-height:615px;
  align-items:center;
  gap:24px;
  position:relative;
  padding-top:40px;
  padding-bottom:40px}
.eyebrow {
  font-size: 14px;
  letter-spacing:0;
  display:flex;
  gap:16px;
  align-items:center;
  font-weight:600}
.line {
  width:24px;
  height:1px;
  background:var(--accent)}
.hello {
  font-size: 19px;
  margin:32px 0 16px}
.hero h1 {
  font-size:clamp(48px,4.6vw,70px);
  line-height:1.055;
  letter-spacing:0;
  font-weight:500;
  margin:0;
  position:relative;
  z-index:2}
em {
  font-style:normal;
  color:var(--accent)}
.intro {
  font-size: 16px;
  line-height:1.8;
  color:var(--muted);
  margin:24px 0}
.text-cta {
  display:inline-flex;
  gap:16px;
  align-items:center;
  font-size: 14px;
  margin-top:8px}
.circle-arrow {
  border:1px solid #ffffff42;
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size: 20px;
  transition:.25s}
.text-cta:hover .circle-arrow {
  background:var(--accent);
  color:var(--bg);
  border-color:var(--accent);
  transform:translateY(3px)}
.portrait-scene {
  height:510px;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  isolation:isolate}
.portrait-scene:before {
  content:'';
  position:absolute;
  inset:-40px;
  background:radial-gradient(ellipse,#ab353132,transparent 68%);
  z-index:-2}
.portrait-frame {
  width:330px;
  height:410px;
  border-radius:170px 170px 18px 18px;
  overflow:hidden;
  position:relative;
  background:#777;
  transform:rotate(-5deg);
  box-shadow:22px 24px 80px #0007;
  border:1px solid #ffffff38}
.portrait-frame:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,#35191780,transparent 60%);
  mix-blend-mode:color}
.portrait {
  position:absolute;
  width:135.4%;
  max-width:none;
  left:-16.1%;
  height:121%;
  top:-20.7%;
  object-fit:cover;
  filter:grayscale(1)}
.orbit {
  position:absolute;
  width:445px;
  height:445px;
  border:1px solid #fa796147;
  border-radius:50%;
  z-index:-1;
  transform:rotate(-20deg)}
.orbit-one {
  background:radial-gradient(ellipse at 75% 10%,#b9443650,#59252150 60%,transparent);
  border-color:#b85e4d55}
.orbit-two {
  width:485px;
  height:325px;
  transform:rotate(-32deg);
  border-color:#ff937058;
  z-index:1;
  pointer-events:none;
  border-top-color:transparent;
  border-right-color:transparent}
.scene-star {
  position:absolute;
  right:14px;
  top:30px;
  font-size: 75px;
  line-height:1;
  color:var(--accent);
  transform:rotate(10deg)}
.portrait-caption {
  position:absolute;
  bottom:38px;
  left:8px;
  display:flex;
  align-items:center;
  gap:16px;
  background:#222125db;
  backdrop-filter:blur(15px);
  padding:16px 24px;
  border:1px solid #ffffff24;
  border-radius:12px;
  transform:rotate(3deg);
  box-shadow:0 12px 35px #0004}
.portrait-caption>span:first-child {
  font-size: 39px;
  letter-spacing:0}
.portrait-caption>span:last-child {
  font-size: 14px;
  line-height:1.6;
  color:#d0c7c7}
.vertical-label {
  position:absolute;
  right:-16px;
  bottom:160px;
  writing-mode:vertical-rl;
  font-size: 14px;
  letter-spacing:0;
  color:var(--muted)}
.work {
  padding-top:32px;
  padding-bottom:88px}
.section-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px}
.coral {
  color:var(--accent)}
.muted {
  color:var(--muted)}
.micro {
  font-size: 14px}
.project-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  perspective:1200px}
.project-card {
  display:block;
  min-width:0;
  transform-style:preserve-3d;
  transition:transform .25s,filter .25s}
.project-card:hover {
  filter:brightness(1.07)}
.project-art {
  height:258px;
  border:1px solid #ffffff26;
  border-radius:15px;
  overflow:hidden;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 28px #0004;
  transition:box-shadow .3s}
.project-card:hover .project-art {
  box-shadow:0 28px 44px #0008}
.project-art.nova {
  background:radial-gradient(ellipse at top,#655c9044,transparent),#28232f}
.project-art.forma {
  background:#c2c3b2}
.project-art.pulse {
  background:radial-gradient(ellipse at bottom,#af3e2470,transparent),#432a28}
.art-label {
  position:absolute;
  left:17px;
  top:16px;
  font-size: 14px;
  letter-spacing:0;
  color:#dfd7eb}
.forma .art-label {
  color:#424638}
.mini-dashboard {
  background:#15151d;
  width:83%;
  height:179px;
  border:1px solid #777580;
  border-radius:8px;
  transform:rotate(-7deg) translateY(28px);
  box-shadow:10px 15px 25px #0007;
  color:#ddd;
  padding:16px;
  font-size: 14px;
  text-align:left}
.mini-nav {
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid #ffffff19;
  padding-bottom:16px}
.mini-nav strong {
  font-size: 14px;
  color:#d9bcff}
.mini-content {
  display:flex;
  gap:16px;
  margin-top:16px}
.mini-side {
  width:22%;
  color:#95949b;
  line-height:2.5}
.mini-body {
  flex:1}
.mini-body>span {
  color:#aaa}
.balance {
  font-size: 22px;
  margin:8px 0 8px}
.chart {
  height:52px;
  display:flex;
  align-items:flex-end;
  gap:8px;
  border-bottom:1px solid #aaa4}
.chart i {
  display:block;
  background:#b6a0f1;
  flex:1;
  border-radius:3px 3px 0 0}
.mini-shop {
  width:79%;
  background:#f3f3e9;
  color:#353b30;
  padding:16px 16px;
  transform:rotate(6deg) translateY(26px);
  box-shadow:10px 20px 30px #454d4144;
  min-height:180px}
.shop-nav {
  display:flex;
  justify-content:space-between;
  font-size: 14px;
  border-bottom:1px solid #0002;
  padding-bottom:8px}
.shop-body {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:16px;
  gap:8px}
.shop-title {
  font-family:'Poppins',sans-serif;
  font-size: 26px;
  line-height:1.05}
.shop-swatch {
  width:83px;
  height:100px;
  background:#bcc1ae;
  display:flex;
  flex-direction:column;
  justify-content:end;
  padding:8px;
  gap:8px}
.shop-swatch span {
  font-size: 14px;
  letter-spacing:0}
.shop-swatch b {
  font-family:'Poppins',sans-serif;
  font-size: 26px;
  font-weight:normal}
.shop-foot {
  font-size: 14px;
  letter-spacing:0;
  margin-top:16px}
.phone {
  width:118px;
  height:220px;
  border:4px solid #222;
  border-radius:23px;
  background:#19191b;
  transform:rotate(-11deg) translateY(35px);
  box-shadow:15px 15px 25px #0008;
  padding:8px;
  color:#fff;
  font-size: 14px}
.phone-notch {
  width:33px;
  height:7px;
  background:#030303;
  border-radius:12px;
  margin:0 auto 16px}
.phone-title {
  font-size: 19px;
  letter-spacing:0;
  margin:8px 0 16px}
.phone-progress {
  width:68px;
  height:68px;
  border-radius:50%;
  border:7px solid #fd895d;
  display:grid;
  place-items:center;
  margin:0 auto 16px;
  font-size: 17px;
  border-left-color:#41322c;
  transform:rotate(10deg)}
.phone-bottom {
  border-radius:5px;
  background:#38312c;
  color:#ffb78d;
  padding:8px 8px}
.pulse-note {
  position:absolute;
  right:28px;
  top:96px;
  border:1px solid #ffb68a44;
  padding:16px;
  border-radius:9px;
  background:#653c31;
  transform:rotate(9deg);
  font-size: 14px;
  box-shadow:8px 12px 20px #0003;
  color:#fff}
.pulse-note strong {
  font-size: 21px;
  display:block;
  margin-top:8px}
.project-meta {
  padding:24px 8px;
  display:flex;
  justify-content:space-between;
  align-items:center}
.project-meta h3 {
  font-size: 20px;
  font-weight:500;
  margin:0 0 8px;
  letter-spacing:0}
.project-meta p {
  margin:0;
  font-size: 14px;
  color:var(--muted)}
.project-arrow {
  height:34px;
  width:34px;
  border:1px solid #ffffff30;
  border-radius:50%;
  display:grid;
  place-items:center}
.section {
  display:grid;
  grid-template-columns:1fr 2.3fr;
  gap:56px;
  border-top:1px solid var(--border);
  padding:88px 0}
.section-label {
  font-size: 14px;
  display:flex;
  gap:16px;
  padding-top:8px}
h2 {
  font-size:clamp(30px,3.3vw,46px);
  line-height:1.18;
  letter-spacing:0;
  font-weight:400;
  margin:0 0 32px}
.about-columns {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px}
.about-columns p {
  color:var(--muted);
  line-height:1.85;
  margin:0;
  font-size: 15px}
.signature {
  font-family:'Poppins',sans-serif;
  font-style:italic;
  font-size: 30px;
  margin-top:32px}
.skill-list>div {
  padding:24px 0;
  border-bottom:1px solid var(--border);
  display:flex;
  gap:24px;
  align-items:center}
.skill-no {
  font-size: 14px;
  color:var(--muted);
  align-self:start;
  padding-top:8px}
.skill-list h3 {
  font-weight:400;
  font-size: 22px;
  margin:0 0 8px}
.skill-list p {
  font-size: 14px;
  line-height:1.7;
  color:var(--muted);
  margin:0}
.skill-symbol {
  margin-left:auto;
  color:var(--accent);
  font-size: 35px}
.contact {
  padding:72px 0;
  border-top:1px solid var(--border);
  position:relative}
.contact-main {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:32px}
.contact h2 {
  font-size:clamp(38px,4.8vw,66px);
  letter-spacing:0}
.big-arrow {
  font-size: 105px;
  font-weight:200;
  color:var(--accent)}
.contact-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  font-size: 14px;
  color:var(--muted)}
.email-placeholder {
  border-bottom:1px dashed #ffffff45;
  padding-bottom:8px;
  font-size: 14px}
footer {
  padding:24px 0 32px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size: 14px;
  gap:24px}
footer a {
  color:#eee}
.skip {
  position:fixed;
  top:-80px;
  left:20px;
  padding:16px;
  background:#fff;
  color:#000;
  z-index:10}
.skip:focus {
  top:15px}
[hidden] {
  display:none!important}
#project-view {
  min-height:80vh;
  padding-top:48px}
.project-back {
  border:1px solid var(--border);
  border-radius:25px;
  padding:16px 24px;
  background:none;
  font-size: 14px;
  margin-bottom:56px}
.detail-top {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px}
.detail-title {
  font-size:clamp(52px,8vw,110px);
  font-weight:400;
  letter-spacing:0;
  line-height:1;
  margin:24px 0}
.detail-description {
  font-size: 22px;
  color:var(--muted);
  max-width:570px;
  line-height:1.5}
.concept-badge {
  font-size: 14px;
  border:1px solid var(--border);
  padding:8px 16px;
  border-radius:30px;
  white-space:nowrap}
.detail-art {
  margin:48px 0 64px}
.detail-art .project-art {
  height:470px;
  border-radius:20px}
.detail-art .mini-dashboard,.detail-art .mini-shop {
  max-width:550px;
  transform:scale(1.6) rotate(-5deg)}
.detail-art .phone {
  transform:scale(1.6) rotate(-9deg)}
.detail-art .pulse-note {
  right:20%;
  top:35%;
  transform:scale(1.5) rotate(8deg)}
.detail-art .art-label {
  font-size: 14px;
  left:30px;
  top:28px}
.detail-info {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  padding-bottom:48px;
  border-bottom:1px solid var(--border)}
.detail-info h3 {
  font-size: 14px;
  color:var(--muted);
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:0}
.detail-info p {
  font-size: 15px;
  line-height:1.7}
.detail-story {
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:64px;
  margin:64px 0}
.detail-story p {
  font-size: 18px;
  line-height:1.8;
  color:var(--muted);
  margin-top:0}
.next-project {
  width:100%;
  background:none;
  border-top:1px solid var(--border);
  padding:32px 0 64px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  text-align:left}
.next-project span:first-child {
  font-size: 14px;
  color:var(--muted)}
.next-project strong {
  font-size: 32px;
  font-weight:400}
.view-enter {
  animation:enter .5s ease both}
@keyframes enter {
  from {
  opacity:0;
  transform:translateY(25px)}
to {
  opacity:1;
  transform:translateY(0)}
}
::view-transition-old(root) {
  animation:exit .3s ease both}
::view-transition-new(root) {
  animation:enter .45s ease both}
@keyframes exit {
  to {
  opacity:0;
  transform:translateY(-20px)}
}

@media(min-width:1600px) {
  .hero {
  min-height:680px}
.hero h1 {
  font-size: 76px}
.project-art {
  height:290px}
}
@media(max-width:1100px) {
  .wrap {
  width:calc(100% - 64px)}
.hero {
  grid-template-columns:1.15fr 1fr}
.hero h1 {
  font-size: 53px;
  letter-spacing:0}
.portrait-scene {
  transform:scale(.85);
  transform-origin:center right}
.project-grid {
  gap:16px}
.project-art {
  height:220px}
.pulse-note {
  right:9px}
.section {
  gap:32px;
  grid-template-columns:1fr 2.7fr}
.nav-right {
  gap:24px}
nav {
  gap:24px}
}
@media(max-width:800px) {
  .wrap {
  width:calc(100% - 40px)}
.nav {
  height:85px;
  gap:16px}
.brand>span {
  display:none}
nav {
  gap:16px;
  font-size: 14px}
.contact-link {
  display:none}
.nav-right {
  gap:0}
.hero {
  grid-template-columns:1fr 1fr;
  min-height:540px;
  gap:0}
.hero h1 {
  font-size: 43px;
  letter-spacing:0}
.hero .eyebrow {
  font-size: 14px;
  letter-spacing:0}
.portrait-scene {
  transform:scale(.65);
  width:440px;
  justify-self:end;
  margin-left:-152px;
  margin-right:-16px}
.hello {
  font-size: 17px}
.intro {
  font-size: 14px}
.project-grid {
  gap:16px}
.project-art {
  height:195px}
.mini-dashboard {
  width:90%;
  padding:8px}
.mini-shop {
  width:90%;
  padding:8px}
.shop-title {
  font-size: 21px}
.shop-swatch {
  width:54px}
.phone {
  transform:scale(.85) rotate(-11deg) translateY(45px)}
.pulse-note {
  display:none}
.project-meta h3 {
  font-size: 18px}
.project-meta p {
  font-size: 14px;
  line-height:1.6}
.section {
  grid-template-columns:1fr;
  gap:32px;
  padding:56px 0}
.about-columns p {
  font-size: 16px}
.contact h2 {
  font-size: 44px}
.big-arrow {
  font-size: 75px}
.detail-art .mini-dashboard,.detail-art .mini-shop {
  max-width:400px;
  transform:rotate(-5deg) scale(1.2)}
}
@media(max-width:600px) {
  .nav {
  height:80px}
nav a:last-child {
  display:none}
nav {
  gap:16px}
.brand img {
  width:27px;
  height:30px}
.languages button {
  padding:16px 8px}
.hero {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  padding-top:40px;
  padding-bottom:0}
.hero h1 {
  font-size:clamp(42px,10.5vw,62px);
  letter-spacing:0}
.hero .eyebrow {
  font-size: 14px}
.hello {
  margin-top:32px}
.intro {
  font-size: 15px}
.portrait-scene {
  margin:-8px auto -40px;
  width:100%;
  height:430px;
  transform:scale(.8);
  transform-origin:center center}
.portrait-frame {
  flex-shrink:0}
.orbit {
  width:370px;
  height:370px}
.orbit-two {
  width:390px;
  height:275px}
.scene-star {
  right:-5px;
  top:0;
  font-size: 60px}
.portrait-caption {
  left:-4px;
  bottom:0}
.vertical-label {
  right:-10px;
  bottom:110px}
.work {
  padding-top:40px;
  padding-bottom:40px}
.section-top {
  align-items:start;
  gap:24px}
.micro {
  display:none}
.project-grid {
  grid-template-columns:1fr;
  gap:16px}
.project-art {
  height:270px}
.mini-dashboard {
  width:80%;
  padding:16px}
.mini-shop {
  width:78%;
  padding:16px}
.shop-title {
  font-size: 28px}
.shop-swatch {
  width:85px}
.phone {
  transform:rotate(-11deg) translateY(30px)}
.pulse-note {
  display:block;
  right:45px}
.project-meta {
  padding:16px 8px 16px}
.project-meta h3 {
  font-size: 21px}
.project-meta p {
  font-size: 14px}
.about-columns {
  grid-template-columns:1fr;
  gap:24px}
h2 {
  font-size: 33px;
  letter-spacing:0}
.skill-list h3 {
  font-size: 21px}
.skill-list>div {
  gap:16px}
.skill-symbol {
  font-size: 27px}
.contact {
  padding:48px 0}
.contact h2 {
  font-size: 39px;
  letter-spacing:0}
.big-arrow {
  display:none}
.contact-bottom {
  display:block;
  line-height:1.7}
.contact-bottom p {
  margin-bottom:24px}
footer {
  font-size: 14px;
  flex-wrap:wrap;
  gap:16px}
footer>span:nth-child(2) {
  order:3;
  width:100%}
footer a {
  margin-left:auto}
.detail-top {
  display:block}
.detail-title {
  letter-spacing:0}
.detail-description {
  font-size: 18px}
.concept-badge {
  display:inline-block;
  margin-top:8px}
.detail-art .project-art {
  height:300px}
.detail-art .mini-dashboard,.detail-art .mini-shop {
  transform:rotate(-5deg);
  max-width:85%}
.detail-art .phone {
  transform:rotate(-9deg) scale(1.1)}
.detail-art .pulse-note {
  transform:rotate(8deg);
  right:12%;
  top:35%}
.detail-info {
  grid-template-columns:1fr;
  gap:8px}
.detail-story {
  grid-template-columns:1fr;
  gap:0}
.detail-story p {
  font-size: 16px}
.next-project strong {
  font-size: 25px}
.project-back {
  margin-bottom:32px}
.section-label {
  font-size: 14px}
}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto}
*,*:before,*:after {
  animation:none!important;
  transition:none!important}
.project-card {
  transform:none!important}
::view-transition-group(*),::view-transition-old(*),::view-transition-new(*) {
  animation:none!important}
}


/* Visual direction: saturated violet, magenta and ice blue. */


:root {
  --bg: #100e22;
  --surface: #211b3d;
  --text: #f7f5ff;
  --muted: #b3adc9;
  --accent: #e78bff;
  --border: transparent;
  font-family:'Poppins',sans-serif;
}
body {
  background: radial-gradient(ellipse at 90% 0%, #3b22644a, transparent 34%), var(--bg);
}
/* Surfaces are separated by colour, spacing and depth, never outlines. */
*, *::before, *::after { border: 0 !important; }
:focus-visible { outline: 3px solid #a9cfff; outline-offset: 6px; }
.nav { height: 84px; }
.nav a, .languages button { font-size: 14px; }
.brand > span { font-size: 14px; }
.hero {
  min-height: 0;
  height: auto;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr);
  gap: 72px;
  padding-top: 24px;
  padding-bottom: 32px;
}
.hello { font-size: 19px; margin: 0 0 24px; color: #d9c9f1; }
.hero h1, h2, .project-meta h3, .detail-title, .next-project strong {
  font-family:'Poppins',sans-serif;
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(34px, 3.4vw, 51px);
  line-height: 1.11;
  letter-spacing:0;
}
.hero h1 em { color: #e78bff; }
.intro { font-size: 16px; line-height: 1.65; margin: 24px 0 0; }
.text-cta { margin-top: 24px; gap: 16px; }
.circle-arrow { width: 32px; height: 32px; background: #302744; }
.portrait-scene {
  width: 100%;
  height: 310px;
  transform: none;
  margin: 0;
  justify-self: center;
}
.portrait-scene::before {
  inset: -45px;
  background: radial-gradient(ellipse, #744cff50, transparent 65%);
}
.portrait-frame {
  flex: 0 0 auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  transform: none;
  background: linear-gradient(145deg, #b88eff, #7849dc 48%, #403492);
  box-shadow: 0 20px 65px #07051060;
}
.portrait-frame::after { display: none; }
.portrait {
  width: 135.25%;
  height: auto;
  left: -16.05%;
  top: -24%;
  object-fit: initial;
  filter: none;
}
.work { padding-top: 0; padding-bottom: 88px; }
.section-top { margin-bottom: 24px; }
.eyebrow { font-size: 14px; letter-spacing:0; }
.micro { font-size: 14px; }
.project-grid { gap: 32px; perspective: none; }
.project-cell { min-width: 0; perspective: 1000px; }
.project-card {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --light-x: 50%;
  --light-y: 50%;
  position: relative;
  border-radius: 18px;
  background: #33225b;
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .18s ease-out, box-shadow .25s ease;
  box-shadow: 0 9px 0 #22163e, 0 21px 30px #05030c50;
}
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--light-x) var(--light-y), #ffffff21, transparent 65%);
  opacity: 0;
  transition: opacity .25s;
  transform: translateZ(1px);
}
.project-card.is-tilting::after { opacity: 1; }
.project-card:hover { filter: none; }
.project-card.is-tilting { box-shadow: 0 12px 0 #22163e, 0 34px 50px #05030c80; }
.project-cell:nth-child(2) .project-card { background: #244459; box-shadow: 0 9px 0 #172e40, 0 21px 30px #05030c50; }
.project-cell:nth-child(3) .project-card { background: #61274e; box-shadow: 0 9px 0 #3c1836, 0 21px 30px #05030c50; }
.project-art {
  height: clamp(154px, 18vh, 216px);
  border-radius: 18px 18px 0 0;
  box-shadow: none;
}
.project-card:hover .project-art { box-shadow: none; }
.project-art.nova { background: linear-gradient(130deg, #6945a7, #392360); }
.project-art.forma { background: linear-gradient(135deg, #96cdda, #5381a0); }
.project-art.pulse { background: linear-gradient(130deg, #d47fb1, #863b76); }
.project-meta { padding: 16px 24px 24px; transform: translateZ(22px); }
.project-meta h3 { font-size: 20px; letter-spacing:0; margin-bottom: 8px; }
.project-meta p { font-size: 14px; color: #ded7ee; }
.project-arrow { background: #ffffff16; width: 36px; height: 36px; }
.project-meta .muted { color: #d3bcea; }
.art-label { font-size: 14px; color: #fff; }
.forma .art-label { color: #173846; }
.mini-dashboard { background: #19152a; box-shadow: 12px 18px 25px #0e072559; }
.mini-nav strong { color: #c2a0ff; }
.chart i { background: #c2a0ff; }
.mini-shop { color: #233e4f; background: #e9f3f6; }
.shop-swatch { background: #b4d5e4; }
.phone { box-shadow: 0 0 0 4px #27182c, 12px 18px 25px #1e0b2859; }
.phone-progress { background: #563055; color: #f5a8ed; }
.phone-bottom { background: #42233f; color: #f1b7e6; }
.pulse-note { background: #733c6b; box-shadow: 10px 15px 20px #27102b40; }
h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing:0; line-height: 1.3; }
.section { padding: 80px 0; }
.skills { background: linear-gradient(120deg, transparent, #38234419); }
.skill-list > div { padding: 24px 24px; margin-bottom: 16px; border-radius: 12px; background: #ffffff04; }
.skill-list h3 { font-size: 23px; }
.skill-list p { font-size: 16px; }
.about-columns p { font-size: 17px; }
.signature { font-family:'Poppins',sans-serif; font-style: normal; font-size: 23px; }
.contact { padding: 72px 0; }
.contact h2 { font-size: clamp(30px, 3.7vw, 51px); letter-spacing:0; }
.contact-bottom, .email-placeholder { font-size: 16px; }
footer { font-size: 14px; padding: 32px 0; }
.project-back, .concept-badge { background: #292039; }
.detail-title { font-size: clamp(48px, 7vw, 100px); }
.detail-art .project-art { border-radius: 20px; }
.detail-info { background: #ffffff04; padding: 24px 24px; border-radius: 16px; }
.next-project { background: #ffffff04; padding: 24px; border-radius: 16px; margin-bottom: 48px; }
@media (min-width: 1000px) and (max-height: 800px) {
  .nav { height: 72px; }
  .hero { padding-top: 16px; padding-bottom: 24px; }
  .hero h1 { font-size: 40px; }
  .hello { margin-bottom: 16px; font-size: 17px; }
  .intro { margin-top: 16px; }
  .text-cta { margin-top: 16px; }
  .portrait-scene { height: 280px; }
  .portrait-frame { width: 265px; height: 265px; }
  .project-art { height: 150px; }
  .work { padding-bottom: 64px; }
  .project-meta { padding-top: 16px; padding-bottom: 16px; }
}
@media (min-width: 1600px) {
  .hero { padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: 51px; }
  .portrait-scene { height: 350px; }
  .portrait-frame { width: 340px; height: 340px; }
}
@media (max-width: 1000px) {
  .hero { gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); }
  .hero h1 { font-size: 34px; }
  .portrait-frame { width: 240px; height: 240px; }
  .portrait-scene { height: 270px; }
  .project-grid { gap: 24px; }
  .project-meta { padding: 16px; }
  .project-meta h3 { font-size: 18px; }
  .project-meta p { font-size: 14px; }
}
@media (max-width: 800px) {
  .hero { padding-top: 32px; padding-bottom: 32px; }
  .hero h1 { font-size: 30px; letter-spacing:0; }
  .hero .intro br { display: none; }
  .portrait-frame { width: 210px; height: 210px; }
  .project-art { height: 175px; }
  .project-meta { transform: none; }
  .project-meta h3 { font-size: 17px; }
  .project-arrow { width: 28px; height: 28px; flex-shrink: 0; }
  .project-card { transform: none; }
  .section { padding: 48px 0; }
}
@media (max-width: 600px) {
  .nav { height: 76px; }
  .nav nav a { font-size: 14px; }
  .hero { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 24px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(27px, 6.6vw, 39px); line-height: 1.2; letter-spacing:0; }
  .hello { font-size: 17px; margin-bottom: 24px; }
  .intro { font-size: 16px; line-height: 1.6; }
  .text-cta { margin-top: 16px; }
  .portrait-scene { width: 100%; height: 220px; margin: 0; transform: none; }
  .portrait-frame { width: 220px; height: 220px; }
  .portrait-scene::before { inset: -15px 0; }
  .project-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-art { height: 225px; }
  .project-meta { padding: 16px 24px 24px; }
  .project-meta h3 { font-size: 23px; }
  .project-meta p { font-size: 14px; }
  .project-arrow { width: 38px; height: 38px; }
  .work { padding-top: 0; padding-bottom: 40px; }
  h2 { font-size: 26px; line-height: 1.35; }
  .contact h2 { font-size: 28px; line-height: 1.4; }
  .contact { padding: 40px 0; }
  .next-project { gap: 16px; }
  .next-project strong { font-size: 22px; }
}

/* Glass edition: charcoal, vermilion and warm light. */
:root {
  --bg: #151518;
  --surface: #262326;
  --text: #f7f4f2;
  --muted: #b9b3b5;
  --accent: #ff876c;
}
html { scroll-padding-top: 112px; }
body {
  background: radial-gradient(ellipse at 93% 9%, #a43b2428, transparent 35%),
              radial-gradient(ellipse at 5% 40%, #41485c1a, transparent 40%), #151518;
}
.icon { width: 22px; height: 22px; display: inline-block; flex-shrink: 0; vertical-align: middle; }
[data-icon] { display: inline-flex; justify-content: center; align-items: center; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #18171ac9;
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: #1e1c20e0;
  box-shadow: 0 14px 40px #00000030;
}
.nav { height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; }
.nav .brand { justify-self: start; }
.nav nav { gap: 8px; align-items: center; }
.nav nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 9px;
  color: #c0bbbe;
  transition: background .2s, color .2s;
}
.nav nav a:hover, .nav nav a[aria-current="location"] { color: #fff; background: #ffffff09; }
.nav-right { justify-self: end; gap: 24px; }
.languages { background: #ffffff07; border-radius: 8px; gap: 0; padding: 8px; }
.languages button { padding: 8px 8px; min-height: 34px; font-size: 14px; border-radius: 6px; }
.languages button[aria-pressed="true"] { background: #ffffff12; }
.nav .contact-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 24px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(130deg, #ed612f, #cb351e 90%);
  box-shadow: 0 7px 24px #ff542025;
  transition: box-shadow .25s, transform .25s, filter .25s;
}
.nav .contact-link:hover { transform: translateY(-2px); filter: brightness(1.13); box-shadow: 0 10px 30px #ff542046; color: #fff; }
.contact-link .icon { width: 18px; height: 18px; }
.menu-toggle { display: none; }
.hero { gap: 56px; }
.hello { color: #c5bfc0; }
.hero h1 { color: #f5f2f0; }
.hero h1 em {
  background: linear-gradient(110deg, #ffb487, #ff745b 52%, #f45266);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .intro { max-width: 590px; }
.circle-arrow { background: #ffffff0d; box-shadow: 0 5px 15px #0002; }
.circle-arrow .icon { width: 18px; height: 18px; }
.portrait-scene { isolation: isolate; }
.portrait-scene::before {
  inset: 0;
  background: radial-gradient(ellipse, #ee422275, #e7412520 50%, transparent 75%);
  filter: blur(34px);
  pointer-events: none;
}
.portrait-tilt-area { width: 300px; height: 300px; perspective: 1000px; flex-shrink: 0; }
.portrait-frame {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --light-x: 50%;
  --light-y: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 28% 15%, #ff8c6a70, transparent 58%),
              linear-gradient(145deg, #da4a37, #a32e2c 62%, #4d252b);
  box-shadow: 0 18px 55px #05040660;
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .18s ease-out, box-shadow .25s;
}
.portrait-frame::after {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--light-x) var(--light-y), #ffffff27, transparent 60%);
  mix-blend-mode: normal;
  opacity: 0;
  transition: opacity .25s;
}
.portrait-frame.is-tilting::after { opacity: 1; }
.portrait-frame.is-tilting { box-shadow: 0 30px 65px #05040680; }
.work { position: relative; isolation: isolate; }
.work::before {
  content: '';
  position: absolute;
  left: 3%; right: 3%; top: 40px; height: 180px;
  background: linear-gradient(110deg, #a267362b, #4162762b 50%, #c4303236);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}
.project-card,
.project-cell:nth-child(2) .project-card,
.project-cell:nth-child(3) .project-card {
  background: linear-gradient(145deg, #ffffff13, #ffffff04 70%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 9px 0 #1c1b1fe6, 0 24px 36px #00000045;
}
.project-card.is-tilting,
.project-cell:nth-child(2) .project-card.is-tilting,
.project-cell:nth-child(3) .project-card.is-tilting {
  box-shadow: 0 12px 0 #242126, 0 34px 50px #05030680;
}
.project-card::after {
  background: radial-gradient(circle at var(--light-x) var(--light-y), #ffffff26, transparent 62%);
}
.project-art.nova { background: linear-gradient(135deg, #82736456, #c89c6b20 50%, #26232936); }
.project-art.forma { background: linear-gradient(135deg, #9cb9c85c, #64757d33 50%, #232c3936); }
.project-art.pulse { background: linear-gradient(130deg, #f36e5c60, #a92e3438 70%, #54263420); }
.project-meta p { color: #bfb8bc; }
.project-meta .muted { color: #c3b9b9; }
.project-arrow { background: #ffffff0b; }
.project-arrow .icon { width: 18px; height: 18px; }
.mini-dashboard { background: #211f23; }
.mini-nav strong { color: #ddbea0; }
.chart i { background: #c9ab8e; }
.mini-shop { background: #e1e5e5; color: #37414a; }
.shop-swatch { background: #b4bec1; }
.forma .art-label { color: #e0e9ed; }
.phone { background: #242022; box-shadow: 0 0 0 4px #35272a, 12px 18px 25px #18080c59; }
.phone-progress { color: #ffc4a2; background: #603c34; }
.phone-bottom { background: #49312e; color: #f9b696; }
.pulse-note { background: #6c3f3999; backdrop-filter: blur(12px); box-shadow: 10px 15px 20px #27100b40; }
.project-art .icon { width: 10px; height: 10px; }
.project-art .pulse-note .icon { width: 18px; height: 18px; }
.skill-symbol .icon { width: 31px; height: 31px; }
.skills { background: none; }
.skill-list > div, .detail-info, .next-project {
  background: linear-gradient(120deg, #ffffff08, #ffffff02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.big-arrow .icon { width: 105px; height: 105px; stroke-width: 1; }
.project-back { display: inline-flex; align-items: center; gap: 16px; background: #ffffff0b; }
.concept-badge { background: #ffffff0b; }
.next-project strong { display: inline-flex; gap: 16px; align-items: center; }
.next-project strong .icon { width: 30px; height: 30px; }
.back-top { display: inline-flex; align-items: center; gap: 8px; }
.back-top .icon { width: 16px; height: 16px; }
@supports not (backdrop-filter: blur(10px)) {
  .site-header { background: #1b191c; }
  .project-card { background: #29262a; }
}
@media (min-width: 1000px) and (max-height: 800px) {
  .nav { height: 72px; }
  .portrait-tilt-area { width: 265px; height: 265px; }
}
@media (min-width: 1600px) {
  .portrait-tilt-area { width: 340px; height: 340px; }
}
@media (max-width: 1000px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav nav { justify-content: center; gap: 0; }
  .nav nav a { padding: 0 8px; }
  .nav-right { gap: 16px; }
  .brand > span { display: none; }
  .hero { gap: 32px; }
  .portrait-tilt-area { width: 240px; height: 240px; }
}
@media (max-width: 800px) {
  .portrait-tilt-area { width: 210px; height: 210px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 94px; }
  .nav { display: flex; justify-content: space-between; height: 76px; }
  .nav .brand img { width: 28px; height: 32px; }
  .nav-right { gap: 8px; }
  .nav .contact-link { min-height: 42px; padding: 8px 16px; gap: 8px; font-size: 14px; }
  .languages button { padding: 8px; }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    padding: 0;
    width: 42px;
    height: 42px;
    background: #ffffff09;
    border-radius: 9px;
  }
  .nav nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 24px 24px;
    display: none;
    background: #211e22f5;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 20px 25px #0003;
  }
  .menu-open .nav nav { display: flex; flex-direction: column; align-items: stretch; }
  .nav nav a, .nav nav a:last-child { display: flex; min-height: 48px; padding: 0 16px; font-size: 16px; }
}
@media (max-width: 600px) {
  .portrait-tilt-area { width: 220px; height: 220px; }
  .portrait-frame { transform: none; }
  .hero { gap: 32px; }
  .hero h1 { font-size: clamp(27px, 6.6vw, 39px); }
  .hero .intro br { display: none; }
  .big-arrow { display: none; }
  .site-header .contact-link .icon { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-frame { transform: none !important; }
}

/* Navigation, quiet motion and separated portrait planes. */
body { isolation: isolate; }
main, footer { position: relative; z-index: 1; }
.ambient-pattern {
  position: fixed;
  inset: -16px;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #ffffff 0.7px, transparent 0.95px);
  background-size: 28px 28px;
  opacity: .045;
  -webkit-mask-image: radial-gradient(ellipse at 55% 30%, #000, #0006 70%, transparent);
  mask-image: radial-gradient(ellipse at 55% 30%, #000, #0006 70%, transparent);
  transition: transform .65s cubic-bezier(.22,.61,.36,1);
}
.nav nav a {
  font-family:'Poppins',sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 0 16px;
  color: #e3dfe0;
}
.nav .contact-link {
  font-family:'Poppins',sans-serif;
  font-size: 14px;
  font-weight: 400;
  border-radius: 999px;
  padding: 16px 24px;
  min-height: 46px;
}
.language-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  padding: 0;
  border-radius: 50%;
  transition: background .2s, transform .2s;
}
.language-toggle:hover { background: #ffffff0b; transform: translateY(-1px); }
.language-toggle img { display: block; width: 27px; height: 18px; border-radius: 3px; box-shadow: 0 3px 10px #0002; }
.hero h1 {
  font-family:'Poppins',sans-serif;
  font-weight: 400;
  font-size: clamp(43px, 4.1vw, 61px);
  letter-spacing:0;
  line-height: 1.07;
}
.hero-copy { padding: 8px 0 16px; }
.hero .intro { margin-top: 24px; }
/* No clipping, filter or translucent fill on this parent: preserve true 3D. */
.portrait-frame {
  overflow: visible;
  background: none;
  box-shadow: none;
  transform-style: preserve-3d;
}
.portrait-frame.is-tilting { box-shadow: none; }
.portrait-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 28% 15%, #ff8c6a70, transparent 58%),
              linear-gradient(145deg, #da4a37, #a32e2c 62%, #4d252b);
  transform: translateZ(0);
  box-shadow: 0 18px 48px -12px #05040670;
}
.portrait-cutout {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  transform: translateZ(28px);
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
  backface-visibility: hidden;
}
.portrait-cutout .portrait { filter: drop-shadow(9px 12px 9px #250d1640); }
.portrait-frame.is-tilting .portrait-cutout { transform: translateZ(68px) translateY(-4px); }
.portrait-frame::after { transform: translateZ(72px); }
.project-card,
.project-cell:nth-child(2) .project-card,
.project-cell:nth-child(3) .project-card {
  box-shadow: 0 9px 18px -13px #00000075, 0 22px 42px -24px #00000080;
}
.project-card.is-tilting,
.project-cell:nth-child(2) .project-card.is-tilting,
.project-cell:nth-child(3) .project-card.is-tilting {
  box-shadow: 0 16px 28px -17px #00000070, 0 38px 60px -27px #00000099;
}
@media (min-width: 1000px) and (max-height: 800px) {
  .hero h1 { font-size: 48px; }
  .hero-copy { padding-top: 0; padding-bottom: 0; }
  .hero .intro { margin-top: 16px; }
}
@media (min-width: 1600px) {
  .hero h1 { font-size: 61px; }
}
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav nav a { padding: 0 16px; font-size: 14px; }
  .nav-right { gap: 16px; }
  .nav .contact-link { font-size: 14px; padding: 16px 16px; }
}
@media (max-width: 1000px) {
  .hero h1 { font-size: 44px; }
}
@media (max-width: 800px) {
  .hero h1 { font-size: 40px; }
}
@media (max-width: 760px) {
  .nav nav a, .nav nav a:last-child { font-size: 16px; min-height: 50px; }
  .nav .contact-link { font-size: 14px; padding: 16px 16px; min-height: 44px; }
  .nav-right { gap: 8px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(39px, 10vw, 53px); letter-spacing:0; }
  .hero-copy { padding: 0; }
  .portrait-cutout { transform: none; }
  .portrait-frame::after { transform: none; }
  .ambient-pattern { opacity: .03; background-size: 25px 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-cutout, .portrait-frame.is-tilting .portrait-cutout { transform: none; }
  .ambient-pattern { transform: none !important; }
}

/* Ocean palette supplied by the designer. */
:root {
  --ice: #ffd9a3;
  --aqua: #ffb45c;
  --blue: #f28b2c;
  --ocean: #7a2e0b;
  --navy: #1a0d06;
  --bg: var(--navy);
  --surface: var(--ocean);
  --accent: var(--ice);
  --text: #fff4e5;
  --muted: #c8aa91;
}
body { background: #1a0d06; }
.ambient-background {
  --scene-x: 0px;
  --scene-y: 0px;
  --scene-scroll: 0px;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 20%, #7a2e0b70, transparent 68%);
}
.ambient-haze, .ambient-orbs, .ambient-curves { position: absolute; pointer-events: none; transition: transform 1s cubic-bezier(.22,.61,.36,1); }
.ambient-haze {
  inset: -100px;
  background: radial-gradient(ellipse at 78% 23%, #ffb45c28, transparent 33%),
    radial-gradient(ellipse at 16% 66%, #f28b2c66, transparent 29%),
    radial-gradient(ellipse at 64% 100%, #ffb45c20, transparent 36%);
  filter: blur(32px);
  transform: translate3d(var(--scene-x), calc(var(--scene-y) - var(--scene-scroll)), 0);
}
.ambient-orbs {
  inset: -35px;
  background:
    radial-gradient(circle 130px at 0% 37%, #ffb45c24, #f28b2c32 89%, #ffebd244 98%, transparent 100%),
    radial-gradient(circle 230px at 98% 80%, #1a0d0620 40%, #f28b2c40 91%, #ffb45c40 98%, transparent 100%),
    radial-gradient(circle 175px at 22% 0%, #1a0d0600 35%, #f28b2c26 95%, #ffb45c2e 99%, transparent 100%);
  transform: translate3d(calc(var(--scene-x) * -.7), calc(var(--scene-y) * -.7 - var(--scene-scroll) * .6), 0);
  opacity: .65;
}
.ambient-curves {
  inset: -100px -80px;
  background:
    radial-gradient(ellipse 76% 25% at 54% 93%, transparent 98.9%, #ffb45c19 99.1%, transparent 99.35%),
    radial-gradient(ellipse 91% 43% at 90% 59%, transparent 99%, #ffebd216 99.1%, transparent 99.3%),
    radial-gradient(ellipse 75% 40% at 17% 5%, transparent 99%, #ffb45c18 99.1%, transparent 99.3%);
  transform: translate3d(calc(var(--scene-x) * .5), calc(var(--scene-y) * .5 - var(--scene-scroll) * .3), 0) rotate(-14deg);
}
.ambient-pattern { opacity: .028; }
.site-header {
  top: 14px;
  width: min(1320px, calc(100% - 64px));
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(115deg, #7a2e0ba6, #f28b2c52 52%, #7a2e0bbf);
  box-shadow: 0 12px 38px -15px #000a, inset 0 1px 0 #ffd9a316;
  backdrop-filter: blur(25px) saturate(135%);
  -webkit-backdrop-filter: blur(25px) saturate(135%);
}
.site-header.is-scrolled {
  background: linear-gradient(115deg, #7a2e0bed, #f28b2cb0 52%, #1a0d06e8);
  box-shadow: 0 14px 40px -12px #0008, inset 0 1px 0 #ffd9a31a;
}
.site-header .nav { width: 100%; padding: 0 24px; height: 72px; }
.nav nav a { color: #d9bca1; }
.nav nav a:hover, .nav nav a[aria-current="location"] { color: var(--ice); background: #ffb45c13; }
.nav .contact-link {
  color: var(--navy);
  background: linear-gradient(130deg, var(--ice), var(--aqua));
  box-shadow: 0 5px 20px #ffb45c25;
}
.nav .contact-link:hover { color: var(--navy); box-shadow: 0 8px 28px #ffb45c45; }
.menu-toggle { background: #ffb45c15; }
.hero { padding-top: 32px; }
.hello { color: #c5a487; }
.hero h1 em { background-image: linear-gradient(105deg, #ffd9a3, #ffb45c 78%); }
.portrait-scene::before {
  inset: -22px;
  background: radial-gradient(ellipse, #ffb45c48, #f28b2c28 50%, transparent 72%);
  filter: blur(32px);
}
.portrait-disc {
  background:
    radial-gradient(circle at 78% 71%, #ffb45c70, transparent 45%),
    radial-gradient(circle at 30% 20%, #ffb45c94, transparent 54%),
    linear-gradient(135deg, #f28b2c, #7a2e0b 55%, #1a0d06);
  box-shadow: inset 3px 3px 9px #ffd9a380,
    inset -4px -5px 14px #ffb45c7a,
    inset 14px 8px 36px #ffb45c3d,
    0 0 36px #ffb45c24, 0 24px 45px -20px #0008;
}
.portrait-cutout .portrait { filter: drop-shadow(10px 12px 11px #1a0d0675); }
.work::before {
  background: linear-gradient(110deg, #ffb45c25, #f28b2c35 50%, #ffebd221);
  filter: blur(40px);
}
.work .section-top { margin-bottom: 24px; }
.work-title { margin: 0; font-size: 25px; letter-spacing:0; line-height: 1.3; }
.project-card, .project-cell:nth-child(2) .project-card, .project-cell:nth-child(3) .project-card {
  background: linear-gradient(135deg, #ffebd21a, #f28b2c38 45%, #7a2e0b60);
  box-shadow: 0 9px 18px -13px #0009, 0 22px 42px -24px #000a, inset 0 1px 0 #ffd9a31f;
}
.project-card.is-tilting, .project-cell:nth-child(2) .project-card.is-tilting, .project-cell:nth-child(3) .project-card.is-tilting {
  box-shadow: 0 16px 28px -17px #0008, 0 38px 60px -27px #000b, inset 0 1px 0 #ffd9a333;
}
.project-art.nova { background: linear-gradient(140deg, #ffb45c42, #f28b2c32 52%, #1a0d0620); }
.project-art.forma { background: linear-gradient(135deg, #ffebd256, #ffb45c25 55%, #7a2e0b40); }
.project-art.pulse { background: linear-gradient(135deg, #f28b2c60, #ffb45c26 60%, #1a0d0630); }
.project-meta p, .project-meta .muted { color: #c8aa91; }
.project-arrow { background: #ffebd20e; color: var(--ice); }
.mini-dashboard { background: #1a0d06; }
.mini-nav strong { color: #ffd9a3; }
.chart i { background: #ffb45c; }
.mini-shop { background: #ffe5c2; color: #7a2e0b; }
.shop-swatch { background: #e8ae6b; }
.phone { background: #1a0d06; box-shadow: 0 0 0 4px #7a2e0b, 12px 18px 25px #1a0d0659; }
.phone-progress { color: #ffd9a3; background: #f28b2c; }
.phone-bottom { color: #ffd9a3; background: #7a2e0b; }
.pulse-note { background: #f28b2c99; box-shadow: 10px 15px 20px #1a0d0640; }
.skill-list > div, .detail-info, .next-project { background: linear-gradient(120deg, #ffb45c0d, #f28b2c06); }
.scroll-hint {
  position: fixed;
  right: 20px;
  bottom: 42px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  color: #ffd9a3a6;
  border-radius: 26px;
  background: #1a0d0638;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: hint-appear .7s ease both;
}
.scroll-hint span[data-i] { font-size: 14px; letter-spacing:0; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-mouse { width: 20px; height: 30px; }
.scroll-hint .icon { width: 15px; height: 15px; }
.mouse-wheel { animation: wheel-nudge 2.4s ease-in-out infinite; }
.scroll-hint:hover { color: var(--ice); }
@keyframes hint-appear { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wheel-nudge { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(4px); opacity: 1; } }
@supports not (backdrop-filter: blur(10px)) {
  .site-header { background: #7a2e0b; }
  .project-card { background: #7a2e0b; }
}
@media (min-width: 1000px) and (max-height: 800px) {
  .site-header .nav { height: 64px; }
  .hero { padding-top: 24px; padding-bottom: 24px; }
  .work-title { font-size: 23px; }
  .work .section-top { margin-bottom: 16px; }
}
@media (max-width: 1000px) {
  .site-header { width: calc(100% - 40px); }
  .site-header .nav { padding: 0 16px; }
}
@media (max-width: 760px) {
  .site-header { top: 10px; margin-top: 8px; width: calc(100% - 24px); }
  .site-header .nav { height: 66px; padding: 0 16px; }
  .nav nav { top: calc(100% + 9px); padding: 16px; border-radius: 22px; background: #7a2e0bf5; }
  .nav nav a, .nav nav a:last-child { font-size: 15px; }
  .scroll-hint { right: 10px; bottom: 24px; padding: 8px 8px; }
  .scroll-hint span[data-i] { display: none; }
}
@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .work-title { font-size: 22px; }
  .ambient-orbs { opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-haze, .ambient-orbs, .ambient-curves { transform: none !important; }
}

/* Unified type, layered surfaces and a compact mobile hero. */
body, body * {
  font-family:'Poppins',sans-serif !important;
}
.hero h1 { font-weight: 400; font-size: clamp(35px, 3.5vw, 51px); line-height: 1.16; letter-spacing:0; }
.hello { font-size: 16px; margin-bottom: 24px; }
.hero .intro { font-size: 14px; line-height: 1.9; max-width: 610px; }
.hero { padding-top: 48px; padding-bottom: 48px; column-gap: 80px; }
.project-grid { gap: 32px; }
.work { padding-bottom: 104px; }
.work .section-top { margin-bottom: 32px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.about-columns { gap: 48px; }
.about-columns p { font-size: 15px; line-height: 2; }
.skill-list p { font-size: 14px; line-height: 1.9; }
.skill-list h3 { font-size: 20px; }
.skill-list > div { padding: 32px 24px; margin-bottom: 16px; }
.contact { padding-top: 96px; padding-bottom: 96px; }
.contact-bottom, .email-placeholder { font-size: 14px; line-height: 1.9; }
footer { font-size: 14px; line-height: 1.8; }
.project-meta h3 { font-size: 20px; }
.project-meta p { font-size: 14px; line-height: 1.7; }
.project-card, .project-cell:nth-child(2) .project-card, .project-cell:nth-child(3) .project-card {
  transform-style: preserve-3d;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: linear-gradient(155deg, #f28b2c85, #7a2e0bb0 60%, #1a0d06bf);
  box-shadow: 0 4px 7px -4px #0006, 0 23px 40px -23px #000b, inset 0 1px 0 #ffd9a32e;
}
.project-card .project-art { transform: translateZ(12px); }
.project-meta { transform: translateZ(30px); }
.project-arrow { transform: translateZ(14px); box-shadow: 0 5px 10px #1a0d062e, inset 0 1px 0 #ffd9a31a; }
.project-card.is-tilting, .project-cell:nth-child(2) .project-card.is-tilting, .project-cell:nth-child(3) .project-card.is-tilting {
  box-shadow: 0 9px 14px -8px #0008, 0 38px 56px -24px #000c, inset 0 1px 0 #ffd9a344;
}
.skill-list > div { box-shadow: 0 12px 28px -24px #0009, inset 0 1px 0 #ffd9a30b; }
.nav .contact-link { box-shadow: 0 4px 8px -5px #0007, 0 9px 22px -10px #ffb45c65, inset 0 1px 0 #fff4e555; }
.ambient-pattern {
  inset: 0;
  width: 100%;
  height: 100%;
  background: none;
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
  transform: none;
  transition: none;
}
.scroll-hint {
  animation: hint-appear .7s ease both, hint-breathe 4.8s 1s ease-in-out infinite;
  transform-origin: center;
}
@keyframes hint-breathe {
  0%, 100% { opacity: .65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.045); }
}
@media (min-width: 1000px) and (max-height: 850px) {
  .hero { padding-top: 32px; padding-bottom: 32px; }
  .hero h1 { font-size: 39px; }
  .hello { margin-bottom: 16px; }
  .hero .intro { margin-top: 24px; font-size: 14px; line-height: 1.85; }
  .work .section-top { margin-bottom: 24px; }
  .project-grid { gap: 32px; }
}
@media (min-width: 1600px) {
  .hero h1 { font-size: 51px; }
}
@media (max-width: 1000px) {
  .hero { column-gap: 32px; }
  .hero h1 { font-size: 32px; }
  .hero .intro { font-size: 14px; }
  .project-grid { gap: 24px; }
  .project-meta { padding: 16px 16px 24px; }
  .project-meta p { font-size: 14px; }
  .project-meta h3 { font-size: 18px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
}
@media (max-width: 800px) {
  .hero h1 { font-size: 27px; }
  .project-card .project-art, .project-meta, .project-arrow { transform: none; }
  .project-meta { padding-left: 16px; padding-right: 16px; }
  .project-meta h3 { font-size: 16px; }
}
@media (max-width: 600px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(86px, 25vw, 148px);
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    row-gap: 24px;
    padding-top: 40px;
    padding-bottom: 48px;
    align-items: center;
  }
  .hero-copy { display: contents; }
  .hello { grid-column: 1 / -1; grid-row: 1; font-size: 14px; margin: 0; }
  .hero h1 {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(18px, 5.3vw, 29px);
    letter-spacing:0;
    line-height: 1.22;
    margin: 0;
    min-width: 0;
  }
  .hero .portrait-scene {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    align-self: center;
  }
  .portrait-tilt-area { width: 100%; height: auto; aspect-ratio: 1; }
  .portrait-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero .intro { grid-column: 1 / -1; grid-row: 3; margin: 8px 0 0; font-size: 14px; line-height: 1.9; }
  .work .section-top { margin-bottom: 24px; }
  .work-title { font-size: 20px; }
  .project-grid { gap: 32px; }
  .project-meta { padding: 24px 24px 24px; }
  .project-meta h3 { font-size: 22px; }
  .project-meta p { font-size: 14px; }
  .work { padding-bottom: 56px; }
  .section { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .about-columns { gap: 24px; }
  .about-columns p { font-size: 14px; }
  .skill-list > div { padding: 24px 16px; gap: 16px; }
  .skill-list h3 { font-size: 17px; }
  .skill-list p { font-size: 14px; }
  .contact { padding-top: 56px; padding-bottom: 56px; }
  .contact h2 { font-size: 25px; }
  .scroll-hint { right: 8px; }
  .detail-description, .detail-story p { font-size: 14px; line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { opacity: 1; transform: none; }
}

/* Amber palette and portrait typography on separate depth planes. */
:root {
  --soft-amber: #ffd9a3;
  --golden-hour: #ffb45c;
  --sunset-orange: #f28b2c;
  --burnt-sienna: #c35a1a;
  --deep-amber: #7a2e0b;
  --rich-espresso: #1a0d06;
  --bg: var(--rich-espresso);
  --surface: var(--deep-amber);
  --accent: var(--golden-hour);
  --text: #f4dfc9;
  --muted: #bda18a;
}
/* Expanded One has a naturally heavy single weight; the regular family keeps the same character more lightly. */
body, body * { font-family:'Poppins',sans-serif !important; font-weight: 400; }
b, strong { font-weight: 600; }
.hero h1, h2, .detail-title, .project-meta h3, .nav nav a, .nav .contact-link { font-weight: 400; }
.nav nav a { font-size: 17px; }
.nav .contact-link { font-size: 16px; padding-left: 24px; padding-right: 24px; }
body { background: var(--rich-espresso); }
.ambient-background { background: radial-gradient(ellipse at 60% 18%, #7a2e0b26, transparent 68%); }
.ambient-haze {
  background: radial-gradient(ellipse at 78% 23%, #c35a1a26, transparent 33%),
    radial-gradient(ellipse at 16% 66%, #7a2e0b50, transparent 29%),
    radial-gradient(ellipse at 64% 100%, #ffb45c12, transparent 36%);
}
.site-header { background: linear-gradient(115deg, #7a2e0b70, #c35a1a25 52%, #1a0d06bd); }
.site-header.is-scrolled { background: linear-gradient(115deg, #3d1e0eee, #7a2e0ba8 52%, #1a0d06ef); }
.hero h1 em { background-image: linear-gradient(110deg, #ffd9a3, #ffb45c 60%, #f28b2c); }
.hero-copy { padding-top: 24px; padding-bottom: 24px; }
.hero .intro { font-size: 17px; line-height: 1.8; }
.portrait-disc {
  background: radial-gradient(circle at 27% 18%, #ffb45c85, transparent 55%),
    radial-gradient(circle at 82% 80%, #f28b2c70, transparent 50%),
    linear-gradient(145deg, #c35a1a, #7a2e0b 65%, #1a0d06);
  box-shadow: inset 3px 3px 10px #ffd9a377, inset -4px -5px 16px #f28b2c60,
    0 0 40px #c35a1a24, 0 24px 45px -20px #0008;
}
.portrait-greeting, .portrait-name {
  position: absolute;
  display: block;
  white-space: nowrap;
  pointer-events: none;
  backface-visibility: hidden;
  line-height: 1.15;
  letter-spacing:0;
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.portrait-greeting {
  left: -19%;
  top: 57%;
  font-size: 34px;
  color: #c4976d;
  transform: translateZ(12px);
}
.portrait-name {
  left: 26%;
  bottom: 8%;
  font-size: 30px;
  color: #d3b396;
  text-shadow: 0 4px 13px #1a0d0670;
  transform: translateZ(82px);
}
.portrait-frame.is-tilting .portrait-greeting { transform: translateZ(16px) translateX(-3px); }
.portrait-frame.is-tilting .portrait-name { transform: translateZ(105px) translateY(-5px); }
.project-meta p { font-size: 14px; }
.about-columns p { font-size: 17px; }
.skill-list p, .contact-bottom, .email-placeholder { font-size: 16px; }
footer { font-size: 14px; }
@media (min-width: 1000px) and (max-height: 850px) {
  .hero .intro { font-size: 16px; }
  .hero-copy { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 1000px) {
  .nav nav a { font-size: 15px; }
  .portrait-greeting { font-size: 28px; }
  .portrait-name { font-size: 24px; }
}
@media (max-width: 600px) {
  .hero { grid-template-rows: auto auto; column-gap: 24px; grid-template-columns: minmax(0, 1fr) clamp(96px, 29vw, 164px); }
  .hero h1 { grid-row: 1; font-size: clamp(24px, 6.5vw, 36px); letter-spacing:0; }
  .hero .portrait-scene { grid-row: 1; }
  .hero .intro { grid-row: 2; font-size: 15px; line-height: 1.8; }
  .hero-copy { padding: 0; }
  .portrait-greeting { font-size: clamp(14px, 3.3vw, 18px); left: -22%; letter-spacing:0; transform: translateZ(1px); }
  .portrait-cutout { transform: translateZ(2px); }
  .portrait-name { font-size: clamp(14px, 3.2vw, 18px); left: 20%; bottom: 6%; letter-spacing:0; transform: translateZ(3px); }
  .nav .contact-link { font-size: 14px; padding-left: 24px; padding-right: 24px; }
  .project-meta p { font-size: 14px; }
  .about-columns p, .skill-list p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-greeting, .portrait-frame.is-tilting .portrait-greeting { transform: translateZ(1px); }
  .portrait-cutout, .portrait-frame.is-tilting .portrait-cutout { transform: translateZ(2px); }
  .portrait-name, .portrait-frame.is-tilting .portrait-name { transform: translateZ(3px); }
}

/* Personal content, category labels and the welcome sequence. */
p, .intro, .project-meta p, .detail-description, .detail-story p,
.contact-bottom, .email-placeholder, .skill-list p, .background-notes p { font-weight: 400 !important; }
body { transition: background-color .4s linear; }
.ambient-background { background: radial-gradient(ellipse at 60% 18%, #7a2e0b16, transparent 68%); }
.ambient-orbs {
  transform: translate3d(calc(var(--scene-x) * -.7), calc(var(--scene-y) * -.7 - var(--scene-scroll) * .7), 0)
             rotate(calc(var(--scroll-progress, 0) * 7deg));
  transform-origin: 50% 65%;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -8px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.portrait-greeting, .portrait-name { min-height: 1.15em; }
.is-writing::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: .82em;
  margin-left: 8px;
  vertical-align: -.02em;
  background: currentColor;
  opacity: .6;
  animation: typing-caret .85s steps(1) infinite;
}
@keyframes typing-caret { 50% { opacity: 0; } }
.project-meta h3 { font-family:'Poppins',sans-serif !important; font-size: 25px; font-weight: 400; letter-spacing:0; }
.project-meta p { font-size: 14px; }
.project-arrow { border-radius: 12px; background: #ffebd20f; width: 39px; height: 39px; }
.project-arrow .icon { width: 23px; height: 23px; stroke-width: 1.45; }
.project-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 16px;
  border-radius: 999px;
  color: #f7dbb9;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing:0;
  font-weight: 400;
  background: #7a2e0bdb;
  box-shadow: 0 7px 17px -8px #1a0d0680;
  transform: translateZ(62px);
  backface-visibility: hidden;
  pointer-events: none;
  transition: transform .25s ease;
}
.project-badge.badge-forma { color: #302011; background: #ffebd2df; }
.project-badge.badge-pulse { color: #fff0d9; background: #a95422dc; }
.project-card.is-tilting .project-badge { transform: translateZ(79px); }
.about { grid-template-columns: 160px minmax(0, 1fr); gap: 64px; }
.about-layout { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.about-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(ellipse at 25% 20%, #ffb45c32, transparent 65%), linear-gradient(150deg, #7a2e0b85, #1a0d06);
  box-shadow: 0 17px 35px -20px #0009, inset 0 1px 0 #ffd9a314;
}
.about-photo img { position: absolute; width: 135.25%; height: auto; max-width: none; left: -16.05%; top: -24%; }
.about-copy > p { font-size: 17px; line-height: 1.8; color: var(--muted); margin: 0 0 24px; }
.background-notes { display: grid; gap: 16px; margin-top: 24px; }
.background-notes > div { padding: 16px 16px; border-radius: 12px; background: #ffebd206; }
.background-notes > div > span { color: #af8b6e; font-size: 14px; }
.background-notes p { font-size: 15px; margin: 8px 0 0; line-height: 1.6; color: #d8bda4; }
.profile-details { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: #c79a72; line-height: 1.5; }
.profile-details .icon { width: 17px; height: 17px; }
.profile-details:hover { color: var(--soft-amber); }
.skills-intro { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 710px; margin: -8px 0 32px; }
.skill-list > div { align-items: flex-start; }
.skill-list .skill-symbol { margin-left: 0; padding-top: 8px; }
.tools-title { font-size: 18px; font-weight: 400; margin: 40px 0 24px; }
.tools-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.tool-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px;
  border-radius: 15px;
  background: #ffebd208;
  box-shadow: 0 12px 20px -18px #0008;
  font-size: 16px;
  color: #dfc3a6;
}
.tool-item img { object-fit: contain; width: 33px; height: 33px; }
.tool-item img[src$="coreldraw.svg"] { filter: invert(69%) sepia(47%) saturate(541%) hue-rotate(45deg) brightness(92%) contrast(90%); }
.contact-bottom { align-items: flex-start; }
.contact-methods { display: grid; gap: 16px; }
.contact-methods a { display: inline-flex; align-items: center; gap: 16px; font-size: 18px; color: #f0c599; line-height: 1.6; }
.contact-methods a:hover { color: #ffd9a3; }
.contact-methods .icon { width: 21px; height: 21px; }
@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-layout { grid-template-columns: minmax(180px, .8fr) minmax(0, 1.7fr); gap: 32px; }
  .project-meta h3 { font-size: 22px; }
  .project-badge { font-size: 14px; left: 13px; max-width: calc(100% - 26px); padding: 8px 8px; }
  .contact-methods a { font-size: 16px; }
}
@media (max-width: 800px) {
  .project-badge, .project-card.is-tilting .project-badge { transform: none; }
  .project-meta h3 { font-size: 21px; }
  .project-meta p { font-size: 14px; }
}
@media (max-width: 600px) {
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { width: min(230px, 72%); aspect-ratio: 4 / 5; }
  .about-copy > p { font-size: 16px; }
  .skills-intro { font-size: 16px; }
  .skill-list p { font-size: 15px; }
  .tools-grid { gap: 16px; }
  .tool-item { flex: 1 1 130px; padding: 16px; font-size: 15px; }
  .tool-item img { width: 29px; height: 29px; }
  .contact-methods { margin-top: 24px; gap: 16px; }
  .contact-methods a { font-size: 16px; overflow-wrap: anywhere; }
  .project-badge { font-size: 14px; top: 16px; left: 18px; padding: 8px 16px; }
  .project-meta h3 { font-size: 26px; }
  .project-meta p { font-size: 14px; }
}

/* Wider heading, solid project surfaces and clearer portrait lettering. */
.hero h1 { font-size: clamp(34px, 3.4vw, 49px); line-height: 1.16; letter-spacing:0; }
.portrait-greeting {
  left: -3%;
  top: 43%;
  font-size: 41px;
  color: #fff0d8;
  text-shadow: 0 2px 9px #1a0d0680;
}
.portrait-name {
  left: 50%;
  bottom: 13%;
  font-size: 35px;
  color: #fff4e6;
  text-shadow: 0 3px 10px #1a0d06c0;
  transform: translateX(-50%) translateZ(82px);
}
.portrait-frame.is-tilting .portrait-greeting { transform: translateZ(16px) translateX(-2px); }
.portrait-frame.is-tilting .portrait-name { transform: translateX(-50%) translateZ(105px) translateY(-5px); }
.portrait-cutout .portrait { filter: sepia(.14) saturate(.9) contrast(.98) drop-shadow(10px 12px 11px #1a0d0675); }
.about-photo img { filter: sepia(.14) saturate(.9) contrast(.98); }
.project-card, .project-cell:nth-child(2) .project-card, .project-cell:nth-child(3) .project-card {
  background: linear-gradient(145deg, #52301c, #301a10 70%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 1;
}
.project-art.nova { background: linear-gradient(135deg, #815136, #482a1b); }
.project-art.forma { background: linear-gradient(135deg, #987350, #563e2a); }
.project-art.pulse { background: linear-gradient(135deg, #95512d, #4b281a); }
.scroll-hint {
  color: #ffd9a3;
  background: #40210e;
  opacity: 1;
  animation: hint-appear .7s ease both, hint-colour-pulse 3.4s .7s ease-in-out infinite;
}
@keyframes hint-colour-pulse {
  0%, 100% { color: #ffd9a3; background-color: #40210e; box-shadow: 0 0 0 #ffb45c00; }
  50% { color: #1a0d06; background-color: #ffb45c; box-shadow: 0 0 23px #ffb45c40; }
}
.scroll-hint:hover { color: #1a0d06; background: #ffebd2; animation-play-state: paused; }
@media (min-width: 1000px) and (max-height: 850px) {
  .hero h1 { font-size: 41px; }
}
@media (max-width: 1000px) {
  .hero h1 { font-size: 33px; }
  .portrait-greeting { font-size: 32px; }
  .portrait-name { font-size: 28px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(23px, 6.1vw, 34px); letter-spacing:0; line-height: 1.2; }
  .portrait-greeting { font-size: clamp(15px, 4vw, 22px); left: -3%; top: 43%; transform: translateZ(1px); }
  .portrait-name { font-size: clamp(14px, 3.7vw, 20px); left: 50%; bottom: 11%; transform: translateX(-50%) translateZ(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-name, .portrait-frame.is-tilting .portrait-name { transform: translateX(-50%) translateZ(3px); }
  .scroll-hint { color: #1a0d06; background: #ffb45c; }
}

/* Quiet hint and a warmer portrait grade. */
.portrait-name { left: 56%; color: #ffd09a; }
.portrait-cutout .portrait {
  filter: sepia(.60) saturate(.76) hue-rotate(-8deg) contrast(1.02) brightness(.98) drop-shadow(10px 12px 11px #1a0d0675);
}
.about-photo img { filter: sepia(.60) saturate(.76) hue-rotate(-8deg) contrast(1.02) brightness(.98); }
.scroll-hint {
  color: #ffd09a;
  background: #40210e85;
  box-shadow: none;
  animation: hint-appear .7s ease both, hint-soft-pulse 4.4s .7s ease-in-out infinite;
}
@keyframes hint-soft-pulse {
  0%, 100% { opacity: .76; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.035); }
}
.scroll-hint:hover { color: #ffdcaf; background: #40210eb0; box-shadow: none; }
@media (max-width: 600px) {
  .portrait-name { left: 56%; color: #ffd09a; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { color: #ffd09a; background: #40210e85; opacity: 1; transform: none; }
}

/* Amber portrait, aligned sections and a shared project reveal surface. */
.portrait-cutout .portrait {
  filter: sepia(1) saturate(1.65) hue-rotate(-12deg) contrast(1.03) brightness(1.02) drop-shadow(10px 12px 11px #1a0d0675);
}
.about-photo img { filter: sepia(1) saturate(1.65) hue-rotate(-12deg) contrast(1.03) brightness(1.02); }
.nav .contact-link { font-weight: 600; }
.about, .skills { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.section-heading.work-title { margin: 0; font-size: 25px; line-height: 1.3; letter-spacing:0; }
.about-layout { grid-template-columns: minmax(200px, .65fr) minmax(0, 1.5fr); gap: 48px; }
.about-photo-stage { perspective: 1000px; width: 100%; }
.about-photo {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  --light-x: 50%; --light-y: 50%;
  width: 100%;
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .18s ease-out, box-shadow .25s;
}
.about-photo::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--light-x) var(--light-y), #ffebd229, transparent 65%);
  opacity: 0;
  transition: opacity .25s;
}
.about-photo.is-tilting { box-shadow: 0 30px 48px -23px #000a; }
.about-photo.is-tilting::after { opacity: 1; }
.skills .skill-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.skills .skill-list > div { margin: 0; display: flex; flex-direction: column; gap: 24px; padding: 32px 24px; }
.skills .skill-list h3 { font-size: 23px; margin-bottom: 16px; }
.skills .skill-list p { font-size: 16px; line-height: 1.8; }
.skills-intro { max-width: 790px; }
.project-arrow { background: #7a2e0b; }
#project-view { position: relative; isolation: isolate; }
.detail-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(430px, 55vh);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(145deg, #7a2e0b, #5a2b11 55%, #341b0b);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 30px 70px -30px #1a0d0670;
  view-transition-name: project-reveal;
}
.site-header { view-transition-name: persistent-nav; }
::view-transition-group(project-reveal) { animation-duration: .65s; animation-timing-function: cubic-bezier(.22,.61,.36,1); }
::view-transition-old(project-reveal) { animation: reveal-out .2s ease both; }
::view-transition-new(project-reveal) { animation: reveal-in .5s ease both; }
::view-transition-group(persistent-nav) { animation-duration: .65s; }
@keyframes reveal-out { to { opacity: 0; } }
@keyframes reveal-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1000px) {
  .skills .skill-list { gap: 16px; }
  .skills .skill-list > div { padding: 24px 16px; }
  .skills .skill-list h3 { font-size: 21px; }
  .about-layout { gap: 32px; }
}
@media (max-width: 700px) {
  .skills .skill-list { grid-template-columns: 1fr; gap: 16px; }
  .skills .skill-list > div { flex-direction: row; gap: 16px; padding: 24px 24px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo-stage { width: min(250px, 78%); }
  .about-photo { width: 100%; }
  .section-heading.work-title { font-size: 22px; }
  .detail-banner { height: 390px; max-height: none; border-radius: 0 0 26px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-photo { transform: none; }
  ::view-transition-group(project-reveal), ::view-transition-old(project-reveal), ::view-transition-new(project-reveal) { animation: none; }
}

/* Layered greeting, quiet ambient lines and authored banner showcase. */
.portrait-cutout .portrait { filter: sepia(1) saturate(1.25) hue-rotate(-12deg) contrast(1.05) brightness(.88) drop-shadow(10px 12px 11px #1a0d0675); }
.ambient-curves { opacity: .22; }
.portrait-intro {
  position: absolute; right: -1%; top: 43%; font-size: 32px;
  color: #e3b788; white-space: nowrap; line-height: 1.15;
  pointer-events: none; backface-visibility: hidden;
  text-shadow: 0 2px 9px #1a0d0680; transform: translateZ(20px);
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.portrait-frame.is-tilting .portrait-intro { transform: translateZ(26px) translateX(2px); }
.portrait-name { left: 50%; bottom: 16%; color: #f6e5cf; font-size: 43px; }
.project-arrow { transition: color .25s, background .25s, box-shadow .25s, transform .25s; }
.project-card .project-arrow:hover, .project-card:focus-visible .project-arrow {
  background: #ffb45c; color: #341b0b; box-shadow: 0 0 22px #ffb45c40;
}
.about-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 64px; }
.banner-gallery { position: relative; perspective: 1000px; display: grid; gap: 24px; padding: 24px 16px; }
.floating-banner { --angle: -4deg; --depth: 0px; position: relative; transform: rotate(var(--angle)); animation: banner-drift 11s ease-in-out infinite; }
.floating-banner:nth-child(even) { --angle: 4deg; margin-left: 16px; animation-delay: -4s; }
.floating-banner:nth-child(3n) { --angle: -2deg; animation-delay: -7s; }
.floating-banner img { width: 100%; height: auto; display: block; border-radius: 9px; box-shadow: 0 16px 25px -14px #000b; transition: transform .4s, box-shadow .4s; }
.floating-banner:hover img { transform: scale(1.04); box-shadow: 0 22px 30px -13px #000b; }
@keyframes banner-drift { 0%,100% { transform: translateY(0) rotate(var(--angle)); } 50% { transform: translateY(-6px) rotate(calc(var(--angle) + 1deg)); } }
.detail-art .project-art { view-transition-name: project-reveal; }
::view-transition-group(project-reveal) { animation-duration: .65s; animation-timing-function: cubic-bezier(.22,.61,.36,1); }
::view-transition-old(project-reveal), ::view-transition-new(project-reveal) { height: 100%; object-fit: cover; mix-blend-mode: normal; }
::view-transition-old(project-reveal) { animation: reveal-out .4s ease both; }
::view-transition-new(project-reveal) { animation: reveal-in .55s ease both; }
::view-transition-old(root) { animation: reveal-out .22s ease both; }
::view-transition-new(root) { animation: reveal-in .4s ease both; }
@media (max-width: 1000px) {
  .portrait-intro { font-size: 25px; }
  .portrait-name { font-size: 35px; }
  .about-layout { gap: 32px; }
}
@media (max-width: 700px) {
  .about-layout { grid-template-columns: 1fr; }
  .banner-gallery { gap: 16px; max-width: 480px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
  .portrait-intro { font-size: clamp(14px, 3.3vw, 18px); transform: translateZ(1px); }
  .portrait-name { left: 50%; font-size: clamp(18px, 4.6vw, 25px); bottom: 16%; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-banner { animation: none; }
  .portrait-intro, .portrait-frame.is-tilting .portrait-intro { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* A gentle portrait orbit and clear, simple section labels. */
.portrait-intro { right: 17%; }
.nav .contact-link, .nav .contact-link span { font-weight: 600 !important; }
.portrait-frame, .project-card, .about-photo { transition: transform .55s cubic-bezier(.22,.61,.36,1), box-shadow .4s; }
.portrait-frame.is-tilting .portrait-cutout { transform: translateZ(45px) translateY(-2px); }
.portrait-frame.is-tilting .portrait-name { transform: translateX(-50%) translateZ(92px) translateY(-2px); }
.about-content > .section-heading, .skills .section-heading { margin-bottom: 40px; }
.contact > .section-heading { margin-bottom: 32px; }
.orbit-stage { position: relative; isolation: isolate; width: 100%; height: 460px; perspective: 1000px; }
.orbit-portrait.about-photo {
  position: absolute; left: 19%; top: 0; width: 62%; height: 94%;
  z-index: 2; border-radius: 0; aspect-ratio: auto; background: none;
  box-shadow: none; overflow: hidden;
}
.orbit-portrait.about-photo img { width: 135.25%; left: -16.05%; top: -16%; filter: sepia(1) saturate(1.25) hue-rotate(-12deg) contrast(1.05) brightness(.88); }
.orbit-portrait.about-photo::after { display: none; }
.orbit-stage .banner-gallery { position: static; display: block; padding: 0; perspective: none; }
.orbit-stage .floating-banner, .orbit-stage .floating-banner:nth-child(even) {
  position: absolute; left: 50%; top: 65%; width: 56%; margin: 0;
  animation: none; will-change: transform;
}
.orbit-stage .floating-banner img { border-radius: 7px; box-shadow: 0 14px 23px -12px #0009; }
.code-tool { color: #f28b2c; display: inline-flex; }
.code-tool .icon { width: 33px; height: 33px; }
.scroll-hint { animation: hint-appear .7s ease both, hint-amber-breathe 4.8s .7s ease-in-out infinite; }
@keyframes hint-amber-breathe {
  0%,100% { color: #d7aa7b; background-color: #40210e85; box-shadow: 0 0 4px #ffb45c04; }
  50% { color: #ffdbab; background-color: #543019a3; box-shadow: 0 0 16px #ffb45c1c; }
}
@media (max-width: 1000px) and (min-width: 701px) { .orbit-stage { height: 350px; } }
@media (max-width: 700px) { .orbit-stage { max-width: 450px; height: 430px; margin: 0 auto; } }
@media (max-width: 400px) { .orbit-stage { height: 370px; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; box-shadow: none; }
  .portrait-frame.is-tilting .portrait-cutout { transform: translateZ(2px); }
  .portrait-frame.is-tilting .portrait-name { transform: translateX(-50%) translateZ(3px); }
}

/* Rear half-cylinder panorama and continuous shared-element transitions. */
.orbit-stage { overflow: hidden; perspective: 900px; }
.orbit-stage .banner-gallery { position: absolute; inset: 0; transform-style: preserve-3d; z-index: 1; }
.panorama-banner { position: absolute; inset: 0; transform-style: preserve-3d; }
.panorama-slice { position: absolute; left: 50%; top: 48%; background-repeat: no-repeat; backface-visibility: hidden; }
.orbit-portrait.about-photo { z-index: 2; mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 95%); }
.portrait-cutout .portrait { filter: sepia(.32) saturate(.88) hue-rotate(-6deg) contrast(1.02) brightness(.94) drop-shadow(10px 12px 11px #1a0d0675); }
.orbit-portrait.about-photo img { filter: sepia(.32) saturate(.88) hue-rotate(-6deg) contrast(1.02) brightness(.94); }
html[lang="en"] .portrait-greeting { left: 7%; top: 43%; }
html[lang="en"] .portrait-intro { right: 9%; top: 43%; font-size: 27px; }
html[lang="en"] .portrait-name { left: 50%; bottom: 16%; }
.skills-intro { max-width: none; text-wrap: pretty; }
.skill-list p { white-space: normal; text-wrap: wrap; }
.project-name { display: inline-block; }
.detail-title { view-transition-name: project-title; width: fit-content; }
.detail-art { overflow: hidden; border-radius: 20px; }
::view-transition-group(project-title), ::view-transition-group(project-reveal) { animation-duration: .8s; animation-timing-function: cubic-bezier(.22,.68,.18,1); }
::view-transition-old(project-reveal), ::view-transition-old(project-title) { animation: none; opacity: 0; }
::view-transition-new(project-reveal), ::view-transition-new(project-title) { animation: none; opacity: 1; height: 100%; object-fit: fill; }
::view-transition-new(root) { animation: reveal-in .5s .12s both; }
/* Mockup artwork and secondary captions may remain small; actual UI is at least 14px. */
.nav nav a, .nav .contact-link, .nav .contact-link span, .project-meta p,
.project-badge, .profile-details, .background-notes > div > span,
.scroll-hint, .scroll-hint span, .project-back, .concept-badge,
.detail-info h3, .detail-info p, .next-project > span, .eyebrow,
footer a, .language-toggle, .skills .skill-list p { font-size: max(14px, 1em); }
@media (max-width: 600px) {
  html[lang="en"] .portrait-intro { right: 7%; font-size: 14px; }
  .portrait-intro { font-size: max(14px, 3.3vw); }
}
@media (prefers-reduced-motion: reduce) {
 ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Accessible interactive panorama, contained behind the portrait. */
.panorama-block { min-width: 0; }
.orbit-stage { isolation: isolate; overflow: hidden; }
.orbit-stage .banner-gallery { z-index: 0; pointer-events: none; }
.orbit-portrait.about-photo { z-index: 10; transform-style: preserve-3d; }
.orbit-portrait.about-photo img { filter: sepia(.4) saturate(.85) hue-rotate(-5deg) contrast(1.01) brightness(1.1); }
.panorama-banner { inset: auto; left: 50%; top: 48%; padding: 0; background: none; pointer-events: auto; cursor: zoom-in; transform-style: preserve-3d; border-radius: 9px; }
.panorama-banner[aria-pressed="true"] { cursor: zoom-out; }
.panorama-slice { pointer-events: none; left: 50%; top: 50%; }
.panorama-banner:focus-visible { outline: 3px solid #ffe2b8; outline-offset: 5px; }
.panorama-pause { display: block; margin: 8px auto 0; min-height: 44px; padding: 8px 16px; color: #ffe4c2; background: #40210e; border-radius: 22px; cursor: pointer; }
.panorama-pause[aria-pressed="true"] { color: #261408; background: #ffebd2; }
:root { --muted: #e3c7a9; }
.about-copy > p, .skills-intro, .skill-list p, .muted, .background-notes p, .background-notes > div > span, .profile-details { color: #e3c7a9; }
.project-badge { background: #632509; color: #fff0da; }
.project-badge.badge-forma { color: #302011; background: #ffebd2; }
.project-badge.badge-pulse { color: #fff0da; background: #632509; }
.nav .contact-link { background: #ffd09a; color: #301708; }
.nav .contact-link:hover { color: #301708; }
.scroll-hint { color: #ffe4c2; background: #40210e; animation: hint-appear .7s ease both, hint-amber-breathe 4.8s .7s ease-in-out 1; }
.mouse-wheel { animation-iteration-count: 2; }
body { font-size: 16px; }
body :is(p,a,button,span,div,h1,h2,h3) { min-width: 0; }
footer, .brand > span, .brand-small, .scroll-hint span[data-i], .project-meta p, .project-badge, .profile-details, .eyebrow, .concept-badge { font-size: 14px; }
button, .language-toggle, .menu-toggle, .contact-link, .project-back { min-height: 44px; min-width: 44px; }
:focus-visible { outline: 3px solid #ffe4c2; outline-offset: 4px; }
section { scroll-margin-top: 110px; }
@media (max-width: 600px) {
 .brand > span { display: none; }
 .portrait-intro, html[lang="en"] .portrait-intro { font-size: 14px; }
 .portrait-greeting { font-size: max(14px, 4vw); }
 .wrap { max-width: 100%; }
 .contact-methods a { overflow-wrap: anywhere; }
}

/* Continuous projected semicircle: no 3D child can cross the portrait layer. */
.panorama-block { position: relative; }
.orbit-stage { position: relative; isolation: isolate; perspective: none; overflow: hidden; }
.orbit-stage .banner-gallery {
 position:absolute; inset:0; z-index:0; isolation:isolate; transform:none;
 transform-style:flat; perspective:none; overflow:hidden;
 mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
}
.panorama-banner {
 position:absolute; inset:auto; padding:0; margin:0; min-width:0; min-height:0;
 background:none; border-radius:8px; overflow:hidden; transform-style:flat;
 pointer-events:auto; cursor:zoom-in; transition:transform .3s ease,filter .3s ease;
}
.panorama-banner:hover, .panorama-banner:focus-visible { filter:brightness(1.16); }
.panorama-slice { position:absolute; top:0; height:100%; pointer-events:none; transform-origin:center; background-repeat:no-repeat; backface-visibility:visible; }
.orbit-portrait.about-photo {
 position:absolute; z-index:5; isolation:isolate; transform-style:flat;
 mask-image:none; overflow:hidden; pointer-events:auto;
}
.orbit-portrait.about-photo::before {
 content:''; position:absolute; width:135.25%; aspect-ratio:1036/1305; left:-16.05%; top:-16%;
 background:var(--page-bg,#1a0d06); mask:url('assets/portrait.png') center/100% 100% no-repeat;
}
.orbit-portrait.about-photo img { position:absolute; z-index:1; mask-image:linear-gradient(#000 0%,#000 79%,transparent 99%); }
.orbit-portrait.about-photo::after { display:block; content:''; position:absolute; inset:75% 0 0; z-index:2; opacity:1; background:linear-gradient(transparent,var(--page-bg,#1a0d06)); pointer-events:none; }
.panorama-pause {
 position:absolute; right:13%; bottom:5%; z-index:10; width:44px; height:44px; padding:8px;
 margin:0; border-radius:50%; color:#ffe4c2; background:#40210e; display:grid; place-items:center;
}
.panorama-pause .icon { width:22px; height:22px; }
.banner-preview { max-width:none; width:min(94vw,1500px); max-height:90vh; padding:24px; border-radius:18px; background:#29170f; color:#ffe4c2; box-shadow:0 24px 90px #0009; }
.banner-preview[open] { animation:banner-preview-in .25s ease both; }
.banner-preview::backdrop { background:#130b07c9; backdrop-filter:blur(8px); }
.banner-preview-top { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:16px; }
.banner-preview h2 { font-size:20px; margin:0; }
.banner-preview-close { width:44px; height:44px; display:grid; place-items:center; background:#5a321d; color:#ffe4c2; border-radius:50%; cursor:pointer; }
.banner-preview-image { width:100%; height:auto; max-height:65vh; object-fit:contain; display:block; border-radius:10px; }
.banner-preview p { font-size:14px; line-height:1.6; margin:16px 0 0; }
@keyframes banner-preview-in { from { opacity:0; transform:scale(.96); } to { opacity:1; transform:scale(1); } }
.portrait-greeting { top:37%; }
.portrait-intro { top:49%; }
html[lang="en"] .portrait-greeting { top:37%; }
html[lang="en"] .portrait-intro { top:49%; }
.portrait-greeting,.portrait-intro,.portrait-name {
 color:#ffe5bf; background:#29150ee8; padding:8px 8px; border-radius:8px;
 text-shadow:0 2px 6px #160904;
}
.portrait-name { box-shadow:0 0 26px #ffb45c22; text-shadow:0 0 14px #ffb45c55,0 2px 5px #160904; }
.project-meta h3 { font-size:24px; }
.module-preview { width:42%; max-width:190px; height:85%; padding:16px; border-radius:22px; background:#231d17; color:#ffdeb3; box-shadow:0 15px 30px #0005; transform:rotate(-7deg); display:flex; flex-direction:column; gap:16px; }
.module-preview > span { font-size:14px; }
.module-wireframe { display:grid; grid-template-columns:1fr 1fr; flex:1; gap:8px; }
.module-wireframe i { border-radius:9px; background:#cfaa7c; opacity:.65; }
.module-wireframe i:first-child { grid-column:1/-1; background:#ffcf8c; }
.audit-preview { position:relative; width:75%; background:#f4dfbc; color:#442413; border-radius:12px; padding:24px; transform:rotate(-4deg); box-shadow:0 15px 30px #0004; }
.audit-preview span { font-size:14px; }
.audit-preview strong { display:block; margin:8px 0 16px; font-size:25px; font-weight:400; }
.audit-lines { display:grid; gap:8px; width:65%; }
.audit-lines i { height:5px; background:#b48d65; border-radius:3px; }
.audit-lines i:last-child { width:70%; }
.audit-preview > .icon { position:absolute; right:20px; bottom:23px; width:37px; height:37px; }
.graphic-preview { width:92%; height:auto; object-fit:contain; border-radius:9px; transform:rotate(-5deg); box-shadow:0 15px 25px #0007; }
@media(max-width:600px) {
 .banner-preview { padding:16px; width:96vw; }
 .project-meta h3 { font-size:24px; }
 .portrait-greeting,.portrait-intro,.portrait-name { padding:8px 8px; }
 .module-preview { padding:16px; }
}

/* Light greeting, flowing white/amber brand and navigable banner viewer. */
.portrait-greeting,.portrait-intro,.portrait-name { background:#ffe2b7; color:#32190c; text-shadow:none; }
.portrait-name { box-shadow:0 0 25px #ffb45c30; text-shadow:0 0 10px #ffffff35; }
.site-header .nav nav a, .site-header .nav .contact-link, .site-header .nav .contact-link span { font-size:16px; }
.brand { position:relative; isolation:isolate; border-radius:13px; }
.brand::before {
 content:''; position:absolute; inset:-8px -12px; z-index:-1; pointer-events:none; border-radius:13px;
 background:linear-gradient(110deg,#ffb45c00 0%,#ffb45c55 20%,#ffffffb0 42%,#ffebd25c 65%,#ffb45c00 85%);
 background-size:300% 100%; background-position:100% 50%; opacity:0;
 transition:opacity .85s ease; animation:brand-flow 5s linear infinite; animation-play-state:paused;
}
.brand:hover::before,.brand:focus-visible::before { opacity:.72; animation-play-state:running; }
.brand:hover,.brand:focus-visible { color:#fff; }
.brand:hover .brand-small,.brand:focus-visible .brand-small { color:#fff; }
@keyframes brand-flow { from {background-position:100% 50%;} to {background-position:-200% 50%;} }
.banner-preview[open] { animation:none; }
.banner-preview-image { transform-origin:top left; }
.banner-preview-controls { display:flex; align-items:center; justify-content:center; gap:24px; margin-top:16px; }
.banner-preview-controls button { width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:#60391f; color:#ffe4c2; cursor:pointer; transition:background .2s; }
.banner-preview-controls button:hover { background:#8a4e27; }
.banner-counter { min-width:64px; text-align:center; font-size:14px; color:#ffe4c2; }
@media(prefers-reduced-motion:reduce) { .brand::before { animation:none; transition:none; } }

.banner-preview { overflow:visible; }

/* Flow inside the logo and letters only. */
.brand::before { display:none; }
.brand .brand-mark { position:relative; display:block; flex:0 0 34px; width:34px; height:36px; line-height:1; }
.brand-mark::after {
 content:''; position:absolute; inset:0; opacity:0; pointer-events:none;
 mask:url('assets/mk.png') center/contain no-repeat;
 background:linear-gradient(110deg,#fff 0%,#ffebd2 25%,#ffb45c 50%,#ffebd2 75%,#fff 100%);
 background-size:200% 100%; animation:brand-letter-flow 5s linear infinite; animation-play-state:paused;
 transition:opacity .8s ease;
}
.brand > span:not(.brand-mark), .brand .brand-small {
 background-image:linear-gradient(110deg,#fff 0%,#ffd9a3 25%,#ffb45c 50%,#ffd9a3 75%,#fff 100%);
 background-size:200% 100%; background-clip:text; -webkit-background-clip:text;
 animation:brand-letter-flow 5s linear infinite; animation-play-state:paused; transition:color .8s ease;
}
.brand:hover .brand-mark::after,.brand:focus-visible .brand-mark::after { opacity:1; animation-play-state:running; }
.brand:hover > span:not(.brand-mark),.brand:hover .brand-small,
.brand:focus-visible > span:not(.brand-mark),.brand:focus-visible .brand-small { color:transparent; animation-play-state:running; }
@keyframes brand-letter-flow { from {background-position:200% 50%;} to {background-position:0% 50%;} }
.portrait-greeting,.portrait-intro,.portrait-name { background:#8c430e; color:#fff0d6; text-shadow:0 1px 2px #51260855; }
.portrait-name { box-shadow:0 0 25px #ffb45c30; }
@media(max-width:600px) { .brand .brand-mark { display:block; } }
@media(prefers-reduced-motion:reduce) {
 .brand-mark::after,.brand > span:not(.brand-mark),.brand .brand-small { animation:none; transition:none; }
}

/* Quiet button hover and four complementary skill areas. */
.site-header .nav .contact-link { letter-spacing:0; box-shadow:none; }
.site-header .nav .contact-link:hover { box-shadow:none; filter:none; }
button:hover, .contact-link:hover, .project-arrow:hover,
.project-card:hover .project-arrow, .project-card:focus-visible .project-arrow,
.scroll-hint:hover, .project-back:hover, .contact-methods a:hover,
.profile-details:hover, .back-top:hover { box-shadow:none !important; text-shadow:none !important; }
.scroll-hint:hover { animation-play-state:paused; }
.skills .skill-list { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.skills .skill-list > div { padding:24px 24px; }
.skills .skill-list h3 { font-size:22px; line-height:1.35; }
.skills .skill-list p { font-size:16px; line-height:1.75; }
@media(max-width:1199px) { .skills .skill-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .skills .skill-list { grid-template-columns:1fr; } }

/* Mobile composition and a reversible menu reveal. */
@media(max-width:760px) {
 .site-header .nav nav {
  display:flex; flex-direction:column; align-items:stretch;
  opacity:0; visibility:hidden; pointer-events:none;
  transform:translateY(-10px) scale(.98); transform-origin:top center;
  transition:opacity .25s ease,transform .35s cubic-bezier(.22,.61,.36,1),visibility 0s .35s;
 }
 .site-header.menu-open .nav nav {
  opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0) scale(1);
  transition:opacity .25s ease,transform .35s cubic-bezier(.22,.61,.36,1),visibility 0s;
 }
 .site-header .nav nav a { transform:translateY(-4px); transition:transform .3s ease; }
 .site-header.menu-open .nav nav a { transform:translateY(0); }
}
@media(max-width:600px) {
 .portrait-intro { right:8%; top:54%; font-size:14px; }
 html[lang="en"] .portrait-intro { right:2%; top:54%; font-size:14px; }
 .orbit-stage { height:410px; max-width:430px; }
 .orbit-portrait.about-photo { width:64%; left:18%; top:6%; height:94%; }
 .orbit-portrait.about-photo img, .orbit-portrait.about-photo::before { top:-13%; }
 .orbit-portrait.about-photo::after { display:none; }
 .orbit-portrait.about-photo img { mask-image:linear-gradient(#000 0%,#000 75%,transparent 99%); }
 .panorama-pause { right:8%; bottom:3%; }
}
@media(max-width:360px) { .orbit-stage { height:370px; } }
@media(prefers-reduced-motion:reduce) {
 .site-header .nav nav,.site-header .nav nav a { transition:none; }
}

.graphic-preview { clip-path:inset(1.52091% 0.28571%); }

/* Crop each flat source before projection; adjacent slices share their exact edge. */
.panorama-slice { transform-origin:left top; }
.banner-preview-image,.graphic-preview { clip-path:none; }
.about-content > .background-notes { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:40px; }
.about-content > .profile-details { margin-top:24px; }
@media(max-width:700px) { .about-content > .background-notes { grid-template-columns:1fr; gap:16px; } }

/* Restore the original soft banner treatment and align the biography panel. */
.panorama-banner { border-radius:8px; }
.panorama-slice { top:0; height:100%; transform-origin:center; }
.background-notes .note-heading { display:flex; align-items:center; gap:8px; margin:0 0 16px; font-size:16px; line-height:1.4; color:#ffe4c2; }
.background-notes .note-heading > span[data-i] { font-weight:600; }
.note-heading .icon { width:22px; height:22px; flex-shrink:0; }
.about-copy > p:last-child { margin-bottom:0; }
@media(min-width:701px) {
 .about-layout { align-items:stretch; }
 .about-layout .panorama-block { min-height:0; }
 .panorama-block .orbit-stage { position:absolute; inset:0; height:100%; max-width:none; }
 .orbit-portrait.about-photo { width:min(60%,var(--portrait-width,260px)); left:max(20%,calc((100% - var(--portrait-width,260px))/2)); top:0; height:100%; }
 .orbit-portrait.about-photo::after { display:none; }
 .panorama-pause { bottom:2%; right:12%; }
}

.skill-context { margin-top:24px; }
.skill-context > span { display:block; font-size:14px; font-weight:600; color:#ffe4c2; margin-bottom:8px; }
.skills .skill-list .skill-context p { font-size:14px; line-height:1.7; color:#e3c7a9; margin:0; }

.orbit-portrait.about-photo img { filter:sepia(.35) saturate(.88) hue-rotate(-5deg) contrast(1.01) brightness(1.16); }
.cv-reference { display:flex; align-items:center; gap:16px; margin-top:24px; }
.cv-reference .profile-details { margin:0; }
.cv-pending { color:#e3c7a9; font-size:14px; }
#cv-link[aria-disabled="true"] { cursor:default; color:#e3c7a9; }

/* One responsive coordinate system for the portrait and its four banner rows. */
footer.wrap, footer.wrap > span, footer.wrap .back-top, footer.wrap .back-top span { font-size:14px; }
@media(min-width:701px) {
 .orbit-portrait.about-photo { width:min(76%,var(--portrait-width,330px)); left:max(12%,calc((100% - var(--portrait-width,330px))/2)); }
}
@media(max-width:700px) {
 .about-layout { gap:32px; }
 .panorama-block { width:100%; min-width:0; }
 .panorama-block .orbit-stage { position:relative; inset:auto; width:100%; max-width:480px; height:auto; aspect-ratio:1.08; margin:0 auto; }
 .orbit-portrait.about-photo { width:74%; left:13%; top:0; height:100%; }
 .orbit-portrait.about-photo img,.orbit-portrait.about-photo::before { width:135.25%; left:-16.05%; top:-16%; }
 .orbit-portrait.about-photo::after { display:none; }
 .panorama-block .banner-gallery { position:absolute; inset:0; width:100%; height:100%; max-width:none; margin:0; padding:0; }
 .panorama-pause { right:7%; bottom:3%; }
}
@media(min-width:601px) and (max-width:1000px) {
 .portrait-intro { right:10%; top:51%; font-size:clamp(16px,2.6vw,25px); }
 html[lang="en"] .portrait-intro { right:4%; top:51%; font-size:clamp(14px,2.3vw,23px); }
}
@media(max-width:600px) {
 .portrait-intro { right:3%; top:47%; padding:8px 8px; font-size:14px; z-index:4; }
 html[lang="en"] .portrait-intro { right:0; top:47%; font-size:14px; }
}
@media(prefers-reduced-motion:no-preference) {
 .portrait-frame.is-tilting { transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--lift,0px)); }
 .orbit-portrait.about-photo.is-tilting { transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--lift,0px)); }
}

/* Restore the original larger, five-row orbit and lower portrait fade. */
.about-layout { align-items:center; }
.panorama-block .orbit-stage { position:relative; inset:auto; width:100%; height:460px; max-width:none; aspect-ratio:auto; }
.orbit-portrait.about-photo { left:19%; top:0; width:62%; height:94%; }
.orbit-portrait.about-photo img,.orbit-portrait.about-photo::before { width:135.25%; left:-16.05%; top:-16%; }
.orbit-portrait.about-photo img { mask-image:linear-gradient(#000 0%,#000 79%,transparent 99%); }
.orbit-portrait.about-photo::after { display:block; content:''; position:absolute; inset:75% 0 0; z-index:2; opacity:1; background:linear-gradient(transparent,var(--page-bg,#1a0d06)); pointer-events:none; }
.panorama-pause { right:13%; bottom:5%; }
@media(max-width:1000px) and (min-width:701px) { .panorama-block .orbit-stage { height:350px; } }
@media(max-width:700px) { .panorama-block .orbit-stage { max-width:450px; height:430px; margin:0 auto; } }
@media(max-width:400px) { .panorama-block .orbit-stage { height:370px; } }
/* Tools and UX practice belong to the biography, side by side. */
.about-practice { margin-top:56px; }
.practice-title { font-size:25px; line-height:1.3; font-weight:400; margin:0 0 32px; }
.practice-columns { display:grid; grid-template-columns:1.2fr 1fr; gap:48px; }
.practice-columns h4 { font-size:14px; font-weight:600; letter-spacing:0; color:#ffe2ba; margin:0 0 24px; }
.practice-columns .tools-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.practice-columns .tool-item { min-width:0; font-size:16px; padding:16px; gap:16px; }
.practice-columns .tool-item .icon { flex-shrink:0; }
.ux-skillset { margin:0; padding:0; list-style:none; display:grid; gap:16px; }
.ux-skillset li { font-size:16px; line-height:1.6; color:#fff0dc; }
.ux-skillset li span { display:block; color:#e3c7a9; font-size:14px; }
@media(max-width:700px) { .practice-columns { grid-template-columns:1fr; gap:32px; } .practice-title { font-size:22px; } .practice-columns .tool-item { padding:16px; font-size:14px; } }

@media (hover:none), (pointer:coarse), (max-width:700px) {
 .brand .brand-mark::after { display:none; }
 .brand > span:not(.brand-mark), .brand .brand-small,
 .brand:hover > span:not(.brand-mark), .brand:hover .brand-small,
 .brand:focus-visible > span:not(.brand-mark), .brand:focus-visible .brand-small {
  background:none; animation:none; color:#fff0dc; -webkit-text-fill-color:currentColor;
 }
}
@media(max-width:700px) {
 .orbit-portrait.about-photo { top:10%; height:90%; width:68%; left:16%; }
 .orbit-portrait.about-photo img,.orbit-portrait.about-photo::before { top:-3%; }
 .panorama-pause { bottom:2%; }
}
