/* ============================================================
   www. Firefly Design.com — Homepage
   Vanilla CSS, BEM-style, mobile-first.
   ============================================================ */

@font-face {
  font-family: "Font Awesome 6 Brands";
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "FontAwesome";
  src: url("../apps/admin/view/default/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"),
       url("../apps/admin/view/default/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Colors — drawn from the live site's CSS variables */
  --color-cream:        #f9f7f4;    /* page bg */
  --color-beige:        #f2ede7;    /* read / shop / footer */
  --color-olive-dark:   rgb(182, 170, 199);    /* hero / portfolio / quote bg & header */
  --color-brown:        #563929;    /* brand-about strip */
  --color-text:         #2c2c2c;
  --color-text-soft:    rgba(44,44,44,0.7);
  --color-text-fade:    rgba(44,44,44,0.3);
  --color-grey:         #888;
  --color-olive:        rgb(182, 170, 199);    /* link */
  --color-border:       #d3d3d3;
  --color-white:        #ffffff;
  --color-white-60:     rgba(255,255,255,0.6);
  --color-white-40:     rgba(255,255,255,0.4);
  --color-white-20:     rgba(255,255,255,0.2);

  /* Spacing */
  --container-max:      1400px;
  --container-wide:     2300px;
  --section-gap:        clamp(70px, 3.45vw + 51px, 120px);
  --page-pad-x:         clamp(30px, 3vw, 60px);

  /* Typography */
  --font-display: "Cormorant Garamond", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui:      "Jost", "Noto Sans SC", system-ui, sans-serif;

  /* Misc */
  --header-h:           88px;
  --transition-fast:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-image:   0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
  font-family: "Aguafina Script";
  src: url("../Aguafina Script.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans CN";
  src: url("../思源黑体SourceHanSansCN-Normal.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { background: transparent; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
input { font: inherit; color: inherit; }

/* ---------- Containers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 inherit;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-pad-x);
  padding-right: var(--page-pad-x);
}
.container--wide {
  max-width: var(--container-wide);
}

/* ---------- Block Spacing ---------- */
.block {
  padding-top: clamp(40px, 2vw + 24px, 72px);
  padding-bottom: var(--section-gap);
}
.block--flush-top { padding-top: 0; }
.block--flush-bottom { padding-bottom: 0; }

/* ---------- Site Header ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--color-olive-dark);
  border-top: 1px solid var(--color-white-20);
  border-bottom: 1px solid var(--color-white-20);
}
.site-header__inner {
  position: relative;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  overflow: visible;
}
.site-header__logo { color: var(--color-white); display: inline-flex; align-items: center; }
.site-header__logo svg { width: 140px; height: auto; }
.site-logo-text {
  font-family: "Aguafina Script", var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.45;
  white-space: nowrap;
  display: inline-block;
  padding: 8px 0 10px;
}
.site-header__nav { display: none; align-items: center; gap: 34px; margin-left: auto; margin-right: 40px; }
.site-header__nav-item { position: relative; display: flex; align-items: center; }
.site-header__nav a {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-white);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--transition-fast);
}
.site-header__nav a:hover { border-bottom-color: var(--color-white); }
.site-header__brand-cn {
  font-family: "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-white);
  white-space: nowrap;
}
.site-header__brand-sep {
  margin-right: 16px;
}
.site-header__mc-link { display: inline-flex; align-items: center; color: var(--color-white); }
.site-header__mc-link svg { height: 14px; width: auto; }

.nav-trigger {
  width: 44px;
  height: 44px;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: -12px;
  position: relative;
  z-index: 60;
}
.nav-trigger__line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-white);
  margin: 3px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.nav-trigger[aria-expanded="true"] .nav-trigger__line:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-trigger[aria-expanded="true"] .nav-trigger__line:nth-child(2) { opacity: 0; }
.nav-trigger[aria-expanded="true"] .nav-trigger__line:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* Mega-panel below header — same dark bg, slides down on hover */
.site-header__mega {
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 1px solid rgba(211, 211, 211, 0.35);
  background: var(--color-olive-dark);
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
}
.site-header[data-mega-open="true"] .site-header__mega {
  max-height: 400px;
  opacity: 1;
  pointer-events: auto;
}
.site-header__mega-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 24px var(--page-pad-x);
  display: flex;
}
.site-header__submenu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateX(var(--mega-offset, 0px));
}
.site-header__submenu a {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-white);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color var(--transition-fast);
}
.site-header__submenu a:hover { border-bottom-color: var(--color-white); }

@media (min-width: 1024px) {
  .site-header__mega { display: block; }
}

.mobile-nav {
  position: static;
  background: var(--color-olive-dark);
  border-bottom: 1px solid var(--color-white-20);
  padding: 24px var(--page-pad-x) 40px;
  display: none;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav__group { margin-top: 12px; padding-left: 16px; }
.mobile-nav__group a {
  font-size: 16px !important;
  opacity: 0.85;
}
.mobile-nav[data-open="true"] {
  display: block;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 20px; }
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 22px;
  letter-spacing: 0.6px;
  font-weight: 300;
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .site-header__inner { height: var(--header-h); }
  .site-header .site-logo-text {
    font-size: 34px;
    line-height: 1;
    padding: 0;
  }
  .site-header__logo svg { width: 160px; }
  .site-header__nav { display: flex; }
  .nav-trigger { display: none; }
  .mobile-nav { display: none; }
}

@media (max-width: 1023px) {
  .site-header__logo {
    position: absolute;
    left: var(--page-pad-x);
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    align-items: center;
  }
  .site-header .site-logo-text {
    font-family: "Aguafina Script", var(--font-display);
    font-size: clamp(32px, 8.5vw, 40px);
    line-height: 1;
    letter-spacing: 0;
    padding: 0;
  }
  .nav-trigger {
    position: absolute;
    right: var(--page-pad-x);
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
    width: 56px;
    height: 56px;
  }
}

/* ---------- Feature Image Strip ---------- */
.book-launch {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 2;
  display: block;
  overflow: hidden;
  color: var(--color-white);
}
.book-launch__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.book-launch__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.55) 100%);
}
.book-launch__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-pad-x) clamp(40px, 5vw, 64px);
}
.book-launch__inner { max-width: 700px; }
.eyebrow {
  font-family: var(--font-ui);
  font-size: 13.5px;
  letter-spacing: 1.08px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 400;
}
.book-launch__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 24px;
}
.book-launch__title span { font-weight: 300; }

