@font-face {
    font-family: 'MWTiny5';
    src: url('../assets/fonts/Tiny5-MW.woff2') format('woff2');
    font-style: normal;
    font-display: swap;
}

nav, h1, h2, h3 {
    font-family: 'MWTiny5', sans-serif;
    font-weight: 500;
}
:root {
  --light: #e5e5e5;
  --dark: #2a3439;
  --accent: #ff7a1a;
  --grey: #979899;
  --black: #000000;
}

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

body {
  display: flex;
  min-height: 100vh;
  background: var(--dark);
}


.accent { 
    color: var(--accent);
}

.accentdark {
    color: var(--grey);
}

/* ---------- LOGO CONTAINER ---------- */

.logo {
  position: relative;
  height: 200px;            /* fixed container height */
  width: 100%;
  overflow: hidden;
  font-family: 'MWTiny5', sans-serif;
}

/* Stack both states */
.short,
.full {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ---------- DEFAULT STATE (ABBREVIATION) ---------- */

.short {
  flex-direction: column;
  font-size: 180px;          /* larger to fill container */
  line-height: 1;
  opacity: 1;
  transform: scale(1);
}

/* Letters as blocks */
.short span {
  display: block;
}

/* Adjustable offsets (in em = relative to font size) */
.short .m {
  transform: translate(0.1em, 0.35em);
}

.short .w {
  transform: translate(0.0em, -0.5em);
}

/* ---------- FULL NAME (HIDDEN INITIALLY) ---------- */

.full {
  font-size: 90px;           /* slightly smaller */
  letter-spacing: 0px;
  line-height: 0.8;
  text-align: center;
  opacity: 0;
  transform: scale(0.95);
}

/* ---------- HOVER STATE ---------- */

.logo:hover .short {
  opacity: 0;
  transform: scale(0.85);    /* shrink abbreviation smoothly */
}

.logo:hover .full {
  opacity: 1;
  transform: scale(1);
}

/* Navigation */
nav {
  width: 250px;
  background: var(--dark);
  color: var(--light);
  display: flex;
  flex-direction: column;
  padding: 0px;
}

nav h1 {
  letter-spacing: 4px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

nav a {
  color: var(--light);
  text-decoration: none;
  padding: 10px 20px;
  text-transform: lowercase;
  letter-spacing: 2px;
  font-size: 40px;
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--dark);
  background: var(--light);
  padding-left: 15px;
}

/* Main */
main {
  flex: 1;
  padding: 60px;
}

h2 {
  font-size: 45px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

h3 {
  margin-top: 40px;
  margin-bottom: 10px;
  color: var(--accent);
  letter-spacing: 1px;
}

p {
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
  transition: 0.2s ease;
}

.button:hover {
  background: var(--dark);
}

/* Footer */
footer {
  margin-top: 80px;
  font-size: 12px;
  opacity: 0.7;
}

/* Mobile */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  nav h1 {
    border-bottom: none;
    margin-bottom: 0;
    font-size: 20px;
  }

  main {
    padding: 30px;
  }
}

