/* Shared studio design: landing page and project pages. */

:root {
    color-scheme:dark;
    --bg:#101113;
    --surface:#181a1e;
    --line:#303237;
    --text:#f2f1ed;
    --muted:#b0b1b7;
    --pink:#f6a5e5;
    --cyan:#86dcd6;
    --width:1200px;
}

* {
    box-sizing:border-box;
}

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

body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Inter,Arial,sans-serif;
    font-size:16px;
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
}

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

button,input,textarea {
    font:inherit;
}

button,a,input,textarea {
    -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
    outline:2px solid var(--cyan);
    outline-offset:5px;
}

a,button {
    touch-action:manipulation;
}

button {
    cursor:pointer;
}

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

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

h1,h2,h3 {
    line-height:1.12;
    font-weight:550;
    letter-spacing:-.045em;
}

p {
    color:var(--muted);
}

.wrap {
    width:min(var(--width),calc(100% - 96px));
    margin-inline:auto;
}

.eyebrow,.mono {
    font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
}

.eyebrow {
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.15em;
    display:flex;
    align-items:center;
    gap:12px;
    color:var(--muted);
}

.eyebrow:before {
    content:'';
    width:6px;
    height:6px;
    background:var(--pink);
}

.skip-link {
    position:fixed;
    top:10px;
    left:10px;
    padding:10px 20px;
    background:var(--pink);
    color:var(--bg);
    z-index:100;
    transform:translateY(-160%);
}

.skip-link:focus {
    transform:none;
}

.site-header {
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(16,17,19,.96);
    border-bottom:1px solid var(--line);
}

.nav {
    height:88px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.brand {
    display:flex;
    align-items:center;
    gap:12px;
    font-size:21px;
    font-weight:650;
    letter-spacing:-.06em;
}

.brand-mark {
    width:29px;
    height:29px;
    border:1px solid var(--pink);
    display:grid;
    place-items:center;
    transform:rotate(-10deg);
}

.brand-mark:after {
    content:'';
    width:11px;
    height:11px;
    background:var(--pink);
}

.nav-links {
    display:flex;
    gap:32px;
    align-items:center;
    font-size:13px;
}

.nav-links>a {
    color:var(--muted);
    padding-block:10px;
}

.nav-links>a:hover,.text-link:hover {
    color:var(--pink);
}

.nav-links .nav-contact {
    color:var(--text);
    border:1px solid #55565a;
    border-radius:5px;
    padding:10px 17px;
}

.arrow {
    display:inline-block;
    margin-left:15px;
}

.menu-toggle {
    display:none;
}

.hero {
    padding:84px 0 0;
    overflow:hidden;
}

.hero-grid {
    display:grid;
    grid-template-columns:1.15fr 1fr;
    gap:30px;
    align-items:center;
    padding-bottom:73px;
}

.hero h1 {
    font-size:clamp(48px,5.2vw,74px);
    margin:25px 0;
    max-width:660px;
}

.hero h1 span {
    color:var(--pink);
}

.hero-copy>p {
    font-size:16px;
    line-height:1.8;
    max-width:460px;
}

.hero-actions {
    display:flex;
    gap:25px;
    align-items:center;
    margin-top:32px;
    flex-wrap:wrap;
}

.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:23px;
    background:var(--pink);
    color:#201720;
    border:1px solid var(--pink);
    border-radius:5px;
    padding:13px 20px;
    font-weight:600;
    font-size:13px;
    transition:background .2s,transform .2s;
}

.button:hover {
    background:#ffbaf0;
    transform:translateY(-2px);
}

.button:disabled {
    opacity:.7;
    cursor:wait;
    transform:none;
}

.text-link {
    font-size:13px;
    font-weight:500;
    display:inline-flex;
    align-items:center;
    min-height:44px;
}

.hero-note {
    font-size:11px!important;
    margin-top:22px;
    display:flex;
    gap:8px;
    align-items:center;
}

.location-dot {
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--cyan);
}

