/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    display: block !important;
    max-width: 100%;
    height: auto;
    visibility: visible !important;
    opacity: 1 !important;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Mobile spacing system */
    --mobile-left-padding: 24px;
    --mobile-heading-margin-bottom: 8px;
    --mobile-paragraph-margin-bottom: 16px;
    --mobile-cta-to-heading-spacing: 24px;
    --mobile-nav-to-cta-spacing: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F0EEE7;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Prevent scroll jump on page load */
html:not(:target) {
    scroll-padding-top: 0;
}

/* Typography - Georgia Pro */
/* Using georgiapro from Adobe Fonts - Typekit link: https://use.typekit.net/ult4xsi.css */
/* Font-weight 300 = Light */

/* Header */
/* Desktop Header (default - min-width: 769px) */
.header {
    padding: 2rem 3rem;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    min-height: 4rem;
}

.logo {
    text-decoration: none;
    color: #000000;
    display: flex;
    align-items: baseline;
    width: fit-content;
    flex-shrink: 0;
}

.logo-sydney {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1.6rem;
}

.logo-grignon {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: #746A63;
}

.nav {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1.5rem;
    color: #000000;
    text-decoration: none;
    transition: font-weight 0.2s;
}

.nav-link:hover,
.nav-link.active {
    font-weight: 300;
}

.header-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
    margin-left: auto;
}

/* On desktop, accepting-clients is positioned below logo, above arrow */
.accepting-clients {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid #000000;
    border-radius: 50px;
    background: #FFFFFF;
    width: fit-content;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.85rem;
    color: #000000;
    white-space: nowrap;
    position: absolute;
    left: 3rem;
    top: calc(100% + 1rem);
    margin-top: 0;
    height: fit-content;
}

/* Start a Project CTA — minimal, architectural (Apple / Linear / Vercel feel) */
.lets-talk-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: #2a2a2a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 26px;
    border: 1px solid #6b6560;
    border-radius: 999px;
    background: transparent;
    transition: all 180ms ease;
    white-space: nowrap;
    display: inline-block;
}

.lets-talk-btn:hover {
    background: #e8e4dc;
    border-color: #5a5550;
    color: #2a2a2a;
}

.lets-talk-btn:active {
    background: #746A63;
    border-color: #746A63;
    color: #ffffff;
}

.lets-talk-btn:focus-visible {
    outline: 1px solid #5a5550;
    outline-offset: 2px;
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #90EE90;
    display: inline-block;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
    margin-left: 3rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hero-line-1,
.hero-line-3 {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 4.7rem;
    color: #000000;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.hero-line-2 {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    font-size: 4.7rem;
    color: #746A63;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
    margin-top: 30px;
    max-width: 95%;
}

.hero-content .lets-talk-btn.hero-cta {
    margin-top: 28px;
}

.hero-graphic {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 60%;
    max-width: 800px;
    display: block !important;
    visibility: visible !important;
    pointer-events: none;
}

.hero-graphic img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    animation: hero-float 11s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.95;
    }
    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.scroll-down {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 3;
}

.scroll-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #8B7F77;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.scroll-circle:hover {
    transform: translateY(5px);
}

.scroll-circle svg {
    width: 20px;
    height: 20px;
}

