/* Channel Letters shares the Services / Works page rhythm. */
body .letter-page{--letter-navy:#102749;--letter-gold:#ebb53e;--letter-width:min(1240px,calc(100% - 64px));color:#173452;background:#f5f8fa}
body .letter-page .letter-hero--html[data-section]{aspect-ratio:auto;height:auto!important;min-height:560px;margin:0;background:var(--letter-navy)}
body .letter-page .letter-hero__visual{inset:0 0 0 auto;width:67%;height:100%;z-index:-2}
body .letter-page .letter-hero__visual img{height:100%;object-fit:cover;opacity:.88}
body .letter-page .letter-hero__panel{clip-path:none;background:linear-gradient(90deg,#102749 0%,#102749 32%,#102749ec 42%,#10274940 65%,#10274910 100%)}
body .letter-page .letter-hero__content{width:var(--letter-width);margin:0 auto;padding:34px 0 72px}
body .letter-page .letter-hero__breadcrumb{font-size:12px;line-height:1.6;letter-spacing:.04em;color:#e4eaf2}
body .letter-page .letter-hero__eyebrow{font-size:15px;font-weight:700;letter-spacing:.16em;line-height:1.5;margin:65px 0 0;color:var(--letter-gold)}
body .letter-page .letter-hero--html h1{font-size:clamp(44px,4.6vw,64px);font-weight:600;letter-spacing:.08em;line-height:1.35;margin:12px 0 22px;white-space:normal}
body .letter-page .letter-hero--html h1:after{content:"";display:block;width:48px;height:3px;background:var(--letter-gold);margin-top:22px}
body .letter-page .letter-hero__description{font-size:clamp(16px,1.35vw,19px);line-height:1.95;letter-spacing:.025em;max-width:49%;margin:0;color:#edf2f8}
body .letter-page .letter-overview--html[data-section]{width:var(--letter-width);grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);gap:40px;margin:0 auto;padding:56px 0 60px;align-items:center}
body .letter-page .letter-overview__photo{border-radius:16px}
body .letter-page .letter-overview__content{padding:0}
body .letter-page .letter-overview--html h2{font-size:clamp(26px,2.7vw,36px);font-weight:700;line-height:1.5;letter-spacing:.04em}
body .letter-page .letter-overview--html h2:after{content:"";display:block;width:44px;height:3px;background:var(--letter-gold);margin-top:16px}
body .letter-page .letter-overview__description{font-size:15px;line-height:1.95;color:#526979;margin:22px 0 24px}
body .letter-page .letter-overview__break{display:none}
body .letter-page .letter-overview--html .letter-overview__features{gap:10px;padding:0;border:0;border-radius:0;grid-template-columns:repeat(3,minmax(0,1fr))}
body .letter-page .letter-overview--html .letter-overview__features li{flex-direction:column;align-items:center;gap:12px;padding:18px 10px;border:1px solid #e0e7ed;border-top:2px solid var(--letter-gold);border-radius:12px;background:#fff;text-align:center}
body .letter-page .letter-overview__features img{flex:none;width:44px;height:48px}
body .letter-page .letter-overview--html h3{font-size:15px;font-weight:600;white-space:normal;margin:0 0 8px;line-height:1.6}
body .letter-page .letter-overview--html .letter-overview__features p{font-size:12px;line-height:1.8;white-space:normal;color:#607586}
body .letter-page .letter-types[data-section]{width:var(--letter-width)!important;max-width:1240px!important;padding:0 0 60px;margin-inline:auto!important}
body .letter-page .letter-types nav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:18px;margin:0 0 16px;border:1px solid #e0e7ed;border-radius:16px;background:#fff;overflow:visible}
body .letter-page .letter-types nav a{height:auto;min-height:44px;min-width:0;padding:10px 24px;border:1px solid #dce5ed;border-radius:999px;background:#f6f8fb;color:#344f68;font-size:14px;font-weight:600;line-height:1.6}
body .letter-page .letter-types nav a.active{background:var(--letter-navy);border-color:var(--letter-navy);color:#fff;box-shadow:inset 0 -3px var(--letter-gold)}
body .letter-page .letter-group{padding:36px 0 12px;scroll-margin-top:110px}
body .letter-page .letter-group h2{display:block;text-align:center;font-size:clamp(26px,2.7vw,36px);font-weight:700;line-height:1.5;letter-spacing:.04em}
body .letter-page .letter-group h2:before{content:none}
body .letter-page .letter-group h2:after{content:"";display:block;width:44px;height:3px;background:var(--letter-gold);margin:16px auto 0}
body .letter-page .letter-type-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px;max-width:none}
body .letter-page .letter-type-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
body .letter-page .letter-type-grid .letter-type-card{min-height:0;border:1px solid #e0e7ed;border-radius:16px;padding:0 0 16px;background:#fff;box-shadow:0 4px 16px #15384e06;overflow:hidden}
body .letter-page .letter-type-grid .letter-type-card>img{width:100%;height:auto;aspect-ratio:280/155;object-fit:cover;border-radius:0}
body .letter-page .letter-type-grid .letter-type-card h3{font-size:20px;font-weight:600;line-height:1.6;margin:18px 20px 8px}
body .letter-page .letter-type-grid .letter-type-card p{font-size:14px;line-height:1.9;min-height:0;margin:0 20px 16px;color:#526979}
body .letter-page .letter-type-card__features{margin:0 20px 16px;gap:6px}
body .letter-page .letter-type-card__features li{font-size:12px;line-height:1.6;padding:3px 9px;border:0;border-radius:5px;background:#fbf4e4;color:#855e12;white-space:normal}
body .letter-page .letter-type-card a.letter-type-card__detail{margin: auto 20px 0;padding:10px 0 0;min-height:44px;border-top:1px solid #e0e7ed;color:#173b60;font-size:14px;line-height:1.8;text-align:right}
body .letter-page .letter-consultation.letter-consultation--html[data-section]{width:var(--letter-width)!important;max-width:1240px!important;margin:0 auto 56px!important;padding:28px 32px!important;border-radius:16px!important;border-top:3px solid var(--letter-gold);background:var(--letter-navy)!important;gap:24px;grid-template-columns:76px minmax(0,1fr) 230px}
body .letter-page .letter-consultation__content{top:auto}
body .letter-page .letter-consultation__content h2{font-size:22px;font-weight:600}
body .letter-page .letter-consultation__content p{font-size:15px;line-height:1.9}
body .letter-page .letter-consultation__link{top:auto;font-size:18px;border:0;border-radius:10px;background:#fbf4e4}
body .letter-page a:focus-visible{outline:3px solid #d7a22c;outline-offset:4px}
@media(max-width:1100px){
 body .letter-page .letter-overview--html[data-section]{grid-template-columns:1fr 1.5fr;gap:26px}
 body .letter-page .letter-overview--html .letter-overview__features{grid-template-columns:1fr}
 body .letter-page .letter-overview--html .letter-overview__features li{flex-direction:row;text-align:left;padding:12px 16px}
 body .letter-page .letter-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
 body .letter-page{--letter-width:calc(100% - 48px)}
 body .letter-page .letter-hero--html[data-section]{min-height:0;display:flex;overflow:hidden}
 body .letter-page .letter-hero__content{padding:26px 0 40px}
 body .letter-page .letter-hero__eyebrow{margin-top:22px;font-size:13px}
 body .letter-page .letter-hero--html h1{font-size:40px;margin:10px 0 20px}
 body .letter-page .letter-hero__description{max-width:100%;font-size:16px}
 body .letter-page .letter-hero__visual{position:relative;inset:auto;width:100%;height:clamp(210px,40vw,300px);aspect-ratio:auto}
 body .letter-page .letter-hero__visual img{height:100%;aspect-ratio:auto;opacity:1}
 body .letter-page .letter-overview--html[data-section]{grid-template-columns:1fr;padding:40px 0;gap:28px}
 body .letter-page .letter-overview__photo{width:100%;max-width:540px}
 body .letter-page .letter-types[data-section]{padding-bottom:40px}
 body .letter-page .letter-type-grid{gap:18px}
 body .letter-page .letter-type-grid .letter-type-card h3{font-size:18px;margin:14px 14px 8px}
 body .letter-page .letter-type-grid .letter-type-card p{margin-inline:14px}
 body .letter-page .letter-type-card__features{margin-inline:14px}
 body .letter-page .letter-consultation.letter-consultation--html[data-section]{grid-template-columns:1fr;padding:28px 24px!important;margin-bottom:40px!important;gap:20px;text-align:center}
}
@media(max-width:600px){
 body .letter-page{--letter-width:calc(100% - 36px)}
 body .letter-page .letter-hero--html h1{font-size:clamp(30px,7.5vw,36px)}
 body .letter-page .letter-types nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px}
 body .letter-page .letter-types nav a{font-size:12px;padding:10px 6px}
 body .letter-page .letter-type-grid{grid-template-columns:1fr}
 body .letter-page .letter-group{scroll-margin-top:100px}
}
body .letter-page .letter-overview--html .letter-overview__features li:last-child{border:1px solid #e0e7ed;border-top:2px solid var(--letter-gold)}

/* Contact and quick actions matched to Works. */
/* Homepage consultation section: readable contact links at every width. */
body .letter-page section.contact-section{height:auto;min-height:0;margin:0;padding:48px 24px;background:#f3f7fa;color:#12384e}
body .letter-page section.contact-section .contact-section__inner{display:block;width:100%;max-width:1120px;margin:auto;padding:0}
body .letter-page section.contact-section .contact-copy{width:100%;max-width:none;text-align:center}
body .letter-page section.contact-section .contact-copy h2{margin:0;font-size:clamp(25px,2.5vw,36px);font-weight:700;line-height:1.55;text-align:center;letter-spacing:.02em;color:#12384e}
body .letter-page section.contact-section .contact-copy h2:after{content:"";display:block;width:48px;height:3px;margin:18px auto;background:#ebb53e;border-radius:2px}
body .letter-page section.contact-section .contact-copy span{display:block;max-width:none;margin:18px 0 0;font-size:15px;line-height:1.9;text-align:center;color:#496474;white-space:normal}
body .letter-page section.contact-section .contact-section__actions{display:none}
body .letter-page section.contact-section .mobile-contact-actions{display:grid;grid-template-columns:1fr 1fr 1.2fr;align-items:stretch;gap:16px;margin:28px auto 0;width:100%;max-width:none}
body .letter-page section.contact-section .mobile-contact-actions a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:112px;padding:18px 14px;border:1px solid #cad8e1;border-radius:12px;background:#fff;color:#12384e;text-decoration:none;text-align:center;line-height:1.5;font-size:17px;font-weight:700;box-shadow:0 4px 12px #12384e06;transition:background .15s,border-color .15s}
body .letter-page section.contact-section .mobile-contact-actions .mobile-contact-line{background:#087d3a;color:#fff;border-color:#087d3a}
body .letter-page section.contact-section .mobile-contact-actions a:nth-child(2){background:#003d5d;color:#fff;border-color:#003d5d}
body .letter-page section.contact-section .mobile-contact-actions a:hover{border-color:#ebb53e;box-shadow:0 4px 16px #12384e15}
body .letter-page section.contact-section .mobile-contact-actions a:focus-visible{outline:3px solid #ebb53e;outline-offset:4px}
body .letter-page section.contact-section .mobile-contact-actions small{font-size:12px;line-height:1.6;font-weight:400;color:inherit}
body .letter-page section.contact-section .mobile-contact-actions strong{font-size:25px;letter-spacing:.02em;line-height:1.3}
@media(max-width:900px){body .letter-page section.contact-section .mobile-contact-actions{grid-template-columns:1fr 1fr;max-width:700px}body .letter-page section.contact-section .mobile-contact-actions a:last-child{grid-column:1/-1;min-height:104px}}
@media(max-width:600px){body .letter-page section.contact-section{padding:34px 18px}body .letter-page section.contact-section .contact-copy h2{font-size:25px;text-align:left}body .letter-page section.contact-section .contact-copy h2 br{display:none}body .letter-page section.contact-section .contact-copy h2:after{margin:16px 0}body .letter-page section.contact-section .contact-copy span{text-align:left;font-size:14px;margin-top:16px}body .letter-page section.contact-section .contact-copy span br{display:none}body .letter-page section.contact-section .mobile-contact-actions{gap:12px;margin-top:22px;grid-template-columns:1fr}body .letter-page section.contact-section .mobile-contact-actions a{font-size:16px;min-height:60px;padding:16px 10px}body .letter-page section.contact-section .mobile-contact-actions a:last-child{min-height:118px}}

body .letter-page section.contact-section .mobile-contact-actions a:last-child{background:#fff;color:#12384e;border:1px solid #cad8e1}
body .letter-page section.contact-section .mobile-contact-actions a:last-child small,body .letter-page section.contact-section .mobile-contact-actions a:last-child strong{color:#12384e}

/* Decorative icons reuse the original LINE and telephone artwork. */
body .letter-page section.contact-section .mobile-contact-actions a{position:relative}
body .letter-page section.contact-section .mobile-contact-actions a:before{content:"";display:block;flex:none;width:44px;height:44px;background:#fff;mask:url('/images/xd-home/prototype/contact-line-icon.svg') center/contain no-repeat;-webkit-mask:url('/images/xd-home/prototype/contact-line-icon.svg') center/contain no-repeat;margin-bottom:5px}
body .letter-page section.contact-section .mobile-contact-actions a:nth-child(2):before{mask-image:url('/images/xd-home/prototype/contact-form-icon.svg');-webkit-mask-image:url('/images/xd-home/prototype/contact-form-icon.svg')}
body .letter-page section.contact-section .mobile-contact-actions a:last-child:before{background:#12384e;width:30px;height:32px;mask-image:url('/images/xd-home/prototype/contact-phone-original.svg');-webkit-mask-image:url('/images/xd-home/prototype/contact-phone-original.svg')}
@media(max-width:600px){body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child){flex-direction:row;gap:14px}body .letter-page section.contact-section .mobile-contact-actions a:before{width:34px;height:34px;margin:0}body .letter-page section.contact-section .mobile-contact-actions a:last-child:before{width:28px;height:28px;margin-bottom:2px}}
/* Compact contact buttons with larger copy and balanced icons. */
body .letter-page section.contact-section{padding:36px 24px}
body .letter-page section.contact-section .contact-copy h2{font-size:clamp(26px,2.5vw,36px);line-height:1.45}
body .letter-page section.contact-section .contact-copy h2:after{margin:14px auto}
body .letter-page section.contact-section .contact-copy span{font-size:16px;margin-top:12px;line-height:1.75}
body .letter-page section.contact-section .mobile-contact-actions{margin-top:22px;gap:14px}
body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child){flex-direction:row;gap:14px;min-height:96px;padding:18px 12px;font-size:21px}
body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child):before{width:42px;height:42px;margin:0}
body .letter-page section.contact-section .mobile-contact-actions a:last-child{display:grid;grid-template-columns:34px auto;column-gap:12px;row-gap:3px;justify-content:center;min-height:96px;padding:12px}
body .letter-page section.contact-section .mobile-contact-actions a:last-child:before{grid-column:1;grid-row:1/4;width:32px;height:34px;margin:0}
body .letter-page section.contact-section .mobile-contact-actions a:last-child small,body .letter-page section.contact-section .mobile-contact-actions a:last-child strong{grid-column:2;text-align:left}
body .letter-page section.contact-section .mobile-contact-actions a:last-child strong{font-size:28px}
body .letter-page section.contact-section .mobile-contact-actions a:last-child small{font-size:12px}
body .letter-page section.contact-section .mobile-contact-actions a:last-child small br{display:none}
@media(max-width:600px){body .letter-page section.contact-section{padding:28px 18px}body .letter-page section.contact-section .contact-copy h2{font-size:26px}body .letter-page section.contact-section .contact-copy h2:after{margin:14px 0}body .letter-page section.contact-section .contact-copy span{font-size:15px}body .letter-page section.contact-section .mobile-contact-actions{gap:10px;margin-top:18px}body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child){font-size:20px;min-height:68px;padding:14px 10px}body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child):before{width:36px;height:36px}body .letter-page section.contact-section .mobile-contact-actions a:last-child{min-height:94px;padding:12px 8px;column-gap:10px;grid-template-columns:28px auto}body .letter-page section.contact-section .mobile-contact-actions a:last-child:before{width:28px;height:30px}body .letter-page section.contact-section .mobile-contact-actions a:last-child strong{font-size:26px}body .letter-page section.contact-section .mobile-contact-actions a:last-child small{font-size:11px}}

body .letter-page section.contact-section .mobile-contact-actions .mobile-contact-line:before{background-image:url("/images/xd-home/prototype/contact-line-icon.svg");background-color:transparent;background-position:center;background-size:contain;background-repeat:no-repeat;mask:none;-webkit-mask:none}
/* Match the original bright LINE green and fill the buttons with larger content. */
body .letter-page section.contact-section .mobile-contact-actions .mobile-contact-line{background:#0ebf07;border-color:#0ebf07;color:#fff}
body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child){font-size:25px;gap:16px;min-height:100px;padding:15px 10px}
body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child):before{width:56px;height:56px}
body .letter-page section.contact-section .mobile-contact-actions a:last-child{grid-template-columns:44px auto;column-gap:14px}
body .letter-page section.contact-section .mobile-contact-actions a:last-child:before{width:42px;height:46px}
body .letter-page section.contact-section .mobile-contact-actions a:last-child strong{font-size:32px}
body .letter-page section.contact-section .mobile-contact-actions a:last-child small{font-size:13px}
@media(min-width:901px) and (max-width:1150px){body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child){font-size:21px;gap:10px}body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child):before{width:46px;height:46px}body .letter-page section.contact-section .mobile-contact-actions a:last-child strong{font-size:27px}body .letter-page section.contact-section .mobile-contact-actions a:last-child{grid-template-columns:34px auto;column-gap:8px}body .letter-page section.contact-section .mobile-contact-actions a:last-child:before{width:32px;height:36px}body .letter-page section.contact-section .mobile-contact-actions a:last-child small{font-size:11px}}
@media(max-width:600px){body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child){font-size:23px;gap:14px;min-height:76px;padding:12px 8px}body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child):before{width:46px;height:46px}body .letter-page section.contact-section .mobile-contact-actions a:last-child{grid-template-columns:34px auto;column-gap:10px}body .letter-page section.contact-section .mobile-contact-actions a:last-child:before{width:34px;height:38px}body .letter-page section.contact-section .mobile-contact-actions a:last-child strong{font-size:28px}body .letter-page section.contact-section .mobile-contact-actions a:last-child small{font-size:11px}}
@media(max-width:360px){body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child){font-size:20px;gap:10px}body .letter-page section.contact-section .mobile-contact-actions a:not(:last-child):before{width:40px;height:40px}body .letter-page section.contact-section .mobile-contact-actions a:last-child strong{font-size:25px}body .letter-page section.contact-section .mobile-contact-actions a:last-child small{font-size:10px}}
@media(min-width:901px){body .letter-page section.contact-section .mobile-contact-actions{grid-template-columns:1fr 1.2fr 1.25fr}}

body .letter-page section.quick-actions{padding:30px 24px 28px;background:#fff;height:auto}
body .letter-page section.quick-actions .quick-actions__inner{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1120px;width:100%;margin:0 auto;padding:0}
body .letter-page section.quick-actions .quick-actions__inner a{display:flex;align-items:center;justify-content:center;gap:20px;min-height:104px;padding:16px 22px;border:2px solid #0ebf07;border-radius:14px;text-decoration:none;background:#fff;color:#087d08;width:100%;box-sizing:border-box}
body .letter-page section.quick-actions .quick-actions__inner a img{display:none}
body .letter-page section.quick-actions .quick-actions__inner .quick-action-label{display:block!important;font-size:clamp(22px,2vw,27px);font-weight:700;line-height:1.5}
body .letter-page section.quick-actions .quick-actions__inner a:before{content:"";width:66px;height:66px;flex:none;background:url('/images/xd-home/prototype/quick-estimate-icon.svg') center/contain no-repeat}
body .letter-page section.quick-actions .quick-actions__inner a:after{content:"";width:12px;height:12px;border-top:3px solid currentColor;border-right:3px solid currentColor;transform:rotate(45deg);flex:none;margin-left:auto}
body .letter-page section.quick-actions .quick-actions__inner a.inquiry{background:#003d5d;color:#fff;border-color:#003d5d}
body .letter-page section.quick-actions .quick-actions__inner a.inquiry:before{background-image:url('/images/xd-home/prototype/quick-contact-icon.svg')}
body .letter-page section.quick-actions .quick-actions__inner a:focus-visible{outline:3px solid #ebb53e;outline-offset:4px}
body .letter-page section.quick-actions .quick-actions__inner a:hover{box-shadow:0 4px 14px #12384e18}
body .letter-page section.quick-actions>p{font-size:15px;color:#496474;line-height:1.8;margin:16px 0 0;text-align:center}
@media(max-width:900px){body .letter-page section.quick-actions .quick-actions__inner{grid-template-columns:1fr;max-width:640px}}
@media(max-width:600px){body .letter-page section.quick-actions{padding:24px 18px}body .letter-page section.quick-actions .quick-actions__inner{gap:12px}body .letter-page section.quick-actions .quick-actions__inner a{min-height:86px;padding:14px;gap:14px}body .letter-page section.quick-actions .quick-actions__inner a:before{width:50px;height:50px}body .letter-page section.quick-actions .quick-actions__inner .quick-action-label{font-size:22px}body .letter-page section.quick-actions>p{font-size:14px}}
@media(max-width:360px){body .letter-page section.quick-actions .quick-actions__inner .quick-action-label{font-size:19px}body .letter-page section.quick-actions .quick-actions__inner a{gap:10px}body .letter-page section.quick-actions .quick-actions__inner a:before{width:44px;height:44px}}

body .letter-page section.contact-section .contact-section__inner,body .letter-page section.quick-actions .quick-actions__inner{max-width:1240px}
body .letter-page section.contact-section,body .letter-page section.quick-actions{height:auto;min-height:0;margin:0}