.hardware-visual {
    margin:0;
    position:relative;
    background:radial-gradient(ellipse at 50% 50%,#19332f70,transparent 65%);
}

.hardware-visual svg {
    width:100%;
    height:auto;
    overflow:visible;
}

.hardware-visual figcaption {
    display:flex;
    justify-content:space-between;
    gap:10px;
    color:#9b9fa5;
    font-size:9px;
    letter-spacing:.08em;
    padding:0 15px;
}

.tech-strip {
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:24px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    flex-wrap:wrap;
}

.tech-strip>span {
    font-size:10px;
    letter-spacing:.1em;
    color:#94979c;
    max-width:130px;
}

.tech-list {
    display:flex;
    flex-wrap:wrap;
    gap:34px;
    align-items:center;
    color:#c9cacc;
    font-size:16px;
    font-weight:550;
    letter-spacing:-.025em;
}

.section {
    padding:92px 0;
}

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

.section-heading h2,.about h2,.contact h2 {
    font-size:clamp(34px,3.5vw,47px);
    margin-top:19px;
}

.section-heading>p {
    max-width:320px;
    font-size:14px;
}

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

.project {
    border:1px solid var(--line);
    border-radius:7px;
    overflow:hidden;
    background:#15171a;
    display:flex;
    flex-direction:column;
    transition:border-color .2s,transform .2s;
}

.project:hover {
    border-color:#73747b;
    transform:translateY(-4px);
}

.project-art {
    height:220px;
    position:relative;
    overflow:hidden;
    display:grid;
    place-items:center;
    border-bottom:1px solid var(--line);
    background-color:#1a2020;
    background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);
    background-size:22px 22px;
}

.project-art svg {
    width:100%;
    height:100%;
}

.project-art.violet {
    background-color:#201b27;
}

.project-art.blue {
    background-color:#191f29;
}

.art-label {
    position:absolute;
    top:15px;
    left:16px;
    font-size:8px;
    letter-spacing:.12em;
    color:#b6bfc1;
}

.project-body {
    padding:25px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.project-category {
    font-size:9px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--cyan);
    margin-bottom:13px;
}

.project h3 {
    font-size:23px;
    letter-spacing:-.035em;
    margin-bottom:12px;
}

.project p {
    font-size:13px;
    line-height:1.8;
}

.project-tags {
    font-size:10px;
    color:#aaacb3;
    margin-top:20px;
}

.project-cta {
    font-size:12px;
    margin-top:auto;
    padding-top:26px;
    display:flex;
    justify-content:space-between;
}

.more-work {
    margin-top:26px;
    font-size:13px;
    color:var(--muted);
}

.more-work summary {
    cursor:pointer;
    display:list-item;
    width:fit-content;
    padding:8px 0;
}

.more-work-links {
    display:flex;
    flex-wrap:wrap;
    gap:15px 28px;
    margin-top:12px;
}

.more-work a {
    text-decoration:underline;
    text-underline-offset:5px;
}

.services {
    border-block:1px solid var(--line);
    background:#141517;
}

.services-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:28px;
}

.service {
    padding-top:18px;
    border-top:1px solid #44464b;
    display:flex;
    flex-direction:column;
}

.service-number {
    color:var(--pink);
    font-size:12px;
    display:block;
    margin-bottom:30px;
}

.service h3 {
    font-size:25px;
    margin-bottom:16px;
}

.service p {
    font-size:14px;
}

.service ul {
    list-style:none;
    padding:24px 0 0;
    margin:auto 0 0;
    color:#d1d1d4;
    font-size:12px;
}

.service li {
    padding:9px 0;
    border-top:1px solid var(--line);
}

.service li:before {
    content:'↗';
    color:var(--pink);
    margin-right:12px;
}

.process-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
    margin-top:45px;
}

.process-step {
    border-top:1px solid var(--line);
    padding-top:20px;
}

.step-number {
    display:block;
    color:var(--pink);
    font-size:11px;
    margin-bottom:25px;
}

.process-step h3 {
    font-size:20px;
    letter-spacing:-.025em;
    margin-bottom:12px;
}

.process-step p {
    font-size:13px;
}

