:root {
  color-scheme:light;
  --sky:#dce8f8;
  --horizon:#ffead5;
  --night:#d9e5f3;
  --art-surface:#f4f7fc;
  --art-line:#b5c7dd;
  --art-blue:#3c638e;
  --art-warm:#a64724;
  --shadow:#10274418;
  --paper:#edf3fa;
  --ink:#182c48;
  --muted:#4d6079;
  --orange:#a64724;
  --line:#bbcbdc;
  --surface:#e2ebf6;
  --surface-hover:#d9e5f3;
  --feature:#e6e9f2;
  --card-text:#435772;
  --control-border:#70849d;
  --arrow-border:#70849d;
  --instagram-border:#bbcbdc;
  --focus:#a64724;
  --selection:#f5c9a8;
  --tag-bg:#dce8f6;
  --tag-border:#afc4df;
  --tag-text:#284c78;
  --tag-warm-bg:#fae4d4;
  --tag-warm-border:#d9b397;
  --tag-warm-text:#914222;
  --serif:Georgia,'Times New Roman',serif;
}

:root[data-theme="dark"] {
  color-scheme:dark;
  --sky:#162e50;
  --horizon:#513326;
  --night:#080f1d;
  --art-surface:#12233c;
  --art-line:#496181;
  --art-blue:#9bbce8;
  --art-warm:#ffb477;
  --shadow:#02081555;
  --paper:#0b1426;
  --ink:#edf3fa;
  --muted:#b4c4db;
  --orange:#ffb477;
  --line:#354c69;
  --surface:#162a46;
  --surface-hover:#203b5e;
  --feature:#1b2d48;
  --card-text:#c1cee1;
  --control-border:#7e96b5;
  --arrow-border:#7e96b5;
  --instagram-border:#354c69;
  --focus:#ffb477;
  --selection:#674732;
  --tag-bg:#203b5e;
  --tag-border:#49688e;
  --tag-text:#cce0fa;
  --tag-warm-bg:#42332e;
  --tag-warm-border:#86634c;
  --tag-warm-text:#ffc18e;
}

.header-actions {
  display:flex;
  flex-shrink:0;
  align-items:center;
  gap:24px;
}

.theme-toggle {
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:44px;
  height:44px;
  padding:10px;
  border:1px solid var(--control-border);
  border-radius:50%;
  background:transparent;
  color:var(--ink);
  cursor:pointer;
}

.theme-toggle[hidden] { display:none; }
.theme-toggle:hover { background:var(--surface-hover); }
.theme-toggle svg { width:22px; height:22px; }
.theme-toggle .sun-icon { display:none; }
[data-theme="dark"] .theme-toggle .moon-icon { display:none; }
[data-theme="dark"] .theme-toggle .sun-icon { display:block; }

@media(max-width:600px) {
  .header-actions { gap:12px; }
  .site-header { gap:12px; }
  .wordmark { min-width:0; }
  .wordmark>span { overflow-wrap:anywhere; }
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:24px;
}

body {
  margin:0;
  /* A drifting sunset glow above the steady orange-to-night progression. */
  background-color:var(--night);
  background-image:
    radial-gradient(ellipse at 50% 0%,var(--horizon) 0%,transparent 60%),
    linear-gradient(180deg,var(--horizon) 0%,var(--sky) 45%,var(--night) 100%);
  background-size:180% 75%,100% 100%;
  background-position:0% 0%,0% 0%;
  background-repeat:no-repeat;
  animation:blue-hour-drift 24s ease-in-out infinite alternate;
  min-height:100vh;
  color:var(--ink);
  font:16px/1.6 'Segoe UI',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

@keyframes blue-hour-drift {
  from { background-position:0% 0%,0% 0%; }
  to { background-position:100% 0%,0% 0%; }
}

a {
  color:inherit;
}

a:focus-visible,button:focus-visible {
  outline:3px solid var(--focus);
  outline-offset:6px;
}

::selection {
  background:var(--selection);
}

.wrap {
  width:min(1120px,calc(100% - 96px));
  margin-inline:auto;
}

.site-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 0;
  border-bottom:1px solid var(--line);
}

.wordmark {
  font-size:23px;
  font-weight:650;
  letter-spacing:-1px;
  text-decoration:none;
}

