@charset "UTF-8";
:root {
  color-scheme:dark;
  --header-height:89px;
  --bg:#101624;
  --panel:#151e2e;
  --ink:#edf1f7;
  --muted:#a7b1c3;
  --blue:#a7c6f5;
  --line:#2c3648;
  --font:Inter,"Segoe UI",Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-height) + 16px);
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

body.modal-open {
  overflow:hidden;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
}

img {
  max-width:100%;
  height:auto;
  display:block;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:6px;
}

h1,h2,h3,p {
  margin:0;
}

h1,h2,h3 {
  line-height:1.18;
  font-weight:600;
  letter-spacing:-.045em;
}

p {
  color:var(--muted);
}

.shell {
  width:min(1180px,calc(100% - 96px));
  margin-inline:auto;
}

.section {
  padding-block:96px;
}

.eyebrow,.micro,.visual-label,.project-meta,.location {
  font-family:"Cascadia Code",Consolas,monospace;
  font-size:11px;
  font-weight:400;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.eyebrow {
  color:var(--blue);
  margin-bottom:22px;
}

.micro {
  color:var(--muted);
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link {
  position:fixed;
  top:12px;
  left:12px;
  z-index:20;
  background:var(--blue);
  color:var(--bg);
  padding:10px 18px;
  transform:translateY(-180%);
}

.skip-link:focus {
  transform:translateY(0);
}

.header {
  border-bottom:1px solid var(--line);
  background:rgba(16,22,36,.96);
  position:sticky;
  top:0;
  z-index:5;
}

.nav-wrap {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:88px;
  gap:24px;
}

.wordmark {
  font-size:22px;
  font-weight:700;
  letter-spacing:-1px;
  white-space:nowrap;
}

.wordmark span {
  color:var(--blue);
}

nav {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:13px;
  color:#c1c9d6;
}

nav a {
  padding-block:10px;
}

nav a:hover,nav a[aria-current="location"] {
  color:var(--blue);
}

.resume-link {
  border-left:1px solid var(--line);
  padding-left:28px;
}

.resume-link span {
  margin-left:8px;
}

.hero {
  align-items:center;
}

.hero .eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
}

.small-line {
  width:28px;
  height:1px;
  background:var(--blue);
}

h1 {
  font-size:clamp(39px,4.4vw,61px);
  line-height:1.1;
  letter-spacing:-.055em;
}

h1 span {
  color:var(--blue);
}

.hero-description {
  max-width:555px;
  margin-top:25px;
  font-size:17px;
  line-height:1.75;
}

.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.button {
  display:inline-flex;
  gap:32px;
  align-items:center;
  justify-content:space-between;
  padding:12px 22px;
  border:1px solid var(--line);
  border-radius:5px;
  font-size:13px;
  font-weight:600;
  transition:background .2s,transform .2s;
}

.button:hover {
  transform:translateY(-2px);
}

.primary {
  background:var(--blue);
  color:#101b2f;
  border-color:var(--blue);
}

.primary:hover {
  background:#c5dbfc;
}

.secondary:hover {
  background:#1b2639;
}

.hero-note {
  width:245px;
  padding:12px 0 10px 34px;
  border-left:1px solid var(--line);
}


.hero-note p {
  font-size:13px;
  line-height:1.9;
  margin-bottom:18px;
}

.hero-note .micro {
  font-size:9px;
  letter-spacing:.02em;
}

.work {
  padding-top:34px;
}

.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:35px;
}

.section-heading .eyebrow {
  margin-bottom:13px;
}

h2 {
  font-size:clamp(30px,3.1vw,42px);
}

.section-heading>p {
  font-size:13px;
  line-height:1.7;
  margin-bottom:2px;
}

.project {
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
}

.feature {
  display:grid;
  grid-template-columns:1fr 1fr;
}

.project-visual {
  position:relative;
  overflow:hidden;
}

