:root {
  --color-white: #fff;
  --color-black: #000;
  --color-text: #111;
  --color-muted: #333;
  --color-blue: #1e40af;
  --color-pink: #ac1754;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --border: 1px solid var(--color-black);
  --page-padding: clamp(1rem, 3vw, 2rem);
  --section-padding: clamp(3rem, 7vw, 7rem);
  --content-width: 1440px;
  --transition-fast: 180ms ease;
  --transition-standard: 350ms ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  width: 100%;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote {
  margin: 0;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--color-pink);
  color: var(--color-white);
}
:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-black);
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--transition-fast);
}
.skip-link:focus {
  transform: translateY(0);
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.container,
.content-container {
  width: min(100% - (var(--page-padding) * 2), var(--content-width));
  margin-inline: auto;
}
.container-fluid {
  width: 100%;
  min-height: 100%;
  padding: 0;
}
.image-button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.image-button img {
  pointer-events: none;
}

/* home section */
.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: var(--border);
  background: var(--color-white);
  isolation: isolate;
}
.hero-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 190vw;
  height: 190vh;
  left: 58%;
  top: 59%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(172, 23, 84, 1) 0%,
    rgba(172, 23, 84, 0.85) 10%,
    rgba(172, 23, 84, 0.45) 30%,
    rgba(172, 23, 84, 0.12) 50%,
    rgba(172, 23, 84, 0) 90%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.hero-layout {
  display: none;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 100svh;
}
.hero-column,
.left,
.right {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.hero-column:first-child,
.left {
  border-right: var(--border);
}
.hero-nav {
  border-bottom: var(--border);
}
.hero-nav-list {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: block;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: color var(--transition-fast),
    background-color var(--transition-fast);
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-blue);
}
.divider {
  width: 100%;
  height: 1px;
  padding: 0;
  background: var(--color-black);
}
.hero-statement,
.content1 {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: var(--page-padding);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.28;
}
.hero-statement p + p,
.content1 p + p {
  margin-top: clamp(1rem, 2.5vw, 2rem);
}
.hero-statement em,
.content1 em {
  color: var(--color-blue);
  font-style: italic;
}
.hero-details,
.content2 {
  align-self: flex-end;
  padding: var(--page-padding);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.7;
  text-align: right;
}
.name,
.hero-name {
  margin-top: auto;
  padding: var(--page-padding);
  color: var(--color-blue);
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

/* ==================================================
   METALLIC ICONS
================================================== */

.star,
.flower,
.heart,
.testimonial-star {
  display: inline-block;
  cursor: pointer;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  transform-origin: center;
  transition: transform 350ms ease, filter 350ms ease;
}

/* Home icons are inside buttons */
.star-button:hover .star,
.star-button:focus-visible .star,
.flower-button:hover .flower,
.flower-button:focus-visible .flower,
.heart-button:hover .heart,
.heart-button:focus-visible .heart,

/* Standalone icons */
.star:hover,
.star:focus-visible,
.flower:hover,
.flower:focus-visible,
.heart:hover,
.heart:focus-visible,
.testimonial-star:hover,
.testimonial-star:focus-visible {
  filter: drop-shadow(0 0 8px rgb(255 255 255 / 80%))
    drop-shadow(0 0 20px rgb(30 64 175 / 75%));
}

/* Star rotation */
.star-button:hover .star,
.star-button:focus-visible .star,
.star:hover,
.star:focus-visible,
.testimonial-star:hover,
.testimonial-star:focus-visible {
  animation: metallic-star-spin 900ms ease;
}

/* Flower movement */
.flower-button:hover .flower,
.flower-button:focus-visible .flower,
.flower:hover,
.flower:focus-visible {
  animation: metallic-flower-float 1.2s ease-in-out infinite;
}

/* Heart pulse */
.heart-button:hover .heart,
.heart-button:focus-visible .heart,
.heart:hover,
.heart:focus-visible {
  animation: metallic-heart-pulse 800ms ease-in-out infinite;
}

@keyframes metallic-star-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  100% {
    transform: rotate(360deg) scale(1.08);
  }
}