/* ---------- Home Belief Statement ---------- */
.home-belief {
  background: var(--color-cream);
  color: var(--color-text);
  padding: clamp(38px, 5vw, 72px) var(--page-pad-x) clamp(30px, 4vw, 56px);
}
.home-belief__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.home-belief p {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.55vw, 24px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text-soft);
}
.home-belief__en-group {
  margin-top: 18px;
}
.home-belief p.home-belief__en {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  font-style: italic;
}
.home-belief p.home-belief__en + p.home-belief__en {
  margin-top: 0;
}
.home-belief__line {
  width: min(520px, 72vw);
  height: 1px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  background: var(--color-text);
  opacity: 0.32;
}

@media (max-width: 767px) {
  .home-belief {
    padding: 42px 12px 36px;
  }

  .home-belief__inner {
    max-width: none;
    text-align: center;
  }

  .home-belief p {
    font-size: 13px;
    line-height: 1.76;
    white-space: nowrap;
  }

  .home-belief__cn {
    max-width: none;
    margin: 0 auto;
  }

  .home-belief__en-group {
    max-width: none;
    margin: 20px auto 0;
  }

  .home-belief p.home-belief__en {
    font-size: 12px;
    line-height: 1.68;
  }
}

/* ---------- CTA Buttons ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 14px 30px;
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}
.cta--light {
  border-color: var(--color-white-60);
  color: var(--color-white);
}
.cta--light:hover { background: var(--color-white); color: var(--color-text); }
.cta--dark {
  color: var(--color-text);
  border-color: var(--color-text);
}
.cta--dark:hover { background: var(--color-text); color: var(--color-cream); }
.cta--tall { height: 52px; padding: 0 30px; letter-spacing: 1.4px; font-size: 14px; }

/* ---------- Read (article cards) ---------- */
.read {
  background: var(--color-beige);
}
.section-head {
  margin-bottom: 40px;
}
.section-head h2,
.section-head__sub {
  font-family: var(--font-display);
  font-size: 34.925px;
  line-height: 1.1;
}
.section-head h2 { font-weight: 400; }
.section-head__sub {
  margin-top: 6px;
  font-weight: 300;
}
.read .section-head__sub {
  font-weight: 300;
  font-style: italic;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.55;
  opacity: 0.9;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) {
  .article-grid { grid-template-columns: repeat(3, 1fr); }
}
.article-card { display: block; color: inherit; }
.article-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d9d9d9;
  margin-bottom: 16px;
}
.article-grid .read-card__media {
  aspect-ratio: 4 / 5;
}
.article-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-image);
}
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__meta {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 6px;
}
.article-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-text);
}
@media (max-width: 767px) {
  .article-card__title {
    font-size: 16px;
  }
}

