@charset "UTF-8";
/* CSS Document */

/* =========================
   Y D C H O M E . C S S
========================= */

/* =========================
   Base
========================= */
html,
body {
  height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #111827;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

html,
body {
  overflow-x: hidden;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Page interior spacing */
.page-wrap {
  max-width: 1240px;
  padding-left: 120px;
  padding-right: 120px;
  margin: 0 auto;
}

#projects,
section {
  scroll-margin-top: 90px;
}

/* =========================
   Header
========================= */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100000;
  overflow: visible;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #abd037;
}

.home-page .site-header::after {
  display: none;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 54px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  overflow: visible;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 14px;
  overflow: visible;
}

.nav-links > a,
.nav-links > .nav-dropdown > a {
  padding: 10px 16px;
  position: relative;
  white-space: nowrap;
  transition: color 200ms ease;
}

.nav-links > a::after,
.nav-links > .nav-dropdown > a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: rgba(17, 24, 39, 0.22);
  transform: translateY(-50%);
}

.nav-links > a:last-child::after {
  display: none;
}

.nav-links a:hover {
  color: #abd037;
}

.nav-links a.is-active {
  color: #6b7280;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  padding: 10px;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  background: transparent;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s;
}

.dropdown-menu a {
  display: block;
  font-weight: 800;
  color: #111;
  padding: 10px 12px;
  text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: #abd037;
  color: #111;
  outline: none;
}

/* Mobile menu button */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  margin: 5px auto;
}

/* Mobile panel */
.mobile-panel {
  display: none;
  padding: 10px 0 16px;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.mobile-panel a {
  display: block;
  padding: 12px 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 200ms ease, color 200ms ease;
}

.mobile-panel a:hover,
.mobile-panel a.is-active {
  background: #612a7f;
  color: #ffffff;
  border-radius: 6px;
}

.mobile-dropdown {
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.mobile-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mobile-dropdown summary::-webkit-details-marker {
  display: none;
}

.mobile-dropdown[open] summary {
  background: rgba(171, 208, 55, 0.2);
  border-radius: 6px;
}

.mobile-dropdown a {
  display: block;
  padding: 12px 14px;
  font-weight: 800;
  color: #111;
}

.mobile-dropdown a:hover {
  background: #abd037;
  color: #111;
  border-radius: 6px;
}

/* =========================
   HERO Slider
========================= */
.hero {
  margin: 0;
}

.hero-slider {
  position: relative;
  height: clamp(360px, 55vw, 520px);
  overflow: hidden;
  background: #111;
}

.hero-slides {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(20px, 6vw, 80px);
  padding-right: clamp(16px, 4vw, 40px);
}

.hero-content h1 {
  margin: 0 0 12px 0;
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-content p {
  margin: 0;
  max-width: 720px;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 500;
  opacity: 0.95;
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
}

.hero-arrow.left {
  left: 18px;
}

.hero-arrow.right {
  right: 18px;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.38);
}

/* Dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
}

.hero-dots button[aria-current="true"] {
  background: #ffffff;
}

/* =========================
   Generic Sections
========================= */
.section {
  padding: 54px 0;
}

.section-title {
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.muted {
  margin: 0;
  color: rgba(17, 24, 39, 0.65);
}

/* =========================
   Featured Projects
========================= */
.featured-projects {
  width: 100%;
  background: rgba(171, 208, 55, 0.2);
  padding: 70px 0;
}

.featured-title {
  text-align: center;
  margin-bottom: 34px;
}

.featured-projects .wrap {
  width: min(1120px, calc(100% - 160px));
  margin: 0 auto;
}

/* =========================
   AREAS OF EXPERTISE
========================= */
.expertise-band {
  background: #f3f3f3;
  padding: 70px 0;
}

.expertise-band .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expertise-title {
  text-align: center;
  margin-bottom: 34px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 210px);
  gap: 10px;
  justify-content: center;
  align-items: start;
  width: 100%;
}

.expertise-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.expertise-icon {
  width: 170px;
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.expertise-label {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* =========================
   Featured Project Grid
========================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 270px);
  justify-content: center;
  gap: 14px 24px;
}

.project-card {
  width: 100%;
}

.project-img {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.project-img img {
  width: 100%;
  height: auto;
  display: block;
}

.project-label {
  margin-top: 8px;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.05;
}

.project-title {
  font-weight: 800;
  font-size: 15px;
  color: #111;
  letter-spacing: 0.02em;
  margin: 0;
}

.project-sub {
  font-weight: 400;
  font-size: 14px;
  color: rgba(17, 24, 39, 0.65);
  margin: 2px 0 0 0;
}

@media (max-width: 900px) {
  .featured-projects .wrap {
    width: min(1120px, calc(100% - 48px));
  }

  .projects-grid {
    grid-template-columns: repeat(2, 270px);
    justify-content: center;
    gap: 14px 12px;
  }
}

@media (max-width: 600px) {
  .featured-projects .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =========================
   Web Showcase
========================= */
.webshowcase {
  --bg: #000;
  --lime: #abd037;
  --purple: #612a7f;
  --panel: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.92);

  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(171, 208, 55, 0.18), transparent 60%),
    radial-gradient(900px 450px at 80% 20%, rgba(97, 42, 127, 0.22), transparent 60%),
    #000;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px;
  margin: 32px 0;
}

.webshowcase__sub {
  margin: 0;
  opacity: 0.8;
  max-width: 70ch;
}

/* =========================
   Monitor Mockup
========================= */
.monitor {
  position: relative;
  max-width: 980px;
  margin: 18px auto 0;
}

.monitor__top {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--stroke);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 10px 12px;
}

.monitor__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.monitor__dot:nth-child(1) {
  background: rgba(255, 95, 87, 0.9);
}

.monitor__dot:nth-child(2) {
  background: rgba(254, 188, 46, 0.9);
}

.monitor__dot:nth-child(3) {
  background: rgba(40, 200, 64, 0.9);
}

.monitor__label {
  margin-left: 10px;
  font-size: 0.9rem;
  opacity: 0.75;
}

.monitor__viewport {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  overflow: clip;
  background: #000;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  padding-top: 52px;
  padding-bottom: 64px;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  contain: paint;
}

.monitor__viewport::before,
.monitor__viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  pointer-events: none;
}

