/* The Card Room landing page. Tokens from shopify/assets/mantel.css (mantel-handover/brand/tokens.json); classes lp-. */
.lp {
  --wall: #f2f1ed; --raised: #ffffff; --ink: #141414; --muted: #5e5c57; --line: #d9d6cf;
  --backdrop: #262624; --evening: #1b1a18; --paper: #f2f1ed; --umber: #5a4632; --muted-dark: #a3a09a;
  --baize: #4b5243; --error: #8a2e1f; --error-dark: #e7a593;
  --shadow-hang: 0 2px 4px rgba(0,0,0,.12), 0 24px 40px -16px rgba(0,0,0,.35);
  --shadow-hang-lg: 0 3px 6px rgba(0,0,0,.14), 0 40px 60px -24px rgba(0,0,0,.42);
  --display: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 48px; --section: 128px;
}
@media (max-width: 860px) { .lp { --gutter: 16px; --section: 80px; } }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--evening); }
.lp, .lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp { background: var(--wall); color: var(--ink); font: 400 17px/28px var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.lp img { display: block; max-width: 100%; height: auto; }
.lp :where(a) { color: inherit; }
.lp :where(p, ol, ul, figure) { margin: 0; }
.lp :where(h1, h2, h3) { margin: 0; font-weight: 400; }
.lp [hidden] { display: none !important; }
.lp :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lp-hero :focus-visible, .lp-header :focus-visible, .lp-join :focus-visible, .lp-footer :focus-visible { outline-color: var(--paper); }
.lp-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.lp-narrow { max-width: 760px; }
.lp-centre { text-align: center; }
.lp-skip { position: absolute; left: -9999px; }
.lp-skip:focus { left: 16px; top: 16px; background: var(--paper); color: var(--ink); padding: 10px 14px; z-index: 10; }
.lp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.lp-display { font-family: var(--display); font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -.015em; }
.lp-display-l { font-family: var(--display); font-size: clamp(34px, 4vw, 54px); line-height: 1.06; letter-spacing: -.01em; margin-bottom: 40px; }
.lp-eyebrow { font: 500 11px/16px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 22px; }
.lp-eyebrow--ink { color: var(--muted); }
.lp-intro { font-size: 19px; line-height: 31px; max-width: 34em; margin-top: 28px; }
.lp-intro--centre { margin: 0 auto 36px; }
.lp-muted { color: var(--muted); }
.lp-fine { font-size: 13px; line-height: 20px; color: var(--muted); }
.lp-fine--dark { color: var(--muted-dark); }

/* Buttons and links: square, ink, one primary per screen */
.lp-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); font: 500 15px/20px var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.lp-button:hover { background: #2b2b29; }
.lp-button:disabled { opacity: .35; cursor: not-allowed; }
.lp-button--small { min-height: 42px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
.lp-button--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lp-button--paper:hover { background: #ffffff; }
.lp-button--ghost { background: transparent; color: var(--ink); }
.lp-button--ghost:hover { background: var(--ink); color: var(--paper); }
.lp-button--wide { width: 100%; margin-top: 24px; }
.lp-link { color: inherit; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; font-size: 15px; }
.lp-link-button { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin: 40px 0 24px; }

/* Header */
.lp-header { background: var(--evening); color: var(--paper); border-bottom: 1px solid rgba(242,241,237,.12); }
.lp-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.lp-brand img { height: 34px; width: auto; }
@media (max-width: 860px) { .lp-header-row { height: 68px; } .lp-brand img { height: 26px; } }

/* Hero */
.lp-hero { background: var(--evening); color: var(--paper); padding: 88px 0 var(--section); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.lp-hero .lp-intro { color: #e4e1da; }
@media (max-width: 960px) { .lp-hero { padding-top: 48px; } .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; } }

/* Framed pictures: box frame, hanging shadow, plaque beneath */
.lp-hung { display: flex; flex-direction: column; align-items: center; }
.lp-frame { position: relative; width: 100%; background: var(--ink); padding: clamp(9px, 1.15vw, 16px); box-shadow: var(--shadow-hang); }
.lp-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lp-frame--lg { padding: clamp(10px, 1.4vw, 20px); box-shadow: var(--shadow-hang-lg); }
.lp-frame--dark { background: #0a0a0a; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.lp-pending { display: none; aspect-ratio: 3 / 2; background: radial-gradient(ellipse at 60% 75%, #3a3a2c 0%, #2a2219 45%, #17130f 100%); color: #d8cfc4;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.lp-frame.is-empty img { display: none; }
.lp-frame.is-empty .lp-pending { display: flex; }
.lp-plaque { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; line-height: 20px; color: var(--muted); }
.lp-plaque-name { font: 500 15px/20px var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.lp-plaque--dark { color: var(--muted-dark); }
.lp-plaque--dark .lp-plaque-name, .lp-pending .lp-plaque-name { color: var(--paper); }

/* Sections */
.lp-section { padding: var(--section) 0; }
.lp-try { background: var(--wall); }
.lp-how { background: var(--raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-faq { background: var(--wall); }
.lp-join { background: var(--evening); color: var(--paper); }

/* The maker */
.lp-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 220px; padding: 32px 20px;
  border: 1px dashed #a9a59c; background: var(--raised); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.lp-drop:hover, .lp-drop.is-over { border-color: var(--ink); background: #fbfaf7; }
.lp-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.lp-drop:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.lp-drop-title { font: 400 26px/1.15 var(--display); }
.lp-drop-hint { color: var(--muted); font-size: 15px; }
.lp-chosen { display: flex; align-items: center; gap: 20px; padding: 16px; background: var(--raised); border: 1px solid var(--line); }
.lp-chosen img { width: 96px; height: 96px; object-fit: cover; }
.lp-field { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.lp-field label { font-size: 15px; }
.lp input[type="text"], .lp input[type="email"] { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #a9a59c; border-radius: 0; background: var(--raised);
  color: var(--ink); font: 400 17px/24px var(--sans); }
.lp input[type="text"]:focus, .lp input[type="email"]:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.lp-error { margin-top: 16px; color: var(--error); font-size: 15px; line-height: 22px; }
.lp-error--dark { color: var(--error-dark); }
.lp-done { margin-top: 16px; padding: 14px 16px; background: #e9efe4; color: #2d3a25; font-size: 15px; line-height: 22px; }
.lp-done--dark { background: rgba(242,241,237,.1); color: var(--paper); }
.lp-tips { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.lp-tips img { width: 112px; aspect-ratio: 3 / 4; object-fit: cover; }
.lp-tips-title { font-weight: 500; margin-bottom: 6px; }
.lp-tips ul { margin: 0 0 10px; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 24px; }

.lp-working { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; background: var(--raised); border: 1px solid var(--line); }
.lp-working img { width: 120px; height: 120px; object-fit: cover; }
.lp-working-title { font: 400 28px/1.15 var(--display); margin-bottom: 6px; }
.lp-bar { margin-top: 18px; height: 3px; background: var(--line); overflow: hidden; }
.lp-bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width 1s linear; }
@media (max-width: 520px) { .lp-working { grid-template-columns: minmax(0, 1fr); } .lp-working img { width: 88px; height: 88px; } }

.lp-result { margin-bottom: 56px; }
.lp-keep { padding: 36px; background: var(--raised); border: 1px solid var(--line); }
.lp-keep-title { font: 400 32px/1.1 var(--display); margin-bottom: 12px; }
.lp-keep > p:not(.lp-fine):not(.lp-error):not(.lp-done) { margin-bottom: 24px; }
.lp-again { margin-top: 28px; text-align: center; }
@media (max-width: 520px) { .lp-keep { padding: 24px 20px; } }

.lp-form { display: flex; gap: 0; margin-bottom: 14px; }
.lp-form input[type="email"] { flex: 1 1 auto; min-width: 0; }
.lp-form .lp-button { flex: 0 0 auto; }
.lp-form--dark { max-width: 560px; margin: 0 auto 14px; }
.lp-form--dark input[type="email"] { border-color: var(--paper); }
@media (max-width: 520px) { .lp-form { flex-direction: column; gap: 10px; } .lp-form .lp-button { width: 100%; } }

/* How it works */
.lp-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.lp-steps h3 { font: 400 28px/1.15 var(--display); margin: 14px 0 10px; }
.lp-steps p { color: var(--muted); }
.lp-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--ink); font: 500 18px/1 var(--display); }
.lp-made { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--line); }
.lp-made img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lp-made h3 { font: 400 32px/1.1 var(--display); margin-bottom: 12px; }
.lp-made p { color: var(--muted); margin-bottom: 28px; }
@media (max-width: 860px) { .lp-steps { grid-template-columns: minmax(0, 1fr); gap: 36px; } .lp-made { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Questions */
.lp-faq details { border-top: 1px solid var(--line); }
.lp-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 22px 32px 22px 0; position: relative; font: 400 22px/1.3 var(--display); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 300 24px/1 var(--sans); }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { padding: 0 0 24px; color: var(--muted); max-width: 40em; }

/* Footer */
.lp-footer { background: var(--evening); color: var(--muted-dark); border-top: 1px solid rgba(242,241,237,.12); padding: 32px 0; font-size: 13px; }
.lp-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lp-footer img { height: 22px; width: auto; }

/* The photo the hero portrait was made from */
.lp-hung { position: relative; }
.lp-before { position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 64px; width: clamp(96px, 20%, 150px); background: #f2f1ed; padding: 6px 6px 0;
  box-shadow: 0 16px 30px -10px rgba(0,0,0,.6); transform: rotate(-3deg); }
.lp-before img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.lp-before span { display: block; padding: 6px 0 7px; text-align: center; font: 500 10px/12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .lp-before { left: 6px; bottom: 58px; width: 26%; max-width: 120px; } }
.lp-frame.is-empty ~ .lp-before { display: none; }
.lp-footer a, .lp-fine a { color: inherit; }

/* Privacy notice */
.lp-doc h2 { font: 400 28px/1.15 var(--display); margin: 44px 0 12px; }
.lp-doc p, .lp-doc ul { margin-bottom: 14px; }
.lp-doc ul { padding-left: 20px; }
.lp-doc li { margin-bottom: 6px; }
.lp-doc .lp-display-l { margin-bottom: 28px; }
.lp-doc-back { margin-top: 48px; }
.lp-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; line-height: 22px; }
.lp-table th, .lp-table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.lp-table th { font-weight: 500; }
@media (max-width: 640px) {
  .lp-table thead { display: none; }
  .lp-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .lp-table td { display: block; padding: 2px 0; border: 0; }
  .lp-table td:first-child { font-weight: 500; }
}

/* The proposition, under the hero */
.lp-lead { font-size: 18px; line-height: 29px; color: var(--muted); margin: -16px 0 36px; max-width: 40em; }
.lp-lead--wide { max-width: 46em; }
.lp-promises { list-style: none; padding: 40px 0 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  border-top: 1px solid rgba(242,241,237,.14); }
.lp-promises li { display: flex; flex-direction: column; gap: 6px; }
.lp-promises strong { font: 400 24px/1.15 var(--display); color: var(--paper); }
.lp-promises span { font-size: 15px; line-height: 22px; color: var(--muted-dark); }
@media (max-width: 860px) { .lp-promises { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 56px; padding-top: 28px; } }

/* One photo, many portraits */
.lp-styles { background: var(--wall); border-top: 1px solid var(--line); }
.lp-style-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.lp-style-grid img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--ink); padding: 8px; box-shadow: var(--shadow-hang); }
.lp-style-grid h3 { font: 400 22px/1.15 var(--display); margin: 18px 0 4px; }
.lp-style-grid p { font-size: 14px; line-height: 21px; color: var(--muted); }
@media (max-width: 1100px) { .lp-style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (max-width: 560px) { .lp-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } .lp-style-grid h3 { font-size: 19px; } }

/* The wait: real progress, the stages of the work, and what Mantel is */
.lp-studio { background: var(--raised); border: 1px solid var(--line); padding: 32px; }
.lp-studio-head { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: center; }
.lp-studio .lp-eyebrow { margin-bottom: 8px; }
.lp-studio .lp-working-title { font: 400 30px/1.12 var(--display); margin-bottom: 4px; }
.lp-studio .lp-bar { margin: 16px 0 10px; height: 4px; }
.lp-scan { position: relative; width: 132px; height: 132px; overflow: hidden; background: var(--ink); }
.lp-scan img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.lp-scan span { position: absolute; left: 0; right: 0; top: 0; height: 36%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(242,241,237,0), rgba(242,241,237,.55) 85%, rgba(242,241,237,.9));
  mix-blend-mode: soft-light; animation: lp-scan 2.6s ease-in-out infinite; }
@keyframes lp-scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(300%); } }
.lp-stages { list-style: none; padding: 24px 0; margin: 24px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; }
.lp-stages li { position: relative; padding-left: 30px; font-size: 15px; line-height: 22px; color: #a9a59c; transition: color .4s; }
.lp-stages li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border: 1px solid #c9c5bc; border-radius: 50%; box-sizing: border-box; }
.lp-stages li.is-now { color: var(--ink); }
.lp-stages li.is-now::before { border-color: var(--ink); border-top-color: transparent; animation: lp-spin 1s linear infinite; }
.lp-stages li.is-done { color: var(--muted); }
.lp-stages li.is-done::before { border-color: var(--ink); background: var(--ink); }
.lp-stages li.is-done::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 3px; border-left: 1.5px solid var(--paper); border-bottom: 1.5px solid var(--paper); transform: rotate(-45deg); }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-learn { padding-top: 24px; }
.lp-learn-card { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 24px; align-items: center; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.lp-learn-card.is-in { opacity: 1; transform: none; }
.lp-learn-card img { width: 148px; height: 148px; object-fit: cover; background: var(--ink); padding: 6px; }
.lp-learn-kicker { font: 500 11px/16px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.lp-learn-card h3 { font: 400 26px/1.15 var(--display); margin-bottom: 6px; }
.lp-learn-card p:last-child { color: var(--muted); font-size: 15px; line-height: 23px; }
.lp-learn-dots { display: flex; gap: 6px; margin-top: 20px; }
.lp-learn-dots span { width: 18px; height: 2px; background: var(--line); transition: background .3s; }
.lp-learn-dots span.is-on { background: var(--ink); }
@media (max-width: 560px) {
  .lp-studio { padding: 20px 16px; }
  .lp-studio-head { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .lp-scan { width: 88px; height: 88px; }
  .lp-studio .lp-working-title { font-size: 24px; }
  .lp-learn-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
  .lp-learn-card img { width: 96px; height: 96px; }
  .lp-learn-card h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .lp-scan span, .lp-stages li.is-now::before { animation: none; } .lp-learn-card { transition: none; } }

/* The two views of a result: the portrait, and the portrait on a wall to scale */
.lp-views { display: flex; gap: 0; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.lp-views button { flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 18px;
  font: 500 15px/20px var(--sans); color: var(--muted); cursor: pointer; }
.lp-views button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.lp-wall-view { margin-bottom: 56px; }
/* Measured on img/frame-wall.jpg: the frame's opening, as a share of the photograph (scripts in the session log). */
.lp-framed { position: relative; width: 100%; background: #d8cbb8; }
.lp-framed > img { display: block; width: 100%; height: auto; }
.lp-framed > .lp-framed-art, .lp-framed > .lp-framed-glass { position: absolute; left: 9.495%; top: 8.788%; width: 81.01%; height: 80.985%; }
.lp-framed-art { object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.lp-framed-art:not([src]) { visibility: hidden; }
.lp-framed-glass { pointer-events: none; }
.lp-wall-note { margin-top: 14px; }
