:root {
  --mist: #dfeee9;
  --mist-deep: #bad8ce;
  --orange: #f06b32;
  --ink: #17211e;
  --paper: #f8f7f1;
  --muted: #5e6c67;
  --line: #91aaa1;
  --serif: "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.65 var(--sans);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 99;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  height: 92px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.brand {
  color: var(--ink);
  font: 500 clamp(23px, 2.1vw, 34px) / 1 var(--serif);
  letter-spacing: 0.09em;
  text-decoration: none;
}
.site-header .brand {
  grid-column: 2;
}
.site-header nav {
  position: absolute;
  top: 92px;
  left: 0;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 76px);
  display: flex;
  gap: 30px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  transform-origin: top;
  transition: 0.2s;
}
.site-header:not(.menu-open) nav {
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
}
.site-header nav button,
.site-header nav a,
.menu-button {
  border: 0;
  background: none;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}
.site-header nav .is-active,
.site-header nav a:hover {
  color: var(--orange);
}
.menu-button {
  justify-self: start;
}
.issue {
  justify-self: end;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.view {
  display: none;
}
.view.is-active {
  display: block;
}
.intro {
  padding: 48px clamp(20px, 5vw, 76px) 38px;
  background: var(--mist);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.intro p,
.kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.intro h1 {
  font: 400 clamp(46px, 8vw, 122px) / 0.92 var(--serif);
  letter-spacing: -0.04em;
  margin: 25px 0 0;
  grid-row: 2;
  grid-column: 1/-1;
}
.intro span {
  max-width: 340px;
  color: var(--muted);
  grid-column: 2;
  grid-row: 1;
}
.journal-feed {
  padding: 80px clamp(20px, 8vw, 130px);
}
.journal-entry {
  max-width: 980px;
  margin: 0 auto 140px;
}
.journal-entry:nth-child(even) {
  max-width: 760px;
  margin-left: 8%;
}
.journal-entry:nth-child(3n) {
  max-width: 860px;
  margin-right: 3%;
}
.journal-entry button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.journal-entry img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #e8ece8;
  transition: filter 0.2s;
}
.journal-entry button:hover img {
  filter: saturate(1.08);
}
.journal-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.journal-caption h2 {
  font: 400 clamp(20px, 2.5vw, 32px) var(--serif);
  margin: 0;
}
.journal-caption p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 12px;
}
.journal-caption time {
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.about-strip {
  background: var(--orange);
  color: #17211e;
  padding: 90px clamp(20px, 10vw, 150px);
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr;
  gap: 50px;
  align-items: start;
}
.about-strip h2,
.connect-section h2 {
  font: 400 clamp(38px, 5vw, 72px) / 1.08 var(--serif);
  margin: 0;
}
.about-strip > p:nth-of-type(2) {
  max-width: 390px;
}
.arrow-link {
  background: none;
  border: 0;
  border-bottom: 1px solid;
  padding: 3px 0;
  justify-self: start;
}
.connect-section {
  padding: 90px clamp(20px, 8vw, 130px);
  background: var(--mist);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.connect-section h2 {
  font-size: clamp(34px, 4vw, 58px);
  margin: 15px 0;
}
.social-grid {
  border-top: 1px solid var(--line);
}
.social-card {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.social-card strong,
.social-card small {
  display: block;
}
.social-card small {
  color: var(--muted);
}
.social-card img,
.social-placeholder {
  width: 70px;
  height: 70px;
  object-fit: cover;
}
.social-placeholder {
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  font-size: 10px;
  text-align: center;
}
.page-shell {
  min-height: 80vh;
  padding: 75px clamp(20px, 7vw, 110px);
}
.page-heading {
  max-width: 850px;
  margin-bottom: 50px;
}
.page-heading h1 {
  font: 400 clamp(54px, 8vw, 112px) / 1 var(--serif);
  margin: 12px 0;
}
.page-heading > p:last-child {
  color: var(--muted);
}
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  overflow: auto;
}
.chip {
  border: 1px solid var(--line);
  background: none;
  padding: 7px 16px;
  white-space: nowrap;
}
.chip.is-active {
  background: var(--orange);
  border-color: var(--orange);
}
.wardrobe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px 22px;
}
.wardrobe-card {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
}
.wardrobe-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.wardrobe-card h2 {
  font: 400 20px var(--serif);
  margin: 12px 0 2px;
}
.wardrobe-card p,
.wardrobe-meta {
  font-size: 11px;
  color: var(--muted);
}
.wardrobe-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 9px;
  padding-top: 8px;
}
.studio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.panel {
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--mist);
}
.dropzone {
  height: 190px;
  border: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dropzone input {
  position: absolute;
  opacity: 0;
}
.dropzone small {
  color: var(--muted);
}
.preview-strip {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}
.preview-strip img {
  width: 60px;
  height: 75px;
  object-fit: cover;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}
.panel label:not(.dropzone) {
  display: grid;
  gap: 5px;
  font-size: 12px;
}
.panel input,
.panel select,
.panel textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 9px 0;
}
.panel textarea {
  width: 100%;
  resize: vertical;
}
.solid-button {
  border: 0;
  background: var(--orange);
  padding: 11px 18px;
}
.panel > .solid-button {
  width: 100%;
  margin-top: 20px;
}
.output-panel {
  align-self: start;
}
.output-head {
  display: flex;
  justify-content: space-between;
}
.output-head h2 {
  font: 400 30px var(--serif);
  margin: 0;
}
.output-head span {
  font-size: 11px;
  color: var(--muted);
}
.empty-state {
  padding: 100px 0;
  text-align: center;
  color: var(--muted);
}
.tab-list {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-top: 25px;
}
.tab-list button,
.output-actions button {
  border: 0;
  background: none;
  padding: 10px;
}
.tab-list [aria-selected="true"] {
  color: var(--orange);
  border-bottom: 2px solid;
}
.tab-list + article {
  min-height: 260px;
  padding: 20px 0;
}
.output-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
dialog {
  width: min(900px, calc(100% - 30px));
  padding: 0;
  border: 0;
  background: var(--paper);
}
dialog::backdrop {
  background: rgba(23, 33, 30, 0.78);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--orange);
  font-size: 24px;
  z-index: 2;
}
.dialog-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.dialog-layout img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}
.dialog-copy {
  padding: 70px 45px;
}
.dialog-copy h2 {
  font: 400 42px/1.12 var(--serif);
}
.dialog-copy dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.dialog-copy dd {
  margin: 0;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 80px);
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  transition: 0.2s;
}
.toast.is-visible {
  transform: translate(-50%, 0);
}
footer {
  padding: 50px clamp(20px, 5vw, 76px);
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: end;
}
footer a {
  color: inherit;
}
footer p {
  margin: 0;
  font-size: 11px;
}
@media (max-width: 760px) {
  .site-header {
    height: 72px;
  }
  .site-header nav {
    top: 72px;
    flex-direction: column;
    gap: 18px;
  }
  .intro {
    grid-template-columns: 1fr;
  }
  .intro span {
    grid-column: 1;
    grid-row: auto;
    margin-top: 20px;
  }
  .journal-feed {
    padding: 50px 16px;
  }
  .journal-entry,
  .journal-entry:nth-child(n) {
    margin: 0 auto 75px;
    max-width: 100%;
  }
  .about-strip,
  .connect-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 65px 20px;
  }
  .wardrobe-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 10px;
  }
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .dialog-layout {
    grid-template-columns: 1fr;
  }
  .dialog-layout img {
    min-height: 0;
    max-height: 60vh;
  }
  .dialog-copy {
    padding: 30px 22px;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .issue {
    display: none;
  }
}
@media (max-width: 380px) {
  .wardrobe-grid {
    grid-template-columns: 1fr;
  }
  .site-header .brand {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.article-text-cover {
  min-height: 52vh;
  background: var(--mist);
  display: grid;
  align-content: center;
  gap: 2rem;
  padding: clamp(2rem, 8vw, 7rem);
  border: 1px solid var(--line);
}
.article-text-cover span {
  color: var(--orange);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}
.article-text-cover p {
  font: 400 clamp(1.5rem, 3vw, 2.7rem) / 1.45 var(--serif);
  margin: 0;
}
.journal-entry.is-recommended {
  border-top: 3px solid var(--orange);
  padding-top: 1rem;
}
.article-dialog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}
.article-dialog > img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: cover;
}
.article-dialog-copy {
  padding: clamp(2rem, 5vw, 5rem);
}
.article-dialog-copy h2 {
  font: 400 clamp(2rem, 4vw, 3.5rem) / 1.15 var(--serif);
}
.article-body {
  white-space: pre-wrap;
  color: var(--ink);
  line-height: 1.9;
}
.article-metrics {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1rem;
}
.article-metrics button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.55rem 0.8rem;
}
.article-metrics > span {
  color: var(--muted);
  font-size: 0.8rem;
}
@media (max-width: 760px) {
  .article-dialog {
    grid-template-columns: 1fr;
  }
  .article-dialog > img {
    max-height: 55vh;
  }
  .article-dialog-copy {
    padding: 2rem 1.25rem;
  }
}
.public-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) 1rem;
  border-block: 1px solid var(--line);
}
.public-empty h2 {
  font: 400 clamp(2rem, 5vw, 4rem) / 1.15 var(--serif);
  margin: 0.75rem 0;
}
.public-empty p:last-child {
  color: var(--muted);
}
/* Brand identity and multi-image editorial story */
.brand:before {
  content: "";
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: url("/assets/brand-logo.png") center/cover;
  border-radius: 10px;
}
.brand img {
  display: none;
}
footer .brand:before {
  width: 52px;
  height: 52px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}
footer .brand img {
  width: 52px;
  height: 52px;
}
.article-gallery {
  display: grid;
  gap: 2px;
  align-self: start;
  background: var(--line);
}
.article-gallery img {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  background: #e8ece8;
}
.article-gallery img + img {
  max-height: none;
}
@media (max-width: 760px) {
  .brand img {
    width: 34px;
    height: 34px;
  }
  .article-gallery img {
    max-height: none;
  }
}
