/*
 * "Geru" homepage design system - PahadiKala
 * ---------------------------------------------------------------
 * Scoped entirely under .geru-home so it never touches the header,
 * footer, or any other page sharing customer.layouts.app. The
 * palette is taken from Aipan itself: white rice paste (--pk-rice)
 * drawn over a ground of red geru (--pk-geru).
 *
 * Loaded only on the home route - see the conditional <link> in
 * customer/layouts/app.blade.php.
 */

.geru-home {
    /* Layout rhythm is genuinely local to the homepage; every COLOR and
       FONT comes from pk-tokens.css so a change there reaches this page. */
    --pk-gutter: 48px;
    --pk-section-y: 64px;

    background: var(--pk-rice);
    color: var(--pk-ink);
    font-family: var(--pk-font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.geru-home * {
    box-sizing: border-box;
}

/* :where() keeps this at zero specificity beyond the plain `a` element,
   so any single-class component rule (.geru-btn, .geru-craft-tile, ...)
   naturally wins instead of losing to ".geru-home a" - a real bug found
   in review: that descendant selector's specificity (0,1,1) was beating
   .geru-btn's (0,1,0) and setting every button's TEXT to the same red
   as its own background, making the label invisible. */
:where(.geru-home) a {
    color: var(--pk-geru);
    text-decoration: none;
}

:where(.geru-home) a:hover {
    color: var(--pk-geru-deep);
}

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

.geru-home button {
    font-family: inherit;
}

.geru-home h1, .geru-home h2, .geru-home h3, .geru-home h4, .geru-home p {
    margin: 0;
}

@media (max-width: 991px) {
    .geru-home { --pk-gutter: 32px; --pk-section-y: 48px; }
}

@media (max-width: 576px) {
    .geru-home { --pk-gutter: 20px; --pk-section-y: 40px; }
}

/* ----------------------------------------------------------------
   Shared building blocks
   ---------------------------------------------------------------- */

.geru-section {
    padding: var(--pk-section-y) var(--pk-gutter);
}

.geru-section-inner {
    max-width: 1350px;
    margin: 0 auto;
}

.geru-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pk-geru);
    font-weight: 600;
}

.geru-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.geru-heading-row h2 {
    font-family: var(--pk-font-display);
    font-size: 40px;
    line-height: 1.12;
    margin-top: 12px;
}

.geru-heading-row p {
    font-size: 15px;
    line-height: 1.66;
    color: var(--pk-text-body);
    margin-top: 12px;
    max-width: 520px;
}

.geru-heading-center {
    text-align: center;
    margin-bottom: 40px;
}

.geru-heading-center h2 {
    font-family: var(--pk-font-display);
    font-size: 38px;
    line-height: 1.14;
    margin-top: 12px;
}

.geru-heading-center p {
    font-size: 14.5px;
    line-height: 1.66;
    color: var(--pk-text-body);
    margin: 12px auto 0;
    max-width: 560px;
}

.geru-link-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pk-ink);
    border-bottom: 1px solid var(--pk-geru);
    padding-bottom: 6px;
}

/* Same trick as the header seller link: keeps the underline tight to
   the text while giving the link a full-height tap area. */
.geru-link-arrow::after {
    content: '';
    position: absolute;
    inset: -10px -6px;
}

.geru-link-arrow i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.geru-link-arrow:hover {
    color: var(--pk-geru);
}

.geru-link-arrow:hover i {
    transform: translateX(3px);
}

.geru-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 32px;
    background: var(--pk-geru);
    color: var(--pk-paper);
    border: 1px solid var(--pk-geru);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.geru-btn:hover {
    background: var(--pk-geru-deep);
    border-color: var(--pk-geru-deep);
    color: var(--pk-paper);
    transform: translateY(-1px);
}

.geru-btn-outline {
    background: transparent;
    color: var(--pk-ink);
    border: 1px solid var(--pk-ink);
}

.geru-btn-outline:hover {
    background: var(--pk-ink);
    color: var(--pk-paper);
}

.geru-btn-outline-light {
    background: transparent;
    color: var(--pk-paper);
    border: 1px solid rgba(255, 253, 249, 0.55);
}

.geru-btn-outline-light:hover {
    background: rgba(255, 253, 249, 0.12);
    color: var(--pk-paper);
    border-color: rgba(255, 253, 249, 0.8);
}

/* ----------------------------------------------------------------
   2. Hero
   ---------------------------------------------------------------- */