.brand-dot {
  color:var(--orange);
}

.site-header nav {
  display:flex;
  gap:32px;
  font-size:13px;
  font-weight:600;
}

.site-header nav a {
  text-decoration:none;
}

.site-header nav a:hover,.email-link:hover {
  color:var(--orange);
}

.eyebrow {
  font-size:10px;
  font-weight:650;
  text-transform:uppercase;
  letter-spacing:2px;
  margin:0;
}

.hero {
  padding:64px 0 48px;
}

.hero>.eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
}

.profile-section {
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:64px;
  align-items:start;
  padding:64px 0;
}

.profile-copy {
  min-width:0;
}

.profile-copy>.eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
}

.profile-copy h1 {
  font-size:clamp(48px,6vw,76px);
}

.profile-intro {
  max-width:480px;
  margin:0 0 20px;
  font:normal 22px/1.5 var(--serif);
}

.profile-media {
  display:grid;
  gap:20px;
}

.profile-media .instagram-card {
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  gap:8px 18px;
  align-items:center;
  padding:16px;
}

.profile-media .instagram-qr {
  grid-column:1;
  grid-row:1 / 3;
  margin:0;
  border-radius:12px;
}

.profile-media .instagram-top {
  grid-column:2;
  align-self:end;
  gap:8px;
}

.profile-media .instagram-bottom {
  grid-column:2;
  align-self:start;
}

.profile-media .instagram-bottom svg {
  display:none;
}

@media(max-width:1000px) {
  .profile-section {
    grid-template-columns:minmax(0,1fr) 290px;
    gap:32px;
  }
  .profile-copy h1 {
    font-size:58px;
    letter-spacing:-3px;
  }
  .profile-media .instagram-card {
    grid-template-columns:112px minmax(0,1fr);
    gap:8px 12px;
    padding:12px;
  }
  .profile-media .instagram-bottom strong {
    font-size:12px;
  }
}

@media(max-width:760px) {
  .profile-section {
    grid-template-columns:1fr;
    gap:32px;
    padding:42px 0;
  }
  .profile-copy h1 {
    font-size:clamp(43px,8vw,65px);
    letter-spacing:-2px;
  }
  .profile-media {
    width:100%;
    max-width:350px;
    justify-self:center;
  }
  .profile-media .instagram-card {
    grid-template-columns:132px minmax(0,1fr);
  }
}

.home-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  align-items:center;
  gap:48px;
}

.hero-copy {
  min-width:0;
}

.hero-copy>.eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
}

.home-hero h1 {
  font-size:clamp(55px,6vw,76px);
}

.home-hero .hero-bottom {
  display:block;
}

.home-hero .hero-note {
  display:block;
  margin-top:26px;
  padding:0;
  transform:none;
}

.home-hero .hero-note>span {
  position:static;
  display:inline-block;
  margin-left:8px;
  font-size:24px;
}

.hero-portrait {
  position:relative;
  width:100%;
  aspect-ratio:7 / 8;
  overflow:hidden;
  border-radius:22px;
  background:var(--surface);
  box-shadow:0 12px 30px var(--shadow);
}

.hero-portrait img {
  position:absolute;
  display:block;
  width:150%;
  max-width:none;
  height:auto;
  left:-25%;
  top:-40%;
}

@media(max-width:1000px) {
  .home-hero {
    grid-template-columns:minmax(0,1fr) 290px;
    gap:28px;
  }
  .home-hero h1 {
    font-size:58px;
    letter-spacing:-3px;
  }
}

@media(max-width:760px) {
  .home-hero {
    grid-template-columns:1fr;
    gap:30px;
  }
  .home-hero h1 {
    font-size:clamp(43px,8vw,65px);
    letter-spacing:-2px;
  }
  .home-hero .hero-note {
    display:none;
  }
  .hero-portrait {
    max-width:350px;
    justify-self:center;
  }
}

.little-star {
  font-size:22px;
  line-height:1;
  color:var(--orange);
}

h1 {
  font:normal clamp(55px,6.9vw,88px)/1.04 var(--serif);
  letter-spacing:-4px;
  margin:26px 0 24px;
}

