:root {
    --ink: #111417;
    --ink-soft: #1a1e20;
    --paper: #f4f0e9;
    --paper-muted: #d4cec3;
    --orange: #f2633d;
    --orange-dark: #d84d2c;
    --line: rgba(244, 240, 233, .18);
    --display: "Manrope", Arial, sans-serif;
    --mono: "DM Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--display);
    line-height: 1.5;
    overflow-x: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 5;
    padding: 27px 0;
    background: var(--ink);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-mark {
    color: var(--orange);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.12em;
}

.brand-mark span {
    color: var(--paper);
}

.brand-name {
    border-left: 1px solid var(--line);
    color: var(--paper-muted);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .08em;
    line-height: 1.45;
    padding-left: 10px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 40px;
    margin-left: 112px;
}

.main-nav a {
    color: #999d9a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    position: relative;
    text-transform: uppercase;
    transition: color .25s ease;
}

.main-nav a::after {
    background: var(--orange);
    bottom: -8px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    width: 14px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--paper);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-cta,
.button {
    align-items: center;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    gap: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.header-cta {
    border-bottom: 1px solid var(--orange);
    color: var(--paper);
    padding: 8px 0;
}

.header-cta span,
.button span {
    color: var(--orange);
    font-size: 17px;
    line-height: 0;
}

.header-cta:hover,
.text-link:hover,
.email-link:hover {
    color: var(--orange);
}

.hero {
    background: var(--ink);
    min-height: 665px;
    overflow: hidden;
    padding: 73px 0 0;
    position: relative;
}

.hero::before {
    color: rgba(244, 240, 233, .035);
    content: "GUILHERME";
    font-size: clamp(100px, 17vw, 245px);
    font-weight: 800;
    left: 42%;
    letter-spacing: -.1em;
    line-height: 1;
    position: absolute;
    top: 300px;
    white-space: nowrap;
}

.hero-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 540px;
    position: relative;
}

.hero-copy {
    padding: 37px 0 0 74px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    align-items: center;
    color: var(--orange);
    display: flex;
    font-family: var(--mono);
    font-size: 10px;
    gap: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.eyebrow-dot {
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(242, 99, 61, .12);
    display: inline-block;
    height: 6px;
    width: 6px;
}

h1,
h2 {
    font-weight: 700;
    letter-spacing: -.08em;
    line-height: .98;
}

h1 {
    color: var(--paper);
    font-size: clamp(56px, 7.1vw, 96px);
    margin: 31px 0 25px;
    max-width: 650px;
}

h1 em,
h2 em {
    color: var(--orange);
    font-style: normal;
}

.hero-description {
    color: #adb0ac;
    font-size: 14px;
    line-height: 1.8;
    max-width: 350px;
}

.hero-actions {
    align-items: center;
    display: flex;
    gap: 29px;
    margin-top: 36px;
}

.button {
    border: 1px solid transparent;
    cursor: pointer;
    justify-content: center;
    min-height: 51px;
    padding: 0 22px;
}

.button-primary {
    background: var(--orange);
    color: var(--ink);
}

.button-primary span {
    color: var(--ink);
}

.button-primary:hover {
    background: var(--paper);
    transform: translateY(-3px);
}

.button-outline {
    border-color: var(--orange);
    color: var(--paper);
    margin-top: 30px;
}

.button-outline:hover {
    background: var(--orange);
    color: var(--ink);
}

.button-outline:hover span {
    color: var(--ink);
}

.text-link {
    color: var(--paper);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color .25s ease;
}

.text-link span {
    color: var(--orange);
    font-size: 17px;
    margin-left: 9px;
}

.hero-note {
    align-items: center;
    bottom: 27px;
    color: #929794;
    display: flex;
    font-family: var(--mono);
    font-size: 9px;
    gap: 13px;
    letter-spacing: .02em;
    line-height: 1.7;
    position: absolute;
}

.note-number {
    color: var(--orange);
    font-size: 11px;
}

.note-line {
    background: var(--orange);
    height: 1px;
    width: 32px;
}

.hero-visual {
    align-self: end;
    height: 555px;
    position: relative;
}

.visual-backdrop {
    background: var(--orange);
    border-radius: 48% 48% 0 0;
    bottom: 0;
    height: 435px;
    position: absolute;
    right: 45px;
    transform: rotate(9deg);
    width: 322px;
}

.visual-orbit {
    border: 1px solid rgba(242, 99, 61, .65);
    border-radius: 50%;
    height: 440px;
    position: absolute;
    right: -31px;
    top: 75px;
    transform: rotate(-24deg);
    width: 160px;
}

.orbit-two {
    height: 530px;
    right: 70px;
    top: 7px;
    transform: rotate(34deg);
    width: 210px;
}

.hero-portrait {
    bottom: 0;
    height: 505px;
    object-fit: cover;
    object-position: center top;
    position: absolute;
    right: 99px;
    width: 300px;
    z-index: 1;
}

.available-card {
    align-items: center;
    background: var(--paper);
    bottom: 89px;
    color: var(--ink);
    display: flex;
    font-family: var(--mono);
    font-size: 9px;
    gap: 10px;
    left: 5px;
    line-height: 1.5;
    padding: 13px 17px;
    position: absolute;
    z-index: 2;
}

.available-card strong {
    font-family: var(--display);
    font-size: 10px;
}

.pulse {
    background: #42ad68;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(66, 173, 104, .14);
    display: block;
    height: 8px;
    width: 8px;
}

.vertical-type {
    color: #888c88;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .18em;
    position: absolute;
    right: -12px;
    top: 222px;
    transform: rotate(90deg);
}

.hero-stamp {
    align-items: center;
    border: 1px solid var(--orange);
    border-radius: 50%;
    bottom: 12px;
    display: flex;
    height: 83px;
    justify-content: center;
    position: absolute;
    right: 4px;
    transform: rotate(12deg);
    width: 83px;
    z-index: 2;
}

.hero-stamp span {
    color: var(--orange);
    font-size: 18px;
    font-weight: 800;
}

.hero-stamp small {
    color: var(--paper-muted);
    font-family: var(--mono);
    font-size: 7px;
    letter-spacing: .08em;
    line-height: 1.4;
    margin-left: 4px;
    text-transform: uppercase;
}

.side-rail {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    z-index: 3;
}

.side-rail-left {
    left: -40px;
    top: 159px;
}

.side-rail a,
.footer-socials a {
    align-items: center;
    border: 1px solid #414542;
    border-radius: 50%;
    color: #a5a8a3;
    display: flex;
    font-family: var(--mono);
    font-size: 10px;
    height: 28px;
    justify-content: center;
    transition: all .25s ease;
    width: 28px;
}

.side-rail a:hover,
.footer-socials a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--ink);
    transform: translateY(-3px);
}