.geru-hero {
    display: flex;
    /* height, not min-height: the hero image's own intrinsic aspect ratio
       was feeding back into this row's height - with only a min-height,
       flexbox's hypothetical-cross-size pass (which runs before stretch,
       while .geru-hero-media's height is still indefinite) falls back to
       the <img>'s natural width/aspect-ratio for its auto height, and
       that width grows with the viewport (flex-grow:1 column), so the
       "auto" height kept growing right along with it - 636px at 1440px
       wide, 989px at 1920px, 1460px at 2560px, unbounded. A definite
       height here removes the indefinite pass entirely, so the image
       just fills whatever this actually is via object-fit:cover,
       regardless of its own ratio. 620px comfortably fits the real text
       content (measured 594px at >=1200px); the 1199px breakpoint below
       bumps this up since its narrower text column wraps taller (639px). */
    height: 620px;
    background: var(--pk-rice);
}

.geru-hero-text {
    width: 560px;
    flex-shrink: 0;
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px dashed var(--pk-line-strong);
}

.geru-hero-text .geru-eyebrow {
    display: block;
}

.geru-hero-text h1 {
    font-family: var(--pk-font-display);
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -0.005em;
    margin-top: 22px;
}

.geru-hero-text .geru-hero-sub {
    font-size: 16px;
    line-height: 1.72;
    color: var(--pk-text-body);
    margin-top: 22px;
    max-width: 460px;
}

.geru-hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.geru-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    font-size: 13px;
    color: var(--pk-text-body);
    flex-wrap: wrap;
}

.geru-hero-meta .geru-stars {
    color: var(--pk-brass);
    font-size: 12px;
    letter-spacing: 1px;
}

.geru-hero-divider {
    width: 1px;
    height: 14px;
    background: #D3C2AE;
}

.geru-hero-media {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    background: #E7DCCB;
    min-height: 420px;
}

.geru-hero-slide {
    position: absolute;
    inset: 0;
    /* The active slide switches to position:relative below, which drops
       out of the inset:0 sizing trick - without an explicit height it falls
       back to indefinite/auto, and the image inside (height:100%, which
       then also resolves to auto) collapses to its own min-height:420px
       floor instead of filling however tall .geru-hero-media actually
       stretched to match its sibling .geru-hero-text. On a row where the
       text column wraps to more lines than 420px of image covers (any
       width where it isn't close to the desktop width this was eyeballed
       at), that left a visible gap of bare background below the image. */
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease;
}

.geru-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Progressive enhancement: before JS runs, every slide is stacked in
   normal flow so the hero still shows real content without a script. */
.geru-hero-media:not(.js-ready) .geru-hero-slide {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.geru-hero-media.js-ready .geru-hero-slide {
    position: absolute;
}

.geru-hero-media.js-ready .geru-hero-slide.is-active {
    position: relative;
}

.geru-hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.geru-hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.geru-hero-motif {
    position: absolute;
    top: 32px;
    right: 32px;
    opacity: 0.5;
    pointer-events: none;
    width: 130px;
    height: 130px;
}

.geru-hero-card {
    position: absolute;
    left: 32px;
    bottom: 32px;
    max-width: 320px;
    background: var(--pk-paper);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.geru-hero-card-eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pk-geru);
    font-weight: 600;
}

.geru-hero-card-title {
    font-family: var(--pk-font-display);
    font-size: 17px;
    line-height: 1.3;
    color: var(--pk-ink);
}

