/* ==========================================================
   MEMORABLE — page-specific layout
   home · auth (register/login) · account
   ========================================================== */

.sec {
  padding: clamp(56px, 9vh, 110px) 0;
}
.sec-head {
  max-width: 640px;
  margin-bottom: clamp(30px, 5vh, 52px);
}
.sec-head .h2 {
  margin-top: 16px;
}

/* ---------- home: hero ---------- */
.hero {
  padding: clamp(64px, 10vh, 120px) 0 clamp(48px, 7vh, 84px);
}
.hero .lede {
  margin: 26px 0 34px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-figure {
  margin-top: clamp(44px, 7vh, 72px);
}
.hero-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.hero-frame img {
  display: block;
  width: 100%;
  height: clamp(320px, 52vh, 560px);
  object-fit: cover;
}
.hero-cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: clamp(15px, 0.35vw + 14px, 18px);
  line-height: 1.5;
}

/* ---------- home: statement ---------- */
.statement {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.85rem, 2.2vw + 1.1rem, 2.7rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
  max-width: 32ch;
}
.statement em {
  font-style: italic;
  color: var(--accent-ink);
}

/* ---------- home: philosophy ---------- */
.phil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(30px, 5vh, 50px);
}
.phil {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.phil .idx {
  display: block;
  margin-bottom: 10px;
}
.phil .w {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 1.35rem;
  letter-spacing: -0.008em;
}
.phil p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}
@media (max-width: 820px) {
  .phil-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- home: final cta ---------- */
.cta {
  padding: clamp(72px, 12vh, 140px) 0;
  text-align: left;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.cta .h2 {
  max-width: 20ch;
  margin: 16px 0 30px;
}

/* ==========================================================
   AUTH (register / login)
   ========================================================== */
.auth-main {
  padding: clamp(48px, 8vh, 96px) 0 clamp(64px, 10vh, 110px);
  min-height: calc(100vh - 64px - 120px);
  display: flex;
  align-items: center;
}
.auth-shell {
  width: 100%;
}
.auth-card {
  padding: clamp(30px, 5vw, 46px);
}
.auth-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vh, 38px);
}
.auth-head .brand {
  justify-content: center;
  margin: 0 0 22px;
}
.auth-head .h2 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2.2rem);
}
.auth-head .lede {
  margin: 10px auto 0;
  max-width: 40ch;
  font-size: 15px;
}
.auth-foot-link {
  display: block;
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.auth-foot-link:hover {
  color: var(--accent-ink);
}

/* ==========================================================
   ACCOUNT
   ========================================================== */
.acct-hero {
  padding: clamp(48px, 8vh, 92px) 0 clamp(30px, 5vh, 50px);
}
.acct-hero .kicker {
  margin-bottom: 16px;
}
.acct-hero .h1 {
  font-size: clamp(2.4rem, 3vw + 1.6rem, 3.9rem);
}
.acct-hero .lede {
  margin-top: 18px;
}
.acct-name {
  color: var(--accent-ink);
  font-style: italic;
}
.acct-section {
  padding: clamp(10px, 2vh, 20px) 0 clamp(60px, 9vh, 110px);
}
.acct-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding: 18px clamp(18px, 3vw, 26px);
  margin-bottom: clamp(30px, 5vh, 46px);
}
.acct-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.acct-info-item .caption {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.acct-info-item span:last-child {
  font-size: 14px;
  color: var(--ink);
}
.acct-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

/* ---------- shared: centered loading state ---------- */
.page-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.page-loading .btn-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-width: 2.5px;
}

/* ---------- 404 ---------- */
.notfound {
  padding: clamp(90px, 16vh, 160px) 0;
  text-align: center;
}
.notfound .h1 {
  font-size: clamp(2.4rem, 4vw + 1.5rem, 4rem);
}
.notfound .lede {
  margin: 18px auto 30px;
}
