/* Homepage-only lower-page design. All rules are rooted under the owned wrapper. */
.cg-h-homepage-lower,
.cg-h-homepage-lower * { box-sizing: border-box; }
.cg-h-homepage-lower {
    --cg-h-ink: #10263b;
    --cg-h-blue: #1768b1;
    --cg-h-ivory: #f6f3ec;
    --cg-h-paper: #fff;
    --cg-h-muted: #52616b;
    --cg-h-line: #d6dcd9;
    --cg-h-width: 1280px;
    --cg-h-gutter: clamp(1.25rem, 4vw, 3.5rem);
    color: var(--cg-h-ink);
    background: var(--cg-h-paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}
.cg-h-homepage-lower h2,
.cg-h-homepage-lower h3,
.cg-h-homepage-lower p,
.cg-h-homepage-lower figure,
.cg-h-homepage-lower section,
.cg-h-homepage-lower div,
.cg-h-homepage-lower li { min-width: 0; }
.cg-h-homepage-lower h2,
.cg-h-homepage-lower h3,
.cg-h-homepage-lower p,
.cg-h-homepage-lower figure { margin-top: 0; max-width: 100%; }
.cg-h-homepage-lower h2,
.cg-h-homepage-lower h3 { color: var(--cg-h-ink); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.cg-h-homepage-lower a { color: var(--cg-h-blue); }
.cg-h-homepage-lower a:focus-visible { outline: 3px solid #e6a928; outline-offset: 4px; }
.cg-h-eyebrow { margin-bottom: 1rem; color: var(--cg-h-blue); font-size: .72rem; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }

.cg-h-studio {
    display: grid;
    grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
    width: min(calc(100% - 2 * var(--cg-h-gutter)), var(--cg-h-width));
    margin-inline: auto;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 3.5vw, 3rem);
    border-top: 1px solid var(--cg-h-line);
}
.cg-h-studio__intro { max-width: 31rem; }
.cg-h-studio__intro h2,
.cg-h-section-heading h2,
.cg-h-location__copy h2 { margin-bottom: 1.1rem; font-size: clamp(2.5rem, 4.1vw, 4.2rem); letter-spacing: -.055em; line-height: 1.06; }
.cg-h-studio__description { max-width: 28rem; color: var(--cg-h-muted); font-size: 1.05rem; line-height: 1.75; }
.cg-h-studio__description p:last-child { margin-bottom: 0; }
.cg-h-text-link { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; margin-top: 1.25rem; font-size: .88rem; font-weight: 650; text-decoration: none; }
.cg-h-text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.cg-h-studio__hero { min-width: 0; margin: 0; }
.cg-h-studio__hero-image { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 820; object-fit: cover; }
.cg-h-studio__hero figcaption { margin: .55rem 0 0; color: var(--cg-h-muted); font-size: .74rem; line-height: 1.45; }
.cg-h-studio-gallery { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.8rem); margin-top: .2rem; }
.cg-h-studio-gallery__item { min-width: 0; margin: 0; }
.cg-h-studio-gallery__image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cg-h-studio-gallery__item figcaption { display: grid; gap: .35rem; padding-top: .8rem; }
.cg-h-studio-gallery__label { color: var(--cg-h-ink); font-size: .7rem; font-weight: 700; letter-spacing: .12em; line-height: 1.4; }
.cg-h-studio-gallery__copy { color: var(--cg-h-muted); font-size: .85rem; line-height: 1.5; }
.cg-h-studio-gallery__source { color: #6d7980; font-size: .69rem; line-height: 1.4; }

.cg-h-how { padding: clamp(3rem, 6vw, 5rem) var(--cg-h-gutter) clamp(3.25rem, 6vw, 5rem); background: var(--cg-h-ivory); }
.cg-h-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; width: min(100%, var(--cg-h-width)); margin: 0 auto clamp(2rem, 4vw, 3rem); }
.cg-h-section-heading .cg-h-eyebrow { margin-bottom: .85rem; }
.cg-h-section-heading h2 { margin-bottom: 0; font-size: clamp(2.35rem, 3.8vw, 3.8rem); }
.cg-h-section-heading > p { max-width: 23rem; margin: 0 0 .3rem; color: var(--cg-h-muted); font-size: .98rem; line-height: 1.65; }
.cg-h-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, var(--cg-h-width)); margin: 0 auto; padding: 0; list-style: none; }
.cg-h-steps li { min-width: 0; padding: .25rem clamp(1.2rem, 3vw, 2.5rem) .25rem 0; }
.cg-h-steps li + li { padding-left: clamp(1.2rem, 3vw, 2.5rem); border-left: 1px solid #cbd1d1; }
.cg-h-step-number { display: block; margin-bottom: 1.25rem; color: var(--cg-h-blue); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 4vw, 3.6rem); line-height: 1; }
.cg-h-steps h3 { margin-bottom: .65rem; font-size: clamp(1.3rem, 1.9vw, 1.75rem); letter-spacing: -.025em; line-height: 1.2; }
.cg-h-steps p { max-width: 21rem; margin-bottom: 0; color: var(--cg-h-muted); font-size: .88rem; line-height: 1.65; }