/* ---------- Brand Strip (About) ---------- */
.brand {
  background: var(--color-brown);
  color: var(--color-white);
}
.brand__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 550px;
}
@media (min-width: 768px) {
  .brand__inner { grid-template-columns: 2fr 3fr; }
}
.brand__media {
  padding: clamp(24px, 4.9vw, 53px) clamp(16px, 2vw, 24px) clamp(24px, 4.9vw, 53px) clamp(24px, 4.7vw, 51px);
  min-height: 320px;
}
.brand__media-frame {
  position: relative;
  height: 100%;
  width: 100%;
  min-height: 280px;
}
.brand__media-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.brand__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(48px, 5vw, 64px);
  text-align: center;
}
.brand__text-inner { max-width: 560px; display: flex; flex-direction: column; align-items: center; }
.brand__lead {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 300;
  line-height: 1.25;
}
.brand__body {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0.8;
  margin-top: 24px;
}
.brand__cta-wrap { margin-top: 40px; }

/* ---------- Press Quote ---------- */
.press-quote {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}
.press-quote__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.press-quote__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.press-quote__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
  display: flex;
  align-items: center;
}
.press-quote__nav {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
  color: var(--color-white);
}
.press-quote__nav:hover { background: var(--color-white-40); }
.press-quote__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
}
.press-quote__slides {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.press-quote__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.press-quote__slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.press-quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.3;
  color: var(--color-white);
  margin: 0;
  max-width: 760px;
}
.press-quote__rule {
  width: 1px;
  height: 32px;
  background: var(--color-white-60);
  margin: 40px 0 24px;
}
.press-quote__source {
  height: 34px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.press-quote__source img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.press-quote__dots {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.press-quote__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-white-40);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  padding: 0;
}
.press-quote__dot:hover { background: rgba(255, 255, 255, 0.7); }
.press-quote__dot.is-active {
  background: var(--color-white);
  transform: scale(1.25);
}

@media (min-width: 768px) {
  .press-quote__body { padding: 0 24px; }
}

/* ---------- Portfolio ---------- */
.portfolio {
  background: var(--color-olive-dark);
  color: var(--color-white);
}
.portfolio .container { padding-left: clamp(20px, 5vw, 80px); padding-right: clamp(20px, 5vw, 80px); }
.portfolio .section-head h2,
.portfolio .section-head__sub { color: var(--color-white); }
.portfolio .section-head {
  text-align: left;
  margin-bottom: 24px;
}
.portfolio .section-head h2,
.portfolio .section-head__sub {
  font-size: clamp(44px, 13vw, 76px);
  line-height: 1.04;
}
.portfolio .section-head__sub {
  margin-top: 6px;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.55;
  font-weight: 300;
  font-style: italic;
  opacity: 0.9;
}

