@import url('/assets/fonts.css');

:root {
    --ink: #1a1a2a;
    --green: #c0fe2d;
    --gray: #d9d9d9
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65
}

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

button {
    font: inherit
}

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

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    line-height: 1.15
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #719900;
    outline-offset: 6px
}

.wrap {
    width: 83.3333%;
    max-width: 1600px;
    margin: auto
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0 20px;
    min-height: 102px
}

.logo {
    width: 125px;
    flex-shrink: 0
}

.logo img {
    width: 125px
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(25px, 4.16vw, 80px)
}

nav>a:not(.button):hover {
    text-decoration: underline;
    text-underline-offset: 7px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 48px;
    transition: background .2s, transform .2s
}

.button:hover {
    transform: translateY(-2px)
}

.green {
    background: var(--green)
}

.green:hover {
    background: #b1ed22
}

.outline {
    border: 1px solid var(--ink);
    background: transparent
}

.outline:hover {
    background: white
}

.menu-toggle {
    display: none
}

.skip {
    position: absolute;
    top: -100px;
    left: 12px;
    background: var(--green);
    z-index: 20;
    padding: 10px
}

.skip:focus {
    top: 10px
}

.hero {
    position: relative;
    width: min(100%, 1920px);
    height: min(41.25vw, 792px);
    min-height: 440px;
    margin: auto
}

.intro {
    text-align: center;
    font-size: clamp(14px, .94vw, 18px);
    position: absolute;
    top: .5%;
    width: 100%;
    z-index: 3
}

.hero h1 {
    position: absolute;
    top: 3.9%;
    left: 10%;
    width: 80%;
    font-size: clamp(50px, 10.4167vw, 200px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.5;
    white-space: nowrap;
    text-align: center
}

.hero h1 span {
    display: block;
    font-size: clamp(39px, 8.0729vw, 155px);
    line-height: 1.1;
    letter-spacing: -.043em;
    color: transparent;
    -webkit-text-stroke: 1px var(--ink);
    margin-top: -.25em
}

.portrait {
    position: absolute;
    left: 34.17%;
    top: 9.47%;
    width: 31.72%;
    height: 74.75%;
    overflow: hidden;
    mask-image: linear-gradient(#000 65%, transparent 100%);
    pointer-events: none
}

.portrait img {
    width: 100%;
    height: 183.27%;
    position: absolute;
    top: -38.14%;
    max-width: none;
    filter: grayscale(1) contrast(1.25) brightness(1.08)
}

.hero-actions {
    position: absolute;
    top: 67%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 24px;
    z-index: 4;
    font-size: clamp(14px, .94vw, 18px)
}

.tools {
    position: absolute;
    left: 10.47%;
    top: 55.8%;
    width: 21.88%;
    display: flex;
    align-items: center;
    gap: 7.4%;
    filter: grayscale(1)
}

.tools img:first-child {
    width: 85.2%
}

.tools img:last-child {
    width: 7.4%
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 70px
}

.project-image {
    aspect-ratio: 788/495;
    overflow: hidden;
    background: var(--gray)
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s
}

.project:hover .project-image img {
    transform: scale(1.025)
}

.placeholder {
    background: var(--gray);
    width: 100%;
    height: 100%;
    min-height: 80px
}

.category {
    font-size: clamp(12px, .84vw, 16px);
    margin-top: 20px;
    margin-bottom: 7px
}

.project h3 {
    font-size: clamp(18px, 1.25vw, 24px);
    display: flex;
    align-items: center;
    gap: 20px
}

.arrow {
    position: relative;
    width: 45px;
    font-size: 34px;
    font-weight: 400;
    line-height: 22px;
    isolation: isolate
}

.arrow:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--green);
    z-index: -1
}

.project:hover .arrow {
    transform: translateX(6px)
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7.4%;
    width: 51.6%;
    max-width: 990px;
    margin: clamp(100px, 10vw, 192px) auto clamp(100px, 10.5vw, 200px)
}

.about h2 {
    font-size: clamp(26px, 2.5vw, 42px);
    margin-bottom: 34px
}

.about-placeholder {
    aspect-ratio: 464/451;
    height: auto
}

.tags {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    font-size: clamp(12px, .94vw, 18px);
    font-weight: 600;
    line-height: 1.4
}