h1 em {
  color:var(--orange);
  font-weight:normal;
}

.hero-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.hero-bottom>p {
  color:var(--muted);
  font-size:16px;
  margin:0;
}

.hero-note {
  font:italic 16px/1.4 var(--serif);
  color:var(--muted);
  transform:rotate(-7deg);
  padding-right:55px;
  position:relative;
}

.hero-note>span {
  position:absolute;
  right:12px;
  top:15px;
  font:32px var(--serif);
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 0 17px;
}

.small-note {
  font:italic 13px var(--serif);
  color:var(--muted);
}

.feature-grid {
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
}

.feature-card {
  display:block;
  border-radius:18px;
  padding:26px 28px;
  text-decoration:none;
  overflow:hidden;
  transition:transform .2s,box-shadow .2s;
  position:relative;
}

.feature-card:hover,.directory-card:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 25px var(--shadow);
}

.apps-card {
  background:var(--feature);
}

.card-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.card-tag,.app-category {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1.5px;
  font-weight:650;
}

.circle-arrow {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid var(--arrow-border);
  border-radius:50%;
  font-size:20px;
}

.app-art {
  color:var(--ink);
  height:214px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mini-window {
  width:74%;
  max-width:360px;
  background:var(--art-surface);
  border:1px solid var(--art-line);
  border-radius:9px;
  transform:rotate(-6deg);
  box-shadow:9px 12px 0 var(--shadow);
  overflow:hidden;
}

.window-bar {
  padding:10px 12px;
  border-bottom:1px solid var(--art-line);
  display:flex;
  align-items:center;
  gap:4px;
}

.window-bar i {
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--art-blue);
}

.window-bar span {
  margin-left:8px;
  font-size:8px;
  color:var(--muted);
}

.window-content {
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 18px 8px;
}

.app-symbol {
  background:var(--tag-warm-bg);
  color:var(--tag-warm-text);
  border-radius:8px;
  padding:0 10px;
  font-size:30px;
}

.window-content>div {
  flex:1;
}

.skeleton {
  display:block;
  height:5px;
  background:var(--art-line);
  border-radius:5px;
  margin:7px 0;
}

.wide {
  width:75%;
}

.short {
  width:45%;
}

.mini-chart {
  display:flex;
  gap:8px;
  align-items:flex-end;
  height:54px;
  margin:0 20px 14px;
}

.mini-chart span {
  background:var(--art-warm);
  flex:1;
  border-radius:3px 3px 0 0;
  height:25%;
}

.mini-chart span:nth-child(2) {
  height:40%;
}

.mini-chart span:nth-child(3) {
  height:34%;
}

.mini-chart span:nth-child(4) {
  height:60%;
}

.mini-chart span:nth-child(5) {
  height:50%;
}

.mini-chart span:nth-child(6) {
  height:74%;
}

.mini-chart span:nth-child(7) {
  height:92%;
}

.floating-label {
  position:absolute;
  right:1px;
  bottom:29px;
  background:var(--tag-warm-bg);
  padding:7px 12px;
  border:1px solid var(--tag-warm-border);
  border-radius:5px;
  font:italic 12px var(--serif);
  transform:rotate(5deg);
}

.art-spark {
  position:absolute;
  left:8px;
  top:27px;
  font-size:39px;
  color:var(--orange);
}

.card-copy h2,.card-copy h3 {
  font:normal 36px/1.15 var(--serif);
  letter-spacing:-1px;
  margin:5px 0 9px;
}

.card-copy p {
  font-size:13px;
  line-height:1.65;
  margin:0;
  color:var(--card-text);
}

.card-cta {
  display:flex;
  align-items:center;
  gap:15px;
  font-weight:600;
  font-size:11px;
  margin-top:21px;
}

.about-grid {
  display:grid;
  grid-template-columns:1.14fr 1fr;
  gap:70px;
  padding:56px 0 64px;
  border-top:1px solid var(--line);
  align-items:center;
  scroll-margin-top:30px;
}

.home-projects {
  padding:36px 0 64px;
  border-top:1px solid var(--line);
}

.home-projects .apps-card {
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:auto 1fr;
  column-gap:48px;
  padding:32px 38px;
}

