:root {
  --teal: #249d8f;
  --teal-dark: #14796f;
  --teal-deep: #0c5f58;
  --teal-soft: #dcefeb;

  --yellow: #e9c46a;
  --yellow-dark: #b88422;
  --yellow-soft: #f8e8b8;

  --coral: #e76f51;
  --coral-dark: #b94832;
  --coral-soft: #f8d8cf;

  --cream: #fdf0d5;
  --cream-light: #fff9ec;
  --cream-dark: #f5dfb8;

  --ink: #23362f;
  --ink-soft: #52635c;
  --ink-muted: #6b7872;

  --white: #ffffff;

  --border: rgba(35, 54, 47, 0.14);
  --border-strong: rgba(35, 54, 47, 0.22);

  --shadow:
    0 18px 45px rgba(63, 48, 26, 0.1),
    0 4px 12px rgba(63, 48, 26, 0.05);

  --shadow-hover:
    0 24px 58px rgba(63, 48, 26, 0.14),
    0 8px 18px rgba(63, 48, 26, 0.07);

  --font-body: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;

  --max-width: 1180px;

  --radius-xl: 34px;
  --radius-lg: 25px;
  --radius-md: 18px;
  --radius-sm: 13px;

  --transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;

  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;

  background:
    linear-gradient(
      180deg,
      var(--cream-light) 0%,
      var(--cream) 48%,
      #fae8c4 100%
    );
}

body::selection {
  color: var(--ink);
  background: rgba(233, 196, 106, 0.65);
}

a,
button {
  font: inherit;
}

button {
  border: 0;
}

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

[hidden] {
  display: none !important;
}

/* =========================================================
   SUBTLE BACKGROUND
========================================================= */

.background-pattern {
  position: fixed;
  z-index: -1;
  inset: 0;

  pointer-events: none;
  opacity: 0.27;

  background-image:
    linear-gradient(
      120deg,
      transparent 0 48%,
      rgba(36, 157, 143, 0.045) 48% 50%,
      transparent 50% 100%
    ),
    linear-gradient(
      60deg,
      transparent 0 48%,
      rgba(231, 111, 81, 0.035) 48% 50%,
      transparent 50% 100%
    );

  background-size:
    130px 130px,
    180px 180px;

  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      rgba(0, 0, 0, 0.7) 55%,
      transparent 100%
    );
}

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

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: 5.5rem;
}

.section-soft {
  position: relative;
  border-block: 1px solid rgba(35, 54, 47, 0.07);
  background: rgba(255, 255, 255, 0.24);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 15ch;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
}

h1 {
  max-width: 11ch;
  margin-bottom: 0;

  font-size: clamp(3.4rem, 7vw, 6.3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 0;

  font-size: clamp(2.3rem, 4.5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 0;

  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  flex-wrap: wrap;

  margin-bottom: 1rem;

  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";

  flex: 0 0 auto;
  width: 25px;
  height: 3px;

  border-radius: 999px;
  background: var(--coral);
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight::after {
  content: "";

  position: absolute;
  z-index: -1;
  right: -0.05em;
  bottom: 0.06em;
  left: -0.05em;

  height: 0.26em;

  border-radius: 999px;
  opacity: 0.32;
  transform: rotate(-1deg);
}

.highlight-teal {
  color: var(--teal-dark);
}

.highlight-teal::after {
  background: var(--teal);
}

.highlight-coral {
  color: var(--coral);
}

.highlight-coral::after {
  background: var(--coral);
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;

  border-bottom: 1px solid rgba(35, 54, 47, 0.08);
  background: rgba(255, 249, 236, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 20px;
  height: 24px;

  border-radius: 70% 30% 65% 35% / 36% 63% 37% 64%;

  background:
    linear-gradient(
      145deg,
      var(--yellow) 0%,
      var(--coral) 100%
    );

  transform: rotate(-26deg);
  transition: var(--transition);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav a {
  position: relative;

  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;

  transition: var(--transition);
}

.nav a::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;

  height: 3px;

  border-radius: 999px;
  background: var(--yellow);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* =========================================================
   HERO
========================================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);

  min-height: calc(100vh - 74px);
  padding-block: 4rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 64ch;
  margin-block: 1.7rem 0;

  color: var(--ink-soft);
  font-size: 1.01rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;

  margin-block: 2rem 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;

  min-height: 50px;
  padding: 0.85rem 1.3rem;

  cursor: pointer;

  border: 1px solid transparent;
  border-radius: 17px 17px 17px 5px;

  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;

  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px) rotate(-0.3deg);
}

.btn-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow:
    0 10px 24px rgba(36, 157, 143, 0.22);
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow:
    0 16px 32px rgba(36, 157, 143, 0.28);
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.46);
}

