
:root {
  --bg: #050505;
  --text: #eee8df;
  --muted: #a49b90;
  --line: rgba(222, 210, 192, 0.10);
  --accent: #ff875b;
  --panel: #171614;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

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

/* Navigation */

.navbar {
  
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    z-index: 10;
    width: min(1120px, calc(100% - 48px));
    min-height: 68px;
    margin: 14px auto 0;
    padding: 12px 22px 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(220, 211, 197, 0.22);
    border-radius: 24px;
    background: rgba(25, 24, 22, 0.92);
    box-shadow: inset 0 1px rgba(255,255,255,0.04);
    backdrop-filter: blur(18px);
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a,
.talk-button {
  font-size: 12px;
  color: #d2ccc3;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.text-button:hover {
  color: var(--accent);
}

.talk-button {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 13px 16px;
  border: 1px solid #615a51;
  border-radius: 14px;
  background: #24221f;
}

.talk-button span {
  font-size: 18px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 650px;
  height: calc(100svh - 96px);
  max-height: 850px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      ellipse at 50% 48%,
      rgba(57, 43, 29, 0.12),
      transparent 44%
    );
}

/* Fine vertical grid */

.hero::before {
  content: "";
  position: absolute;
  inset: 0 5%;
  z-index: -1;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(20% - 1px),
    var(--line) calc(20% - 1px),
    var(--line) 20%
  );
  opacity: 0.65;
  pointer-events: none;
}

.hero-label,
.location-label,
.side-info,
.hero-footer {
  position: absolute;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 1.3px;
  line-height: 1.9;
  color: var(--muted);
}

.hero-label {
  top: 32px;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.orange-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.location-label {
  top: 32px;
  right: 5%;
}

.side-info {
  top: 27%;
  left: 5%;
}

.section-number {
  margin-bottom: 35px;
  color: var(--accent);
}

.side-info .plus {
  display: block;
  margin-bottom: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  color: var(--accent);
}

/* Portrait placeholder */

.portrait {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 340px;
  height: 300px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    #11100f,
    #080808 80%,
    transparent
  );
}

.portrait-placeholder {
  font-family: "Playfair Display", serif;
  font-size: 100px;
  color: rgba(238, 232, 223, 0.25);
  letter-spacing: -8px;
}

.portrait-caption {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: 1.5px;
  color: #dfa155;
}

/* Main heading */

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92%;
  transform: translate(-50%, 0);
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  font: 500 9px "DM Mono", monospace;
  letter-spacing: 2px;
  color: #bd7420;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(64px, 10.2vw, 148px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -6px;
  white-space: nowrap;
}

.hero-content h1 em,
.next-section h2 em {
  font-weight: 400;
}

.hero-description {
  max-width: 410px;
  margin: 22px auto 16px;
  color: #d0cbc4;
  font-size: 14px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.primary-button {
  min-width: 178px;
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px solid #62584b;
  border-radius: 30px;
  background: #171614;
  font-size: 12px;
  transition: background 0.3s, transform 0.3s;
}

.primary-button:hover {
  background: #302a23;
  transform: translateY(-2px);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #655c50;
  font-size: 12px;
  transition: color 0.3s;
}

.hero-footer {
  right: 5%;
  bottom: 14px;
  left: 5%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.hero-footer span:first-child {
  border-left: 1px solid var(--accent);
  padding-left: 14px;
}

/* Sections below hero */

.next-section {
  min-height: 400px;
  padding: 120px 10%;
  border-top: 1px solid var(--line);
}

.next-section h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -2px;
}

/* Responsive */

@media (max-width: 760px) {
  .navbar {
    width: calc(100% - 24px);
    min-height: 62px;
    padding: 12px 16px;
  }

  .logo {
    font-size: 20px;
  }

  .nav-links {
    display: none;
  }

  .talk-button {
    padding: 10px 12px;
    gap: 12px;
  }

  .hero {
    min-height: 690px;
    height: calc(100svh - 90px);
  }

  .hero-label {
    top: 24px;
    left: 6%;
    max-width: 60%;
    font-size: 8px;
  }

  .location-label {
    top: 55px;
    right: 6%;
    font-size: 8px;
  }

  .side-info {
    display: none;
  }

  .portrait {
    top: 95px;
    width: 260px;
    height: 235px;
  }

  .portrait-placeholder {
    font-size: 78px;
  }

  .hero-content {
    top: 43%;
    width: 94%;
  }

  .hero-content h1 {
    font-size: clamp(46px, 11vw, 78px);
    letter-spacing: -3px;
    white-space: normal;
  }

  .hero-description {
    max-width: 330px;
    font-size: 13px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-footer {
    flex-wrap: wrap;
    font-size: 8px;
  }

  .hero-footer span:nth-child(2) {
    display: none;
  }

  .next-section {
    padding: 90px 7%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==============================
   PROJECTS — EDITORIAL DESIGN
================================ */

.projects-section {
  position: relative;
  padding: 32px 5% 100px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(112, 83, 51, 0.07),
      transparent 58%
    ),
    #050505;
}

.projects-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 24px;
  border-bottom: 1px solid var(--line);
}

.projects-top .eyebrow {
  margin: 0;
}

.projects-count,
.section-kicker {
  font: 500 9px "DM Mono", monospace;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 70px 0 48px;
}

.projects-heading h2 {
  margin-top: 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 7vw, 94px);
  font-weight: 400;
  letter-spacing: -3px;
  line-height: 1.05;
}

.projects-heading h2 em {
  color: #c9b49a;
  font-weight: 400;
}

.projects-intro {
  max-width: 310px;
  padding-bottom: 8px;
  color: #a8a198;
  font-size: 13px;
  line-height: 1.9;
}

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

.project-card {
  min-width: 0;
}

.project-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.27 / 1;
  overflow: hidden;
  border: 1px solid rgba(220, 205, 184, 0.14);
  background: #12110f;
  isolation: isolate;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(
      rgba(225, 210, 189, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(225, 210, 189, 0.045) 1px,
      transparent 1px
    );
  background-size: 48px 48px;
  transition: transform 0.7s ease, opacity 0.5s ease;
}

.project-card:hover .project-visual::before {
  transform: scale(1.08);
  opacity: 0.7;
}

.student-visual {
  background:
    radial-gradient(
      ellipse at center,
      rgba(103, 82, 54, 0.2),
      transparent 70%
    ),
    #11100e;
}

.dsa-visual {
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(88, 76, 58, 0.2),
      transparent 65%
    ),
    #0e0e0d;
}