.deliverable {
    display:block;
    margin-top:20px;
    font-size:10px;
    color:#d0d1d6;
}

.about {
    border-top:1px solid var(--line);
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:100px;
    padding-block:75px;
}

.about-copy>p {
    font-size:15px;
    margin-bottom:20px;
}

.about-facts {
    display:flex;
    gap:35px;
    border-top:1px solid var(--line);
    padding-top:23px;
    margin-top:25px;
}

.about-facts div {
    display:flex;
    flex-direction:column;
    gap:5px;
}

.about-facts strong {
    font-size:13px;
    font-weight:500;
}

.about-facts span {
    font-size:11px;
    color:var(--muted);
}

.contact {
    background:#1c1b20;
    border-top:1px solid #3c343c;
}

.contact-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:110px;
}

.contact h2 {
    font-size:clamp(38px,4.1vw,55px);
    margin-bottom:22px;
}

.contact-intro>p {
    font-size:14px;
    max-width:370px;
}

.contact-email {
    display:inline-block;
    font-size:17px;
    border-bottom:1px solid #766574;
    margin-top:30px;
    padding-bottom:6px;
}

.contact-next {
    margin-top:36px;
    border-left:2px solid var(--pink);
    padding-left:17px;
}

.contact-next strong {
    font-size:12px;
    font-weight:550;
}

.contact-next p {
    font-size:12px;
    max-width:320px;
    margin-top:6px;
}

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

.form-group {
    margin-bottom:20px;
}

.form-group label {
    display:block;
    font-size:12px;
    margin-bottom:9px;
}

.optional {
    color:var(--muted);
    font-weight:400;
    font-size:10px;
}

.form-group input,.form-group textarea {
    display:block;
    width:100%;
    border:1px solid #4a454f;
    border-radius:4px;
    background:#17171b;
    color:var(--text);
    padding:12px;
    font-size:13px;
}

.form-group textarea {
    resize:vertical;
    min-height:125px;
}

.form-group input::placeholder,.form-group textarea::placeholder {
    color:#98959e;
}

.form-note {
    font-size:10px;
    margin-bottom:20px;
}

.form-note a {
    text-decoration:underline;
    text-underline-offset:3px;
}

.form-status {
    font-size:13px;
    margin-top:16px;
}

.form-status:empty {
    display:none;
}

.form-status[data-state="error"] {
    color:#ffb8b8;
}

.form-status[data-state="success"] {
    color:var(--cyan);
}

.site-footer {
    padding:32px 0;
}

.footer-inner {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
}

.footer-inner .brand {
    font-size:17px;
}

.footer-inner p,.footer-links {
    font-size:10px;
    color:var(--muted);
}

.footer-links {
    display:flex;
    gap:24px;
}

.footer-links a {
    padding-block:10px;
}

.studio-faq {
    border-top: 1px solid var(--line);
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding-block: 20px;
}

.faq-list summary {
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    padding-right: 15px;
}

.faq-list summary::marker {
    color: var(--pink);
}

.faq-list p {
    max-width: 850px;
    font-size: 14px;
    line-height: 1.85;
    margin-top: 16px;
}

.faq-list a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media(min-width:1500px) {
    .hero {
        padding-top:105px;
    }
    .hero-grid {
        padding-bottom:95px;
    }
}

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

@media(max-width:1000px) {
    .wrap {
        width:calc(100% - 56px);
    }
    .hero-grid {
        gap:10px;
    }
    .hero h1 {
        font-size:54px;
    }
    .hero-actions {
        gap:15px;
    }
    .tech-list {
        gap:22px;
        font-size:14px;
    }
    .project-body {
        padding:20px;
    }
    .project-art {
        height:190px;
    }
    .contact-grid {
        gap:50px;
    }
    .about {
        gap:50px;
    }
    .nav-links {
        gap:23px;
    }
    .services-grid {
        gap:25px;
    }
}