@keyframes metallic-flower-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(6deg);
  }
}

@keyframes metallic-heart-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

/* ==================================================
   GLASS ICON POPUP
================================================== */

.icon-info-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
}

.icon-info-panel {
  position: relative;
  display: none;
  width: min(280px, calc(100vw - 32px));
  padding: 1.5rem;
  overflow: hidden;

  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 1.25rem;

  background: rgb(255 255 255 / 14%);
  color: #111;

  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);

  box-shadow: 0 0 25px rgb(30 64 175 / 45%),
    inset 0 0 18px rgb(255 255 255 / 15%);

  opacity: 0;
  pointer-events: auto;

  transform: translateY(10px) scale(0.96);

  transition: opacity 250ms ease, transform 250ms ease;
}

.icon-info-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Glass shine */
.icon-info-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;

  background: linear-gradient(
    120deg,
    transparent 25%,
    rgb(255 255 255 / 35%) 50%,
    transparent 75%
  );

  transform: translateX(-120%);
}

.icon-info-panel.active::before {
  animation: glass-panel-scan 900ms ease;
}

.icon-info-panel h3 {
  position: relative;
  z-index: 1;

  margin: 0 2rem 0.75rem 0;

  color: #1e40af;

  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.icon-info-panel p {
  position: relative;
  z-index: 1;

  margin: 0;

  color: #222;

  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
}

.icon-panel-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  z-index: 2;

  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;

  padding: 0;
  border: 0;

  background: transparent;
  color: #1e40af;

  font-size: 1.5rem;
  line-height: 1;

  cursor: pointer;
  opacity: 0.75;

  transition: opacity 200ms ease, transform 250ms ease;
}

.icon-panel-close:hover,
.icon-panel-close:focus-visible {
  opacity: 1;
  transform: rotate(90deg);
}