.btn-secondary:hover {
  background: var(--teal-soft);
}

.btn-outline {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: transparent;
}

.btn-outline:hover {
  color: var(--white);
  background: var(--teal);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  padding: 0.62rem 0.78rem;

  color: var(--ink);
  border: 1px solid rgba(35, 54, 47, 0.1);
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.58);

  font-size: 0.79rem;
  font-weight: 600;

  box-shadow:
    0 5px 12px rgba(63, 48, 26, 0.04);

  transition: var(--transition);
}

.hero-tags li:hover {
  transform: translateY(-2px);
  background: var(--white);
  border-color: rgba(36, 157, 143, 0.28);
}

.tag-icon {
  color: var(--coral);
  font-size: 0.95rem;
  font-weight: 800;
}

/* =========================================================
   HERO FEATURE CARDS
========================================================= */

.hero-panel {
  position: relative;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  position: relative;
  overflow: hidden;

  padding: 1.4rem;

  border-radius:
    28px
    18px
    30px
    16px;

  box-shadow: var(--shadow);

  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px) rotate(-0.2deg);
  box-shadow: var(--shadow-hover);
}

.card-main {
  grid-column: span 2;
  min-height: 290px;
  padding: 2rem;
}

.feature-card-teal {
  color: var(--white);
  background:
    linear-gradient(
      145deg,
      var(--teal) 0%,
      var(--teal-dark) 100%
    );
}

.feature-card-yellow {
  color: var(--ink);
  background:
    linear-gradient(
      145deg,
      var(--yellow-soft) 0%,
      var(--yellow) 100%
    );
}

.feature-card-coral {
  color: var(--white);
  background:
    linear-gradient(
      145deg,
      #ef8164 0%,
      var(--coral) 100%
    );
}

.card-label {
  margin: 0;

  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-main .card-label {
  color: var(--yellow-soft);
}

.card-main h2 {
  max-width: 11ch;
  margin-block: 1.1rem;

  color: var(--white);
  font-size: clamp(2.15rem, 4vw, 3.25rem);
}

.card-main h2 span {
  color: var(--yellow-soft);
}

.card-main > p:last-child {
  max-width: 52ch;
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.88);
  line-height: 1.72;
}

.scribble-leaf {
  position: absolute;
  right: 1.6rem;
  bottom: 1rem;

  width: 110px;
  height: 150px;

  opacity: 0.26;
}

.scribble-leaf span {
  position: absolute;
  display: block;

  border: 2px solid var(--yellow-soft);
}

.scribble-leaf span:nth-child(1) {
  right: 15px;
  bottom: 10px;

  width: 44px;
  height: 100px;

  border-radius: 100% 0 100% 0;
  transform: rotate(20deg);
}

.scribble-leaf span:nth-child(2) {
  right: 55px;
  bottom: 12px;

  width: 34px;
  height: 78px;

  border-radius: 0 100% 0 100%;
  transform: rotate(-18deg);
}

.scribble-leaf span:nth-child(3) {
  right: 50px;
  bottom: 0;

  width: 2px;
  height: 120px;

  border: 0;
  background: var(--yellow-soft);
  transform: rotate(8deg);
}

.mini-icon {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;
  margin-bottom: 1rem;

  color: var(--ink);
  border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.38);

  font-size: 1.35rem;
  font-weight: 800;
}

