:root {
  --teal-deep: #0b2d36;
  --teal-mid: #134a58;
  --coral: #ff4c3b;
  --amber: #f5a623;
  --off-white: #f5f2eb;
  --surface: #f8f7f3;
  --text-dark: #0d1f25;
  --text-muted: #4a6670;
  --card-border: rgba(11, 45, 54, 0.12);
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "Space Mono", monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .rotating-word {
    animation: none;
    opacity: 1;
    position: static;
    transform: none;
  }

  .hero-rotating {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
}

body.portfolio-redesign .header_area + main {
  margin-top: 0 !important;
}

body.portfolio-redesign {
  background: var(--surface);
  color: var(--text-dark);
  font-family: var(--font-body);
}

body.portfolio-redesign p {
  font-family: var(--font-body);
}

body.portfolio-redesign h1,
body.portfolio-redesign h2,
body.portfolio-redesign h3,
body.portfolio-redesign h4,
body.portfolio-redesign h5,
body.portfolio-redesign h6 {
  font-family: var(--font-display);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 9999;
}

.site-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.site-nav .nav-link {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.page-shell {
  padding-top: 96px;
}

.portfolio-hero {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-mid));
  color: var(--off-white);
}

.portfolio-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ff998f;
  margin-bottom: 16px;
}

.portfolio-hero__title {
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.95;
  color: var(--off-white);
  margin-bottom: 14px;
}

.portfolio-hero__subtitle {
  font-size: 16px;
  color: rgba(245, 242, 235, 0.78);  
  line-height: 1.75;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin-bottom: 1.5rem;
}

.hero-headline .accent {
  color: #ff6c5e;
}

.hero-headline .outline {
  -webkit-text-stroke: 2px var(--off-white);
  color: transparent;
}

.hero-rotating {
  position: relative;
  overflow: hidden;
  height: 3.5rem;
  margin-top: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.rotating-word {
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 34px);
  line-height: 1.1;
  font-weight: 700;
  color: #79d5d4;
  opacity: 0;
  transform: translateY(100%);
  animation: rotateWord 12s infinite;
}

.rotating-word:nth-child(1) {
  animation-delay: 0s;
}

.rotating-word:nth-child(2) {
  animation-delay: 2s;
}

.rotating-word:nth-child(3) {
  animation-delay: 4s;
}

.rotating-word:nth-child(4) {
  animation-delay: 6s;
}

.rotating-word:nth-child(5) {
  animation-delay: 8s;
}

.rotating-word:nth-child(6) {
  animation-delay: 10s;
}

@keyframes rotateWord {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }

  4% {
    opacity: 1;
    transform: translateY(0);
  }

  12% {
    opacity: 1;
    transform: translateY(0);
  }

  16% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

.hero-tag-stack {
  margin-bottom: 26px;
}

.hero-tag-line {
  display: block;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.05;
  font-weight: 700;
}

.hero-tag-line--coral {
  color: #ff6c5e;
}

.hero-tag-line--aqua {
  color: #79d5d4;
}

.hero-tag-line--amber {
  color: #ffc35f;
}

.hero-tag-line--white {
  color: var(--off-white);
}

.portfolio-social {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  gap: 10px;
}

.portfolio-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 242, 235, 0.24);
  border-radius: 50%;
  color: var(--off-white);
  transition: 0.2s ease;
}

.portfolio-social a:hover {
  color: var(--off-white);
  border-color: var(--coral);
  background: rgba(255, 76, 59, 0.16);
}

.portfolio-social a.portfolio-social__button {
  width: auto;
  height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 700;
}

.portfolio-hero__image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.portfolio-hero--inner {
  padding: 62px 0 50px;
}

.portfolio-section {
  padding: 72px 0;
}

.portfolio-section--no-padding {
  padding: 0;
}

.portfolio-section--pad-bottom {
  padding-bottom: 48px;
}

.portfolio-section--tight {
  padding: 52px 0;
}

.portfolio-section--dark {
  background: var(--teal-deep);
  color: var(--off-white);
}

.portfolio-section--alt {
  background: #f0ece3;
}

.portfolio-section__title {
  font-size: clamp(30px, 5vw, 46px);
  margin-bottom: 14px;
  color: var(--text-dark);
}

