@import url("assets/fonts/fonts.css");
:root {
  --purple: #502783;
  --lilac: #9060d8;
  --pink: #ff8cb3;
  --blush: #e9b9cf;
  --cream: #f0ddce;
  --indigo: #3434ac;
  --paper: #faf4ed;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--purple);
  font-family: "DM Sans", sans-serif;
}
a {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 6px;
}
.wrap {
  max-width: 1440px;
  margin: auto;
  padding: 0 6%;
}
nav {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #50278330;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -1px;
  text-decoration: none;
}
.brand span {
  color: var(--lilac);
}
.navlinks {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 14px;
}
.navlinks a {
  text-decoration: none;
}
.navlinks a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.navcontact {
  border: 1px solid;
  padding: 12px 22px;
  border-radius: 30px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: auto 25px;
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--purple);
  border-radius: 100%;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 650px;
  align-items: center;
  padding: 65px 0 70px;
  gap: 25px;
}
.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(64px, 6.8vw, 100px);
  line-height: 1.01;
  letter-spacing: -6px;
  margin: 30px 0;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--lilac);
}
.intro {
  font-size: 17px;
  line-height: 1.75;
  max-width: 380px;
}
.button {
  display: inline-flex;
  gap: 36px;
  align-items: center;
  background: var(--purple);
  color: var(--paper);
  padding: 17px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  margin-top: 20px;
}
.button:hover {
  background: var(--indigo);
  transform: translateY(-2px);
}
.art {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landscape {
  width: 100%;
  height: auto;
  overflow: visible;
}
.artnote {
  position: absolute;
  bottom: 0;
  right: 20px;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ribbon {
  background: var(--pink);
  border-top: 1px solid var(--purple);
  border-bottom: 1px solid var(--purple);
  padding: 19px 6%;
  display: flex;
  justify-content: space-around;
  gap: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
}
.ribbon span:nth-child(even) {
  font-size: 20px;
}
.section {
  padding: 95px 0;
}
.sectiontop {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 38px;
}
h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: 1.1;
  margin: 15px 0 0;
}
.sectiontop p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin: 0;
}
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.project {
  min-width: 0;
}
.project .project-link {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 0;
  color: inherit;
  background: none;
  text-align: left;
  font: inherit;
}
.preview {
  height: 340px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: background 0.3s;
}
.preview.one {
  background: var(--lilac);
}
.preview.two {
  background: var(--blush);
}
.mock {
  width: 76%;
  height: 240px;
  background: var(--paper);
  box-shadow: 12px 16px 0 #50278330;
  padding: 20px;
  transform: rotate(-5deg);
  transition: transform 0.3s;
}
.project .project-link:hover .mock {
  transform: rotate(0) translateY(-5px);
}
.mocknav {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  border-bottom: 1px solid;
  padding-bottom: 11px;
  font-weight: 700;
}
.mockhero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  padding-top: 25px;
}
.mockhero h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  margin: 0;
}
.mockhero p {
  font-size: 8px;
  line-height: 1.6;
}
.tinybutton {
  font-size: 7px;
  padding: 7px 10px;
  background: var(--purple);
  color: white;
  display: inline-block;
  border-radius: 15px;
}
.flower {
  width: 110px;
  height: 110px;
  background: var(--pink);
  border-radius: 50% 5% 50% 5%;
  transform: rotate(30deg);
  display: grid;
  place-items: center;
}
.flower:after {
  content: "";
  width: 80px;
  height: 80px;
  background: var(--purple);
  mask: url("assets/asterisk.svg") center / contain no-repeat;
  -webkit-mask: url("assets/asterisk.svg") center / contain no-repeat;
}
.mock.second {
  background: var(--indigo);
  color: var(--cream);
  transform: rotate(5deg);
}
.second .mockhero h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 33px;
}
.orbit {
  width: 110px;
  height: 110px;
  border: 1px solid var(--pink);
  border-radius: 50%;
  position: relative;
}
.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  border: 1px solid var(--pink);
  border-radius: 50%;
  inset: 10px -12px;
  transform: rotate(50deg);
}
.orbit:after {
  inset: 25px -18px;
  transform: rotate(-40deg);
}
.orbit i {
  position: absolute;
  inset: 34px;
  background: var(--pink);
  border-radius: 50%;
}
.projectline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 19px;
}
.projectline h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0;
}
.projectline p {
  font-size: 12px;
  margin: 8px 0 0;
  opacity: 0.75;
}
.project-icon {
  width: 40px;
  height: 40px;
  border: 1px solid;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.about {
  background: var(--cream);
  border-top: 1px solid #50278330;
  border-bottom: 1px solid #50278330;
}
.aboutgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}
.about p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 25px;
}
.about h2 em {
  font-family: Georgia, serif;
  color: var(--lilac);
  font-weight: 400;
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.skills span {
  border: 1px solid #50278366;
  border-radius: 30px;
  padding: 9px 15px;
  font-size: 12px;
}
.contact {
  background: var(--purple);
  color: var(--cream);
  text-align: center;
  padding: 90px 20px;
}
.contact .eyebrow {
  justify-content: center;
  color: var(--pink);
}
.contact h2 {
  font-size: clamp(48px, 6vw, 80px);
  max-width: 800px;
  margin: 22px auto;
  letter-spacing: -3px;
}
.contact h2 em {
  color: var(--pink);
  font-family: Georgia, serif;
  font-weight: 400;
}
.contact .button {
  background: var(--pink);
  color: var(--purple);
}

footer {
  padding: 28px 6%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}
dialog {
  border: 1px solid var(--purple);
  background: var(--paper);
  color: var(--purple);
  max-width: 550px;
  width: 90%;
  padding: 36px;
}
dialog::backdrop {
  background: #291345aa;
}
dialog h2 {
  font-size: 35px;
  margin: 20px 0;
}
dialog p {
  line-height: 1.8;
}
dialog button {
  border: 1px solid;
  background: transparent;
  color: var(--purple);
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 25px;
  float: right;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 10px;
  background: white;
  padding: 12px;
  z-index: 5;
}
@media (max-width: 800px) {
  .wrap {
    padding: 0 6%;
  }
  nav {
    height: 83px;
  }
  .navlinks {
    gap: 18px;
  }
  .navlinks a:nth-child(2) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    gap: 0;
  }
  .hero h1 {
    font-size: 68px;
    letter-spacing: -4px;
  }
  .art {
    min-height: 380px;
    max-width: 470px;
    width: 100%;
    margin: 30px auto 0;
  }

  .landscape {
    max-height: 380px;
  }
  .section {
    padding: 65px 0;
  }
  .sectiontop {
    display: block;
  }
  .sectiontop p {
    margin-top: 22px;
    max-width: 100%;
  }
  .projects {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .preview {
    height: 310px;
  }
  .aboutgrid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ribbon {
    flex-wrap: wrap;
    font-size: 11px;
  }
  .ribbon span:nth-child(4) {
    display: none;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
  .brand {
    font-size: 20px;
  }
  .navcontact {
    padding: 10px 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Font Awesome SVG artwork stays consistent across platforms. */
.fa-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  flex-shrink: 0;
}
.fa-asterisk {
  --icon: url("assets/asterisk.svg");
}
.fa-envelope {
  --icon: url("assets/envelope.svg");
}
.fa-eye {
  --icon: url("assets/eye.svg");
}
button {
  font-family: inherit;
}
.navcontact {
  background: transparent;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
}
button.button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  float: none;
}
dialog .button {
  background: var(--purple);
  color: var(--paper);
}
.contact-dialog {
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border-radius: 18px;
}
.contact-dialog .eyebrow {
  clear: both;
  padding-top: 15px;
}
.contact-dialog h2 {
  margin-top: 16px;
}
.form-field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.form-field label {
  font-size: 14px;
  font-weight: 600;
}
.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #50278370;
  border-radius: 9px;
  padding: 12px;
  background: #fffaf5;
  color: var(--purple);
  font: inherit;
  font-size: 16px;
}
.form-field textarea {
  resize: vertical;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 3px;
}
.contact-dialog .form-note {
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .contact-dialog {
    padding: 24px;
  }
}

.project .project-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.project .project-link:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 8px;
}
.demo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s;
}
.project-link:hover .demo-preview {
  transform: scale(1.025);
}

/* Hidden bot trap. Provider CAPTCHA remains enabled. */
.form-honeypot {
  display: none;
}