.monitor__viewport::before {
  top: 0;
  height: 52px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.monitor__viewport::after {
  bottom: 0;
  height: 64px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.carousel__track {
  display: flex;
  width: 100%;
  transition: transform 320ms ease;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  margin: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.carousel__slide a {
  display: block;
  width: 100%;
  overflow: hidden;
  overflow: clip;
}

.carousel__slide img {
  width: calc(100% + 4px);
  max-width: none;
  margin-right: -4px;
  height: auto;
  display: block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* hard mask for fractional bleed */
.carousel__slide::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: #000;
  pointer-events: none;
  z-index: 3;
}

.carousel__captionbar {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.85);
  color: #abd037;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  line-height: 1.2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
  z-index: 20;
}

.carousel__btn:hover {
  border-color: rgba(171, 208, 55, 0.55);
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.03);
}

.carousel__btn:focus {
  outline: 3px solid rgba(171, 208, 55, 0.6);
  outline-offset: 2px;
}

.carousel__btn--prev {
  left: 12px;
}

.carousel__btn--next {
  right: 12px;
}

.carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 15;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.dot.is-active {
  background: var(--lime);
  border-color: rgba(171, 208, 55, 0.9);
  box-shadow: 0 0 0 4px rgba(171, 208, 55, 0.18);
}

/* Case Study Button */
.carousel__caseButton {
  position: absolute;
  top: 1px;
  right: 12px;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
}

.carousel__caseButton a {
  display: inline-block;
  background: #abd037;
  color: #000;
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.carousel__caseButton a:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.4),
    0 0 0 6px rgba(171, 208, 55, 0.25);
}

.carousel__caseButton a:focus {
  outline: 3px solid rgba(171, 208, 55, 0.65);
  outline-offset: 2px;
}

.monitor[data-slide="5"] .carousel__caseButton {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 520px) {
  .carousel__btn {
    display: none;
  }

  .carousel__captionbar {
    font-size: 0.88rem;
  }

  .carousel__caseButton {
    top: 10px;
    right: 10px;
  }
}

/* Monitor stand/base */
.monitor__stand {
  width: 150px;
  height: 18px;
  margin: 14px auto 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.monitor__base {
  width: 230px;
  height: 10px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, rgba(171, 208, 55, 0.25), rgba(97, 42, 127, 0.25));
  border-radius: 999px;
  opacity: 0.7;
}

/* =========================
   Portfolio
========================= */
.portfolio {
  padding: 80px 0;
  background: #ffffff;
}

.portfolio-title {
  text-align: center;
  margin-bottom: 50px;
}