.portfolio-section--dark .portfolio-section__title {
  color: var(--off-white);
}

.portfolio-section__lead {
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 840px;
}

.portfolio-section__lead--full {
  max-width: none;
}

.section-header--full {
  max-width: none;
}

.section-title--tight {
  margin-bottom: 0.25rem;
}

.contact-sub--full {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.work-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.xp-bar-fill--coral {
  background: var(--coral);
}

.work-card--bg-1 {
  background-image: url("../img/work/website-bgs-01.png");
  background-size: cover;
  background-position: center;
}

.work-card--bg-2 {
  background-image: url("../img/work/website-bgs-02.png");
  background-size: cover;
  background-position: center;
}

.work-card--bg-3 {
  background-image: url("../img/work/website-bgs-03.png");
  background-size: cover;
  background-position: center;
}

.work-card--bg-4 {
  background-image: url("../img/work/website-bgs-04.png");
  background-size: cover;
  background-position: center;
}

.work-card--bg-5 {
  background-image: url("../img/work/website-bgs-05.png");
  background-size: cover;
  background-position: center;
}

.portfolio-thumb video {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.navbar-brand img {
  width: auto;
  max-width: 140px;
  height: auto;
}

.portfolio-section--dark .portfolio-section__lead {
  color: rgba(245, 242, 235, 0.75);
}

.portfolio-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  height: 100%;
}

.portfolio-card h3,
.portfolio-card h4 {
  margin-bottom: 10px;
}

.portfolio-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

.portfolio-grid-gap {
  row-gap: 24px;
}

.portfolio-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(11, 45, 54, 0.1);
  position: relative;
}

.portfolio-thumb img,
.portfolio-thumb video {
  width: 100%;
  display: block;
}

.portfolio-thumb--square {
  aspect-ratio: 1 / 1;
}

.portfolio-thumb--square img {
  height: 100%;
  object-fit: cover;
}

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

.project-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-tile-overlay span {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.1;
  color: var(--teal-deep);
  text-align: center;
  padding: 0 10px;
}

.project-tile-link:hover .project-tile-overlay,
.project-tile-link:focus .project-tile-overlay,
.project-tile-link:focus-within .project-tile-overlay {
  opacity: 1;
}

.case-study-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.case-study-copy--spaced {
  padding-top: 28px;
  padding-bottom: 28px;
}

.noir-intro-section,
.noir-guidelines-section {
  background: #16141e;
}

.noir-intro-section .portfolio-section__title,
.noir-intro-section .portfolio-section__lead,
.noir-guidelines-section .portfolio-section__title,
.noir-guidelines-section .portfolio-section__lead {
  color: #f0e8d8;
}

.noir-intro-section .noir-accent {
  color: #9b5cc0;
}

.cycle-safari-intro-section {
  background: #007f3f;
}

.cycle-safari-intro-section .portfolio-section__title,
.cycle-safari-intro-section .portfolio-section__lead {
  color: #fff;
}

.cycle-safari-intro-section .noir-accent {
  color: #fff;
}

.cycle-safari-guidelines-section {
  background: #fff;
}

.cycle-safari-guidelines-section .portfolio-section__title,
.cycle-safari-guidelines-section .portfolio-section__lead {
  color: #000;
}

.rising-stars-intro-section {
  background: #3a1f6e;
}

.rising-stars-intro-section .portfolio-section__title,
.rising-stars-intro-section .portfolio-section__lead {
  color: #fff;
}

.rising-stars-intro-section .noir-accent {
  color: #fff;
}

.rising-stars-guidelines-section {
  background: #fff;
}

.rising-stars-guidelines-section .portfolio-section__title,
.rising-stars-guidelines-section .portfolio-section__lead {
  color: #000;
}

.backstage-playmakers-intro-section {
  background: #994141;
}

.backstage-playmakers-intro-section .portfolio-section__title,
.backstage-playmakers-intro-section .portfolio-section__lead {
  color: #fff;
}

.backstage-playmakers-intro-section .noir-accent {
  color: #fff;
}

.backstage-playmakers-guidelines-section {
  background: #fff;
}

.backstage-playmakers-guidelines-section .portfolio-section__title,
.backstage-playmakers-guidelines-section .portfolio-section__lead {
  color: #000;
}