@media(max-width:760px) {
    html {
        scroll-padding-top:90px;
    }
    .wrap {
        width:calc(100% - 40px);
    }
    .nav {
        height:74px;
        flex-wrap:wrap;
        gap:0;
    }
    .brand {
        font-size:20px;
    }
    .nav-links {
        gap:15px;
        font-size:11px;
    }
    .nav-links .nav-contact {
        padding:8px 10px;
    }
    .js .menu-toggle {
        display:block;
        border:1px solid #55565a;
        background:transparent;
        border-radius:4px;
        color:var(--text);
        padding:9px 13px;
        font-size:12px;
    }
    .js .nav-links {
        display:none;
        position:absolute;
        top:74px;
        left:0;
        right:0;
        padding:20px;
        background:#17181b;
        border-bottom:1px solid var(--line);
        flex-direction:column;
        align-items:stretch;
        gap:8px;
        font-size:15px;
    }
    .js .nav-links.is-open {
        display:flex;
    }
    .js .nav-links>a {
        padding:12px;
    }
    .hero {
        padding-top:48px;
    }
    .hero-grid {
        grid-template-columns:1fr;
        padding-bottom:35px;
        gap:28px;
    }
    .hero h1 {
        font-size:clamp(44px,8.5vw,64px);
        max-width:600px;
        margin:20px 0;
    }
    .hero-copy>p {
        max-width:520px;
        font-size:15px;
    }
    .hardware-visual {
        max-width:480px;
        width:100%;
        margin-inline:auto;
    }
    .hardware-visual svg {
        max-height:350px;
    }
    .tech-strip {
        gap:20px;
    }
    .tech-strip>span {
        max-width:none;
    }
    .tech-list {
        gap:18px 24px;
    }
    .section {
        padding:64px 0;
    }
    .section-heading {
        align-items:start;
        flex-direction:column;
        gap:18px;
        margin-bottom:28px;
    }
    .section-heading>p {
        max-width:450px;
    }
    .projects {
        grid-template-columns:1fr;
    }
    .project {
        display:grid;
        grid-template-columns:.85fr 1fr;
    }
    .project-art {
        height:100%;
        min-height:260px;
        border-right:1px solid var(--line);
        border-bottom:0;
    }
    .project-body {
        padding:24px;
    }
    .services-grid {
        grid-template-columns:1fr;
        gap:36px;
    }
    .service-number {
        margin-bottom:18px;
    }
    .service ul {
        margin-top:18px;
    }
    .process-grid {
        grid-template-columns:1fr 1fr;
        gap:32px 25px;
    }
    .about {
        grid-template-columns:1fr;
        gap:28px;
        padding-block:60px;
    }
    .contact-grid {
        grid-template-columns:1fr;
        gap:40px;
    }
    .contact-intro>p {
        max-width:500px;
    }
    .contact-next {
        margin-top:25px;
    }
    .footer-inner {
        flex-wrap:wrap;
    }
    .footer-inner p {
        order:3;
        width:100%;
    }
    .section-heading h2,.about h2 {
        font-size:38px;
    }
}

@media(max-width:440px) {
    .nav:not(:has(.menu-toggle[aria-expanded])) {
        height:auto;
        padding-block:18px;
        gap:20px;
    }
    .nav-links {
        width:100%;
        justify-content:space-between;
        gap:8px;
    }
    .hero h1 {
        font-size:44px;
    }
    .hero-actions {
        gap:20px;
    }
    .hero-actions .button {
        padding:13px 16px;
        gap:12px;
    }
    .project {
        display:flex;
    }
    .project-art {
        height:210px;
        min-height:0;
        border-right:0;
        border-bottom:1px solid var(--line);
    }
    .project-body {
        padding:25px;
    }
    .form-row {
        grid-template-columns:1fr;
        gap:0;
    }
    .process-grid {
        gap:30px 20px;
    }
    .process-step h3 {
        font-size:18px;
    }
    .about-facts {
        gap:25px;
    }
    .contact-email {
        font-size:16px;
    }
    .footer-links {
        gap:18px;
    }
    .hardware-visual figcaption {
        font-size:8px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
    *,*::before,*::after {
        transition:none!important;
        animation:none!important;
    }
}
