:root {
  color-scheme: light;
  --ink: #171717;
  --cream: #f8f4ee;
  --gold: #a9885f;
  --shadow: 0 8px 18px rgba(49, 42, 34, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #d8d1c8;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  background:
    linear-gradient(rgba(243, 239, 234, 0.34), rgba(226, 218, 208, 0.34)),
    url("assets/hero-landscape.jpg") center / cover fixed;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: start center;
  padding: 30px 18px;
}

.link-page {
  width: min(100%, 607px);
  overflow: hidden;
  background: #f7f3ed;
  box-shadow: 0 22px 70px rgba(45, 37, 28, 0.3);
}

.hero {
  position: relative;
  min-height: 630px;
  color: #fff;
  background: url("assets/hero-portrait.jpg") center 38% / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 27, 25, 0.45), rgba(40, 38, 35, 0.38) 55%, rgba(45, 42, 38, 0.54)),
    radial-gradient(circle at 50% 42%, transparent 25%, rgba(33, 30, 26, 0.12));
}

.brand-block {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 70px;
  text-align: center;
}

.brand-logo {
  display: block;
  width: 190px;
  height: 118px;
  margin-bottom: -33px;
  object-fit: contain;
  filter: invert(1) brightness(2);
}

h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.hero-details {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 60px;
  left: 24px;
  text-align: center;
}

.quality-line {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
}

.quality-line span {
  padding: 0 3px;
}

.social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 43px;
  margin-top: 31px;
}

.social-list a {
  position: relative;
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  color: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.social-list a:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}

.social-list a:focus-visible {
  border-radius: 8px;
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.social-list svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-list .social-dot {
  fill: currentColor;
  stroke: none;
}

.social-list .tiktok-social svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
  stroke: none;
  filter: drop-shadow(-2px 0 0 #25f4ee) drop-shadow(2px 0 0 #fe2c55);
}

.content-section {
  position: relative;
  min-height: 1050px;
  margin-top: -1px;
  padding: 74px 34px 28px;
  background: url("assets/detail.jpg") center bottom / cover no-repeat;
  isolation: isolate;
}

.content-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0,
    rgba(255, 255, 255, 0.91) 20%,
    rgba(255, 255, 255, 0.38) 52%,
    rgba(255, 255, 255, 0.18) 100%
  );
}

.link-list {
  display: grid;
  gap: 22px;
}

.link-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  min-height: 74px;
  padding: 11px 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  color: #111;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.link-card:hover {
  box-shadow: 0 12px 25px rgba(49, 42, 34, 0.28);
  transform: translateY(-2px);
}

.link-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.link-card:active {
  transform: translateY(0) scale(0.992);
}

.link-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
}

