@font-face {
  font-family: "Addington CF";
  src: url("./assets/fonts/AddingtonCF-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Addington CF";
  src: url("./assets/fonts/AddingtonCF-DemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Addington CF";
  src: url("./assets/fonts/AddingtonCF-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Addington CF";
  src: url("./assets/fonts/AddingtonCF-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #edc5c4;
  --ink: #1a1a1a;
  --paper: #f7f2ee;
  --line: rgba(0, 0, 0, .12);
  --radius: 18px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .08);
  --max: 100%;
  --menu-font: "Addington CF", Georgia, "Times New Roman", serif;
  --kr-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 30;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 14px 18px;

  /* 첫 화면: 사진 위에 얹힘(투명) */
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  box-shadow: none;
  backdrop-filter: none;

  /* ✅ 메뉴/주문하기는 항상 보이게 */
  opacity: 1;
  transform: none;
  pointer-events: auto;

  transition: background .18s ease, box-shadow .18s ease, border-color .18s ease, backdrop-filter .18s ease;
}


.topbar-left {
  justify-self: start;
}

.topbar-actions {
  justify-self: end;
}

/* 헤더 로고 이미지 */
.brand-img {
  height: 45px;
  /* 크기 조절 포인트 */
  width: auto;
  display: block;
}


.brand {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: .18s ease;
}

/* 히어로 끝나면 로고 표시 */
body.is-header-visible .brand {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.is-header-visible .topbar {
  background: rgba(247, 242, 238, .92);
  border-bottom: 1px solid rgba(0, 0, 0, .10);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  backdrop-filter: blur(10px);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  box-shadow: var(--shadow);
}

.brand-name {
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .85);
}

.icon {
  font-size: 16px;
}

.txt {
  font-size: 13px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, .2);
  transition: transform .12s ease;
}

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

.cta.small {
  padding: 9px 14px;
  font-size: 14px;
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  font-weight: 700;
}

.ghost:hover {
  background: rgba(255, 255, 255, .85);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(26, 26, 26, .92);
  color: #fff;
  padding: 18px;
}

.menu-head {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-title {
  font-size: 14px;
  letter-spacing: .18em;
  opacity: .9;
}

.menu-body {
  max-width: var(--max);
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-link {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: .02em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.menu-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  opacity: .95;
}

.hero {
  max-width: var(--max);
  margin: 22px auto 0;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
}

.hero-inner {
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.kicker {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 12px;
  opacity: .65;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
}

.accent {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand);
  border: 1px solid var(--line);
}

.hero-sub {
  margin: 0 0 16px;
  opacity: .78;
  font-size: 15px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-card {
  border-radius: var(--radius);
  padding: 18px;
  background: var(--brand);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(26, 26, 26, .92);
  color: #fff;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

.badge.outline {
  background: rgba(255, 255, 255, .4);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, .12);
}

.hero-card-img {
  border-radius: 14px;
  border: 1px dashed rgba(0, 0, 0, .22);
  background: rgba(255, 255, 255, .25);
  padding: 16px;
  min-height: 210px;
  display: grid;
  place-items: center;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 150px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(0, 0, 0, .12);
  font-weight: 900;
  letter-spacing: .14em;
  opacity: .75;
}

.hero-card-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  border-radius: 14px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(0, 0, 0, .12);
  padding: 10px;
}

.stat-num {
  font-weight: 900;
}

.stat-label {
  font-size: 12px;
  opacity: .8;
  margin-top: 4px;
  line-height: 1.3;
}

.marquee {
  overflow: hidden;
  background: transparent;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  /* set 안에서 gap 관리 */
  width: max-content;
  /* ✅ 콘텐츠 실제 폭 */
  will-change: transform;
  animation: marq-logos var(--marq-dur, 18s) linear infinite;
}

.marquee-set {
  display: flex;
  align-items: center;
  gap: var(--marq-gap, 42px);
  padding: 12px 18px;
  flex: 0 0 auto;
}

.marquee-logo {
  height: var(--marq-size, 120px);
  width: auto;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

@keyframes marq-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * var(--marq-shift, 600px)));
  }
}


@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.section {
  width: 100%;
  max-width: none;
  /* ✅ 가로 제한 해제 */
  margin: 0;
  /* ✅ 가운데 정렬 제거 */
  padding: 34px clamp(16px, 2.5vw, 42px) 0;
  /* ✅ 화면에 따라 자연스러운 좌우 패딩 */
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-size: 22px;
  letter-spacing: .08em;
}

.section-sub {
  margin: 0;
  opacity: .72;
}

/* ===== Tabs (re_grocery style) ===== */
.tabs {
  display: flex;
  flex-wrap: nowrap;
  /* ✅ 줄바꿈 금지 */
  align-items: baseline;
  gap: clamp(12px, 2.6vw, 44px);
  /* ✅ 화면 크기 따라 간격도 줄어듦 */
  margin-top: 16px;

  overflow-x: auto;
  /* ✅ 아주 작은 화면에서만 가로 스크롤로 안전장치 */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  border: 0;
  background: transparent;
  padding: 0;

  white-space: nowrap;
  /* ✅ 단어 줄바꿈 금지 */

  /* ✅ 화면 줄어들면 글씨도 같이 줄어듦 */
  font-size: clamp(26px, 8vw, 80px);

  /* ✅ 너무 좁아질 때 겹침 방지용으로 자간도 같이 줄어듦 */
  letter-spacing: clamp(.02em, .18vw, .08em);

  line-height: 1;
  cursor: pointer;

  color: rgba(26, 26, 26, .35);
  transition: color .12s ease, transform .12s ease, opacity .12s ease;
}


.tab:hover {
  color: rgba(26, 26, 26, .60);
  transform: translateY(-1px);
}

.tab.is-active {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
  font-weight: 100;
}


@media (max-width: 520px) {
  .tabs {
    gap: 14px;
  }

  .tab {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .tab {
    font-size: 16px;
  }
}


.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.product {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.product .thumb {
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, .05);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: .12em;
  opacity: 1;
  filter: none;
}

.product .body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product .title {
  font-weight: 900;
}

.product .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-weight: 900;
}

.pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pills .mini {
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(237, 197, 196, .45);
  border: 1px solid rgba(0, 0, 0, .10);
  font-weight: 800;
}

.product .btns {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.product .btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  font-weight: 900;
  cursor: pointer;
}

.product .btn.primary {
  background: var(--brand);
  border-color: rgba(0, 0, 0, .14);
}

.section-foot {
  padding: 16px 0 0;
}

.story {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
}

.story-block {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  padding: 18px;
}

.story-block.card {
  background: rgba(255, 255, 255, .75);
}

.story-kicker {
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 12px;
  opacity: .65;
}

.story-title {
  margin: 8px 0 10px;
  font-size: 22px;
}

.story-text {
  margin: 0;
  opacity: .8;
  line-height: 1.65;
}

/* ===== Story photo block ===== */
.story-photo {
  padding: 0;
  /* 기존 story-block 패딩 제거 */
  overflow: hidden;
  /* 라운드 밖으로 이미지 삐져나오는 거 방지 */
  min-height: 320px;
  /* 데스크탑에서 빈 느낌 방지 (원하면 조절) */
}

.story-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* 꽉 채우기 */
  object-position: center;
}