.portfolio-kpi {
  border-top: 1px solid rgba(245, 242, 235, 0.2);
  margin-top: 24px;
  padding-top: 24px;
}

.portfolio-kpi__item h4 {
  color: var(--amber);
  font-size: 36px;
  margin-bottom: 2px;
}

.portfolio-kpi__item p {
  font-size: 12px;
  color: rgba(245, 242, 235, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skills-meter {
  display: grid;
  gap: 14px;
}

.skills-meter__row {
  display: grid;
  gap: 6px;
}

.skills-meter__label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.skills-meter__track {
  height: 6px;
  background: #d7dfe1;
  border-radius: 999px;
  overflow: hidden;
}

.skills-meter__fill {
  height: 100%;
  background: var(--teal-mid);
}

.xp-bar-section {
  margin-top: 2rem;
}

.xp-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0.35rem;
}

.xp-bar-track {
  height: 4px;
  background: rgba(11, 45, 54, 0.12);
  margin-bottom: 0.75rem;
}

.xp-bar-fill {
  height: 100%;
  background: var(--teal-deep);
  width: 0;
  transition: width 0.8s ease;
}

.tools-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tools-chip {
  border: 1px solid rgba(245, 242, 235, 0.2);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(245, 242, 235, 0.8);
}

.work-link-card {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.work-link-card .portfolio-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.work-link-card:hover .portfolio-card {
  transform: translateY(-4px);
  border-color: rgba(255, 76, 59, 0.55);
}

.portfolio-gallery-tile {
  border-radius: 12px;
  overflow: hidden;
  min-height: 240px;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(11, 45, 54, 0.08);
}

.portfolio-gallery-tile--square {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.portfolio-cta {
  border-radius: 14px;
  padding: 34px;
  background: linear-gradient(120deg, #103946, #165060);
}

.portfolio-cta h3 {
  color: var(--off-white);
  margin-bottom: 8px;
}

.portfolio-cta p {
  color: rgba(245, 242, 235, 0.78);
}

.portfolio-cta__mail {
  display: inline-block;
  margin-top: 14px;
  color: var(--amber);
  border-bottom: 1px solid rgba(245, 166, 35, 0.6);
}

.software-grid {
  display: grid;
  gap: 16px;
}

.software-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(11, 45, 54, 0.08);
  padding-bottom: 12px;
}

.software-row:last-child {
  border-bottom: 0;
}

.software-row__label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  color: var(--text-dark);
}

.software-row__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.software-row__icons img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(11, 45, 54, 0.08);
  padding: 6px;
  background: #fff;
}

.footer_area .social-icon {
  font-size: 20px;
}

.contact-section .footer-bottom-strip {
  width: 100vw;
  margin-top: 16px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 16px 24px;
  border-top: 1px solid rgba(245, 242, 235, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #050e11;
}

.contact-section .footer-text {
  font-family: inherit;
  font-size: 0.9rem;
  color: rgba(240, 237, 230, 0.3);
}

.contact-section .footer-back {
  font-family: inherit;
  font-size: 0.9rem;
  color: rgba(240, 237, 230, 0.3);
  cursor: pointer;
  border: none;
  background: none;
  transition: color 0.2s;
}

.contact-section .footer-back:hover {
  color: var(--coral);
}

/* WORK GRID */
.work-section {
  padding: 4rem 2.5rem 6rem;
  background: var(--off-white);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  color: var(--teal-deep);
}

.section-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  flex-shrink: 0;
  margin-bottom: 0.3rem;
}

.section-link:hover {
  color: var(--coral);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.work-card {
  background: var(--teal-deep);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

@media (hover: hover) {
  .work-card:hover {
    transform: scale(1.01);
  }

  .work-card:hover .work-card-overlay {
    opacity: 1;
  }

  .work-card:hover .work-card-arrow {
    transform: translate(0, 0);
    opacity: 1;
  }
}

@media (hover: none) {
  .work-card:hover {
    transform: none;
  }

  .work-card-overlay {
    opacity: 0.35;
  }

  .work-card-arrow {
    opacity: 1;
    transform: translate(0, 0);
  }

  .project-tile-overlay {
    opacity: 1;
  }
}

.work-card-1 {
  grid-column: 1 / 7;
  grid-row: 1;
  min-height: 340px;
}

.work-card-2 {
  grid-column: 7 / 13;
  grid-row: 1;
  min-height: 340px;
}

.work-card-3 {
  grid-column: 1 / 5;
  grid-row: 2;
}

.work-card-4 {
  grid-column: 5 / 9;
  grid-row: 2;
}

.work-card-5 {
  grid-column: 9 / 13;
  grid-row: 2;
}

.work-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.05em;
  user-select: none;
  overflow: hidden;
}

.card-coral {
  background: var(--coral);
}

.card-amber {
  background: #2a1a00;
}

.card-teal-mid {
  background: var(--teal-mid);
}

.card-dark {
  background: #0d1f24;
}

.card-warm {
  background: #1a0a0a;
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 76, 59, 0.15);
  opacity: 0;
  transition: opacity 0.3s;
}

.work-card-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.work-card-tag {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(240, 237, 230, 0.5);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.work-card-tag::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.work-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--off-white);
  line-height: 1.1;
}