.titan-visual {
  min-height:352px;
  background:radial-gradient(ellipse at 15% 100%,#304e78 0,transparent 62%),linear-gradient(130deg,#1c3352,#172438 75%);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:28px 34px;
}

.visual-label {
  font-size:9px;
  color:#c2d4ee;
  letter-spacing:.13em;
  z-index:1;
}

.titan-type {
  display:flex;
  flex-direction:column;
  font-size:68px;
  font-weight:750;
  line-height:.92;
  letter-spacing:-.07em;
  color:#e3edfb;
  padding-block:26px;
}

.titan-type>span:nth-child(2) {
  color:#93b6e7;
}

.type-dot {
  color:#d8e5f9;
}

.titan-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  color:#b9cae3;
}

.titan-bottom>span:last-child {
  font-size:27px;
}

.project-copy {
  padding:31px 34px;
}

.project-meta {
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#aab7cb;
  font-size:9px;
  letter-spacing:.06em;
  margin-bottom:20px;
}

.project h3 {
  font-size:29px;
  line-height:1.2;
}

.project-copy>p {
  font-size:14px;
  line-height:1.8;
  margin-top:17px;
  max-width:470px;
}

.tags {
  list-style:none;
  padding:0;
  margin:22px 0;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.tags li {
  font-size:10px;
  line-height:1.5;
  border:1px solid #35435a;
  color:#b4c4dc;
  padding:4px 9px;
  border-radius:3px;
}

.text-link {
  font-size:13px;
  color:var(--blue);
  display:inline-flex;
  gap:30px;
  align-items:center;
  font-weight:600;
}

.text-link span {
  transition:transform .2s;
}

.text-link:hover span {
  transform:translate(3px,-3px);
}

.text-link:hover {
  text-decoration:underline;
  text-underline-offset:5px;
}

.project-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
  margin-top:25px;
}

.stacked {
  display:flex;
  flex-direction:column;
}

.stacked .project-copy {
  display:flex;
  flex-direction:column;
  flex:1;
}

.stacked .text-link {
  align-self:start;
  margin-top:auto;
}

.stacked .tags {
  margin-bottom:24px;
}

.stacked .project-visual {
  height:277px;
  padding:23px 28px 0;
  display:flex;
  flex-direction:column;
  gap:25px;
  justify-content:space-between;
}

.bluewell-visual {
  background:#c1d0e2;
}

.dark-label {
  color:#304862;
}

.bluewell-visual img {
  width:100%;
  height:auto;
  flex-shrink:0;
  box-shadow:0 12px 28px #1d385133;
  border-radius:4px 4px 0 0;
}

.stacked .keto-visual {
  background:#dcded7;
  padding-bottom:0;
}

.keto-visual img {
  width:100%;
  height:216px;
  object-fit:contain;
  object-position:center bottom;
}

.additional {
  margin-top:63px;
}

.additional-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:23px;
}

.additional-heading h3 {
  font-size:21px;
  letter-spacing:-.03em;
}

.additional-heading p {
  font-size:12px;
}

.gallery {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.gallery-image {
  height:195px;
  background:#202a3a;
  border-radius:5px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
}

.gallery-image img {
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .3s;
}

.scale-image img {
  object-fit:cover;
  object-position:top;
}

.gallery-item:hover img {
  transform:scale(1.025);
}

.gallery-item>span {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  padding-top:14px;
}

.gallery-item small {
  font-size:10px;
  color:var(--muted);
}

.gallery-item>span>span {
  margin-left:auto;
  color:var(--blue);
  font-size:18px;
}

.experience-band {
  background:#121b2a;
  border-block:1px solid var(--line);
}

.experience-grid {
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:95px;
}

.role {
  border-top:1px solid var(--line);
  padding:24px 0;
}

.role:last-child {
  padding-bottom:0;
}

.role-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.role h3 {
  font-size:18px;
  letter-spacing:-.025em;
}

.role-top>span {
  font-size:10px;
  color:var(--muted);
  white-space:nowrap;
}

.role .role-title {
  color:var(--blue);
  font-size:12px;
  margin-top:4px;
}

.role>p:last-child {
  font-size:13px;
  line-height:1.8;
  margin-top:10px;
}

.expertise {
  padding-top:24px;
}

.expertise>.eyebrow {
  font-size:10px;
  margin-bottom:25px;
}

.expertise article {
  position:relative;
  padding-left:44px;
  margin-bottom:30px;
}

.expertise article:last-child {
  margin-bottom:0;
}

.expertise h3 {
  font-size:18px;
  letter-spacing:-.02em;
  margin-bottom:9px;
}

.expertise p {
  font-size:13px;
  line-height:1.8;
}

.expertise-icon {
  position:absolute;
  left:0;
  top:0;
  color:var(--blue);
  font:11px Consolas,monospace;
  border:1px solid #35435a;
  border-radius:4px;
  padding:7px;
}

.about {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:85px;
}

.about h2 {
  line-height:1.2;
}

.location {
  display:block;
  color:var(--muted);
  font-size:10px;
  letter-spacing:.06em;
  margin-top:28px;
}

.location span {
  color:var(--blue);
  margin-right:8px;
}

.about-copy {
  padding-top:39px;
}

.about-copy p {
  font-size:15px;
  margin-bottom:17px;
}

.about-copy p:first-child {
  color:#d6deeb;
  font-size:18px;
  line-height:1.65;
}

.contact {
  padding:54px 0 52px;
  border-top:1px solid var(--line);
}

.contact-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}