.story-map {
  padding: 18px;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  /* 비율은 취향대로 */
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  background: #fff;
}

.map-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  opacity: .8;
}

.map-link:hover {
  opacity: 1;
}


.check {
  margin: 12px 0 0;
  padding-left: 18px;
}

.check li {
  margin: 8px 0;
  opacity: .85;
}

.contact {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}

.footer-inner {
  width: 100%;
  max-width: none;
  /* ✅ 가로 제한 해제 */
  margin: 0;
  /* ✅ 가운데 정렬 제거 */
  padding: 18px clamp(16px, 2.5vw, 42px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  font-weight: 900;
  letter-spacing: .08em;
}

.footer-small {
  opacity: .72;
  font-size: 13px;
  margin-top: 4px;
}

.footer-link {
  font-weight: 900;
  opacity: .85;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 12px 12px;
  }

  .icon-btn {
    padding: 9px 10px;
  }

  .txt {
    display: none;
  }

  .cta {
    padding: 10px 14px;
    font-size: 13px;
  }
}


/* ===== Main photo apply + logo overlay ===== */
.hero-visual {
  position: relative;
  overflow: hidden;
  background-image: url("./assets/main.png");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 0, 0, .12);
}

.hero-visual .img-placeholder {
  display: none;
}


.hero-visual-mark {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: rgba(237, 197, 196, .90);
  border: 1px solid rgba(0, 0, 0, .14);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .10);
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 24px;
}