.visual-topline {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: #a89c8a;
  font: 9px "DM Mono", monospace;
  letter-spacing: 1px;
}

.visual-index {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(230, 218, 199, 0.45);
  font: 10px "DM Mono", monospace;
}

/* Project 1: code window */

.student-window {
  width: min(78%, 390px);
  border: 1px solid rgba(223, 208, 184, 0.25);
  background: rgba(8, 8, 8, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

.project-card:hover .student-window {
  transform: translateY(-7px);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: #8d857a;
  font: 9px "DM Mono", monospace;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #62564a;
}

.window-dots i:first-child {
  background: #bb7e5c;
}

.code-preview {
  padding: 22px 18px 26px;
  font: clamp(9px, 1.2vw, 12px) "DM Mono", monospace;
  line-height: 2.2;
  color: #d9d0c3;
}

.code-indent {
  padding-left: 16px;
}

.code-indent-2 {
  padding-left: 32px;
  color: #b7b8a0;
}

.code-gap {
  margin-top: 14px;
}

.code-muted {
  color: #c08c6b;
}

.code-accent {
  color: #d5c59d;
}

/* Project 2: abstract DSA artwork */

.dsa-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78%;
}

.dsa-number {
  display: grid;
  place-items: center;
  width: clamp(48px, 7vw, 84px);
  aspect-ratio: 1;
  border: 1px solid rgba(207, 182, 146, 0.45);
  color: #b8aa97;
  font: 16px "DM Mono", monospace;
  transition:
    background 0.4s ease,
    color 0.4s ease,
    transform 0.4s ease;
}

.dsa-number.active {
  color: #17120c;
  background: #d7c5a9;
  transform: translateY(-10px);
}

.project-card:hover .dsa-number:not(.active) {
  transform: translateY(-4px);
}

.dsa-line {
  height: 1px;
  flex: 1;
  background: rgba(207, 182, 146, 0.45);
}

.dsa-caption {
  position: absolute;
  bottom: 28%;
  display: flex;
  gap: 12px;
  color: #a99b87;
  font: 9px "DM Mono", monospace;
  letter-spacing: 1.5px;
}

/* Project information */

.project-info {
  padding: 22px 2px 28px;
}

.project-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-title-row h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 2.3vw, 29px);
  font-weight: 400;
  line-height: 1.35;
}

.project-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border: 1px solid #494137;
  border-radius: 50%;
  color: #e3d7c6;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.project-card:hover .project-arrow {
  transform: rotate(45deg);
  background: #e3d7c6;
  color: #12100d;
}

.project-info > p {
  max-width: 440px;
  margin-top: 12px;
  color: #a59d93;
  font-size: 13px;
  line-height: 1.9;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.project-meta span {
  padding: 7px 9px;
  border: 1px solid rgba(220, 205, 184, 0.16);
  color: #b7ab9b;
  font: 8px "DM Mono", monospace;
  letter-spacing: 0.7px;
}

.projects-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #8f867a;
  font: 9px "DM Mono", monospace;
  letter-spacing: 1px;
}

