:root {
  color-scheme: light;
  --bg: #f8efeb;
  --bg-soft: #fdf8f6;
  --card: rgba(255, 255, 255, 0.78);
  --text: #4a3933;
  --muted: #78635b;
  --line: rgba(123, 91, 78, 0.16);
  --line-strong: rgba(123, 91, 78, 0.28);
  --accent: #8f6658;
  --shadow: 0 14px 36px rgba(125, 97, 83, 0.1);
  --radius: 24px;
  --radius-lg: 32px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: "Crimson Pro", Georgia, serif;
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 235, 229, 0.86), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 246, 241, 0.76), transparent 32%),
    linear-gradient(180deg, rgba(253, 246, 243, 0.94), rgba(248, 239, 235, 0.98)),
    url("assets/images/hero-bg.jpg") center top / cover fixed;
  background-blend-mode: normal, normal, normal, soft-light;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(248, 239, 235, 0.3);
  pointer-events: none;
}

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

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

a:focus-visible {
  outline: 2px solid rgba(143, 102, 88, 0.62);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
}

p {
  margin-top: 0;
}

.landing-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 18px 14px 42px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 253, 251, 0.74), rgba(255, 248, 245, 0.62)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero.panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 250, 0.58), rgba(255, 247, 243, 0.48)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(248, 239, 235, 0.1));
}

.hero {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: clamp(34px, 6vw, 58px) clamp(22px, 6vw, 64px);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(248, 239, 235, 0.12), rgba(244, 231, 226, 0.2)),
    url("assets/images/hero-bg.jpg") 44% 50% / auto 116% no-repeat;
  opacity: 0.64;
  mix-blend-mode: normal;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  text-align: center;
}

.title-mark {
  width: 92px;
  height: 1px;
  margin: 0 auto 18px;
  background: var(--line-strong);
}

.title-mark--bottom {
  margin-top: 18px;
  margin-bottom: 0;
}

h1 {
  font-size: clamp(40px, 10vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__subtitle {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--text);
  font-size: clamp(19px, 4.8vw, 26px);
  line-height: 1.42;
}

.hero__intro,
.hero__image-line,
.hero__status {
  max-width: 540px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(17px, 4.2vw, 20px);
  line-height: 1.58;
}

.hero__intro {
  margin-top: 22px;
}

.hero__image-line {
  margin-top: 12px;
  font-style: italic;
}

.app-item span {
  color: var(--accent);
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section,
.contact {
  margin-top: 18px;
}

.section {
  padding: clamp(28px, 7vw, 58px) clamp(22px, 6vw, 54px);
}

.physical {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 6vw, 52px);
}

.section__copy {
  max-width: 510px;
}

h2 {
  font-size: clamp(34px, 8vw, 52px);
  line-height: 1;
}

.section__lead {
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(19px, 4.8vw, 24px);
  line-height: 1.36;
}

.section__copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.56;
}

.section__copy p:last-child,
.contact p:last-child {
  margin-bottom: 0;
}

.photo-vignette {
  --photo-height: clamp(136px, 16vw, 190px);
  position: relative;
  display: flex;
  width: min(100%, 390px);
  align-items: end;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
}

.product-photo {
  flex: 0 0 auto;
  overflow: hidden;
  margin: 0;
  height: var(--photo-height);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(125, 97, 83, 0.14);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-photo--box {
  width: auto;
  aspect-ratio: 2852 / 3659;
  justify-self: end;
}

.product-photo--box img {
  aspect-ratio: 4 / 5;
  object-position: center 42%;
}

.product-photo--cards {
  width: auto;
  aspect-ratio: 890 / 794;
  justify-self: start;
}

.product-photo--cards img {
  aspect-ratio: 1 / 1;
  object-position: center;
}

.apps {
  padding: clamp(18px, 5vw, 30px) clamp(14px, 5vw, 36px);
}

.app-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.app-item {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.38);
  text-align: center;
}

.app-item h3 {
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1;
}

.app-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.app-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.contact {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 7vw, 48px) clamp(22px, 6vw, 48px);
}

.contact p {
  max-width: 560px;
  margin-top: 18px;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 3px 10px rgba(125, 97, 83, 0.04);
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(123, 91, 78, 0.34);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(123, 91, 78, 0.2);
}

.button:active {
  transform: scale(0.985);
}

.button--ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

@media (min-width: 700px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(248, 239, 235, 0.12), rgba(244, 231, 226, 0.2)),
      url("assets/images/hero-bg.jpg") 38% 50% / 122% auto no-repeat;
  }

  .physical {
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.9fr);
  }

  .contact {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .contact__links {
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .landing-shell {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .app-list {
    gap: 8px;
  }

  .product-photo--box {
    width: auto;
  }

  .product-photo--cards {
    width: auto;
  }

  .contact__links {
    align-items: flex-start;
    flex-direction: column;
  }
}

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