:root{
  --bg: #f3f0ea;
  --ink: #2d3136;
  --muted: rgba(45,49,54,0.65);
  --mid: rgba(45,49,54,0.84);

  --col-max: 680px;
  --gutter: clamp(32px, 7vw, 120px);
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Serif 4", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page container */

.wrap{
  width: min(var(--col-max), calc(100% - (2 * var(--gutter))));
  margin: 0 auto;

  /* reduced top padding (your “one quarter less” attempt), but clean */
  padding:
    clamp(90px, 12vh, 150px)
    0
    clamp(90px, 14vh, 150px);
}

/* Masthead */

.masthead{
  text-align: center;
  margin-bottom: clamp(60px, 8vh, 100px);
}

.name{
  display: inline-block; /* enables vertical margin */
  font-weight: 400;
  font-size: clamp(16px, 1.9vw, 19px);
  letter-spacing: 0.01em;
  color: var(--muted);
  margin-bottom: 20px;
}

.home-hinge{
  color: inherit;
  text-decoration: none;
}

.home-hinge:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hinge:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.title{
  margin: 0;
  font-weight: 500;
  font-size: clamp(46px, 6.6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.002em;
  color: var(--ink);
}

/* List */

.list{
  display: grid;
  gap: 14px;
  position: relative;
}

.item{
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1px 0;
}

.item-title{
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 26px);
  line-height: 1.2;
  color: var(--mid);
}

.item-meta{
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
  margin-top: 3px;
}

/* Section labels — light, whispering, integrated */

.section-label{
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(45,49,54,0.60);

  position: relative;
  left: calc(-1 * var(--gutter) * 0.55);

  margin-top: 28px;
  margin-bottom: 6px;
}

.section-label:first-child{
  margin-top: 0;
}

/* Hover remains subtle */

.item:hover .item-title{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.item-disabled{
  cursor: default;
  opacity: 0.7;
}

.item-disabled:hover .item-title{
  text-decoration: none;
}