@keyframes glass-panel-scan {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}
.section-two,
.about-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-padding);
  border-bottom: var(--border);
  background: var(--color-white);
  font-family: var(--font-display);
}
.section-two-bg,
.about-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.section-two-content,
.about-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.about-layout {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2rem;
  flex: 1;
}
.about-intro {
  max-width: 53rem;
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
  font-size: clamp(1.75rem, 2.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.3;
}
.about-text {
  max-width: 47rem;

  text-align: center;
}
.about-text .body-text {
  max-width: 47rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.4vw, 1.5rem);
  line-height: 1.7;
}
.about-text .body-text:first-child {
  font-size: clamp(1.375rem, 1.8vw, 1.875rem);
}
.highlight {
  position: relative;
  color: var(--color-pink);
  font-weight: 600;
}
.quote-container {
  margin-top: auto;
  margin-left: auto;
  max-width: 29rem;
  text-align: right;
}
.quote-text {
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-style: italic;
  line-height: 1.4;
}
.quote-text cite {
  display: block;
  margin-top: 1rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.85em;
  font-style: normal;
}
.vertical-line {
  width: 1px;
  height: 6.25rem;
  margin-inline: auto;
  background: var(--color-black);
}
.section-three,
.education-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-padding);
  border-bottom: var(--border);
  background: var(--color-white);
}
.section-three > svg,
.education-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 160%;
  pointer-events: none;
}
.section-three-content,
.education-content {
  position: relative;
  z-index: 1;
}
.section-heading,
.section-three h2,
.section-three h6 {
  margin-bottom: clamp(2rem, 6vh, 4rem);
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
}
.info-row,
.section-three .info-row,
.education-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}
.education,
.award,
.education-card,
.award-card {
  min-width: 0;
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
}
.education h3,
.award h3,
.education-card h3,
.award-card h3 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  line-height: 1.2;
  color: #1e40af;
}
.education p + p,
.award p + p,
.education-card p + p,
.award-card p + p {
  margin-top: 0.5rem;
}
@media (max-width: 900px) {
  .hero-layout,
  .about-layout,
  .info-row,
  .section-three .info-row,
  .education-grid {
    grid-template-columns: 1fr;
  }
  .hero-layout {
    min-height: auto;
  }
  .hero-column,
  .left,
  .right {
    min-height: 50svh;
  }
  .hero-column:first-child,
  .left {
    border-right: 0;
    border-bottom: var(--border);
  }
  .about-layout {
    gap: 3rem;
  }
  .quote-container {
    justify-self: end;
  }
}
@media (max-width: 600px) {
  :root {
    --page-padding: 1rem;
    --section-padding: 3.5rem;
  }
  .hero-column,
  .left,
  .right {
    min-height: auto;
  }
  .hero-statement,
  .content1 {
    min-height: 60svh;
    padding-block: 3rem;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.25;
  }
  .hero-details,
  .content2 {
    width: 100%;
    text-align: left;
  }
  .name,
  .hero-name {
    text-align: left;
  }
  .star {
    width: 5.5rem;
    margin-top: -0.35em;
  }
  .icon-info-panel {
    position: fixed;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
  }
  .quote-container {
    justify-self: stretch;
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
     PROJECT ACCORDIONS
  ========================= */

.section-four-projects,
.projects-section {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
}

.project-item {
  position: relative;
}

.project-heading {
  margin: 0;
  font: inherit;
}

.project-block {
  position: relative;
  display: grid;
  width: 100%;
  min-height: clamp(7.5rem, 12vw, 11.375rem);
  place-items: center;
  padding: 1rem clamp(3.5rem, 6vw, 6rem);
  overflow: hidden;
  border: 0;
  border-bottom: var(--border);
  background: var(--color-white);
  fill: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: color 250ms ease, fill 250ms ease, background-color 250ms ease;
}

.project-block:hover {
  fill: var(--color-black);
  color: var(--color-white);
}

.project-block:focus-visible {
  z-index: 3;
  outline-offset: -5px;
}

.project-block[aria-expanded="true"],
.project-block.active {
  fill: var(--color-black);
  color: var(--color-blue);
}

.svgProjects {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.project-title,
.project-block h1 {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: inherit;
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4.25vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.project-toggle-icon {
  position: absolute;
  top: 50%;
  right: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 2;
  width: 1.75rem;
  height: 1.75rem;
  transform: translateY(-50%);
}

.project-toggle-icon::before,
.project-toggle-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5rem;
  height: 2px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-standard);
}

.project-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.project-block[aria-expanded="true"] .project-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.project-content {
  height: 0;
  overflow: hidden;
  background: var(--color-white);
  visibility: hidden;
  transition: height var(--transition-standard),
    visibility var(--transition-standard);
}

.project-content:not([hidden]) {
  visibility: visible;
}

.project-content[hidden] {
  display: block !important;
  height: 0 !important;
  visibility: hidden;
}

.project-content__inner {
  border: clamp(0.75rem, 2vw, 1.5625rem) solid var(--color-pink);
  background: var(--color-white);
}

.project-section {
  padding: clamp(2rem, 6vw, 6rem) var(--page-padding);
  background: var(--color-white);
}

.project-container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  width: min(100%, 75rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.5rem;
  background: #f5f5f5;
  box-shadow: 0 1.875rem 3.75rem rgb(0 0 0 / 15%);
}

.project-visual {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-info {
  min-width: 0;
  align-self: center;
}

.project-info h2,
.project-info h4 {
  max-width: 32.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.project-subtitle {
  margin-bottom: 1.5rem;
  color: #777;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.project-description {
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.project-description:last-of-type {
  margin-bottom: 0;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid #ddd;
  font-family: var(--font-body);
}

.project-meta p {
  margin-block: 0.35rem;
  color: #555;
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.project-disciplines p {
  font-weight: 500;
}

.meta-right p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #444;
  font-size: 1rem;
}

.meta-right img {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  object-fit: contain;
}

/* =========================
     API TABLET MOCKUPS
  ========================= */

.ipad-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.ipad {
  max-width: 55%;
  border-radius: 1.25rem;
  box-shadow: 0 1.25rem 2.5rem rgb(0 0 0 / 15%);
}

.ipad-left {
  width: 16.25rem;
  transform: translateX(0.5rem);
}

.ipad-right {
  width: 15rem;
  transform: translateX(-0.5rem);
}

/* =========================
     PROJECT VIDEO
  ========================= */

.video-wrapper {
  width: 100%;
}

.video-wrapper video,
.project-visual video {
  display: block;
  width: 100%;
  max-height: 36rem;
  border-radius: 0.875rem;
  background: var(--color-black);
  object-fit: contain;
}

/* =========================
     SLIDESHOW
  ========================= */

.slideshow-wrapper {
  width: 100%;
  max-width: 33.75rem;
  margin-inline: auto;
}

.slideshow {
  position: relative;
  width: 100%;
  height: clamp(18rem, 32vw, 24rem);
  overflow: hidden;
  border-radius: 1.25rem;
  background: #f5f5f5;
}

.slides {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1rem;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.slides.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.slides img {
  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  display: block;
}

.slide-controls {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 0.875rem;
}

.slide-controls button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: var(--color-text);
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    transform var(--transition-fast);
}

.slide-controls button:hover,
.slide-controls button:focus-visible {
  background: #333;
  transform: translateY(-2px);
}

.slide-controls button:active {
  transform: translateY(0);
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.dot {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    transform var(--transition-fast);
}

.dot:hover,
.dot:focus-visible {
  background: #999;
  transform: scale(1.2);
}

.dot.active,
.dot[aria-pressed="true"] {
  background: var(--color-pink);
  transform: scale(1.3);
}

.visual-caption {
  max-width: 38rem;
  margin-top: 0.75rem;
  color: #666;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.02rem;
  text-align: center;
}

/* =========================
     TESTIMONIAL
  ========================= */

.testimonial-section {
  position: relative;
  z-index: 3;
  margin-block: 1rem 2rem;
}

.testimonial-trigger {
  border-radius: 50%;
}

.testimonial-star {
  display: block;
  width: 4.0625rem;
  cursor: pointer;
  transition: filter var(--transition-fast);
}

.testimonial-trigger:hover .testimonial-star,
.testimonial-trigger:focus-visible .testimonial-star {
  animation: testimonial-wobble 800ms ease;
  filter: drop-shadow(0 0 12px rgb(30 64 175 / 55%));
}

.testimonial-card {
  position: absolute;
  top: -1.5625rem;
  left: 5.625rem;
  z-index: 4;
  width: min(20rem, calc(100vw - 3rem));
  padding: 1.8rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 1.125rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgb(30 64 175 / 18%),
    rgb(255 255 255 / 78%),
    rgb(30 64 175 / 12%)
  );
  box-shadow: 0 12px 35px rgb(30 64 175 / 18%), 0 0 25px rgb(30 64 175 / 12%),
    inset 0 1px rgb(255 255 255 / 65%);
  backdrop-filter: blur(22px);
  transform: translateY(0.625rem) scale(0.95);
  transition: opacity var(--transition-standard),
    visibility var(--transition-standard), transform var(--transition-standard);
}

.testimonial-card:not([hidden]),
.testimonial-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.testimonial-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent,
    rgb(255 255 255 / 35%),
    transparent
  );
  transform: translateX(-100%);
}

.testimonial-card:not([hidden])::before,
.testimonial-card.active::before {
  animation: panel-scan 1s ease;
}

.testimonial-card h4,
.testimonial-card h5 {
  margin-bottom: 1.8rem;
  color: var(--color-blue);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-text {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  margin-top: 1.5rem;
  color: var(--color-blue);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
}

.testimonial-author span {
  color: #666;
  font-weight: 400;
}

.testimonial-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  padding: 0;
  border: 0;
  opacity: 0.7;
  background: transparent;
  color: var(--color-blue);
  font-family: var(--font-body);
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity var(--transition-fast),
    transform var(--transition-standard);
}

.testimonial-close:hover,
.testimonial-close:focus-visible {
  opacity: 1;
  transform: rotate(90deg);
}

@keyframes testimonial-wobble {
  0%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-12deg);
  }

  50% {
    transform: rotate(10deg);
  }

  75% {
    transform: rotate(-6deg);
  }
}

/* =========================
     ANALYSIS LINK
  ========================= */

.analysis-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  color: var(--color-blue);
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.analysis-link:hover,
.analysis-link:focus-visible {
  gap: 0.65rem;
  color: var(--color-pink);
}

/* =========================
     IMAGE LIGHTBOX
  ========================= */

.image-lightbox,
.image-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 7vw, 6rem);
  background: rgb(0 0 0 / 90%);
}

