/* Supplied Emplied palette. Original brand images are used without raster edits. */
:root {
  --brand-main: #D88574;
  --brand-sub: #DC867B;
  --brand-accent: #EB9F97;
  --brand-light: #F3B5B0;
  --brand-background: #FAC9C6;
  --brand-pale: #FFEBEE;
  --brand-strong: #914F44;
  --ink: #3F2925;
  --paper: #FFFFFF;
  --orange: var(--brand-main);
  --muted: #765F5B;
  --line: #EBD6D1;
}

body { background: #fff; color: var(--ink); }
::selection { background: var(--brand-background); color: var(--ink); }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible { outline-color: var(--brand-strong); }
.site-header { height: 108px; background: #fffffff5; color: var(--ink); border-color: var(--line); }
.site-header.is-scrolled { height: 88px; background: #fffffff5; }
.brand { flex-direction: column; align-items: flex-start; gap: 5px; letter-spacing: 0; }
.brand-wordmark { position: relative; display: block; width: 184px; aspect-ratio: 3.18; overflow: hidden; flex-shrink: 0; }
/* Crop only the surrounding white margin at display time. The supplied JPEG stays intact. */
.brand-wordmark img { position: absolute; top: 0; left: 0; width: 140%; max-width: none; height: auto; transform: translate(-14.5%,-39.3%); }
.brand-japanese { font-family: var(--japanese); font-size: 12px; line-height: 1.5; font-weight: 500; letter-spacing: .08em; }
.is-scrolled .brand-wordmark { width: 156px; }
.desktop-nav { gap: 32px; }
.nav-contact,.is-scrolled .nav-contact { background: var(--brand-main); border-color: var(--brand-main); color: var(--ink); }
.nav-contact:hover { background: var(--brand-background); color: var(--ink); border-color: var(--brand-accent); }
.mobile-menu,.menu-open .site-header { background: #fff; }
.mobile-menu small { color: var(--brand-strong); }

.hero { color: var(--ink); background: #fff; min-height: 940px; height: max(940px,100svh); }
.hero-scenes { position: absolute; inset: 108px 0 0; display: grid; grid-template-columns: 1.25fr 1fr; }
.hero-scene { background-repeat: no-repeat; background-size: cover; }
.hero-scene-call { background-image: url('./assets/emplied-home-hvac.png'); background-position: 67% center; }
.hero-scene-air { background-image: url('./assets/emplied-hvac-installation.webp'); background-position: 68% center; border-left: 6px solid #fff; }
.hero-shade { background: linear-gradient(90deg,#fff 0%,#fffffff2 19%,#ffffffc7 32%,#ffffff18 57%,#ffffff00 77%),linear-gradient(0deg,#ffebeef2 0%,#ffebee35 21%,transparent 48%); }
.hero-content { padding-top: 225px; padding-left: 7%; }
.hero-eyebrow { color: var(--brand-strong); letter-spacing: .1em; }
.hero h1 { font-size: clamp(60px,6.3vw,98px); color: var(--ink); line-height: 1.42; letter-spacing: -.055em; }
.hero-description { font-size: 17px; color: #5F4039; font-weight: 600; letter-spacing: .03em; }
.hero-link { color: var(--ink); font-weight: 600; }
.hero-link .round-plus { border-color: var(--brand-main); background: #ffffffad; color: var(--brand-strong); }
.hero-link:hover .round-plus { background: var(--brand-main); color: var(--ink); }
.hero-side { display: none; }
.hero-bottom { border-color: #BA7E7150; color: #593B34; }
.hero-bottom p span { color: #76554E; }
.hero-page i { color: #987067; }
.tiny-cross { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; background: var(--brand-main); font-size: 0; }
.plus-large { display: flex; width: 74px; height: 74px; flex: 0 0 74px; align-items: center; justify-content: center; font-size: 0; }
.plus-large::before { content: ''; width: 20px; height: 20px; background: var(--brand-strong); transform: rotate(45deg); }
.scroll-track { background: #AD6D634D; }
.scroll-track:after { background: var(--brand-strong); }
.word-strip { background: var(--brand-pale); color: var(--brand-strong); border-color: var(--line); }
.word-strip span { -webkit-text-stroke-color: var(--brand-strong); }
.intro h2 span { color: var(--brand-strong); }
.display-title>span:not(.orange-stop) { color: var(--brand-strong); }
.section-dot { background: var(--brand-main); }
.business { background: #fff; }
.business-body p { color: var(--muted); }
.business-feature .business-number { color: var(--brand-strong); }
.installation-visual { background: url('./assets/emplied-hvac-installation.webp') 65% center / cover; border-radius: 5px 90px 5px 5px; color: var(--ink); }
.installation-visual:before { inset: 0; border: 0; background: linear-gradient(180deg,#ffebeeb0,transparent 23%,transparent 62%,#ffebeef0); z-index: 1; }
.installation-visual:after { display: none; }
.installation-visual .visual-label { max-width: 320px; color: #5E3C33; }
.installation-visual .visual-foot { font-size: 15px; font-family: var(--japanese); font-weight: 600; letter-spacing: .04em; }
.text-action .round-plus { border-color: var(--brand-main); color: var(--brand-strong); }
.text-action:hover .round-plus { background: var(--brand-main); color: var(--ink); border-color: var(--brand-main); }

.company { background: var(--brand-pale); color: var(--ink); position: relative; overflow: hidden; }
.company:before { content: ''; position: absolute; right: -120px; top: 80px; width: 540px; height: 540px; border: 1px solid var(--brand-background); border-radius: 50%; pointer-events: none; }
.company-inner { position: relative; }
.company-intro>p:last-child { color: var(--muted); }
.company-profile { background: #ffffffbf; padding: 35px; border: 1px solid #ffffff; border-radius: 4px 46px 4px 4px; }
.profile-top { border-color: var(--line); align-items: center; }
.company-emblem { width: 126px; height: 126px; object-fit: contain; border-radius: 50%; background: #fff; }
.company dl { margin-bottom: 28px; }
.company dl>div { border-color: var(--line); grid-template-columns: 95px minmax(0,1fr); }
.company dt { color: var(--muted); }
.company dd a:hover { color: var(--brand-strong); }
.profile-bottom { font-size: inherit; letter-spacing: normal; }
.profile-bottom .brand-wordmark { width: 163px; }
.profile-bottom .profile-tagline { display: block; margin-top: 15px; font-size: 12px; line-height: 1.7; letter-spacing: .06em; color: var(--muted); }
.recruit-heading { min-height: 470px; overflow: hidden; border-radius: 90px 5px 5px 5px; background: url('./assets/emplied-teleoperator.webp') 65% center / cover; }
.recruit-heading:before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#ffebee 0%,#ffebeef0 23%,#ffffff00 61%); }
.recruit-heading .recruit-photo-label { position: absolute; top: 28px; left: 32px; color: var(--brand-strong); font: 700 12px var(--english); letter-spacing: .14em; }
.recruit-heading h2 { left: 32px; bottom: 26px; color: var(--ink); font-size: 31px; }
.recruit-tag { color: var(--brand-strong); border-color: var(--brand-background); background: var(--brand-pale); }
.dark-button,.submit-button { background: var(--brand-main); color: var(--ink); }
.dark-button:hover,.submit-button:hover { background: var(--brand-background); color: var(--ink); }
.recruit-copy .small-note { color: var(--muted); }

.contact { background: linear-gradient(135deg,var(--brand-background),var(--brand-light)); }
.contact .display-title { color: #5D3932; }
.contact .display-title>span { color: var(--brand-strong); }
.contact .section-dot { background: var(--brand-strong); }
.contact-caption { border-color: #A960514A; }
.contact-form { box-shadow: 0 15px 45px #8B4D4110; border-radius: 5px 40px 5px 5px; }
.contact-form input:not([type=radio]):not([type=checkbox]),.contact-form textarea { border-color: #D5B2AA; background: #fff; color: var(--ink); }
.contact-form input::placeholder,.contact-form textarea::placeholder { color: #88736D; }
.inquiry-options span { border-color: #D5B2AA; background: #fff; }
.inquiry-options span:before { border-color: var(--brand-main); }
.inquiry-options input:checked+span { background: var(--brand-pale); color: var(--ink); border-color: var(--brand-main); }
.inquiry-options input:checked+span:before { background: var(--brand-strong); border-color: var(--brand-strong); }
.inquiry-options input:focus-visible+span { outline-color: var(--brand-strong); }
.privacy-check input { accent-color: var(--brand-strong); }
button i,label i,legend i,.form-heading i { color: var(--brand-strong); }
.site-footer { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: 12px; font-size: inherit; letter-spacing: normal; }
.footer-brand .brand-wordmark { width: 220px; }
.footer-brand .brand-japanese { font-size: 13px; color: var(--ink); }
.footer-top { border-color: var(--line); }
.footer-top nav a:hover { color: var(--brand-strong); }
.back-top span { border-color: var(--brand-main); color: var(--brand-strong); }
.footer-bottom { color: var(--muted); }
.detail-dialog { background: #fff; border-radius: 6px; }
.detail-dialog::backdrop { background: #533C368C; }
.dialog-close { border-color: var(--brand-accent); }
.detail-dialog .section-kicker,.service-consultation li:before { color: var(--brand-strong); }
.review-dialog .delivery-note { background: var(--brand-pale); }
.copy-feedback { color: #714C44; }

@media(min-width:1600px) {
  .hero { height: 960px; }
  .hero-content { padding-top: 245px; }
  .hero-scenes { grid-template-columns: 1.27fr 1fr; }
  .hero-scene-call { background-position: 70% 46%; }
  .hero-scene-air { background-position: 68% 42%; }
}
@media(max-width:1100px) {
  .hero-content { padding-top: 215px; padding-left: 6%; }
  .hero h1 { font-size: 66px; }
  .hero-scenes { grid-template-columns: 1.15fr 1fr; }
  .hero-shade { background: linear-gradient(90deg,#fffffff5,#ffffffdc 23%,#ffffff90 44%,#ffffff00 75%),linear-gradient(0deg,#ffebeee8,transparent 36%); }
  .company-profile { padding: 25px; }
  .company dl>div { grid-template-columns: 80px minmax(0,1fr); }
  .profile-top { gap: 12px; }
  .company-emblem { width: 100px; height: 100px; }
  .recruit-heading { min-height: 420px; }
  .recruit-heading h2 { left: 25px; font-size: 28px; }
}
@media(max-width:760px) {
  .site-header { height: 88px; }
  .site-header.is-scrolled { height: 78px; }
  .brand-wordmark { width: 151px; }
  .is-scrolled .brand-wordmark { width: 137px; }
  .brand-japanese { font-size: 12px; }
  .brand { gap: 3px; }
  .hero { min-height: 875px; height: max(875px,100svh); max-height: none; }
  .hero-content { padding: 135px 25px 0; }
  .hero h1 { font-size: clamp(41px,9.8vw,60px); line-height: 1.5; margin-bottom: 18px; }
  .hero-eyebrow { font-size: 12px; max-width: 320px; margin-bottom: 21px; }
  .hero-description { font-size: 16px; line-height: 1.9; letter-spacing: 0; margin-bottom: 21px; }
  .hero-scenes { top: 455px; bottom: 92px; grid-template-columns: 1fr 1fr; gap: 7px; }
  .hero-scene-call { background-position: 68% center; border-radius: 0 65px 0 0; }
  .hero-scene-air { background-position: 70% center; border: 0; border-radius: 65px 0 0 0; }
  .hero-shade { background: linear-gradient(0deg,#ffebeec9 0%,transparent 19%,transparent 46%,#ffffff 55%); pointer-events: none; }
  .hero-bottom { left: 25px; right: 25px; bottom: 23px; padding-top: 17px; gap: 16px; }
  .hero-bottom p { font-size: 12px; max-width: 165px; }
  .scroll-cue { font-size: 12px; }
  .word-strip div { font-size: 34px; }
  .installation-visual { border-radius: 4px 55px 4px 4px; background-position: 69% center; }
  .business-feature .installation-visual { aspect-ratio: .95; }
  .installation-visual .visual-label { max-width: 230px; }
  .business-feature .installation-visual .visual-foot { font-size: 14px; }
  .company-profile { padding: 25px 22px; }
  .company-emblem { width: 120px; height: 120px; }
  .company dl>div { grid-template-columns: 80px minmax(0,1fr); }
  .profile-bottom .brand-wordmark { width: 166px; }
  .recruit-heading { min-height: 415px; border-radius: 65px 4px 4px 4px; }
  .recruit-heading h2 { left: 23px; bottom: 24px; font-size: 28px; }
  .recruit-heading .recruit-photo-label { left: 25px; top: 26px; }
  .contact-form { border-radius: 4px 26px 4px 4px; }
  .footer-brand .brand-wordmark { width: 184px; }
  .footer-top { gap: 30px 15px; }
}
@media(max-width:360px) {
  .hero { min-height: 855px; height: max(855px,100svh); }
  .hero-content { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 39px; }
  .hero-eyebrow { font-size: 12px; }
  .hero-description { font-size: 15px; }
  .hero-scenes { top: 454px; bottom: 91px; }
  .hero-bottom { left: 20px; right: 20px; }
  .hero-bottom p { max-width: 130px; }
  .scroll-cue { font-size: 12px; max-width: 113px; }
  .company-profile { padding: 20px 15px; }
  .company-emblem { width: 95px; height: 95px; }
  .recruit-heading { min-height: 390px; }
  .recruit-heading h2 { font-size: 26px; }
  .footer-brand .brand-wordmark { width: 167px; }
  .back-top { font-size: 10px; }
  .company-intro .display-title { font-size: 56px; }
}

@media(min-width:761px) and (max-width:820px) {
  .contact .display-title { font-size: clamp(68px, 10vw, 78px); }
}

@media(min-width:361px) and (max-width:760px) {
  .company-intro .display-title { font-size: clamp(68px, 18vw, 78px); }
}