.contact h2 {
  font-size:clamp(38px,4.2vw,57px);
  line-height:1.13;
}

.contact h2 span {
  color:var(--blue);
}

.contact-row p {
  margin-top:22px;
  font-size:14px;
}

.contact-arrow {
  display:grid;
  place-items:center;
  width:91px;
  height:91px;
  border:1px solid #506580;
  border-radius:50%;
  font-size:43px;
  color:var(--blue);
  transition:background .2s,transform .2s;
}

.contact-arrow:hover {
  background:#253651;
  transform:translate(2px,-2px);
}

.contact-links {
  display:flex;
  gap:40px;
  font-size:14px;
  margin-top:35px;
}

.contact-links span {
  color:var(--blue);
  margin-left:13px;
}

.contact-links a:hover {
  color:var(--blue);
}

.footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  padding-block:26px;
  margin-top:30px;
}

.footer .wordmark {
  font-size:18px;
}

.footer p,.footer>span {
  font-size:10px;
  color:var(--muted);
}

dialog {
  width:min(850px,calc(100% - 40px));
  max-height:calc(100vh - 64px);
  max-height:calc(100dvh - 64px);
  padding:0;
  border:1px solid #40516a;
  border-radius:10px;
  background:#151e2e;
  color:var(--ink);
  overscroll-behavior:contain;
  box-shadow:0 35px 100px #0008;
}

/* Keep dismissal outside the scrolling content, including on short screens. */
.js dialog[open] {
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.js dialog .dialog-toolbar {
  position:relative;
  flex:none;
}
.js dialog .dialog-content {
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

dialog::backdrop {
  background:#080e1bcc;
  backdrop-filter:blur(7px);
}

.dialog-toolbar {
  position:sticky;
  top:0;
  z-index:2;
  background:#151e2ef5;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 30px;
}

.close-dialog {
  color:var(--ink);
  background:#223149;
  border:1px solid #3b4b64;
  padding:7px 13px;
  border-radius:4px;
  cursor:pointer;
  font-size:12px;
}

.close-dialog:hover {
  background:#304666;
}

.close-dialog span {
  font-size:19px;
  margin-left:15px;
  line-height:1;
}

.dialog-content {
  padding:37px 44px 48px;
}

.dialog-content h2 {
  font-size:37px;
  line-height:1.16;
  outline:none;
}

.dialog-lead {
  font-size:17px;
  line-height:1.75;
  margin-top:20px;
}

.project-facts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
  border-block:1px solid var(--line);
  padding-block:20px;
  margin:28px 0;
}

.project-facts dt {
  font:10px Consolas,monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--blue);
  margin-bottom:8px;
}

.project-facts dd {
  margin:0;
  font-size:13px;
}

.dialog-content h3 {
  font-size:21px;
  margin-top:30px;
  margin-bottom:12px;
  letter-spacing:-.02em;
}

.dialog-content>p:not(.eyebrow):not(.dialog-lead) {
  font-size:14px;
  line-height:1.85;
}