.home-projects .card-top {
  grid-column:1;
  grid-row:1;
}

.home-projects .card-copy {
  grid-column:1;
  grid-row:2;
  align-self:center;
  padding:20px 0 8px;
}

.home-projects .card-copy h3 {
  font-size:44px;
}

.home-projects .card-copy p {
  font-size:15px;
}

.home-projects .app-art {
  grid-column:2;
  grid-row:1 / 3;
  height:240px;
  align-self:center;
}

@media(max-width:760px) {
  .home-projects {
    padding:28px 0 44px;
  }
  .home-projects .apps-card {
    display:flex;
    flex-direction:column;
    padding:24px;
  }
  .home-projects .card-copy {
    align-self:stretch;
    padding:0;
  }
  .home-projects .card-copy h3 {
    font-size:36px;
  }
  .home-projects .app-art {
    width:100%;
    height:210px;
  }
}

.about-copy h2 {
  font:normal 37px/1.15 var(--serif);
  letter-spacing:-1px;
  margin:18px 0;
}

.bio {
  font-size:14px;
  color:var(--muted);
  max-width:470px;
  margin:0;
  line-height:1.9;
}

.bio-lead {
  font:normal clamp(21px,2.2vw,26px)/1.5 var(--serif);
  color:var(--ink);
  margin-bottom:16px;
  max-width:440px;
}

.signoff {
  font:italic 11px var(--serif);
  color:var(--muted);
  margin:10px 0 22px;
}

.email-link {
  display:inline-block;
  font-size:13px;
  text-decoration:none;
  border-bottom:1px solid var(--control-border);
  padding-bottom:5px;
  overflow-wrap:anywhere;
}

.email-link span {
  margin-left:14px;
}

.instagram-card {
  border:1px solid var(--instagram-border);
  border-radius:15px;
  padding:22px;
  text-decoration:none;
  background:var(--surface);
  transition:background .2s;
}

.instagram-card:hover {
  background:var(--surface-hover);
}

.instagram-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.instagram-top .eyebrow {
  font-size:9px;
  letter-spacing:1.4px;
}

.instagram-qr {
  position:relative;
  width:100%;
  max-width:320px;
  aspect-ratio:1;
  margin:18px auto;
  overflow:hidden;
  border-radius:20px;
  background:#fff;
}

.about-copy {
  min-width:0;
}

.about-attributes {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  list-style:none;
  padding:0;
  margin:0 0 28px;
}

.about-attributes[hidden] {
  display:none;
}

.about-attributes li {
  max-width:100%;
  padding:5px 11px;
  border:1px solid var(--tag-border);
  border-radius:999px;
  background:var(--tag-bg);
  color:var(--tag-text);
  font-size:12px;
  font-weight:600;
  overflow-wrap:anywhere;
}

.about-attributes li:nth-child(3n + 1) {
  background:var(--tag-warm-bg);
  border-color:var(--tag-warm-border);
  color:var(--tag-warm-text);
}

.about-attributes li:nth-child(3n) {
  background:var(--surface);
  border-color:var(--line);
  color:var(--muted);
}

/* Frame the 804 × 1348 image's white QR card (x:81, y:255, size:642). */
.instagram-qr img {
  position:absolute;
  display:block;
  width:125.233645%;
  max-width:none;
  height:auto;
  left:-12.616822%;
  top:-39.719626%;
}
.instagram-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.instagram-bottom strong {
  display:block;
  font-size:14px;
  font-weight:600;
}

.instagram-bottom div>span {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:3px;
}

.instagram-bottom svg {
  width:24px;
  height:24px;
}

.site-footer {
  border-top:1px solid var(--line);
  padding:22px 0 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:10px;
  color:var(--muted);
}

.site-footer a {
  text-decoration:none;
}

.skip-link {
  position:fixed;
  left:15px;
  top:-70px;
  background:var(--ink);
  color:var(--paper);
  padding:10px 16px;
  z-index:10;
}

.skip-link:focus {
  top:15px;
}

.apps-hero {
  padding-bottom:52px;
}

.apps-hero>p:last-child {
  color:var(--muted);
  max-width:560px;
}

.directory-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-bottom:64px;
}

.directory-card {
  padding:28px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:18px;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  transition:transform .2s,box-shadow .2s;
}

