/* =====================================================
   INTRO OVERLAY (UNCHANGED)
===================================================== */
#intro {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 1.2s ease;
}

#intro.fade-out {
    opacity: 0;
    pointer-events: none;
}


/* =====================================================
   FLOWER BUTTON FRONT 
===================================================== */
.flower-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.flower {
    position: relative;
    width: 200px;
    height: 200px;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.2s ease;
}

.flower.dim { opacity: 0.15; }

.flowerL {
    position: ABSOLUTE;
    width: 48px;
    height: 32px;
    transition: transform 0.2s ease;
    transform-origin: center center;
}

.flower:hover { transform: rotate(-45deg); }


.flower.active .circle { border-color: #666; }

.circle {
    width: 100px;
    height: 100px;
    border: 2px solid #aaa;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: border-color 0.6s ease;
}

.circle-0   { transform: translate(-50%, -50%) rotate(0deg) translate(0, -50px); }
.circle-45  { transform: translate(-50%, -50%) rotate(45deg) translate(0, -50px); }
.circle-90  { transform: translate(-50%, -50%) rotate(90deg) translate(0, -50px); }
.circle-135 { transform: translate(-50%, -50%) rotate(135deg) translate(0, -50px); }
.circle-180 { transform: translate(-50%, -50%) rotate(180deg) translate(0, -50px); }
.circle-225 { transform: translate(-50%, -50%) rotate(225deg) translate(0, -50px); }
.circle-270 { transform: translate(-50%, -50%) rotate(270deg) translate(0, -50px); }
.circle-315 { transform: translate(-50%, -50%) rotate(315deg) translate(0, -50px); }

/* =====================================================
   MAIN CONTENT WRAPPER
===================================================== */
#site-content {
    opacity: 0;
    transition: opacity 1.4s ease;
}

#site-content.visible {
    opacity: 1;
}


/* ===============================
   GLOBAL
================================= */

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Century Schoolbook", Georgia, serif;
    background: #ffffff;
    color: #2f2f2f;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 140px 0;
    position: relative;
}

/* Subtle alternating institutional bands */
.section.alt {
    background: #fafafa;
}

h1, h2, h3 {
    font-weight: normal;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 68px;
    color: #1a1a1a;
}

h2 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 40px;
}

p {
    line-height: 1.8;
    color: #555;
    font-size: 18px;
}

/* ===============================
   HEADER
================================= */

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 28px 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #eee;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position:relative;
}

nav a {
    text-decoration: none;
    color: #555;
    margin-left: 30px;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


.flower-logo {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.flower-logo:hover { opacity: 0.85; }

.flower-logo {
    position: relative;
    width: 60px;
    height: 60px;
    transition: transform 0.2s ease;
    transform-origin: center center;
}

.flower-logo:hover { transform: rotate(-45deg); }

.circleL {
    width: 30px;
    height: 30px;
    border: 2px solid gray;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.circleL-0   { transform: translate(-50%, -50%) rotate(0deg) translate(0, -15px); }
.circleL-45  { transform: translate(-50%, -50%) rotate(45deg) translate(0, -15px); }
.circleL-90  { transform: translate(-50%, -50%) rotate(90deg) translate(0, -15px); }
.circleL-135 { transform: translate(-50%, -50%) rotate(135deg) translate(0, -15px); }
.circleL-180 { transform: translate(-50%, -50%) rotate(180deg) translate(0, -15px); }
.circleL-225 { transform: translate(-50%, -50%) rotate(225deg) translate(0, -15px); }
.circleL-270 { transform: translate(-50%, -50%) rotate(270deg) translate(0, -15px); }
.circleL-315 { transform: translate(-50%, -50%) rotate(315deg) translate(0, -15px); }

.brand {
    display: flex;
    align-items: center;
}


.brand-text {
    margin-left: 14px;  
    display: flex;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}


/* ===============================
   HAMBURGER
================================= */

.hamburger {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #555;
    border-radius: 2px;
}

/* ===============================
   MOBILE NAV
================================= */


@media (max-width: 900px) {
  .nav-links {
    display: flex;            
    flex-direction: column;
    gap: 18px;
    position: absolute;
    top: 100%;
    right: 32px;                
    background: #fff;
    padding: 24px 16px;         
    border: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 99;
  }

  .nav-links.active {
    visibility: visible;       
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hamburger {
    display: flex;
  }

  .nav-links a {
    margin-left: 0;         
    padding-left: 0px;        
  }
}



/* ===============================
   HERO
================================= */

.hero {
    padding-top: 220px;
    padding-bottom: 180px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
}

.hero-statement {
    font-size: 22px;
    margin-top: 30px;
    color: #666;
}

.hero-actions {
    margin-top: 50px;
}

.button {
    display: inline-block;
    padding: 14px 26px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.button:hover {
    background: #000;
    color: #fff;
}

.hero-side-box {
    border-left: 2px solid #000;
    padding-left: 40px;
    font-size: 16px;
    color: #666;
}

/* ===============================
   GRID SECTIONS
================================= */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.card {
    padding-top: 20px;
    border-top: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

/* ===============================
   PROGRESSIVE REVEAL
================================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22,1,0.36,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   FOOTER
================================= */

footer {
    padding: 100px 0;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #888;
}