/* Home refinement (2026-10-14): larger type, calmer slide controls, even case grid,
   stronger services row, readable education banner and footer. Loaded last on index.html only.
   Step 2: bigger type and more breathing room for NanumSquare body text. */

/* ---------- Shared ---------- */
.case-media{display:block;overflow:hidden;border-radius:2px;background:#e9e3da}
.case-media img{width:100%;height:100%;transition:transform .6s cubic-bezier(.2,.6,.2,1)}
.case-card>.case-media img{filter:none}
.cases-all{display:none}

/* ---------- Header ---------- */
.header{height:92px}
.brand-name{font-size:31px;line-height:1.15}
.brand-sub{font-size:10px;letter-spacing:4.4px;margin-top:6px}
.header .nav{font-size:16px;gap:clamp(22px,3vw,52px)}
.header .nav a{padding:10px 0;color:#3d3731;transition:color .2s}
.header .nav a:hover{color:#6c5947}
.header-phone{font-size:18px;font-weight:600;letter-spacing:.3px;gap:9px;color:#2a2622}
.header-phone svg{width:18px;height:18px;color:#6c5947}
.header-consult{min-height:46px;padding:0 22px;font-size:15px;font-weight:500;gap:10px}
.header-consult svg{width:18px;height:18px}

/* ---------- PC / tablet (768px+) ---------- */
@media(min-width:768px){
  /* Hero */
  .hero h1{font-size:clamp(46px,3.9vw,60px);line-height:1.32;letter-spacing:-1.6px}
  .hero-lead{font-size:18px;color:#5f564e}
  .hero:after{background:linear-gradient(90deg,#f8f6f2 0%,#f8f6f2f2 25%,#f8f6f2c8 36%,#f8f6f200 56%)}
  .hero-actions{gap:14px}
  .hero-actions .button{min-height:56px;padding:0 34px;font-size:16px;font-weight:500}
  .hero-actions .button svg{width:19px;height:19px}

  /* Slide controls: no box over the photo, only a soft shade at the bottom edge */
  .hero-photo:after{content:'';position:absolute;left:0;right:0;bottom:0;height:150px;background:linear-gradient(#1e1a1600,#1e1a165c);pointer-events:none;z-index:1}
  .hero-caption{right:5%;bottom:18px;background:none;border:0;border-radius:0;padding:0;gap:4px;font-size:14px;text-shadow:0 1px 3px #0006}
  .hero-caption a{margin-right:16px;letter-spacing:-.2px}
  .hero-caption .caption-rule{width:44px;margin-right:12px;background:#ffffff8c}
  .hero-caption .desktop-count{margin-right:10px;letter-spacing:1px;font-variant-numeric:tabular-nums}
  .hero-caption button{min-width:40px;min-height:40px;font-size:24px;opacity:.82;transition:opacity .2s}
  .hero-caption #hero-pause{font-size:13px}
  .hero-caption button:hover{opacity:1}

  /* Cases: one image ratio, even gaps, readable captions */
  .cases{padding:100px 0 104px}
  .cases-head{margin:0 0 44px;gap:40px;align-items:flex-end}
  .cases-head h2{font-size:clamp(32px,2.6vw,38px);letter-spacing:-1px;line-height:1.2}
  .cases-head>p:not(.eyebrow){font-size:15px;line-height:1.75;color:#6d655d}
  .cases .more{font-size:14px;padding:10px 0 8px;color:#3d3731;border-color:#a99785}
  .case-grid{gap:52px 24px}
  .case-media{aspect-ratio:16/10}
  .case-copy{padding:18px 2px 0;gap:16px}
  .case-copy h3{font-size:18px;font-weight:500;letter-spacing:-.4px;color:#2a2622}
  .case-more{font-size:14px;color:#6c5947}
  .case-card:hover .case-media img{transform:scale(1.03)}

  /* Services */
  .services{padding:60px 0}
  .service{gap:24px;padding:6px 28px}
  .service:first-child{padding-left:4px}
  .service+.service:before{height:76px;background:#d9d0c4}
  .service-icon{width:80px;height:80px;transition:background .2s}
  .service-icon svg{width:46%;height:46%}
  .service h3{font-size:18px;font-weight:500;margin-bottom:10px;color:#2a2622;letter-spacing:-.3px}
  .service p{font-size:15px;line-height:1.7;color:#6d655d}
  .service:hover .service-icon{background:#fff}

  /* Education banner: keep the photo, add a soft wash behind the text */
  .education-banner{min-height:540px;padding:100px 8.5%;display:flex;align-items:center}
  .education-banner:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#eee5d6eb 0%,#eee5d6c7 30%,#eee5d600 58%);pointer-events:none}
  .education-banner h2{font-size:clamp(36px,3.1vw,48px);line-height:1.38}
  .education-banner p:not(.eyebrow){font-size:16px;max-width:460px;color:#4f443a}
  .education-banner .actions{gap:14px;margin-top:34px}
  .education-banner .btn{min-height:56px;padding:0 32px;font-size:16px}
  .education-banner p.image-note{font-size:13px;margin-top:28px}

  .hero-actions .outline,.education-banner .btn-outline{background:#f8f5f0c2}
  .hero-actions .outline:hover{background:#6c5947}
  .education-banner .btn-outline:hover{background:#e9e1d6}

  /* Footer */
  .footer{padding:80px 0 40px}
  .footer p{white-space:nowrap}
  .footer-links{white-space:nowrap}
  .footer .brand-name{font-size:32px}
  .footer .brand-sub{font-size:10px}
  .footer p{font-size:15px;line-height:1.95;margin-top:26px;color:#5f574f}
  .footer-links{gap:36px;font-size:15px;color:#3d3731;padding-top:4px}
  .footer-links a:hover{color:#6c5947}
  .copyright{font-size:13px;color:#6d655d;margin-top:44px;padding-top:24px}
}

@media(min-width:1700px){
  .hero{height:640px}
  .education-banner{min-height:600px}
}

/* Up to the full grid width, stack icon above the text so descriptions keep their line breaks */
@media(min-width:1101px) and (max-width:1599px){
  .services{padding:44px 0}
  .service{flex-direction:column;align-items:flex-start;gap:16px;padding-block:4px}
  .service+.service:before{top:4px;height:calc(100% - 8px)}
  .service-icon{width:64px;height:64px}
}

/* Tablet */
@media(min-width:768px) and (max-width:1100px){
  .header{height:84px}
  .brand-name{font-size:28px}
  .hero h1{font-size:46px}
  .hero-caption{bottom:12px}
  .cases{padding:80px 0}
  .cases-head{align-items:center;gap:16px 24px}
  .cases-head>p:not(.eyebrow){font-size:14px}
  .case-grid{gap:44px 20px}
  .case-copy h3{font-size:16px}
  .services{padding:56px 0}
  .service-grid{gap:36px 0}
  .service{padding-inline:24px}
  .service-icon{width:72px;height:72px}
  .service h3{font-size:17px}
  .service p{font-size:14px}
  .service:nth-child(odd){padding-left:4px}
  .education-banner{min-height:480px;padding:80px 6%}
  .education-banner:before{background:linear-gradient(90deg,#eee5d6f5 0%,#eee5d6eb 52%,#eee5d600 88%)}
  .footer-top{flex-direction:column;gap:28px}
  .footer-links{flex-wrap:wrap;gap:0 32px;padding-top:0}
  .footer{padding:64px 0 36px}
}

/* ---------- Mobile (767px and below) ---------- */
@media(max-width:767px){
  body{padding-bottom:calc(60px + var(--safe-b))}

  /* Header */
  .header{height:calc(68px + env(safe-area-inset-top,0px))}
  .brand-name{font-size:26px}
  .brand-sub{font-size:9.5px;letter-spacing:3.4px;margin-top:5px}
  .menu-toggle{margin-right:-10px}
  .menu-sheet{padding:20px 24px calc(28px + env(safe-area-inset-bottom,0px))}
  .menu-links{margin:32px 0;font-size:24px}
  .menu-links a{min-height:68px;padding-left:2px}
  .menu-contact small{font-size:12px;letter-spacing:3px;color:#6d655d}
  .menu-links a{color:#2a2622}
  .menu-phone{font-size:26px;font-weight:500;color:#2a2622;letter-spacing:.3px}
  .eyebrow{font-size:11px}
  .menu-contact .btn{min-height:54px;font-size:16px;border-radius:2px}

  /* Hero */
  .hero-copy{padding:40px 20px 36px}
  .hero h1{font-size:clamp(28px,8vw,34px);line-height:1.38;letter-spacing:-1px}
  .hero-lead{font-size:15px;line-height:1.8;margin-top:18px}
  .hero-actions{margin-top:28px;gap:10px;flex-wrap:nowrap}
  .hero-actions .button{flex:1 1 0;min-height:52px;padding:0 12px;font-size:15px;gap:10px;white-space:nowrap}
  .hero-actions .button svg{width:18px;height:18px}
  .hero-actions .arrow{font-size:20px}
  .hero-photo{height:clamp(240px,66vw,440px)}
  .hero-caption{margin-top:14px;gap:6px}
  .hero-caption a{font-size:15px}
  .mobile-index{font-size:13px}
  .hero-caption button,.hero-caption #hero-pause{min-width:44px;min-height:44px;border-color:#ddd5ca;background:transparent;color:#3b3632}
  .hero-caption #hero-pause{font-size:13px}

  /* Cases: three on the home page, the rest one tap away */
  .cases{padding:64px 0 68px}
  .cases-head{margin-bottom:32px}
  .cases-head h2{font-size:clamp(24px,7vw,28px);letter-spacing:-.6px}
  .cases-head>p:not(.eyebrow){font-size:15px;margin-top:14px}
  .cases-head .more{display:none}
  .case-grid{gap:40px}
  .case-card:nth-child(n+4){display:none}
  .case-media{aspect-ratio:4/3}
  .case-copy{padding:16px 0 0;gap:12px}
  .case-copy h3{font-size:16px;font-weight:500;color:#2a2622}
  .case-number{font-size:13px}
  .case-circle{width:36px;height:36px;font-size:20px;background:#ece5db}
  .cases-all{display:flex;width:100%;min-height:54px;margin-top:44px;font-size:16px;font-weight:500;gap:14px;color:#3b3632;border-color:#bfb2a2}
  .cases-all .arrow{font-size:20px}
  .cases-all:hover{background:#3b3632;color:#fff}

  /* Services: icon + title, same as PC, no unrelated photos */
  .services{padding:56px 0 64px}
  .services-head{padding-bottom:28px}
  .services-head h2{font-size:clamp(22px,6.4vw,26px);letter-spacing:-.5px}
  .services-head{display:block}
  .services-head a{font-size:14px;margin:6px 0 0;display:inline-flex;color:#6c5947}
  .service-grid{gap:12px}
  .service{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:156px;padding:28px 10px 24px;background:#f9f7f3;border:1px solid #e4ddd2;border-radius:2px}
  .service>img{display:none}
  .service .service-icon{display:grid;width:64px;height:64px;background:#efe9e0;color:#534639}
  .service-icon svg{width:34px;height:34px}
  .service h3{font-size:15px;line-height:1.5;padding:0;text-align:center;color:#2a2622}

  /* Education */
  .education-banner>div{padding:40px 20px 64px}
  .education-banner .eyebrow{font-size:11px;margin-bottom:14px}
  .education-banner h2{font-size:clamp(26px,7.4vw,30px);line-height:1.42}
  .education-banner p:not(.eyebrow){font-size:15px;margin-top:16px}
  .education-banner .actions{gap:10px;margin-top:32px;flex-wrap:nowrap}
  .education-banner .actions .btn{flex:1 1 0;min-height:52px;padding:0 12px;font-size:15px}
  .education-banner p.image-note{font-size:12px;margin-top:22px}

  /* Footer */
  .footer{padding:52px 0 36px}
  .footer .brand-name{font-size:28px}
  .footer p{font-size:15px;line-height:1.9;margin-top:22px}
  .footer-top{gap:24px}
  .footer-links{gap:0 24px;font-size:15px}
  .copyright{font-size:13px;line-height:1.75;margin-top:24px;padding-top:20px}

  /* Fixed contact bar */
  .mobile-contact{height:calc(60px + var(--safe-b))}
  .mobile-contact a{min-height:60px;gap:10px;font-size:16px}
  .mobile-contact svg{width:22px;height:22px}
  .mobile-contact small{font-size:12.5px;margin-top:1px}
}

@media(max-width:360px){
  .hero-copy{padding-inline:16px}
  .hero-actions .button,.education-banner .actions .btn{font-size:14px;padding:0 8px;gap:8px}
  .education-banner>div{padding-inline:16px}
  .service{min-height:148px;padding-inline:8px}
  .service h3{font-size:14px}
  .education-banner p:not(.eyebrow){font-size:14px}
}

/* ================= Step 2: larger type, more space ================= */
/* NanumSquare ships blank ‹ › glyphs; keep the slide arrows in a system face */
.hero-caption button{font-family:Arial,'Apple SD Gothic Neo',sans-serif}
.wrap{width:86%;max-width:1400px}
.header{height:100px}
.brand-name{font-size:33px}
.brand-sub{font-size:10.5px}
.header .nav{font-size:17px;gap:clamp(24px,3.2vw,56px)}
.header-phone{font-size:19px;font-weight:700}
.header-consult{min-height:50px;padding:0 26px;font-size:16px}

@media(min-width:768px){
  .hero{height:clamp(580px,42vw,720px)}
  .hero-copy{padding:clamp(80px,6.4vw,112px) 0 0 max(7%,calc((100% - 1400px)/2))}
  .hero-copy>.eyebrow{font-size:13px;margin-bottom:30px}
  .hero h1{font-size:clamp(50px,4.3vw,68px);line-height:1.3}
  .hero-lead{font-size:20px;line-height:1.8;margin:28px 0 44px}
  .hero-actions{gap:16px}
  .hero-actions .button{min-height:60px;padding:0 38px;font-size:17px}
  .hero-caption{font-size:15px;bottom:24px;right:max(7%,calc((100% - 1400px)/2))}

  .cases{padding:140px 0 140px}
  .cases-head{margin-bottom:60px;gap:48px}
  .cases-head h2{font-size:clamp(36px,3vw,46px)}
  .cases-head>p:not(.eyebrow){font-size:17px;line-height:1.8}
  .cases .more{font-size:16px}
  .case-grid{gap:72px 32px}
  .case-copy{padding:24px 2px 0}
  .case-copy h3{font-size:21px}
  .case-more{font-size:15px}

  .services{padding:96px 0}
  .service{flex-direction:column;align-items:flex-start;gap:22px;padding:6px 36px}
  .service:first-child{padding-left:4px}
  .service+.service:before{top:6px;height:calc(100% - 12px)}
  .service-icon{width:76px;height:76px}
  .service h3{font-size:21px;margin-bottom:12px}
  .service p{font-size:16px;line-height:1.8}

  .education-banner{min-height:640px;padding:130px max(7%,calc((100% - 1400px)/2))}
  .education-banner .eyebrow{font-size:13px;margin-bottom:24px}
  .education-banner h2{font-size:clamp(40px,3.5vw,56px);line-height:1.36}
  .education-banner p:not(.eyebrow){font-size:18px;line-height:1.85;max-width:520px;margin-top:26px}
  .education-banner .actions{gap:16px;margin-top:44px}
  .education-banner .btn{min-height:60px;padding:0 36px;font-size:17px}
  .education-banner p.image-note{font-size:14px;margin-top:32px}

  .footer{padding:110px 0 52px}
  .footer .brand-name{font-size:36px}
  .footer .brand-sub{font-size:11px}
  .footer p{font-size:17px;line-height:2;margin-top:32px}
  .footer-links{gap:44px;font-size:17px}
  .copyright{font-size:14px;margin-top:64px;padding-top:30px}
}

@media(min-width:1101px) and (max-width:1599px){
  .services{padding:88px 0}
  .service{padding-inline:clamp(20px,2.2vw,36px)}
  .service-icon{width:72px;height:72px}
}

@media(min-width:768px) and (max-width:1100px){
  .header{height:88px}
  .brand-name{font-size:29px}
  .header .nav{font-size:16px}
  .hero{height:600px}
  .hero h1{font-size:48px}
  .hero-lead{font-size:18px}
  .cases{padding:110px 0}
  .cases-head>p:not(.eyebrow){font-size:16px}
  .case-grid{gap:56px 24px}
  .case-copy h3{font-size:18px}
  .services{padding:88px 0}
  .service-grid{gap:56px 0}
  .service{padding-inline:32px}
  .service:nth-child(odd){padding-left:4px}
  .service:nth-child(3):before{display:none}
  .service h3{font-size:19px}
  .service p{font-size:16px}
  .education-banner{min-height:560px;padding:110px 7%}
  .education-banner h2{font-size:42px}
  .education-banner p:not(.eyebrow){font-size:17px}
  .footer{padding:90px 0 48px}
}

@media(max-width:767px){
  .wrap{width:calc(100% - 48px)}
  .header{height:calc(72px + env(safe-area-inset-top,0px))}
  .brand-name{font-size:27px}
  .brand-sub{font-size:10px}
  .menu-links{font-size:25px}

  .hero-copy{padding:56px 24px 52px}
  .hero h1{font-size:clamp(30px,8.8vw,37px);line-height:1.38}
  .hero-lead{font-size:16.5px;line-height:1.85;margin-top:22px}
  .hero-actions{margin-top:36px;gap:12px}
  .hero-actions .button{min-height:56px;font-size:16px}
  .hero-photo{height:clamp(260px,70vw,460px)}
  .hero-caption{width:calc(100% - 48px);margin-top:18px}
  .hero-caption a{font-size:16px}

  .cases{padding:88px 0 92px}
  .cases-head{margin-bottom:40px}
  .eyebrow{font-size:12px}
  .cases-head h2{font-size:clamp(27px,7.8vw,31px)}
  .cases-head>p:not(.eyebrow){font-size:16.5px;line-height:1.85;margin-top:18px}
  .case-grid{gap:52px}
  .case-copy{padding-top:20px}
  .case-copy h3{font-size:18px}
  .case-number{font-size:14px}
  .case-circle{width:40px;height:40px}
  .cases-all{min-height:58px;margin-top:56px;font-size:17px}

  .services{padding:80px 0 88px}
  .services-head{padding-bottom:36px}
  .services-head h2{font-size:clamp(24px,7vw,28px)}
  .services-head a{font-size:15px;margin-top:10px}
  .service-grid{gap:14px}
  .service{min-height:180px;gap:18px;padding:32px 10px 28px}
  .service .service-icon{width:68px;height:68px}
  .service-icon svg{width:36px;height:36px}
  .service h3{font-size:16.5px}

  .education-banner>div{padding:56px 24px 88px}
  .education-banner .eyebrow{font-size:12px;margin-bottom:18px}
  .education-banner h2{font-size:clamp(28px,8vw,33px)}
  .education-banner p:not(.eyebrow){font-size:16.5px;line-height:1.85;margin-top:22px}
  .education-banner .actions{gap:12px;margin-top:40px}
  .education-banner .actions .btn{min-height:56px;font-size:16px}
  .education-banner p.image-note{font-size:13px;margin-top:28px}
  .education-banner p:not(.eyebrow) br{display:none}

  .footer{padding:72px 0 48px}
  .footer .brand-name{font-size:30px}
  .footer p{font-size:16.5px;line-height:1.95;margin-top:28px}
  .footer-top{gap:32px}
  .footer-links{gap:2px 28px;font-size:16.5px}
  .copyright{font-size:14px;line-height:1.8;margin-top:32px;padding-top:24px}

  .mobile-contact a{font-size:17px}
  .mobile-contact small{font-size:13px}
}

@media(max-width:380px){
  .wrap,.hero-caption{width:calc(100% - 40px)}
  .hero-copy,.education-banner>div{padding-inline:20px}
  .hero-actions .button,.education-banner .actions .btn{font-size:15px;padding:0 8px;gap:8px}
  .hero-actions .button svg{display:none}
  .hero-lead,.education-banner p:not(.eyebrow),.cases-head>p:not(.eyebrow){font-size:15.5px}
  .footer p{font-size:15.5px}
  .education-banner p.image-note{font-size:12.5px;letter-spacing:-.2px}
  .service{min-height:168px}
  .service h3{font-size:15.5px}
}

@media(prefers-reduced-motion:reduce){
  .case-media img{transition:none}
  .case-card:hover .case-media img{transform:none}
}

/* Step 3: hero photo shown as-is. No colour wash or shade over it: on PC the copy sits on its own
   ivory panel to the left of the photo, and the slide controls sit under the copy, off the photo. */
.hero:after,.hero-photo:after{display:none}
@media(min-width:768px){
  .hero{background:#f7f4ef;--panel:max(600px,42%)}
  .hero-photo{left:var(--panel)}
  .hero-copy{max-width:var(--panel);padding-right:40px;padding-top:clamp(64px,5.2vw,96px)}
  .hero-caption{left:max(7%,calc((100% - 1400px)/2));right:auto;bottom:clamp(28px,2.6vw,44px);color:#3b3632;text-shadow:none;font-size:15px}
  .hero-caption .caption-rule{background:#c9bdae}
  .hero-caption button{opacity:1;color:#3b3632}
  .hero-caption button:hover{color:#6c5947}
}
@media(min-width:768px) and (max-width:1100px){
  .hero{--panel:50%;height:560px}
  .hero-copy{padding-right:24px;padding-top:64px}
  .hero h1{font-size:40px}
  .hero-lead{font-size:16px;margin:22px 0 32px}
  .hero-actions{gap:10px}
  .hero-actions .button{min-height:54px;padding:0 14px;font-size:14px;gap:8px;white-space:nowrap}
  .hero-actions .arrow{font-size:18px}
  .hero-caption{font-size:14px}
  .hero-caption .caption-rule{display:none}
  .hero-caption a{margin-right:6px}
}

/* ================= Step 4: larger type and more room again ================= */
.nw{white-space:nowrap}
.header{height:108px}
.brand-name{font-size:36px}
.brand-sub{font-size:11px;letter-spacing:4.8px}
.header .nav{font-size:18px;gap:clamp(26px,3.4vw,60px)}
.header-phone{font-size:20px}
.header-consult{min-height:54px;padding:0 28px;font-size:17px}

@media(min-width:768px){
  .hero{height:clamp(620px,46vw,780px);--panel:max(640px,44%)}
  .hero-copy{padding-top:clamp(72px,6.4vw,120px)}
  .hero-copy>.eyebrow{font-size:14px;margin-bottom:32px}
  .hero h1{font-size:clamp(54px,4.7vw,74px)}
  .hero-lead{font-size:22px;margin:30px 0 46px}
  .hero-actions{gap:18px}
  .hero-actions .button{min-height:64px;padding:0 42px;font-size:18px}
  .hero-caption{font-size:16px;bottom:clamp(32px,3vw,52px)}

  .cases{padding:170px 0}
  .cases-head{margin-bottom:72px;gap:56px}
  .cases-head h2{font-size:clamp(40px,3.4vw,52px)}
  .cases-head>p:not(.eyebrow){font-size:19px;line-height:1.8}
  .cases .more{font-size:17px}
  .case-grid{gap:88px 40px}
  .case-copy{padding-top:28px}
  .case-copy h3{font-size:23px}
  .case-more{font-size:16px}

  .services{padding:120px 0}
  .service{gap:26px;padding-inline:clamp(20px,2.4vw,44px)}
  .service-icon{width:84px;height:84px}
  .service h3{font-size:23px;margin-bottom:14px}
  .service p{font-size:17px;line-height:1.85}

  .education-banner{min-height:720px;padding-block:160px}
  .education-banner .eyebrow{font-size:14px;margin-bottom:28px}
  .education-banner h2{font-size:clamp(44px,3.9vw,62px)}
  .education-banner p:not(.eyebrow){font-size:20px;max-width:600px;margin-top:30px}
  .education-banner .actions{gap:18px;margin-top:52px}
  .education-banner .btn{min-height:64px;padding:0 42px;font-size:18px}
  .education-banner p.image-note{font-size:15px;margin-top:36px}

  .footer{padding:130px 0 60px}
  .footer .brand-name{font-size:40px}
  .footer .brand-sub{font-size:11.5px}
  .footer p{font-size:18.5px;margin-top:36px}
  .footer-links{gap:48px;font-size:18.5px}
  .copyright{font-size:15px;margin-top:80px;padding-top:34px}
}

@media(min-width:1101px) and (max-width:1599px){
  .services{padding:112px 0}
  .service-icon{width:76px;height:76px}
}

@media(min-width:768px) and (max-width:1100px){
  .header{height:92px}
  .brand-name{font-size:31px}
  .header .nav{font-size:17px}
  .hero{height:600px}
  .hero h1{font-size:42px}
  .hero-lead{font-size:17px}
  .hero-actions .button{min-height:58px;font-size:15px}
  .cases{padding:130px 0}
  .cases-head>p:not(.eyebrow){font-size:17px}
  .case-grid{gap:68px 28px}
  .case-copy h3{font-size:20px}
  .case-more{display:none}
  .services{padding:110px 0}
  .service-grid{gap:68px 0}
  .service h3{font-size:21px}
  .service p{font-size:17px}
  .education-banner{min-height:600px;padding-block:130px}
  .education-banner h2{font-size:46px}
  .education-banner p:not(.eyebrow){font-size:18px}
  .footer{padding:110px 0 56px}
}

@media(max-width:767px){
  .wrap{width:calc(100% - 56px)}
  body{padding-bottom:calc(64px + var(--safe-b))}
  .header{height:calc(76px + env(safe-area-inset-top,0px))}
  .brand-name{font-size:29px}
  .brand-sub{font-size:10.5px}
  .menu-links{font-size:27px}
  .menu-links a{min-height:74px}

  .hero-copy{padding:68px 28px 64px}
  .hero h1{font-size:clamp(32px,9.4vw,40px)}
  .hero-lead{font-size:17.5px;margin-top:26px}
  .hero-lead br{display:none}
  .hero-actions{margin-top:44px;gap:12px}
  .hero-actions .button{min-height:60px;font-size:17px}
  .hero-photo{height:clamp(280px,76vw,500px)}
  .hero-caption{width:calc(100% - 56px);margin-top:20px}
  .hero-caption a{font-size:17px}
  .mobile-index{font-size:14px}

  .cases{padding:104px 0 108px}
  .cases-head{margin-bottom:48px}
  .eyebrow{font-size:12.5px}
  .cases-head h2{font-size:clamp(29px,8.6vw,34px)}
  .cases-head>p:not(.eyebrow){font-size:17.5px;margin-top:22px}
  .cases-head>p:not(.eyebrow) br{display:none}
  .case-grid{gap:64px}
  .case-copy{padding-top:22px}
  .case-copy h3{font-size:19.5px}
  .case-number{font-size:15px}
  .case-circle{width:44px;height:44px;font-size:22px}
  .cases-all{min-height:62px;margin-top:64px;font-size:18px}

  .services{padding:96px 0 104px}
  .services-head{padding-bottom:44px}
  .services-head h2{font-size:clamp(26px,7.8vw,31px)}
  .services-head a{font-size:16.5px;margin-top:12px}
  .service-grid{gap:16px}
  .service{min-height:196px;gap:20px;padding:36px 10px 32px}
  .service .service-icon{width:74px;height:74px}
  .service-icon svg{width:38px;height:38px}
  .service h3{font-size:17.5px}

  .education-banner>div{padding:72px 28px 104px}
  .education-banner .eyebrow{font-size:12.5px;margin-bottom:20px}
  .education-banner h2{font-size:clamp(30px,8.8vw,36px)}
  .education-banner p:not(.eyebrow){font-size:17.5px;margin-top:26px}
  .education-banner .actions{gap:12px;margin-top:48px}
  .education-banner .actions .btn{min-height:60px;font-size:17px}
  .education-banner p.image-note{font-size:14px;margin-top:32px}

  .footer{padding:88px 0 56px}
  .footer .brand-name{font-size:33px}
  .footer .brand-sub{font-size:11px}
  .footer p{font-size:17.5px;margin-top:32px}
  .footer-top{gap:40px}
  .footer-links{gap:4px 30px;font-size:17.5px}
  .copyright{font-size:15px;margin-top:40px;padding-top:28px}

  .mobile-contact{height:calc(64px + var(--safe-b))}
  .mobile-contact a{min-height:64px;font-size:18px}
  .mobile-contact svg{width:24px;height:24px}
  .mobile-contact small{font-size:13.5px}
}

@media(max-width:380px){
  .wrap,.hero-caption{width:calc(100% - 48px)}
  .hero-copy,.education-banner>div{padding-inline:24px}
  .hero-actions,.education-banner .actions{flex-direction:column;align-items:stretch}
  .hero-actions .button,.education-banner .actions .btn{flex:none;width:100%;font-size:17px;padding:0 16px;gap:12px}
  .hero-actions .button svg{display:inline}
  .hero-lead,.education-banner p:not(.eyebrow),.cases-head>p:not(.eyebrow){font-size:17px}
  .footer p{font-size:16.5px}
  .service{min-height:184px}
  .service h3{font-size:15.5px}
}

/* Step 4 fixes: stacked case captions on PC, tablet hero panel, balanced mobile line breaks */
@media(min-width:768px){
  .case-copy{flex-direction:column;align-items:flex-start;gap:10px}
  .case-copy h3{flex:none}
  .case-more{margin-left:0}
}
@media(min-width:768px) and (max-width:1100px){
  .hero{--panel:50%}
  .cases-head{flex-wrap:wrap}
  .cases-head>p:not(.eyebrow){margin-left:0;flex:1 1 280px}
  .case-more{display:block}
  .education-banner p.image-note{max-width:340px}
}
@media(max-width:767px){
  .hero-lead,.cases-head>p:not(.eyebrow),.education-banner p:not(.eyebrow){text-wrap:balance}
  .service h3{font-size:16.5px;letter-spacing:-.5px;padding-inline:2px}
  .service{padding-inline:4px}
}
@media(max-width:380px){
  .service h3{font-size:15px}
}
@media(min-width:768px) and (max-width:1100px){
  .hero-actions .button{padding:0 14px}
}
@media(max-width:767px){
  .hero-lead{font-size:17px;letter-spacing:-.3px;text-wrap:wrap}
  .hero-lead br{display:inline}
  .education-banner p.image-note{text-wrap:pretty}
}
@media(max-width:380px){
  .hero-lead{font-size:16px;letter-spacing:-.5px}
}

/* Home video below the hero */
.home-video{padding:120px 0 0}
.video-frame{position:relative;overflow:hidden;border-radius:2px;background:#e9e3da;aspect-ratio:2/1}
.home-video-player{display:block;width:100%;height:100%;object-fit:cover}
.home-video+.cases{padding-top:140px}
@media(min-width:768px) and (max-width:1100px){
  .home-video{padding-top:96px}
  .video-frame{aspect-ratio:16/9}
  .home-video+.cases{padding-top:110px}
}
@media(max-width:767px){
  .home-video{padding-top:72px}
  .video-frame{aspect-ratio:4/3}
  .home-video+.cases{padding-top:88px}
}

/* Education copy over the home video (PC: left aligned, two buttons; mobile: centred, one button) */
@font-face{font-family:YesonBold;src:url('fonts/yeson-display-bold.woff2') format('woff2');font-weight:700;font-display:swap}
.video-overlay{position:absolute;inset:0;z-index:1;display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,#0000008c 0%,#00000073 35%,#00000026 100%)}
.video-copy{width:100%;max-width:1200px;padding:0 clamp(40px,6vw,96px)}
.video-eyebrow{font-size:13px;letter-spacing:2px;font-weight:700;color:#ffffffd9;margin-bottom:24px}
.home-video h2{font-family:YesonBold,Yeson,Georgia,serif;font-weight:700;font-size:clamp(56px,4.3vw,64px);line-height:1.2;letter-spacing:-1px;color:#fff}
.video-desc{font-size:18px;line-height:1.75;color:#ffffffd1;margin-top:26px}
.video-actions{display:flex;gap:14px;margin-top:40px}
.vbtn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 28px;border:1px solid #fff;border-radius:2px;font-size:16px;font-weight:700;transition:background .2s,color .2s,border-color .2s}
.vbtn-solid{background:#fff;color:#2a2622}
.vbtn-solid:hover{background:#efe9e0;border-color:#efe9e0}
.vbtn-line{background:transparent;color:#fff;border-color:#ffffffd9}
.vbtn-line:hover{background:#ffffff26}
.home-video .on-mo{display:none}

/* first-reveal only: short fade with a small lift, staggered ~0.12s */
.video-copy.reveal-ready>*{opacity:0;transform:translateY(12px)}
.video-copy.reveal-in>*{opacity:1;transform:none;transition:opacity .6s ease,transform .6s ease}
.video-copy.reveal-in>:nth-child(2){transition-delay:.12s}
.video-copy.reveal-in>:nth-child(3),.video-copy.reveal-in>:nth-child(4){transition-delay:.24s}
.video-copy.reveal-in>:nth-child(5),.video-copy.reveal-in>.video-actions{transition-delay:.36s}

@media(min-width:768px) and (max-width:1100px){
  .video-frame{aspect-ratio:4/3}
  .video-copy{padding:0 48px}
  .home-video h2{font-size:46px}
  .video-desc{font-size:17px}
}

@media(max-width:767px){
  .home-video>.wrap{width:100%}
  .video-frame{aspect-ratio:auto;height:clamp(460px,128vw,560px);border-radius:0}
  .video-overlay{justify-content:center;text-align:center;background:radial-gradient(ellipse 85% 60% at 50% 50%,#0000008c 0%,#00000073 60%,#00000066 100%)}
  .video-copy{padding:0 24px}
  .home-video .on-pc{display:none}
  .home-video .on-mo{display:inline}
  .home-video p.on-mo{display:block}
  .video-eyebrow{font-size:11px;letter-spacing:2px;margin-bottom:18px}
  .home-video h2{font-size:clamp(30px,9vw,36px);line-height:1.25;letter-spacing:-.5px}
  .video-fields{font-size:14px;letter-spacing:.5px;color:#ffffffd9;margin-top:22px}
  .video-actions{justify-content:center;margin-top:28px}
  .vbtn{min-height:50px;padding:0 26px;font-size:16px}
}
@media(max-width:360px){
  .home-video h2{font-size:30px;letter-spacing:-.8px}
}
@media(prefers-reduced-motion:reduce){
  .video-copy.reveal-ready>*{opacity:1;transform:none}
  .video-copy.reveal-in>*{transition:none}
}

/* Step 5: content about 10% wider (94% of the screen, up to 1540px); copy edges follow the new grid */
.wrap{width:94%;max-width:1540px;padding-inline:0}
@media(min-width:768px){
  .hero-copy{padding-left:max(3%,calc((100% - 1540px)/2))}
  .hero-caption{left:max(3%,calc((100% - 1540px)/2))}
  .education-banner{padding-inline:max(3%,calc((100% - 1540px)/2))}
}
@media(min-width:768px) and (max-width:1100px){
  .education-banner{padding-inline:3%}
}
@media(max-width:767px){
  .wrap{width:calc(100% - 40px)}
  .hero-copy{padding-inline:20px}
  .hero-caption{width:calc(100% - 40px)}
  .education-banner>div{padding-inline:20px}
  .home-video>.wrap{width:100%}
}

/* ---------- Brand H1 + brand intro (2026-10-23 SEO) ---------- */
.hero h1 .h1-brand{display:block;font-size:.42em;letter-spacing:0;line-height:1.4;margin-bottom:.35em;color:#6c5947}
.brand-intro{background:#f7f4ef;padding:72px 0 80px;border-top:1px solid #e4ddd2}
.brand-intro-head{max-width:820px}
.brand-intro-head h2{font-size:clamp(24px,2.4vw,34px);line-height:1.4;margin:10px 0 16px}
.brand-intro-head p{font-size:16px;line-height:1.85;color:#4a433c}
.brand-intro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:44px;padding-top:32px;border-top:1px solid #e4ddd2}
.brand-intro-grid h3{font-size:18px;margin:0 0 14px}
.brand-intro-grid p,.brand-intro-grid li{font-size:15px;line-height:1.9;color:#4a433c}
.brand-intro-grid ul{list-style:none;margin:0;padding:0}
.brand-intro a{color:inherit;text-decoration:underline;text-decoration-color:#c9bba9;text-underline-offset:4px}
.brand-intro a:hover{color:#6c5947}
.brand-intro-note{margin-top:36px;font-size:15px;color:#4a433c}
@media(max-width:767px){
.brand-intro{padding:48px 0 56px}
.brand-intro-head p{font-size:15px}
.brand-intro-grid{grid-template-columns:1fr;gap:26px;margin-top:30px;padding-top:24px}
}
