 
  :root {
  --ink: #17110d;
  --charcoal: #201b18;
  --brown-deep: #3a2418;
  --brown: #7b4b2a;
  --brown-soft: #b07a4a;
  --cream: #f3eadc;
  --paper: #e6d4bd;
  --muted: #bda993;
  --cyan: #61fff0;
  --green: #8fbf8f;
  --card: rgba(45, 34, 27, 0.82);
  --line: rgba(243, 234, 220, 0.14);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

/* ===== Accessibility: Keyboard Focus ===== */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* Hides the default browser outline for mouse clicks */
:focus:not(:focus-visible) {
  outline: none;
}


html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(176, 122, 74, 0.22), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(97, 255, 240, 0.05), transparent 18%),
    radial-gradient(circle at 28% 72%, rgba(123, 75, 42, 0.12), transparent 24%),
    linear-gradient(135deg, #120d0a 0%, #1b1410 42%, #0f0d0c 100%);
  color: var(--cream);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  z-index: 1;
}

/* ===== Global section scaffolding ===== */

section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.section-head p {
  margin: 0;
  max-width: 420px;
  color: rgba(243, 234, 220, 0.68);
  line-height: 1.5;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-soft);
  font-weight: 800;
}

.section-label::after {
  content: "";
  width: 92px;
  height: 1px;
  background: linear-gradient(90deg, rgba(176, 122, 74, 0.85), rgba(97, 255, 240, 0.85));
  opacity: 0.9;
}

.section-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 3px rgba(97, 255, 240, 0.08);
  order: 3;
  margin-left: 2px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(32, 27, 24, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  padding: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(243, 234, 220, 0.18);
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button.primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

/* ===== Header ===== */

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(243, 234, 220, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(58, 36, 24, 0.16),
      rgba(23, 17, 13, 0.78) 18%,
      rgba(23, 17, 13, 0.78) 82%,
      rgba(58, 36, 24, 0.14)
    );
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(243, 234, 220, 0.1);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  display: block;
}

.brand-mark-ring {
  fill: none;
  stroke: rgba(243, 234, 220, 0.15);
  stroke-width: 1.5;
}

.brand-mark-wave {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.brand-subtitle {
  margin-top: 5px;
  font-size: 0.64rem;
 
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 234, 220, 0.75);  
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  
  color: rgba(243, 234, 220, 0.75);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-link:hover {
  color: rgba(243, 234, 220, 1);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.is-active {
  color: var(--cream);
}

.nav-link.is-active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(97, 255, 240, 0.55);
  margin-right: 8px;
  flex-shrink: 0;
}

/* ===== Hero ===== */

/* ===== Hero ===== */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 70px;
}

.hero-copy {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(176, 122, 74, 0.46);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(58, 36, 24, 0.42);
  font-size: 0.86rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(243, 234, 220, 0.03);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(97, 255, 240, 0.7);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  margin: 24px 0 22px;
  max-width: 780px;
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(243, 234, 220, 0.74);
  text-shadow: none;
}

.lead {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  color: rgba(243, 234, 220, 0.8);
  max-width: 620px;
  line-height: 1.56;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

 .photo-card {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(97, 255, 240, 0.16);
  background: rgba(18, 13, 10, 0.92);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(243, 234, 220, 0.04);
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 36, 24, 0.1);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(26, 22, 20, 0.42), transparent 34%);
  pointer-events: none;
  z-index: 2;
}

.floating-note {
  position: absolute;
  left: -26px;
  bottom: 56px;
  max-width: 270px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(136, 83, 42, 0.94), rgba(88, 50, 26, 0.92));
  border: 1px solid rgba(243, 234, 220, 0.14);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(243, 234, 220, 0.03);
}

.floating-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.2;
}

.floating-note p {
  margin: 0;
  color: rgba(243, 234, 220, 0.86);
  line-height: 1.5;
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 110px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .floating-note {
    left: 18px;
    bottom: 18px;
    max-width: 250px;
  }
}