.portfolio-carousel {
  position: relative;
  width: 100%;
  max-width: 1144px;
  height: 360px;
  margin: 28px auto 0;
}
.portfolio-card {
  display: block;
  color: inherit;
  position: absolute;
  bottom: 28px;
  width: 38%;
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}
.portfolio-card[data-slot="0"] {
  left: 0;
  transform: translateX(-18%) scale(0.82);
  z-index: 1;
}
.portfolio-card[data-slot="1"] {
  left: 50%;
  width: 41%;
  transform: translateX(-50%) scale(1);
  z-index: 4;
}
.portfolio-card[data-slot="2"] {
  right: 0;
  transform: translateX(18%) scale(0.82);
  z-index: 2;
}
.portfolio-card[data-slot="hidden"] {
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.72);
  z-index: 0;
}
.portfolio-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.portfolio-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-image);
}
.portfolio-card:hover .portfolio-card__media img { transform: scale(1.05); }
.portfolio-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  margin-top: 12px;
  text-align: center;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .portfolio .section-head {
    margin-bottom: 40px;
  }
  .portfolio .section-head h2,
  .portfolio .section-head__sub {
    font-size: 34.925px;
    line-height: 1.1;
  }
  .portfolio .section-head__sub {
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: 1.55;
  }
  .portfolio-carousel {
    display: block;
    height: 620px;
    padding: 40px 0 40px;
  }
  .portfolio-card {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 30%;
    transform-origin: bottom center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
  }
  .portfolio-card[data-slot="0"] {
    left: 0;
    right: auto;
    transform: translateX(calc(0% + 0px)) scale(1);
    z-index: 1;
  }
  .portfolio-card[data-slot="1"] {
    left: 0;
    right: auto;
    width: 30%;
    transform: translateX(calc(100% + 60px)) scale(1.3);
    z-index: 4;
  }
  .portfolio-card[data-slot="2"] {
    left: 0;
    right: auto;
    transform: translateX(calc(200% + 120px)) scale(1);
    z-index: 3;
  }
  .portfolio-card__title {
    font-size: 22px;
    margin-top: 16px;
  }
}