/* Marquee Section */
.marquee-section {
    background-color: rgba(139, 127, 119, 0.25);
    padding: 2.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee {
    display: flex;
    width: fit-content;
    animation: scroll 50s linear infinite;
    gap: 4rem;
    will-change: transform;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    flex-shrink: 0;
    align-items: center;
    will-change: transform;
}

.marquee-content span {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    font-size: 2rem;
    color: #746A63;
    white-space: nowrap;
    letter-spacing: -0.03em;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* What I Build Section */
.what-i-build {
    padding: 2rem 3rem;
    min-height: auto;
    background-color: #FFFCF6;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-part-1 {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    color: #000000;
    letter-spacing: -0.03em;
}

.title-part-2 {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    color: #746A63;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    margin-bottom: 1.5rem;
    margin-top: -1rem;
}

/* Default: 4 columns for desktop */
.build-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Explicitly ensure 4 columns on desktop screens */
@media screen and (min-width: 769px) {
    .what-i-build .build-items {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.build-item {
    background-color: rgba(139, 127, 119, 0.25);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 200px;
    position: relative;
}

.build-item img {
    width: 50%;
    min-width: 80px;
    height: auto;
    min-height: 80px;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain;
}

.build-item h3 {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 1rem;
    color: #000000;
    margin-bottom: 0.25rem;
}

.build-item p {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.85rem;
    color: #000000;
    line-height: 1.4;
}

.always-open {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    text-align: right;
    margin-top: 2rem;
}

/* Case Studies Section */
.case-studies {
    padding: 6rem 3rem 12rem 3rem;
    background-color: #F0EEE7;
}

.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.case-study:last-child {
    margin-bottom: 0;
}

.case-study-image {
    width: 100%;
}

.case-study-image a {
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
}

.case-study-image a:hover {
    opacity: 0.8;
}

.case-study-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.case-study-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-number {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    color: #746A63;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.case-title {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif !important;
    font-weight: 300 !important;
    font-style: normal !important;
    font-size: 3rem;
    color: #000000;
    letter-spacing: -0.03em;
}

/* Force case study hero title to Georgia Pro (override any Inter inheritance) */
.case-study-hero .case-title,
.case-study-hero h1.case-title {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif !important;
    font-weight: 300 !important;
    font-style: normal !important;
}

.case-site {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #746A63;
    text-decoration: none;
}

.case-site:hover {
    text-decoration: underline;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.85rem;
    color: #000000;
    background-color: transparent;
    border: 1px solid #000000;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
}

.case-description {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
    margin-top: 1rem;
}

.read-case-study {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
}

.read-case-study:hover {
    text-decoration: underline;
}

/* Case Study Full Page Styles */
.case-study-hero {
    padding: 4rem 3rem;
    background-color: #F0EEE7;
    position: relative;
}

.case-study-hero .back-button {
    margin-bottom: 1rem;
}

.case-study-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.case-study-hero-image {
    width: 100%;
}

.case-study-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.case-study-hero-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-study-content {
    padding: 6rem 3rem;
    background-color: #F0EEE7;
    max-width: 1400px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 5rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1.25rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 0;
}

.content-text strong {
    font-weight: 300;
}

.content-text-wrapper {
    max-width: 100%;
}

/* Layout Variations */
.layout-text-image {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.layout-image-text {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-images {
    display: grid;
    gap: 2rem;
}

.images-single img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

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

.images-two img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.images-three {
    grid-template-columns: repeat(3, 1fr);
}

.images-three img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.images-full {
    grid-template-columns: 1fr;
}

.images-full img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Footer */
.footer {
    background-color: #FFFCF6;
    padding: 2.5rem 3rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.footer-title-1 {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 2.5rem;
    color: #746A63;
    letter-spacing: -0.03em;
}

.footer-title-2 {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    font-size: 2.5rem;
    color: #000000;
    letter-spacing: -0.03em;
}

/* New footer content (Limina Labs, tagline, availability, CTA) */
.footer-brand {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 2rem;
    color: #000000;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    font-size: 1.25rem;
    color: #746A63;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.footer-availability {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.95rem;
    color: #000000;
    margin-bottom: 0;
}

.footer-cta {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #000000;
    text-decoration: none;
}

.footer-cta:hover {
    text-decoration: underline;
}

.copyright,
.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    color: #000000;
}

.made-by-me {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.7rem;
    color: #746A63;
    margin-top: 0.5rem;
    cursor: pointer;
    position: relative;
    display: inline-block;
    line-height: 1.4;
}

.made-by-me-short {
    display: inline-block;
    transition: opacity 0.3s ease 0.1s;
}

.made-by-me-expanded {
    display: inline-block;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.3s ease, max-width 0.4s ease;
    vertical-align: top;
}

.made-by-me:hover .made-by-me-short {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.made-by-me:hover .made-by-me-expanded {
    opacity: 1;
    max-width: 500px;
    transition: opacity 0.3s ease 0.2s, max-width 0.4s ease 0.2s;
}

/* Back Button - positioned at top of content */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    transition: opacity 0.2s;
    margin-bottom: 1rem;
    padding: 0.375rem 0;
    width: fit-content;
}

/* Hide back button on home page */
.index-page .back-button {
    display: none;
}

.back-button:hover {
    opacity: 0.6;
}

.back-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

.back-arrow:hover {
    opacity: 0.6;
}

.back-arrow svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Other Projects Section */
.other-projects-section {
    padding: 4rem 3rem;
    background-color: #F0EEE7;
}

.other-projects-content {
    max-width: 1400px;
    margin: 0 auto;
}

.other-projects-title {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 2.5rem;
    color: #000000;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
    text-transform: lowercase;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.other-project-card {
    text-decoration: none;
    color: #000000;
    background-color: #FFFCF6;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.other-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.other-project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.other-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.other-project-number {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.8rem;
    color: #746A63;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.other-project-title {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: normal;
    font-size: 1.5rem;
    color: #000000;
    letter-spacing: -0.03em;
}

/* Work Page Styles */
.work-page {
    padding: 4rem 3rem;
    background-color: #F0EEE7;
    min-height: 100vh;
    position: relative;
}

.work-page .back-button {
    margin-bottom: 1rem;
}

.work-page-content {
    max-width: 1400px;
    margin: 0 auto;
}

.work-page-title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.work-title-selected {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 3.5rem;
    color: #000000;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.work-title-case-studies {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    font-size: 3.5rem;
    color: #746A63;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.work-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    color: #000000;
    background: transparent;
    border: 1px solid #000000;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: lowercase;
}

.filter-btn:hover {
    background-color: #000000;
    color: #F0EEE7;
}

.filter-btn.active {
    font-weight: 300;
    background-color: #000000;
    color: #F0EEE7;
}

.work-projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.work-project {
    background-color: #FFFCF6;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.work-project-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.work-project-image a {
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
}

.work-project-image a:hover {
    opacity: 0.8;
}

.work-project-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.work-project-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.work-project-number {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.85rem;
    color: #746A63;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.work-project-title {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 2.5rem;
    color: #000000;
    letter-spacing: -0.03em;
}

.work-project-site {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.95rem;
    color: #746A63;
    text-decoration: none;
}

.work-project-site:hover {
    text-decoration: underline;
}

.work-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.work-tag {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.8rem;
    color: #000000;
    background-color: transparent;
    border: 1px solid #000000;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
}

.work-project-description {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.work-read-case-study {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
    margin-top: 0.5rem;
    display: inline-block;
}

.work-read-case-study:hover {
    text-decoration: underline;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.availability-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
}

.footer-email {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
}

.footer-email:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.2s;
}

.social-link:hover {
    opacity: 0.6;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */

@media (max-width: 1024px) {
    .hero-line-1,
    .hero-line-2,
    .hero-line-3 {
        font-size: 3rem;
    }

    .hero-graphic {
        width: 50%;
        right: 0%;
    }

    .case-study {
        grid-template-columns: 1fr;
    }

    .case-study-hero {
        padding: 3rem 2rem;
    }

    .case-study-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-study-content {
        padding: 4rem 2rem;
    }

    .layout-text-image,
    .layout-image-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-images {
        grid-template-columns: 1fr;
    }

    .work-page {
        padding: 2rem 2rem 3rem 2rem;
    }

    .case-study-hero {
        padding: 2rem 2rem 3rem 2rem;
    }

    .work-title-selected,
    .work-title-case-studies {
        font-size: 2.5rem;
    }

    .work-projects {
        grid-template-columns: 1fr;
    }

    .approach-page {
        padding: var(--mobile-cta-to-heading-spacing) var(--mobile-left-padding) 3rem var(--mobile-left-padding);
    }

    .approach-page-content {
        max-width: 100%;
        margin: 0;
        padding-left: 0;
    }

    .approach-page-title {
        margin-bottom: var(--mobile-heading-margin-bottom) !important;
        padding-left: 0;
        margin-left: 0;
    }

    .approach-title-hybrid,
    .approach-title-mindset {
        font-size: 2.5rem;
    }

    /* Force single-column layout - break two-column grid */
    .approach-content {
        display: block !important;
        grid-template-columns: none !important;
        gap: 3rem;
    }

    .approach-text-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        order: 1;
        margin-bottom: 0;
    }

    .approach-left-column {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        order: 2;
        margin-top: 0;
    }

    .practical-stack-section {
        margin-top: 0;
        width: 100%;
    }

    .practical-stack-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .approach-text {
        font-size: 1rem;
        width: 100%;
    }

    .other-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-page {
        padding: var(--mobile-cta-to-heading-spacing) var(--mobile-left-padding) 3rem var(--mobile-left-padding);
    }

    .contact-page-content {
        max-width: 100%;
        margin: 0;
        padding-left: 0;
    }

    .contact-page-title {
        margin-bottom: var(--mobile-heading-margin-bottom) !important;
        padding-left: 0;
        margin-left: 0;
    }

    .contact-title-lets,
    .contact-title-talk {
        font-size: 2.5rem;
    }

    /* Force single-column layout - break two-column grid */
    .contact-content {
        display: block !important;
        grid-template-columns: none !important;
        flex-direction: column;
        gap: 3rem;
    }

    .contact-text-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        order: 1;
        margin-bottom: 0;
    }

    .contact-info-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        order: 2;
        margin-top: 0;
    }

    .contact-text {
        font-size: 1rem;
        width: 100%;
    }

    .other-projects-section {
        padding: 3rem 2rem;
    }

    .other-projects-title {
        font-size: 2rem;
    }

    .other-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .other-project-image {
        height: 180px;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 4rem 3rem;
    background-color: #F0EEE7;
    min-height: 100vh;
    position: relative;
}

.contact-page .back-button {
    margin-bottom: 1rem;
}

.contact-page-content {
    max-width: 1000px;
    margin: 0;
}

.contact-page-title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 4rem;
    padding-left: 0;
}

.contact-title-lets {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 3.5rem;
    color: #000000;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.contact-title-talk {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    font-size: 3.5rem;
    color: #746A63;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1.25rem;
    color: #000000;
    line-height: 1.8;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-method-label {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    color: #746A63;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-email,
.contact-link {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
}

.contact-email:hover,
.contact-link:hover {
    text-decoration: underline;
}

/* Start Project Page & Form */
.start-project-page {
    padding: 4rem 3rem;
    background-color: #F0EEE7;
    min-height: 100vh;
    position: relative;
}

.start-project-page .back-button {
    margin-bottom: 1rem;
}

.start-project-content {
    max-width: 560px;
    margin: 0;
}

.start-project-title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 3rem;
    padding-left: 0;
}

.start-project-title-1 {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 3.5rem;
    color: #000000;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.start-project-title-2 {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    font-size: 3.5rem;
    color: #746A63;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.start-project-form-wrap {
    display: block;
}

.start-project-form-wrap[hidden] {
    display: none;
}

.start-project-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.start-project-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.start-project-form label {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    color: #2a2a2a;
}

.start-project-form input[type="text"],
.start-project-form input[type="email"],
.start-project-form select,
.start-project-form textarea {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #2a2a2a;
    padding: 0.6rem 0.75rem;
    border: 1px solid #6b6560;
    border-radius: 12px;
    background: #e8e4dc !important;
    transition: border-color 180ms ease;
}

.start-project-form input:focus,
.start-project-form select:focus,
.start-project-form textarea:focus {
    outline: none;
    border-color: #746A63;
}

/* Inline validation – pastel red highlight instead of pop-ups */
.start-project-form .form-field.has-error input[type="text"],
.start-project-form .form-field.has-error textarea {
    border-color: #e8a5a5;
    background: #fdf2f2 !important;
}
.start-project-form .form-field.has-error .custom-select-trigger {
    border-color: #e8a5a5;
    background-color: #fdf2f2 !important;
}
.start-project-form .form-field.has-error .custom-select.is-open .custom-select-frame {
    border-color: #e8a5a5;
}

/* Inline server/network error message */
.start-project-form-error {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    color: #8b4545;
    background: #fdf2f2;
    border: 1px solid #e8a5a5;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
}

/* Custom select dropdowns – single frame border when open, no overlapping lines */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-frame {
    position: relative;
    border-radius: 12px;
}

.custom-select.is-open .custom-select-frame {
    border: 1px solid #746A63;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #2a2a2a;
    padding: 0.6rem 0.75rem;
    padding-right: 2.25rem;
    border: 1px solid #6b6560;
    border-radius: 12px;
    background-color: #e8e4dc !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    cursor: pointer;
    text-align: left;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.custom-select-trigger:hover {
    border-color: #5a5550;
}

.custom-select.is-open .custom-select-trigger {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #d5d0c7;
}

.custom-select-trigger[data-value]:not([data-value=""]) {
    color: #000000;
    font-weight: 300;
}

.custom-select-dropdown {
    position: relative;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: #e8e4dc !important;
    transition: max-height 200ms ease;
}

.custom-select.is-open .custom-select-dropdown {
    max-height: min(280px, 60vh);
    overflow-y: auto;
}

.custom-select-option {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #2a2a2a;
    padding: 0.65rem 0.75rem;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.custom-select-option:not(:last-child) {
    box-shadow: 0 1px 0 0 #d5d0c7;
}

.custom-select-option:hover {
    background: #ddd8cf;
    color: #2a2a2a;
}

.custom-select-option.is-selected {
    background: #ddd8cf;
    font-weight: 300;
    color: #746A63;
}

.start-project-form textarea {
    resize: vertical;
    min-height: 120px;
    border-radius: 12px;
}

.start-project-submit {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2a2a2a;
    padding: 12px 26px;
    border: 1px solid #6b6560;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: all 180ms ease;
    width: fit-content;
    margin-top: 0.5rem;
}

.start-project-submit:hover:not(:disabled) {
    background: #e8e4dc;
    border-color: #5a5550;
}

.start-project-submit:active:not(:disabled) {
    background: #746A63;
    border-color: #746A63;
    color: #ffffff;
}

.start-project-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.start-project-success {
    padding: 2rem 0;
}

.start-project-success[hidden] {
    display: none;
}

.start-project-success-title {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 2rem;
    color: #000000;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.start-project-success-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1.1rem;
    color: #2a2a2a;
    line-height: 1.6;
}

.start-project-success .start-project-back-btn {
    display: inline-block;
    text-decoration: none;
    margin-top: 1.5rem;
}

.start-project-success .start-project-back-btn:hover {
    background: #e8e4dc;
    border-color: #5a5550;
}

.start-project-success .start-project-back-btn:active {
    background: #746A63;
    border-color: #746A63;
    color: #ffffff;
}

/* Approach Page Styles */
.approach-page {
    padding: 4rem 3rem;
    background-color: #F0EEE7;
    min-height: 100vh;
    position: relative;
}

.approach-page .back-button {
    margin-bottom: 1rem;
}

.approach-page-content {
    max-width: 1400px;
    margin: 0;
}

.approach-page-title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 4rem;
    padding-left: 0;
}

.approach-title-hybrid {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 3.5rem;
    color: #000000;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.approach-title-mindset {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-style: italic;
    font-size: 3.5rem;
    color: #746A63;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.approach-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.approach-text-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.approach-text {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1.25rem;
    color: #000000;
    line-height: 1.8;
}

.approach-left-column {
    display: flex;
    flex-direction: column;
}

.practical-stack-section {
    margin-top: 0;
}

.practical-stack-title {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stack-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stack-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stack-item-title {
    font-family: "georgiapro", georgia-pro, 'Georgia Pro Condensed', 'Georgia', serif;
    font-weight: 300 !important;
    font-size: 1.5rem;
    color: #000000;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.stack-item-description {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    color: #746A63;
    line-height: 1.6;
}

/* Mobile Header (max-width: 768px) */
@media (max-width: 768px) {
    .header {
        padding: 1rem var(--mobile-left-padding) 1.5rem var(--mobile-left-padding);
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
        row-gap: 0.75rem;
        position: relative;
    }

    /* First row: logo, nav, let's talk button */
    .logo {
        order: 1;
        flex-shrink: 0;
    }

    .logo-sydney {
        font-size: 1.1rem;
    }

    .logo-grignon {
        font-size: 1.1rem;
    }

    .nav {
        position: static;
        transform: none;
        left: auto;
        order: 2;
        justify-content: flex-start;
        width: auto;
        gap: 1rem;
        flex-shrink: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .header-ctas {
        order: 3;
        gap: 0.75rem;
        justify-content: flex-start;
        width: auto;
        margin-left: auto;
        flex-direction: row;
        align-items: center;
        flex-shrink: 0;
    }

    .lets-talk-btn {
        font-size: 0.8125rem;
        padding: 11px 20px;
        border-radius: 999px;
    }

    /* Accepting new projects below logo on mobile */
    .accepting-clients {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        position: absolute !important;
        left: var(--mobile-left-padding) !important;
        top: calc(1rem + 2.5rem) !important;
        margin-top: 0 !important;
        width: auto;
        align-self: center;
    }
    
    /* Back button spacing on mobile */
    .back-button {
        margin-top: 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .back-button svg {
        width: 14px;
        height: 14px;
    }

    /* Shared mobile left margin for all page content */
    /* Account for CTA bar height (~40px) + spacing (12px) + gap to heading (24px) */
    .approach-page,
    .contact-page,
    .start-project-page {
        padding-left: var(--mobile-left-padding);
        padding-right: var(--mobile-left-padding);
        padding-top: calc(40px + var(--mobile-nav-to-cta-spacing) + var(--mobile-cta-to-heading-spacing) - 0.5rem);
        padding-bottom: 3rem;
    }

    /* Tighten heading spacing */
    .approach-page-title,
    .contact-page-title,
    .start-project-title {
        margin-bottom: var(--mobile-heading-margin-bottom) !important;
        padding-left: 0;
        margin-left: 0;
    }

    .start-project-title-1,
    .start-project-title-2 {
        font-size: 2.5rem;
    }

    /* Approach Page - Force Single Column Layout with consistent spacing */
    .approach-content {
        display: block !important;
        grid-template-columns: none !important;
        gap: var(--mobile-paragraph-margin-bottom);
        padding-left: 0;
    }

    .approach-text-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: var(--mobile-paragraph-margin-bottom);
        padding-left: 0;
    }

    .approach-text {
        margin-bottom: var(--mobile-paragraph-margin-bottom);
    }

    .approach-left-column {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-top: var(--mobile-paragraph-margin-bottom);
        padding-left: 0;
    }

    .practical-stack-section {
        width: 100%;
        padding-left: 0;
    }

    .practical-stack-title {
        margin-bottom: var(--mobile-heading-margin-bottom) !important;
    }

    /* Let's Talk Page - Force Single Column Layout with consistent spacing */
    .contact-content {
        display: block !important;
        grid-template-columns: none !important;
        gap: var(--mobile-paragraph-margin-bottom);
        padding-left: 0;
    }

    .contact-text-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: var(--mobile-paragraph-margin-bottom);
        padding-left: 0;
    }

    .contact-text {
        margin-bottom: var(--mobile-paragraph-margin-bottom);
    }

    .contact-info-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-top: var(--mobile-paragraph-margin-bottom);
        padding-left: 0;
    }

    .contact-method {
        margin-bottom: var(--mobile-paragraph-margin-bottom);
    }

    .hero {
        padding: 2rem var(--mobile-left-padding) 3rem var(--mobile-left-padding);
        min-height: 70vh;
    }

    .hero-content {
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    .hero-line-1,
    .hero-line-2,
    .hero-line-3 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }

    .hero-graphic {
        display: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .what-i-build {
        padding: 2rem var(--mobile-left-padding);
        overflow-x: hidden;
    }
    
    .case-studies {
        padding: 4rem 2rem 6rem 2rem;
    }
    
    .build-items {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
        margin-top: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .build-item {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem;
        min-height: auto;
        box-sizing: border-box;
    }
    
    .build-item img {
        width: 35%;
        max-width: 80px;
        min-width: 50px;
        min-height: 50px;
    }
    
    .build-item h3 {
        font-size: 0.85rem;
    }
    
    .build-item p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .footer {
        padding: 3rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-study-hero {
        padding: 3rem 2rem;
    }

    .case-study-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-study-content {
        padding: 4rem 2rem;
    }

    .layout-text-image,
    .layout-image-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
