/* Simple stylesheet inspired by the source page layout */
:root {
  --bg-old-2: rgb(30 27 28);
  --bg-old-1: rgb(24 22 23);
  --bg-old: #0f1724;
  --bg: rgb(25 25 28);
  --bg-top: rgb(31 31 36);
  --card: #0b1220;
  --muted: #9ca3af;
  --accent: #8b5cf6;
  --glow-core: rgba(255, 255, 255, 0.12);
  --glow-halo: rgba(102, 138, 255, 0.09);
  --glow-warm: rgba(255, 146, 112, 0.05);
  --text-old-2:  #8f8f8f;
  --text-old-1: #c8bebe;
  --text-old-1: #fff;
  --text: #8f8c8c;
  --radius: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
* {box-sizing: border-box}
a{ color: var(--text);text-decoration: underline;;}
html,body { min-height: 100%; margin: 0; color: var(--text); font-weight: 100;}
body {
  position: relative;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 22%, var(--bg) 100%);
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 10%, var(--glow-core) 0%, rgba(255, 255, 255, 0.04) 14%, rgba(25, 25, 28, 0) 42%),
    radial-gradient(circle at 52% 12%, var(--glow-halo) 0%, rgba(102, 138, 255, 0.04) 24%, rgba(25, 25, 28, 0) 56%),
    radial-gradient(circle at 48% 7%, var(--glow-warm) 0%, rgba(25, 25, 28, 0) 38%);
}
body::after {
  z-index: 0;
  background: radial-gradient(circle at 50% 18%, rgba(25, 25, 28, 0) 0%, rgba(25, 25, 28, 0) 42%, rgba(25, 25, 28, 0.22) 76%, rgba(25, 25, 28, 0.45) 100%);
}
.container { max-width: 760px; margin: 44px auto; padding: 28px; position: relative; z-index: 1; }
.hero {text-align: left; padding: 24px 0}
.avatar { width: 88px; height: 88px;border-radius: 12px; display: block; margin: 0 0 12px; background: #172033; border: solid 2px white; object-fit: cover;}
#about p{ font-size: 1.2rem; line-height: 1.5; color: #f2efef;}
.name {font-size: 28px; margin: 6px 0;color:white;}
.name sup{ font-size: 0.6rem; font-weight: 100; position: relative; top: -18px;left: -11px;}
.subtitle { margin: 0 0 6px}
.grid {display: grid;}
.w-full {width: 100%;}
.card {
 padding: 10px 18px;
    border-radius: var(--radius);
    margin: 0px 0;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    align-items: baseline;
 }
.card h2 { margin: 0 0 10px; color: #646565;text-transform: lowercase;font-weight: 200;font-size: 1rem;}
.framed-panel {
    padding: 22px 24px;
    border: solid 1px #ffffff2b;
    border-radius: 24px;
    background-image: linear-gradient(to right top, #171718, #ffffff08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.framed-panel .links {
    flex-wrap: wrap;
}

.framed-panel a {
    color: #f2efef;
}

.framed-panel .links li {
    margin-right: 16px;
}

.framed-panel p:last-child {
    margin-bottom: 0;
}

#about .framed-panel p:first-child {
    margin-top: 5px;
}

.links { display: flex;}
.links,.projects {list-style: none; padding: 0; margin: 0}
.links li,.projects li { margin: 8px 10px 8px 0;}
.foot { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14px}
.note { margin-top: 6px; font-size: 0.6rem;  color: var(--text);}
.flashes {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.flash {
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    color: #f2efef;
}

.flash-success {
    border-color: rgba(166, 255, 210, 0.24);
    background: linear-gradient(180deg, rgba(133, 255, 196, 0.14), rgba(255, 255, 255, 0.03));
}

.flash-error {
    border-color: rgba(255, 144, 144, 0.22);
    background: linear-gradient(180deg, rgba(255, 122, 122, 0.14), rgba(255, 255, 255, 0.03));
}

article h1,
.contact-hero-panel h1,
#blog h1 {
    color: #f2efef;
}

article {
    line-height: 1.55;
}

article p,
article li {
    font-size: 1.08rem;
}

article h2,
article h3 {
    color: #f2efef;
}

.blog-index h1 {
    color: #f2efef;
}

.blog-index > p {
    max-width: 44rem;
    font-size: 1.08rem;
    line-height: 1.7;
}

.blog-list {
    list-style: disc;
    padding-left: 28px;
    margin: 28px 0 0;
}

.blog-list-item {
    margin-bottom: 28px;
    padding: 0;
    border: 0;
    background: transparent;
}

.blog-list-item a {
    color: #f2efef;
    text-decoration: underline;
    font-size: inherit;
}

.blog-list-item small {
    display: block;
    margin-top: 16px;
    color: var(--text);
}

.blog-list-item p {
    margin: 10px 0 0;
    line-height: 1.7;
}

.blog-pagination {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-pagination-meta {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.blog-pagination-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.blog-pagination-link:hover {
    transform: translateY(-1px);
    border-color: rgba(184, 198, 255, 0.18);
    color: #f2efef;
}

.blog-pagination-link.is-current {
    border-color: rgba(210, 218, 255, 0.22);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(196, 208, 255, 0.08));
    color: #f2efef;
}

.coming-soon-panel {
    position: relative;
    min-height: 220px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-image: linear-gradient(to right top, #171718, #ffffff08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.9fr);
    gap: 28px;
    align-items: start;
    overflow: hidden;
}

.coming-soon-kicker {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.48);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.coming-soon-panel h3 {
    margin: 0 0 14px;
    color: #f2efef;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 0.96;
    max-width: 12ch;
}

.coming-soon-panel p {
    margin: 0;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.04rem;
    line-height: 1.75;
}

.coming-soon-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.coming-soon-points li {
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: #f2efef;
    text-transform: lowercase;
}

.coming-soon-pill {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(202, 214, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-label {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.contact-hero-panel {
    padding: 18px 0 24px;
}

.contact-hero-panel h1 {
    margin: 0 0 16px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 0.98;
    max-width: 10ch;
}

.contact-lead {
    margin: 0 0 18px;
    max-width: 44rem;
    font-size: 1.28rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.contact-subtle {
    margin: 0;
    max-width: 42rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.58);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr);
    gap: 28px;
    margin-top: 28px;
}

.contact-panel {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(7, 11, 18, 0.42);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

.contact-panel h2,
.contact-mini-card h3 {
    margin-top: 0;
    color: #f2efef;
}

.contact-list {
    margin: 0;
    padding-left: 20px;
}

.contact-list li {
    margin-bottom: 14px;
    line-height: 1.6;
}

.contact-mini-card {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-mini-card p {
    margin: 0;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-inline-flashes {
    margin-bottom: 18px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: #f4efef;
    font: inherit;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(159, 181, 255, 0.46);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(120, 150, 255, 0.08);
}

.field textarea {
    resize: vertical;
    min-height: 190px;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 180px;
    padding: 14px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(219, 223, 255, 0.92));
    color: #111318;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
}

.selected-work {
    margin-top: 42px;
}

.selected-work-header {
    margin-bottom: 20px;
    max-width: 42rem;
}

.selected-work-header h2 {
    margin: 0 0 12px;
    color: #f2efef;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.selected-work-header p {
    margin: 0;
    line-height: 1.7;
}

.selected-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.work-card {
    display: block;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(7, 11, 18, 0.38);
    text-decoration: none;
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.work-card:hover {
    transform: translateY(-2px);
    border-color: rgba(184, 198, 255, 0.18);
}

.work-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.46);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.74rem;
}

.work-card h3 {
    margin: 0 0 10px;
    color: #f2efef;
    font-size: 1.2rem;
    line-height: 1.2;
}

.work-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.65;
}

.post-cta-panel {
    margin: 44px 0 22px;
    padding: 26px;
    border-radius: 24px;
    border: solid 1px #ffffff2b;
    background-image: linear-gradient(to right top, #171718, #ffffff08);
}

.post-cta-eyebrow {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.post-cta-panel h2 {
    margin: 0 0 12px;
    font-size: 1.8rem;
}

.post-cta-panel p {
    margin: 0;
    max-width: 38rem;
}

.post-cta-actions {
    margin-top: 18px;
}


ul.projects li {
    width: auto;
    margin: 0;
    box-sizing: border-box;
    border: solid 1px #ffffff2b;
    border-radius: 16px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

ul.projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

ul.projects li a{
    text-decoration: none;
    width:100%;
}

ul.projects li div{
      padding: 13px 16px;
    height: 80px;
    background-image: linear-gradient(to right top, #171718, #ffffff08);
    color: white;
    display: inline-flex;
    width: 100%;
    align-items: flex-end;
}

@media (max-width: 480px) {
  .card { display: flex; flex-direction: column; padding: 0; grid-row-gap: 0; margin-bottom: 3rem; }
  .framed-panel {
    padding: 18px;
  }
  .contact-hero-panel h1 {
    max-width: 12ch;
  }
}

@media (max-width: 690px) {
  ul.projects {
    grid-template-columns: 1fr;
  }
  .coming-soon-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
  }

  .coming-soon-panel h3 {
    max-width: none;
  }

  .coming-soon-pill {
    position: static;
    margin-top: 10px;
    width: fit-content;
  }

  .contact-layout,
  .field-grid,
  .selected-work-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 20px;
    border-radius: 20px;
  }

  body::before {
    background:
      radial-gradient(circle at 50% 8%, var(--glow-core) 0%, rgba(255, 255, 255, 0.04) 18%, rgba(25, 25, 28, 0) 52%),
      radial-gradient(circle at 50% 10%, var(--glow-halo) 0%, rgba(102, 138, 255, 0.04) 28%, rgba(25, 25, 28, 0) 64%),
      radial-gradient(circle at 50% 6%, var(--glow-warm) 0%, rgba(25, 25, 28, 0) 42%);
  }
}
