/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--_fonts---geist);
  font-size: var(--_font-sizes---body);
  font-weight: var(--_font-weights---normal);
  line-height: var(--_font-heights---body);
  color: var(--black);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --white: #fff7ec;
  --black: #1a1a1a;
  --grey-1: #f3ebe1;
  --grey-2: #e9e2d8;
  --grey-3: #ded7ce;
  --border-light: #1a1a1a1a;
  --shadow-color: #1a1a1a0f;
  --white-border: #fff7ec66;

  --_fonts---geist: 'Nunito', sans-serif;

  --_font-sizes---body: 1rem;
  --_font-heights---body: 140%;
  --_font-weights---normal: 400;
  --_font-weights---medium: 500;

  --_font-sizes---h1: 8rem;
  --_font-heights---large-title: 100%;
  --_font-sizes---h2: 6rem;
  --_font-sizes---h3: 3rem;
  --_font-sizes---h4: 2.5rem;
  --_font-heights---small-title: 120%;
  --_font-sizes---h5: 2rem;
  --_font-sizes---h6: 1.5rem;
  --_font-sizes---large-body: 1.25rem;

  --_spacing---vertical-section-padding: 5rem;
  --_spacing---horizontal-section-padding: 1.25rem;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: var(--_font-sizes---h1);
  line-height: var(--_font-heights---large-title);
  font-weight: var(--_font-weights---medium);
  letter-spacing: -3.84px;
  margin-top: 0;
  margin-bottom: 0;
}

h2 {
  font-size: var(--_font-sizes---h2);
  line-height: var(--_font-heights---large-title);
  font-weight: var(--_font-weights---medium);
  letter-spacing: -2.88px;
  margin-top: 0;
  margin-bottom: 0;
}

h3 {
  font-size: var(--_font-sizes---h3);
  line-height: var(--_font-heights---large-title);
  font-weight: var(--_font-weights---medium);
  letter-spacing: -1.44px;
  margin-top: 0;
  margin-bottom: 0;
}

h4 {
  font-size: var(--_font-sizes---h4);
  line-height: var(--_font-heights---small-title);
  font-weight: var(--_font-weights---medium);
  letter-spacing: -1.4px;
  margin-top: 0;
  margin-bottom: 0;
}

h5 {
  font-size: var(--_font-sizes---h5);
  line-height: var(--_font-heights---small-title);
  font-weight: var(--_font-weights---medium);
  letter-spacing: -0.96px;
  margin-top: 0;
  margin-bottom: 0;
}

h6 {
  font-size: var(--_font-sizes---h6);
  line-height: var(--_font-heights---small-title);
  font-weight: var(--_font-weights---medium);
  letter-spacing: -0.72px;
  margin-top: 0;
  margin-bottom: 0;
}

p {
  font-size: var(--_font-sizes---body);
  line-height: var(--_font-heights---body);
  font-weight: var(--_font-weights---normal);
  margin-top: 0;
  margin-bottom: 0;
}

a {
  font-size: var(--_font-sizes---body);
  line-height: var(--_font-heights---body);
  font-weight: var(--_font-weights---normal);
  text-decoration: none;
  color: var(--black);
}

img {
  max-width: 100%;
  display: block;
}

.large-text-1 {
  font-size: var(--_font-sizes---large-body);
  line-height: var(--_font-heights---body);
  letter-spacing: -0.6px;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid var(--border-light);
  background-color: var(--white);
  box-shadow: 0 -2px 14px 0 var(--shadow-color);
  color: var(--black);
  border-radius: 999px;
  padding: 15px 24px;
  text-decoration: none;
  font-size: var(--_font-sizes---body);
  font-weight: var(--_font-weights---normal);
  line-height: var(--_font-heights---body);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.button:hover {
  background-color: var(--grey-2);
  transform: scale(0.98);
}

.button:active {
  background-color: var(--white-border);
  transform: scale(0.95);
}

.button img,
.button .btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid #fff7ec66;
  border-bottom-color: var(--white-border);
  background-color: var(--black);
  box-shadow: 0 -2px 14px 0 var(--shadow-color);
  color: var(--white);
  border-radius: 999px;
  padding: 15px 24px;
  text-decoration: none;
  font-size: var(--_font-sizes---body);
  font-weight: var(--_font-weights---normal);
  line-height: var(--_font-heights---body);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.dark-button:hover {
  background-color: #2d2d2d;
  border-color: #fff7ec99;
  transform: scale(0.98);
}

.dark-button:active {
  background-color: #fff7ec1a;
  transform: scale(0.95);
}

.dark-button img,
.dark-button .btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: invert(1);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-container {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 0;
  padding: 20px;
}

.navbar-pill {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 10px 10px 34px;
  border: 1px solid var(--border-light);
  background-color: #f3ebe199;
  box-shadow: 0 -2px 14px 0 var(--shadow-color);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 999px;
}

.navbar-logo-container {
  flex: 1;
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 28px;
  width: auto;
}

.navbar-wordmark {
  font-size: 1.125rem;
  font-weight: var(--_font-weights---medium);
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.04em;
}

.navbar-link-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.navbar-link {
  font-size: var(--_font-sizes---body);
  font-weight: var(--_font-weights---normal);
  color: var(--black);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}

.navbar-link:hover {
  opacity: 1;
  transform: scale(1.1);
}

.navbar-link.active {
  opacity: 1;
  font-weight: var(--_font-weights---medium);
}

.navbar-cta-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Mobile Menu */
.navbar-menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: auto;
}