.dialog-content figure {
  margin:30px 0;
}

.dialog-content figure img {
  border-radius:5px;
  width:100%;
  height:auto;
}

.dialog-content figcaption {
  font-size:11px;
  color:var(--muted);
  margin-top:9px;
}

.dialog-content .narrow-figure {
  max-width:600px;
  margin-inline:auto;
}

.dialog-content .confidential-note {
  border-left:2px solid #7598c5;
  padding-left:18px;
  margin-top:28px;
}

.no-js-back {
  margin-top:25px;
}

.js .no-js-back {
  display:none;
}

html:not(.js) dialog:target {
  display:block;
  position:relative;
  max-height:none;
  margin:30px auto;
}

html:not(.js) .close-dialog {
  display:none;
}

.gallery-image {
  display:block;
}

@media(min-width:1500px) {
  .titan-visual {
    min-height:370px;
  }
}

@media(max-width:1000px) {
  .shell {
    width:calc(100% - 56px);
  }
  .hero-note {
    width:210px;
    padding-left:25px;
  }
  nav {
    gap:20px;
  }
  .project-copy {
    padding:26px;
  }
  .project h3 {
    font-size:25px;
  }
  .titan-type {
    font-size:60px;
  }
  .experience-grid {
    gap:48px;
  }
  .role-top {
    align-items:start;
    flex-direction:column;
    gap:6px;
  }
  .about {
    gap:45px;
  }
  .gallery-image {
    height:160px;
  }
}

@media(max-width:760px) {
  .shell {
    width:calc(100% - 40px);
  }
  .nav-wrap {
    min-height:100px;
    flex-wrap:wrap;
    gap:4px;
    padding-block:14px;
  }
  .wordmark {
    font-size:20px;
  }
  nav {
    width:100%;
    justify-content:space-between;
    gap:10px;
    font-size:11px;
  }
  .resume-link {
    padding-left:14px;
  }
  nav a {
    padding-block:5px;
  }
  .hero .eyebrow {
    font-size:9px;
    letter-spacing:.08em;
  }
  .hero-description {
    font-size:15px;
    max-width:490px;
  }
  .hero-actions {
    margin-top:26px;
  }
  .button {
    padding:11px 17px;
    gap:26px;
    font-size:12px;
  }
  .section {
    padding-block:64px;
  }
  .work {
    padding-top:20px;
  }
  .section-heading {
    align-items:start;
    flex-direction:column;
    gap:16px;
    margin-bottom:26px;
  }
  .section-heading>p {
    font-size:13px;
  }
  .desktop-break {
    display:none;
  }
  .feature {
    grid-template-columns:1fr;
  }
  .titan-visual {
    min-height:278px;
    padding:25px;
  }
  .titan-type {
    font-size:64px;
  }
  .feature .project-copy {
    padding:28px 25px;
  }
  .project h3 {
    font-size:28px;
  }
  .project-grid {
    grid-template-columns:1fr;
    gap:22px;
    margin-top:22px;
  }
  .stacked .project-visual {
    height:280px;
  }
  .stacked .project-copy {
    padding:27px 25px;
  }
  .project-copy>p {
    max-width:none;
  }
  .project-meta {
    font-size:9px;
  }
  .tags {
    margin-block:20px;
  }
  .additional {
    margin-top:45px;
  }
  .additional-heading {
    align-items:start;
    flex-direction:column;
    gap:8px;
  }
  .additional-heading h3 {
    font-size:22px;
  }
  .gallery {
    grid-template-columns:1fr 1fr;
    gap:22px 16px;
  }
  .gallery-item:first-child {
    grid-column:1/-1;
  }
  .gallery-item:first-child .gallery-image {
    height:220px;
  }
  .gallery-image {
    height:145px;
  }
  .gallery-item>span {
    flex-wrap:wrap;
    gap:3px 7px;
    font-size:12px;
  }
  .gallery-item small {
    font-size:9px;
  }
  .gallery-item>span>span {
    font-size:15px;
  }
  .experience-grid {
    grid-template-columns:1fr;
    gap:36px;
  }
  .role-top {
    flex-direction:row;
    align-items:center;
  }
  .role-top>span {
    font-size:9px;
  }
  .role h3 {
    font-size:17px;
  }
  .expertise {
    border-top:1px solid var(--line);
    padding-top:30px;
  }
  .about {
    grid-template-columns:1fr;
    gap:25px;
  }
  .about-copy {
    padding-top:0;
  }
  .location {
    margin-top:22px;
  }
  .about-copy p:first-child {
    font-size:17px;
  }
  .contact {
    padding-top:42px;
    padding-bottom:40px;
  }
  .contact h2 {
    font-size:38px;
  }
  .contact-arrow {
    width:56px;
    height:56px;
    flex-shrink:0;
    font-size:30px;
  }
  .contact-row p {
    font-size:13px;
  }
  .contact-links {
    flex-wrap:wrap;
    gap:18px 27px;
    font-size:13px;
    margin-top:27px;
  }
  .footer {
    flex-wrap:wrap;
    padding-block:22px;
    gap:10px;
  }
  .footer p {
    display:none;
  }
  .footer>span {
    font-size:9px;
  }
  dialog {
    width:calc(100% - 20px);
    max-width:calc(100% - 20px);
    max-height:calc(100vh - 20px);
    max-height:calc(100dvh - 20px);
  }
  .js dialog[open] {
    --dialog-top-gap:max(10px, env(safe-area-inset-top, 0px));
    --dialog-bottom-gap:max(10px, env(safe-area-inset-bottom, 0px));
    position:fixed;
    inset-inline:0;
    top:calc(var(--dialog-viewport-top, 0px) + var(--dialog-top-gap));
    bottom:auto;
    margin:0 auto;
    max-height:calc(var(--dialog-viewport-height, 100dvh) - var(--dialog-top-gap) - var(--dialog-bottom-gap));
  }
  .dialog-toolbar {
    padding:12px 20px;
  }
  .dialog-toolbar .micro {
    font-size:9px;
  }
  .dialog-content {
    padding:28px 22px 35px;
  }
  .dialog-content h2 {
    font-size:29px;
  }
  .dialog-lead {
    font-size:15px;
  }
  .project-facts {
    gap:15px;
  }
  .project-facts dd {
    font-size:12px;
  }
}