.directory-card .card-copy {
  flex:1;
}

.directory-card .card-copy p {
  max-width:350px;
}

.directory-art {
  height:185px;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  margin:15px 0 18px;
  border-radius:12px;
}

.split-art {
  background:var(--tag-bg);
}

.split-mark {
  font:normal 65px var(--serif);
  color:var(--art-blue);
  letter-spacing:-5px;
}

.split-mark span {
  color:var(--orange);
}

.f1-art {
  background:var(--feature);
}

.f1-art svg {
  width:86%;
  height:80%;
}

.directory-card .card-cta {
  margin-top:28px;
}

.back-link {
  display:inline-flex;
  gap:10px;
  font-size:12px;
  text-decoration:none;
  margin-top:28px;
}

.current-page {
  color:var(--orange);
}

@media(min-width:1500px) {
  .hero {
    padding-top:80px;
  }
  h1 {
    font-size:96px;
  }
}

@media(max-width:900px) {
  .wrap {
    width:calc(100% - 56px);
  }
  h1 {
    font-size:72px;
  }
  .about-grid {
    gap:32px;
  }
  .feature-card {
    padding:22px;
  }
  .mini-window {
    width:85%;
  }
  .hero-note {
    padding-right:35px;
  }
  .hero-note>span {
    right:0;
  }
  .site-footer>span:nth-child(2) {
    max-width:220px;
    text-align:center;
  }
  .instagram-top .eyebrow {
    font-size:8px;
  }
  .app-art {
    height:190px;
  }
}

@media(max-width:600px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .site-header {
    padding:22px 0;
  }
  .wordmark {
    font-size:20px;
  }
  .site-header nav {
    gap:16px;
    font-size:11px;
  }
  .site-header nav a:last-child {
    display:none;
  }
  .hero {
    padding:42px 0 38px;
  }
  h1 {
    font-size:clamp(43px,10.8vw,65px);
    letter-spacing:-2px;
    margin-top:23px;
  }
  .hero-bottom>p {
    font-size:14px;
  }
  .hero-note {
    display:none;
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.5px;
  }
  .small-note {
    font-size:11px;
  }
  .feature-grid,.directory-grid,.about-grid {
    grid-template-columns:1fr;
  }
  .feature-grid {
    gap:16px;
  }
  .feature-card {
    padding:22px 24px;
  }
  .app-art {
    height:210px;
  }
  .mini-window {
    width:74%;
  max-width:360px;
    max-width:300px;
  }
  .card-copy h2,.card-copy h3 {
    font-size:34px;
  }
  .about-grid {
    padding:44px 0;
    gap:32px;
  }
  .about-copy h2 {
    font-size:33px;
  }
  .instagram-top .eyebrow {
    font-size:9px;
  }
  .site-footer {
    align-items:flex-start;
    flex-wrap:wrap;
    gap:14px;
  }
  .site-footer>span:nth-child(2) {
    order:3;
    max-width:none;
    width:100%;
    text-align:left;
  }
  .site-footer a {
    margin-left:auto;
  }
  .directory-grid {
    gap:18px;
    margin-bottom:44px;
  }
  .apps-hero {
    padding-bottom:28px;
  }
  .apps-hero>p:last-child {
    font-size:14px;
  }
  .directory-card {
    padding:24px;
  }
  .desktop-break {
    display:none;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}

.follow-row {
  display:flex;
  align-items:center;
  gap:10px;
}

.follow-label {
  margin-right:4px;
  font-size:13px;
  color:var(--muted);
}

.social-icon {
  display:grid;
  place-items:center;
  flex:0 0 36px;
  width:36px;
  height:36px;
  border:1px solid var(--control-border);
  border-radius:50%;
  text-decoration:none;
  transition:color .2s,background .2s,border-color .2s;
}

.social-icon svg {
  width:17px;
  height:17px;
}

.social-icon:hover {
  color:var(--paper);
  background:var(--orange);
  border-color:var(--orange);
}.wordmark { display:flex; align-items:center; gap:10px; }
.site-logo { display:block; width:72px; height:72px; object-fit:contain; }
@media(max-width:600px) { .site-logo { width:52px; height:52px; } }
