/* ============= Base ============= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ============= Paper sheet ============= */

.paper {
  max-width: 1600px;
  margin: 40px auto 60px;
  padding: 32px 32px 40px;
  background: #000000;
  border: 1px solid #111111;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  margin-left: 90px;
}

/* ============= Header ============= */

.sheet-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #111111;
  margin-bottom: 26px;
  align-items: flex-start;

}

.brand {
  margin: 0;
  font-size: 50px;
  font-weight: 500;
  line-height: 1.25;
    white-space: nowrap;
}

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

.brand em {
  font-style: italic;
  font-weight: 400;
}

/* top-right links */

.sheet-nav {
  display: flex;
 
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
justify-content: flex-start;
gap: 17px;
margin-left: 90px;
margin-top: 24px;
margin-right: 300px;


}

.sheet-nav a {
  color: #eee9e9;
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  
}



/* ============= Intro text ============= */

.intro {

  margin-bottom: 26px;
}

.intro p {
  margin: 0;
  font-size: 26px;
  line-height: 1.7;
  font-weight: 400;
 max-width: 1250px;
 
}

/* ============= Sections ============= */

.section {
  max-width: 620px;
  margin-bottom: 18px;
}

/* tiny caps style like Sonia */

.section h2 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.with-top-rule {
  padding-top: 12px;
  border-top: 1px solid #111111;
}

/* plain list (no bullets) */

.plain {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
}



/* ============= Links reset ============= */

a,
a:visited,
a:active {
  color: inherit;
  text-decoration: none;
}

/* ============= Responsive ============= */

@media (max-width: 640px) {
  .paper {
    max-width: 100%;
    margin: 16px 12px 24px;
    padding: 18px 16px 22px;
    border-radius: 10px;
  }

  /* stack name + nav vertically */
  .sheet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
  }

  /* smaller name on mobile */
  .brand {
    font-size: 32px;
    line-height: 1.2;
    white-space: normal;   /* allow it to wrap instead of going off-screen */
  }

  /* nav goes UNDER the name and is centered/left-aligned */
  .sheet-nav {
    margin-left: 0;        /* undo the 100px from desktop */
    margin-top: 10px;
    font-size: 16px;

      flex-wrap: nowrap; 
  }

  .sheet-nav a {
    padding: 2px 6px;
  }

  /* text a bit smaller on phone */
  .intro,
  .section {
    max-width: 100%;
  }

  .intro p {
    font-size: 20px;
    line-height: 1.6;
  }

  .section h2 {
    font-size: 18px;
  }

  .plain {
    font-size: 14px;
  }

}