.portfolio__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.portfolio__nav {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.portfolio__nav:hover {
  background: var(--color-white);
  color: var(--color-olive-dark);
}
.portfolio__rule {
  flex: 1;
  height: 1px;
  background: var(--color-white);
  opacity: 0.3;
}
.portfolio__cta {
  flex: 0 0 auto;
  height: 56px;
  padding: 0 20px;
  letter-spacing: 1.4px;
  font-size: 12px;
}

@media (min-width: 768px) {
  .portfolio__controls {
    gap: 24px;
    margin-top: 40px;
  }
  .portfolio__nav {
    width: 44px;
    height: 44px;
  }
  .portfolio__cta {
    height: 44px;
    padding: 0 24px;
  }
}

/* ---------- Shop ---------- */
.shop {
  background: var(--color-white);
  color: var(--color-text);
}
.shop__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 550px;
}
@media (min-width: 768px) {
  .shop__inner { grid-template-columns: 1fr 1fr; }
}
.shop__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(32px, 4vw, 48px);
}
.shop__h2 {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 8px;
}
.shop__h3 {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 24px;
}
.shop__rich {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
.shop__rich em { font-style: italic; }
.shop__rich p { margin-bottom: 16px; }
.shop__cta-wrap { margin-top: 32px; }
.shop__media {
  position: relative;
  min-height: 400px;
}
.shop__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- Instagram ---------- */
.instagram {
  background: var(--color-white);
  color: var(--color-text);
}
.instagram .container { padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
.instagram__head {
  display: block;
  margin-bottom: 24px;
  color: var(--color-text);
}
.instagram__head p {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.1;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.instagram-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}
.instagram-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-image);
}
.instagram-tile:hover img { transform: scale(1.05); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-beige);
  color: var(--color-text);
  margin-top: auto;
}
.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--page-pad-x);
}
@media (min-width: 768px) {
  .site-footer__inner { padding-top: 64px; padding-bottom: 40px; }
}
.site-footer__logo-row {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
@media (min-width: 768px) {
  .site-footer__logo-row { margin-bottom: 48px; padding-bottom: 48px; }
}
.site-footer__logo { color: var(--color-text); display: inline-flex; align-items: center; }
.site-footer__logo svg { width: 180px; height: auto; }
@media (min-width: 768px) {
  .site-footer__logo svg { width: 220px; }
}
.site-footer__logo .site-logo-text {
  font-family: "Aguafina Script", var(--font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  padding: 0;
}
.site-footer__follow {
  min-width: min(260px, 48vw);
  text-align: left;
}
.site-footer__follow p {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 18px;
}
.site-footer__follow-icons {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-footer__follow-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--color-text-soft);
  opacity: 0.85;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}
.site-footer__follow-icons a:hover {
  color: var(--color-text);
  opacity: 1;
}
.site-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 1;
}
.site-footer-icon::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  font-size: 19px;
}
.site-footer-icon--instagram::before { content: "\f16d"; }
.site-footer-icon--douyin::before { content: "\e07b"; }
.site-footer-icon--redbook {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #5f6062;
  color: var(--color-cream);
  font-family: var(--font-cn-sans);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: -0.08em;
}
@media (max-width: 640px) {
  .site-footer__logo-row {
    flex-direction: column;
  }
  .site-footer__follow {
    min-width: 0;
  }
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 48px;
  }
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
}
.site-footer__nav a {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-text);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--transition-fast);
}
.site-footer__nav a:hover { border-bottom-color: var(--color-text); }
.site-footer__social {
  margin-top: 0;
}
@media (min-width: 768px) {
  .site-footer__social {
    justify-self: end;
    min-width: 220px;
  }
}
.site-footer__col h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  margin-bottom: 8px;
}
@media (min-width: 768px) { .site-footer__col h3 { margin-bottom: 24px; } }
.site-footer__col ul { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 768px) { .site-footer__col ul { gap: 12px; } }
.site-footer__col a,
.site-footer__col button {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  transition: color var(--transition-fast);
}
.site-footer__col a:hover,
.site-footer__col button:hover { color: var(--color-text); }
.site-footer__col--newsletter {
  grid-column: 1 / -1;
  max-width: 304px;
}
@media (min-width: 768px) {
  .site-footer__col--newsletter {
    grid-column: auto;
    margin-left: auto;
    min-width: 304px;
    max-width: none;
  }
}
.newsletter-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-bottom: 1px solid var(--color-text);
}
.newsletter-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 0;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text);
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}
.newsletter-form input[type="email"]:focus { outline: none; }
.newsletter-form button {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 8px;
  color: var(--color-text);
}
.social-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  color: var(--color-text);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}
.social-row a:hover { opacity: 1; }
@media (min-width: 1024px) {
  .social-row a { width: auto; height: auto; }
}
.site-footer__follow-h {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  margin-top: 32px;
  margin-bottom: 24px;
}
.site-footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  row-gap: 8px;
}
.site-footer__bottom p,
.site-footer__bottom a,
.site-footer__bottom button {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--color-text-fade);
  transition: color var(--transition-fast);
}
.site-footer__bottom a:hover,
.site-footer__bottom button:hover { color: var(--color-text); }
.site-footer--simple .site-footer__logo-row {
  margin-bottom: 28px;
  padding-bottom: 28px;
}
.site-footer--simple .site-footer__bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.site-footer--simple .site-footer__bottom p {
  color: var(--color-text-fade);
}

/* ---------- Read Page: Page Hero ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 85vh;
  min-height: 85svh;
  overflow: hidden;
  color: var(--color-white);
}
.page-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 clamp(30px, 4vw, 72px) clamp(40px, 5vw, 72px);
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
}
.page-hero__subtitle {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.55;
  max-width: 520px;
  opacity: 0.9;
}

/* ---------- Read Page: Read All grid ---------- */
.read-all {
  background: var(--color-white);
  color: var(--color-text);
}
.read-all__head {
  text-align: center;
  margin-bottom: 40px;
}
.read-all__head--portfolio {
  display: flex;
  justify-content: flex-end;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  margin-bottom: 40px;
}
.read-all__head h2,
.read-all__head .read-all__sub {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.1;
}
.read-all__head h2 { font-weight: 400; }
.read-all__head .read-all__sub { font-weight: 300; }
.portfolio-detail__intro {
  max-width: 76%;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.65vw, 29px);
  line-height: 1.15;
  font-weight: 400;
  text-align: right;
}
.portfolio-detail__intro p {
  margin: 0 0 0.35em;
  line-height: inherit;
  text-align: inherit !important;
}
.portfolio-detail__intro p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .read-all__head--portfolio { margin-bottom: 40px; }
  .portfolio-detail__intro { max-width: 100%; }
}

