/* Shared portfolio styles.
   Edit :root for colors; body and headings for typography.
   Responsive overrides are grouped in @media blocks. */

:root {
  --paper:#f6f5f0;
  --ink:#192b29;
  --muted:#5e6c67;
  --line:#d8ded5;
  --green:#214e42;
  --lime:#d9ed9b;
  --white:#fff;
  --radius:16px;
}

* {
  box-sizing:border-box;
}

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

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

h1,h2,h3,h4 {
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  line-height:1.12;
  letter-spacing: 0.015em;
  font-weight:650;
  margin:0;
}

h1 {
  font-size:clamp(44px,6.4vw,84px);
}

h2 {
  font-size:clamp(32px,4vw,52px);
}

h3 {
  font-size:27px;
}

p {
  margin:0 0 18px;
}

a {
  color:inherit;
  text-underline-offset:5px;
}

button,input {
  font:inherit;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible {
  outline:3px solid #a85c20;
  outline-offset:5px;
}

.wrap {
  max-width:1240px;
  margin:auto;
  padding:0 48px;
}

.skip {
  position:absolute;
  left:20px;
  top:-100px;
  background:var(--lime);
  padding:10px;
  z-index:100;
}

.skip:focus {
  top:10px;
}

header {
  border-bottom:1px solid var(--line);
  background:rgba(246,245,240,.97);
  position:sticky;
  top:0;
  z-index:20;
}

nav {
  height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand {
  text-decoration:none;
  font-weight:750;
  letter-spacing: 0.015em;
  font-size:24px;
}

.brand span {
  color:#6a7b6b;
}

nav .links {
  display:flex;
  gap:30px;
  align-items:center;
  font-size:14px;
}

nav a {
  text-decoration:none;
}

.contact-nav {
  border:1px solid var(--ink);
  padding:9px 17px;
  border-radius:30px;
}

.eyebrow {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  font-weight:700;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:10px;
}

.dot {
  height:7px;
  width:7px;
  background:#477756;
  border-radius:50%;
  display:inline-block;
}

.hero {
  padding:90px 0 55px;
}

.hero-grid {
  display:grid;
  grid-template-columns:1.5fr .7fr;
  gap:55px;
  align-items:end;
}

.hero h1 {
  margin:23px 0 28px;
  max-width:850px;
}

.accent {
  color:#56774b;
}

.intro {
  font-size:18px;
  color:var(--muted);
  max-width:560px;
}

.hero-aside {
  padding:26px;
  border-top:1px solid var(--ink);
  margin-bottom:22px;
}

.hero-aside .small {
  margin-bottom:15px;
}

.hero-aside p {
  font-size:18px;
  line-height:1.55;
}

.small {
  font-size:12px;
  color:var(--muted);
}

.actions {
  display:flex;
  align-items:center;
  gap:25px;
  flex-wrap:wrap;
  margin-top:28px;
}

.button {
  background:var(--green);
  color:white;
  text-decoration:none;
  border:0;
  padding:13px 22px;
  border-radius:30px;
  display:inline-flex;
  gap:24px;
  align-items:center;
  font-size:14px;
  line-height:1.5;
}

.button:hover {
  background:#163a30;
}

.button.secondary {
  background:transparent;
  color:var(--ink);
  border:1px solid var(--line);
}

.text-link {
  font-size:14px;
  font-weight:600;
}

.proof {
  display:flex;
  justify-content:space-between;
  gap:25px;
  padding:28px 0 0;
  margin-top:55px;
  border-top:1px solid var(--line);
}

.proof strong {
  display:block;
  font-size:22px;
  font-weight:550;
  letter-spacing: 0.015em;
}

.proof small {
  color:var(--muted);
}

section {
  padding:65px 0;
}

.section-top {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:32px;
}

.section-top h2 {
  margin-top:13px;
}

.section-note {
  max-width:290px;
  color:var(--muted);
  font-size:14px;
}

.projects {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:38px 28px;
}

.project {
  display:block;
  text-decoration:none;
}

.project .visual {
  transition:transform .25s,box-shadow .25s;
}

.project:hover .visual {
  transform:translateY(-5px);
  box-shadow:0 16px 40px #192b2912;
}

.project.featured {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  background:#e7ebe0;
  border-radius:var(--radius);
  overflow:hidden;
}

.project.featured .project-copy {
  padding:42px;
  align-self:center;
}

.project.featured .visual {
  border-radius:0;
  min-height:350px;
}

.project-copy {
  padding:22px 0;
}

.project h3 {
  margin:13px 0 12px;
}

.project p {
  color:var(--muted);
  font-size:15px;
  max-width:460px;
}

.tag {
  display:inline-block;
  font-size:10px;
  letter-spacing:.07em;
  text-transform:uppercase;
  padding:5px 9px;
  border:1px solid #b8c5b6;
  border-radius:20px;
  margin-right:5px;
}

.project-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  font-weight:600;
  padding-top:8px;
}

.arrow {
  font-size:22px;
}

.visual {
  background:#e2e7dc;
  min-height:310px;
  padding:35px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:var(--radius);
  overflow:hidden;
  position:relative;
}

.visual-label {
  position:absolute;
  bottom:10px;
  left:20px;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#58675d;
}

.visual.ai {
  background:#dce5d4;
}

.visual.bank {
  background:#e5dfd6;
}

.visual.orbit {
  background:#dfdfeb;
}

.window {
  background:#fff;
  border-radius:9px;
  box-shadow:0 15px 35px #18352820;
  width:100%;
  max-width:520px;
  overflow:hidden;
  color:#263c36;
  font-size:10px;
}

.window-bar {
  background:#f8faf7;
  border-bottom:1px solid #e7ebe7;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 16px;
  font-weight:700;
}

.window-body {
  display:grid;
  grid-template-columns:80px 1fr;
  min-height:215px;
}

.mock-nav {
  background:#203f35;
  color:#e0ebdf;
  padding:18px 12px;
  line-height:3;
}

.mock-content {
  padding:20px;
}

.mock-title {
  font-size:17px;
  font-weight:650;
  letter-spacing: 0.015em;
  margin-bottom:14px;
}

.mock-metrics {
  display:flex;
  gap:9px;
  margin-bottom:17px;
}

.mock-metric {
  background:#f1f5ed;
  padding:11px;
  border-radius:5px;
  flex:1;
}

.mock-metric strong {
  font-size:17px;
  display:block;
}

.mock-table {
  width:100%;
  border-collapse:collapse;
  font-size:9px;
}

.mock-table td,.mock-table th {
  text-align:left;
  border-bottom:1px solid #e7ebe7;
  padding:8px 4px;
}

.pill {
  background:#e4edce;
  color:#364d2b;
  padding:3px 6px;
  border-radius:9px;
  font-size:8px;
}

.mock-bubble {
  padding:11px;
  background:#eef3e8;
  border-radius:7px;
  margin-bottom:10px;
}

.mock-source {
  border-left:2px solid #6c8f51;
  padding:7px 10px;
  font-size:9px;
  background:#fafbf6;
}

.phone {
  width:175px;
  background:#fff;
  padding:17px;
  border:5px solid #293a34;
  border-radius:27px;
  box-shadow:0 15px 30px #40362b20;
  transform:rotate(-5deg);
}

.phone+ .phone {
  margin-left:20px;
  transform:rotate(5deg);
  margin-top:25px;
}

.phone .balance {
  background:#244d40;
  color:white;
  border-radius:9px;
  padding:18px 12px;
  margin:15px 0;
}

.phone strong {
  display:block;
  font-size:22px;
}

.phone .small {
  font-size:9px;
}

.phone-row {
  font-size:10px;
  border-bottom:1px solid #e4e9e0;
  padding:10px 0;
}

.swatches {
  display:flex;
  gap:8px;
  margin:18px 0;
}

.swatches i {
  height:40px;
  flex:1;
  border-radius:5px;
}

.system-preview {
  background:#fff;
  padding:25px;
  border-radius:10px;
  width:95%;
  box-shadow:0 15px 30px #2c244120;
}

.system-preview h4 {
  font-size:26px;
}

.system-line {
  height:7px;
  background:#e9ebe7;
  border-radius:3px;
  margin:10px 0;
  width:75%;
}

.approach {
  background:#e9ece3;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.principles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:38px;
  margin-top:42px;
}

.principle {
  border-top:1px solid #b7c4b4;
  padding-top:20px;
}

.principle h3 {
  font-size:22px;
  letter-spacing: 0.015em;
  margin:18px 0 14px;
}

.principle p {
  font-size:15px;
  color:var(--muted);
}

.about-grid {
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:100px;
}

.about-grid h2 {
  margin:15px 0 25px;
}

.about-copy {
  font-size:18px;
  color:var(--muted);
}

.history {
  margin-top:30px;
}

.history-row {
  display:grid;
  grid-template-columns:90px 1fr;
  gap:20px;
  padding:19px 0;
  border-top:1px solid var(--line);
  font-size:14px;
}

.history-row strong {
  display:block;
  font-weight:600;
}

.history-row span {
  color:var(--muted);
}

.closing {
  background:var(--green);
  color:white;
  padding:65px 0;
}

.closing .wrap {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
}

.closing h2 {
  max-width:650px;
}

.closing .eyebrow {
  color:#c4d3bd;
  margin-bottom:20px;
}

.closing .button {
  background:var(--lime);
  color:#24362a;
}

footer {
  padding:26px 0;
  font-size:12px;
  color:var(--muted);
}

footer .wrap {
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.case-hero {
  padding:55px 0 40px;
}

.back {
  font-size:13px;
  text-decoration:none;
}

.case-hero h1 {
  font-size:clamp(42px,5.5vw,70px);
  max-width:980px;
  margin:25px 0;
}

.case-lede {
  font-size:21px;
  max-width:800px;
  color:var(--muted);
}

.case-meta {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  border-top:1px solid var(--line);
  padding-top:25px;
  margin-top:35px;
  font-size:14px;
}

.case-meta b {
  display:block;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:10px;
  margin-bottom:8px;
  color:var(--muted);
}

.case-visual .visual {
  min-height:430px;
}

.case-visual .window {
  max-width:720px;
  font-size:13px;
}

.case-visual .mock-title {
  font-size:24px;
}

.case-visual .window-body {
  min-height:280px;
  grid-template-columns:110px 1fr;
}

.case-visual .mock-content {
  padding:30px;
}

.case-visual .mock-table {
  font-size:12px;
}

.case-visual .mock-table td,.case-visual .mock-table th {
  padding:13px 4px;
}

.caption {
  font-size:12px;
  color:var(--muted);
  margin-top:13px;
  max-width:850px;
}

.case-layout {
  display:grid;
  grid-template-columns:210px 1fr;
  gap:70px;
  padding-top:55px;
}

.case-nav {
  position:sticky;
  top:120px;
  align-self:start;
  display:grid;
  gap:14px;
  font-size:13px;
}

.case-nav a {
  text-decoration:none;
  color:var(--muted);
}

.case-body section {
  padding:0 0 60px;
}

.case-body h2 {
  font-size:35px;
  margin:12px 0 25px;
}

.case-body h3 {
  font-size:23px;
  margin:25px 0 15px;
}

.case-body p,.case-body li {
  color:var(--muted);
}

.case-body ul {
  padding-left:20px;
}

.decision {
  border-top:1px solid var(--line);
  padding:24px 0 8px;
}

.decision h3 {
  margin-top:8px;
}

.decision-label {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#557044;
}

.decision-columns {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
}

.decision-columns b {
  font-size:12px;
  display:block;
  margin-bottom:6px;
  color:var(--ink);
}

.note {
  background:#e9eee0;
  border-left:3px solid #7b9654;
  padding:20px 24px;
  font-size:14px;
  margin:25px 0;
}

.note p:last-child {
  margin:0;
}

.evidence-table {
  border-collapse:collapse;
  width:100%;
  font-size:14px;
}

.evidence-table th {
  text-align:left;
  color:var(--ink);
}

.evidence-table td,.evidence-table th {
  padding:16px 10px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}

.evidence-table td {
  color:var(--muted);
}

.next {
  border-top:1px solid var(--line);
  padding:35px 0 60px;
}

.next a {
  text-decoration:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.demo {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  margin-top:25px;
}

.demo-top {
  background:#203f35;
  color:white;
  padding:18px 22px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:14px;
}

.demo-grid {
  display:grid;
  grid-template-columns:1fr .8fr;
}

.demo-main {
  padding:24px;
}

.demo-document {
  background:#f4f5ed;
  padding:24px;
  border-left:1px solid var(--line);
}

.demo-document h4 {
  font-size:16px;
  margin-bottom:18px;
}

.demo-document p {
  font-size:13px;
}

.scenario-buttons {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0;
}

.scenario-buttons button {
  border:1px solid #b9c8b4;
  background:#fff;
  border-radius:20px;
  padding:7px 12px;
  font-size:12px;
  color:var(--ink);
}

.scenario-buttons button[aria-pressed=true] {
  background:#214e42;
  color:white;
  border-color:#214e42;
}

.answer {
  background:#f3f6ed;
  border:1px solid #e1e9d6;
  border-radius:9px;
  padding:18px;
  font-size:14px;
  min-height:170px;
}

.answer h4 {
  font-size:17px;
  margin-bottom:12px;
}

.answer button {
  background:none;
  border:0;
  color:#28573f;
  padding:0;
  text-decoration:underline;
  font-size:12px;
}

.review-panel {
  border-top:1px solid var(--line);
  padding:18px 24px;
}

.review-panel p {
  font-size:13px;
  margin-bottom:12px;
}

.review-panel .button {
  padding:9px 15px;
  font-size:12px;
}

.review-status {
  font-size:13px;
  margin-top:14px;
  color:#355333;
}

.quote {
  font-size:25px;
  color:var(--ink);
  border-left:2px solid #91a778;
  padding-left:25px;
  margin:35px 0;
}

.inline-tags {
  margin-bottom:20px;
}

details {
  border-bottom:1px solid var(--line);
  padding:17px 0;
}

summary {
  cursor:pointer;
  font-weight:600;
  font-size:15px;
}

details p {
  margin:14px 0 0;
  font-size:14px;
}

.evaluation {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.evaluation div {
  padding:18px;
  border:1px solid var(--line);
  border-radius:10px;
}

.evaluation b {
  display:block;
  font-size:14px;
  margin-bottom:7px;
}

.evaluation p {
  font-size:13px;
  margin:0;
}

@media(max-width:850px) {
  .wrap {
    padding:0 25px;
  }

  .hero {
    padding-top:55px;
  }

  .hero-grid {
    grid-template-columns:1fr;
    gap:15px;
  }

  .hero-aside {
    max-width:500px;
    margin:15px 0;
  }

  .proof {
    flex-wrap:wrap;
  }

  .proof>div {
    width:43%;
  }

  .project.featured {
    grid-template-columns:1fr;
  }

  .project.featured .visual {
    min-height:300px;
  }

  .project.featured .project-copy {
    padding:28px;
  }

  .about-grid {
    grid-template-columns:1fr;
    gap:35px;
  }

  .case-layout {
    grid-template-columns:1fr;
    gap:35px;
  }

  .case-nav {
    position:static;
    display:flex;
    flex-wrap:wrap;
    border-bottom:1px solid var(--line);
    padding-bottom:22px;
  }

  .case-meta {
    grid-template-columns:1fr 1fr;
  }

  .principles {
    gap:22px;
  }

  .visual {
    padding:25px;
  }

  .demo-grid {
    grid-template-columns:1fr;
  }

  .demo-document {
    border-left:0;
    border-top:1px solid var(--line);
  }

}

@media(max-width:580px) {
  nav {
    height:72px;
  }

  .brand {
    font-size:21px;
  }

  nav .links {
    gap:17px;
    font-size:12px;
  }

  .contact-nav {
    display:none;
  }

  .hero h1 {
    font-size:46px;
  }

  .intro {
    font-size:17px;
  }

  .section-top {
    display:block;
  }

  .section-note {
    margin-top:20px;
  }

  .projects,.principles {
    grid-template-columns:1fr;
  }

  .project.featured {
    grid-column:auto;
  }

  .project h3 {
    font-size:26px;
  }

  .visual {
    min-height:275px;
    padding:25px 18px;
  }

  .window-body {
    grid-template-columns:65px 1fr;
  }

  .mock-content {
    padding:15px;
  }

  .mock-title {
    font-size:15px;
  }

  .mock-metric strong {
    font-size:14px;
  }

  .mock-metric {
    padding:8px;
  }

  .mock-nav {
    padding:15px 8px;
  }

  .closing .wrap {
    display:block;
  }

  .closing .button {
    margin-top:28px;
  }

  footer .wrap {
    display:block;
  }

  footer span {
    display:block;
    margin-top:10px;
  }

  .case-hero h1 {
    font-size:43px;
  }

  .case-lede {
    font-size:18px;
  }

  .case-meta {
    font-size:12px;
  }

  .case-visual .visual {
    min-height:320px;
    padding:18px;
  }

  .case-visual .window-body {
    grid-template-columns:65px 1fr;
    min-height:200px;
  }

  .case-visual .mock-content {
    padding:15px;
  }

  .case-visual .mock-title {
    font-size:18px;
  }

  .case-visual .mock-table {
    font-size:9px;
  }

  .case-visual .mock-table td,.case-visual .mock-table th {
    padding:8px 2px;
  }

  .decision-columns,.evaluation {
    grid-template-columns:1fr;
  }

  .case-body h2 {
    font-size:30px;
  }

  .case-body section {
    padding-bottom:40px;
  }

  .evidence-table {
    font-size:12px;
  }

  .evidence-table td,.evidence-table th {
    padding:12px 5px;
  }

  .demo-main,.demo-document {
    padding:18px;
  }

  .demo-top {
    font-size:12px;
  }

  .phone {
    width:145px;
    padding:12px;
  }

  .phone+.phone {
    margin-left:10px;
  }

  .phone strong {
    font-size:19px;
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }

  * {
    transition:none!important;
  }

}

.screenshot-placeholder {
  background:#e7ebe2;
  border:1px dashed #9eafa0;
  min-height:310px;
  padding:36px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
  border-radius:16px;
  color:#385448;
}

.screenshot-placeholder.ai {
  background:#e1e9d8;
}

.screenshot-placeholder.bank {
  background:#eae4db;
}

.screenshot-placeholder.orbit {
  background:#e5e3ed;
}

.placeholder-icon {
  font-size:36px;
  line-height:1;
  color:#748775;
}

.screenshot-placeholder strong {
  font-size:21px;
  letter-spacing: 0.015em;
  font-weight:600;
}

.placeholder-hint {
  font-size:12px;
  color:#5e6c67;
  max-width:300px;
}

.project.featured .screenshot-placeholder {
  border-radius:0;
  min-height:350px;
}

.case-visual .screenshot-placeholder {
  min-height:430px;
}

.history-row {
  grid-template-columns:145px 1fr;
}

button,input {
  font-family:inherit;
}

@media(max-width:580px) {
  .screenshot-placeholder,.case-visual .screenshot-placeholder {
    min-height:270px;
    padding:25px;
  }

  .history-row {
    grid-template-columns:110px 1fr;
    font-size:13px;
  }

}

button:disabled {
  opacity:.55;
  cursor:default;
}

.contact-intro {
  margin:22px 0 0;
  max-width:430px;
  color:#dce6d8;
}

.contact-details {
  font-style:normal;
  display:grid;
  gap:22px;
  min-width:300px;
}

.contact-details div {
  display:grid;
  gap:5px;
}

.contact-details span {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:#c4d3bd;
}

.contact-details a {
  font-size:17px;
  color:white;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.contact-details a:hover {
  text-decoration:underline;
}

@media(max-width:580px) {
  .contact-details {
    margin-top:32px;
    min-width:0;
  }

  .contact-details a {
    font-size:16px;
  }

}


/* Screenshots: ready for replacing the labeled placeholders. */
.project-screenshot {
  margin: 0;
}
.project-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.project-screenshot figcaption {
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* Readable title spacing across homepage, case studies, and demo. */
h1,
h2,
h3,
h4,
.mock-title,
.screenshot-placeholder strong {
  letter-spacing: 0.02em;
}

/* Footer identity; contact links remain in the Let's talk section above. */
footer .wrap {
  justify-content: center;
  text-align: center;
  letter-spacing: 0.06em;
}

/* Case study summaries and evidence slots. */
.impact-teaser {
  margin-top: 28px;
  padding: 22px 26px;
  background: #e9eee0;
  border-left: 3px solid #7b9654;
  max-width: 900px;
}
.impact-teaser p {
  margin: 10px 0;
  font-size: 19px;
}
.evidence-placeholder {
  margin: 28px 0;
}
.evidence-placeholder figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.case-nav a {
  line-height: 1.6;
}

/* Embedded lease workspace concepts, also available as standalone pages. */
.lease-concept-figure { margin: 30px 0; }
.concept-frame-label { padding: 10px 16px; background: #fff2cf; color: #654b0d; font-size: 11px; }
.lease-concept-frame { width: 100%; height: 820px; border: 1px solid var(--line); background: #f4f7fa; }
.lease-concept-figure figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; }
@media (max-width: 580px) { .lease-concept-frame { height: 1050px; } }

/* Latest reconstructed homepage presentation. */
:root{--case-image-shadow:0 16px 36px -12px #141e1b3d,0 3px 9px #141e1b14}
#work .project{--project-bg:#e7ebe2;--project-ink:#21342c;background:var(--project-bg);color:var(--project-ink);border:0;border-radius:16px;overflow:hidden}
#work .project.banking-project{--project-bg:#F2E3E3;--project-ink:#211313;grid-column:auto;display:block}
#work .project-website{--project-bg:#eae4db;--project-ink:#352b24}#work .project-orbit{--project-bg:#e5e3ed;--project-ink:#30283e}#work .project-ai-concept{--project-bg:#e1e9d8;--project-ink:#28351e}
#work .project .project-copy{display:block;padding:28px 30px 32px;background:var(--project-bg)}
#work .project p,#work .project h3,#work .project .eyebrow,#work .project strong,#work .project .placeholder-hint{color:var(--project-ink)}
#work .project .screenshot-placeholder{border:0;border-radius:0;background:var(--project-bg);aspect-ratio:3/2;min-height:0;height:auto}
.banking-showcase{padding:0;background:var(--project-bg,#F2E3E3);overflow:hidden}.banking-device-pair{position:relative;width:100%;aspect-ratio:3/2}.banking-desktop{margin:0;width:100%;height:100%;overflow:hidden;box-shadow:var(--case-image-shadow)}.banking-desktop img{width:100%;height:100%;display:block;object-fit:cover;object-position:top}.banking-phone{position:absolute;right:3%;bottom:0;width:23%;margin:0;overflow:hidden;border-radius:16px;box-shadow:var(--case-image-shadow)}.banking-phone img{display:block;width:100%;height:auto}
.case-visual>.screenshot-placeholder,.evidence-placeholder>.screenshot-placeholder,.case-body figure>img{box-shadow:var(--case-image-shadow)}
.banking-desktop img,.banking-phone img{transition:transform .35s ease}
@media(hover:hover) and (pointer:fine){.project:hover .banking-desktop img,.project:hover .banking-phone img{transform:scale(1.025)}.project:hover>.screenshot-placeholder{filter:brightness(1.035)}}
@media(prefers-reduced-motion:reduce){.banking-desktop img,.banking-phone img{transition:none;transform:none!important}}
.mobile-section-nav{display:none}
@media(max-width:580px){header .links>a:not(.contact-nav){display:none}.mobile-section-nav{display:flex;position:sticky;top:0;z-index:60;justify-content:center;padding:6px 10px;background:var(--paper);border-bottom:1px solid var(--line)}.mobile-section-nav a{padding:12px;font-size:12px;font-weight:600;text-decoration:none}.mobile-section-nav a+a:before{content:'/';margin-left:-14px;margin-right:12px;color:var(--muted)}#work,#approach,#about{scroll-margin-top:65px}#work .project .project-copy{padding:24px}}
.menu-structure>div,.navigation-rationale dl>div{padding:20px 0;border-top:1px solid var(--line)}.menu-structure dt,.navigation-rationale dt{font-weight:600;margin-bottom:10px}.menu-structure dd,.navigation-rationale dd{margin:0;line-height:1.8;color:var(--muted)}

/* Document the supplied navigation content without implying interactive menus. */
.menu-structure{margin:24px 0}.menu-structure>div{padding:18px 0;border-top:1px solid var(--line)}.menu-structure dt{font-size:18px;font-weight:600;margin-bottom:8px}.menu-structure dd{margin:0;color:var(--muted);font-size:15px;line-height:1.8}

/* Restored FCCU website cover. */
.website-cover{margin:0;overflow:hidden;background:#000;box-shadow:var(--case-image-shadow)}
#work .project>.website-cover{width:100%;aspect-ratio:3/2;min-height:0}
.website-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .35s ease}
.website-case-cover .website-cover{aspect-ratio:1.6;border-radius:16px}
@media(hover:hover) and (pointer:fine){.project:hover .website-cover img,.project:focus-visible .website-cover img,.website-case-cover:hover img{transform:scale(1.025)}}
@media(prefers-reduced-motion:reduce){.website-cover img{transition:none;transform:none!important}}
@media(max-width:580px){.website-case-cover .website-cover{aspect-ratio:1.1}}

/* Restored Orbit cover, preserving the complete artwork. */
.orbit-cover{margin:0;overflow:hidden;background:#0b0b0b;box-shadow:var(--case-image-shadow)}
#work .project>.orbit-cover{width:100%;aspect-ratio:3/2;min-height:0}
.orbit-cover img{display:block;width:100%;height:auto;transition:transform .35s ease}
#work .orbit-cover img{height:100%;object-fit:contain}
@media(hover:hover) and (pointer:fine){.project:hover .orbit-cover img,.project:focus-visible .orbit-cover img,.case-visual .orbit-cover:hover img{transform:scale(1.025)}}
@media(prefers-reduced-motion:reduce){.orbit-cover img{transition:none;transform:none!important}}

/* Original and redesigned navigation evidence. Preserve full menus without crop. */
.navigation-evidence{margin:26px 0 38px}
.navigation-evidence img{display:block;width:100%;height:auto;border-radius:8px;box-shadow:var(--case-image-shadow)}
.navigation-evidence figcaption{margin-top:16px;font-size:12px;line-height:1.7;color:var(--muted)}
.navigation-evidence-note{padding:20px;background:#e9eee0;border-radius:10px;font-size:13px;line-height:1.8}

/* Responsive website evidence uses cropped previews with full source links. */
.website-responsive-pair{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(0,1fr);gap:28px;align-items:start;margin:28px 0 40px}
.website-responsive-pair figure{margin:0;min-width:0}.website-responsive-pair figure>a{display:block;overflow:hidden;border-radius:10px;box-shadow:var(--case-image-shadow);background:#000}
.responsive-desktop-image{aspect-ratio:1.2}.responsive-mobile-image{aspect-ratio:375/812}
.website-responsive-pair img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.website-responsive-pair figcaption{font-size:12px;line-height:1.7;margin-top:16px;color:var(--muted)}
@media(max-width:580px){.website-responsive-pair{grid-template-columns:1fr;gap:28px}.website-responsive-pair figure:last-child{width:65%;max-width:300px;justify-self:center}}

/* Interaction feedback for links, cards, and controls. */
#work .project {
  transition: box-shadow .2s ease, transform .2s ease;
}
.button, .contact-nav {
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
:is(.links, .mobile-section-nav, .case-nav, .contact-details) a,
.text-link, .back, .project-footer span, .next a {
  text-underline-offset: .25em;
  text-decoration-thickness: .08em;
}
.navigation-evidence a, .website-responsive-pair figure > a {
  display: block;
  border-radius: 8px;
  transition: box-shadow .2s ease;
}
#work .project:focus-visible .project-footer span,
:is(.links, .mobile-section-nav, .case-nav, .contact-details, .next) a:focus-visible {
  text-decoration: underline;
}
@media (hover: hover) and (pointer: fine) {
  #work a.project:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -12px rgba(25, 43, 41, .35);
  }
  #work .project:hover .project-footer span,
  :is(.links, .mobile-section-nav, .case-nav, .contact-details, .next) a:hover {
    text-decoration: underline;
  }
  .button:hover, .contact-nav:hover {
    box-shadow: 0 4px 14px rgba(25, 43, 41, .19);
  }
  .navigation-evidence a:hover, .website-responsive-pair figure > a:hover {
    box-shadow: 0 0 0 2px var(--green);
  }
}
.button:active, .contact-nav:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  #work .project, .button, .contact-nav,
  .navigation-evidence a, .website-responsive-pair figure > a {
    transition: none;
    transform: none !important;
  }
}

/* Orbit design-system evidence exports. */
.orbit-evidence{margin:22px 0 38px}
.orbit-evidence>a{display:block;border-radius:10px}
.orbit-evidence img{display:block;width:100%;height:auto;border-radius:10px;box-shadow:var(--case-image-shadow)}
.orbit-evidence figcaption{margin-top:16px;color:var(--muted);font-size:13px;line-height:1.65}

/* FCCU homepage comparison: equal preview windows, full images on demand. */
.fccu-home-comparison{margin:30px 0 40px}
.fccu-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.fccu-comparison-grid .navigation-evidence{margin:0 0 20px;min-width:0}
.fccu-comparison-grid .fccu-comparison-image{aspect-ratio:16/9;overflow:hidden}
.fccu-comparison-image img{width:100%;height:100%;object-fit:cover;object-position:top}
@media(max-width:680px){.fccu-comparison-grid{grid-template-columns:1fr;gap:12px}}

/* Portfolio masthead: a centered navigation pill and a separate contact action. */
.portfolio-header nav.wrap {
  display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:16px;
}
.portfolio-header .brand { justify-self:start }
.portfolio-header nav .portfolio-nav-pill {
  display:flex; gap:3px; padding:4px; border-radius:999px;
  background:#e7ebe2; white-space:nowrap;
}
.portfolio-header .portfolio-nav-pill a {
  padding:8px 15px; border-radius:999px; color:var(--muted);
  transition:background-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.portfolio-header .portfolio-nav-pill a[aria-current="location"] {
  background:#fff;color:var(--ink);box-shadow:0 1px 4px #192b291c;
}
.portfolio-header .contact-nav { display:inline-flex; justify-self:end; white-space:nowrap }
@media(hover:hover) and (pointer:fine) {
  .portfolio-header .portfolio-nav-pill a:hover { background:#fff;color:var(--ink);text-decoration:none }
}
@media(max-width:700px) {
  .portfolio-header nav.wrap {
    display:grid;grid-template-columns:1fr auto;gap:8px 12px;height:auto;padding-block:10px;
  }
  .portfolio-header .brand { grid-column:1;grid-row:1 }
  .portfolio-header .contact-nav { grid-column:2;grid-row:1;font-size:12px }
  .portfolio-header nav .portfolio-nav-pill {
    grid-column:1/-1;grid-row:2;justify-self:center;max-width:100%;font-size:12px;
  }
  .portfolio-header .portfolio-nav-pill a { padding:8px clamp(8px,3vw,15px) }
  html { scroll-padding-top:140px }
  #work,#approach,#about { scroll-margin-top:0 }
}

/* One-pass masked rise for titles; section copy stays still and readable. */
@keyframes portfolio-title-rise {
  from { clip-path:inset(100% -8px -8px);transform:translateY(.28em);opacity:0 }
  to { clip-path:inset(-8px -8px -.35em);transform:translateY(0);opacity:1 }
}
@media(prefers-reduced-motion:no-preference) {
  .hero h1,.case-hero h1 { animation:portfolio-title-rise .65s cubic-bezier(.22,1,.36,1) backwards }
  .section-title-reveal { animation:portfolio-title-rise .45s cubic-bezier(.22,1,.36,1) backwards }
}
@media(prefers-reduced-motion:reduce) {
  .portfolio-header .portfolio-nav-pill a { transition:none }
}
