:root {
    --navy: #1a1a1a;
    --coral: #e8967a;
    --cream: #faf8f5;
    --white: #ffffff;
    --navy-light: #2a2a2a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Familjen Grotesk', sans-serif;
    background: var(--navy);
    color: var(--cream);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease;
}

nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    color: var(--coral);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--coral);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: opacity 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: auto;
    height: auto;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 6rem 3rem 0 3rem;
}

.hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--coral);
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(8rem, 18vw, 20rem);
    font-weight: 300;
    line-height: 0.85;
    color: var(--coral);
    letter-spacing: -0.02em;
    position: relative;
    margin-bottom: 0;
}

.hero-title span {
    display: block;
}

.hero-title-top {
    z-index: 2;
}

.hero-title-bottom {
    margin-top: -0.05em;
    z-index: 0;
}

.hero-image-container {
    position: absolute;
    right: 5%;
    top: 50%;
    width: 35%;
    max-width: 500px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-image {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center 20%;
    margin-bottom: 1.5rem;
    border-radius: 16px;
}

.hero-image-info {
    text-align: right;
    z-index: 10;
    position: relative;
    background: var(--navy);
    padding: 1rem 0;
    width: 100%;
}

.hero-image-info .about-label {
    margin-bottom: 0.5rem;
    display: block;
    opacity: 1 !important;
}

.hero-image-info .about-title {
    margin-bottom: 0;
    display: block;
    opacity: 1 !important;
}

.floating-text {
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 300;
    color: var(--coral);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.floating-text.left {
    bottom: 5%;
    left: -5%;
    transform: rotate(-90deg);
    transform-origin: left bottom;
}

/* About Section */
.about {
    color: var(--cream);
    padding: 0 3rem 0rem;
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-top: 10vh;
}

.about-content {
    max-width: 700px;
    width: 100%;
}

.about-label {
    font-family: 'saleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--coral);
    margin-bottom: 2rem;
}

.about-title {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 50;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: var(--coral);
}

.about-text {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cream);
    max-width: 600px;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    object-position: center;
}

.contact-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--coral);
    color: var(--coral);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: var(--coral);
    color: var(--navy);
}

/* Key Projects */
.key-projects {
    padding: 6rem 3rem 4rem;
}

.key-projects-label {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--coral);
    margin-bottom: 2rem;
    display: block;
}

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

.key-project-card {
    display: flex;
    flex-direction: column;
    background: var(--navy-light);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--cream);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.key-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.key-project-card-stripe {
    height: 6px;
}