.image-lightbox[hidden] {
  display: none;
}

.lightbox-image,
.image-popup img {
  display: block;
  width: auto;
  max-width: 90vw;
  height: auto;
  max-height: 88vh;
  margin: auto;
  object-fit: contain;
}

.lightbox-close,
.close-popup {
  position: absolute;
  top: 1rem;
  right: clamp(1rem, 3vw, 2.5rem);
  z-index: 3;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.image-popup > span:hover {
  opacity: 0.75;
  transform: rotate(90deg);
}

.popup-prev,
.popup-next,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity var(--transition-fast);
}

.image-popup button:hover,
.image-popup button:focus-visible,
.lightbox-prev:hover,
.lightbox-prev:focus-visible,
.lightbox-next:hover,
.lightbox-next:focus-visible {
  opacity: 0.7;
  color: #1e40af;
}

.popup-prev,
.lightbox-prev {
  left: clamp(0.5rem, 3vw, 2.5rem);
}

.popup-next,
.lightbox-next {
  right: clamp(0.5rem, 3vw, 2.5rem);
}

/* =========================
     BACK TO TOP
  ========================= */

.back-to-top,
#myBtn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  background: #212121;
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(1rem);
  transition: opacity 500ms ease, visibility 500ms ease, transform 500ms ease,
    background-color var(--transition-fast);
}