.cg-h-usp { width: 100%; padding: 1.55rem var(--cg-h-gutter); color: #fff; background: #10263b; }
.cg-h-usp ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, var(--cg-h-width)); margin: 0 auto; padding: 0; list-style: none; }
.cg-h-usp li { display: flex; align-items: center; justify-content: center; gap: .85rem; min-height: 2.5rem; padding: .25rem 1rem; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.35; text-align: center; }
.cg-h-usp li + li { border-left: 1px solid rgba(255,255,255,.22); }
.cg-h-usp svg { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; fill: none; stroke: #fff; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }

.cg-h-location { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: stretch; gap: clamp(2rem, 5vw, 4rem); width: min(calc(100% - 2 * var(--cg-h-gutter)), var(--cg-h-width)); margin-inline: auto; padding: clamp(3rem, 6vw, 5rem) 0; }
.cg-h-location__copy { align-self: center; min-width: 0; }
.cg-h-location__copy h2 { font-size: clamp(2.35rem, 3.8vw, 3.7rem); }
.cg-h-location__copy p { margin-bottom: .55rem; color: var(--cg-h-muted); font-size: .92rem; line-height: 1.55; }
.cg-h-location__copy .cg-h-eyebrow { margin-bottom: 1rem; }
.cg-h-location__business { color: var(--cg-h-ink) !important; font-weight: 700; }
.cg-h-location__email { display: block; width: fit-content; max-width: 100%; margin-top: .35rem; overflow-wrap: anywhere; font-size: .92rem; text-underline-offset: .2em; }
.cg-h-location__social { display: inline-block; margin: 1rem .9rem 0 0; font-size: .8rem; text-underline-offset: .2em; }
.cg-h-button { display: flex; width: fit-content; max-width: 100%; align-items: center; justify-content: center; gap: 1rem; min-height: 48px; margin-top: 1rem; padding: .75rem 1.15rem; color: #fff !important; background: var(--cg-h-blue); font-size: .86rem; font-weight: 650; text-decoration: none; }
.cg-h-button:hover { background: #10528f; }
.cg-h-location__visual { position: relative; width: 100%; min-height: 20rem; overflow: hidden; }
.cg-h-location__visual iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 800px) {
    .cg-h-studio { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 2.5rem; }
    .cg-h-studio__intro { max-width: 42rem; }
    .cg-h-studio__hero { grid-row: 2; }
    .cg-h-studio-gallery { grid-row: 3; gap: 1rem; }
    .cg-h-section-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
    .cg-h-section-heading > p { max-width: 34rem; }
    .cg-h-location { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .cg-h-location__visual { min-height: 16rem; }
}
@media (max-width: 560px) {
    .cg-h-studio { gap: 1.2rem; padding-block: 2rem; }
    .cg-h-studio__intro h2 { font-size: clamp(2.35rem, 10vw, 3.35rem); }
    .cg-h-studio__hero-image { aspect-ratio: 4 / 3; }
    .cg-h-studio-gallery { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
    .cg-h-studio-gallery__image { aspect-ratio: 16 / 10; }
    .cg-h-studio-gallery__item figcaption { padding-top: .55rem; }
    .cg-h-how { padding-block: 2.5rem; }
    .cg-h-steps { grid-template-columns: minmax(0, 1fr); }
    .cg-h-steps li,
    .cg-h-steps li + li { padding: 1.25rem 0; border-left: 0; border-top: 1px solid #cbd1d1; }
    .cg-h-steps li:first-child { padding-top: 0; border-top: 0; }
    .cg-h-step-number { margin-bottom: .65rem; font-size: 2.7rem; }
    .cg-h-usp { padding-block: 1rem; }
    .cg-h-usp ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cg-h-usp li { justify-content: flex-start; gap: .6rem; min-height: 3.15rem; padding: .5rem .3rem; font-size: .88rem; text-align: left; }
    .cg-h-usp li + li { border-left: 0; }
    .cg-h-usp li:nth-child(even) { padding-left: .8rem; border-left: 1px solid rgba(255,255,255,.22); }
    .cg-h-location { padding-block: 2.5rem; }
    .cg-h-location__copy > * { max-width: 100%; }
    .cg-h-location__email { margin-bottom: .25rem; }
    .cg-h-button { margin-top: .75rem; }
    .cg-h-location__visual { min-height: 14rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cg-h-homepage-lower { scroll-behavior: auto; }
}
