:root {
    --bg: #070707;
    --panel: rgba(19, 17, 16, .96);
    --panel-soft: #14110f;
    --panel-raised: #191512;
    --border: #302a26;
    --border-bright: #55483f;
    --text: #f8f4f0;
    --muted: #aaa098;
    --accent: #ff6b00;
    --accent-dark: #d65200;
    --accent-rgb: 255, 107, 0;
    --success: #8df2b0;
    --danger: #ff8989;
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow: 0 30px 90px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 6% 6%, rgba(var(--accent-rgb), .12), transparent 25%),
        radial-gradient(circle at 96% 44%, rgba(var(--accent-rgb), .065), transparent 27%),
        var(--bg);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.55;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }

.ambient {
    position: fixed;
    z-index: -1;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(125px);
    opacity: .07;
    pointer-events: none;
}
.ambient-one { top: 32%; left: -230px; }
.ambient-two { top: 76%; right: -240px; }

.page-width,
.site-header {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand,
.footer-brand { display: inline-flex; text-decoration: none; }
.brand img { width: auto; height: 40px; display: block; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}
.header-nav a:hover { color: var(--text); }
.header-nav .nav-cta {
    padding: 11px 15px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    background: rgba(255,255,255,.02);
}
.header-nav .nav-cta:hover { border-color: var(--accent); }
.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--panel-soft);
    cursor: pointer;
}
.menu-button span {
    display: block;
    width: 17px;
    height: 1.5px;
    margin: 5px auto;
    background: var(--text);
    transition: transform .2s ease;
}
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu {
    position: fixed;
    z-index: 20;
    inset: 95px 20px auto;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(15,13,12,.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.mobile-menu a {
    display: block;
    padding: 15px;
    border-radius: 12px;
    color: var(--muted);
    text-decoration: none;
}
.mobile-menu a:hover { color: var(--text); background: rgba(255,255,255,.04); }

.eyebrow {
    margin: 0 0 13px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.hero {
    min-height: 680px;
    padding: 88px 0 92px;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(290px, .72fr);
    align-items: end;
    gap: clamp(50px, 8vw, 110px);
}
.hero h1,
.section-heading h2,
.agency-copy h2,
.contact-intro h2 {
    margin: 0;
    font-family: "Syne", sans-serif;
    letter-spacing: -.055em;
}
.hero h1 {
    max-width: 850px;
    font-size: clamp(48px, 7.4vw, 91px);
    line-height: .93;
    font-weight: 700;
}
.hero-copy {
    max-width: 750px;
    margin: 27px 0 0;
    color: #bbb1aa;
    font-size: clamp(16px, 2vw, 19px);
}
.hero-actions,
.agency-actions {
    margin-top: 31px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.button {
    min-height: 52px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #180b02; }
.button-primary:hover { background: #ff7a1c; }
.button-secondary { background: transparent; border-color: var(--border); color: var(--text); }
.button-secondary:hover { border-color: var(--border-bright); background: rgba(255,255,255,.025); }
.hero-note {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255,107,0,.075), rgba(255,255,255,.012));
}
.hero-note-number {
    display: block;
    margin-bottom: 44px;
    color: #76685f;
    font-family: "Syne", sans-serif;
    font-size: 15px;
}
.hero-note h2 {
    margin: 0;
    font-family: "Syne", sans-serif;
    font-size: 27px;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.hero-note > p:not(.eyebrow) { margin: 17px 0 0; color: var(--muted); font-size: 14px; }
.mini-list { margin-top: 25px; display: grid; gap: 10px; }
.mini-list span { display: flex; align-items: center; gap: 9px; color: #c4bbb5; font-size: 12px; }
.mini-list span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.projects { padding: 104px 0; }
.section-heading {
    margin-bottom: 42px;
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px);
    align-items: end;
    gap: 40px;
}
.section-heading h2,
.agency-copy h2,
.contact-intro h2 {
    font-size: clamp(39px, 6vw, 65px);
    line-height: .98;
}
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.project-card {
    position: relative;
    min-height: 560px;
    padding: clamp(25px, 4vw, 38px);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--panel);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}
.project-card:hover { transform: translateY(-5px); border-color: var(--border-bright); }
.project-card.featured {
    background:
        radial-gradient(circle at 86% 10%, rgba(var(--accent-rgb),.17), transparent 31%),
        var(--panel);
}
.project-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -160px;
    bottom: -170px;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), .15);
    box-shadow: 0 0 0 36px rgba(var(--accent-rgb), .028), 0 0 0 75px rgba(var(--accent-rgb), .018);
}
.project-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.card-index { color: #76685f; font-family: "Syne", sans-serif; font-size: 15px; }
.card-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 19px;
    color: var(--accent);
    background: rgba(var(--accent-rgb), .05);
}
.card-icon svg { width: 35px; height: 35px; }
.project-card-body { margin-top: auto; padding-top: 90px; }
.card-kicker { margin: 0 0 13px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.project-card h3 { margin: 0; max-width: 450px; font-family: "Syne", sans-serif; font-size: clamp(30px, 4.2vw, 47px); line-height: .98; letter-spacing: -.045em; }
.project-card-body > p:not(.card-kicker) { max-width: 520px; margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.project-card ul { margin: 22px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.project-card li { display: flex; align-items: center; gap: 9px; color: #c7beb8; font-size: 12px; }
.project-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.card-link {
    position: relative;
    z-index: 1;
    margin-top: 32px;
    padding-top: 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.card-link span { color: var(--accent); font-size: 19px; transition: transform .2s ease; }
.card-link:hover span { transform: translateX(4px); }

.agency {
    padding: 120px 0;
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(45px, 8vw, 105px);
}
.agency-copy > p:not(.eyebrow) { margin: 24px 0 0; color: var(--muted); font-size: 16px; }
.text-link { color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: var(--text); }
.site-preview {
    display: block;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #12100e;
    box-shadow: var(--shadow);
    overflow: hidden;
    text-decoration: none;
    transform: rotate(1.5deg);
    transition: transform .3s ease, border-color .3s ease;
}
.site-preview:hover { transform: rotate(0) translateY(-5px); border-color: var(--border-bright); }
.browser-bar {
    height: 48px;
    padding: 0 17px;
    display: grid;
    grid-template-columns: 70px 1fr 30px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #29231f;
    color: #8f857e;
    font-size: 10px;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 7px; height: 7px; border-radius: 50%; background: #514840; }
.browser-dots span:first-child { background: var(--accent); }
.browser-address { justify-self: center; width: min(320px, 100%); padding: 6px 13px; border-radius: 999px; background: #1c1815; text-align: center; }
.browser-open { justify-self: end; color: var(--accent); }
.preview-frame { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0c0b0a; }
.preview-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top left; transition: transform .65s ease; }
.site-preview:hover .preview-frame img { transform: scale(1.025); }
.preview-frame::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); pointer-events: none; }
.preview-label {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    color: #fff;
    background: rgba(7,7,7,.72);
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 700;
}
.preview-label b { margin-left: 6px; color: var(--accent); }

.contact {
    margin-top: 80px;
    margin-bottom: 100px;
    padding: clamp(30px, 6vw, 70px);
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
    gap: clamp(45px, 8vw, 100px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 7% 85%, rgba(var(--accent-rgb), .10), transparent 30%),
        var(--panel);
    box-shadow: var(--shadow);
}
.contact-intro > p:not(.eyebrow) { margin: 23px 0 0; color: var(--muted); }
.contact-details { margin-top: 42px; display: grid; gap: 9px; }
.contact-details > * {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}
.contact-details a:hover strong { color: var(--accent); }
.detail-label { display: block; margin-bottom: 5px; color: #81766f; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-details strong { display: block; color: #d4cbc5; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.contact-form-card {
    padding: clamp(23px, 4vw, 38px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(9,8,7,.62);
}
.notice { margin-bottom: 24px; padding: 15px; display: flex; gap: 12px; border: 1px solid; border-radius: 14px; }
.notice > span { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.notice strong { font-size: 13px; }
.notice p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.notice.success { border-color: rgba(141,242,176,.22); background: rgba(141,242,176,.045); }
.notice.success > span { color: #07130b; background: var(--success); }
.notice.error { border-color: rgba(255,137,137,.23); background: rgba(255,137,137,.045); }
.notice.error > span { color: #1a0707; background: var(--danger); }
.field-grid { display: grid; gap: 15px; }
.two-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; color: #d5ccc6; font-size: 12px; font-weight: 600; }
.field label span,
.consent b { color: var(--accent); }
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: #0e0c0b;
    color: var(--text);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input,
.field select { height: 49px; padding: 0 13px; }
.field textarea { min-height: 145px; padding: 13px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #665d57; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .10); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field-error { display: none; margin-top: 6px; color: var(--danger); font-size: 10px; }
.field.has-error .field-error { display: block; }
.field-meta { display: flex; justify-content: space-between; color: #716760; font-size: 10px; }
.field-meta .field-error { margin-right: auto; }
.consent { margin: 3px 0 22px; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 11px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.consent.has-error { color: var(--danger); }
.submit-button { width: 100%; border: 0; }
.submit-button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-note { margin: 13px 0 0; color: #776d66; font-size: 10px; text-align: center; }
.form-note strong { color: #b6aca5; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer {
    padding: 36px 0 46px;
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    align-items: center;
    gap: 28px;
    border-top: 1px solid var(--border);
}
.footer-brand img { width: auto; height: 31px; }
.site-footer > p { margin: 0; color: #81766f; font-size: 11px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.site-footer .copyright { grid-column: 1 / -1; padding-top: 5px; font-size: 10px; }

@media (max-width: 920px) {
    .header-nav { display: none; }
    .menu-button { display: block; }
    .hero { min-height: auto; padding-top: 72px; grid-template-columns: 1fr; align-items: start; }
    .hero-note { max-width: 520px; }
    .section-heading { grid-template-columns: 1fr; gap: 20px; }
    .project-grid { grid-template-columns: 1fr; }
    .project-card { min-height: 530px; }
    .agency { grid-template-columns: 1fr; }
    .agency-copy { max-width: 650px; }
    .site-preview { transform: none; }
    .contact { grid-template-columns: 1fr; }
    .contact-intro { max-width: 680px; }
    .site-footer { grid-template-columns: 1fr auto; }
    .site-footer > p:not(.copyright) { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    .page-width,
    .site-header { width: min(100% - 28px, 1180px); }
    .site-header { min-height: 82px; }
    .brand img { height: 34px; }
    .hero { padding: 58px 0 76px; gap: 42px; }
    .hero h1 { font-size: clamp(43px, 13.5vw, 66px); }
    .hero-actions .button { width: 100%; }
    .projects { padding: 76px 0; }
    .project-card { min-height: 530px; border-radius: 23px; }
    .project-card-body { padding-top: 70px; }
    .agency { padding: 82px 0; }
    .browser-address { max-width: 180px; }
    .contact { width: 100%; margin-top: 50px; margin-bottom: 70px; padding: 55px 14px 14px; border-inline: 0; border-radius: 0; }
    .contact-intro { padding-inline: 5px; }
    .contact-form-card { padding: 22px 16px; }
    .two-columns { grid-template-columns: 1fr; gap: 0; }
    .site-footer { grid-template-columns: 1fr; align-items: start; }
    .footer-links { flex-wrap: wrap; }
}

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