@media(max-width:370px) {
  .shell {
    width:calc(100% - 32px);
  }
  h1 {
    font-size:35px;
  }
  .role-top {
    align-items:start;
    flex-direction:column;
  }
  .contact h2 {
    font-size:32px;
  }
  .contact-arrow {
    width:45px;
    height:45px;
  }
  .project h3 {
    font-size:25px;
  }
  .project-facts {
    grid-template-columns:1fr;
  }
  .gallery-item small {
    width:100%;
  }
}

/* Full-height introduction and consistent, locally defined SVG iconography. */
.icon-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
  pointer-events:none;
}

.icon {
  display:inline-block;
  width:20px;
  height:20px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:middle;
}

.hero {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  gap:0;
  min-height:calc(100vh - var(--header-height));
  min-height:calc(100svh - var(--header-height));
  padding-block:clamp(36px,6svh,80px) 26px;
}

.hero-main {
  flex:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  align-items:center;
  gap:64px;
}

.hero h1 {
  font-size:clamp(40px,5.1vw,74px);
}

.hero-description {
  max-width:560px;
}

.hero-note {
  width:auto;
  padding:4px 0 8px 28px;
}

/* Scale the complete { CJ } lockup as one unit at each breakpoint. */
.hero-art {
  --hero-art-size:184px;
  position:relative;
  isolation:isolate;
  width:var(--hero-art-size);
  height:var(--hero-art-size);
  display:grid;
  grid-template-columns:1fr 2fr 1fr;
  align-items:center;
  justify-items:center;
  flex:none;
}

.hero-mark {
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
}

.hero-brackets {
  color:var(--blue);
  font-size:calc(var(--hero-art-size) * .76);
  /* Optical alignment for the brace glyph, proportional to its type size. */
  transform:translateY(-.13em);
  font-weight:300;
  line-height:1;
}