.side-label,
.hero-scroll span:first-child {
    color: #7d817d;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .14em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.rail-line {
    background: #454945;
    height: 44px;
    width: 1px;
}

.hero-scroll {
    align-items: center;
    bottom: 34px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.scroll-arrow {
    color: var(--orange);
    font-size: 20px;
}

.ticker {
    background: var(--orange);
    color: var(--ink);
    overflow: hidden;
    padding: 17px 0;
}

.ticker-track {
    align-items: center;
    animation: ticker 24s linear infinite;
    display: flex;
    font-size: 11px;
    font-weight: 800;
    gap: 29px;
    justify-content: center;
    letter-spacing: .14em;
    min-width: max-content;
    text-transform: uppercase;
}

.ticker b {
    font-size: 17px;
    font-weight: 400;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-12%); }
}

.section {
    padding: 124px 0;
}

.services {
    background: var(--paper);
    color: var(--ink);
}

.section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 61px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
    color: var(--ink);
    font-size: clamp(45px, 5vw, 66px);
    margin-top: 23px;
}

.heading-aside {
    color: #6d716c;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 5px;
    max-width: 255px;
}

.service-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    border: 1px solid #cfcbc3;
    min-height: 378px;
    padding: 27px 29px;
    position: relative;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.service-card:hover,
.service-card-featured {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-7px);
}

.card-top {
    color: #969994;
    display: flex;
    font-family: var(--mono);
    font-size: 10px;
    justify-content: space-between;
}

.card-icon {
    color: var(--orange);
    font-size: 20px;
}

.service-icon {
    color: var(--orange);
    font-family: var(--mono);
    font-size: 34px;
    margin-top: 42px;
}

.icon-play {
    font-family: var(--display);
    font-size: 24px;
}

.icon-spark {
    font-family: var(--display);
    font-size: 39px;
}

.service-card h3 {
    font-size: 23px;
    letter-spacing: -.05em;
    line-height: 1.1;
    margin: 17px 0 13px;
}

.service-card h3 em {
    color: var(--orange);
    font-style: normal;
}

.service-card p {
    color: #747873;
    font-size: 12px;
    line-height: 1.7;
    max-width: 242px;
}

.service-card:hover p,
.service-card-featured p {
    color: #a9aca7;
}