.geru-hero-price-row {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.geru-price {
    font-size: 19px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.geru-price-strike {
    font-size: 13px;
    color: var(--pk-text-muted);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.geru-price-off {
    font-size: 11px;
    font-weight: 700;
    color: var(--pk-geru-deep);
    letter-spacing: 0.05em;
}

.geru-hero-nav {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.geru-hero-nav button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 253, 249, 0.6);
    background: rgba(28, 21, 18, 0.35);
    color: var(--pk-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.geru-hero-nav button:hover {
    background: rgba(28, 21, 18, 0.6);
}

.geru-hero-dots {
    position: absolute;
    left: 20px;
    top: 20px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

/* The dot stays a 22x3 line visually; the transparent ::after gives it
   a ~44px-tall hit area so it can actually be tapped on a phone. */
.geru-hero-dots button {
    position: relative;
    width: 22px;
    height: 3px;
    border: 0;
    padding: 0;
    background: rgba(255, 253, 249, 0.4);
    cursor: pointer;
}

.geru-hero-dots button::after {
    content: '';
    position: absolute;
    inset: -20px -4px;
}

.geru-hero-dots button.is-active {
    background: var(--pk-paper);
}

@media (max-width: 1199px) {
    .geru-hero { height: 660px; }
    .geru-hero-text { width: 440px; padding: 48px 36px; }
    .geru-hero-text h1 { font-size: 44px; }
}

@media (max-width: 899px) {
    .geru-hero { flex-direction: column; height: auto; min-height: 0; }
    .geru-hero-text { width: 100%; border-right: 0; border-bottom: 1px dashed var(--pk-line-strong); padding: 40px 24px; order: 2; }
    .geru-hero-media { min-height: 300px; order: 1; }
    .geru-hero-slide img { min-height: 300px; }
    .geru-hero-card { max-width: none; right: 20px; }
}

@media (max-width: 576px) {
    .geru-hero-text h1 { font-size: 34px; }
    .geru-hero-text { padding: 32px 20px; }
    .geru-hero-card { left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; }
}

/* ----------------------------------------------------------------
   3. USP strip
   ---------------------------------------------------------------- */

.geru-usp {
    background: var(--pk-ink);
    color: var(--pk-rice);
    padding: 0 var(--pk-gutter);
}

.geru-usp-inner {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
}

.geru-usp-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 24px;
    border-right: 1px solid var(--pk-night-line);
}

.geru-usp-item:last-child {
    border-right: 0;
}

.geru-usp-item i {
    font-size: 20px;
    color: var(--pk-ember);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.geru-usp-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

.geru-usp-item span {
    display: block;
    font-size: 12px;
    color: var(--pk-night-text);
    margin-top: 3px;
}

@media (max-width: 899px) {
    .geru-usp-inner { flex-wrap: wrap; }
    .geru-usp-item { flex: 1 1 50%; border-right: 0; border-bottom: 1px solid var(--pk-night-line); padding: 18px 16px; }
    .geru-usp-item:nth-child(odd) { border-right: 1px solid var(--pk-night-line); }
}

/* ----------------------------------------------------------------
   4. Shop by craft
   ---------------------------------------------------------------- */

.geru-craft-row-lg {
    display: flex;
    gap: 20px;
}

.geru-craft-row-sm {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.geru-craft-tile {
    position: relative;
    overflow: hidden;
    background: #E7DCCB;
    color: var(--pk-paper);
    display: block;
    min-height: 220px;
}

.geru-craft-tile.is-large {
    min-height: 340px;
}

.geru-craft-row-lg .geru-craft-tile:first-child {
    flex: 1.6;
}

.geru-craft-row-lg .geru-craft-tile:last-child {
    flex: 1;
}

.geru-craft-tile.is-small {
    min-height: 200px;
}

.geru-craft-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.geru-craft-tile:hover img {
    transform: scale(1.05);
}

/* Keep the label light on hover. ":where(.geru-home) a:hover" (0,1,1)
   outranks the tile's own (0,1,0) colour and turns the text red on the
   dark scrim, so this (0,2,0) rule has to restate the paper colour. */
.geru-craft-tile:hover {
    color: var(--pk-paper);
}

.geru-craft-tile-scrim {
    position: absolute;
    inset: 0;
    background: var(--pk-ink);
    opacity: 0.36;
}

.geru-craft-tile-body {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.geru-craft-tile-count {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #F0CDB8;
    font-weight: 600;
}

.geru-craft-tile-name {
    font-family: var(--pk-font-display);
    font-size: 26px;
    line-height: 1.15;
}

.geru-craft-tile.is-small .geru-craft-tile-name {
    font-size: 19px;
}

@media (max-width: 899px) {
    .geru-craft-row-lg { flex-direction: column; }
    .geru-craft-row-sm { grid-template-columns: repeat(2, 1fr); }
    .geru-craft-tile.is-large { min-height: 220px; }
    .geru-craft-tile.is-small { min-height: 170px; }
}

/* ----------------------------------------------------------------
   5. Product cards (Featured / Best Deals)
   ---------------------------------------------------------------- */

.geru-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.geru-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.geru-product-media {
    position: relative;
    height: 300px;
    background: var(--pk-clay-tint);
    overflow: hidden;
}

.geru-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.geru-product-card:hover .geru-product-media img {
    transform: scale(1.045);
}

.geru-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--pk-geru);
    color: var(--pk-paper);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 9px;
}

.geru-product-sold-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--pk-ink);
    color: var(--pk-paper);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 5px 9px;
}

.geru-product-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    background: rgba(255, 253, 249, 0.92);
    color: var(--pk-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.geru-product-craft {
    margin-top: 14px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pk-brass);
    font-weight: 600;
}

.geru-product-title {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.42;
    font-weight: 500;
    color: var(--pk-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.geru-product-rating {
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--pk-text-muted);
}

.geru-product-rating .geru-stars {
    color: var(--pk-brass);
    font-size: 11px;
    letter-spacing: 1px;
}

.geru-product-price-row {
    /* Pinned to the bottom of the card so prices line up across a row,
       whether or not the product has a rating line. */
    margin-top: auto;
    padding-top: 9px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

@media (max-width: 991px) {
    .geru-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .geru-product-media { height: 220px; }
}

/* ----------------------------------------------------------------
   6. Story band (Aipan / Crochet)
   ---------------------------------------------------------------- */

.geru-story {
    display: flex;
    min-height: 560px;
    color: var(--pk-rice);
}

.geru-story.is-aipan { background: var(--pk-geru); }
.geru-story.is-crochet { background: var(--pk-pine); }

.geru-story-media {
    width: 46%;
    flex-shrink: 0;
    overflow: hidden;
}

.geru-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.geru-story-text {
    flex-grow: 1;
    padding: 64px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.geru-story.is-reversed {
    flex-direction: row-reverse;
}

.geru-story-motif {
    position: absolute;
    right: -70px;
    top: 30px;
    opacity: 0.15;
    pointer-events: none;
    width: 320px;
    height: 320px;
}

.geru-story.is-reversed .geru-story-motif {
    right: auto;
    left: -70px;
}

.geru-story-text .geru-eyebrow {
    color: #F0C3AC;
    position: relative;
}

.geru-story.is-crochet .geru-story-text .geru-eyebrow {
    color: #BFD1C4;
}

.geru-story-text h2 {
    font-family: var(--pk-font-display);
    font-size: 38px;
    line-height: 1.18;
    margin-top: 18px;
    max-width: 520px;
    position: relative;
}

.geru-story-text p {
    font-size: 15.5px;
    line-height: 1.82;
    margin-top: 18px;
    max-width: 500px;
    color: #F3E3D7;
    position: relative;
}

.geru-story.is-crochet .geru-story-text p {
    color: #E4EDE7;
}

.geru-story-text .geru-link-arrow {
    color: var(--pk-paper);
    border-bottom-color: rgba(255, 253, 249, 0.6);
    margin-top: 28px;
    align-self: flex-start;
    position: relative;
}

@media (max-width: 899px) {
    .geru-story, .geru-story.is-reversed { flex-direction: column; min-height: 0; }
    .geru-story-media { width: 100%; height: 240px; }
    .geru-story-media img { min-height: 240px; }
    .geru-story-text { padding: 40px 24px; }
    .geru-story-text h2 { font-size: 28px; }
}

/* ----------------------------------------------------------------
   7. Shop by price
   ---------------------------------------------------------------- */

.geru-price-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.geru-price-tile {
    height: 140px;
    border: 1px solid var(--pk-night-line);
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--pk-rice);
}

.geru-price-tile:hover {
    border-color: var(--pk-ember);
}

.geru-price-tile-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pk-night-text);
    font-weight: 600;
}

.geru-price-tile-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.geru-price-tile-value {
    font-family: var(--pk-font-display);
    font-size: 32px;
    line-height: 1;
    color: var(--pk-rice);
}

.geru-price-tile-row i {
    color: var(--pk-ember);
}

@media (max-width: 767px) {
    .geru-price-tiles { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   8. Artisans / stats
   ---------------------------------------------------------------- */

.geru-artisans {
    display: flex;
    align-items: center;
    gap: 64px;
}

.geru-artisans-text {
    width: 46%;
    flex-shrink: 0;
}

.geru-artisans-text h2 {
    font-family: var(--pk-font-display);
    font-size: 36px;
    line-height: 1.18;
    margin-top: 16px;
}

.geru-artisans-text p {
    font-size: 15.5px;
    line-height: 1.78;
    color: var(--pk-text-body);
    margin-top: 18px;
}

.geru-artisans-stats {
    display: flex;
    gap: 36px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.geru-artisans-stat strong {
    display: block;
    font-family: var(--pk-font-display);
    font-size: 28px;
    font-weight: 400;
}

.geru-artisans-stat span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pk-text-muted);
    font-weight: 600;
    margin-top: 5px;
}

.geru-artisans-media {
    flex-grow: 1;
    height: 420px;
    overflow: hidden;
    background: var(--pk-clay-tint);
}

.geru-artisans-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 899px) {
    .geru-artisans { flex-direction: column; }
    .geru-artisans-text { width: 100%; }
    .geru-artisans-media { width: 100%; height: 260px; }
}

/* ----------------------------------------------------------------
   9. Newsletter
   ---------------------------------------------------------------- */

.geru-newsletter {
    /* --pk-clay-tint was never defined, so this section had no background of
       its own and blended into the cream sections around it. */
    background: var(--pk-geru-tint);
    text-align: center;
}

.geru-newsletter-marks {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.geru-newsletter-marks span {
    display: block;
    background: var(--pk-geru);
    transform: rotate(45deg);
}

.geru-newsletter h2 {
    font-family: var(--pk-font-display);
    font-size: 32px;
    line-height: 1.18;
    margin-top: 16px;
    color: var(--pk-ink);
}

.geru-newsletter p {
    font-size: 14.5px;
    line-height: 1.64;
    color: #58483E;
    margin: 10px auto 0;
    max-width: 520px;
}

.geru-newsletter-form {
    margin: 24px auto 0;
    max-width: 500px;
    display: flex;
    gap: 12px;
}

.geru-newsletter-form input[type="email"] {
    flex-grow: 1;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #CFB09B;
    background: var(--pk-paper);
    font-family: inherit;
    font-size: 14.5px;
    color: var(--pk-ink);
    outline: none;
}

.geru-newsletter-form button {
    height: 52px;
    padding: 0 28px;
    background: var(--pk-ink);
    color: var(--pk-paper);
    border: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.geru-newsletter-note {
    margin-top: 12px;
    font-size: 12.5px;
    min-height: 16px;
}

/* Only takes up room once there is a message to show; empty it added ~40px of
   dead space under the form. */
.geru-newsletter-note:empty { display: none; }

.geru-newsletter-note.is-success { color: var(--pk-pine); }
.geru-newsletter-note.is-error { color: var(--pk-geru-deep); }

@media (max-width: 576px) {
    .geru-newsletter-form { flex-direction: column; }
}

/* ----------------------------------------------------------------
   10. FAQ (restyle only - markup / IDs unchanged)
   ---------------------------------------------------------------- */

.geru-faq {
    background: var(--pk-paper);
}

.geru-faq .accordion-item {
    border-radius: 0 !important;
    border-left: 3px solid var(--pk-geru) !important;
    background: var(--pk-paper) !important;
    box-shadow: none !important;
    border-top: 1px solid var(--pk-line);
    border-right: 1px solid var(--pk-line);
    border-bottom: 1px solid var(--pk-line);
}

.geru-faq .accordion-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

.geru-faq .accordion-button {
    background: var(--pk-paper) !important;
    color: var(--pk-ink) !important;
}

.geru-faq .accordion-button span {
    color: var(--pk-ink) !important;
}

.geru-faq .badge.mr-3 {
    background-color: var(--pk-geru) !important;
}

.geru-faq .accordion-button::after {
    filter: none !important;
}

/* ----------------------------------------------------------------
   Section rhythm - alternating grounds
   ---------------------------------------------------------------- */

.geru-bg-rice { background: var(--pk-rice); }
.geru-bg-paper { background: var(--pk-paper); border-top: 1px solid var(--pk-line); border-bottom: 1px solid var(--pk-line); }
.geru-bg-ink { background: var(--pk-ink); }
.geru-bg-geru { background: var(--pk-geru); }

/* ----------------------------------------------------------------
   Scroll-reveal + count-up (JS hooks, CSS-driven, no layout shift)
   ---------------------------------------------------------------- *
   Content is fully visible by default - home-geru.js is what adds
   .geru-reveal-armed (only once it has confirmed IntersectionObserver
   exists and reduced-motion isn't requested) and it is THAT class,
   never .geru-reveal alone, that opts an element into starting
   hidden. If the script fails to load or errors out, every section
   simply renders visible with no animation - never permanently
   hidden. */

.geru-reveal-armed {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.geru-reveal-armed.is-revealed {
    opacity: 1;
    transform: none;
}

@media (max-width: 899px) {
    .geru-hero-motif { display: none; }
}
