:root {
  --wr-ink: #10213b;
  --wr-deep: #0b3d34;
  --wr-green: #0d7f70;
  --wr-mint: #e6f3ef;
  --wr-warm: #faf6ed;
  --wr-line: #d9e2de;
  --wr-muted: #5b6864;
}

.work-records-page { margin: 0; background: #fff; color: var(--wr-ink); }
.work-records-main { overflow: clip; }
.work-records-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); min-height: 640px; background: var(--wr-deep); }
.work-records-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 88px clamp(26px, 6vw, 96px); color: #fff; }
.work-records-hero-copy > p, .work-record-list > header > p, .before-after-list > header > p, .photo-record-list > header > p, .work-records-disclosure > div > p, .work-records-cta p { margin: 0 0 18px; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.work-records-hero-copy > p, .work-records-cta p { color: #f4c957; }
.work-record-list > header > p, .before-after-list > header > p, .photo-record-list > header > p, .work-records-disclosure > div > p { color: #0b6659; }
.work-records-page .work-records-hero h1 { margin: 0; max-width: 820px; color: #fff; font-size: clamp(42px, 5vw, 68px); line-height: 1.07; letter-spacing: -.045em; word-break: keep-all; }
.work-records-hero-copy > span { max-width: 720px; margin-top: 26px; color: #dcebe6; font-size: 17px; line-height: 1.8; }
.work-records-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.work-records-hero-actions a { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; color: var(--wr-deep); background: #fff; border-radius: 999px; font-weight: 850; text-decoration: none; }
.work-records-hero-actions a:last-child { color: #fff; background: var(--wr-green); }
.work-records-hero > figure { position: relative; min-height: 620px; margin: 0; background: #172e29; }
.work-records-hero > figure picture, .work-records-hero > figure img { display: block; width: 100%; height: 100%; }
.work-records-hero > figure img { object-fit: cover; }
.work-records-hero > figure figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 12px 16px; color: #fff; background: rgb(4 28 23 / 82%); border: 1px solid rgb(255 255 255 / 24%); border-radius: 12px; font-size: 12px; line-height: 1.5; backdrop-filter: blur(10px); }

.work-records-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; margin: 24px auto; background: #fff; border: 1px solid var(--wr-line); box-shadow: 0 12px 36px rgb(19 55 47 / 8%); overflow: hidden; }
.work-records-summary a { padding: 26px 16px; text-align: center; border-right: 1px solid var(--wr-line); text-decoration: none; }
.work-records-summary a:last-child { border-right: 0; }
.work-records-summary a:hover { background: var(--wr-mint); }
.work-records-summary strong { display: block; color: var(--wr-green); font-size: clamp(16px, 1.8vw, 22px); line-height: 1.35; }
.work-records-summary span { display: block; margin-top: 7px; color: var(--wr-muted); font-size: 13px; font-weight: 750; }
.work-records-jump-links a:focus-visible, .work-record-expand summary:focus-visible { outline: 3px solid #bd8a12; outline-offset: -4px; }
.before-after-list, .photo-record-list, .service-visual-examples, .work-record-list { scroll-margin-top: 112px; }

.service-case-guide { max-width: 1180px; margin: 0 auto; padding: 88px 24px 0; }
.service-case-guide > header { margin-bottom: 28px; }
.service-case-guide > header > p { margin: 0 0 12px; color: var(--wr-green); font-size: 13px; font-weight: 850; }
.service-case-guide h2 { margin: 0; color: var(--wr-ink); font-size: clamp(30px, 3.5vw, 44px); line-height: 1.25; letter-spacing: -.035em; }
.service-case-guide > header > span { display: block; max-width: 760px; margin-top: 16px; color: var(--wr-muted); font-size: 14px; line-height: 1.7; }
.service-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-case-card { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--wr-line); border-radius: 24px; background: #f5f9f7; scroll-margin-top: 130px; }
.service-case-card h3 { margin: 0; color: var(--wr-ink); font-size: 25px; line-height: 1.3; }
.service-case-kind { margin: 10px 0 22px; color: var(--wr-muted); font-size: 12px; }
.service-case-records { display: grid; gap: 22px; margin: 0 0 20px; padding: 0; list-style: none; }
.service-case-records > li { display: grid; gap: 7px; padding-top: 20px; border-top: 1px solid var(--wr-line); }
.service-case-records > li > a { color: var(--wr-deep); font-size: 16px; line-height: 1.5; font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.service-case-records > li > span { color: var(--wr-muted); font-size: 12px; line-height: 1.6; }
.service-case-records > li > p { margin: 0; color: #334b43; font-size: 13px; line-height: 1.65; }
.service-case-photos { display: grid; gap: 8px; margin-bottom: 24px; font-size: 12px; line-height: 1.6; }
.service-case-photos strong { color: var(--wr-muted); font-size: 11px; }
.service-case-photos a { color: var(--wr-green); text-underline-offset: 3px; }
.service-case-card > .work-record-related-link { align-self: flex-start; margin-top: auto; }
.service-case-card > h3,
.service-case-card > .service-case-kind,
.service-case-card > .service-case-records,
.service-case-card > .service-case-photos,
.service-case-card > .work-record-related-link { margin-right: 6px; margin-left: 6px; }
.work-record-card, .before-after-card { scroll-margin-top: 130px; }
.work-thumbnail { position: relative; margin: 0 0 24px; overflow: hidden; background: #dbe7e2; border-radius: 18px; }
.work-thumbnail picture, .work-thumbnail img { display: block; width: 100%; height: 100%; }
.work-thumbnail img { aspect-ratio: 3 / 2; object-fit: cover; }
.work-thumbnail figcaption { position: absolute; right: 10px; bottom: 10px; left: 10px; padding: 9px 11px; color: #fff; background: rgb(5 29 24 / 84%); border-radius: 12px; font-size: 10px; font-weight: 850; line-height: 1.45; backdrop-filter: blur(8px); }
.service-case-thumbnail { margin-bottom: 22px; }
.work-record-thumbnail { margin: 0; border-radius: 24px 24px 18px 18px; }
.work-record-thumbnail img { aspect-ratio: 16 / 10; }

.work-records-disclosure { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 48px; max-width: 1180px; margin: 0 auto; padding: 110px 24px 86px; }
.work-records-disclosure h2, .work-record-list > header h2, .before-after-list > header h2, .photo-record-list > header h2, .work-records-cta h2 { margin: 0; color: var(--wr-ink); font-size: clamp(34px, 4.5vw, 58px); line-height: 1.12; letter-spacing: -.035em; }
.work-records-disclosure > p { margin: 0; padding: 28px 30px; color: #33443f; background: var(--wr-warm); border-left: 4px solid #d2a632; font-size: 16px; line-height: 1.85; }
.work-record-data-link { display: inline-block; margin-top: 14px; color: #075f53; font-weight: 900; text-underline-offset: 3px; }

.community-activity-record { display: grid; grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr); max-width: 1180px; margin: 0 auto 104px; overflow: hidden; color: #fff; background: var(--wr-deep); box-shadow: 0 18px 50px rgb(19 55 47 / 14%); }
.community-activity-record figure { position: relative; min-height: 560px; margin: 0; overflow: hidden; background: #1a312d; }
.community-activity-record picture, .community-activity-record img { display: block; width: 100%; height: 100%; }
.community-activity-record img { object-fit: cover; }
.community-activity-record figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 10px 12px; color: #fff; background: rgb(5 29 24 / 86%); border-radius: 9px; font-size: 11px; }
.community-activity-record > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 68px); }
.community-activity-record > div > p:first-child { margin: 0 0 12px; color: #f4c957; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.community-activity-record > div > span { color: #bfe0d7; font-size: 13px; font-weight: 800; line-height: 1.6; }
.community-activity-record h2 { margin: 22px 0 18px; color: #fff; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.04em; }
.community-activity-record > div > p:not(:first-child) { margin: 0; color: #dcebe6; font-size: 15px; line-height: 1.8; }
.community-activity-record a { display: inline-flex; width: fit-content; min-height: 48px; align-items: center; margin-top: 28px; padding: 0 22px; color: var(--wr-deep); background: #fff; border-radius: 999px; font-weight: 900; text-decoration: none; }

.work-record-list { padding: 96px clamp(20px, 4vw, 58px) 120px; background: #f3f7f5; }
.work-record-list > header { max-width: 1180px; margin: 0 auto 46px; }
.work-record-list > header > span { display: block; max-width: 760px; margin-top: 18px; color: var(--wr-muted); line-height: 1.7; }
.work-record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin: 0 auto; }
.work-record-card { min-width: 0; background: #fff; border: 1px solid var(--wr-line); box-shadow: 0 12px 32px rgb(16 49 41 / 6%); }
.work-record-copy { padding: 28px; overflow-wrap: anywhere; }
.work-record-kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.work-record-kicker span { display: inline-grid; width: 32px; height: 32px; place-items: center; color: #fff; background: var(--wr-green); border-radius: 50%; font-size: 11px; font-weight: 900; }
.work-record-kicker strong { color: var(--wr-green); font-size: 12px; }
.work-record-kicker time { margin-left: auto; color: var(--wr-muted); font-size: 11px; }
.work-record-card h2 { margin: 18px 0 22px; color: var(--wr-ink); font-size: clamp(22px, 2vw, 30px); line-height: 1.25; }
.work-record-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--wr-line); border-left: 1px solid var(--wr-line); }
.work-record-facts div { padding: 12px; border-right: 1px solid var(--wr-line); border-bottom: 1px solid var(--wr-line); }
.work-record-facts dt { color: #4f5c58; font-size: 10px; font-weight: 800; }
.work-record-facts dd { margin: 5px 0 0; color: #243630; font-size: 13px; font-weight: 750; line-height: 1.45; }
.work-record-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.work-record-details h3 { margin: 0 0 9px; color: var(--wr-ink); font-size: 13px; }
.work-record-details ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.work-record-details li { padding: 5px 8px; color: #37554c; background: var(--wr-mint); border-radius: 5px; font-size: 10px; line-height: 1.35; }
.work-record-expand { margin-top: 22px; border-top: 1px solid var(--wr-line); }
.work-record-expand summary { padding: 16px 0 4px; color: var(--wr-green); cursor: pointer; font-size: 13px; font-weight: 850; }
.work-record-expand[open] summary { padding-bottom: 0; }
.work-record-caption { margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed var(--wr-line); color: var(--wr-muted); font-size: 12px; line-height: 1.65; }
.work-record-caption strong { display: block; margin-bottom: 3px; color: var(--wr-green); }
.work-record-related-link { display: inline-flex; align-items: center; min-height: 42px; margin-top: 16px; padding: 10px 14px; border: 1px solid rgb(7 95 83 / 24%); border-radius: 999px; color: var(--wr-green); font-size: 12px; font-weight: 900; text-decoration: none; }
.work-record-related-link::after { content: "→"; margin-left: 8px; }
.work-record-related-link:hover { border-color: var(--wr-green); background: rgb(7 95 83 / 6%); }

.before-after-list { padding: 72px clamp(20px, 4vw, 58px) 96px; background: var(--wr-warm); }
.before-after-list > header { max-width: 1180px; margin: 0 auto 48px; }
.before-after-list > header > span { display: block; max-width: 900px; margin-top: 20px; color: #40514b; font-size: 16px; line-height: 1.85; }
.work-record-review { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.work-record-review span { padding: 7px 10px; color: #275046; background: #e2eee9; border-radius: 999px; font-size: 10px; font-weight: 850; }
.before-after-citation { max-width: 1180px; margin: 40px auto 0; padding: 24px 26px; color: #2f433c; background: #fff; border: 1px solid #ded8c9; border-left: 4px solid var(--wr-green); font-size: 14px; line-height: 1.9; }
.before-after-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin: 0 auto; }
.before-after-card { overflow: hidden; background: #fff; border: 1px solid #ded8c9; box-shadow: 0 14px 34px rgb(48 43 30 / 8%); }
.before-after-media { margin: 0; overflow: hidden; background: #e6e1d5; }
.before-after-media img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
.before-after-media figcaption { padding: 12px 16px; color: #fff; background: var(--wr-deep); font-size: 11px; line-height: 1.5; }
.before-after-copy { padding: 24px 22px 26px; }
.before-after-kicker { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.before-after-kicker span { display: inline-grid; width: 32px; height: 32px; place-items: center; color: #fff; background: var(--wr-green); border-radius: 50%; font-size: 10px; font-weight: 900; }
.before-after-kicker strong { color: var(--wr-green); font-size: 12px; }
.before-after-kicker em { margin-left: auto; color: #6d571e; font-size: 10px; font-style: normal; font-weight: 900; }
.before-after-card h3 { margin: 17px 0 20px; color: var(--wr-ink); font-size: 23px; line-height: 1.35; }
.before-after-result { display: grid; gap: 10px; margin: 0; }
.before-after-result div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 11px; padding: 12px; background: #f5f8f6; border-left: 3px solid #9ebbb3; }
.before-after-result div:last-child { background: #edf7f3; border-left-color: var(--wr-green); }
.before-after-result dt { color: #41534c; font-size: 10px; font-weight: 900; }
.before-after-result dd { margin: 0; color: #263a33; font-size: 12px; line-height: 1.6; }
.before-after-scope { margin-top: 18px; }
.before-after-scope > strong { display: block; margin-bottom: 9px; color: #4f5c58; font-size: 11px; }
.before-after-scope ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.before-after-scope li { padding: 5px 8px; color: #37554c; background: var(--wr-mint); border-radius: 5px; font-size: 10px; line-height: 1.35; }
.before-after-copy > p { margin: 19px 0 0; padding-top: 15px; color: #596761; border-top: 1px dashed var(--wr-line); font-size: 11px; line-height: 1.6; }
.before-after-copy > p strong { color: var(--wr-green); }

.photo-record-list { padding: 104px clamp(20px, 4vw, 58px) 120px; background: #fff; }
.photo-record-list > header { max-width: 1180px; margin: 0 auto 46px; }
.photo-record-list > header > span { display: block; max-width: 820px; margin-top: 18px; color: var(--wr-muted); line-height: 1.75; }
.photo-record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin: 0 auto; }
.photo-record-card { overflow: hidden; background: #f7faf8; border: 1px solid var(--wr-line); box-shadow: 0 12px 30px rgb(16 49 41 / 6%); }
.photo-record-media { position: relative; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; background: #d8e3df; }
.photo-record-media picture, .photo-record-media img { display: block; width: 100%; height: 100%; }
.photo-record-media img { object-fit: cover; }
.photo-record-media figcaption { position: absolute; right: 10px; bottom: 10px; left: 10px; padding: 9px 10px; color: #fff; background: rgb(7 36 30 / 88%); border-radius: 8px; font-size: 10px; line-height: 1.45; }
.photo-record-copy { padding: 22px 20px 24px; }
.photo-record-kicker { display: flex; gap: 9px; align-items: center; }
.photo-record-kicker span { display: inline-grid; width: 30px; height: 30px; place-items: center; color: #fff; background: var(--wr-green); border-radius: 50%; font-size: 10px; font-weight: 900; }
.photo-record-kicker strong { color: var(--wr-green); font-size: 12px; }
.photo-record-card h3 { margin: 16px 0 18px; color: var(--wr-ink); font-size: 21px; line-height: 1.35; }
.photo-record-copy > p { margin: 0 0 9px; color: #4f5c58; font-size: 11px; font-weight: 850; }
.photo-record-copy > ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.photo-record-copy > ul li { padding: 5px 8px; color: #37554c; background: var(--wr-mint); border-radius: 5px; font-size: 10px; line-height: 1.35; }
.photo-record-copy dl { display: grid; gap: 8px; margin: 20px 0 0; padding-top: 17px; border-top: 1px dashed var(--wr-line); }
.photo-record-copy dl div { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 8px; }
.photo-record-copy dt { color: #4f5c58; font-size: 10px; font-weight: 850; }
.photo-record-copy dd { margin: 0; color: #263a33; font-size: 11px; line-height: 1.5; }

.service-visual-examples { padding: 96px clamp(20px, 4vw, 58px); background: #edf4f0; }
.service-visual-examples > header { max-width: 1180px; margin: 0 auto 40px; }
.service-visual-examples > header > p { margin: 0 0 14px; color: var(--wr-green); font-size: 13px; font-weight: 850; }
.service-visual-examples h2 { margin: 0; color: var(--wr-ink); font-size: clamp(30px, 4vw, 50px); line-height: 1.2; letter-spacing: -.035em; word-break: keep-all; }
.service-visual-examples > header > span { display: block; margin-top: 18px; color: #40514b; font-size: 16px; line-height: 1.75; }
.service-visual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1280px; margin: 0 auto; }
.service-visual-card { overflow: hidden; background: #fff; border: 1px solid var(--wr-line); border-radius: 24px; }
.service-visual-card figure { margin: 0; background: #dce7e1; }
.service-visual-card picture, .service-visual-card img { display: block; width: 100%; }
.service-visual-card img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.service-visual-card figcaption { padding: 12px 24px; color: #385449; background: #e5eee8; font-size: 12px; font-weight: 800; }
.service-visual-copy { padding: 24px; }
.service-visual-copy h3 { margin: 0 0 12px; color: var(--wr-ink); font-size: 24px; line-height: 1.35; }
.service-visual-copy p { margin: 0; color: var(--wr-muted); font-size: 15px; line-height: 1.75; }

.work-records-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; padding: 92px clamp(24px, 7vw, 110px); color: #fff; background: var(--wr-deep); }
.work-records-cta h2 { color: #fff; }
.work-records-cta span { display: block; max-width: 760px; margin-top: 18px; color: #dcebe6; line-height: 1.8; }
.work-records-cta > div:last-child { display: grid; gap: 10px; min-width: 260px; }
.work-records-cta a { display: flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 20px; color: var(--wr-deep); background: #fff; border-radius: 999px; font-weight: 850; text-decoration: none; }
.work-records-cta a:last-child { color: #fff; background: var(--wr-green); }
.work-records-page .site-footer > p { color: #b8c0d8; }

/* Softer work-records surface: keep evidence labels, reduce rigid square edges. */
.work-records-summary,
.work-records-disclosure > p,
.community-activity-record,
.work-record-card,
.before-after-card,
.photo-record-card,
.before-after-citation,
.work-records-cta,
.work-records-hero > figure,
.work-records-hero > figure img {
  border-radius: 24px;
}

.before-after-media,
.before-after-media img,
.photo-record-media,
.photo-record-media img,
.community-activity-record figure,
.community-activity-record img {
  border-radius: 20px;
}

.work-records-hero-actions a,
.community-activity-record a,
.work-record-related-link,
.work-records-cta a {
  border-radius: 16px;
}

.work-record-details li,
.before-after-scope li,
.photo-record-copy > ul li,
.before-after-result div,
.work-record-review span,
.before-after-media figcaption,
.photo-record-media figcaption,
.community-activity-record figcaption {
  border-radius: 14px;
}

.work-record-card,
.before-after-card,
.photo-record-card,
.community-activity-record,
.work-records-hero > figure,
.before-after-media,
.photo-record-media {
  overflow: hidden;
}

.work-record-facts {
  overflow: hidden;
  border-radius: 16px;
}

@media (max-width: 1100px) {
  .service-case-grid { grid-template-columns: 1fr; }
  .service-case-records { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .before-after-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .service-case-guide { padding: 64px 16px 0; }
  .service-case-card { padding: 16px; }
  .service-case-records { grid-template-columns: 1fr; gap: 22px; }
  .work-records-hero { grid-template-columns: 1fr; }
  .work-records-hero-copy { padding: 42px 22px 48px; }
  .work-records-hero > figure { order: -1; height: 360px; min-height: 0; border-radius: 0; }
  .work-records-hero > figure img { object-position: center 62%; border-radius: 0; }
  .work-records-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px; }
  .work-records-summary a { padding: 22px 12px; }
  .work-records-summary a:nth-child(2) { border-right: 0; }
  .work-records-summary a:nth-child(-n + 2) { border-bottom: 1px solid var(--wr-line); }
  .work-records-disclosure { grid-template-columns: 1fr; gap: 24px; padding: 74px 20px 62px; }
  .community-activity-record { grid-template-columns: 1fr; margin: 0 16px 76px; }
  .community-activity-record figure { min-height: 460px; }
  .community-activity-record > div { padding: 36px 24px 42px; }
  .work-record-list { padding: 68px 16px 82px; }
  .work-record-grid { grid-template-columns: 1fr; }
  .work-record-copy { padding: 24px 20px 28px; }
  .work-record-details { grid-template-columns: 1fr; }
  .before-after-list { padding: 78px 16px 90px; }
  .before-after-grid { grid-template-columns: 1fr; }
  .photo-record-list { padding: 76px 16px 86px; }
  .photo-record-grid { grid-template-columns: 1fr; }
  .service-visual-examples { padding: 68px 16px 76px; }
  .service-visual-grid { grid-template-columns: 1fr; gap: 24px; }
  .work-records-cta { grid-template-columns: 1fr; padding: 72px 22px; }
  .work-records-cta > div:last-child { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .work-records-page * { scroll-behavior: auto !important; }
}