.menu-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.navbar-menu-button.is-open .menu-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-menu-button.is-open .menu-line:nth-child(2) {
  opacity: 0;
}

.navbar-menu-button.is-open .menu-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar-mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  right: 20px;
  left: auto;
  z-index: 19;
  width: auto;
  min-width: 180px;
  border: 1px solid var(--border-light);
  background-color: #f3ebe1f2;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px 0 var(--shadow-color);
  border-radius: 20px;
  flex-flow: column;
  align-items: flex-start;
  padding: 20px 24px;
  gap: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.2s, transform 0.2s;
}

.navbar-mobile-menu.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.navbar-mobile-link {
  font-size: 1.1rem;
  font-weight: var(--_font-weights---medium);
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.4px;
  line-height: 1;
  padding: 10px 4px;
  width: 100%;
  border-bottom: 1px solid var(--border-light);
  transition: opacity 0.15s;
}

.navbar-mobile-link:last-of-type {
  border-bottom: none;
}

.navbar-mobile-link:hover {
  opacity: 0.6;
}

.navbar-mobile-menu .dark-button {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 12px 20px;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  z-index: 1;
  padding: var(--_spacing---vertical-section-padding) var(--_spacing---horizontal-section-padding);
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.section.ending-section {
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
}


.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  z-index: 1;
  padding: var(--_spacing---horizontal-section-padding);
  padding-top: 7rem;
  background-color: var(--white);
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: stretch;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-content-container {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hero-left {
  display: flex;
  flex-flow: column;
  gap: 24px;
  max-width: 600px;
}

.hero-title {
  overflow: visible;
}

.hero-metsec {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.4em;
  /* color: #2563eb; */
}

.hero-bg-text {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Nunito', sans-serif;
  font-style: italic;
  font-size: clamp(3rem, 7.5vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 26, 26, 0.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-description {
  opacity: 0.7;
  max-width: 460px;
}

.hero-cta-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-image {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 62%;
  height: 100%;
  border-radius: 0;
  z-index: 0;
}

.hero-left {
  position: relative;
  z-index: 1;
}

/* ============================================================
   CAROUSEL / LOGO TICKER
   ============================================================ */
.carousel-section {
  overflow: hidden;
  padding: var(--_spacing---vertical-section-padding) 0;
  background-color: var(--white);
  position: relative;
  z-index: 1;
}

.carousel-line-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.carousel-line {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: none;
  white-space: nowrap;
}

.carousel-line.row-1 {
  animation: ticker 30s linear infinite;
}

.carousel-line.row-2 {
  animation: ticker-reverse 30s linear infinite;
}


.carousel-word {
  flex-shrink: 0;
  display: inline-block;
  color: var(--black);
  opacity: 0.45;
  line-height: 1;
  user-select: none;
}

.logo-f1 { font-weight: 800; font-style: italic; font-size: 1.5rem; }
.logo-f2 { font-weight: 300; font-size: 1.1rem; letter-spacing: 0.18em; text-transform: uppercase; }
.logo-f3 { font-weight: 900; font-size: 1.8rem; letter-spacing: -0.03em; }
.logo-f4 { font-weight: 400; font-style: italic; font-size: 1.6rem; }
.logo-f5 { font-weight: 200; font-size: 1.05rem; letter-spacing: 0.3em; text-transform: uppercase; }
.logo-f6 { font-weight: 700; font-style: italic; font-size: 1.35rem; }
.logo-f7 { font-weight: 500; font-size: 1.5rem; letter-spacing: 0.06em; }
.logo-f8 { font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes ticker-reverse {
  0% { transform: translateX(-33.333%); }
  100% { transform: translateX(0); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  z-index: 1;
  padding: var(--_spacing---vertical-section-padding) var(--_spacing---horizontal-section-padding);
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.home-about-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.about-main-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  max-width: 680px;
}

.about-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  opacity: 0.6;
  margin-bottom: 8px;
}

.about-section-label img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.about-heading {
  margin-top: 0;
}

.about-description {
  opacity: 0.7;
  max-width: 480px;
}


/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
  background-color: var(--white);
}

.team-inner {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.team-header {
  margin-bottom: 40px;
}

.team-list {
  border-top: 1px solid var(--border-light);
}

.team-row {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 60px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.team-name-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-number {
  font-size: 0.875rem;
  opacity: 0.4;
  letter-spacing: 0.05em;
}

.team-member-name {
  font-style: italic;
  font-weight: 800;
}

.team-detail-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-role {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.team-bio {
  font-size: 1.0625rem;
  line-height: 165%;
  opacity: 0.7;
  max-width: 520px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  z-index: 1;
  padding: var(--_spacing---vertical-section-padding) var(--_spacing---horizontal-section-padding);
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.services-inner {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.home-services-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
}

.service-card {
  border: 1px solid var(--border-light);
  background-color: var(--grey-1);
  box-shadow: 0 -2px 14px 0 var(--shadow-color);
  cursor: pointer;
  border-radius: 12px;
  flex-flow: column;
  padding: 32px 24px;
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: var(--black);
  transition: background-color 0.2s, transform 0.2s;
}

.service-card:hover {
  background-color: var(--grey-2);
  transform: scale(0.99);
}

.service-card.tall {
  grid-row: 1 / 3;
  justify-content: flex-end;
}


.service-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.service-title {
  margin-top: auto;
}

.service-description {
  opacity: 0.7;
  font-size: 0.9375rem;
}

/* ============================================================
   EXPERIENCE SECTION
   ============================================================ */
.experience-section {
  z-index: 1;
  padding: var(--_spacing---vertical-section-padding) var(--_spacing---horizontal-section-padding);
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.experience-inner {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.experience-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.experience-flex {
  display: flex;
  flex-flow: column;
  border-top: 1px solid var(--border-light);
}

.experience-display-card {
  display: grid;
  grid-template-columns: 0.75fr 0.25fr;
  grid-template-rows: auto;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-auto-columns: 1fr;
  place-items: stretch stretch;
  padding: 32px 24px;
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.2s;
}

.experience-display-card:hover {
  background-color: var(--grey-1);
}

.experience-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.experience-role {
  font-size: var(--_font-sizes---h5);
  font-weight: var(--_font-weights---medium);
  letter-spacing: -0.96px;
  line-height: var(--_font-heights---small-title);
}

.experience-company {
  opacity: 0.6;
  font-size: var(--_font-sizes---body);
}

.experience-description {
  opacity: 0.6;
  font-size: 0.9375rem;
  margin-top: 8px;
}

.experience-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 4px;
}

.experience-date {
  font-size: 0.875rem;
  opacity: 0.5;
  text-align: right;
}

/* ============================================================
   WORK SECTION
   ============================================================ */
.work-section {
  z-index: 1;
  padding: var(--_spacing---vertical-section-padding) var(--_spacing---horizontal-section-padding);
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.work-inner {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  z-index: 0;
  background-color: var(--black);
  color: var(--white);
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  height: 100vh;
  padding: 8.8rem 1.25rem 2.5rem;
  position: sticky;
  bottom: 0;
}

.footer a {
  color: var(--white);
}

.footer .button {
  color: var(--black);
}

.footer .button img.btn-icon {
  filter: none;
}

.footer-top-element-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 60px;
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  align-items: end;
}

.footer-intro {
  opacity: 0.55;
  font-size: 0.9375rem;
  line-height: 165%;
  max-width: 380px;
}

.footer-tagline {
  font-size: var(--_font-sizes---h3);
  font-weight: var(--_font-weights---medium);
  line-height: var(--_font-heights---large-title);
  letter-spacing: -1.44px;
  color: var(--white);
}


.footer-bottom-link-wrap {
  border-top: 1px solid var(--white-border);
  border-bottom: 1px solid var(--white-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: 200px auto;
  grid-template-rows: auto;
  grid-column-gap: 126px;
  grid-row-gap: 126px;
  color: var(--white);
  place-items: center start;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link-group-title {
  font-size: 0.8125rem;
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-link {
  font-size: var(--_font-sizes---body);
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-copyright-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 24px;
}

.footer-copyright {
  font-size: 0.8125rem;
  opacity: 0.4;
}


/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.contact-section {
  background-color: var(--white);
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
}

.contact-inner {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-header {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-subtext {
  opacity: 0.6;
  max-width: 460px;
  font-size: 1rem;
  line-height: 160%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: var(--_font-weights---medium);
  opacity: 0.7;
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  font-family: var(--_fonts---geist);
  font-size: 1rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  opacity: 0.35;
}

.form-input:focus {
  border-bottom-color: var(--black);
}

.form-textarea {
  resize: none;
  height: 140px;
  line-height: 160%;
}

.form-error {
  font-size: 0.8125rem;
  color: #c0392b;
  min-height: 1.1em;
  display: block;
  margin-top: 4px;
}

#err-global {
  display: block;
  margin-bottom: 4px;
}

.form-input.is-invalid {
  border-bottom-color: #c0392b;
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--_fonts---geist);
  font-size: var(--_font-sizes---body);
  text-align: left;
}

/* ============================================================
   PRIVACY MODAL
   ============================================================ */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.privacy-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.privacy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--black);
  opacity: 0.92;
  pointer-events: none;
}

.privacy-modal-inner {
  position: relative;
  z-index: 1;
  border-radius: 50px;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, #000000, #000000, #000000) border-box;
  border: 1.5px solid transparent;
}

.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.privacy-modal-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.45;
}

.privacy-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
  opacity: 0.6;
}

.privacy-close:hover {
  background: var(--grey-2);
  opacity: 1;
}

.privacy-modal-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 32px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.privacy-modal-body h2 {
  font-size: var(--_font-sizes---h4);
  letter-spacing: -1.4px;
  margin: 0;
}

.privacy-modal-body h3 {
  font-size: 1.1rem;
  font-weight: var(--_font-weights---medium);
  letter-spacing: -0.3px;
  margin: 8px 0 0;
}

.privacy-modal-body h4 {
  font-size: 0.9375rem;
  font-weight: var(--_font-weights---medium);
  opacity: 0.75;
  margin: 4px 0 0;
}

.privacy-modal-body p,
.privacy-modal-body li {
  font-size: 0.9375rem;
  line-height: 165%;
  opacity: 0.7;
}

.privacy-modal-body ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-meta {
  font-size: 0.875rem;
  opacity: 0.5;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
}

.privacy-disclaimer {
  font-size: 0.8125rem;
  opacity: 0.45;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  font-style: italic;
}

@media screen and (max-width: 767px) {
  .privacy-modal {
    padding: 10px;
  }

  .privacy-modal-inner {
    max-height: 82vh;
    border-radius: 14px;
  }

  .privacy-modal-header {
    padding: 14px 16px;
  }

  .privacy-modal-body {
    padding: 16px 16px 24px;
    gap: 14px;
  }

  .privacy-modal-body h2 {
    font-size: var(--_font-sizes---h5);
  }

  .privacy-modal-body h3 {
    font-size: 0.9375rem;
  }

  .privacy-modal-body p,
  .privacy-modal-body li {
    font-size: 0.875rem;
  }
}

/* ============================================================
   THANK YOU OVERLAY
   ============================================================ */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.thankyou-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.thankyou-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.18;
}

.thankyou-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 2rem;
  max-width: 640px;
}

.thankyou-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  opacity: 0.45;
}

.thankyou-heading {
  font-size: var(--_font-sizes---h2);
  font-weight: var(--_font-weights---medium);
  letter-spacing: -2.88px;
  line-height: 100%;
  color: var(--white);
  margin: 0;
}

.thankyou-text {
  font-size: 1.0625rem;
  line-height: 160%;
  color: var(--white);
  opacity: 0.55;
  max-width: 420px;
}

/* ============================================================
   ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

/* ============================================================
   WORK SHOWCASE GRID
   ============================================================ */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.showcase-card {
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--grey-1);
  box-shadow: 0 -2px 14px 0 var(--shadow-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.showcase-card:hover {
  transform: scale(0.99);
}

.showcase-media {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--grey-1);
}

.showcase-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.showcase-content {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.showcase-tag {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.5;
}

.showcase-title {
  font-size: var(--_font-sizes---h5);
  font-weight: var(--_font-weights---medium);
  letter-spacing: -0.96px;
  line-height: var(--_font-heights---small-title);
  margin: 0;
}

.showcase-desc {
  font-size: 0.9375rem;
  line-height: 160%;
  opacity: 0.65;
  max-width: 420px;
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 991px)
   ============================================================ */
@media screen and (max-width: 991px) {
  h1 {
    font-size: 6rem;
    letter-spacing: -2.88px;
  }

  h2 {
    font-size: 4.5rem;
    letter-spacing: -2.16px;
  }

  h3 {
    font-size: 2.5rem;
    letter-spacing: -1.2px;
  }

  .hero-image {
    width: 68%;
    height: 100%;
  }

  .home-about-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .about-main-col {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .home-services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card.tall {
    grid-row: auto;
  }

  .footer-top-element-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-tagline {
    font-size: var(--_font-sizes---h4);
    letter-spacing: -1.4px;
  }



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

  .showcase-card {
    box-shadow: none;
  }

  .showcase-media {
    aspect-ratio: 16 / 9;
  }

  .showcase-content {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE LANDSCAPE (max-width: 767px)
   ============================================================ */
@media screen and (max-width: 767px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .showcase-card {
    border-radius: 16px;
    box-shadow: none;
  }


  .showcase-content {
    display: none;
  }

  h1 {
    font-size: 4rem;
    letter-spacing: -1.92px;
  }

  h2 {
    font-size: 3rem;
    letter-spacing: -1.44px;
  }

  .navbar-link-container {
    display: none;
  }

  .navbar-cta-container {
    display: none;
  }

  .navbar-menu-button {
    display: flex;
  }

  .navbar-pill {
    grid-template-columns: 1fr auto;
  }

  .hero-content-container {
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    padding-top: 3rem;
    padding-bottom: 0;
    order: 1;
  }

  .hero-image {
    position: relative;
    width: calc(100% + 2rem);
    margin-left: -1rem;
    height: 54vh;
    top: auto;
    bottom: auto;
    right: auto;
    order: 2;
  }

  .hero-section {
    justify-content: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
    height: auto;
    min-height: 100vh;
  }

  .hero-left {
    max-width: 100%;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .about-main-col {
    grid-column: 1;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .team-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .experience-display-card {
    grid-template-columns: 1fr;
  }

  .experience-right {
    justify-content: flex-start;
  }


  .footer-bottom-link-wrap {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .footer-link-grid {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
  }

  .footer-copyright-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .footer {
    height: auto;
    min-height: 100vh;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE PORTRAIT (max-width: 479px)
   ============================================================ */
@media screen and (max-width: 479px) {
  h1 {
    font-size: 3rem;
    letter-spacing: -1.44px;
  }

  .section,
  .about-section,
  .services-section,
  .experience-section,
  .work-section,
  .hero-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-tagline {
    font-size: var(--_font-sizes---h5);
    letter-spacing: -0.96px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .experience-display-card {
    padding: 24px 16px;
  }
}

/* ============================================================
   SERVICE CODE BLOCK (Web Development card)
   ============================================================ */
.service-code-block {
  flex: 1;
  min-height: 0;
  background: #16161e;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.code-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.code-pre {
  margin: 0;
  padding: 18px 20px;
  font-family: ui-monospace, 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  line-height: 1.85;
  color: #a9b1d6;
  overflow: hidden;
  white-space: pre;
  flex: 1;
}

.code-comment { color: #4a5068; font-style: italic; }
.code-keyword { color: #bb9af7; }
.code-fn      { color: #7aa2f7; }
.code-param   { color: #e0af68; }
.code-string  { color: #9ece6a; }
.code-bool    { color: #ff9e64; }
.code-prop    { color: #73daca; }


.work-single {
  width: 100%;
}

.work-single .work-card-image {
  height: 560px;
  border-radius: 24px;
}

.work-card-image.collage-img {
  background-image: url("images/collage.png");
  background-size: cover;
  background-position: center;
}


