
@font-face {
  font-family: 'Neue Montreal';
  src: url('otf/PPNeueMontreal-Regular.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('otf/PPNeueMontreal-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal Mono';
  src: url('otf/PPNeueMontrealMono-Book.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal Mono';
  src: url('otf/PPNeueMontrealMono-Medium.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal Mono';
  src: url('otf/PPNeueMontrealMono-Medium.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  font-size: 16px;

  --licorice: #11110D;
  --coconut:  #FFFFFF;
  --matcha:   #D1F470;
  --fern:     #203524;
  --shamrock: #2D4C33;
  --sesame:   #F5F5F2;
  --cactus:   #A1D78F;
  --pineapple:#FEEB7E;
  --dim:      #474d43;
  --riso-pink:#eda3b2;

  /* Page gradient (cycled by the palette toggle) */
  --grad-a: var(--coconut);
  --grad-b: var(--sesame-300);

  /* Secondary palette */
  --blue-100: #D5ECFF;
  --blue-200: #B2DCFF;
  --blue-300: #89C7FA;
  --blue-400: #65A3D6;
  --blue-500: #3A78AA;
  --sesame-100: #F5F5F2;
  --sesame-200: #E5E5E2;
  --sesame-300: #D5D5D2;
  --sesame-400: #B4B4B0;
  --sesame-500: #90918C;

}
* { box-sizing: border-box; margin: 0; padding: 0; }
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .18s ease, height .18s ease;
  will-change: left, top;
}
.cursor.is-hover { width: 58px; height: 58px; }
@media (hover: none) { .cursor { display: none; } }
body {
  font-family: 'Neue Montreal', sans-serif;
  letter-spacing: -0.01em;
  font-weight: 500;
  text-rendering: optimizeLegibility;
  color: var(--licorice);
  min-height: 100vh;
  cursor: none;
  background-color: var(--sesame);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='4' intercept='-1.5'/%3E%3CfeFuncG type='linear' slope='4.8' intercept='-1.7'/%3E%3CfeFuncB type='linear' slope='4.8' intercept='-1.0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(to bottom, var(--grad-a), var(--grad-b));
  background-blend-mode: soft-light, normal;
  background-size: 100px 100px, cover;
  background-attachment: fixed;
  transition: background-color .6s ease;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  background: transparent;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fern);
}
.logo svg { display: block; width: 16px; height: 16px; flex-shrink: 0; }
.logo-name {
  font-family: 'Neue Montreal Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fern);
}
.nav-weather {
  font-family: 'Neue Montreal Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--shamrock);
  white-space: nowrap;
}
.nav-weather-loading { opacity: 0.5; }
.navlinks { display: flex; gap: 28px; font-family: 'Neue Montreal Mono', monospace; font-size: 13px; letter-spacing: 0.02em; color: var(--fern); }
a { cursor: none; }
.navlinks a { color: inherit; text-decoration: none; transition: color .2s; }
.navlinks a:hover { color: var(--licorice); }
.hero {
  width: min(90%, 1080px);
  margin: 0 auto;
  padding: 90px 0 50px;
  text-align: left;
  background: transparent;
}
h1 {
  font-family: 'Neue Montreal', sans-serif;
  font-size: clamp(44px, 8.5vw, 108px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.015em;
  max-width: none;
  margin: 0;
}
h2 {
  font-family: 'Neue Montreal', sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.5px;
}
h1 em {
  font-style: normal;
  color: var(--fern);
  position: relative;
}
h1 em::after {
  content: '';
  position: absolute; left: 0; bottom: 8px;
  width: 100%; height: 12px;
  background: var(--matcha);
  z-index: -1;
}
.sub {
  margin: 32px 0 0;
  font-family: 'Neue Montreal Mono', monospace;
  letter-spacing: 0.0em;
  max-width: 560px;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.5;
}
/* Curtis: floating photo on hover */
.curtis {
  position: relative;
  color: var(--fern);
  font-weight: 500;
  border-bottom: 1px dashed rgba(32,53,36,0.45);
  cursor: none;
  white-space: nowrap;
}
.curtis-pic {
  position: absolute;
  left: 100%;
  bottom: calc(100% + 6px);
  width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(17,17,13,0.22);
  opacity: 0;
  transform: translate(30%, 4px) rotate(-5deg) scale(0.94);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.85,.35,1.25);
  z-index: 20;
}
.curtis:hover .curtis-pic,
.curtis:focus-visible .curtis-pic {
  opacity: 1;
  transform: translate(30%, 0) rotate(-5deg) scale(1);
}
.cta {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}
button {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: none;
  transition: transform .15s, border-color .2s, color .2s, background .2s;
}
.primary { background: var(--matcha); color: var(--licorice); }
.primary:hover { transform: translateY(-2px); background: var(--cactus); }
.ghost { background: transparent; color: var(--licorice); border: 1px solid rgba(17,17,13,0.22); }
.ghost:hover { border-color: var(--fern); color: var(--fern); }
.exp {
  background: transparent;
  color: var(--licorice);
  padding: 90px 0 0;
}
.exp-inner {
  width: min(90%, 1080px);
  margin: 0 auto;
}
.exp-head {
  color: var(--licorice);
  text-align: left;
  margin-bottom: 12px;
}
.exp-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid rgba(17,17,13,0.12);
}
.exp-item:last-child { border-bottom: 1px solid rgba(17,17,13,0.12); }
.exp-item--fade {
  max-height: 90px;
  overflow: hidden;
  border-bottom: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  pointer-events: none;
}
.exp-item--fade:last-child { border-bottom: none; }
.exp-years {
  font-family: 'Neue Montreal Mono', monospace;
  font-size: 14px;
  color: var(--shamrock);
  padding-top: 3px;
}
.exp-co {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.exp-co a { color: var(--licorice); text-decoration: none; border-bottom: 2px solid var(--matcha); transition: color .2s, border-color .2s; }
.exp-co a:hover { color: var(--fern); border-color: var(--fern); }
.exp-role { color: var(--dim); line-height: 1.55; max-width: 640px;
font-family: 'Neue Montreal Mono', monospace; letter-spacing: 0.01em; 
font-size: 13px;  }
.exp-role em { font-style: normal; font-weight: 500; }
.exp-role span { display: block; }
.exp-links {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 640px;
}
.exp-links a {
  font-family: 'Neue Montreal Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--shamrock);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.exp-links a::before { content: '↗'; opacity: 0.7; }
.exp-links a:hover { color: var(--fern); border-bottom-color: var(--fern); }
.banner {
  background: var(--matcha);
  color: var(--licorice);
  text-align: center;
  padding: 20px 40px;
  font-family: 'Neue Montreal Mono', monospace;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.copy-email {
  cursor: none;
  border-bottom: 1px solid rgba(17,17,13,0.35);
  transition: opacity .2s;
}
.copy-email:hover { opacity: 0.7; }

/* Nav greeting + clock */
.nav-greet { color: var(--dim); }
.nav-meta { color: var(--shamrock); }

/* Reactive smiley */
.smiley-eyes { transition: transform .12s ease-out; }
.smiley-eyes-blink {
  transform-box: fill-box;
  transform-origin: center;
  animation: smiley-blink 5.5s infinite;
}
@keyframes smiley-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%, 97%      { transform: scaleY(0.1); }
}
.smiley-mouth { transition: transform .25s ease; transform-box: fill-box; transform-origin: center; }
.logo:hover .smiley-mouth { transform: scale(1.18) translateY(1px); }
.logo:hover .smiley-eyes-blink { animation: none; transform: scaleY(0.28); }


/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  background: var(--fern);
  color: var(--coconut);
  font-family: 'Neue Montreal Mono', monospace;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 9998;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Palette toggle */
.palette-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50%;
  border: 1px solid rgba(17,17,13,0.14);
  background-color: var(--coconut);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='black' viewBox='0 0 20 20'%3E%3Cpath d='M5 11.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m2.5 2.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M6.25 7.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m5-2.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0m2.5 2.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5'/%3E%3Cpath fill-rule='evenodd' d='M10 1.25a8.75 8.75 0 0 0 0 17.5h2.5a2.5 2.5 0 1 0 0-5 1.25 1.25 0 1 1 0-2.5h4.975c.669 0 1.275-.521 1.275-1.25A8.75 8.75 0 0 0 10 1.25M2.5 10a7.5 7.5 0 0 1 15-.006l-.025.006H12.5a2.5 2.5 0 1 0 0 5 1.25 1.25 0 1 1 0 2.5H10A7.5 7.5 0 0 1 2.5 10' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  color: var(--fern);
  box-shadow: 0 4px 14px rgba(17,17,13,0.08);
  transition: transform .2s ease;
  z-index: 9997;
}
.palette-toggle:hover { transform: rotate(20deg) scale(1.08); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .smiley-eyes-blink { animation: none; }
}
@media (max-width: 640px) {
  nav { padding: 18px 22px; }
  .logo-name { display: none; }
  .nav-greet { display: none; }
  .hero { padding: 60px 0 40px; }
  .exp { padding: 60px 0; }
  .exp-item { grid-template-columns: 1fr; gap: 8px; }
}