.key-project-card-body {
    padding: 1.75rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.key-project-card-cat {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.5;
    margin-bottom: 0.75rem;
}

.key-project-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.key-project-card-sub {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.6;
    flex: 1;
    margin-bottom: 1.5rem;
}

.key-project-card-cta {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .key-projects-grid { grid-template-columns: 1fr; }
    .key-projects { padding: 4rem 1.5rem 2rem; }
}

/* DIY Panel — hidden */
.diy-panel {
    display: none;
    background: var(--cream);
    padding: 6rem 3rem;
}

.diy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.diy-start {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem;
    color: #1a1a1a;
}

.diy-start-label {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.9rem;
}

.diy-card {
    background: var(--cream);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #1a1a1a;
}

.diy-card--coral { background: #e8967a; }
.diy-card--green { background: #b5c4a0; }
.diy-card--blue  { background: #c4d0e8; }

.diy-number {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.5;
    font-family: 'Familjen Grotesk', sans-serif;
}

.diy-card h3 {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.diy-card p {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.85rem;
    line-height: 1.7;
    opacity: 0.75;
}

/* ============================================
   Venn Section
   ============================================ */

.venn-section {
    background: var(--navy);
    padding: 5rem 3rem 4rem;
}

.venn-hdr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 3.5rem;
}

.venn-hdr-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--cream);
    opacity: 0.75;
}

.venn-hdr-hint {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.3;
}

/* Centered by default; panel slides in on hover */
.venn-split {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.venn-split-left {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

/* Sizer — clips and drives the slide-in animation */
.venn-panel-sizer {
    flex: 0 0 0px;
    overflow: hidden;
    margin-left: 0;
    transition: flex-basis 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                margin-left 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.venn-split.revealed .venn-panel-sizer {
    flex-basis: 460px;
    margin-left: 3.5rem;
}

/* ---- Projects panel (right half) ---- */
.venn-panel {
    width: 460px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease 0.28s;
}

.venn-split.revealed .venn-panel {
    opacity: 1;
    pointer-events: auto;
}

/* Panel header row (label + optional unlock button) */
.venn-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
}

/* Unlock / close button */
.venn-panel-unlock {
    background: none;
    border: 1px solid rgba(250, 248, 245, 0.22);
    color: rgba(250, 248, 245, 0.5);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

.venn-panel-unlock:hover {
    border-color: rgba(250, 248, 245, 0.55);
    color: rgba(250, 248, 245, 0.9);
}

.venn-panel-hint {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(250, 248, 245, 0.22);
    text-align: center;
    margin: auto;
    line-height: 1.7;
}

.venn-panel-hint--quote {
    font-size: 1.3rem;
    color: rgba(250, 248, 245, 0.45);
    max-width: 340px;
}

.venn-panel-label {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 248, 245, 0.4);
}

.venn-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.7rem;
}

.venn-panel-card {
    background: var(--card-bg, rgba(255, 255, 255, 0.05));
    color: var(--card-text, var(--cream));
    border-radius: 12px;
    padding: 0.85rem;
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.venn-panel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.venn-panel-card-cat {
    display: block;
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.54rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 0.45rem;
}

.venn-panel-card-title {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
    opacity: 0.88;
}

.venn-panel-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    margin-top: 0.55rem;
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.56rem;
    font-weight: 400;
    opacity: 0.52;
    line-height: 1.4;
}

/* ---- Venn Diagram ---- */

.venn-diagram {
    position: relative;
    width: 420px;
    height: 390px;
    isolation: isolate;
}

.vc {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    mix-blend-mode: screen;
    pointer-events: none;
    transition: filter 0.3s ease;
}

.vc-design   { top: 0;     left: 20px;  background: rgba(175, 60, 25, 0.52); }
.vc-tech     { top: 0;     left: 180px; background: rgba(155, 120, 45, 0.52); }
.vc-business { top: 150px; left: 100px; background: rgba(80, 48, 18, 0.62); }

.vc.dimmed      { filter: brightness(0.35) saturate(0.3); }
.vc.highlighted { filter: brightness(1.3); }

/* Labels live outside .vc so they're unaffected by the dimmed filter */
.vc-label {
    position: absolute;
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    pointer-events: none;
    z-index: 20;
}

.vc-label-design   { top: 24px;  left: 130px; transform: translateX(-50%); }
.vc-label-tech     { top: 24px;  left: 290px; transform: translateX(-50%); }
.vc-label-business { bottom: 44px; left: 210px; transform: translateX(-50%); }

.venn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: default;
}

/* Responsive */
@media (max-width: 1100px) {
    .venn-hdr { flex-direction: column; gap: 0.4rem; }
    .venn-split.revealed .venn-panel-sizer { flex-basis: 380px; margin-left: 2.5rem; }
    .venn-panel { width: 380px; }
}

@media (max-width: 800px) {
    .venn-split                            { flex-direction: column; align-items: center; }
    .venn-split.revealed .venn-panel-sizer { flex-basis: auto; margin-left: 0; margin-top: 2rem; width: 100%; }
    .venn-panel-sizer                      { width: 100%; }
    .venn-panel                            { width: 100%; max-width: 480px; min-height: 280px; }
    .venn-section                          { padding: 4rem 1.5rem 3rem; }
}

/* Projects Section */
.projects {
    background: var(--navy);
    padding: 6rem 3rem;
    position: relative;
}

.projects-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--coral);
    margin-bottom: 3rem;
}