.link-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.link-icon.tiktok-icon svg {
  width: 38px;
  height: 38px;
  fill: #050505;
  stroke: none;
  filter: drop-shadow(-2px 0 0 #25f4ee) drop-shadow(2px 0 0 #fe2c55);
}

.link-card strong {
  overflow: hidden;
  font-size: 1.09rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.store-section {
  margin-top: 45px;
}

.store-section h2 {
  margin: 0 0 17px;
  color: #4a4540;
  font-size: 1.75rem;
  font-weight: 500;
  text-align: center;
}

.store-section h2 em {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
}

.map-card {
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.98);
  background: #fff;
  box-shadow: 0 7px 17px rgba(58, 46, 33, 0.2);
}

.map-visual {
  position: relative;
  display: block;
  width: 100%;
  height: 310px;
  overflow: hidden;
  color: inherit;
  background:
    linear-gradient(90deg, rgba(232, 220, 182, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(232, 220, 182, 0.12) 1px, transparent 1px),
    #f5f0da;
  background-size: 38px 38px;
  text-decoration: none;
}

.map-visual:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.road,
.river {
  position: absolute;
  display: block;
  border-radius: 99px;
  transform-origin: center;
}

.road {
  z-index: 1;
  height: 11px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(231, 225, 207, 0.35);
}

.road-one {
  top: 45%;
  left: -14%;
  width: 132%;
  transform: rotate(-11deg);
}

.road-two {
  top: -8%;
  left: 44%;
  width: 13px;
  height: 125%;
  transform: rotate(15deg);
}

.road-three {
  right: -15%;
  bottom: 17%;
  width: 75%;
  transform: rotate(26deg);
}

.river {
  z-index: 0;
  top: -8%;
  width: 4px;
  height: 122%;
  background: #83d6ed;
  opacity: 0.8;
}

.river-one {
  left: 17%;
  transform: rotate(8deg);
}

.river-two {
  right: 18%;
  transform: rotate(12deg);
}

.map-pin {
  position: absolute;
  z-index: 3;
  top: 47%;
  left: 55%;
  width: 34px;
  filter: drop-shadow(0 4px 5px rgba(93, 45, 31, 0.25));
  transform: translate(-50%, -100%);
}

.map-pin svg {
  display: block;
  width: 100%;
}

.map-pin path {
  fill: #e53f35;
}

.map-pin circle {
  fill: #b7201d;
}

.map-info {
  padding: 12px 12px 11px;
  color: #252525;
  background: #fff;
  text-align: center;
}

.map-info > strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.map-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 5px auto 9px;
  color: #666;
  font-size: 0.63rem;
  line-height: 1.35;
}

.map-info p svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.directions-button {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  color: #333;
  background: #dedede;
  font-size: 0.69rem;
  font-weight: 600;
  text-decoration: none;
}

.directions-button:hover {
  background: #cecece;
}

.page-footer {
  display: flex;
  min-height: 165px;
  align-items: end;
  justify-content: center;
  padding-bottom: 6px;
}

.page-footer img {
  width: 150px;
  height: 94px;
  object-fit: contain;
  filter: invert(1) brightness(2);
  opacity: 0.86;
}

.link-notice {
  position: fixed;
  z-index: 10;
  bottom: 24px;
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  background: rgba(34, 32, 29, 0.92);
  box-shadow: 0 12px 30px rgba(40, 33, 27, 0.22);
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.link-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  body {
    background: #eee8df;
  }

  .page-shell {
    padding: 0;
  }

  .link-page {
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 350px;
    background-position: center 37%;
  }

  .brand-block {
    padding-top: 23px;
  }

  .brand-logo {
    width: 130px;
    height: 81px;
    margin-bottom: -23px;
  }

  h1 {
    font-size: 0.9rem;
  }

  .hero-details {
    right: 15px;
    bottom: 21px;
    left: 15px;
  }

  .quality-line {
    font-size: clamp(0.57rem, 2.65vw, 0.7rem);
    line-height: 1.45;
  }

  .social-list {
    gap: 34px;
    margin-top: 14px;
  }

  .social-list a,
  .social-list svg {
    width: 32px;
    height: 32px;
  }

  .social-list .tiktok-social svg {
    width: 31px;
    height: 31px;
  }

  .content-section {
    min-height: 900px;
    padding: 27px 25px 22px;
  }

  .link-list {
    gap: 12px;
  }

  .link-card {
    grid-template-columns: 55px minmax(0, 1fr);
    min-height: 62px;
    padding: 8px 18px;
    border-radius: 10px;
  }

  .link-icon svg {
    width: 31px;
    height: 31px;
  }

  .link-icon.tiktok-icon svg {
    width: 30px;
    height: 30px;
  }

  .link-card strong {
    font-size: clamp(0.78rem, 3.65vw, 0.94rem);
  }

  .store-section {
    margin-top: 31px;
  }

  .store-section h2 {
    margin-bottom: 13px;
    font-size: 1.55rem;
  }

  .map-card {
    border-width: 8px;
  }

  .map-visual {
    height: 245px;
  }

  .map-info {
    padding-inline: 6px;
  }

  .map-info p {
    font-size: 0.58rem;
  }

  .page-footer {
    min-height: 132px;
  }
}

@media (max-width: 350px) {
  .content-section {
    padding-inline: 16px;
  }

  .link-card {
    grid-template-columns: 52px minmax(0, 1fr);
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
