/* ==========================================================================
   The Wine Atlas — How It Works (placeholder)
   ========================================================================== */

.page-how {
  --h-parchment: #f2ebdd;
  --h-cellar: #2a0c14;
  --h-night: #1c1a17;
  --h-champagne: #d1b68a;
  --h-gutter: clamp(1.25rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--h-cellar);
  color: var(--h-parchment);
  font-family: "Jost", sans-serif;
  font-weight: 300;
}
.page-how * { box-sizing: border-box; }
.page-how a { color: inherit; }
.page-how a:focus-visible { outline: 2px solid var(--h-champagne); outline-offset: 4px; }

.how-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  padding: 1.75rem var(--h-gutter) 20vh;
}
.how-mark {
  font-size: .6875rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  text-decoration: none;
}
.how-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 1;
}
.how-title em { display: block; color: var(--h-champagne); }

/* Link: unboxed, set under the headline */
.how-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(209, 182, 138, .5);
  color: var(--h-champagne) !important;
  font-family: "Jost", sans-serif;
  font-size: .75rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .35s, color .35s;
}
.how-link svg { width: 1.5rem; height: .625rem; transition: transform .35s; }
.how-link:hover { border-color: var(--h-champagne); color: var(--h-parchment) !important; }
.how-link:hover svg { transform: translateX(5px); }

.how-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--h-night); }
.how-strip figure { position: relative; margin: 0; min-height: 18rem; overflow: hidden; }
.how-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.how-strip figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(42, 12, 20, .92) 8%, transparent 60%); }
.how-strip figcaption { position: absolute; z-index: 1; left: 1.25rem; right: 1.25rem; bottom: 1.5rem; }
.how-strip b { display: block; font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: 1.9rem; color: var(--h-champagne); }
.how-strip span { font-size: .875rem; line-height: 1.5; color: rgba(242, 235, 221, .85); }

@media (max-width: 820px) {
  .page-how { grid-template-columns: 1fr; }
  .how-strip { grid-template-columns: 1fr; }
  .how-strip figure { min-height: 9rem; }
}