.hero-visual-text {
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.05;
  font-size: 18px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}

.hero-visual-text span {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  opacity: .78;
  letter-spacing: .20em;
}



/* ===== Full-bleed hero ===== */
.hero-bleed {
  height: 100vh;
  width: 100%;
  position: relative;

  background-image: url("./assets/main.png");
  background-size: cover;
  background-position: center;
  /* 필요하면 center 55% 이런식으로 조절 */
  border-bottom: 1px solid rgba(0, 0, 0, .10);

  /* 화면 꽉 차는 느낌 */
  margin: 0;
}

/* 사진 위에 로고가 더 잘 읽히게 살짝 베일 */
.hero-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0) 55%),
    linear-gradient(to bottom, rgba(255, 255, 255, .10), rgba(255, 255, 255, .08));
  pointer-events: none;
}

/* 중앙 로고 */
.hero-bleed-logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}

/* 스크롤 유도 */
.hero-bleed-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;

  font-weight: 900;
  letter-spacing: .14em;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(8px);
}


/* fixed header 때문에 아래 콘텐츠가 가려지지 않게 */
/*main{ padding-top: 68px; }*/

/* 히어로가 완전히 끝난 뒤에만 헤더 등장 */
body.is-header-visible .topbar {
  background: rgba(247, 242, 238, .92);
  border-bottom: 1px solid rgba(0, 0, 0, .10);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  backdrop-filter: blur(10px);
}

/* 히어로 위 로고는 헤더 등장 시 사라지게 */
body.is-header-visible .hero-bleed-logo {
  opacity: 0;
  transform: translateY(-10px);
  transition: .22s ease;
  pointer-events: none;
}



/* ===== Hero logo image badge ===== */
.hero-logo-badge {
  width: 110px;
  height: 110px;
  border-radius: 28px;

  display: grid;
  place-items: center;

  /* 기존 VG 배지 느낌(유리/톤) 유지 */
  background: rgba(237, 197, 196, .55);
  border: 1px solid rgba(0, 0, 0, .14);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .10);
  backdrop-filter: blur(6px);
}

.hero-logo-img {
  width: 350px;
  /* 크기 조절 */
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .18));
}

/* ===== Menu typography: Addington CF ===== */
.topbar,
.topbar .icon-btn,
.topbar .cta,
.menu-overlay,
.menu-link,
.menu-title,
.tabs .tab {
  font-family: var(--menu-font);
}

.tabs .tab {
  letter-spacing: .06em;
  /* 너무 벌어지면 .02em로 */
  font-weight: 300;
  /* Bold로 */
}

.topbar .cta {
  font-family: var(--kr-font);
}

.product .thumb {
  overflow: hidden;
}

.product .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 14px;
  align-items: center;
}

.story-text-block {
  padding: 24px;
}

.story-heading {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  font-family: var(--menu-font);
  font-weight: 300;
  margin: 0 0 24px;
}

.story-desc {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.8;
  word-break: keep-all;
}

.story-img-block {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.inquiry-container {
  margin-top: 14px;
  max-width: 600px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  opacity: 0.7;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(237, 197, 196, 0.3);
}

.form-submit {
  align-self: flex-start;
  margin-top: 10px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  padding: 14px 28px;
}

@media (max-width: 768px) {
  .brand-story-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story-heading {
    margin-bottom: 16px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 14px;
}

.inquiry-container {
  margin-top: 0;
  max-width: none;
  /* Reset max-width for grid layout */
}

.map-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
  padding: 12px;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 12px;
  background: #eee;
}

.map-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.map-address {
  margin: 0;
  font-size: 13px;
  opacity: 0.8;
  font-weight: 500;
}

.map-link-btn {
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .map-container {
    order: -1;
    /* Show map above form on mobile if preferred, or remove this line */
  }
}

.story-slogan {
  margin-top: 24px;
  font-weight: 900;
  font-family: var(--menu-font);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--brand);
  text-transform: uppercase;
}

.instagram-feed {
  margin-top: 24px;
  width: 100%;
  overflow: hidden;
  /* Clean edges */
}