.read-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.read-filter {
  padding: 0 0 4px;
  color: var(--color-text);
  border-bottom: 1px solid transparent;
  opacity: 0.7;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}
.read-filter:hover { opacity: 1; }
.read-filter.is-active {
  opacity: 1;
  border-bottom-color: currentColor;
}

.read-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 24px;
}
@media (min-width: 768px) {
  .read-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
}

.read-card { display: block; color: inherit; }
.read-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #d9d9d9;
  margin-bottom: 16px;
}
.read-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-image);
}
.read-card:hover .read-card__media img { transform: scale(1.05); }
.read-card__excerpt {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text-soft);
  margin: 0 0 12px;
}
.read-card__meta {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin: 0 0 8px;
}
.read-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

.read-all__cta-wrap {
  margin-top: 56px;
  text-align: center;
}

/* Hide cards filtered out */
.read-card[hidden] { display: none; }

/* ---------- Portfolio Page ---------- */
.portfolio-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .portfolio-page-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
}
.portfolio-page-grid .read-card__media { aspect-ratio: 4 / 5; }
.portfolio-page-grid .read-card__title { text-align: center; }

/* ---------- CTA Strip (Contact Us inline) ---------- */
.cta-strip {
  background: var(--color-olive-dark);
  color: var(--color-white);
}
.cta-strip .container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.2;
}
.cta-strip__copy {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  max-width: 640px;
  opacity: 0.85;
}

/* ---------- Quote Block (large, neutral bg) ---------- */
.quote-block {
  background: var(--color-cream);
  color: var(--color-text);
}
.quote-block__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--page-pad-x);
}
.quote-block__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.65;
  color: var(--color-text-soft);
  margin-bottom: 0;
}
.quote-block__line {
  display: none;
}
.quote-block__brand {
  margin-top: 18px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}
.quote-block__brand span {
  display: block;
}
.quote-block__brand span + span {
  opacity: 0.55;
}
.quote-block__cite {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.quote-block__role {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-top: 6px;
}

/* ---------- About Page: Story (2-col with portrait pair) ---------- */
.story-block {
  background: var(--color-cream);
}
.story-block__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .story-block__inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.story-block__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  margin-bottom: 24px;
}
.story-block__copy p {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 16px;
}
.founder-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.founder__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  background: #d9d9d9;
}
.founder__avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}
.founder__role {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-top: 4px;
}

/* ---------- About: Wide image ---------- */
.wide-image {
  background: var(--color-cream);
}
.wide-image__frame {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
}
.wide-image__frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- About: Brands strip (dark olive) ---------- */
.brands-strip {
  background: var(--color-olive-dark);
  color: var(--color-white);
}
.brands-strip__head {
  text-align: center;
  margin-bottom: 40px;
}
.brands-strip__head h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}
.brands-strip__head h3 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
}
.brands-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
}
@media (min-width: 768px) {
  .brands-row { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.brands-row img { width: 100%; height: auto; display: block; }
.brands-strip__copy {
  max-width: 800px;
  margin: 48px auto 0;
  padding: 0 var(--page-pad-x);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
  opacity: 0.85;
}

/* ---------- About: Collaborations grid ---------- */
.collab-section {
  background: var(--color-beige);
}
.collab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .collab-grid { grid-template-columns: repeat(3, 1fr); }
}
.collab-card { display: block; color: inherit; }
.collab-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 14px;
  background: #d9d9d9;
}
.collab-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-image);
}
.collab-card:hover .collab-card__media img { transform: scale(1.05); }
.collab-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 4px;
}
.collab-card__sub {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-soft);
}

