.showcase-hero {
  padding: 85px 0 72px;
  background: radial-gradient(ellipse at 85% 25%, #23331a 0, transparent 55%);
}
.showcase-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 65px;
  align-items: center;
}
.showcase-hero h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin: 24px 0;
}
.showcase-hero .breadcrumb {
  display: block;
  margin-bottom: 32px;
}
.showcase-hero em,
.showcase-section-head em,
.custom-layout em {
  font-style: normal;
  color: var(--lime, #c4f36b);
}
.showcase-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.quiet-link {
  color: #e0e9db;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 0.95rem;
}
.showcase-caption {
  font-size: 0.85rem;
  color: #b4bfb0;
  margin-top: 30px;
}
.hero-browser {
  border: 1px solid #3e5034;
  border-radius: 12px;
  overflow: hidden;
  transform: rotate(2deg);
  box-shadow: 0 28px 90px #0005;
  background: #182217;
}
.browser-chrome {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}
.browser-chrome i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #75925f;
}
.browser-chrome span {
  font-size: 0.7rem;
  color: #ccd5c7;
  margin-left: 12px;
}
.hero-preview {
  position: relative;
  min-height: 345px;
  background: #edf3e8;
}
.hero-preview img {
  width: 100%;
  height: 345px;
  object-fit: cover;
  object-position: top;
}
.hero-preview-label {
  position: absolute;
  right: 20px;
  bottom: 24px;
  left: 28px;
  background: #111713ed;
  color: white;
  padding: 25px;
  border-radius: 8px;
  max-width: 340px;
}
.hero-preview-label span {
  color: #c4f36b;
  font-size: 0.8rem;
}
.hero-preview-label strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1.15;
  margin-top: 12px;
  letter-spacing: -0.04em;
}
.hero-browser-bottom {
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #c2d0ba;
}
.showcase-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #394333;
  border-bottom: 1px solid #394333;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
}
.showcase-nav a {
  color: #cdd6c8;
  font-size: 0.9rem;
}
.showcase-nav a:hover {
  color: #c4f36b;
}
.showcase-section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 35px;
}
.showcase-section-head h2,
.custom-layout h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.7rem);
  line-height: 1.13;
  letter-spacing: -0.05em;
  margin: 18px 0;
}
.showcase-section-head > p,
.showcase-note {
  color: #b9c5b2;
  line-height: 1.8;
}
.model-filters {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.model-filters button {
  border: 1px solid #4d5c43;
  background: transparent;
  color: #d7dfd1;
  border-radius: 100px;
  padding: 10px 17px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.model-filters button.active {
  background: #c4f36b;
  border-color: #c4f36b;
  color: #182011;
}
.model-search {
  margin-left: auto;
  min-width: 210px;
}
.model-search input,
.project-controls input,
.project-controls select {
  width: 100%;
  padding: 13px 15px;
  background: #172016;
  color: #f2f5ed;
  border: 1px solid #4d5c43;
  border-radius: 7px;
  font: inherit;
  font-size: 0.9rem;
}
.model-search input::placeholder,
.project-controls input::placeholder {
  color: #b9c5b2;
}
.filter-count {
  font-size: 0.85rem;
  color: #bac7b1;
  margin: 23px 0;
}
.model-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.model-card {
  background: #192217;
  border: 1px solid #3c4b31;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.model-image {
  position: relative;
  display: block;
  background: #edf1e8;
  aspect-ratio: 960/650;
  overflow: hidden;
}
.model-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s;
}
.model-image:hover img {
  transform: scale(1.025);
}
.model-image > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #111713ed;
  color: #fff;
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 0.75rem;
}
.model-content,
.portfolio-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.model-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.7rem;
  color: #c4d3b5;
  margin-bottom: 16px;
}
.model-meta span:first-child {
  color: #c4f36b;
}
.model-card h3,
.portfolio-card h3 {
  color: #f0f5ea;
  font-size: 1.4rem;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.model-card p,
.portfolio-card p {
  font-size: 0.9rem;
  color: #bfcbb6;
  line-height: 1.7;
  margin: 0 0 18px;
}
.model-card ul {
  padding-left: 17px;
  color: #cdd7c4;
  font-size: 0.8rem;
  line-height: 1.8;
  margin: 0 0 26px;
}
.model-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: auto;
}
.model-actions .button {
  font-size: 0.8rem;
  padding: 12px 17px;
  white-space: nowrap;
}
.model-quote {
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #d9e6ce;
}
.showcase-note {
  font-size: 0.85rem;
  margin-top: 28px;
}
.custom-section {
  background: #1a2417;
  border-block: 1px solid #394b30;
}
.custom-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.custom-layout .lead {
  font-size: 1.05rem;
}
.custom-steps article {
  border-bottom: 1px solid #435637;
  padding: 24px 0;
}
.custom-steps article:first-child {
  padding-top: 0;
}
.custom-steps span {
  color: #c4f36b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.custom-steps h3 {
  font-size: 1.25rem;
  margin: 10px 0;
}
.custom-steps p {
  color: #bdcbb4;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.project-controls {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
  margin-top: 35px;
}
.project-controls label {
  display: grid;
  gap: 8px;
  color: #d1dfc5;
  font-size: 0.8rem;
}
.project-controls select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23c4f36b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.portfolio-card {
  border: 1px solid #3a4831;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #172015;
}
.project-art {
  height: 175px;
  background: linear-gradient(140deg, #354b28, #172015);
  position: relative;
  padding: 30px 45px 0 80px;
  overflow: hidden;
}
.mini-sidebar {
  position: absolute;
  left: 30px;
  top: 28px;
  width: 42px;
  height: 135px;
  border-radius: 7px 0 0;
  background: #10170e;
  border: 1px solid #597443;
}
.mini-sidebar:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 9px;
  width: 20px;
  height: 45px;
  background: repeating-linear-gradient(#8fb964 0 3px, transparent 3px 12px);
}
.mini-content {
  height: 155px;
  background: #f0f6e9;
  border-radius: 0 7px 0 0;
  padding: 18px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  transform: rotate(-3deg);
}
.mini-content > span {
  width: calc(33.3% - 6px);
  height: 32px;
  background: #d6e8c8;
  border-radius: 4px;
}
.mini-content > div {
  height: 60px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    #86ab69 0 18px,
    transparent 18px 29px
  );
  clip-path: polygon(
    0 70%,
    15% 55%,
    30% 65%,
    45% 25%,
    60% 40%,
    80% 10%,
    100% 0,
    100% 100%,
    0 100%
  );
}
.project-type {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: #111713eb;
  padding: 5px 10px;
  border-radius: 4px;
  color: #d7ecc5;
  font-size: 0.7rem;
}
.portfolio-card:nth-child(3n + 2) .project-art {
  filter: hue-rotate(45deg);
}
.portfolio-card:nth-child(3n + 3) .project-art {
  filter: hue-rotate(-35deg);
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tech-tags span {
  padding: 4px 8px;
  border: 1px solid #45563a;
  border-radius: 4px;
  font-size: 0.65rem;
  color: #c2d2b5;
}
.portfolio-card details {
  border-top: 1px solid #394b30;
  padding: 14px 0;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.portfolio-card summary {
  cursor: pointer;
  color: #d7e6ca;
  font-weight: 600;
}
.portfolio-card details p {
  margin-top: 15px;
}
.portfolio-card details ul {
  padding-left: 18px;
  color: #bdcdb0;
  font-size: 0.85rem;
  line-height: 1.7;
}
.access-note {
  font-size: 0.8rem;
  color: #c4d1b7;
}
.showcase-faq {
  border-top: 1px solid #37472e;
}
.showcase-faq h2 {
  margin: 20px 0 35px;
}
.showcase-faq details {
  border-bottom: 1px solid #394b30;
  padding: 24px 0;
}
.showcase-faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 1.05rem;
}
.showcase-faq details p {
  max-width: 850px;
  color: #c0ceb5;
  margin: 20px 0 0;
  line-height: 1.8;
}
.empty-state {
  padding: 45px;
  text-align: center;
  border: 1px dashed #647752;
  border-radius: 10px;
  color: #d3dfc9;
}
.model-card[hidden],
.portfolio-card[hidden],
.empty-state[hidden] {
  display: none;
}
.model-dialog {
  border: 1px solid #526543;
  border-radius: 12px;
  background: #172015;
  color: #eef5e7;
  padding: 0;
  width: calc(100vw - 40px);
  max-width: 1450px;
  height: calc(100dvh - 40px);
  max-height: none;
  overflow: hidden;
}
.model-dialog[open] {
  display: flex;
  flex-direction: column;
}
.model-dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid #4e603f;
}
.preview-kicker {
  font-size: 0.65rem;
  color: #c4f36b;
  letter-spacing: 0.1em;
}
.preview-toolbar h2 {
  font-size: 1.1rem;
  margin: 4px 0 0;
  letter-spacing: 0;
}
.preview-tools {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.preview-tools button,
.preview-tools a {
  font: inherit;
  font-size: 0.8rem;
  border: 1px solid #576c45;
  border-radius: 5px;
  padding: 8px 12px;
  background: transparent;
  color: #edf3e8;
  cursor: pointer;
}
.preview-tools button[aria-pressed="true"] {
  background: #c4f36b;
  color: #111713;
  border-color: #c4f36b;
}
.preview-canvas {
  flex: 1;
  min-height: 0;
  background: #35402d;
  display: flex;
  justify-content: center;
  padding: 15px;
  overflow: auto;
}
.preview-canvas iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
  max-width: 100%;
  transition: width 0.2s;
}
.preview-canvas.mobile iframe {
  width: 390px;
  flex-shrink: 0;
}
.preview-bottom {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.preview-bottom p {
  font-size: 0.75rem;
  color: #c1d0b5;
  margin: 0;
}
.preview-bottom .button {
  font-size: 0.8rem;
  white-space: nowrap;
}
.web-models .showcase-section-head {
  margin-bottom: 35px;
}
.web-models .model-card h3 {
  margin-top: 0;
}
.web-models .showcase-note {
  margin-bottom: 0;
}
.custom-mini {
  border: 1px solid #566d43;
  border-radius: 10px;
  padding: 32px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: #1e2b17;
}
.custom-mini h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}
.custom-mini p {
  margin: 0;
  max-width: 650px;
  color: #c1d1b5;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1100px) {
  .showcase-hero-grid {
    gap: 35px;
  }
  .model-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .custom-layout {
    gap: 50px;
  }
  .showcase-section-head {
    gap: 40px;
  }
  .hero-browser {
    transform: none;
  }
  .hero-preview img {
    height: 320px;
  }
  .model-search {
    margin-left: 0;
  }
  .showcase-hero h1 {
    font-size: 3.1rem;
  }
}
@media (max-width: 760px) {
  .showcase-hero {
    padding: 42px 0;
  }
  .showcase-hero-grid,
  .showcase-section-head,
  .custom-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .showcase-hero h1 {
    font-size: 2.7rem;
  }
  .showcase-hero .breadcrumb {
    margin-bottom: 25px;
  }
  .hero-preview img {
    height: 290px;
  }
  .hero-preview {
    min-height: 290px;
  }
  .showcase-nav {
    justify-content: flex-start;
    gap: 15px 24px;
  }
  .showcase-nav a {
    font-size: 0.8rem;
  }
  .model-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .model-search {
    width: 100%;
  }
  .model-filters button {
    font-size: 0.8rem;
    padding: 9px 14px;
  }
  .project-controls {
    grid-template-columns: 1fr;
  }
  .custom-mini {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .preview-toolbar {
    align-items: flex-start;
    padding: 12px;
    flex-direction: column;
    gap: 12px;
  }
  .preview-tools {
    gap: 6px;
  }
  .preview-tools button,
  .preview-tools a {
    padding: 7px 9px;
    font-size: 0.7rem;
  }
  .model-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 8px;
  }
  .preview-canvas {
    padding: 8px;
  }
  .preview-bottom {
    padding: 12px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .preview-bottom p {
    font-size: 0.7rem;
  }
  .showcase-actions {
    gap: 20px;
  }
  .model-content,
  .portfolio-content {
    padding: 22px;
  }
  .showcase-faq summary {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .model-image img,
  .preview-canvas iframe {
    transition: none;
  }
}
.projects-page {
  background: #111713;
  color: #f0f5ea;
}
.projects-page .lead {
  color: #c1cfb7;
}
.projects-page .eyebrow,
.web-models .eyebrow {
  color: #c4f36b;
}
.projects-page .breadcrumb {
  color: #bfd1b0;
}
.web-models {
  background: #111713;
  color: #f0f5ea;
}
.custom-mini h3 {
  color: #f0f5ea;
}
.showcase-hero .lead {
  color: #c1cfb7;
}
.projects-page .cta-box {
  color: #151c17;
}
.projects-page .cta-box .eyebrow,
.projects-page .cta-box .quiet-link {
  color: #446923;
}
