/* Pikoro Market — shared brand styles */

:root {
  /* Matched to logo cream so the mark sits without a white box */
  --bg: #f6efdd;
  --bg-deep: #efe6cf;
  --ink: #2a211c;
  --ink-soft: #4a3b34;
  --muted: #7a6a60;
  --line: #e0d4bf;
  --surface: #fbf6ea;
  --accent: #8d5847;
  --accent-hover: #734536;
  --footer: #2a211c;
  --footer-muted: #c4b5a8;
  --hero-veil: linear-gradient(
    120deg,
    rgba(42, 33, 28, 0.72) 0%,
    rgba(42, 33, 28, 0.35) 55%,
    rgba(42, 33, 28, 0.18) 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.font-display {
  font-family: "Cormorant Garamond", "Noto Serif KR", serif;
}

.font-korean {
  font-family: "Noto Serif KR", "Cormorant Garamond", serif;
}

.font-ui {
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 221, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--ink);
}

.brand__text {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
}

.brand__text .pikoro {
  display: block;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand__text .market {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.25s ease;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--ink);
}

.nav-desktop a.active::after,
.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 1rem 1.5rem 1.5rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--ink);
}

.nav-mobile a:last-child {
  border-bottom: none;
  margin-top: 0.75rem;
  text-align: center;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f6efdd;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #f6efdd;
  border-color: rgba(246, 239, 221, 0.55);
}

.btn-ghost:hover {
  background: rgba(246, 239, 221, 0.1);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--surface);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #f6efdd;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-veil);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 4rem;
}

.hero--center {
  align-items: center;
  text-align: center;
}

.hero--center .hero__content {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero__brand {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
  opacity: 0;
  animation: rise 1s ease 0.15s forwards;
}

.hero__brand span {
  display: block;
  font-size: 0.28em;
  letter-spacing: 0.35em;
  margin-top: 0.35em;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.85;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.hero .eyebrow {
  color: rgba(246, 239, 221, 0.75);
  opacity: 0;
  animation: rise 0.9s ease 0.05s forwards;
}

.hero__title {
  font-family: "Noto Serif KR", "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 28rem;
  margin: 0 0 1rem;
  opacity: 0;
  animation: rise 1s ease 0.3s forwards;
}

.hero--center .hero__title {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__lede {
  font-family: "Noto Serif KR", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 28rem;
  color: rgba(246, 239, 221, 0.88);
  margin: 0 0 1.75rem;
  opacity: 0;
  animation: rise 1s ease 0.45s forwards;
}

.hero--center .hero__lede {
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 1s ease 0.55s forwards;
}

.hero--center .hero__actions {
  justify-content: center;
}

.hero--compact {
  min-height: 58vh;
}

/* —— Sections —— */
.section {
  padding: 5.5rem 1.5rem;
}

.section--tight {
  padding: 4rem 1.5rem;
}

.section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: "Cormorant Garamond", "Noto Serif KR", serif;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.section-title.kr {
  font-family: "Noto Serif KR", "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
}

.section-lede {
  font-family: "Noto Serif KR", serif;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.75;
}

.bg-surface {
  background: var(--surface);
}

.bg-deep {
  background: var(--bg-deep);
}

/* —— Steps (no cards) —— */
.steps {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.step {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.step__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.step__title {
  font-family: "Noto Serif KR", serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.step__text {
  font-family: "Noto Serif KR", serif;
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}

/* —— Split story —— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
    gap: 4.5rem;
  }

  .split--reverse .split__media {
    order: 2;
  }

  .split--reverse .split__copy {
    order: 1;
  }
}

.split__media {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  background: var(--bg-deep);
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.split:hover .split__media img {
  transform: scale(1.03);
}

.split__copy .eyebrow {
  color: var(--muted);
}

.split__copy p {
  font-family: "Noto Serif KR", serif;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 1rem;
}

.split__copy p:last-child {
  margin-bottom: 0;
}

/* —— Product —— */
.price {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  margin: 1.25rem 0 0.35rem;
}

.price span {
  display: block;
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 0.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
}

.feature-list li {
  font-family: "Noto Serif KR", serif;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  gap: 0.75rem;
}

.feature-list li::before {
  content: "—";
  color: var(--accent);
  flex-shrink: 0;
}

/* —— Mission band —— */
.mission {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.mission h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  margin: 0 0 1.25rem;
}

.mission p {
  font-family: "Noto Serif KR", serif;
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  min-height: calc(100vh - 5rem);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-visual {
  display: none;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 31, 28, 0.45), transparent 50%);
}

@media (min-width: 900px) {
  .contact-visual {
    display: block;
  }
}

.contact-panel {
  background: var(--surface);
  padding: 3.5rem 1.5rem;
  display: flex;
  align-items: center;
}

.contact-panel__inner {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

.inquiry-list {
  display: grid;
  gap: 0.65rem;
  margin: 2rem 0 2.5rem;
}

.inquiry-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.inquiry-item:hover {
  color: var(--accent);
}

.inquiry-item h3 {
  font-family: "Noto Serif KR", serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.inquiry-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(36, 53, 44, 0.12);
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
}

.form-stack {
  display: grid;
  gap: 1.25rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--footer);
  color: #f6efdd;
  padding: 3.5rem 1.5rem 2.5rem;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.site-footer h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  font-size: 0.92rem;
  color: var(--footer-muted);
  line-height: 1.55;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.site-footer a:hover {
  color: #f6efdd;
}

.site-footer__brand p {
  max-width: 16rem;
}

.site-footer__meta {
  max-width: 72rem;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(168, 174, 169, 0.25);
  font-size: 0.8rem;
  color: var(--footer-muted);
  letter-spacing: 0.04em;
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .hero__brand,
  .hero .eyebrow,
  .hero__title,
  .hero__lede,
  .hero__actions {
    opacity: 1;
    transform: none;
  }
}