/* Responsive projects */

@media (max-width: 760px) {
  .projects-section {
    padding: 28px 6% 70px;
  }

  .projects-heading {
    display: block;
    padding: 52px 0 30px;
  }

  .projects-heading h2 {
    font-size: clamp(44px, 11vw, 68px);
    letter-spacing: -2px;
  }

  .projects-intro {
    margin-top: 20px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-visual {
    aspect-ratio: 1.1 / 1;
  }

  .code-preview {
    font-size: 11px;
  }

  .projects-bottom {
    font-size: 8px;
  }
}


/* ==============================
   ABOUT — EDITORIAL LAYOUT
================================ */

.about-section {
  padding: 24px 5% 90px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(
      ellipse at 28% 48%,
      rgba(100, 72, 43, 0.10),
      transparent 48%
    ),
    #050505;
}

.about-topline {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 22px;
  border-bottom: 1px solid var(--line);
  color: #b5a58f;
  font: 9px "DM Mono", monospace;
  letter-spacing: 1.3px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
  min-height: 480px;
  padding: 55px 0 45px;
}

/* Geometric artwork */

.about-artwork {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 370px;
  overflow: hidden;
}

.orbit-square {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid rgba(180, 145, 102, 0.55);
  transition:
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease;
}

.square-one {
  width: 200px;
}

.square-two {
  width: 160px;
}

.square-three {
  width: 120px;
}

.square-four {
  width: 80px;
}

.square-five {
  width: 40px;
  background: rgba(187, 148, 99, 0.06);
}

.about-artwork:hover .square-one {
  transform: rotate(8deg);
}

.about-artwork:hover .square-two {
  transform: rotate(-8deg);
}

.about-artwork:hover .square-three {
  transform: rotate(12deg);
}

.about-artwork:hover .square-four {
  transform: rotate(-12deg);
}

.artwork-caption {
  position: absolute;
  bottom: 5px;
  color: #968571;
  font: 9px "DM Mono", monospace;
  letter-spacing: 3px;
}

/* About text */

.about-copy > .eyebrow {
  margin-bottom: 22px;
}

.about-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 4.2vw, 59px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2px;
}

.about-copy h2 em {
  color: #cbb59a;
  font-weight: 400;
}

.about-lead {
  margin-top: 24px;
  color: #e0d9d0;
  font-size: 15px;
  line-height: 1.8;
}

.about-description {
  margin-top: 16px;
  max-width: 480px;
  color: #a49c92;
  font-size: 13px;
  line-height: 2;
}

.about-copy .text-button {
  margin-top: 24px;
}

.about-signoff {
  margin-top: 45px;
  color: #8f8579;
  font: 8px "DM Mono", monospace;
  letter-spacing: 1.4px;
  line-height: 2;
}

/* Three cards */

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pillar-card {
  position: relative;
  min-height: 160px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  color: #e7ded1;
  border: 1px solid rgba(220, 205, 184, 0.28);
  background: transparent;
  font-family: "DM Sans", sans-serif;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.pillar-card:hover,
.pillar-card.active {
  background: #e4d8c6;
  color: #17130f;
  border-color: #e4d8c6;
}

.pillar-number {
  font: 9px "DM Mono", monospace;
  letter-spacing: 1px;
}

.pillar-title {
  margin-top: 24px;
  font-family: "Playfair Display", serif;
  font-size: 28px;
}

.pillar-description {
  margin-top: 8px;
  max-width: 240px;
  color: #a99f92;
  font-size: 12px;
  line-height: 1.7;
}

.pillar-card.active .pillar-description,
.pillar-card:hover .pillar-description {
  color: #5b5044;
}

.pillar-arrow {
  position: absolute;
  top: 17px;
  right: 18px;
  font-size: 16px;
}

.pillar-status {
  margin-top: 18px;
  color: #9c8c77;
  font: 9px "DM Mono", monospace;
  letter-spacing: 1px;
}

/* Mobile layout */

@media (max-width: 760px) {
  .about-section {
    padding: 22px 6% 65px;
  }

  .about-topline {
    font-size: 8px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 30px 0 35px;
  }

  .about-artwork {
    min-height: 260px;
  }

  .square-one {
    width: 170px;
  }

  .square-two {
    width: 135px;
  }

  .square-three {
    width: 100px;
  }

  .square-four {
    width: 65px;
  }

  .square-five {
    width: 32px;
  }

  .about-copy h2 {
    font-size: clamp(38px, 9vw, 54px);
    letter-spacing: -1.5px;
  }

  .about-signoff {
    margin-top: 28px;
  }

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

  .pillar-card {
    min-height: 140px;
  }
}


/* ==============================
   SKILLS — EDITORIAL LIST
================================ */

.skills-section {
  position: relative;
  padding: 110px 7%;
  background: var(--bg);
  color: var(--text);
}

.skills-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.6px;
}