.back-to-top.visible,
.back-to-top.active,
#myBtn.visible,
#myBtn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible,
#myBtn:hover,
#myBtn:focus-visible {
  background: var(--color-blue);
}

/* =========================
     PROJECT RESPONSIVENESS
  ========================= */

@media (max-width: 900px) {
  .project-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-info {
    width: 100%;
  }

  .ipad-wrapper {
    justify-content: center;
  }

  .project-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card {
    right: auto;
    left: 5rem;
  }
}

@media (max-width: 650px) {
  .project-block {
    min-height: 7rem;
    padding-inline: 1rem 3.75rem;
    text-align: left;
  }

  .project-title,
  .project-block h1 {
    justify-self: start;
    font-size: clamp(1.45rem, 7vw, 2.25rem);
  }

  .project-toggle-icon {
    right: 1.25rem;
  }

  .project-content__inner {
    border-width: 0.625rem;
  }

  .project-section {
    padding: 1.5rem 0.75rem;
  }

  .project-container {
    gap: 2rem;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 12%);
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .ipad-wrapper {
    align-items: center;
  }

  .ipad {
    max-width: 54%;
    border-radius: 0.75rem;
  }

  .testimonial-card {
    position: fixed;
    top: 50%;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: 24rem;
    margin-inline: auto;
    transform: translateY(calc(-50% + 0.625rem)) scale(0.95);
  }

  .testimonial-card:not([hidden]),
  .testimonial-card.active {
    transform: translateY(-50%) scale(1);
  }

  .image-lightbox,
  .image-popup {
    padding: 4rem 1rem;
  }

  .image-popup button,
  .lightbox-prev,
  .lightbox-next {
    font-size: 2.5rem;
  }

  .back-to-top,
  #myBtn {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.5rem;
  }
}

