:root {
   /* Palette from coolors.co (selected) */
   /* Existing semantic variables are kept as-is to avoid changing current styles */
   --background: #050013;     /* deep navy background (current value preserved) */
   --top: #F9DBBD;            /* very light warm */
   --accent: #FCA17D;         /* warm accent */
   --mid: #DA627D;            /* mid pink */
   --purple: #9A348E;         /* deep purple */
   --periwinkle: #7F7EFF;     /* Tokyo / periwinkle blue (hero) */

   /* Additional color variables requested (declared but not applied) */
   --top-level-1: #F9DBBD;
   --accent-1: #FCA17D;
   --mid-level: #DA627D;
   --accent-2: #9A348E;
   --background-0d0628: #0D0628;

   /* "pretttyyy" palette */
   --pretty-531CB3: #531CB3;
   --pretty-944BBB: #944BBB;
   --pretty-342E37: #342E37;
   --pretty-484D6D: #484D6D;
   --pretty-EF476F: #EF476F;
   --pretty-A03E99: #A03E99;
   --pretty-F59CA9: #F59CA9;
   --pretty-DF57BC: #DF57BC;
   --pretty-D11149: #D11149;
   --pretty-F17105: #F17105;
   --pretty-7F7EFF: #7F7EFF;

   /* additional periwinkle option */
   --periwinkle-alt: #A390E4;

   /* semantic aliases used elsewhere (unchanged) */
   --text: var(--top);
   --line: rgba(202, 202, 255, 0.776);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

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

blog-a {
    border-bottom: 5px solid var(--pretty-F17105);
}

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

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem;
    background-color: var(--background);

    position: relative;
    z-index: 20; 
}

.arrow-pattern {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('wave.svg');
    background-repeat: repeat;
    
    background-size: 230px 230px !important;
    
    /* scales image vectors so they fill the canvas container */
    background-clip: border-box;
    
    filter: invert(0.5) opacity(0.4); 
}


.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border-bottom: 1px solid var(--line); */
    padding: 2rem 1rem;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero_box {
    position: relative;
    z-index: 10; 
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 5rem;
    border: 1px solid var(--line);
    background-color: var(--background); 
}

.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 0.9;
    color: var(--periwinkle); 
    border-bottom: 5px solid var(--pretty-F17105);
}

.hero-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.header-name a {
    color: var(--text);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

.header-nav a {
    color: var(--periwinkle);
    font-weight: 500;
}

.hero-links .social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 44px;
    height: 44px;
    padding: 0 0.45rem;
    border: 1px solid var(--periwinkle);
    color: var(--background);
    background: transparent;
    background-color: var(--periwinkle);
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    margin-left: 2px;
    transition: background-color 180ms ease, color 180ms ease;
}

.hero-links .social:hover,
.hero-links .social:focus {
    border-color: var(--accent);
    color: var(--top);
    outline: none;
}

.hero-links .social i {
    display: inline-block;
    width: 1em;
    text-align: center;
}

.hero-links .social:focus:not(:focus-visible) {
    border-color: var(--periwinkle);
    color: var(--background);
    background-color: var(--periwinkle);
}

.gallery {
    margin-top: 6em;
    padding: 1rem;
}

.gallery-grid {
    display: grid;
    gap: 1.25rem;
}

.gallery-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1rem 0 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1em;
}

.section-header {
    padding: 0 0 0.75rem;
    margin: 0;
}

.section-header h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.gallery-section-items {
    display: grid;
    gap: 1rem;
}

.project {
    padding: 0;
}

.project-image {
    display: block;
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
    border-color: var(--accent);
    outline: 1px solid transparent;
    outline-offset: 0;
    transition: outline-color 180ms ease, outline-width 180ms ease;
}

.project-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    width: 100%;
    height: auto;
}

.project-image:hover {
    outline-width: 2px;
    outline-color: var(--top);
}

.project-info {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.6rem;
    align-items: baseline;
}

.project-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--top);
}

.project-number {
    font-variant-numeric: tabular-nums;
    color: var(--mid);
    font-weight: 700;
}

.gallery-empty {
    margin: 0;
    color: rgba(249, 219, 189, 0.8);
}

.project-detail-shell {
    padding: 2rem 1rem 3rem;
}

.project-back {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent);
}

.project-detail-card {
    display: grid;
    gap: 1.25rem;
}

.project-detail-image {
    width: 100%;
    max-width: 760px;
    border: 1px solid var(--accent);
}

.project-detail-copy {
    max-width: 760px;
}

.project-detail-number {
    margin: 0 0 0.35rem;
    color: var(--mid);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.project-detail-copy h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: var(--top);
}

.project-detail-description {
    margin: 0 0 1rem;
    color: rgba(249, 219, 189, 0.85);
}

.project-detail-body p {
    margin: 0 0 0.9rem;
    line-height: 1.6;
    color: rgba(249, 219, 189, 0.9);
}

.project-body-image {
    margin: 1rem 0 1.4rem;
}

.project-body-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--accent);
}

.about {
    min-height: 50vh;
    padding: 2rem 1rem;
    border-bottom: 1px solid var(--line);
    color: rgba(249,219,189,0.95);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid var(--line);
    color: rgba(249,219,189,0.9);
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--accent);
}

/* Responsive tweaks */
@media (min-width: 720px) {
    main {
        max-width: 1100px;
        margin: 0 auto;
    }

    .gallery-section-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .project {
        min-width: 0;
    }
}