:root {
  --bg: #171c2d;
  --surface: rgba(244, 239, 230, 0.92);
  --surface-solid: #f3ede2;
  --surface-muted: rgba(243, 237, 226, 0.08);
  --text: #f4efe6;
  --muted: #b8c0cf;
  --ink-muted: #5b6272;
  --line: rgba(226, 217, 202, 0.22);
  --accent: #fe7f2d;
  --accent-strong: #ff954d;
  --bg-dark: #101522;
  --skill-hex: #7b68ee;
  --accent-soft: rgba(254, 127, 45, 0.12);
  --max-width: 900px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(67, 87, 120, 0.34), transparent 28%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg) 38%, var(--bg) 100%);
  line-height: 1.6;
}

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

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

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(23, 28, 45, 0.82);
  border-bottom: 1px solid rgba(226, 217, 202, 0.14);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-wordmark {
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-hello {
  color: var(--text);
}

.brand-schalk {
  color: var(--accent);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text);
  left: 0;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.nav-button {
  padding: 0.5rem 0.8rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 8px;
  font-size: 12px;
}

.nav-button:hover,
.nav-button:focus-visible {
  color: var(--bg-dark);
  background: var(--accent-strong);
}

.nav-button-stroke {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--accent);
}

.nav-button-stroke:hover,
.nav-button-stroke:focus-visible {
  background: rgba(254, 127, 45, 0.1);
  color: var(--text);
}

.nav-button-journal {
  display: none;
}