.mini-icon-light {
  width: 32px;
  height: 32px;
  margin: 0;

  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.location-card,
.waveform-card {
  width: 100%;
  min-width: 0;
  min-height: 220px;
}

.location-card > p:last-child {
  margin-bottom: 0;

  color: #3d4e46;
  font-size: 0.87rem;
  line-height: 1.55;
}

.location-map {
  width: 100%;
  height: 120px;
  margin-block: 1rem;

  overflow: hidden;

  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px 20px 20px 6px;

  filter:
    sepia(0.13)
    saturate(0.74)
    hue-rotate(92deg)
    brightness(1.02);
}

.location-map .leaflet-container {
  background: var(--cream);
}

.location-map .leaflet-control-attribution {
  display: none;
}

.waveform-card {
  grid-column: span 2;
}

.waveform-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.waveform-card .card-label {
  color: var(--white);
}

.waveform-card > p:last-child {
  max-width: 58ch;
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================================================
   WAVEFORM
========================================================= */

.waveform {
  display: flex;
  align-items: center;
  gap: 0.28rem;

  height: 72px;
  margin-block: 1rem 0.85rem;
}

.waveform span {
  width: 4px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);

  transform-origin: center;
  animation: waveform-drift 3.4s ease-in-out infinite;
}

.waveform span:nth-child(1) {
  height: 22%;
  animation-delay: -0.3s;
}

.waveform span:nth-child(2) {
  height: 52%;
  animation-delay: -1.1s;
}

.waveform span:nth-child(3) {
  height: 86%;
  animation-delay: -0.7s;
}

.waveform span:nth-child(4) {
  height: 42%;
  animation-delay: -1.8s;
}

.waveform span:nth-child(5) {
  height: 96%;
  animation-delay: -0.5s;
}

.waveform span:nth-child(6) {
  height: 34%;
  animation-delay: -1.4s;
}

.waveform span:nth-child(7) {
  height: 74%;
  animation-delay: -0.9s;
}

.waveform span:nth-child(8) {
  height: 28%;
  animation-delay: -1.6s;
}

.waveform span:nth-child(9) {
  height: 88%;
  animation-delay: -0.2s;
}

.waveform span:nth-child(10) {
  height: 46%;
  animation-delay: -1.25s;
}

.waveform span:nth-child(11) {
  height: 70%;
  animation-delay: -0.65s;
}

.waveform span:nth-child(12) {
  height: 32%;
  animation-delay: -1.5s;
}

.waveform span:nth-child(13) {
  height: 58%;
  animation-delay: -0.4s;
}

@keyframes waveform-drift {
  0%,
  100% {
    transform: scaleY(0.82);
  }

  50% {
    transform: scaleY(1.1);
  }
}

/* =========================================================
   AREA CARDS
========================================================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;

  min-height: 225px;
  padding: 1.3rem;

  border: 1px solid var(--border);
  border-radius: 22px 22px 22px 8px;

  box-shadow:
    0 10px 24px rgba(63, 48, 26, 0.05);

  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px) rotate(-0.2deg);
  box-shadow: var(--shadow);
}

.project-card-teal {
  background:
    linear-gradient(
      145deg,
      rgba(36, 157, 143, 0.14),
      rgba(255, 255, 255, 0.66)
    );
}

.project-card-yellow {
  background:
    linear-gradient(
      145deg,
      rgba(233, 196, 106, 0.28),
      rgba(255, 255, 255, 0.64)
    );
}

.project-card-coral {
  background:
    linear-gradient(
      145deg,
      rgba(231, 111, 81, 0.17),
      rgba(255, 255, 255, 0.65)
    );
}

.project-icon {
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;

  color: var(--white);
  border-radius: 18px 18px 18px 6px;
}

.project-icon svg {
  width: 34px;
  height: 34px;
}

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

.project-card-yellow .project-icon {
  color: var(--ink);
  background: var(--yellow);
}

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

.project-category {
  margin-bottom: 0.6rem;

  color: var(--teal-dark);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.project-card p:last-child {
  margin-bottom: 0;

  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.62;
}

/* =========================================================
   COMPLETED PROJECTS
========================================================= */

.projects-done-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.done-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;

  min-height: 260px;
  padding: 1.35rem;

  border: 1px solid var(--border);
  border-radius: 22px 22px 22px 8px;
  background: rgba(255, 255, 255, 0.5);

  box-shadow:
    0 8px 20px rgba(63, 48, 26, 0.045);

  transition: var(--transition);
}

.done-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.done-icon {
  display: grid;
  place-items: center;

  width: 50px;
  height: 50px;

  color: var(--white);
  border-radius: 16px 16px 16px 5px;

  font-size: 1.5rem;
  font-weight: 800;
}

.done-icon-teal {
  background: var(--teal);
}

.done-icon-yellow {
  color: var(--ink);
  background: var(--yellow);
}

.done-icon-coral {
  background: var(--coral);
}

.done-content h3 {
  margin-bottom: 0.8rem;
}

.done-content > p {
  margin-bottom: 1rem;

  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.done-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;

  transition: var(--transition);
}

.done-link:hover {
  gap: 0.65rem;
  color: var(--teal-deep);
}

