* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;

  background: linear-gradient(
    180deg,
    #3B0A16 0%,
    #2A0A12 40%,
    #141414 100%
  );

  color: #F2EDE6;

  opacity: 1;
  transition: opacity 0.45s ease;
}

/* =========================
   PAGE TRANSITION
   ========================= */

body.page-out {
  opacity: 0;
}

/* =========================
   TOPBAR
   ========================= */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 999;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 26px 60px;

  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(18px);
}

/* =========================
   BRAND + LOGO
   ========================= */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  text-decoration: none;
  color: inherit;
}

.brand:link,
.brand:visited,
.brand:hover,
.brand:active {
  text-decoration: none;
  color: inherit;
}

/* 🧬 CAPSULE LOGO */
.logo {
  position: relative;
  width: 30px;
  height: 40px;
}

.logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(242,237,230,0.65);
}

.logo-letter {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 300;
  color: #F2EDE6;
}

.logo-text {
  letter-spacing: 8px;
  font-size: 13px;
}

/* =========================
   NAV
   ========================= */

nav a {
  margin-left: 22px;
  font-size: 11px;
  letter-spacing: 3px;

  text-decoration: none;
  color: rgba(242,237,230,0.6);

  transition: 0.3s;
}

nav a:hover {
  color: #F2EDE6;
}

/* =========================
   HERO
   ========================= */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero-frame {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-line {
  width: 2px;
  height: 160px;
  background: rgba(242,237,230,0.25);
}

.hero-title {
  font-size: 58px;
  font-weight: 300;
  line-height: 1.1;

  opacity: 0;
  transform: translateY(22px);
  animation: reveal 1.1s ease forwards;
}

.hero-sub {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(242,237,230,0.6);

  opacity: 0;
  transform: translateY(18px);
  animation: reveal 1.1s ease 0.35s forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SECTIONS
   ========================= */

.section {
  padding: 160px 80px;
}

.section h2 {
  font-size: 12px;
  letter-spacing: 6px;
  margin-bottom: 60px;
  color: rgba(242,237,230,0.6);
}

/* =========================
   COFFEE CARDS
   ========================= */

.coffee-card {
  display: flex;
  height: 440px;
  width: 92%;

  margin-bottom: 50px;

  background: #1C1C1C;
  border-radius: 26px;

  overflow: hidden;

  text-decoration: none;
  color: inherit;

  will-change: transform;

  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.left { margin-left: 0; }
.right { margin-left: auto; }

.coffee-card:hover {
  transform: translateY(-18px);
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}

.coffee-image {
  flex: 1;
}

.coffee-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coffee-text {
  flex: 1;
  padding: 80px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coffee-text h3 {
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 12px;
}

.coffee-text p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(242,237,230,0.7);
  margin-bottom: 14px;
}

.coffee-text span {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(242,237,230,0.5);
}

/* =========================
   UNIVERSITY
   ========================= */

.uni-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-card {
  padding: 26px 30px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);

  color: rgba(242,237,230,0.7);
  text-decoration: none;

  transition: 0.3s;
}

.mini-card:hover {
  background: rgba(255,255,255,0.08);
  color: #F2EDE6;
}

/* =========================
   ABOUT
   ========================= */

.about p {
  max-width: 720px;
  line-height: 1.8;
  color: rgba(242,237,230,0.7);
}

.home-link {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 10px;
  letter-spacing: 3px;

  color: rgba(242,237,230,0.55);
  text-decoration: none;

  transition: 0.3s;
}

.home-link:hover {
  color: #F2EDE6;
}

.home-link:visited {
  color: rgba(242,237,230,0.55);
}





.about {
  display: flex;
  justify-content: left;
  padding: 80px 20px;
}

.about-container {
  max-width: 720px;
  text-align: justify;
  line-height: 1.75;
  font-size: 16px;
  color: #111;
}

.about-container h2 {
  text-align: left;
  margin-bottom: 40px;
  letter-spacing: 1px;
  font-weight: 500;
}

.about-container p {
  margin-bottom: 18px;
}

.about-container strong {
  font-weight: 600;
}





.contact {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
}

.contact-container {
  max-width: 720px;
  width: 100%;
  text-align: center;
}

.contact-container h2 {
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 1px;
}

.contact-container p {
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0;
}

.contact-item {
  text-decoration: none;
  color: #F2EDE6;
  font-size: 16px;
  letter-spacing: 0.3px;
  transition: 0.2s ease;
}

.contact-item:hover {
  opacity: 0.6;
}

.contact-note {
  margin-top: 30px;
  font-style: italic;
  opacity: 0.7;
}