/* =========================
     CONTACT / FOOTER
  ========================= */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: var(--border);
  background: var(--color-black);
  color: var(--color-white);
}

.contact-section {
  min-height: auto;
  padding-block: var(--section-padding);
}

.contact-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgb(255 255 255 / 35%);
}

.contact-header h2 {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.contact-header p {
  max-width: 35rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-card h3 {
  color: var(--color-pink);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  border-top: 1px solid rgb(255 255 255 / 30%);
}

.contact-list li:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 30%);
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1rem, 2vw, 1.5rem);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.2;
  text-decoration: none;
  transition: color var(--transition-fast),
    padding-inline var(--transition-fast);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  padding-inline: 0.75rem;
  color: var(--color-pink);
}

.contact-list img {
  width: clamp(1.5rem, 2.5vw, 2rem);
  height: clamp(1.5rem, 2.5vw, 2rem);
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-standard);
}

.contact-list a:hover img,
.contact-list a:focus-visible img {
  transform: rotate(8deg) scale(1.1);
}

.copyright {
  width: min(100% - (var(--page-padding) * 2), var(--content-width));
  margin-inline: auto;
  padding-block: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 20%);
  color: rgb(255 255 255 / 65%);
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

/* =========================
     SVG SEND TO BACK
  ========================= */
/* Decorative SVGs must never intercept mouse input */
.section-one > svg,
.section-one svg.position-absolute,
.section-two > svg,
.section-three > svg {
  pointer-events: none !important;
}

/* Ensure all shapes inside the SVG also ignore the mouse */
.section-one > svg *,
.section-two > svg *,
.section-three > svg * {
  pointer-events: none !important;
}

/* Place the hero content and icons above the SVG */
.section-one .container,
.section-one .row,
.section-one .left,
.section-one .right,
.section-one .content1,
.section-one .content2,
.section-one .name {
  position: relative;
  z-index: 1;
}

.star,
.flower,
.heart {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}

/* =========================
     NO-JAVASCRIPT FALLBACK
  ========================= */

.no-js .project-content {
  height: auto;
  overflow: visible;
  visibility: visible;
}

.no-js .project-content[hidden] {
  display: block !important;
  height: auto !important;
  visibility: visible;
}

.no-js .project-toggle-icon {
  display: none;
}

.no-js .slides {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.no-js .slides + .slides {
  margin-top: 1rem;
}

.no-js .slide-controls,
.no-js .slide-dots {
  display: none;
}

/* =========================
     UTILITY STATES
  ========================= */

.is-scroll-locked {
  overflow: hidden;
}

.is-disabled,
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

button:disabled:hover {
  transform: none;
}

[data-popup-image]:not(.no-popup),
.slides img:not(.no-popup),
.project-visual > img:not(.no-popup) {
  cursor: zoom-in;
}

.lightbox-image {
  cursor: default;
}

/* Prevent externally supplied icon images from stretching. */
.project-meta img,
.contact-list img,
.interactive-icon img {
  max-width: none;
}

/* Keep Bootstrap's default row gutters from altering the refactored layout. */
.hero-layout.row,
.about-layout.row,
.education-grid.row,
.project-container.row {
  margin-inline: 0;
}

.hero-layout.row > *,
.about-layout.row > *,
.education-grid.row > *,
.project-container.row > * {
  padding-inline: 0;
}

/* =========================
     LARGE SCREENS
  ========================= */

@media (min-width: 1440px) {
  .hero-statement,
  .content1 {
    padding: 3rem;
  }

  .hero-details,
  .content2,
  .name,
  .hero-name {
    padding: 3rem;
  }

  .project-container {
    max-width: 82rem;
  }

  .slideshow-wrapper {
    max-width: 37rem;
  }

  .slideshow {
    max-width: 37rem;
  }
}

/* =========================
     TABLET
  ========================= */

@media (max-width: 992px) {
  .contact-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-header h2 {
    max-width: 14ch;
  }

  .contact-card {
    grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 1fr);
    gap: 2rem;
  }

  .banner-slide {
    animation-duration: 10s;
  }
}