.hero {
  min-height: 100vh;
  padding: 80px 0;
  position: relative;
  display: flex;
  align-items: center;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5.6vw, 4.65rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-title {
  margin-bottom: 1.25rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}

.hero-body {
  max-width: 70%;
}

.hero-body p {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 0.94rem;
}

.hero-copy {
  max-width: var(--max-width);
}

.section {
  padding: 0;
  display: flex;
  align-items: center;
}

.section-shell {
  display: grid;
  gap: 1.75rem;
}

.section-head {
  max-width: 42rem;
}

.section-head-inline {
  max-width: none;
}

.section-label {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.text-accent {
  color: var(--accent);
}

.about-copy,
.project-card,
.contact-form {
  max-width: 56rem;
}

.about-copy {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
  color: var(--text);
  padding: 1.6rem 1.8rem;
}

.about-section {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  padding: 40px;
  display: flex;
  align-items: center;
}

.about-full {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(226, 217, 202, 0.22);
  padding-top: 1.4rem;
  margin-top: 0.4rem;
}

.about-full p {
  margin: 0;
}

.about-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.about-copy p {
  margin-bottom: 1.15rem;
}

.about-column p:last-child {
  margin-bottom: 0;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tool-item span {
  font-size: 0.75rem;
  color: rgba(244,239,230,0.6);
  font-weight: 500;
}

.tool-icon {
  fill: var(--text);
  width: 32px;
  height: 32px;
}

.tool-icon.tool-icon--clickup {
  fill: var(--text);
}

.section-combined {
  position: static;
  display: flex;
  align-items: center;
  padding: 80px;
  margin: 0 auto;
}

.combined-shell {
  width: 100%;
  gap: 4rem;
  justify-content: center;
}

.combined-block {
  display: grid;
  gap: 1.6rem;
  width: min(100%, 76rem);
  margin: 0 auto;
}

.combined-block .section-head {
  width: 100%;
  margin: 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
  gap: 0.8rem;
}

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

.project-card {
  min-height: 220px;
  padding: 1.5rem;
  background: rgba(23, 28, 45, 0.2);
  border: 1px solid rgba(254, 127, 45, 0.65);
  border-radius: 8px;
  color: var(--text);
}

.project-index {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.project-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.project-card p:last-child {
  margin-bottom: 0;
  color: rgba(244,239,230,0.6);
}

.contact-section {
  padding: 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-intro {
  max-width: 100%;
  text-align: left;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.contact-intro-text {
  max-width: 42rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.contact-form-col {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-photo {
  justify-self: center;
  align-self: start;
  width: min(100%, 420px);
  padding: 0.9rem;
  background: var(--surface-solid);
  border-radius: 8px;
}

.contact-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.contact-intro-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.contact-intro-text p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(244,239,230,0.7);
  line-height: 1.5;
}

.contact-intro p {
  margin-bottom: 0.35rem;
  color: var(--text);
}

.contact-intro p:last-child {
  color: var(--muted);
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  margin-top: auto;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 320px;
  font-weight: 600;
  height: 50px;
}

.contact-social-link:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(254,127,45,0.4);
}

.contact-social-link img {
  width: 24px;
  height: 24px;
}

.contact-social-link span {
  font-size: 0.85rem;
  flex: 1;
}

.copy-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  color: rgba(244, 239, 230, 0.5);
  background: transparent;
  border: 1px solid rgba(244, 239, 230, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: rgba(254,127,45,0.15);
}

.copy-btn.copied {
  color: var(--text);
  background: rgba(254,127,45,0.3);
  border-color: var(--accent);
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.contact-form {
  width: 100%;
  max-width: 460px;
  margin: 0;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(254,127,45,0.4);
  border-radius: 8px;
}

.contact-form span {
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.9rem;
  font: inherit;
  color: var(--bg);
  background: var(--surface-solid);
  border: 1px solid rgba(23, 28, 45, 0.18);
  border-radius: 8px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0,0,0,0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 48px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-actions {
  display: grid;
  justify-content: flex-end;
  margin-top: 1rem;
}

#form-success {
  display: none;
}

.contact-form button {
  flex: 0 0 auto;
  width: 100%;
  padding: 0.9rem 1.15rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: var(--accent-strong);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(254, 127, 45, 0.35);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.timeline-date {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 82px;
  margin: 0 auto;
  padding: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg);
  border: 2px solid rgba(254, 127, 45, 0.95);
  border-radius: 8px;
}

.timeline-card {
  position: relative;
  padding: 1.4rem 1.5rem;
  background: rgba(23, 28, 45, 0.2);
  border: 1px solid rgba(254, 127, 45, 0.65);
  border-radius: 8px;
  color: var(--text);
}

.timeline-card h3 {
  margin-bottom: 0.6rem;
}

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

.timeline-spacer {
  min-height: 1px;
}

.journal-hero h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.02;
}

.journal-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.journal-hero .section-head {
  max-width: 34rem;
}

.journal-hero .timeline {
  margin-top: 8rem;
}

.timeline-item:nth-child(1) .timeline-date,
.timeline-item:nth-child(2) .timeline-date,
.timeline-item:nth-child(3) .timeline-date {
  margin-top: 0.15rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-photo {
    justify-self: start;
    max-width: 360px;
  }

  .about-copy {
    max-width: 100%;
  }


  .section-combined {
    min-height: auto;
    align-items: stretch;
  }

  .combined-shell {
    gap: 3rem;
  }

  .combined-block .section-head {
    width: 100%;
    margin: 0;
  }

}

@media (max-width: 760px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-side {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .hero,
  .section {
    padding: 3.4rem 0;
  }

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

  .combined-shell {
    gap: 2.4rem;
  }


  
  .form-row {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 1.25rem;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .timeline-date {
    margin: 0 0 0 0;
    justify-self: start;
  }

  .timeline-date::before {
    top: -1rem;
    height: 1rem;
  }

  .timeline-date::after {
    bottom: -1rem;
    height: 1rem;
  }

  .timeline-card-left,
  .timeline-card-right {
    margin-left: 2.5rem;
  }

  .timeline-card-left::before,
  .timeline-card-right::before {
    left: -0.42rem;
    right: auto;
  }

  .timeline-card-left::after,
  .timeline-card-right::after {
    left: -1rem;
    right: auto;
  }

  .timeline-spacer {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-side {
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
  }

  .site-nav,
  .nav-actions {
    display: none;
  }

  .nav-side.mobile-menu-open .site-nav,
  .nav-side.mobile-menu-open .nav-actions {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 40px;
    right: 0;
    background: rgba(23, 28, 45, 0.98);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(254, 127, 45, 0.3);
    gap: 0.5rem;
    z-index: 1000;
    min-width: 200px;
  }

  .nav-side.mobile-menu-open .site-nav a,
  .nav-side.mobile-menu-open .nav-actions a {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
  }

  .hero-grid {
    gap: 2rem;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

.contact-strip {
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.25rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-strip-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  transition: color 0.2s ease;
}

.contact-strip-item a:hover,
.contact-strip-item a:focus-visible {
  color: var(--accent-strong);
}

.contact-strip-item img,
.contact-strip-location svg {
  width: 20px;
  height: 20px;
}

.site-footer {
  border-top: 1px solid rgba(226, 217, 202, 0.14);
  padding: 1.1rem 0 1.4rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-wrap p {
  margin: 0;
}

main {
  position: relative;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 176px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(244,239,230,0.4);
}

.mouse-icon {
  stroke: rgba(244,239,230,0.4);
}

.mouse-wheel {
  animation: wheel-bounce 2s infinite;
}

@keyframes wheel-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