/* ---------- Contact Us: Two-column row ---------- */
.split-row {
  background: var(--color-olive-dark);
  color: var(--color-white);
}
.split-row__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .split-row__inner { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.split-row--reverse .split-row__inner > :first-child { order: 2; }
.split-row__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
}
.split-row__copy p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 16px;
}
.split-row__media img { width: 100%; height: auto; display: block; }
.split-row--light { background: var(--color-cream); color: var(--color-text); }
.split-row--light .split-row__copy p { opacity: 1; color: var(--color-text-soft); }

/* ---------- Work: Three-column philosophy/values ---------- */
.values-block {
  background: var(--color-beige);
  color: var(--color-text);
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 56px;
}
@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
}
.value-card { text-align: center; }
.value-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--color-cream);
}
.value-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.value-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}
.value-card__copy {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-soft);
}

/* ---------- Work: Process numbered list ---------- */
.process-block {
  background: var(--color-white);
  color: var(--color-text);
}
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .process-list { grid-template-columns: 1fr 1fr; gap: 56px 80px; }
}
.process-step__no {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 8px;
}
.process-step__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}
.process-step__copy {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-soft);
}

/* ---------- Work: Inquiry form ---------- */
.inquiry {
  background: var(--color-cream);
  color: var(--color-text);
}
.inquiry__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
}
.inquiry__head {
  text-align: center;
  margin-bottom: 40px;
}
.inquiry__head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  margin-bottom: 16px;
}
.inquiry__head p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-soft);
  max-width: 640px;
  margin: 0 auto;
}
.inquiry-form {
  display: grid;
  gap: 24px;
}
.inquiry-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .inquiry-form__row--two { grid-template-columns: 1fr 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
}
.field label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  border: 0;
  border-bottom: 1px solid var(--color-text);
  background: transparent;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--color-text);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--color-olive); }
.inquiry-form__submit-wrap { margin-top: 16px; text-align: center; }
.inquiry-form__follow {
  margin-top: 26px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  font-style: normal;
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-text-soft);
}
.inquiry-form__follow span {
  display: block;
}

/* ---------- Article (Read detail) ---------- */
.article-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--color-white);
}
.article-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.65) 100%);
}
.article-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--page-pad-x) clamp(40px, 5vw, 72px);
}
.article-hero__meta {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.95;
}
.article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.1;
  font-weight: 400;
  max-width: 1000px;
  margin: 0;
}

/* Article body container */
.article-body {
  background: var(--color-white);
  color: var(--color-text);
  padding-top: clamp(48px, 5vw, 80px);
  padding-bottom: clamp(48px, 5vw, 80px);
}
.article-body__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
}
.article-body__wrap--wide { max-width: 1100px; }
.article-body__wrap--full { max-width: 1400px; padding: 0 var(--page-pad-x); }
.portfolio-detail__container { max-width: none; padding-left: 0; padding-right: 0; }
.article-body__wrap--portfolio { width: 90%; max-width: none; padding-left: 0; padding-right: 0; }
.article-body__wrap p { max-width: 100%; }

@media (max-width: 767px) {
  .portfolio-detail__intro,
  .portfolio-detail__intro p,
  .portfolio-detail__intro span {
    font-size: 13px !important;
    line-height: 1.65 !important;
    text-align: center !important;
  }

  .article-body__wrap--portfolio p,
  .article-body__wrap--portfolio p span {
    font-size: 13px !important;
    line-height: 1.65 !important;
    white-space: normal !important;
    text-wrap-mode: wrap !important;
    overflow-wrap: anywhere;
  }

  .article-body__wrap--portfolio p strong,
  .article-body__wrap--portfolio figure strong {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
}

.article-lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
  margin: 0 0 56px;
  color: var(--color-text);
}
.article-p {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 28px;
  color: var(--color-text);
}
.project-detail-gallery {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}
.project-detail-gallery .article-figure {
  margin: 0;
}
.project-detail-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