.work-card-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid rgba(240, 237, 230, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--off-white);
  font-size: 1rem;
  transform: translate(-8px, 8px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* DISCIPLINES */
.disciplines {
  padding: 6rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.disc-item {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(11, 45, 54, 0.1);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}

.disc-item:hover {
  background: var(--teal-deep);
}

.disc-item:hover .disc-num,
.disc-item:hover .disc-title,
.disc-item:hover .disc-desc {
  color: var(--off-white);
}

.disc-item:hover .disc-bar {
  background: var(--coral);
}

.disc-num {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--coral);
  letter-spacing: 0;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.disc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
  line-height: 1.1;
  transition: color 0.3s;
}

.disc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  transition: color 0.3s;
}

.disc-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(11, 45, 54, 0.1);
  width: 100%;
  transition: background 0.3s;
}

/* TOOLS */
.tools-section {
  padding: 5rem 2.5rem;
  background: var(--teal-deep);
}

.tools-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.tools-section .section-title {
  color: var(--off-white);
}

.tools-groups {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}

.tools-group-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--coral);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tools-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tool-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(240, 237, 230, 0.7);
  border: 1px solid rgba(240, 237, 230, 0.15);
  padding: 0.45rem 1rem;
  transition: border-color 0.2s, color 0.2s;
}

.tool-chip:hover {
  border-color: var(--coral);
  color: var(--off-white);
}

/* PROCESS */
.process-section {
  padding: 6rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
}

.process-step {
  padding: 2rem 1.75rem;
  border-top: 3px solid rgba(11, 45, 54, 0.1);
  position: relative;
}

.process-step.active-step {
  border-top-color: var(--coral);
}

.process-step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.5rem;
  color: rgba(11, 45, 54, 0.07);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--teal-deep);
  margin-bottom: 0.6rem;
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CONTACT */
.contact-section {
  background: var(--teal-deep);
  padding: 6rem 2.5rem;
  text-align: center;
}

footer.contact-section {
  padding-bottom: 0;
}

.contact-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--coral);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  color: var(--off-white);
  margin-bottom: 1.5rem;
}

.contact-headline .accent {
  color: var(--coral);
}

.contact-sub {
  font-size: 1rem;
  color: rgba(240, 237, 230, 0.55);
  margin-bottom: 2.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--amber);
  text-decoration: none;
  border-bottom: 2px solid rgba(245, 166, 35, 0.3);
  padding-bottom: 4px;
}

.contact-email:hover,
.contact-email:focus {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 2px solid rgba(245, 166, 35, 0.3);
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-section .portfolio-social {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.social-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(240, 237, 230, 0.4);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--coral);
}

.ux-projects .container {
  max-width: 1200px;
  padding-top: 48px;
}

.ux-project-case {
  border-bottom: 1px solid rgba(11, 45, 54, 0.12);
  padding-bottom: 48px;
  margin-bottom: 48px;
}

.ux-project-case .section-header {
  margin-bottom: 2rem;
}

.ux-project-case .portfolio-section__lead {
  max-width: none;
}