@media (max-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-list a {
    justify-content: flex-start;
  }

  .contact-list img {
    order: -1;
  }

  .banner::before,
  .banner::after {
    width: 4rem;
  }

  .banner-slide {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .project-description {
    font-size: 0.9375rem;
  }

  .project-info h2,
  .project-info h4 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .testimonial-star {
    width: 3.5rem;
  }
}

/* =========================
     SMALL MOBILE
  ========================= */

@media (max-width: 480px) {
  .nav-link {
    padding: 1rem;
    font-size: 1.6rem;
  }

  .hero-statement,
  .content1 {
    min-height: 55svh;
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero-details,
  .content2 {
    font-size: 1rem;
    line-height: 1.7;
  }

  .name,
  .hero-name {
    font-size: 1.8rem;
  }

  .flower {
    width: 4rem;
  }

  .heart {
    width: 4.75rem;
  }

  .about-intro {
    font-size: 1.65rem;
  }

  .about-text .body-text,
  .about-text .body-text:first-child {
    font-size: 1rem;
  }

  .section-heading,
  .section-three h2,
  .section-three h6 {
    font-size: 2rem;
  }

  .education,
  .award,
  .education-card,
  .award-card {
    font-size: 1rem;
  }

  .project-block {
    min-height: 6.5rem;
  }

  .project-title,
  .project-block h1 {
    font-size: clamp(1.3rem, 6.8vw, 1.9rem);
  }

  .project-section {
    padding-inline: 0.5rem;
  }

  .project-container {
    padding: 1rem;
  }

  .ipad-left {
    transform: translateX(0.25rem);
  }

  .ipad-right {
    transform: translateX(-0.25rem);
  }

  .slide-controls button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .visual-caption {
    font-size: 0.75rem;
  }

  .contact-header h2 {
    font-size: clamp(2.75rem, 15vw, 4.5rem);
  }

  .contact-header p {
    font-size: 1rem;
  }

  .contact-list a {
    gap: 1rem;
    font-size: 1.15rem;
    overflow-wrap: anywhere;
  }

  .copyright {
    text-align: left;
  }
}

/* =========================
     POINTER AND MOTION SUPPORT
  ========================= */

@media (hover: none) {
  .project-block:hover {
    fill: var(--color-white);
    color: var(--color-black);
  }

  .project-block[aria-expanded="true"]:hover,
  .project-block.active:hover {
    fill: var(--color-black);
    color: var(--color-blue);
  }

  .banner:hover .banner-slide {
    animation-play-state: running;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide {
    animation: none;
  }

  .banner-track {
    width: 100%;
  }

  .banner-slide:not(:first-child) {
    display: none;
  }

  .star:hover,
  .star:focus-visible,
  .flower:hover,
  .flower:focus-visible,
  .heart:hover,
  .heart:focus-visible,
  .testimonial-trigger:hover .testimonial-star,
  .testimonial-trigger:focus-visible .testimonial-star {
    animation: none;
    transform: none;
  }

  .project-content {
    transition: none;
  }
}

/* =========================
     PRINT
  ========================= */

@media print {
  body {
    color: #000;
  }

  .skip-link,
  .interactive-icon,
  .icon-info-wrapper,
  .project-toggle-icon,
  .slide-controls,
  .slide-dots,
  .testimonial-trigger,
  .testimonial-card,
  .image-lightbox,
  .image-popup,
  .back-to-top,
  #myBtn {
    display: none !important;
  }

  .hero-section,
  .hero-layout,
  .hero-column,
  .left,
  .right {
    min-height: auto;
  }

  .project-content,
  .project-content[hidden] {
    display: block !important;
    height: auto !important;
    overflow: visible;
    visibility: visible;
  }

  .project-content__inner {
    border: 1px solid #000;
  }

  .project-container {
    box-shadow: none;
  }

  .site-footer {
    color: #000;
  }

  .contact-list a {
    color: #000;
  }
}
