/* A single homepage journey: settings, stories, custom layouts, maker and quote. */
.gr-home .he-section{padding-block:72px;scroll-margin-top:24px}
.gr-home .he-section :is(h2,h3){color:var(--gr-ink);font-weight:600;letter-spacing:-.03em}
.gr-home .he-section h2{font-size:clamp(32px,3vw,42px);line-height:1.2;margin:0}
.gr-home .he-section p{font-size:16px!important;line-height:1.75!important;color:var(--gr-muted);margin:0 0 18px}
.gr-home .he-section p:last-child{margin-bottom:0}
.gr-home .he-section .he-label{font-size:11px!important;line-height:1.5!important;font-weight:600;letter-spacing:.08em;color:var(--gr-blue-action);margin:0 0 12px}
.gr-home #locations{padding-block:64px 72px}
.gr-home .he-text-link{display:inline-flex;align-items:center;gap:20px;min-height:44px;font-size:15px;font-weight:600;line-height:1.5;color:var(--gr-blue-action);border-bottom:1px solid #a8c1d3}
.gr-home .he-text-link:hover{border-color:var(--gr-blue-action)}

/* Two stories; their detail belongs on the project page. */
.gr-home .he-projects{background:#f2f7fb;scroll-margin-top:24px}
.gr-home .he-project-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:34px}
.gr-home .he-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.gr-home .he-case{min-width:0}
.gr-home .he-case-photo{display:block;overflow:hidden;border-radius:8px}
.gr-home .he-case-photo img{display:block;width:100%;height:auto;aspect-ratio:1.75;object-fit:cover;object-position:center}
.gr-home .he-case-copy{padding-top:24px}
.gr-home .he-case h3{font-size:28px;line-height:1.25;margin:0 0 14px}
.gr-home .he-case p{max-width:560px;margin-bottom:12px}
.gr-home .he-case .he-text-link{margin-top:3px}

/* One custom brief, with an optional experiment beneath it. */
.gr-home .he-custom{background:#fff;padding-block:0;color:var(--gr-ink)}
.gr-home .he-custom-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;margin-bottom:32px}
.gr-home .he-custom-heading h2{max-width:500px}
.gr-home .he-custom-heading p{margin:0}
.gr-home .he-custom-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.gr-home .he-custom-points article{min-width:0;border:1px solid #dce6ed;border-radius:9px;overflow:hidden;background:#fff}
.gr-home .he-point-visual{height:126px;background:#e9f3f8;display:flex;justify-content:center;align-items:center}
.gr-home .he-point-visual svg{display:block;width:100%;max-width:280px;height:100%}
.gr-home .he-point-copy{padding:22px 24px 24px}
.gr-home .he-point-copy h3{font-size:22px;line-height:1.3;margin:0 0 11px}
.gr-home .he-point-copy p{font-size:16px!important;line-height:1.65!important;margin:0}
.gr-home .he-custom-shell{padding-bottom:26px}
.gr-home .he-custom-tool-wrap{padding-bottom:72px}
.gr-home .he-layout-tool{border-top:1px solid #dce6ed;margin:0}
.gr-home .he-custom-tool>summary{display:flex;align-items:center;justify-content:space-between;gap:40px;cursor:pointer;list-style:none;padding:20px 0 0;min-height:64px;font-size:15px;color:var(--gr-muted)}
.gr-home .he-custom-tool>summary::-webkit-details-marker{display:none}
.gr-home .he-summary-description{max-width:760px;line-height:1.75}
.gr-home .he-tool-trigger{display:inline-flex;align-items:center;gap:22px;flex-shrink:0;min-height:44px;font-size:15px;font-weight:600;line-height:1.5;color:var(--gr-blue-action);border-bottom:1px solid #a8c1d3}
.gr-home .he-tool-plus{font-size:23px;font-weight:400;transition:transform .15s}
.gr-home .he-custom-tool[open] .he-tool-plus{transform:rotate(45deg)}
.gr-home .he-custom-tool[open]>summary{margin-bottom:26px}
.gr-home .he-custom-tool>summary:focus-visible{outline:2px solid var(--gr-blue-action);outline-offset:4px}
.gr-home .he-tool-hint{font-size:15px!important;line-height:1.75!important;color:var(--gr-muted);margin:0 0 26px;max-width:760px}
.gr-home .he-layout-tool .gr-mix{border-top:1px solid #dce6ed;padding:28px 0 0;gap:40px}
.gr-home .he-layout-tool .gr-mix h2{font-size:30px;line-height:1.25}
.gr-home .he-layout-tool .gr-mix-next>p span{display:none}

/* One manufacturing photograph replaces the two overlapping trust chapters. */
.gr-home .he-maker{background:#f2f7fb;scroll-margin-top:24px}
.gr-home .he-maker-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:64px}
.gr-home .he-maker-photo{margin:0;min-width:0}
.gr-home .he-maker-photo img{display:block;width:100%;height:490px;object-fit:cover;object-position:61% center;border-radius:9px}
.gr-home .he-maker-photo figcaption{margin-top:13px;color:var(--gr-muted);font-size:12px;line-height:1.6}
.gr-home .he-maker-copy .he-maker-intro{margin:20px 0 24px}
.gr-home .he-maker-list article{border-top:1px solid #cbdce8;padding-top:19px;margin-top:17px}
.gr-home .he-maker-list h3{font-size:21px;line-height:1.3;margin:0 0 8px}
.gr-home .he-maker-list p{font-size:15px!important;line-height:1.7!important;margin:0 0 5px}
.gr-home .he-maker-list a{font-size:14px;min-height:36px;border:0}
.gr-home .gr-photo-invitation-wrap{padding-top:64px}

@media(max-width:1000px){.gr-home .he-custom-heading,.gr-home .he-maker-grid{gap:36px}.gr-home .he-point-copy{padding:20px}.gr-home .he-maker-photo img{height:510px}}
@media(max-width:700px){
 .gr-home .he-section{padding-block:42px}
 .gr-home #locations{padding-block:42px}
 .gr-home .he-section h2{font-size:32px}
 .gr-home .he-project-heading{display:block;margin-bottom:26px}
 .gr-home .he-project-heading>a{margin-top:14px}
 .gr-home .he-project-grid{grid-template-columns:1fr;gap:34px}
 .gr-home .he-case-copy{padding-top:19px}
 .gr-home .he-case h3{font-size:26px}
 .gr-home .he-custom-heading{grid-template-columns:1fr;gap:19px;margin-bottom:26px}
 .gr-home .he-custom-points{grid-template-columns:1fr;gap:16px}
 .gr-home .he-custom-points article{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:stretch}
 .gr-home .he-point-visual{height:100%;min-height:145px}
 .gr-home .he-point-copy{padding:20px 18px}
 .gr-home .he-point-copy h3{font-size:20px;margin-bottom:9px}
 .gr-home .he-point-copy p{font-size:16px!important}
 .gr-home .he-custom-shell{padding-bottom:24px}
 .gr-home .he-custom-tool-wrap{padding-bottom:42px}
 .gr-home .he-custom-tool>summary{display:block;padding-top:18px}
 .gr-home .he-summary-description{display:block;font-size:16px}
 .gr-home .he-tool-trigger{margin-top:14px}
 .gr-home .he-layout-tool .gr-mix{gap:26px;padding-top:24px}
 .gr-home .he-layout-tool .gr-mix h2{font-size:27px}
 .gr-home .he-maker-grid{grid-template-columns:1fr;gap:28px}
 .gr-home .he-maker-photo{order:2}
 .gr-home .he-maker-photo img{height:auto;aspect-ratio:1.5}
 .gr-home .he-maker-copy .he-maker-intro{margin:19px 0 23px}
 .gr-home .gr-photo-invitation-wrap{padding-top:42px}
}
@media(max-width:360px){.gr-home .he-custom-points article{grid-template-columns:80px minmax(0,1fr)}.gr-home .he-point-copy{padding:18px 15px}}
@media(prefers-reduced-motion:reduce){.gr-home .he-tool-plus{transition:none}}

/* Preserve the sewing scene instead of a narrow crop of a panoramic frame. */
.gr-home .he-maker-photo img{height:auto;aspect-ratio:4/3;object-fit:cover;object-position:48% center}

/* Mobile project previews: a compact heading and one coherent photo/story card. */
@media(max-width:700px){
 .gr-home .he-projects .he-section{padding-block:32px 40px}
 .gr-home .he-projects .he-project-heading{margin-bottom:20px}
 .gr-home .he-projects .he-project-heading h2{font-size:26px;line-height:1.2;letter-spacing:-.025em;max-width:100%}
 .gr-home .he-projects .he-project-heading>a{margin-top:8px;font-size:14px;min-height:44px;gap:12px;border-bottom:0}
 .gr-home .he-projects .he-project-grid{gap:20px}
 .gr-home .he-projects .he-case{background:#fff;border:1px solid #dce6ed;border-radius:12px;overflow:hidden}
 .gr-home .he-projects .he-case-photo{border-radius:0}
 .gr-home .he-projects .he-case-photo img{aspect-ratio:16/9}
 .gr-home .he-projects .he-case-copy{padding:18px 20px 14px}
 .gr-home .he-projects .he-case-copy .he-label{font-size:10px!important;line-height:1.5!important;letter-spacing:.07em;margin:0 0 7px}
 .gr-home .he-projects .he-case h3{font-size:23px;line-height:1.25;letter-spacing:-.025em;margin:0 0 10px}
 .gr-home .he-projects .he-case-copy>p:not(.he-label){font-size:15px!important;line-height:1.6!important;margin:0 0 12px}
 .gr-home .he-projects .he-case .he-text-link{display:flex;justify-content:space-between;gap:16px;margin:0;min-height:46px;padding-top:10px;border-top:1px solid #e2ebf1;border-bottom:0;font-size:14px}
 .gr-home .he-projects .he-case .he-text-link span{font-size:21px;line-height:1}
}

/* Mobile custom brief: keep the illustration beside the title, not the paragraph. */
@media(max-width:700px){
 .gr-home .he-custom .he-custom-shell{padding-block:32px 20px}
 .gr-home .he-custom .he-custom-heading{gap:14px;margin-bottom:22px}
 .gr-home .he-custom .he-custom-heading h2{font-size:26px;line-height:1.2;letter-spacing:-.025em}
 .gr-home .he-custom .he-custom-heading>p{font-size:15px!important;line-height:1.65!important}
 .gr-home .he-custom .he-custom-points{gap:12px}
 .gr-home .he-custom .he-custom-points article{grid-template-columns:64px minmax(0,1fr);gap:12px 14px;align-items:center;padding:16px;border-radius:12px}
 .gr-home .he-custom .he-point-visual{width:64px;height:52px;min-height:0;border-radius:8px;background:#e9f3f8}
 .gr-home .he-custom .he-point-visual svg{width:100%;height:100%;max-width:none}
 .gr-home .he-custom .he-point-copy{display:contents}
 .gr-home .he-custom .he-point-copy h3{font-size:19px;line-height:1.3;letter-spacing:-.02em;margin:0}
 .gr-home .he-custom .he-point-copy p{grid-column:1/-1;font-size:15px!important;line-height:1.6!important;margin:0}
 .gr-home .he-custom .he-custom-tool-wrap{padding-bottom:36px}
 .gr-home .he-custom .he-custom-tool>summary{padding-top:16px}
 .gr-home .he-custom .he-summary-description{font-size:14px;line-height:1.6}
 .gr-home .he-custom .he-tool-trigger{margin-top:8px;font-size:14px;min-height:44px}
}

/* Mobile maker story: introduce the people visually, then offer three clear next steps. */
@media(max-width:700px){
 .gr-home .he-maker .he-maker-grid{padding-block:32px 36px;gap:0}
 .gr-home .he-maker .he-maker-copy{display:contents}
 .gr-home .he-maker #gr-confidence-title{order:0;font-size:26px;line-height:1.2;margin:0 0 20px}
 .gr-home .he-maker .he-maker-photo{order:1;position:relative;overflow:hidden;border-radius:12px;margin:0 0 20px}
 .gr-home .he-maker .he-maker-photo img{aspect-ratio:3/2;height:auto;border-radius:0;object-position:48% center}
 .gr-home .he-maker .he-maker-photo figcaption{position:absolute;inset-inline:0;bottom:0;margin:0;padding:28px 16px 12px;background:linear-gradient(transparent,rgba(7,30,47,.8));color:#fff;font-size:11px;line-height:1.5}
 .gr-home .he-maker .he-maker-intro{order:2;font-size:15px!important;line-height:1.65!important;margin:0 0 22px}
 .gr-home .he-maker .he-maker-list{order:3;display:grid;gap:12px;counter-reset:maker-step}
 .gr-home .he-maker .he-maker-list article{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px 12px;margin:0;padding:18px;background:#fff;border:1px solid #dce6ed;border-radius:12px;counter-increment:maker-step}
 .gr-home .he-maker .he-maker-list article::before{content:counter(maker-step,decimal-leading-zero);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf5fa;color:#19547b;font-size:11px;font-weight:600}
 .gr-home .he-maker .he-maker-list h3{font-size:18px;line-height:1.3;margin:0}
 .gr-home .he-maker .he-maker-list p{grid-column:1/-1;font-size:15px!important;line-height:1.6!important;margin:0}
 .gr-home .he-maker .he-maker-list a{grid-column:1/-1;display:flex;justify-content:space-between;gap:14px;min-height:44px;margin:0;padding-top:8px;border-top:1px solid #e2ebf1;font-size:14px;line-height:1.45}
 .gr-home .he-maker .he-maker-list a span{font-size:21px;line-height:1}
 .gr-home .he-maker .he-maker-list article:first-child::before{background:#ffda20;color:#0d2e4d}
}