.ux-project-case__footer {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.ux-project-case:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ux-project-block {
  border-bottom: 1px solid rgba(11, 45, 54, 0.12);
  padding: 48px 0;
}

.ux-project-block:last-child {
  border-bottom: 0;
}

.ux-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.ux-chip {
  border: 1px solid rgba(11, 45, 54, 0.14);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--font-body);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ux-chip--accent {
  border-color: rgba(255, 76, 59, 0.4);
  color: var(--coral);
}

.ux-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(11, 45, 54, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin: 18px 0 24px;
}

.ux-process-cell {
  padding: 16px 18px;
  border-right: 1px solid rgba(11, 45, 54, 0.1);
  background: #faf9f5;
}

.ux-process-cell:last-child {
  border-right: 0;
}

.ux-process-cell h4 {
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--coral);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ux-process-cell p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.ux-project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.ux-tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ux-tool-tag {
  border: 1px solid rgba(11, 45, 54, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.ux-project-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(11, 45, 54, 0.25);
  text-decoration: none;
}

.ux-project-link:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

.work-with-me-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.work-form-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
}

.work-form .form-group {
  margin-bottom: 18px;
}

.work-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  font-weight: 700;
}

.work-form .form-control {
  border: 1px solid rgba(11, 45, 54, 0.2);
  border-radius: 10px;
  min-height: 48px;
  background: #fbfbf9;
  color: var(--text-dark);
  padding: 10px 14px;
  font-size: 15px;
}

.work-form textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.work-form .form-control:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 0.2rem rgba(255, 76, 59, 0.12);
}

.work-submit {
  width: 100%;
  border: 0;
  border-radius: 12px;
  min-height: 50px;
  background: linear-gradient(120deg, #103946, #165060);
  color: var(--off-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.work-submit:hover {
  background: linear-gradient(120deg, #ff4c3b, #d13a2c);
}

@media (max-width: 991px) {
  .page-shell {
    padding-top: 82px;
  }

  .portfolio-hero {
    padding: 44px 0;
  }

  .hero-rotating {
    height: 2.8rem;
  }

  .software-row {
    grid-template-columns: 1fr;
  }

  .work-form-card {
    padding: 20px;
  }

  .ux-process-grid {
    grid-template-columns: 1fr;
  }

  .ux-process-cell {
    border-right: 0;
    border-bottom: 1px solid rgba(11, 45, 54, 0.1);
  }

  .ux-process-cell:last-child {
    border-bottom: 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .disc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .work-card-1,
  .work-card-2,
  .work-card-3,
  .work-card-4,
  .work-card-5 {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .work-section,
  .disciplines,
  .tools-section,
  .process-section,
  .contact-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .portfolio-section {
    padding: 52px 0;
  }

  .contact-socials {
    flex-direction: column;
    gap: 10px;
  }

  .contact-section .footer-bottom-strip {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .disc-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .portfolio-kpi__item h4 {
    font-size: 28px;
  }

  .portfolio-kpi__item p {
    font-size: 10px;
  }

  .portfolio-social {
    flex-wrap: wrap;
  }

  .contact-email {
    word-break: break-word;
    max-width: 100%;
  }

  .software-row__icons img {
    width: 40px;
    height: 40px;
    padding: 4px;
  }

  .disc-item {
    padding: 1.75rem 1.25rem;
  }

  .process-step {
    padding: 1.5rem 1rem;
  }

  .work-card-content {
    padding: 1.15rem;
  }

  .work-card-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 575px) {
  .page-shell {
    padding-top: 74px;
  }

  .portfolio-hero {
    padding: 32px 0;
  }

  .portfolio-hero--inner {
    padding: 40px 0 36px;
  }

  .hero-tag-line {
    font-size: clamp(24px, 8vw, 32px);
  }

  .hero-rotating {
    height: 2.4rem;
    margin-top: 8px;
  }

  .portfolio-section {
    padding: 40px 0;
  }

  .portfolio-section--tight {
    padding: 36px 0;
  }

  .work-section {
    padding: 2.5rem 1rem 3.5rem;
  }

  .disciplines,
  .process-section {
    padding: 3.5rem 1rem;
  }

  .contact-section {
    padding: 3.5rem 1rem;
  }

  .contact-headline {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .section-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .portfolio-kpi {
    margin-top: 16px;
    padding-top: 16px;
  }

  .navbar-brand img {
    max-width: 120px;
  }
}
