@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
  color: #eeeade;
  background: #141513;
  font-synthesis: none;
  --accent: #ed9855;
  --muted: #a3a599;
  --line: #34362e;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: #ed985540; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.page { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 24px;
  top: -100px;
  z-index: 2;
  padding: 12px 18px;
  border-radius: 6px;
  color: #141513;
  background: var(--accent);
}
.skip-link:focus { top: 20px; }
.site-header { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: "Manrope", sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -1.2px; }
.wordmark span { color: var(--accent); }
.community-link { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.community-link:hover, .footer-links a:hover { color: var(--accent); }
.community-link span { font-size: 20px; }

.intro { padding: 86px 0 76px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 28px; }
.small-mark { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
h1 { font-family: "Manrope", sans-serif; font-size: clamp(46px, 6.8vw, 76px); font-weight: 600; line-height: 1.11; letter-spacing: -.058em; }
h1 span { color: var(--accent); }
.intro-copy { max-width: 470px; margin-top: 26px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.intro-copy a { color: #eeeade; text-decoration: underline; text-decoration-color: #6c6f5f; text-underline-offset: 4px; }
.intro-copy a:hover { color: var(--accent); }

.projects { scroll-margin-top: 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
h2 { font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.section-heading > span { font-size: 12px; color: #8b8e81; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 26px 30px 27px; border: 1px solid var(--line); border-radius: 14px; background: #1b1c19; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.project-card:hover { border-color: #797663; background: #20211c; transform: translateY(-3px); }
.project-top { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.project-icon { display: block; width: 72px; height: 72px; object-fit: contain; }
.card-arrow { color: #878b7b; font-size: 24px; line-height: 1; transition: color .18s ease, transform .18s ease; }
.project-card:hover .card-arrow { color: var(--accent); transform: translate(2px, -2px); }
h3 { font-family: "Manrope", sans-serif; font-size: 21px; font-weight: 650; letter-spacing: -.6px; }
.project-card p { max-width: 365px; margin-top: 10px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.project-domain { display: block; margin-top: auto; padding-top: 26px; color: #c6b5a0; font-size: 11px; letter-spacing: .2px; }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--line); margin-top: 72px; padding: 35px 0; }
.footer-title { font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 550; letter-spacing: -.3px; }
.footer-copy { margin-top: 8px; font-size: 12px; color: #8b8e81; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 13px; }
.footer-links span { color: var(--accent); font-size: 19px; }
.site-note { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0 30px; color: #8b8e81; font-size: 10px; }

@media (max-width: 700px) {
  .page { width: calc(100% - 48px); }
  .site-header { min-height: 88px; }
  .wordmark { font-size: 23px; }
  .community-link { font-size: 11px; gap: 7px; }
  .intro { padding: 58px 0 52px; }
  .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .intro-copy { font-size: 15px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading > span { display: none; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card { padding: 23px 24px; }
  .project-top { margin-bottom: 18px; }
  .project-icon { width: 64px; height: 64px; }
  .project-domain { padding-top: 22px; }
  .site-footer { margin-top: 48px; align-items: flex-start; flex-direction: column; gap: 18px; padding: 28px 0; }
  .footer-links { gap: 25px; }
  .site-note { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 360px) {
  .page { width: calc(100% - 32px); }
  h1 { font-size: 43px; }
  .community-link { font-size: 10px; }
  .project-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card, .card-arrow { transition: none; }
  .project-card:hover, .project-card:hover .card-arrow { transform: none; }
}