/* Rich-text formatted content (when content has standard tags like <strong>, <em>, <ul>, etc.) */
.rich-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text);
}
.rich-text > * + * { margin-top: 28px; }
.rich-text p { margin: 0; }
.rich-text strong, .rich-text b { font-weight: 600; color: var(--color-text); }
.rich-text em, .rich-text i { font-style: italic; }
.rich-text u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rich-text s, .rich-text del { color: var(--color-text-soft); }
.rich-text mark {
  background: rgba(232, 0, 89, 0.12);
  color: inherit;
  padding: 0 4px;
  border-radius: 2px;
}
.rich-text a {
  color: var(--color-olive);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}
.rich-text a:hover { color: var(--color-text); }

.rich-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 56px;
  margin-bottom: 20px;
}
.rich-text h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  margin-top: 40px;
  margin-bottom: 16px;
}
.rich-text h4 {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-top: 32px;
  margin-bottom: 12px;
}

.rich-text ul,
.rich-text ol {
  padding-left: 24px;
  margin: 0;
}
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li {
  margin-bottom: 12px;
  padding-left: 4px;
}
.rich-text li::marker { color: var(--color-olive); }

.rich-text blockquote {
  margin: 0;
  padding: 8px 0 8px 32px;
  border-left: 2px solid var(--color-olive);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.45;
  color: var(--color-text);
}
.rich-text blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.rich-text hr {
  border: 0;
  height: 1px;
  background: var(--color-border);
  margin: 48px auto;
  max-width: 80px;
}

.rich-text code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(44,44,44,0.06);
  padding: 2px 8px;
  border-radius: 3px;
}
.rich-text pre {
  background: var(--color-text);
  color: var(--color-cream);
  padding: 20px 24px;
  border-radius: 4px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.55;
}
.rich-text pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.rich-text figure {
  margin: 0;
}
.rich-text figure img {
  width: 100%;
  height: auto;
  display: block;
}
.rich-text figcaption {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  text-align: center;
}

.rich-text .pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.3;
  text-align: center;
  color: var(--color-text);
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.rich-text .callout {
  background: var(--color-beige);
  border-left: 3px solid var(--color-olive);
  padding: 24px 28px;
  font-size: 17px;
  line-height: 1.65;
}
.rich-text .callout strong { display: block; margin-bottom: 6px; }

.rich-text .small-caps {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.rich-text .drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 4.8em;
  font-weight: 400;
  line-height: 0.85;
  float: left;
  margin: 6px 12px 0 0;
  color: var(--color-olive);
}
.article-section-number {
  text-align: center;
  margin: 56px 0 56px;
}
.article-section-number__no {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--color-olive);
}
.article-section-number__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  max-width: 560px;
  margin: 0 auto;
}

.article-figure {
  margin: 48px 0;
}
.article-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.article-figure__caption {
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  text-align: center;
}

.article-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 48px 0;
}
@media (min-width: 768px) {
  .article-grid-2 { grid-template-columns: 1fr 1fr; }
}
.article-grid-2 img { width: 100%; height: auto; display: block; }

.color-callout {
  background: var(--color-beige);
  padding: 32px 32px;
  margin: 48px 0;
  text-align: center;
}
.color-callout__swatch {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 1px solid rgba(44,44,44,0.1);
}
.color-callout__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 6px;
}
.color-callout__desc {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.article-closing-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
  margin: 64px 0 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Big designer pull quote — used in project reveals */
.designer-quote {
  max-width: 880px;
  margin: 56px auto;
  padding: 24px var(--page-pad-x);
  text-align: center;
}
.designer-quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  color: var(--color-text);
  margin: 0 0 24px;
}
.designer-quote__cite {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.article-meta-footer {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 64px auto 0;
  padding: 32px 0;
  max-width: 760px;
}
.article-meta-footer__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.article-meta-footer__label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 6px;
}
.article-meta-footer__value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
}
.article-meta-footer__share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}
.article-meta-footer__share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-text);
  transition: opacity var(--transition-fast);
}
.article-meta-footer__share a:hover { opacity: 0.6; }

/* Read More related articles */
.read-more {
  background: var(--color-white);
}
.read-more__head {
  text-align: center;
  margin-bottom: 40px;
}
.read-more__head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