.tags span {
    position: relative;
    isolation: isolate;
    white-space: nowrap
}

.tags span:before {
    content: '';
    width: 17px;
    height: 17px;
    background: var(--green);
    position: absolute;
    left: -7px;
    top: -3px;
    z-index: -1
}

.about .tags {
    gap: 15px;
    min-height: 59px;
    flex-wrap: nowrap
}

.bio {
    margin-top: clamp(36px, 6.5vw, 125px);
    font-size: clamp(14px, .94vw, 18px);
    line-height: 1.5
}

.bio p+p {
    margin-top: 24px
}

.instagram {
    font-size: 30px;
    display: inline-block;
    line-height: 1;
    margin-top: 25px
}

.more-projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 70px;
    margin-bottom: 200px
}

footer {
    background: var(--ink);
    color: #fff;
    padding: 70px 0;
    min-height: 300px
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 35px
}

.footer-mail {
    font-size: clamp(26px, 2.5vw, 48px);
    font-weight: 700;
    display: inline-block;
    margin: 18px 0
}

.rate {
    font-size: 12px
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end
}

.footer-right .tags span:before {
    opacity: .85
}

.footer-right .tags span {
    z-index: 0
}

.footer-right .tags {
    font-size: 14px
}

.footer-right .instagram {
    color: var(--green)
}

.detail-cover {
    aspect-ratio: 1600/606;
    overflow: hidden;
    background: var(--gray)
}

.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.project-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    padding: 60px 0
}

.project-info h1 {
    font-size: clamp(30px, 2.5vw, 48px);
    margin-bottom: 22px
}

.project-info h2 {
    font-size: 24px
}

.project-info .category {
    margin-top: 0
}

.project-info p:not(.category) {
    font-size: 18px;
    line-height: 1.55
}

.gallery {
    display: grid;
    gap: 24px
}

.two {
    grid-template-columns: 1fr 1fr
}

.gallery img {
    width: 100%
}

.gallery .placeholder {
    aspect-ratio: 788/495
}

.gallery-wide {
    width: 100%;
    margin-top: 24px
}

.maverick-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.maverick-gallery img {
    width: 100%
}

.gallery-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 60px 0 90px;
    font-weight: 600
}

.project-navigation a:hover {
    text-decoration: underline
}

.contact {
    padding-top: 80px;
    padding-bottom: 150px;
    min-height: 70vh
}

.eyebrow {
    margin-bottom: 20px
}

.contact h1 {
    font-size: clamp(55px, 7vw, 120px);
    letter-spacing: -.04em
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 70px;
    margin-top: 70px
}

.contact-mail {
    font-size: clamp(24px, 3.2vw, 55px);
    font-weight: 600;
    border-bottom: 3px solid var(--green)
}

.contact-grid p {
    margin: 25px 0
}

.contact-grid h2 {
    font-size: 24px;
    margin-bottom: 25px
}

.contact-grid .tags {
    gap: 20px
}

@media(min-width:1920px) {
    .hero h1 {
        font-size: 200px
    }

    .hero h1 span {
        font-size: 155px
    }
}

@media(max-width:1100px) {
    header {
        min-height: 90px
    }

    .about {
        width: 70%;
        gap: 50px
    }

    .about .tags {
        flex-wrap: wrap
    }

    .more-projects {
        margin-bottom: 110px
    }

    .hero {
        min-height: 460px
    }

    .hero-actions {
        top: 73%
    }

    .footer-right .tags {
        max-width: 310px;
        justify-content: flex-end
    }

    .project-info p:not(.category) {
        font-size: 16px
    }

    .project h3 {
        gap: 12px
    }
}