.hero-note .micro {
  font-size:9px;
  line-height:1.8;
  letter-spacing:.02em;
}

.hero-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px 24px;
  margin-top:48px;
}

.scroll-cue {
  display:inline-flex;
  align-items:center;
  gap:18px;
  font:10px "Cascadia Code",Consolas,monospace;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--blue);
  min-height:44px;
}

.scroll-cue .icon {
  width:17px;
  height:17px;
  transition:transform .2s;
}

.scroll-cue:hover .icon {
  transform:translateY(3px);
}

.motion-toggle {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:8px 0;
  color:var(--muted);
  background:none;
  border:0;
  cursor:pointer;
  font-size:12px;
}

.motion-toggle[hidden] {
  display:none;
}

.motion-toggle:hover {
  color:var(--blue);
}

.motion-toggle .icon {
  width:14px;
  height:14px;
}

.resume-link .icon {
  width:16px;
  height:16px;
  margin-left:7px;
}

.text-link .icon {
  width:18px;
  height:18px;
  transition:transform .2s;
}

.text-link:hover .icon {
  transform:translateX(4px);
}

.titan-bottom>.icon {
  width:28px;
  height:28px;
}

.gallery-item>span>.icon {
  margin-left:auto;
  color:var(--blue);
  width:18px;
  height:18px;
}

.location .icon {
  width:15px;
  height:15px;
  color:var(--blue);
  margin-right:8px;
}

.contact-arrow .icon {
  width:34px;
  height:34px;
}

.contact-links .icon {
  width:16px;
  height:16px;
  color:var(--blue);
  margin-left:10px;
}

.close-dialog {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:44px;
}

.close-dialog .icon {
  width:17px;
  height:17px;
}

.project {
  transition:border-color .2s,transform .2s;
}

.project:hover,.project:focus-within {
  border-color:#5c7396;
}

.project-meta {
  font-size:10px;
  color:#bac7da;
  line-height:1.8;
}

.project-copy {
  padding:34px 36px;
}

.project .text-link {
  min-height:36px;
}

/* Motion is opt-in. Nothing is hidden while JavaScript initializes. */
@keyframes enter-content {
  from { transform:translateY(10px); opacity:.25; }
  to { transform:translateY(0); opacity:1; }
}

@keyframes enter-dialog {
  from { transform:translateY(8px); opacity:.5; }
  to { transform:translateY(0); opacity:1; }
}

@media(prefers-reduced-motion:no-preference) {
  .motion-enabled .hero-description,
  .motion-enabled .hero-actions,
  .motion-enabled .hero-note {
    animation:enter-content .55s ease-out both;
  }
  .motion-enabled .reveal-enter {
    animation:enter-content .5s ease-out both;
  }
  dialog[open] {
    animation:enter-dialog .18s ease-out;
  }
}

@media(max-width:1000px) {
  .hero-main {
    grid-template-columns:minmax(0,1fr) 215px;
    gap:32px;
  }
  .hero-art {
    --hero-art-size:150px;
  }
}

@media(max-width:760px) {
  :root { --header-height:101px; }
  .hero {
    padding-block:38px 18px;
  }
  .hero-main {
    grid-template-columns:minmax(0,1fr);
    gap:34px;
    align-content:center;
  }
  .hero h1 {
    font-size:clamp(35px,8.5vw,48px);
  }
  .hero-note {
    display:flex;
    align-items:center;
    gap:20px;
    border-left:0;
    padding:0;
  }
  .hero-art {
    --hero-art-size:80px;
    margin:0;
  }
  .hero-note p {
    font-size:11px;
    margin-bottom:6px;
  }
  .hero-bottom {
    margin-top:30px;
    gap:6px 16px;
  }
  .scroll-cue {
    font-size:9px;
    gap:10px;
  }
  .motion-toggle {
    font-size:11px;
  }
  .contact-arrow .icon {
    width:25px;
    height:25px;
  }
}

/* Brand lockup, full-card links, and the local Threads background. */
.wordmark {
  display:inline-flex;
  align-items:center;
  flex:none;
  gap:12px;
}

