:root {
  --paper: #f5f2ec;
  --paper-deep: #ebe7df;
  --ink: #171717;
  --muted: #696967;
  --line: #171717;
  --line-soft: #c9c5bd;
  --blue: #294f70;
  --blue-dot: #315d7f;
  --metal: #b9b9b4;
  --brown: #9b6247;
  --white: #fbfaf7;
  --radius: 0px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Noto Sans KR", Arial, sans-serif;
  --kr: "Noto Sans KR", Arial, sans-serif;
  --side: clamp(24px, 4vw, 72px);
  --section-gap: clamp(56px, 7vw, 112px);
  --fast: 180ms ease;
  --slow: 460ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 25% 10%, rgba(255,255,255,.75), transparent 26%),
    linear-gradient(90deg, rgba(0,0,0,.018) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 18px 18px, auto;
  font-family: var(--sans);
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--paper-deep); }
button, input { border-radius: var(--radius); font: inherit; letter-spacing: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 var(--side);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, white);
  transition: background var(--fast);
}
.site-header.is-scrolled { background: rgba(245,242,236,.96); backdrop-filter: blur(10px); }
.logo, .site-footer h2 { font: 700 22px/1 var(--serif); }
.main-nav { display: flex; gap: clamp(22px, 3vw, 46px); justify-content: center; font-size: 11px; font-weight: 700; }
.main-nav a, .header-actions a, .text-button, .section-heading a, .filters button {
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.main-nav a::after, .header-actions a::after, .text-button::after, .section-heading a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast);
}
.main-nav a:hover::after, .header-actions a:hover::after, .text-button:hover::after, .section-heading a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: clamp(18px, 2.6vw, 42px); justify-content: flex-end; align-items: center; }
.menu-button { display: none; }
.mobile-panel { display: none; }
.section { margin: 0 var(--side); padding: var(--section-gap) 0; border-top: 1px solid var(--line); }
.hero {
  display: grid;
  grid-template-columns: minmax(340px, .88fr) 2.6fr;
  gap: 32px;
  min-height: calc(100vh - 68px);
  align-items: center;
  border-top: 0;
}
.eyebrow, .frame-card span, .frame-card footer, .product-card small, .product-card b, .product-card em, time {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}
.hero h1 {
  margin: 60px 0 28px;
  max-width: 100%;
  font: 700 clamp(58px, 5.8vw, 104px)/.9 var(--serif);
  letter-spacing: 0;
}
.hero-lede { max-width: 285px; margin: 0 0 40px; color: var(--muted); font: 600 16px/1.55 var(--sans); }
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  min-height: 58px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  transition: transform var(--fast), background var(--fast);
}
.solid-button:hover { transform: translateY(-2px); background: #000; }
.hero-frames {
  display: grid;
  grid-template-columns: 1.05fr .95fr 1fr 1.04fr;
  gap: 8px;
  align-items: end;
}
.frame-card { display: grid; gap: 8px; min-width: 0; animation: rise var(--slow) both; }
.frame-card:nth-child(2) { animation-delay: .08s; }
.frame-card:nth-child(3) { animation-delay: .16s; }
.frame-card:nth-child(4) { animation-delay: .24s; }
.frame-card img { aspect-ratio: 3 / 4.05; border: 2px solid var(--line); filter: saturate(.9) contrast(.98); }
.frame-card.tall img { aspect-ratio: 3 / 4.75; }
.frame-card footer { display: grid; gap: 5px; min-height: 35px; }
.section-heading { margin-bottom: 34px; }
.section-heading h2, .newsletter h2 {
  margin: 0;
  font: 700 clamp(29px, 2.5vw, 42px)/1 var(--serif);
}
.section-heading p, .newsletter p { margin: 12px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.55; }
.section-heading.inline { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-heading.compact { margin-bottom: 24px; }
.edit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.edit-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.24);
  transition: border-color var(--fast), transform var(--fast);
}
.edit-card.active, .edit-card:hover { border-color: var(--line); transform: translateY(-2px); }
.edit-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; overflow: hidden; }
.edit-strip img { aspect-ratio: 1 / .82; transition: transform var(--slow); }
.edit-card:hover img { transform: scale(1.02); }
.edit-card strong { display: flex; align-items: center; gap: 9px; font: 700 18px/1 var(--serif); }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; background: var(--blue-dot); }
.dot.gray { background: var(--metal); }
.dot.brown { background: var(--brown); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card { border: 1px solid var(--line-soft); background: rgba(255,255,255,.18); overflow: hidden; }
.category-card img { aspect-ratio: 2.55 / 1; transition: transform var(--slow); }
.category-card span { display: flex; justify-content: space-between; padding: 16px 18px; border-top: 1px solid var(--line-soft); font: 700 19px/1 var(--serif); }
.category-card:hover img, .product-card:hover img, .scene-strip a:hover img, .workshop:hover { transform: scale(1.02); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
.product-card { display: grid; gap: 9px; min-width: 0; }
.product-card img { aspect-ratio: 1 / 1.08; transition: transform var(--slow); }
.product-card.large { position: relative; align-content: start; }
.product-card.large > img {
  grid-column: 1;
  grid-row: 2;
}
.product-card.large .hover-img {
  position: static;
  grid-column: 1;
  grid-row: 2;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.product-card.large:hover > img:first-of-type { opacity: 0; }
.product-card.large:hover .hover-img { opacity: 1; }
.product-card span { color: var(--ink); font-size: 13px; line-height: 1.45; }
.product-card em { color: var(--muted); }
.scene-row { display: grid; grid-template-columns: 1fr 170px; gap: 32px; align-items: center; margin-top: 26px; }
.scene-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.scene-strip a { display: grid; border-right: 1px solid var(--line); overflow: hidden; }
.scene-strip a:last-child { border-right: 0; }
.scene-strip img { aspect-ratio: 2.2 / .82; transition: transform var(--slow); }
.scene-strip span { padding: 10px 12px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.scene-link { font-size: 11px; font-weight: 700; display: flex; justify-content: space-between; }
.featured-brand {
  display: grid;
  grid-template-columns: 1.25fr 1.45fr 2.1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 4vw, 58px);
  background: var(--blue);
  color: var(--white);
  border-top: 0;
}
.brand-copy h2 { margin: 8px 0 16px; font: 600 30px/1 var(--serif); }
.brand-copy p, .brand-copy a, .brand-products span { font-size: 12px; font-weight: 700; }
.brand-copy span { display: block; max-width: 320px; margin-bottom: 28px; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.6; }
.workshop { aspect-ratio: 1.75 / 1; transition: transform var(--slow); }
.brand-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-products a { display: grid; gap: 8px; }
.brand-products img { aspect-ratio: 1.05 / 1; background: var(--white); }
.filters { display: flex; gap: clamp(14px, 3vw, 54px); overflow-x: auto; padding-bottom: 3px; }
.filters button.active { border-bottom: 1px solid var(--line); }
.brand-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 24px 38px;
  font-size: 11px;
  font-weight: 700;
}
.brand-list a::before { content: attr(data-group) "\A"; white-space: pre; display: block; margin-bottom: 7px; color: var(--muted); }
.brand-list a.is-hidden { display: none; }
.journal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.journal article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  min-height: 142px;
}
.journal article img { grid-row: span 4; aspect-ratio: 1.32 / 1; }
.journal h3 { margin: 0; font: 700 24px/1.08 var(--serif); }
.journal article a { align-self: end; font-size: 11px; font-weight: 700; }
.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(320px, .9fr);
  gap: 32px;
  align-items: end;
  padding-bottom: 46px;
}
.newsletter form { display: grid; grid-template-columns: 1fr 150px; gap: 0; }
.newsletter input, .newsletter button {
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: var(--paper);
  font-size: 12px;
}
.newsletter button { background: var(--ink); color: var(--white); font-weight: 700; }
.newsletter output { grid-column: 1 / -1; min-height: 18px; padding-top: 6px; font-size: 12px; color: var(--blue); }
.page-hero {
  display: grid;
  grid-template-columns: minmax(300px, .75fr) 1.8fr;
  gap: 34px;
  align-items: end;
  min-height: 520px;
}
.page-hero h1, .edit-detail h1, .article-feature h1, .cart-page h1 {
  margin: 12px 0 22px;
  font: 700 clamp(48px, 5.8vw, 88px)/.92 var(--serif);
  max-width: 760px;
}
.page-hero p, .edit-detail p, .article-feature p, .manifesto p, .cart-page p {
  max-width: 560px;
  color: var(--muted);
  font: 600 15px/1.65 var(--sans);
}
.page-hero img { aspect-ratio: 21 / 9; border: 1px solid var(--line); }
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.catalog-toolbar select {
  min-height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.edit-detail {
  display: grid;
  grid-template-columns: 110px 1.55fr 1fr;
  gap: 28px;
  align-items: center;
}
.edit-detail img { aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.edit-number { font-size: 11px; font-weight: 700; writing-mode: vertical-rl; transform: rotate(180deg); }
.four-frame-detail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.four-frame-detail a {
  display: grid;
  border: 1px solid var(--line);
  border-right: 0;
}
.four-frame-detail a:last-child { border-right: 1px solid var(--line); }
.four-frame-detail img { aspect-ratio: 4 / 3; }
.four-frame-detail span { padding: 9px 10px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.article-feature {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 34px;
  align-items: end;
}
.article-feature img { aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.article-grid, .manifesto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-grid article, .manifesto div {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line-soft);
  padding: 14px;
  background: rgba(255,255,255,.16);
}
.article-grid img { aspect-ratio: 16 / 9; margin-bottom: 4px; }
.article-grid h2, .manifesto h2 {
  margin: 0;
  font: 700 28px/1 var(--serif);
}
.article-grid p { margin: 0; color: var(--muted); font: 600 14px/1.55 var(--sans); }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  gap: 34px;
  padding: 26px var(--side);
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.product-gallery img {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-soft);
}
.product-info {
  position: sticky;
  top: 90px;
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 22px 0;
}
.product-info h1 { margin: 0; font: 700 clamp(40px, 4vw, 70px)/.95 var(--serif); }
.product-info strong { font-size: 20px; }
.product-info label { display: grid; gap: 8px; font-size: 11px; font-weight: 700; }
.product-info select, .product-info input {
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 12px;
}
.product-info details {
  border-top: 1px solid var(--line-soft);
  padding-top: 13px;
}
.product-info summary { cursor: pointer; font-weight: 700; }
.cart-page {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  min-height: 58vh;
  align-items: center;
}
.cart-page aside {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
}
.cart-page aside strong { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }
.site-footer {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr) 1.45fr;
  gap: 34px;
  padding: 48px var(--side);
  background: #181b19;
  color: var(--white);
}
.site-footer p, .site-footer a, .site-footer b, .site-footer strong { display: block; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.75; }
.serial { align-self: stretch; display: grid; align-content: center; gap: 10px; padding: 18px; border: 1px solid rgba(255,255,255,.35); }
.serial i {
  display: block;
  height: 42px;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 7px, #fff 7px 10px, transparent 10px 16px);
  opacity: .72;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero h1 { margin-top: 24px; max-width: 680px; font-size: clamp(72px, 11vw, 104px); }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-brand { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 58px; }
  .main-nav, .header-actions [data-search] { display: none; }
  .menu-button { display: inline-block; }
  .mobile-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 30;
    display: grid;
    align-content: start;
    gap: 22px;
    width: min(360px, 88vw);
    padding: 24px;
    border-left: 1px solid var(--line);
    background: var(--paper);
    transform: translateX(100%);
    transition: transform var(--slow);
  }
  .mobile-panel.is-open { transform: translateX(0); }
  .mobile-panel a, .close-button { font-size: 18px; font-weight: 700; text-align: left; }
  .hero { min-height: auto; padding-top: 28px; }
  .hero h1 { font-size: clamp(70px, 22vw, 104px); line-height: .92; }
  .hero-frames { grid-template-columns: repeat(2, 1fr); }
  .frame-card img, .frame-card.tall img { aspect-ratio: 3 / 4; }
  .edit-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .edit-card { min-width: 85vw; scroll-snap-align: start; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-row { display: block; }
  .scene-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .scene-strip a { min-width: 76vw; scroll-snap-align: start; border-right: 1px solid var(--line); }
  .scene-link { margin: 12px 0 24px; }
  .brand-products, .journal-grid, .newsletter, .site-footer { grid-template-columns: 1fr; }
  .page-hero, .edit-detail, .article-feature, .product-detail, .cart-page { grid-template-columns: 1fr; min-height: auto; }
  .page-hero img { aspect-ratio: 16 / 10; }
  .catalog-toolbar { display: grid; }
  .catalog-grid, .article-grid, .manifesto, .product-gallery { grid-template-columns: 1fr; }
  .four-frame-detail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .four-frame-detail a { min-width: 76vw; scroll-snap-align: start; border-right: 1px solid var(--line); }
  .edit-number { writing-mode: horizontal-tb; transform: none; }
  .product-info { position: static; }
  .brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal article { grid-template-columns: 1fr; }
  .journal article img { grid-row: auto; }
  .newsletter form { grid-template-columns: 1fr 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