@media(max-width:720px) {
    .wrap {
        width: 90%
    }

    header {
        padding: 18px 0;
        min-height: 80px;
        flex-wrap: wrap
    }

    .logo,
    .logo img {
        width: 110px
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        border: 0;
        background: transparent;
        padding: 10px 0 10px 20px
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 24px 0 8px;
        gap: 8px
    }

    nav.open {
        display: flex
    }

    nav>a {
        padding: 10px
    }

    .hero {
        height: 490px;
        min-height: 0
    }

    .intro {
        top: 12px;
        font-size: 14px
    }

    .hero h1 {
        top: 55px;
        left: 3%;
        width: 94%;
        font-size: 11.6vw;
        line-height: 1.5
    }

    .hero h1 span {
        font-size: 9.1vw;
        margin-top: 0;
        -webkit-text-stroke: .75px
    }

    .portrait {
        top: 72px;
        left: 18%;
        width: 64%;
        height: 300px
    }

    .tools {
        top: 295px;
        left: 5%;
        width: 30%
    }

    .hero-actions {
        top: auto;
        bottom: 40px;
        gap: 10px;
        padding: 0 5%;
        font-size: 12px
    }

    .hero-actions .button {
        padding: 12px 14px;
        flex: 1;
        min-height: 48px
    }

    .projects-grid,
    .more-projects {
        grid-template-columns: 1fr;
        row-gap: 38px
    }

    .category {
        font-size: 12px;
        margin-top: 15px
    }

    .project h3 {
        font-size: 22px
    }

    .about {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 35px;
        margin: 80px auto
    }

    .about h2 {
        font-size: 36px
    }

    .about-placeholder {
        max-height: 380px
    }

    .about .tags {
        min-height: 0;
        font-size: 13px;
        gap: 20px
    }

    .bio {
        margin-top: 30px;
        font-size: 16px
    }

    .more-projects {
        margin-bottom: 80px
    }

    footer {
        padding: 45px 0
    }

    .footer-grid {
        flex-direction: column
    }

    .footer-right {
        align-items: flex-start;
        gap: 20px
    }

    .footer-right .tags {
        justify-content: flex-start;
        max-width: none
    }

    .footer-mail {
        font-size: 30px
    }

    .footer-right .instagram {
        margin-top: 0
    }

    .project-info {
        grid-template-columns: 1fr;
        padding: 30px 0;
        gap: 28px
    }

    .project-info h1 {
        font-size: 34px
    }

    .detail-cover {
        aspect-ratio: 1.7
    }

    .two,
    .maverick-gallery {
        grid-template-columns: 1fr
    }

    .gallery,
    .gallery-stack {
        gap: 16px
    }

    .gallery-wide {
        margin-top: 16px
    }

    .project-navigation {
        padding: 40px 0 60px;
        font-size: 13px
    }

    .contact {
        padding-top: 45px;
        padding-bottom: 80px
    }

    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 40px
    }

    .contact-mail {
        font-size: 26px
    }

    .contact-grid .tags {
        font-size: 13px
    }

    .contact h1 {
        font-size: 62px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before {
        transition: none !important
    }
}

.moon-colony {
  padding: clamp(48px, 6vw, 96px) 24px;
  background: #f5f5f5;
  color: #1b1b29;
}

.moon-colony__inner {
  max-width: 1440px;
  margin-inline: auto;
}

.moon-colony__header {
  margin-bottom: 28px;
}

.moon-colony__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  background: #c0fe2d;
  font-size: 14px;
  font-weight: 600;
}

.moon-colony__header h2 {
  margin: 0;
}

.moon-colony__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.moon-colony__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1b1b29;
}

.moon-colony__media img,
.moon-colony__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.moon-colony__media img {
  object-fit: cover;
}

.moon-colony__content h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
}

.moon-colony__content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.moon-colony__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.moon-colony__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  color: #1b1b29;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.moon-colony__link--primary {
  border-color: #c0fe2d;
  background: #c0fe2d;
}

.moon-colony__link:hover {
  background: #1b1b29;
  border-color: #1b1b29;
  color: #fff;
}

.moon-colony__link:focus-visible {
  outline: 3px solid #1b1b29;
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .moon-colony__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moon-colony__content {
    grid-column: 1 / -1;
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .moon-colony__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .hero {
    height: 550px;
  }

  .hero h1 span {
    -webkit-text-stroke: 0.75px var(--ink);
  }

  .portrait {
    top: 130px;
    height: 300px;
  }

  .portrait img {
    width: 100%;
    height: auto;
    top: -25%;
  }

  .tools {
    top: 370px;
  }

  .hero-actions {
    bottom: 30px;
  }

  .menu-toggle {
    color: var(--ink);
  }
}

.moon-colony__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.moon-colony__header {
  display: block;
  min-height: 0;
  padding: 0;
  margin-bottom: 34px;
}

.moon-colony__header h2 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1.15;
}

@media (max-width: 720px) {
  .moon-colony__header h2 {
    font-size: 36px;
  }
}