/* =========================================================
   Home v2 (ref01-inspired): full-width dark panels, arrow buttons,
   English eyebrows, feature cards, photo stacks, price list.
   Loaded only on the home page (templates/index.html).
   ========================================================= */
/* small English heading above titles (class name kept from v2 draft) */
.script { font-family: var(--en-font); color: var(--gold); font-size: var(--fs-en); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; margin: 0 0 .4em; }
.script.center { text-align: center; }
.hero .hl { color: var(--red); }

/* button: red block + arrow square */
.btn-arrow { background: var(--red); color: #fff; border-radius: var(--btn-arrow-radius); padding: .7em 1.2em .7em 1.5em; gap: .5em; letter-spacing: .05em; }
.btn-arrow:hover { color: #fff; background: var(--red-dark); }
.arrow-box { display: inline-grid; place-items: center; width: 18px; height: 18px; transition: transform .2s; }
.btn-arrow:hover .arrow-box, a:hover > .arrow-box { transform: translateX(3px); }

/* full-width dark band; content capped at 1260px */
.panel { background: var(--black); color: var(--on-dark); padding: var(--section-space) max(clamp(16px, 5vw, 72px), calc((100% - 1260px) / 2)); }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px); flex-wrap: wrap; }
.panel-title { color: #fff; font-size: var(--fs-panel); margin: 0; }
.panel-title.center { text-align: center; margin-bottom: .2em; }

/* features on cream with faint line art */
.features { position: relative; background: var(--cream); padding: clamp(48px, 8vw, 96px) 0; overflow: hidden; }
.lineart { position: absolute; color: var(--brown); opacity: var(--lineart-opacity); width: clamp(160px, 22vw, 300px); pointer-events: none; }
.lineart-left { left: 0; bottom: 10px; }
.lineart-right { right: 0; top: 20px; }
.feature-cards { list-style: none; padding: 0; margin: 2.2em 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.feature-cards li { background: #fff; border-radius: 10px; padding: 24px 22px 26px; box-shadow: 0 2px 14px rgba(60, 30, 10, .06); }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--icon-bg); color: var(--icon-color); margin-bottom: 14px; }
.feature-icon svg { width: 30px; height: 30px; }
.feature-cards h3 { font-size: 1.12rem; margin: 0 0 .2em; letter-spacing: .05em; }
.feature-arrow { display: block; color: var(--red); font-size: 1.2rem; line-height: 1; margin-bottom: .6em; }
.feature-cards p { margin: 0; font-size: .93rem; color: var(--brown); line-height: 1.7; }

/* centered statement flanked by photo stacks, on a tall dark band */
.statement { background: var(--black); color: var(--on-dark); padding: clamp(72px, 11vw, 150px) 0; }
.statement-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.statement-text { text-align: center; }
.statement-mark { margin: 0 auto 14px; }
.statement-text h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .06em; }
.statement-text p { color: var(--on-dark-muted); }
.photo-stack { position: relative; aspect-ratio: 4 / 5; }
.photo-stack img { position: absolute; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); background: var(--card-dark); }
.photo-stack .ps-a { width: 70%; height: 62%; top: 0; left: 0; }
.photo-stack .ps-b { width: 70%; height: 58%; right: 0; bottom: 0; border: 5px solid var(--black); }
.photo-stack.right .ps-a { left: auto; right: 0; }
.photo-stack.right .ps-b { right: auto; left: 0; }

/* menu row: tall image cards + white price card */
.menu-row { display: grid; grid-template-columns: 1fr 1fr 2.1fr 1fr 1fr; gap: 14px; align-items: stretch; }
.menu-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; color: #fff; text-decoration: none; background: var(--card-dark); }
.menu-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.menu-card:hover img { transform: scale(1.05); }
.menu-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .8)); }
.menu-card span { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 1; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.4; }
.price-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 24px 24px 20px; }
.price-card h3 { color: var(--red); font-size: 1.05rem; letter-spacing: .1em; margin: 0 0 .4em; }
.price-card h3:not(:first-child) { margin-top: 1em; }
.price-card ul { list-style: none; padding: 0; margin: 0; }
.price-card li a { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.price-card li a:hover .pl-name { color: var(--red); }
.pl-dots { flex: 1; border-bottom: 1.5px dotted #c9b79f; transform: translateY(-4px); min-width: 16px; }
.pl-price { color: var(--red); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-note { font-size: .78rem; color: var(--muted); margin: 1em 0 .3em; }
.pl-more { font-weight: 700; font-size: .9rem; text-decoration: none; }

/* gallery */
.gallery-grid { list-style: none; padding: 0; margin: 2em 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: .85rem; line-height: 1.4; opacity: 0; transition: opacity .25s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid a:hover span, .gallery-grid a:focus span { opacity: 1; }

/* order panel */
.order-panel .doll { width: 100%; max-width: 1160px; margin: 0 auto clamp(20px, 4vw, 40px); border-radius: 10px; }
.order-panel .steps li { background: rgba(255, 255, 255, .05); border-color: rgba(226, 195, 140, .25); }
.order-panel .steps h3 { color: var(--gold-light); }
.order-panel .steps p { color: var(--on-dark-muted); }

@media (max-width: 1100px) {
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .menu-row { grid-template-columns: repeat(2, 1fr); }
  .menu-row .price-card { grid-column: 1 / -1; order: -1; }
  .menu-card { min-height: 240px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .statement-grid { grid-template-columns: 1fr 1fr; }
  .statement-text { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) {
  .feature-cards { grid-template-columns: 1fr; }
  .menu-card { min-height: 180px; }
  .price-card { padding: 20px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid span { opacity: 1; }
  .panel-head .btn-arrow { display: none; }
}