.skills-heading {
  max-width: 800px;
  padding: 75px 0 60px;
}

.skills-heading .eyebrow {
  margin-bottom: 24px;
}

.skills-heading h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2.8px;
}

.skills-heading h2 em {
  color: var(--muted);
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

.skills-intro {
  max-width: 430px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.skills-list {
  border-top: 1px solid var(--line);
}

.skill-row {
  position: relative;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 190px 24px;
  align-items: center;
  gap: 24px;
  min-height: 125px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    padding 0.3s ease,
    border-color 0.3s ease;
}

.skill-number {
  align-self: start;
  padding-top: 7px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.skill-main h3 {
  margin: 0;
  font-size: clamp(19px, 2.5vw, 28px);
  font-weight: 400;
  letter-spacing: -0.7px;
  transition: color 0.3s ease;
}

.skill-main p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.skill-category {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 1.2px;
  line-height: 1.7;
}

.skill-arrow {
  color: var(--muted);
  font-size: 20px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.skill-row:hover,
.skill-row:focus-visible {
  padding-right: 24px;
  padding-left: 24px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom-color: rgba(255, 135, 91, 0.45);
  outline: none;
}

.skill-row:hover .skill-main h3,
.skill-row:focus-visible .skill-main h3 {
  color: var(--accent);
}

.skill-row:hover .skill-arrow,
.skill-row:focus-visible .skill-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.skills-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1px;
}

.skills-footer a {
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0;
  transition: color 0.3s ease;
}

.skills-footer a:hover {
  color: var(--accent);
}

/* Tablet and mobile */
@media (max-width: 760px) {
  .skills-section {
    padding: 80px 6%;
  }

  .skills-heading {
    padding: 55px 0 40px;
  }

  .skills-heading h2 {
    letter-spacing: -1.6px;
  }

  .skill-row {
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    gap: 12px;
    min-height: 115px;
    padding: 22px 6px;
  }

  .skill-category {
    display: none;
  }

  .skill-main h3 {
    font-size: 20px;
  }

  .skill-main p {
    font-size: 11px;
  }

  .skills-footer {
    align-items: flex-start;
    flex-direction: column;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skill-row,
  .skill-main h3,
  .skill-arrow,
  .skills-footer a {
    transition: none;
  }
}


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

.contact-section {
  padding: 90px 7% 28px;
  background: var(--bg);
  color: var(--text);
}

.contact-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
}

.contact-content {
  max-width: 850px;
  padding: 105px 0 100px;
}

.contact-content > .eyebrow {
  margin-bottom: 25px;
}

.contact-content h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -3px;
}

.contact-content h2 em {
  color: var(--muted);
  font-family: "Playfair Display", serif;
  font-weight: 400;
}

.contact-description {
  max-width: 480px;
  margin: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.contact-email {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  max-width: 570px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(13px, 2vw, 18px);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-email-arrow {
  flex-shrink: 0;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.contact-email:hover .contact-email-arrow {
  transform: translate(4px, -4px);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 35px;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-socials a span {
  transition: transform 0.3s ease;
}

.contact-socials a:hover {
  color: var(--accent);
}

.contact-socials a:hover span {
  transform: translate(3px, -3px);
}

.contact-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 1px;
}

.contact-bottom a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-bottom a:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  .contact-section {
    padding: 70px 6% 24px;
  }

  .contact-content {
    padding: 75px 0;
  }

  .contact-content h2 {
    letter-spacing: -1.8px;
  }

  .contact-description {
    font-size: 13px;
  }

  .contact-bottom {
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-email,
  .contact-email-arrow,
  .contact-socials a,
  .contact-socials a span,
  .contact-bottom a {
    transition: none;
  }
}



.hero-portrait {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}


/* Motion ON/OFF control */



.motion-toggle {

    
    
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 5px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.motion-toggle:hover {
  border-color: var(--accent);
}

.motion-indicator {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f10505;
}

.motion-toggle[aria-pressed="false"] .motion-indicator {
  background: var(--muted);
}

.motion-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}


/* Keep Motion toggle visible while scrolling */

#motion-toggle {
  position: fixed;
  right: 24px;
  bottom: 48px;
  z-index: 1100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Mobile positioning */
@media (max-width: 760px) {
  #motion-toggle {
    right: 14px;
    bottom: 14px;
  }
}