.wordmark .brand-mark {
  --hero-art-size:64px;
  display:grid;
  grid-template-columns:1fr 2fr 1fr;
  place-items:center;
  width:var(--hero-art-size);
  height:var(--hero-art-size);
  flex:none;
  letter-spacing:normal;
}

.wordmark .brand-mark img {
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
}

.wordmark .brand-name {
  color:var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.brand-name>span { display:block; color:var(--blue); }
.footer .brand-mark { --hero-art-size:54px; }
.footer .wordmark .brand-name { font-size:12px; }

.resume-link {
  display:inline-flex;
  align-items:center;
  gap:9px;
  line-height:1;
}

.resume-link .icon {
  display:block;
  margin:0;
}

.hero-note {
  display:flex;
  flex-direction:column;
  align-items:center;
  border-left:0;
  padding:0;
  text-align:center;
}

.hero-art {
  margin:0 0 24px;
}

.threads-background {
  position:absolute;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
  mask-image:linear-gradient(90deg,#0005,#0004 38%,#000 82%);
}

.threads-background::before {
  content:"";
  position:absolute;
  inset:0;
  background:url('assets/threads-fallback.svg') center / cover no-repeat;
}

.threads-ready::before {
  display:none;
}

.threads-canvas {
  display:block;
  width:100%;
  height:100%;
  opacity:0;
}

.threads-ready .threads-canvas {
  opacity:1;
}

.feature {
  display:block;
}

.project-card-link {
  display:block;
  color:inherit;
  height:100%;
  border-radius:inherit;
}

.feature>.project-card-link {
  display:grid;
  grid-template-columns:1fr 1fr;
}

.stacked>.project-card-link {
  display:flex;
  flex:1;
  flex-direction:column;
}

.project-card-link:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:-3px;
}

.project-card-link:hover .text-link .icon {
  transform:translateX(4px);
}

.hims-figure {
  max-width:440px;
  margin-inline:auto!important;
}

.nav-toggle {
  display:none;
  padding:11px;
  border:1px solid #41536e;
  border-radius:5px;
  background:#182338;
  color:var(--ink);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  min-width:46px;
  min-height:46px;
}

@media(max-width:760px) {
  .js .nav-wrap {
    min-height:84px;
    padding-block:10px;
    flex-wrap:nowrap;
  }
  .js .nav-toggle:not([hidden]) {
    display:inline-flex;
  }
  .js #primary-navigation {
    position:absolute;
    top:100%;
    max-height:calc(100dvh - var(--header-height));
    overflow-y:auto;
    overscroll-behavior:contain;
    left:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    gap:4px;
    padding:14px 20px 22px;
    border-bottom:1px solid #41536e;
    background:#101624;
    box-shadow:0 20px 30px #0004;
  }
  .js #primary-navigation.is-open {
    display:flex;
  }
  #primary-navigation a {
    display:flex;
    align-items:center;
    min-height:48px;
    padding:12px 14px;
    border-radius:4px;
    font-size:14px;
  }
  #primary-navigation a:hover,#primary-navigation a:focus-visible {
    background:#1c2a40;
  }
  #primary-navigation .resume-link {
    border-left:0;
    padding-left:14px;
  }
  html:not(.js) #primary-navigation {
    flex-wrap:wrap;
  }
  .hero-note {
    flex-direction:row;
    justify-content:flex-start;
    text-align:left;
  }
  .hero-art {
    margin:0;
  }
  .feature>.project-card-link {
    grid-template-columns:1fr;
  }
  .threads-background {
    mask-image:linear-gradient(180deg,#0003,#0004 35%,#000 80%);
  }
}

/* A frozen WebGL frame is not the reduced-motion fallback. */
.threads-background[data-render-state="reduced-motion"]::before { display:block; }
.threads-background[data-render-state="reduced-motion"] canvas { opacity:0; }
.hero-copy, .hero-note-copy { min-width:0; }
.hero-description { text-wrap:pretty; }
.gallery-item:focus-visible img { transform:scale(1.025); }

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}


@media(max-width:760px) {
  .js dialog[open] { animation:none; }
}
