/* Original brand, refined: warm scarlet and cream.
   The homepage composition and Mediterranean shop are intentionally distinct. */

/* Scarlett Cat with the two-line brand wordmark. */
.nav-logo, .ft-logo { gap: 10px; }
.brand-cat-mark { display: block; width: 58px; height: 58px; flex: 0 0 auto; object-fit: contain; }
.nav-logo > .brand-wordmark, .ft-logo > .brand-wordmark {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  flex: 0 0 auto; white-space: nowrap;
}
.nl-paws, .ft-paws {
  font-family: var(--fp); font-size: 2rem; font-weight: 600;
  letter-spacing: -.045em; line-height: .95;
}
.nl-sub, .ft-sub {
  font-family: var(--fs); font-size: .6875rem; font-weight: 500;
  font-style: normal; letter-spacing: .055em; line-height: 1.2;
}
.nl-sub { color: var(--ch); }
.ft-logo { flex-wrap: nowrap; }
.ft-logo .brand-cat-mark { background: var(--bg); border-radius: 50%; padding: 3px; }
.ft-logo .ft-soc { flex: 0 0 36px; margin: 0 0 0 3px; }
@media (max-width: 1000px) {
  .nav-logo .brand-cat-mark { width: 52px; height: 52px; }
  .nav-logo .nl-paws { font-size: 1.875rem; }
}
@media (max-width: 760px) {
  .nav-logo { gap: 8px; }
  .nav-logo .brand-cat-mark { width: 48px; height: 48px; }
  .nav-logo .nl-paws { font-size: 1.75rem; }
  .nav-logo .nl-sub { font-size: .625rem; }
  .nav-logo > .brand-wordmark { gap: 4px; }
  .ft-brand { flex-wrap: wrap; gap: 12px; }
  .ft-brand p { text-align: left; max-width: none; }
  .ft-logo .brand-cat-mark { width: 52px; height: 52px; }
  .ft-logo .ft-paws { font-size: 1.875rem; }
}