.card-link {
    bottom: 28px;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 9px;
    left: 29px;
    letter-spacing: .05em;
    position: absolute;
    text-transform: uppercase;
}

.card-link span {
    color: var(--orange);
    font-size: 15px;
    margin-left: 8px;
}

.service-card:hover .card-link,
.service-card-featured .card-link {
    color: var(--paper);
}

.about {
    background: var(--ink-soft);
    padding-bottom: 140px;
    padding-top: 140px;
}

.about-grid {
    align-items: center;
    display: grid;
    gap: 14%;
    grid-template-columns: 40% 1fr;
}

.about-gallery {
    height: 500px;
    position: relative;
}

.gallery-frame {
    border: 1px solid var(--orange);
    height: 445px;
    padding: 13px;
    transform: rotate(-4deg);
    width: 345px;
}

.gallery-frame img {
    filter: saturate(.7);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gallery-caption {
    background: var(--orange);
    bottom: 40px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    left: 242px;
    line-height: 1.3;
    padding: 13px 18px;
    position: absolute;
    transform: rotate(4deg);
}

.gallery-index {
    bottom: 0;
    color: var(--orange);
    font-family: var(--mono);
    font-size: 11px;
    left: 5px;
    position: absolute;
}

.gallery-index i {
    color: #737873;
    font-style: normal;
}

.about-copy h2,
.contact-copy h2 {
    color: var(--paper);
}

.about-copy > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
    color: #a4a8a3;
    font-size: 13px;
    line-height: 1.85;
    margin-top: 24px;
    max-width: 450px;
}

.about-copy > p + p {
    margin-top: 13px;
}

.about-facts {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: flex;
    gap: 52px;
    margin-top: 35px;
    padding: 19px 0;
}

.about-facts div {
    align-items: center;
    display: flex;
    gap: 11px;
}

.about-facts strong {
    color: var(--orange);
    font-size: 30px;
    letter-spacing: -.09em;
}

.about-facts strong span {
    font-size: 17px;
}

.about-facts small {
    color: #8a8e89;
    font-family: var(--mono);
    font-size: 8px;
    line-height: 1.4;
    text-transform: uppercase;
}

.projects {
    background: var(--paper);
    color: var(--ink);
}

.projects-heading h2 {
    color: var(--ink);
}

.project-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: 220px 220px;
}

.project-card {
    display: block;
    overflow: hidden;
    position: relative;
}

.project-card img,
.project-overlay {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    transition: transform .6s ease;
    width: 100%;
}

.project-card img {
    filter: grayscale(.4);
}

.project-overlay {
    background: linear-gradient(0deg, rgba(10, 12, 12, .9), rgba(10, 12, 12, 0) 75%);
    z-index: 1;
}

.project-card:hover img {
    filter: grayscale(0);
    transform: scale(1.06);
}

.project-large {
    grid-column: 1;
    grid-row: span 2;
}

.project-tall {
    grid-column: 2;
    grid-row: 1;
}

.project-wide {
    grid-column: 2;
    grid-row: 2;
}

.project-meta {
    bottom: 21px;
    color: var(--paper);
    left: 25px;
    position: absolute;
    z-index: 2;
}

.project-meta small {
    color: var(--orange);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
}

.project-meta strong {
    display: block;
    font-size: 20px;
    letter-spacing: -.05em;
    line-height: 1.08;
    margin-top: 8px;
}

.project-meta i {
    color: var(--orange);
    font-style: normal;
    margin-left: 12px;
}

.custom-image-note {
    color: #777b76;
    font-family: var(--mono);
    font-size: 10px;
    margin-top: 28px;
    text-align: right;
}

.custom-image-note span,
.custom-image-note a {
    color: var(--orange-dark);
}

.custom-image-note a {
    text-decoration: underline;
}

.contact {
    background: var(--orange);
    color: var(--ink);
}

.contact-inner {
    display: grid;
    gap: 15%;
    grid-template-columns: 1fr 1fr;
}

.contact .eyebrow {
    color: var(--ink);
}

.contact .eyebrow-dot {
    background: var(--ink);
    box-shadow: 0 0 0 5px rgba(17, 20, 23, .12);
}

.contact-copy h2 {
    color: var(--ink);
}

.contact-copy h2 em {
    color: var(--paper);
}

.contact-copy > p:not(.eyebrow) {
    color: #593027;
}

.email-link {
    border-bottom: 1px solid var(--ink);
    display: inline-flex;
    font-family: var(--mono);
    font-size: 11px;
    margin-top: 28px;
    padding-bottom: 7px;
    transition: color .25s ease;
}

