/* A photographic tour through PHYO's real manufacturing facilities. */
.facilities-page{background:#f7f9fb;color:#153754}
.factory-tour{overflow:hidden}
.factory-entry{display:grid;grid-template-columns:1fr 1fr;min-height:600px;background:#092c4b;color:white}
.entry-copy{padding:65px 10% 45px 14%;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(ellipse at 10% 15%,#175675 0%,transparent 65%),#092c4b;position:relative}
.entry-copy .eyebrow{font-size:14px;color:#8bd8ff;letter-spacing:.18em;margin:0}
.entry-copy h1{font-size:clamp(48px,6vw,86px);font-weight:500;line-height:1.03;letter-spacing:-.045em;color:white;margin:24px 0}
.entry-copy>p:not(.eyebrow){font-size:18px;line-height:1.7;color:#dae9f3;max-width:420px}
.tour-nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin:22px 0 40px}
.tour-nav a{font-size:16px;color:#a8e3ff;border-bottom:1px solid #6594ac;padding-bottom:8px}
.entry-detail{font-size:12px;line-height:1.6;letter-spacing:.12em;color:#98bbd2}
.entry-photo{margin:0;position:relative;min-width:0;background:#dce7ec;display:flex;flex-direction:column}
.entry-photo img{width:100%;height:530px;object-fit:cover;object-position:center;display:block}
.entry-photo figcaption{padding:22px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#bfe8fa;color:#153e5e}
.entry-photo figcaption span{font-size:12px;letter-spacing:.12em}
.entry-photo figcaption strong{font-size:18px;font-weight:500}
.tour-stage{padding:65px 7%;max-width:1600px;margin:auto}
.tour-heading{display:grid;grid-template-columns:70px 1fr;gap:22px;margin-bottom:32px;max-width:880px}
.tour-number{font-size:46px;line-height:1;color:#a8c9dc;font-weight:400;letter-spacing:-.05em;padding-top:5px}
.tour-heading .eyebrow{font-size:14px;color:#1776ad;letter-spacing:.12em;margin:0 0 12px}
.tour-heading h2{font-size:clamp(32px,3.9vw,52px);font-weight:500;letter-spacing:-.035em;line-height:1.12;margin:0 0 15px;color:#163d5b}
.tour-heading>div>p:last-child{font-size:17px;line-height:1.7;color:#547084;margin:0;max-width:720px}
.tour-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.factory-tour .equipment{margin:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:transparent}
.factory-tour .equipment-image{display:flex;align-items:center;justify-content:center;padding:18px;height:310px;background:#e7edf1;box-sizing:border-box}
.factory-tour .equipment-image img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;filter:none;transition:none}
.factory-tour .equipment:hover img{transform:none}
.factory-tour .equipment figcaption{display:block;padding:19px 0 0;border:0;min-height:0}
.factory-tour .equipment figcaption>span{display:none}
.factory-tour .equipment-copy h3{font-size:22px;font-weight:500;line-height:1.35;margin:0 0 8px;color:#163e5d}
.factory-tour .equipment-copy p{font-size:16px;line-height:1.6;color:#557084;margin:0}
.polishing-stage .equipment:first-child{grid-column:span 1}
.polishing-stage .equipment:first-child .equipment-image{height:390px;padding:0;background:#d6e6f0}
.polishing-stage .equipment:first-child img{width:100%;height:100%;object-fit:contain}
.polishing-stage .equipment:nth-child(2){align-self:center}
.coating-stage{max-width:none;background:#0c2e4a;color:white;position:relative}
.coating-stage .tour-heading h2,.coating-stage .equipment-copy h3{color:white}
.coating-stage .tour-heading .eyebrow{color:#87d4fa}
.coating-stage .tour-heading>div>p:last-child,.coating-stage .equipment-copy p{color:#c4dae8}
.coating-stage .tour-number{color:#456f8c}
.coating-stage .tour-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
.coating-stage .equipment-image{background:#f0f4f6;height:310px;padding:18px}
.cleaning-stage{display:grid;grid-template-columns:.9fr 1.1fr;gap:5%;align-items:center;background:#dff0fa;max-width:none}
.cleaning-stage .tour-heading{margin:0;grid-template-columns:50px 1fr}
.cleaning-stage .tour-number{font-size:36px;color:#72a9c7}
.cleaning-stage .tour-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cleaning-stage .equipment-image{height:250px;background:#f4fafc;padding:12px}
.cleaning-stage .equipment-copy h3{font-size:20px}
.inspection-stage .tour-gallery{grid-template-columns:repeat(12,minmax(0,1fr));gap:28px 22px}
.inspection-stage .equipment{grid-column:span 3}
.inspection-stage .equipment:nth-child(-n+2){grid-column:span 6}
.inspection-stage .equipment-image{height:260px;background:white;border-bottom:2px solid #c8e4f4}
.inspection-stage .equipment:nth-child(-n+2) .equipment-image{height:340px}
.inspection-stage .equipment-copy h3{font-size:20px}
.tour-close{margin:0 7% 60px;padding:35px 40px;background:#c6eafa;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
.tour-close h2{font-size:clamp(28px,3vw,40px);font-weight:500;letter-spacing:-.025em;line-height:1.15;margin:0;color:#103c5c}
.tour-close p{font-size:17px;line-height:1.6;color:#3e627b;margin:0 0 18px}
.tour-close a{font-size:17px;color:#104b76;display:inline-block;border-bottom:1px solid #5b96b9;padding-bottom:8px}
@media(min-width:1600px){.factory-entry{max-width:1600px;margin:auto}.coating-stage,.cleaning-stage{padding-left:max(7%,calc((100vw - 1376px)/2));padding-right:max(7%,calc((100vw - 1376px)/2))}}
@media(max-width:1000px){.entry-copy{padding:45px 10%}.entry-photo img{height:500px}.entry-photo figcaption{display:block}.entry-photo figcaption strong{display:block;margin-top:8px}.coating-stage .equipment-image{height:250px}.cleaning-stage{display:block}.cleaning-stage .tour-heading{margin-bottom:28px}.inspection-stage .equipment{grid-column:span 6}.tour-stage{padding:45px 6%}}
@media(max-width:650px){.factory-entry{grid-template-columns:1fr;min-height:0}.entry-copy{padding:38px 7%}.entry-copy h1{font-size:54px}.tour-nav{margin-bottom:24px}.entry-photo img{height:330px;object-position:center 42%}.entry-photo figcaption{padding:18px 24px;display:flex}.entry-photo figcaption strong{font-size:16px;margin:0}.tour-heading{grid-template-columns:40px 1fr;gap:16px}.tour-number{font-size:32px}.tour-stage{padding:38px 7%}.tour-gallery,.coating-stage .tour-gallery,.cleaning-stage .tour-gallery{grid-template-columns:1fr}.polishing-stage .equipment:first-child .equipment-image{height:300px}.factory-tour .equipment-image{height:280px}.coating-stage .equipment-image{height:280px}.inspection-stage .tour-gallery{grid-template-columns:1fr}.inspection-stage .equipment,.inspection-stage .equipment:nth-child(-n+2){grid-column:span 1}.inspection-stage .equipment:nth-child(-n+2) .equipment-image{height:280px}.tour-close{grid-template-columns:1fr;padding:26px;margin:0 7% 38px;gap:20px}.equipment-copy h3{font-size:21px}}

.entry-photo{background:#e6eef4;justify-content:center}
.entry-photo img{height:450px;object-fit:contain;padding:24px;box-sizing:border-box}
.inspection-stage .equipment:nth-child(n+3){grid-column:span 4}
@media(max-width:1000px){.inspection-stage .equipment:nth-child(n+3){grid-column:span 6}}
@media(max-width:650px){.entry-photo img{height:260px;padding:14px}.inspection-stage .equipment:nth-child(n+3){grid-column:span 1}}

/* Uniform equipment-photo frames throughout the process chapters. */
.factory-tour .tour-stage{display:block}
.factory-tour .tour-gallery,.factory-tour .coating-stage .tour-gallery,.factory-tour .cleaning-stage .tour-gallery,.factory-tour .inspection-stage .tour-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
.factory-tour .tour-stage .equipment:nth-child(n){grid-column:auto;align-self:start;display:block}
.factory-tour .tour-stage .equipment:nth-child(n) .equipment-image{width:100%;height:auto;aspect-ratio:4/3;padding:0;background:#eef3f6;border:0}
.factory-tour .tour-stage .equipment:nth-child(n) .equipment-image img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center}
.factory-tour .cleaning-stage .tour-heading{margin-bottom:32px}
.factory-tour .tour-stage .equipment figcaption{padding:20px 0 0}
@media(max-width:1000px){.factory-tour .tour-gallery,.factory-tour .coating-stage .tour-gallery,.factory-tour .cleaning-stage .tour-gallery,.factory-tour .inspection-stage .tour-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.factory-tour .tour-gallery,.factory-tour .coating-stage .tour-gallery,.factory-tour .cleaning-stage .tour-gallery,.factory-tour .inspection-stage .tour-gallery{grid-template-columns:1fr}}

/* Branded architectural concept forms the decorative opening backdrop. */
.factory-entry{position:relative;isolation:isolate;display:block;min-height:560px;background:#0b3655}
.building-visual{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.factory-entry:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,30,50,.84),rgba(4,30,50,.52) 36%,rgba(4,30,50,.06) 72%)}
.entry-copy{background:none;min-height:560px;width:53%;box-sizing:border-box;padding:55px 6% 45px 7%}
@media(max-width:1000px){.entry-copy{width:60%;padding:42px 6%}.factory-entry,.entry-copy{min-height:500px}}
@media(max-width:650px){.factory-entry,.entry-copy{min-height:480px}.entry-copy{width:100%;padding:36px 7%}.building-visual{object-position:63% center}.factory-entry:after{background:linear-gradient(90deg,rgba(4,30,50,.86),rgba(4,30,50,.48))}.entry-copy h1{font-size:48px}}