@media (max-width: 620px) {
  .hero {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    padding: 110px 0 58px;
  }

  .hero h1 {
    margin: 20px 0 18px;
  }

  .lead {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .photo-card {
    width: 100%;
    max-width: 440px;
  }

  .floating-note {
    position: static;
    margin-top: 16px;
    max-width: none;
  }
}

/* ===== Projects ===== */
/* ===== Featured Work ===== */

.featured-projects {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.featured-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.featured-head-left h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.featured-head-copy {
  margin: 0;
  max-width: 500px;
  color: rgba(243, 234, 220, 0.66);
  font-size: 1.02rem;
  line-height: 1.58;
  justify-self: end;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.featured-card {
  min-height: 432px;
  padding: 24px 24px 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(176, 122, 74, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(22, 16, 13, 0.98), rgba(15, 11, 9, 0.98));
  border: 1px solid rgba(176, 122, 74, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(243, 234, 220, 0.025),
    0 18px 48px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.featured-card:hover {
  transform: translateY(-6px);
  border-color: rgba(97, 255, 240, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(243, 234, 220, 0.035),
    0 22px 56px rgba(0, 0, 0, 0.32);
}

.featured-visual {
  height: 148px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(176, 122, 74, 0.14);
  background:
    linear-gradient(180deg, rgba(31, 23, 18, 0.98), rgba(16, 12, 10, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(243, 234, 220, 0.02),
    0 10px 20px rgba(0, 0, 0, 0.18);
  margin-bottom: 18px;
  position: relative;
}

.featured-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(243, 234, 220, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.2;
  pointer-events: none;
}

.featured-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.featured-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(97, 255, 240, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(97, 255, 240, 0.08);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.featured-card h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  letter-spacing: -0.045em;
  line-height: 1.14;
  color: var(--cream);
  max-width: 14ch;
}

.featured-card p {
  margin: 0;
  color: rgba(243, 234, 220, 0.62);
  line-height: 1.58;
  font-size: 0.98rem;
  max-width: 30ch;
}

 .featured-link {
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.featured-link:hover {
  color: var(--cream);
}

.featured-arrow {
  color: var(--cyan);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.featured-card:hover .featured-arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 1100px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .featured-head {
    grid-template-columns: 1fr;
  }

  .featured-head-copy {
    justify-self: start;
    max-width: 42ch;
  }
}

@media (max-width: 620px) {
  .featured-projects {
    width: min(100% - 24px, 1180px);
    padding: 58px 0;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    min-height: 0;
    padding: 20px;
  }

  .featured-visual {
    height: 160px;
  }
}

/* ===== About page section ===== */

.about-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
  
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.about-main,
.about-photo,
.about-summary {
  border-radius: 34px;
  background: rgba(32, 27, 24, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  border: 1px solid var(--line);
  padding: 28px;
}

.about-lead {
  margin: 0 0 18px;
  font-size: 1.22rem;
  line-height: 1.7;
  color: rgba(243, 234, 220, 0.86);
}

 .about-copy {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(243, 234, 220, 0.74);
}

.about-copy:last-child {
  margin-bottom: 0;
}

.about-side {
  display: grid;
  gap: 20px;
}

.about-photo {
  padding: 18px;
}

.about-photo img {
  width: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(243, 234, 220, 0.1);
  margin-bottom: 16px;
}

.about-photo figcaption {
  color: rgba(243, 234, 220, 0.7);
  line-height: 1.6;
  font-size: 0.96rem;
}

.about-photo figcaption strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cream);
}

.about-summary h3 {
  margin: 0 0 14px;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.about-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(243, 234, 220, 0.76);
  line-height: 1.7;
}

.about-list li + li {
  margin-top: 8px;
}

.about-side-copy {
  margin: 0;
  color: rgba(243, 234, 220, 0.74);
  line-height: 1.65;
}

/* ===== Studio ===== */

.studio-strip {
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}

.image-slot {
  min-height: 270px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(23, 17, 13, 0.08), rgba(23, 17, 13, 0.74)),
    url("studio-working-shot.jpg") center/cover;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  position: relative;
}

.image-slot:nth-child(2) {
  background:
    linear-gradient(rgba(23, 17, 13, 0.12), rgba(23, 17, 13, 0.74)),
    url("mixing-console-shot.jpg") center/cover;
}

.image-slot:nth-child(3) {
  background:
    linear-gradient(rgba(23, 17, 13, 0.12), rgba(23, 17, 13, 0.74)),
    url("synth-profile-shot.jpg") center/cover;
}

.image-slot span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  background: rgba(23, 17, 13, 0.68);
  border: 1px solid rgba(243, 234, 220, 0.12);
  border-radius: 999px;
  color: rgba(243, 234, 220, 0.78);
  font-size: 0.85rem;
  backdrop-filter: blur(14px);
}

/* ===== Skills summary ===== */
/*
.about-skills-section {
  width: min(100% - 48px, 980px);
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
*/
.panel-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(24, 18, 15, 0.78);
  padding: clamp(24px, 4vw, 42px);
  min-height: 0;
  height: auto;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.card-eyebrow {
  color: #c78a55;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.line {
  width: 80px;
  height: 1px;
  background: rgba(76, 255, 239, 0.8);
}

.dot {
  width: 9px;
  height: 9px;
  border: 2px solid #4cffee;
  border-radius: 50%;
}

.panel-card h2 {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.panel-card p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
}

.skills-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.skill-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.skill-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(76, 255, 239, 0.12);
  color: #4cffee;
  font-size: 0.65rem;
}

.skill-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.1;
}

.skill-item p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tags span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
}



/*** about section on home page ***/


#about { scroll-margin-top: 140px; max-width: 960px; display: block; margin: auto;}

/** ===== Contact ===== **/

.contact {
  padding-bottom: 110px;
}

.contact-card-refined {
  border-radius: 40px;
  border: 1px solid rgba(243, 234, 220, 0.14);
  background:
    radial-gradient(circle at 18% 22%, rgba(176, 122, 74, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(32, 27, 24, 0.92), rgba(58, 36, 24, 0.72));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  padding: clamp(32px, 7vw, 72px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/*
.contact-card-refined::after {
  content: "";
  position: absolute;
  right: 70px;
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translateY(-50%) rotate(12deg);
  opacity: 0.06;
  background:
    linear-gradient(
      90deg,
      transparent 0 8%,
      var(--cream) 8% 14%,
      transparent 14% 28%,
      var(--cream) 28% 34%,
      transparent 34% 48%,
      var(--cream) 48% 54%,
      transparent 54% 68%,
      var(--cream) 68% 74%,
      transparent 74% 100%
    );
  pointer-events: none;
}

*/
.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.contact-copy p {
  margin: 0;
  color: rgba(243, 234, 220, 0.72);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.6;
}

.contact-links-refined {
  display: grid;
  gap: 14px;
  min-width: 240px;
  position: relative;
  z-index: 1;
}

.contact-link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 0 22px;
  border-radius: 18px;
  background: rgba(243, 234, 220, 0.04);
  border: 1px solid rgba(243, 234, 220, 0.12);
  color: var(--cream);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(97, 255, 240, 0.34);
  background: rgba(243, 234, 220, 0.07);
}

.contact-link-icon {
  color: rgba(243, 234, 220, 0.42);
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

/* ===== Footer ===== */

footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: rgba(243, 234, 220, 0.75); /* Updated from 0.46 */
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .studio-strip {
    grid-template-columns: 1fr;
  }

  .contact-card-refined {
    grid-template-columns: 1fr;
  }

  .contact-card-refined::after {
    display: none;
  }

  .contact-links-refined {
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    padding: 12px 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    font-size: 0.58rem;
  }

  .nav-link {
    padding: 0 10px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 760px) {
  .about-skills-section {
    width: min(100% - 28px, 980px);
    padding: 36px 0;
  }

  .skills-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 28px;
    padding: 14px;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 4px;
    max-width: 58%;
  }

  .nav-link {
    min-height: 34px;
    padding: 0 8px;
  }
}

@media (max-width: 620px) {
  .hero {
    width: min(100% - 24px, 1180px);
  }

  section {
    width: min(100% - 24px, 1180px);
    padding: 58px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .floating-note,
  .patch-panel {
    display: none;
  }

  .photo-card {
    transform: none;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .site-nav {
    max-width: none;
    justify-content: space-between;
  }

  .nav-link {
    padding: 0 10px;
  }
}
 






/* Forces the about page to clear the fixed header, beating all other rules */
#about-page  {
  padding-top: 140px;
}

@media (max-width: 620px) {
  #about-page {
    padding-top: 120px; 
  }
}

.about-page, 
.project-page {
  padding-top: 140px !important;
}