/* Projects legend */
.projects-legend {
    display: flex;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-swatch {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-label {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.5;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--card-bg, var(--coral));
    color: var(--card-text, #1a1a1a);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
}

.project-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
}

.project-category {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1.5px solid currentColor;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    opacity: 0.7;
}

.project-icon {
    font-size: 1.2rem;
    opacity: 0.5;
}

.project-solution {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    flex: 1;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.9rem;
}

.project-role {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
}

.project-company {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.85;
}

.project-dates {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.8rem;
    opacity: 0.5;
}

.project-card-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.view-more-label {
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.65;
}

.view-more-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.project-card:hover .view-more-arrow {
    background: rgba(0, 0, 0, 0.2);
    transform: translateX(3px);
}

/* Edit Mode Styles */
.edit-toolbar {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--navy-light);
    border: 2px solid var(--coral);
    padding: 1rem;
    border-radius: 8px;
    z-index: 10000;
    display: none;
}

.edit-toolbar.active {
    display: block;
}

.edit-toolbar button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--coral);
    color: var(--navy);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Familjen Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.edit-toolbar button:hover {
    opacity: 0.8;
}

.edit-toolbar button:last-child {
    margin-bottom: 0;
    background: var(--navy);
    color: var(--coral);
    border: 2px solid var(--coral);
}

.polaroid {
    position: absolute;
    background: var(--cream);
    padding: 1rem;
    padding-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: move;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.polaroid.selected {
    outline: 3px solid var(--coral);
}

.polaroid:not(.selected):hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4), 0 15px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.polaroid.clickable {
    cursor: pointer;
}

.polaroid-image {
    width: 200px;
    height: 200px;
    background: var(--navy-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.polaroid-caption {
    text-align: center;
    color: var(--navy);
    font-size: 0.9rem;
    padding: 0.5rem;
    outline: none;
}

.arrow-element {
    position: absolute;
    cursor: move;
    user-select: none;
}

.arrow-element.selected {
    outline: 2px dashed var(--coral);
}

.arrow-svg {
    width: 100%;
    height: 100%;
}

.arrow-element {
    width: 150px;
    height: 100px;
}

.line-element {
    position: absolute;
    cursor: move;
    user-select: none;
    width: 150px;
    height: 100px;
}

.line-element.selected {
    outline: 2px dashed var(--coral);
}

.line-svg {
    width: 100%;
    height: 100%;
}

.resize-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--coral);
    border: 2px solid var(--cream);
    border-radius: 50%;
    cursor: ew-resize;
    bottom: -10px;
    right: -10px;
}

.control-panel {
    position: fixed;
    background: var(--navy-light);
    border: 2px solid var(--coral);
    padding: 0.5rem;
    border-radius: 4px;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    z-index: 10002;
    pointer-events: auto;
}

.control-panel button,
.control-panel select {
    padding: 0.5rem;
    background: var(--coral);
    color: var(--navy);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
}

.control-panel button:hover,
.control-panel select:hover {
    opacity: 0.8;
}

.text-element {
    position: absolute;
    cursor: move;
    user-select: none;
    color: var(--coral);
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 1.2rem;
    padding: 0.5rem;
    min-width: 100px;
    outline: none;
}

.text-element.selected {
    outline: 2px dashed var(--coral);
}

.rotate-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--coral);
    border: 2px solid var(--cream);
    border-radius: 50%;
    cursor: grab;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.rotate-handle:active {
    cursor: grabbing;
}

.delete-handle {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #e74c3c;
    border: 2px solid var(--cream);
    border-radius: 50%;
    cursor: pointer;
    top: -10px;
    right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.password-modal.active {
    display: flex;
}

.password-modal-content {
    background: var(--navy-light);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--coral);
    text-align: center;
}

.password-modal input {
    padding: 0.75rem;
    margin: 1rem 0;
    width: 250px;
    background: var(--navy);
    border: 2px solid var(--coral);
    color: var(--cream);
    font-family: 'Familjen Grotesk', sans-serif;
    font-size: 1rem;
    border-radius: 4px;
}

.password-modal button {
    padding: 0.75rem 2rem;
    margin: 0 0.5rem;
    background: var(--coral);
    color: var(--navy);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Familjen Grotesk', sans-serif;
    font-weight: 600;
}

.password-modal button:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--coral);
    padding: 2rem 3rem;
    text-align: center;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        min-height: auto;
        padding: 8rem 2rem 4rem;
    }

    .hero-image-container {
        position: relative;
        width: 100%;
        height: 60vh;
        transform: none;
        top: auto;
        margin-top: 2rem;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

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

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 4rem;
    }

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