.done-link-yellow {
  color: var(--yellow-dark);
}

.done-link-yellow:hover {
  color: #855f12;
}

.done-link-coral {
  color: var(--coral-dark);
}

.done-link-coral:hover {
  color: #8f3525;
}

.projects-done-actions {
  display: flex;
  justify-content: center;

  margin-top: 1.2rem;
}

.projects-toggle {
  min-width: 220px;
}

.project-card-enter {
  animation: project-enter 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes project-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   SKILLS
========================================================= */

.skills-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.skills-panel {
  min-height: 250px;
  padding: 1.4rem;

  border: 1px solid var(--border);
  border-radius: 22px 22px 22px 8px;

  transition: var(--transition);
}

.skills-panel:hover {
  transform: translateY(-4px) rotate(-0.2deg);
  box-shadow: var(--shadow);
}

.skills-panel-teal {
  background:
    linear-gradient(
      145deg,
      rgba(36, 157, 143, 0.17),
      rgba(255, 255, 255, 0.62)
    );
}

.skills-panel-yellow {
  background:
    linear-gradient(
      145deg,
      rgba(233, 196, 106, 0.32),
      rgba(255, 255, 255, 0.62)
    );
}

.skills-panel-coral {
  background:
    linear-gradient(
      145deg,
      rgba(231, 111, 81, 0.18),
      rgba(255, 255, 255, 0.62)
    );
}

.skills-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  margin-bottom: 1.2rem;
}

.skills-symbol {
  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;

  border-radius: 15px 15px 15px 5px;

  font-size: 1.4rem;
}

.skills-panel-teal .skills-symbol {
  color: var(--white);
  background: var(--teal);
}

.skills-panel-yellow .skills-symbol {
  color: var(--ink);
  background: var(--yellow);
}

.skills-panel-coral .skills-symbol {
  color: var(--white);
  background: var(--coral);
}

.skills-panel h3 {
  color: var(--ink);
}

.skills-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.skills-panel li {
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
}

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

.contact-section {
  padding-bottom: 5.5rem;
}

.contact-box {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);

  padding: clamp(2rem, 5vw, 3.6rem);

  border: 1px solid rgba(35, 54, 47, 0.13);
  border-radius: 34px 22px 34px 12px;

  background:
    linear-gradient(
      135deg,
      rgba(233, 196, 106, 0.22),
      rgba(255, 255, 255, 0.58) 45%,
      rgba(36, 157, 143, 0.13)
    );

  box-shadow: var(--shadow);
}

.contact-box::before {
  content: "";

  position: absolute;
  top: -24px;
  right: 20%;

  width: 130px;
  height: 9px;

  border-radius: 999px;
  background: var(--coral);

  transform: rotate(-4deg);
}

.contact-box::after {
  content: "";

  position: absolute;
  right: -20px;
  bottom: 25px;

  width: 130px;
  height: 60px;

  opacity: 0.2;
  border: 3px solid var(--teal);
  border-left: 0;
  border-radius: 0 100% 100% 0;

  transform: rotate(-10deg);
}

.contact-copy {
  position: relative;
  z-index: 2;
}

.contact-copy h2 {
  max-width: 12ch;
}

.contact-copy h2 span {
  color: var(--coral);
}

.contact-copy > p {
  max-width: 58ch;
  margin-block: 1.2rem 0;

  color: var(--ink-soft);
  line-height: 1.75;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  margin-top: 1.5rem;
  padding: 0.65rem 0.85rem;

  color: var(--ink);
  border: 1px solid rgba(35, 54, 47, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);

  font-size: 0.78rem;
  font-weight: 700;
}

.availability-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;
  background: var(--teal);

  box-shadow:
    0 0 0 5px
    rgba(36, 157, 143, 0.14);
}

.availability-dot-internship {
  width: 9px;
  height: 9px;

  border-radius: 50%;
  background: var(--coral);

  box-shadow:
    0 0 0 5px
    rgba(157, 103, 36, 0.14);
}


.contact-links {
  position: relative;
  z-index: 2;

  display: grid;
  align-content: center;
  gap: 0.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;

  padding: 0.8rem;

  color: var(--ink);
  border-bottom: 1px solid rgba(35, 54, 47, 0.11);

  text-decoration: none;

  transition: var(--transition);
}

.contact-link:hover {
  padding-left: 1rem;
  background: rgba(255, 255, 255, 0.25);
}