.email-link span {
    font-size: 18px;
    margin-left: 18px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-form label {
    color: #65372d;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
    margin-top: 3px;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(17, 20, 23, .45);
    border-radius: 0;
    color: var(--ink);
    outline: 0;
    padding: 7px 0 12px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9c4734;
}

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

.contact-form .button {
    align-self: flex-start;
    border: 1px solid var(--ink);
    margin-top: 22px;
}

.contact-form .button:hover {
    background: var(--paper);
}

.site-footer {
    background: var(--ink);
    padding: 27px 0;
}

.footer-inner p {
    color: #767b76;
    font-family: var(--mono);
    font-size: 9px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

@media (max-width: 1100px) {
    .container {
        width: min(100% - 48px, 900px);
    }

    .main-nav {
        margin-left: 20px;
    }

    .hero-copy {
        padding-left: 44px;
    }

    .side-rail-left {
        left: -18px;
    }

    .hero-portrait {
        right: 58px;
    }

    .visual-backdrop {
        right: 10px;
    }

    .about-grid {
        gap: 8%;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 38px, 570px);
    }

    .site-header {
        padding: 20px 0;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        display: flex;
        gap: 25px;
        margin: 17px 0 0;
        order: 3;
        overflow-x: auto;
        padding-bottom: 4px;
        width: 100%;
    }

    .main-nav a {
        flex: 0 0 auto;
    }

    .header-cta {
        font-size: 9px;
    }

    .header-cta span {
        font-size: 14px;
    }

    .hero {
        min-height: auto;
        padding: 38px 0 73px;
    }

    .hero::before {
        left: -20px;
        top: 410px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .hero-copy {
        padding: 20px 0 0 25px;
    }

    h1 {
        font-size: clamp(52px, 15vw, 74px);
        margin-top: 25px;
    }

    .hero-description {
        max-width: 310px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-top: 28px;
    }

    .hero-note {
        display: none;
    }

    .hero-visual {
        height: 410px;
        margin: 27px auto 0;
        width: min(100%, 390px);
    }

    .visual-backdrop {
        height: 320px;
        right: 23%;
        width: 230px;
    }

    .hero-portrait {
        height: 375px;
        right: 26%;
        width: 220px;
    }

    .visual-orbit {
        height: 325px;
        right: 8%;
        top: 63px;
        width: 115px;
    }

    .orbit-two {
        height: 395px;
        right: 28%;
        top: 15px;
        width: 165px;
    }

    .available-card {
        bottom: 44px;
        left: 0;
    }

    .hero-stamp {
        bottom: -3px;
        right: 4%;
    }

    .vertical-type {
        right: -11px;
        top: 180px;
    }

    .side-rail-left {
        left: -4px;
        top: 88px;
    }

    .side-label,
    .rail-line,
    .side-rail a:nth-of-type(3) {
        display: none;
    }

    .side-rail {
        gap: 8px;
    }

    .side-rail a {
        height: 24px;
        width: 24px;
    }

    .hero-scroll {
        bottom: 20px;
    }

    .ticker-track {
        justify-content: flex-start;
    }

    .section {
        padding: 80px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 37px;
    }

    .section-heading h2,
    .about-copy h2,
    .contact-copy h2 {
        font-size: clamp(42px, 12vw, 62px);
    }

    .heading-aside {
        max-width: 310px;
    }

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

    .service-card {
        min-height: 330px;
    }

    .about {
        padding-bottom: 90px;
        padding-top: 90px;
    }

    .about-grid,
    .contact-inner {
        display: flex;
        flex-direction: column;
        gap: 55px;
    }

    .about-gallery {
        height: 390px;
        margin: 0 auto;
        width: min(100%, 345px);
    }

    .gallery-frame {
        height: 350px;
        width: 275px;
    }

    .gallery-caption {
        bottom: 37px;
        left: 178px;
    }

    .about-facts {
        gap: 26px;
    }

    .project-grid {
        display: flex;
        flex-direction: column;
    }

    .project-card {
        height: 250px;
    }

    .project-large {
        height: 310px;
    }

    .custom-image-note {
        line-height: 1.8;
        text-align: left;
    }

    .contact {
        padding-bottom: 90px;
        padding-top: 90px;
    }

    .contact-form {
        width: 100%;
    }

    .footer-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 22px;
    }

    .footer-inner p {
        order: 3;
        width: 100%;
    }
}

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

    .ticker-track {
        animation: none;
    }
}