/* Trend Closet shared base and reusable UI styles. */
:root {
      --ink: #20243d;
      --muted: #62677f;
      --paper: #ffffff;
      --mist: #f6f7ff;
      --line: #dde0f0;
      --green: #6558a6;
      --green-soft: #eeecff;
      --coral: #d26c91;
      --gold: #7870c4;
      --blue: #e8edff;
      --charcoal: #20243d;
      --shadow: 0 24px 64px rgba(37, 42, 80, .13);
      --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
      --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
      --latin: "Cormorant Garamond", serif;
    }

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

.visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      white-space: nowrap;
    }

html {
      scroll-behavior: smooth;
    }

body {
      background: var(--mist);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.85;
      letter-spacing: 0;
      -webkit-font-smoothing: antialiased;
    }

img {
      display: block;
      width: 100%;
      height: auto;
    }

a {
      color: inherit;
    }

.container {
      width: min(1120px, calc(100% - 48px));
      margin: 0 auto;
    }

.header-note {
      background: #302a2a;
      color: rgba(255, 255, 255, .86);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.4;
      text-align: center;
      padding: 7px 12px;
    }

.site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      color: var(--ink);
      background: rgba(255, 255, 255, .9);
      border-bottom: 1px solid rgba(234, 223, 218, .78);
      backdrop-filter: blur(16px);
    }

.site-header .container {
      min-height: 62px;
      display: grid;
      grid-template-columns: 44px 1fr auto;
      align-items: center;
      gap: 12px;
      position: relative;
    }

.mobile-menu-check {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

.mobile-menu-button {
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      display: grid;
      place-content: center;
      gap: 4px;
      cursor: pointer;
      box-shadow: 0 10px 26px rgba(80, 61, 58, .08);
    }

.mobile-menu-button span,
    .mobile-menu-button::before,
    .mobile-menu-button::after {
      content: "";
      width: 17px;
      height: 2px;
      border-radius: 999px;
      background: var(--ink);
      display: block;
    }

.logo {
      color: var(--green);
      font-family: var(--latin);
      font-size: 30px;
      font-weight: 600;
      line-height: 1;
      text-decoration: none;
    }

.brand-lockup {
      justify-self: center;
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

.header-tagline {
      max-width: 190px;
      border-left: 1px solid #dfe1f1;
      padding-left: 12px;
      color: #737891;
      font-family: var(--serif);
      font-size: 9px;
      font-weight: 500;
      line-height: 1.45;
      letter-spacing: .04em;
    }

.header-spacer {
      width: 42px;
      height: 42px;
    }

.nav-links {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      width: min(260px, calc(100vw - 44px));
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 255, 255, .96);
      box-shadow: var(--shadow);
      display: none;
    }

.mobile-menu-check:checked ~ .nav-links {
      display: grid;
      gap: 2px;
    }

.nav-links a {
      border-radius: 12px;
      padding: 10px 12px;
      font-size: 14px;
      font-weight: 800;
      line-height: 1.25;
      text-decoration: none;
    }

.nav-links a:hover {
      background: var(--green-soft);
    }

h1 {
      max-width: 760px;
      font-family: var(--serif);
      font-size: 56px;
      font-weight: 500;
      line-height: 1.2;
      letter-spacing: 0;
    }

.button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      border-radius: 999px;
      padding: 11px 20px;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      transition: transform .18s ease, background .18s ease, color .18s ease;
    }

.button:hover {
      transform: translateY(-2px);
    }

.button-primary {
      background: #fff;
      color: var(--charcoal);
    }

.button-secondary {
      border: 1px solid rgba(255, 255, 255, .62);
      color: #fff;
      background: rgba(255, 255, 255, .08);
    }

.section {
      padding: 78px 0;
    }

.section.paper {
      background: var(--paper);
    }

.section-head {
      display: grid;
      grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
      gap: 30px;
      align-items: end;
      margin-bottom: 30px;
    }

.section-label {
      display: inline-block;
      margin-bottom: 10px;
      color: var(--green);
      font-family: var(--latin);
      font-size: 20px;
      font-style: italic;
    }