.contact-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;

  width: 42px;
  height: 42px;

  color: var(--white);
  border-radius: 13px 13px 13px 4px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-icon-teal {
  background: var(--teal);
}

.contact-icon-dark {
  background: #2f3935;
}

.contact-icon-blue {
  background: #3272a8;
}

.contact-icon-coral {
  background: var(--coral);
}

.contact-info {
  display: grid;
  gap: 0.1rem;
}

.contact-name {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
}

.contact-value {
  color: var(--ink-soft);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

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

.site-footer {
  color: var(--white);
  background: var(--teal);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  min-height: 84px;

  font-size: 0.8rem;
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);

  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 {
  transition-delay: 120ms;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5rem;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-panel {
    max-width: 780px;
  }

  .cards-grid,
  .skills-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid .project-card:last-child,
  .skills-layout .skills-panel:last-child {
    grid-column: span 2;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 70px;
  }

  .container {
    width: min(calc(100% - 1.4rem), var(--max-width));
  }

  .nav-wrap {
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-block: 3.8rem 2.5rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .section {
    padding-block: 4.3rem;
  }

  .cards-grid,
  .skills-layout,
  .projects-done-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid .project-card:last-child,
  .skills-layout .skills-panel:last-child {
    grid-column: span 1;
  }

  .project-card {
    min-height: 200px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 17px;
    height: 21px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2.05rem, 11vw, 3rem);
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

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

  .card-main,
  .waveform-card {
    grid-column: span 1;
  }

  .card-main {
    min-height: 330px;
  }

  .scribble-leaf {
    opacity: 0.14;
  }

  .project-card,
  .done-card {
    grid-template-columns: 1fr;
  }

  .project-icon,
  .done-icon {
    width: 48px;
    height: 48px;
  }

  .contact-box {
    padding: 1.4rem;
    border-radius: 26px 18px 26px 10px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding-block: 1.3rem;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.location-card,
.waveform-card {
  width: 100%;
  grid-column: span 2;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* =========================================================
   AUDIOVISUAL CANVAS
========================================================= */

.audiovisual-section {
  position: relative;
  overflow: hidden;

  border-block: 1px solid rgba(35, 54, 47, 0.08);

  background:
    linear-gradient(
      180deg,
      rgba(36, 157, 143, 0.06),
      rgba(233, 196, 106, 0.09) 48%,
      rgba(231, 111, 81, 0.05)
    );
}

.audiovisual-section::before {
  content: "";

  position: absolute;
  top: 54px;
  left: -25px;

  width: 180px;
  height: 14px;

  border-radius: 999px;
  background: var(--yellow);

  opacity: 0.52;
  transform: rotate(-5deg);
}

.audiovisual-section::after {
  content: "";

  position: absolute;
  right: 2%;
  bottom: 55px;

  width: 130px;
  height: 50px;

  border: 4px solid var(--coral);
  border-left: 0;
  border-radius: 0 100% 100% 0;

  opacity: 0.2;
  transform: rotate(9deg);
}

.audiovisual-heading {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;

  max-width: none;
}

.audiovisual-heading h2 {
  max-width: 16ch;
}

.instagram-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;

  margin-bottom: 0.4rem;
  padding: 0.7rem 0.9rem;

  color: var(--coral-dark);
  border: 1px solid rgba(231, 111, 81, 0.3);
  border-radius: 15px 15px 15px 5px;
  background: rgba(255, 255, 255, 0.48);

  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;

  transition: var(--transition);
}

.instagram-profile-link:hover {
  gap: 0.75rem;
  color: var(--white);
  border-color: var(--coral);
  background: var(--coral);

  transform: translateY(-2px) rotate(-0.4deg);
}

/* The collage canvas */

.visual-canvas {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 74px;
  gap: 1rem;

  padding: 1rem;

  border: 1px solid rgba(35, 54, 47, 0.1);
  border-radius: 32px 20px 34px 16px;

  background:
    linear-gradient(
      rgba(255, 255, 255, 0.38),
      rgba(255, 255, 255, 0.2)
    );

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 18px 45px rgba(63, 48, 26, 0.07);
}

.canvas-item {
  position: relative;
  overflow: hidden;

  min-height: 180px;

  color: var(--white);
  border: 5px solid var(--cream-light);
  border-radius: 22px 14px 24px 10px;

  background: var(--teal);

  box-shadow:
    0 12px 25px rgba(63, 48, 26, 0.12);

  text-decoration: none;

  transform: rotate(var(--canvas-rotation, 0deg));

  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.canvas-item:nth-child(1) {
  --canvas-rotation: -0.8deg;
}

.canvas-item:nth-child(2) {
  --canvas-rotation: 1.1deg;
}

.canvas-item:nth-child(3) {
  --canvas-rotation: -1.2deg;
}

.canvas-item:nth-child(4) {
  --canvas-rotation: 0.7deg;
}

.canvas-item:nth-child(5) {
  --canvas-rotation: -0.5deg;
}

.canvas-item:nth-child(6) {
  --canvas-rotation: 1.3deg;
}

.canvas-item:nth-child(7) {
  --canvas-rotation: -0.7deg;
}

.canvas-item:nth-child(8) {
  --canvas-rotation: 0.9deg;
}

.canvas-item:hover {
  z-index: 5;

  border-color: var(--white);

  box-shadow:
    0 22px 45px rgba(63, 48, 26, 0.19);

  transform:
    translateY(-7px)
    rotate(0deg)
    scale(1.015);
}

.canvas-item:focus-visible {
  z-index: 6;
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.canvas-item img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 300ms ease;
}

.canvas-item:hover img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

/* Individual canvas sizes */

.canvas-item-large {
  grid-column: span 7;
  grid-row: span 5;
}

.canvas-item-tall {
  grid-column: span 5;
  grid-row: span 5;
}

.canvas-item-small {
  grid-column: span 4;
  grid-row: span 4;
}

.canvas-item-medium {
  grid-column: span 5;
  grid-row: span 4;
}

.canvas-item-wide {
  grid-column: span 8;
  grid-row: span 4;
}

/* Colour accents */

.canvas-item-teal {
  background: var(--teal);
}

.canvas-item-yellow {
  background: var(--yellow);
}

.canvas-item-coral {
  background: var(--coral);
}

/* Label overlay */

.canvas-overlay {
  position: absolute;
  inset: auto 0 0;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.3rem 1rem;

  padding: 3.6rem 1.15rem 1rem;

  color: var(--white);

  background:
    linear-gradient(
      to top,
      rgba(20, 35, 30, 0.9),
      rgba(20, 35, 30, 0.38) 62%,
      transparent
    );
}

.canvas-type {
  grid-column: 1 / -1;

  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.canvas-overlay strong {
  max-width: 18ch;

  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.canvas-arrow {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  border-radius: 12px 12px 12px 4px;
  background: rgba(255, 255, 255, 0.18);

  font-size: 1rem;

  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.canvas-item:hover .canvas-arrow {
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(8deg);
}

.canvas-note {
  position: relative;
  z-index: 2;

  max-width: 50ch;
  margin: 1.2rem 0 0 auto;

  color: var(--ink-soft);
  font-size: 0.84rem;
  font-style: italic;
  text-align: right;
}

/* =========================================================
   AUDIOVISUAL CANVAS — RESPONSIVE
========================================================= */

@media (max-width: 1020px) {
  .visual-canvas {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: 68px;
  }

  .canvas-item-large {
    grid-column: span 5;
  }

  .canvas-item-tall {
    grid-column: span 3;
  }

  .canvas-item-small {
    grid-column: span 3;
  }

  .canvas-item-medium {
    grid-column: span 4;
  }

  .canvas-item-wide {
    grid-column: span 5;
  }
}

@media (max-width: 780px) {
  .audiovisual-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .instagram-profile-link {
    margin-bottom: 0;
  }

  .visual-canvas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 130px;

    padding: 0.75rem;
  }

  .canvas-item-large,
  .canvas-item-tall,
  .canvas-item-wide {
    grid-column: span 2;
    grid-row: span 3;
  }

  .canvas-item-small,
  .canvas-item-medium {
    grid-column: span 1;
    grid-row: span 2;
  }
}

@media (max-width: 560px) {
  .visual-canvas {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;

    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .canvas-item,
  .canvas-item-large,
  .canvas-item-tall,
  .canvas-item-small,
  .canvas-item-medium,
  .canvas-item-wide {
    width: 100%;
    min-height: 310px;

    transform: none;
  }

  .canvas-item:nth-child(even) {
    min-height: 250px;
  }

  .canvas-note {
    text-align: left;
  }

  .instagram-profile-link {
    width: 100%;
    justify-content: center;
  }

  .location-map {
    cursor: pointer;
}
}