/* The original cat by the window, with a little photographic depth. */
.hero-section {
  max-width: none;
  margin: 0;
  padding: 42px 32px 52px;
  min-height: calc(100svh - 86px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hero-left { padding: 0; text-align: center; position: relative; z-index: 1; }
.hero-location {
  display: inline-block;
  padding: 6px 15px;
  margin-bottom: 25px;
  border: 1px solid #e8d5c5;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--te);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
}
.hero-grid h1 {
  font-size: clamp(3.3rem, 4.8vw, 4.35rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.035em;
  max-width: none;
  margin-bottom: 26px;
}
.hero-grid h1 em { font-weight: 500; letter-spacing: -.035em; }
.hero-desc { max-width: 490px; margin: 0 auto 30px; font-size: 1.0625rem; line-height: 1.8; }
.hero-desc br { display: block; }
.hero-btns { justify-content: center; gap: 16px; }
.hero-btns .btn-primary, .hero-btns .btn-secondary {
  min-height: 52px;
  padding: 13px 26px;
  border: 1px solid var(--te);
  border-radius: 100px;
}
.hero-btns .btn-secondary { background: transparent; }
.hero-stats {
  max-width: 515px;
  margin: 32px auto 0;
  padding: 25px 0 0;
  gap: 0;
  border-bottom: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hstat { flex-direction: column; justify-content: start; gap: 10px; padding: 0 8px; }
.hstat-n { font-size: 1.85rem; line-height: 1.15; }
.hstat-l { max-width: none; font-size: .8125rem; }
.hero-right { padding: 0; width: 100%; max-width: none; perspective: 1100px; }
.cat-img-wrap { width: 112%; margin: 0 -6%; transform: rotateY(-5deg) rotate(-1deg); }
.cat-img-wrap img {
  width: 100%; height: auto;
  filter: drop-shadow(0 20px 16px #75513422) drop-shadow(0 2px 2px #75513412);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}

/* The original third screen: four cat introductions and a generous shop preview. */
.home-third-page { display: flex; flex-direction: column; }
.gal-section { background: var(--te); padding: 60px 32px; }
.gal-inner { grid-template-columns: 1fr 2.2fr; gap: 42px; }
.gal-text h2 { font-size: 2.4rem; font-weight: 600; }
.gal-text p { color: #faecdf; }
.gal-btn { display: inline-flex; align-items: center; min-height: 46px; }
.gal-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gal-photo {
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--bg2); color: var(--ch);
  box-shadow: 0 7px 18px #7a1e1820;
}
.gal-photo:nth-child(2) { transform: none; background: #f5e2d5; }
.gal-photo:nth-child(3) { background: #f4e4be; }
.gal-photo:nth-child(4) { background: #f8eee0; }
.preview-emoji { font-size: clamp(2.5rem, 4vw, 3.5rem); transform: translateY(-10px); }
.gal-photo .preview-caption {
  left: 0; right: 0; bottom: 12px;
  padding: 0 8px; text-align: center;
  background: transparent; font-size: .75rem !important; font-weight: 500;
}
.gal-photo:has(img) .preview-caption {
  left: 10px; right: auto; bottom: 10px;
  background: var(--bg); border-radius: 4px; padding: 4px 8px;
}
.gal-photo img { position: absolute; inset: 0; }
.shop-section { padding: 60px 32px; }
.shop-inner { grid-template-columns: 1fr 2.2fr; gap: 42px; }
.shop-text h2 { font-size: 1.9rem; line-height: 1.3; margin-bottom: 16px; }
.shop-text h2 br { display: block; }
.shop-text p { font-size: .875rem; }
.shop-btn { display: inline-flex; align-items: center; min-height: 44px; border-color: var(--te); }
.shop-products { gap: 20px; }
.shop-prod {
  display: flex; align-items: stretch; min-height: 150px;
  padding: 0; border: 1px solid var(--bd); border-radius: 12px;
  overflow: hidden; background: var(--paper);
}
.shop-prod-img {
  flex: 0 0 47%; min-height: 150px; position: relative;
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding-bottom: 20px; background: var(--bg2); font-size: 2.8rem;
}
.shop-cs {
  position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; color: var(--te); font-size: .6875rem;
  letter-spacing: 0; text-transform: none;
}
.shop-prod-info { flex: 1; padding: 20px 17px; display: flex; flex-direction: column; justify-content: center; }
.shop-prod-info h4 { font-size: .9375rem; line-height: 1.5; margin-bottom: 6px; }
.shop-prod-info p { font-size: .8125rem; }

/* A separate little Mediterranean world, using the original illustrations. */
#shop {
  --te: #265f91; --ted: #194b77; --accent: #265f91;
  --accent-soft: #e6eff7; --mi: #4f6577; --bd: #c8d9e7;
}
.shp-hero {
  padding: 74px 32px 76px; border-bottom: 1px solid #b8d0e4;
  background:
    linear-gradient(180deg, #ffffff70, #ffffff00 45%),
    repeating-linear-gradient(0deg, transparent 0 88px, #ffffff60 88px 90px),
    repeating-linear-gradient(90deg, transparent 0 88px, #ffffff60 88px 90px),
    linear-gradient(160deg, #d3e5f5, #b9d4ec);
}
.shp-hero-in { z-index: 2; max-width: 680px; padding-top: 35px; }
.shp-eyebrow { color: #315f88; }
.shp-title { font-size: 3.1rem; color: #263d50; }
.shp-sub { color: #415f76; }
.shp-born {
  display: inline-block; padding: 9px 23px; color: #315f88;
  border: 1px solid #ffffffe6; border-radius: 100px;
  background: #ffffffb8; box-shadow: 0 4px 14px #35547415;
}
.cut { display: block; position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 7px 12px #35547438); }
.cut-lemon1 { width: clamp(74px,9.5vw,128px); left: 5%; top: 11%; transform: rotate(-13deg); }
.cut-lemon2 { width: clamp(58px,7vw,96px); right: 7%; top: 56%; transform: rotate(11deg); }
.cut-lobster { width: clamp(84px,11vw,150px); right: 3.5%; top: 7%; transform: rotate(16deg); }
.cut-pearls { width: clamp(86px,11vw,150px); left: 8%; bottom: 9%; transform: rotate(-7deg); }
.cut-yarnb { width: clamp(62px,8vw,108px); left: 2.5%; top: 52%; transform: rotate(9deg); }
.cut-yarny { width: clamp(56px,7.5vw,100px); right: 16%; bottom: 6%; transform: rotate(-11deg); }
.cut-bow { width: clamp(64px,8vw,110px); left: 47%; top: 1.2%; transform: translateX(-50%) rotate(-6deg); }
.shp-body { max-width: 1100px; }
.shp-card { border-color: #c8d9e7; background: #fffdf8; }
.shp-card h4 { color: #263d50; }
.shp-chip { color: #516a7f; }
.shp-wait { background: #eaf2f8; }
.shp-wait h3 { color: #263d50; }
#shop .form-status { color: #8f241d; }
#shop .form-status.success { color: #265f91; border-color: #a9c5dc; }

@media (min-width: 1100px) {
  .home-third-page { min-height: 630px; }
  .home-third-page .gal-section, .home-third-page .shop-section { flex: 1; display: flex; align-items: center; }
  .gal-inner, .shop-inner { width: 100%; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .hero-section { min-height: 660px; padding: 55px 28px; }
  .hero-grid { gap: 8px; }
  .hero-grid h1 { font-size: clamp(2.7rem, 4.7vw, 3.6rem); }
  .hero-location { font-size: .75rem; }
  .hero-desc { font-size: .9375rem; }
  .hero-desc br:nth-child(2) { display: none; }
  .hero-btns { gap: 12px; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { padding: 12px 20px; font-size: .875rem; }
  .hero-stats { margin-top: 26px; }
  .hstat { padding: 0 6px; }
  .hstat-n { font-size: 1.6rem; }
  .hstat-l { font-size: .75rem; }
  .gal-inner { grid-template-columns: 1fr 2fr; gap: 25px; }
  .gal-text h2 { font-size: 2rem; }
  .gal-photos { gap: 10px; }
  .shop-inner { grid-template-columns: 1fr; gap: 25px; }
  .shop-text { max-width: 560px; }
  .shop-text h2 br { display: none; }
  .shop-prod { min-height: 140px; }
  .shp-hero-in { max-width: 590px; }
  .shp-title { font-size: 2.7rem; }
  .cut-lemon1 { left: 2%; top: 7%; }
  .cut-lobster { right: 1%; top: 4%; }
  .cut-pearls { left: 3%; bottom: 5%; }
  .cut-lemon2 { right: 3%; top: auto; bottom: 7%; }
  .cut-yarnb, .cut-yarny { display: none; }
}
@media (max-width: 760px) {
  .hero-section { padding: 32px 24px 35px; min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .hero-left { display: contents; }
  .hero-location { justify-self: center; font-size: .6875rem; margin-bottom: 22px; padding: 6px 11px; }
  .hero-grid h1 { font-size: clamp(2.4rem, 10vw, 3.3rem); margin-bottom: 22px; text-align: center; }
  .hero-desc { font-size: .9375rem; line-height: 1.75; text-align: center; margin-bottom: 25px; }
  .hero-desc br { display: none; }
  .hero-desc br:first-child { display: block; }
  .hero-btns { gap: 12px; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { padding: 12px 22px; min-height: 48px; font-size: .875rem; }
  .hero-right { order: 5; width: 100%; max-width: 470px; margin: 22px auto 0; }
  .cat-img-wrap { width: 112%; margin: 0 -6%; transform: rotate(-1deg); }
  .cat-img-wrap img { filter: drop-shadow(0 12px 10px #75513424); }
  .hero-stats { order: 6; margin: 28px 0 0; padding-top: 22px; width: 100%; max-width: none; }
  .hero-stats .hstat { min-height: 0; justify-content: start; gap: 8px; padding: 0 5px; }
  .hero-stats .hstat + .hstat { border-left: 1px solid var(--bd); }
  .hstat-n { font-size: 1.5rem; }
  .hstat-l { font-size: .6875rem; line-height: 1.55; }
  .gal-section { padding: 42px 24px; }
  .gal-inner { grid-template-columns: 1fr; gap: 25px; }
  .gal-text h2 { font-size: 2.25rem; }
  .gal-text p { margin-bottom: 10px; }
  .gal-photos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .gal-photo { border-radius: 12px; }
  .preview-emoji { font-size: 3rem; }
  .shop-section { padding: 42px 24px; }
  .shop-inner { grid-template-columns: 1fr; gap: 26px; }
  .shop-text h2 { font-size: 1.9rem; }
  .shop-products { grid-template-columns: 1fr; gap: 16px; }
  .shop-prod, .shop-prod-img { min-height: 130px; }
  .shop-prod-info h4 { font-size: 1rem; }
  .shp-hero { padding: 86px 24px 95px; }
  .shp-hero-in { padding-top: 0; }
  .shp-eyebrow { font-size: .6875rem; margin-bottom: 20px; }
  .shp-title { font-size: 2.45rem; }
  .shp-sub { font-size: .9375rem; }
  .shp-born { font-size: 1rem; padding: 9px 16px; }
  .cut-lemon1 { width: 61px; left: 5%; top: 15px; }
  .cut-lobster { width: 70px; right: 4%; top: 18px; }
  .cut-pearls { width: 80px; left: 7%; bottom: 11px; }
  .cut-lemon2 { width: 53px; right: 9%; bottom: 20px; top: auto; }
  .cut-bow, .cut-yarnb, .cut-yarny { display: none; }
}
@media (max-width: 360px) {
  .hero-section { padding-left: 20px; padding-right: 20px; }
  .hero-grid h1 { font-size: 2.3rem; }
  .hero-location { font-size: .625rem; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { padding: 12px 17px; }
  .shp-title { font-size: 2.15rem; }
  .shp-born { border-radius: 15px; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .cat-img-wrap:hover img { transform: translateY(-5px) scale(1.015); filter: drop-shadow(0 27px 19px #75513429); }
  .hero-btns .btn-secondary:hover { background: var(--accent-soft); transform: translateY(-2px); }
  .gal-photo:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion:reduce) { .cat-img-wrap { transform: none; } }
/* Keyboard focus must remain visible on the scarlet panels. */
.gal-section :focus-visible,
.red-card :focus-visible,
.svc-cta-block :focus-visible,
.site-footer :focus-visible { outline-color: var(--paper); }

.sh > .eyebrow { font-size: 1rem; color: var(--te); }
@media (max-width: 760px) { .sh > .eyebrow { font-size: .9375rem; } }

/* A little more presence in the desktop navigation. */
@media (min-width: 1001px) {
  .nav-links > a, .nav-dd-btn, .nav-cta { font-size: 1rem; }
  .nav-dd-title { font-size: 1rem; }
  .nav-dd-desc { font-size: .875rem; }
}
@media (min-width: 1231px) {
  .site-nav > .nav-logo { margin-left: clamp(52px, 4.5vw, 76px); gap: 12px; }
  .nav-logo .brand-cat-mark { width: 74px; height: 74px; }
  .nav-logo .nl-paws { font-size: 2.5rem; }
  .nav-logo .nl-sub { font-size: .8125rem; }
  .nav-logo > .brand-wordmark { gap: 6px; }
}

/* ── Contact 直连行：标签词只做大写，地址小一号 ── */
.contact-direct { font-size: 1rem !important; line-height: 1.8; margin-bottom: 10px; }
.contact-direct a { display: block; font-size: .9375rem; }
.cd-flag { text-transform: uppercase; letter-spacing: .02em; }
.contact-direct .ig-glyph { display: inline-block; vertical-align: -5px; margin-left: 1px; }

/* ── 页脚：猫头 Logo，沿轮廓描浅色底色，胡须不描（描边已烘进 PNG） ── */
.ft-cat-head {
  display: block; width: 58px; height: 58px; flex: 0 0 auto; object-fit: contain;
}

/* ── 页脚 Instagram：彩色图标，去掉原来的白圈 ── */
.ft-soc { width: auto; height: auto; border: 0; border-radius: 0; margin-left: 12px; }
.ft-logo .ft-soc { flex: 0 0 auto; margin: 0 0 0 12px; }
.ft-soc svg { width: 32px; height: 32px; }

@media (max-width: 760px) {
  .ft-cat-head { width: 50px; height: 50px; }
  .ft-soc { margin: 0 0 0 10px; }
}