.portfolio-wrap {
  padding-left: 32px;
  padding-right: 32px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.portfolio-card-link {
  display: block;
}

.portfolio-card {
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.portfolio-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 980px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (min-width: 761px) {
  .portfolio-wrap {
    padding-left: 100px;
    padding-right: 100px;
  }
}

/* Portfolio index page */
.portfolio-index .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 24px;
  align-items: start;
}

@media (max-width: 980px) {
  .portfolio-index .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .portfolio-index .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-index .portfolio-card-link {
  display: block;
  text-decoration: none;
}

.portfolio-index .portfolio-card {
  position: relative;
  padding: 14px 14px 12px;
}

.portfolio-index .portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #abd037;
  opacity: 0;
  transform: scaleY(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 0;
}

.portfolio-index .portfolio-card > * {
  position: relative;
  z-index: 1;
}

.portfolio-index .portfolio-card-link:hover .portfolio-card::before,
.portfolio-index .portfolio-card-link:focus-visible .portfolio-card::before {
  opacity: 1;
  transform: scaleY(1);
}

.portfolio-index .portfolio-card img {
  transition: transform 180ms ease;
}

.portfolio-index .portfolio-card-link:hover .portfolio-card img {
  transform: translateY(-2px);
}

.portfolio-index .portfolio-subheadline {
  margin: 8px 0 0 0;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.portfolio-index .portfolio-label,
.portfolio-index [class*="portfolio-label"] {
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  color: rgba(17, 24, 39, 0.7);
  line-height: 0.95;
  position: relative;
  margin-top: 2px;
  top: 0;
}

.portfolio-index .portfolio-card-link:hover .portfolio-label,
.portfolio-index .portfolio-card-link:hover [class*="portfolio-label"] {
  color: rgba(17, 24, 39, 0.85);
}

.portfolio-index .portfolio-card-link:focus-visible {
  outline: 3px solid rgba(171, 208, 55, 0.65);
  outline-offset: 4px;
}

/* =========================
   Footer
========================= */
.site-footer {
  background: #fff;
  padding: 30px 0 40px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: #abd037;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 18px;
  text-align: center;
  justify-items: center;
}

.footer-logo {
  height: 92px;
  width: auto;
}

.footer-nav-col {
  display: grid;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.footer-nav-col a:hover {
  color: #abd037;
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: nowrap;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #612a7f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.footer-copy {
  font-size: 14px;
  color: rgba(17, 24, 39, 0.65);
  margin-top: 10px;
}

/* Keep desktop nav visible until true tablet/mobile widths */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: inline-block;
  }

  .mobile-panel.is-open {
    display: block;
  }
}

@media (min-width: 854px) {
  .footer-row {
    grid-template-columns: auto 1fr 1fr auto;
    align-items: end;
    gap: 18px;
    text-align: left;
    justify-items: stretch;
  }

  .footer-logo-col {
    display: flex;
    align-items: center;
  }

  .footer-logo {
    height: 69px;
  }

  .footer-nav-col {
    grid-column: 2 / span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 15px;
    gap: 0;
  }

  .footer-nav-col a {
    padding: 0 12px;
    position: relative;
  }

  .footer-nav-col a + a::before {
    content: "|";
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    color: rgba(17, 24, 39, 0.45);
  }

  .footer-social-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  .footer-social {
    justify-content: flex-end;
    gap: 8px;
  }

  .footer-social a {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 10px;
  }

  .footer-copy {
    font-size: 12px;
    text-align: right;
    margin-top: 0;
  }
}

@media (max-width: 853px) {
  .footer-social-col {
    display: grid;
    justify-items: center;
    gap: 14px;
  }

  .footer-nav-col {
    display: grid;
    gap: 10px;
    justify-items: center;
    white-space: normal;
    font-size: 15px;
    font-weight: 800;
  }

  .footer-nav-col a + a::before {
    content: none;
  }

  .footer-copy {
    text-align: center;
    font-size: 14px;
  }
}

@media (max-width: 260px) {
  .wrap {
    width: calc(100% - 16px);
  }

  .brand-logo {
    height: auto;
    max-height: 44px;
    width: min(180px, 100%);
    object-fit: contain;
  }

  .footer-logo {
    height: auto;
    max-height: 64px;
    width: min(200px, 100%);
    object-fit: contain;
  }

  .footer-social {
    gap: 6px;
  }

  .footer-social a {
    width: 28px;
    height: 28px;
    font-size: 10px;
    border-radius: 6px;
  }
}

/* =========================
   ABOUT PAGE
========================= */
.about-hero {
  padding: 56px 0 28px;
  background: #fff;
}

.about-hero-wrap {
  text-align: left;
}

.about-name {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: left;
}

.about-band {
  background: #000;
  color: #fff;
  padding: 54px 0;
  width: 100%;
}

.about-band-wrap {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
  align-items: center;
}

.about-copy p {
  margin: 0 0 16px 0;
  line-height: 1.65;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.about-photo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.about-photo img {
  width: min(240px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 4px solid rgba(171, 208, 55, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.about-mark {
  background: #fff;
  padding: 60px 0 70px;
}

.about-mark-wrap {
  text-align: center;
}

.about-mark-title {
  margin: 0 0 10px 0;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.about-mark-sub {
  margin: 0 auto 26px;
  max-width: 70ch;
  color: rgba(17, 24, 39, 0.7);
  font-weight: 500;
}

.about-logo-circle {
  width: min(420px, 86vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.14);
  box-shadow: 0 24px 55px rgba(17, 24, 39, 0.12);
  padding: 34px;
}

.about-logo-circle img {
  width: 100%;
  height: auto;
  display: block;
}

.about-team {
  background: #fff;
  padding: 70px 0 90px;
}

.about-team-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.about-team-rule {
  height: 4px;
  width: 72px;
  background: #abd037;
  border-radius: 999px;
  margin: 12px 0 34px 0;
}

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

.team-card {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 18px;
  padding: 26px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.team-photo img {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(171, 208, 55, 0.35);
}

.team-name {
  margin: 0 0 6px 0;
  color: #abd037;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: 18px;
}

.team-role {
  margin: 0 0 12px 0;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.75);
  letter-spacing: 0.02em;
  font-size: 13px;
}

.team-email {
  margin: -6px 0 12px 0;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.62);
  letter-spacing: 0.01em;
  font-size: 11px;
  line-height: 1.35;
}

.team-email a {
  color: inherit;
  text-decoration: none;
}

.team-email a:hover {
  color: #abd037;
}

.team-bio {
  margin: 0 0 10px 0;
  color: rgba(17, 24, 39, 0.72);
  line-height: 1.65;
  font-weight: 500;
  font-size: 13px;
}

.team-bio:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .about-band-wrap {
    grid-template-columns: 1fr;
  }

  .about-photo {
    justify-content: center;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 84px 1fr;
  }

  .team-photo img {
    width: 84px;
    height: 84px;
  }
}

/* Page-wrap responsive padding */
@media (max-width: 900px) {
  .page-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 600px) {
  .page-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =========================
   CONTACT PAGE
========================= */
.contact-page-title {
  margin: 0 0 34px 0;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #abd037;
}

.contact-section {
  background: #000000;
  color: #ffffff;
  padding: 80px 0;
}

.contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-title {
  text-align: center;
  margin: 0 0 44px 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.contact-divider-wrap {
  margin: 0 0 56px 0;
}

.contact-divider {
  height: 2px;
  background: #abd037;
  width: calc(100% - 120px);
  margin: 0 auto;
}

.contact-response-note {
  text-align: center;
  font-size: 18px;
  font-style: italic;
  color: #abd037;
  margin: -18px 0 30px 0;
  font-weight: 500;
}

.contact-direct {
  width: calc(100% - 120px);
  margin: 18px auto;
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-direct a {
  color: #ffffff;
  text-decoration: none;
}

.contact-direct a:hover {
  color: #abd037;
}

.contact-sep {
  display: inline-block;
  margin: 0 14px;
  color: #abd037;
}

.contact-form {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row:last-of-type {
  grid-template-columns: 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #abd037;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: #9ca3af;
  font-style: italic;
  opacity: 1;
}

.form-field input:focus,
.form-field textarea:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #abd037;
  box-shadow: 0 0 0 3px rgba(171, 208, 55, 0.18);
}

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

.contact-submit {
  display: inline-block;
  border: 0;
  background: #abd037;
  color: #000000;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 14px 22px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(171, 208, 55, 0.24);
}

.contact-submit:focus {
  outline: 3px solid rgba(171, 208, 55, 0.45);
  outline-offset: 2px;
}

input,
textarea,
select {
  width: 100%;
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #111827;
}

.form-success {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(171, 208, 55, 0.35);
  border-radius: 14px;
  background: rgba(171, 208, 55, 0.1);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.form-success.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-success-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #abd037;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}

.form-success-text {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

@media (max-width: 700px) {
  .contact-divider,
  .contact-direct {
    width: calc(100% - 40px);
  }

  .contact-direct {
    font-size: 16px;
    line-height: 1.8;
  }

  .contact-sep {
    display: block;
    margin: 2px 0;
  }
}

/* =========================
   HERITAGE HATS CASE STUDY PAGE
========================= */
.case-study-page {
  background: #ffffff;
}

.case-hero {
  padding: 80px 0 36px;
  background: #ffffff;
}

.case-hero-wrap {
  max-width: 900px;
  text-align: center;
}

.case-kicker {
  margin: 0 0 10px 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #612a7f;
}

.case-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 900;
  color: #111827;
}

.case-hero-band {
  width: 100%;
  background: #000000;
  padding: 42px 0 50px;
}

.case-hero-band-wrap {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.case-band-line {
  display: none;
}

.case-band-title {
  margin: 0 0 26px 0;
  color: #abd037;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-intro {
  margin: 0 auto;
  max-width: 860px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.7;
  font-weight: 500;
  text-align: justify;
}

.case-section {
  padding: 56px 0;
}

.case-section.alt-bg {
  background: #ffffff;
}

.case-section-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.case-text-block,
.case-video,
.case-final .case-text-block {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.case-text-block.centered {
  text-align: center;
}

.case-text-block h2 {
  display: block;
  width: fit-content;
  margin: 0 auto 18px auto;
  padding: 0;
  background: transparent;
  color: #111827;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: 0;
}

.case-text-block p,
.case-copy p,
.case-card-copy p {
  margin: 0 0 14px 0;
  color: rgba(17, 24, 39, 0.76);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
}

.case-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.case-split.reverse .case-copy {
  order: 2;
}

.case-split.reverse .case-media {
  order: 1;
}

.case-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 0;
  border: 3px solid #000000;
  box-shadow: none;
  overflow: hidden;
}

.case-card-media {
  background: #ffffff;
  padding: 18px;
  border-bottom: 3px solid #000000;
}

.case-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #ffffff;
}

.case-card-copy {
  padding: 18px 20px 20px;
  text-align: left;
}

.case-card-copy h2 {
  display: block;
  width: 100%;
  margin: 0 0 14px 0;
  padding: 0;
  background: transparent;
  color: #000000;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: 0;
}

.case-card-copy p:last-child {
  margin-bottom: 0;
}

.case-media img,
.case-wide-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.1);
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.case-media.stack-two {
  display: grid;
  gap: 18px;
}

.case-wide-image {
  margin-top: 34px;
}

.case-video {
  max-width: 980px;
  margin: 34px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #111;
}

.case-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.case-final {
  padding-bottom: 90px;
}

@media (max-width: 980px) {
  .case-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 640px;
  }

  .case-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-split.reverse .case-copy,
  .case-split.reverse .case-media {
    order: initial;
  }

  .case-section {
    padding: 58px 0;
  }

  .case-text-block p,
  .case-copy p,
  .case-card-copy p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .case-hero {
    padding: 54px 0 24px;
  }

  .case-hero-band {
    padding: 28px 0 34px;
  }

  .case-intro {
    font-size: 16px;
    line-height: 1.7;
    padding: 0 16px;
  }

  .case-card-copy {
    padding: 16px 18px 18px;
  }
}

/* =========================
   PORTFOLIO PARENT ACTIVE
========================= */

.nav-dropdown:has(.is-active) > .dropdown-trigger {
  color: #abd037;
  font-weight: 700;
}

/* =========================
   THANK YOU PAGE
========================= */

.thank-you-main {
  padding: 140px 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-main h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.thank-you-main p {
  font-size: 18px;
  margin-bottom: 25px;
}

.thank-you-main a:hover {
  text-decoration: underline;
}

/* =========================
   TOUCH / TAP FIXES
========================= */

a,
button,
summary,
.nav-links > a,
.nav-links > .nav-dropdown > a,
.dropdown-menu a,
.mobile-panel a,
.mobile-dropdown a {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none) {
  .nav-links a:hover,
  .dropdown-menu a:hover,
  .mobile-panel a:hover,
  .mobile-dropdown a:hover {
    background: transparent;
    color: inherit;
  }

  .dropdown-menu a:focus,
  .dropdown-menu a:active,
  .mobile-panel a:focus,
  .mobile-panel a:active,
  .mobile-dropdown a:focus,
  .mobile-dropdown a:active {
    background: transparent;
    color: inherit;
    outline: none;
  }
}