h2 {
      font-family: var(--serif);
      font-size: 36px;
      font-weight: 500;
      line-height: 1.45;
      letter-spacing: 0;
    }

.section-head p {
      color: var(--muted);
    }

h3 {
      font-family: var(--serif);
      font-size: 25px;
      font-weight: 500;
      line-height: 1.42;
      letter-spacing: 0;
    }

.site-footer {
      padding: 34px 0 42px;
      background: #302a2a;
      color: rgba(255, 255, 255, .74);
      font-size: 12px;
      line-height: 1.8;
    }

.site-footer .container {
      display: grid;
      gap: 12px;
    }

.footer-logo {
      color: #fff;
      font-family: var(--latin);
      font-size: 26px;
      font-weight: 600;
      line-height: 1;
    }

.footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

.footer-links a {
      color: rgba(255, 255, 255, .86);
      text-decoration: none;
    }

.disclosure {
      max-width: 760px;
    }

/* Reusable content UI */
.content-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 10px;
      line-height: 1.5;
    }

.content-meta span {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 4px 8px;
      color: #6c7190;
      background: #f0effb;
      font-size: 10px;
      font-weight: 800;
      white-space: nowrap;
    }

.content-meta .content-stat {
      color: #8a5c00;
      background: #fff3c4;
    }

.featured-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

.note-card {
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--paper);
      box-shadow: 0 14px 40px rgba(80, 61, 58, .06);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      min-height: 100%;
      text-decoration: none;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

.note-card:hover {
      transform: translateY(-4px);
      border-color: rgba(168, 111, 120, .34);
      box-shadow: var(--shadow);
    }

.note-media {
      aspect-ratio: 4 / 3;
      background: #f6eeee;
      display: grid;
      place-items: center;
      padding: 14px;
      overflow: hidden;
    }

.note-media img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

.note-body {
      padding: 20px;
    }

.tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 14px;
    }

.tag {
      border-radius: 999px;
      padding: 4px 10px;
      background: var(--green-soft);
      color: var(--green);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.35;
    }

.tag.gold {
      background: #f3e5c9;
      color: #74511f;
    }

.tag.blue {
      background: var(--blue);
      color: #315d7a;
    }

.note-body p {
      margin-top: 12px;
      color: var(--muted);
      font-size: 14px;
    }

.note-body h3 {
      font-size: 21px;
    }

@media (min-width: 901px) {
  .site-header .container {
          grid-template-columns: auto 1fr;
        }

  .brand-lockup {
          justify-self: start;
        }

  .mobile-menu-check,
        .mobile-menu-button,
        .header-spacer {
          display: none;
        }

  .nav-links {
          position: static;
          justify-self: end;
          display: flex;
          width: auto;
          gap: 4px;
          border: 0;
          border-radius: 0;
          padding: 0;
          background: transparent;
          box-shadow: none;
        }

  .nav-links a {
          padding: 8px 12px;
          color: #4d5588;
          font-size: 13px;
        }
}

@media (max-width: 900px) {
  .container {
          width: min(100% - 32px, 1120px);
        }

  h1 {
          font-size: 42px;
        }

  h2 {
          font-size: 30px;
        }

  .section-head,
        .featured-grid {
          grid-template-columns: 1fr;
        }
}

@media (max-width: 640px) {
  .header-note {
          font-size: 10px;
          padding: 5px 10px;
        }

  .site-header .container {
          width: min(100% - 30px, 1120px);
          min-height: 52px;
          grid-template-columns: 40px 1fr 40px;
        }

  .mobile-menu-button {
          width: 38px;
          height: 38px;
        }

  .logo {
          font-size: 25px;
        }

  .brand-lockup {
          gap: 7px;
        }

  .header-tagline {
          max-width: 112px;
          padding-left: 7px;
          font-size: 6.5px;
          line-height: 1.4;
          letter-spacing: 0;
        }

  .header-spacer {
          width: 38px;
          height: 38px;
        }

  h1 {
          font-size: clamp(31px, 8.4vw, 34px);
          line-height: 1.24;
        }

  .button {
          width: 100%;
          min-height: 46px;
        }

  .section {
          padding: 56px 0;
        }
}
