/* Shared IYARA layout and typography system. */
/* Colors on dark enquiry surfaces are explicit for every text element. */
body[data-layout=home] #contact :is(address,legend,.privacy-note,.privacy-link){color:#f7f6f1!important;opacity:1!important}body[data-layout=home] #contact .contact-channel{background:#f0eee5!important;color:#20372d!important;border-radius:10px!important;box-shadow:none!important}body[data-layout=home] #contact .contact-email{background:transparent!important;border:1px solid #ffffff66!important;color:#f7f6f1!important;border-radius:10px!important}body[data-layout=home] #contact .quote-secondary button{background:#f0eee5!important;color:#20372d!important}body[data-layout=home] #contact .line-phone-contact button{color:#f7f6f1!important}
body[data-layout=home] #standards .certificate-card{box-shadow:none!important;border-radius:12px!important;transform:none!important}body[data-layout=home] #gallery .album-button{box-shadow:none!important;border-radius:12px!important}body[data-layout=home] .timeline article{box-shadow:none!important;background:transparent!important;border-radius:0!important}body[data-layout=home] #videos{border-radius:0!important}
:root{--paper:#f7f6f1;--ink:#20372d;--muted:#5b6b61;--rule:#d5dacf;--space:clamp(24px,5.5vw,88px)}
html{scroll-padding-top:112px;text-size-adjust:100%}body{background:var(--paper)!important;color:var(--ink);font:16px/1.85 'Inter','Noto Sans Thai',sans-serif}body *,body *::before,body *::after{box-sizing:border-box}body :is(h1,h2,h3,h4,p,li,a,button,input,select,textarea,summary,label){font-family:'Inter','Noto Sans Thai',sans-serif!important}body[data-layout] main h2{font-size:clamp(28px,2.8vw,40px)!important;line-height:1.55!important;letter-spacing:-.015em!important;font-weight:500!important;margin:0 0 24px}body[data-layout] main h3{font-size:21px;line-height:1.65!important;font-weight:500!important;letter-spacing:0!important}body[data-layout] main p{font-size:16px!important;line-height:1.9!important}body[data-layout] main .eyebrow{font-size:11px!important;letter-spacing:.1em!important;color:var(--muted)!important}body[data-layout] main section[id]{scroll-margin-top:112px}body[data-layout] :is(a,button,input,summary):focus-visible{outline:2px solid #a48a51;outline-offset:5px}body[data-layout] main .button{border-radius:9px!important;box-shadow:none!important;font-size:14px!important;line-height:1.7!important;white-space:normal;min-height:46px}
/* Navigation occupies its own space instead of covering page content. */
body[data-layout=home] header{position:sticky!important;top:0!important;left:auto!important;right:auto!important;width:100%!important;max-width:none!important;margin:0!important;transform:none!important;border-radius:0!important;padding:16px var(--space)!important;min-height:94px;background:#20372d!important;border-bottom:1px solid #ffffff20;box-shadow:none!important;z-index:100}body[data-layout=home] header .brand{flex:0 0 auto;min-width:0}body[data-layout=home] header .iyara-brand img{width:120px!important;height:auto!important;max-height:62px;object-fit:contain}body[data-layout=home] header .language-switch{flex-shrink:0;margin:0!important}body[data-layout=home] header nav{gap:18px!important;min-width:0}body[data-layout=home] header nav a{font-size:13px!important;line-height:1.6!important;white-space:nowrap}body[data-layout=home] header .nav-cta{border-radius:8px!important;background:#cfbb8a!important;color:#20372d!important;box-shadow:none!important}
body[data-layout=home] main>.section,body[data-layout=home] #about{padding:76px var(--space)!important;margin:0!important;height:auto!important;min-height:0!important}body[data-layout=home] .section-heading{display:flex!important;align-items:end!important;justify-content:space-between;flex-direction:row;gap:24px!important;margin:0 0 36px!important;padding:0 0 24px!important;border-bottom:1px solid var(--rule)!important}body[data-layout=home] .section-heading h2{margin:0!important}body[data-layout=home] .section-heading>p{margin:0!important;max-width:440px!important}
/* Project cards size to their image and caption, with no stagger or 100% height. */
body[data-layout=home] #portfolio .project-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;align-items:start!important;gap:40px 32px!important;margin:0!important;padding:0!important;height:auto!important}body[data-layout=home] #portfolio .project-card{display:flex!important;flex-direction:column!important;align-self:start!important;position:relative!important;min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;transform:none!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;text-align:left!important;text-decoration:none}body[data-layout=home] #portfolio .project-card>img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;max-height:none!important;object-fit:cover!important;border-radius:12px!important;margin:0!important;transform:none!important}body[data-layout=home] #portfolio .project-info{position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;align-items:start!important;gap:16px!important;min-height:0!important;height:auto!important;width:100%!important;padding:20px 0 0!important;margin:0!important;background:transparent!important;border:0!important;color:var(--ink)!important}body[data-layout=home] #portfolio .project-info h3{margin:0!important;font-size:20px!important;line-height:1.7!important;min-width:0;color:var(--ink)!important;opacity:1!important}body[data-layout=home] #portfolio .project-info>b{position:static!important;width:24px!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important;border-radius:0!important;color:var(--ink)!important;font:20px/1.7 'Inter',sans-serif!important}body[data-layout=home] #portfolio .portfolio-drawer{clear:both;margin:40px 0 0!important;padding:0!important;border:1px solid var(--rule)!important;background:transparent!important;border-radius:12px!important;box-shadow:none!important;position:relative}body[data-layout=home] #portfolio .portfolio-drawer summary{padding:22px 24px!important;min-height:66px;display:flex;align-items:center;gap:20px;line-height:1.7}body[data-layout=home] #portfolio .portfolio-drawer summary small{margin-left:auto;white-space:nowrap}body[data-layout=home] #portfolio .portfolio-drawer-body{padding:24px!important}
/* Manufacturing, project enquiry and company content. */
body[data-layout=home] .workshop-intro{background:var(--paper)!important}body[data-layout=home] .workshop-intro>div{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}body[data-layout=home] .workshop-location{font-size:12px!important;color:var(--muted)!important;margin-bottom:32px}body[data-layout=home] #factory{background:#e9ece4!important}body[data-layout=home] #factory .facility-grid{display:grid!important;grid-template-columns:1.3fr 1fr!important;gap:32px!important;align-items:start!important}body[data-layout=home] #factory .facility-grid>button{display:block!important;min-width:0;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:left;transform:none!important}body[data-layout=home] #factory .facility-grid img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover!important;border-radius:12px!important}body[data-layout=home] #factory :is(h2,h3,p,a,span){color:var(--ink)!important;opacity:1!important}body[data-layout=home] #factory .project-info{position:static!important;display:block!important;padding:20px 0!important;height:auto!important;min-height:0!important}body[data-layout=home] #factory h3{margin:0 0 10px!important}body[data-layout=home] #videos{background:#20372d!important;color:#f7f6f1!important}body[data-layout=home] #videos :is(h2,p,a){color:#f7f6f1!important}body[data-layout=home] #about{gap:64px!important;align-items:center!important;background:var(--paper)!important}body[data-layout=home] #about .about-monogram{background:transparent!important;box-shadow:none!important;border:0!important}body[data-layout=home] #about :is(h2,p){color:var(--ink)!important}body[data-layout=home] #about .about-tags{display:none}body[data-layout=home] .steps{gap:24px!important}body[data-layout=home] .steps>div{background:transparent!important;box-shadow:none!important;border:0!important;border-top:1px solid var(--rule)!important;border-radius:0!important;padding:24px 0!important}body[data-layout=home] #after-sales{background:#e9ece4!important;padding:64px var(--space)!important}body[data-layout=home] #after-sales article{box-shadow:none!important;border:0!important;background:transparent!important;border-top:1px solid #c7cec2!important;border-radius:0!important;padding:24px 0!important}body[data-layout=home] #after-sales :is(h2,h3,p){color:var(--ink)!important;opacity:1!important}body[data-layout=home] #contact{background:#20372d!important;color:#f7f6f1!important;gap:40px!important;border-radius:0!important}body[data-layout=home] #contact :is(h2,h3,p,label,a){color:#f7f6f1!important}body[data-layout=home] #contact .line-phone-contact{grid-column:1/-1!important;min-width:0;color:var(--ink)!important;background:var(--paper)!important}body[data-layout=home] #contact .line-phone-contact :is(p,a){color:var(--ink)!important}body[data-layout=home] #contact :is(input,textarea,select){border-radius:8px!important;background:#fff!important;color:var(--ink)!important;font-size:16px!important;max-width:100%;min-width:0}
/* OEM and hardware remain part of the same visual system. */
#oem-hardware{display:block!important;position:relative;max-width:100%;height:auto!important;min-height:0!important;margin:0!important;padding:72px var(--space)!important;background:var(--paper)!important;color:var(--ink)!important}#oem-hardware :is(h2,h3,p,a){color:var(--ink)!important;opacity:1!important}#oem-hardware .oem-heading{max-width:920px;margin:0 0 40px}#oem-hardware .oem-services{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 48px;align-items:start}#oem-hardware article{position:static!important;display:block;min-width:0;height:auto!important;margin:0!important;padding:24px 0 0!important;transform:none!important;border-top:1px solid var(--rule)}#oem-hardware article:last-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.6fr);gap:32px}#oem-hardware h3{font-size:21px!important;margin:0 0 16px!important}#oem-hardware article p{margin:0!important}#oem-hardware .oem-note{max-width:920px;margin:36px 0 0!important;font-size:15px!important}#oem-hardware .oem-actions{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:24px}#oem-hardware .oem-actions a{min-height:48px;display:inline-flex;align-items:center;line-height:1.7;padding:8px 0;text-decoration:underline;text-underline-offset:6px}
/* Shared product, project, certificate and guide pages. */
body[data-layout=content] header{border-radius:0!important;margin:0!important;max-width:none;padding:20px var(--space);background:#20372d;box-shadow:none!important}body[data-layout=content] header .brand img{border-radius:6px!important;width:124px;height:58px}body[data-layout=content] main{max-width:1280px;padding:40px var(--space);margin:auto}body[data-layout=content] main>section{padding:48px 0;height:auto;min-width:0}body[data-layout=content] main h1{font-size:clamp(32px,4vw,56px)!important;line-height:1.5!important;font-weight:500;letter-spacing:-.02em!important;margin:0 0 24px}body[data-layout=content] .product-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}body[data-layout=content] .product-hero figure{border-radius:12px!important;background:#e9ece4;padding:20px}body[data-layout=content] .product-hero img{height:auto!important;width:100%;max-height:480px;object-fit:contain;border-radius:8px}body[data-layout=content] :is(.product-card,.project-preview){box-shadow:none!important;background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;min-width:0;height:auto!important;transform:none!important}body[data-layout=content] :is(.product-card,.project-preview) img{border-radius:12px!important}body[data-layout=content] .product-card h2{font-size:22px!important;line-height:1.65!important;margin:20px 0 12px!important}body[data-layout=content] .product-card p{font-size:15px!important}body[data-layout=content] :is(.product-grid,.project-preview-grid){gap:40px 28px!important;align-items:start!important}body[data-layout=content] .project-preview>div{padding:20px 0!important}body[data-layout=content] .selection-grid article{border:0!important;border-top:1px solid var(--rule)!important;border-radius:0!important;background:transparent!important;padding:24px 0!important;box-shadow:none!important}body[data-layout=content] .specs li{border:0;border-bottom:1px solid var(--rule);border-radius:0;background:transparent;padding:18px 0}body[data-layout=content] .contact{padding:36px!important;background:#e9ece4!important;border-radius:14px!important;box-shadow:none!important}body[data-layout=content] .contact .actions{gap:16px;flex-wrap:wrap}body[data-layout] main details{box-shadow:none!important;border-radius:12px!important}body[data-layout=content] .project-main-photo{padding:0!important;background:transparent;border-radius:12px}body[data-layout=content] .project-main-photo img{width:100%;height:auto;max-height:640px;object-fit:contain;border-radius:12px}body[data-layout=content] .project-photo-grid img{border-radius:12px}body[data-layout] footer{box-shadow:none!important;gap:24px;flex-wrap:wrap}body[data-layout=home] footer{padding:56px var(--space)!important}
@media(max-width:1199px){body[data-layout=home] header .menu{display:block!important;margin-left:auto}body[data-layout=home] header nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;background:#20372d!important;border:0!important;border-top:1px solid #ffffff30!important;padding:24px var(--space)!important;flex-direction:column!important;align-items:stretch!important;gap:20px!important;max-height:calc(100dvh - 90px);overflow:auto}body[data-layout=home] header nav.open{display:flex!important}body[data-layout=home] header .language-switch{margin-left:auto!important}body[data-layout=home] header .menu{margin-left:18px!important}}
@media(max-width:899px){body[data-layout=home] main>.section,body[data-layout=home] #about{padding:56px 24px!important}body[data-layout=home] .workshop-intro>div{grid-template-columns:1fr;gap:24px}body[data-layout=home] #factory .facility-grid{grid-template-columns:1fr!important}body[data-layout=home] #portfolio .project-grid{gap:32px 24px!important}#oem-hardware{padding:48px 24px!important}#oem-hardware .oem-services{grid-template-columns:1fr;gap:28px}#oem-hardware article:last-child{display:block;grid-column:auto}body[data-layout=content] .product-hero{gap:28px}body[data-layout=content] header .brand span{display:none}}
@media(max-width:700px){html{scroll-padding-top:90px;scroll-padding-bottom:90px}body[data-layout=home] header{padding:12px 20px!important;min-height:78px;gap:12px!important}body[data-layout=home] header .iyara-brand img{width:98px!important;max-height:52px}body[data-layout=home] header .language-switch{margin-left:auto!important}body[data-layout=home] header .menu{margin-left:0!important}body[data-layout] main section[id]{scroll-margin-top:90px}body[data-layout=home] main>.section,body[data-layout=home] #about{padding:44px 22px!important}body[data-layout] main h2{font-size:28px!important;line-height:1.6!important}body[data-layout] main h3{font-size:19px!important}body[data-layout=home] .section-heading{align-items:start!important;flex-direction:column!important;gap:20px!important;margin-bottom:28px!important}body[data-layout=home] #portfolio .project-grid{grid-template-columns:minmax(0,1fr)!important;gap:32px!important}body[data-layout=home] #portfolio .project-info{padding-top:16px!important}body[data-layout=home] #portfolio .project-info h3{font-size:19px!important}body[data-layout=home] #portfolio .portfolio-drawer{margin-top:32px!important}body[data-layout=home] #portfolio summary{padding:18px!important}body[data-layout=home] #portfolio .portfolio-drawer-body{padding:18px!important}body[data-layout=home] #about{display:grid!important;grid-template-columns:1fr!important;gap:32px!important}body[data-layout=home] #contact{grid-template-columns:minmax(0,1fr)!important;gap:32px!important}body[data-layout=home] #contact>*,body[data-layout=home] #contact form>*{min-width:0}body:has(.mobile-contact){padding-bottom:88px!important}.mobile-contact{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}#oem-hardware .oem-actions{flex-direction:column;gap:4px}body[data-layout=content] main{padding:28px 22px}body[data-layout=content] main>section{padding:36px 0}body[data-layout=content] .product-hero{grid-template-columns:minmax(0,1fr);gap:28px}body[data-layout=content] :is(.product-grid,.project-preview-grid,.selection-grid,.detail-gallery){grid-template-columns:minmax(0,1fr)!important;gap:28px!important}body[data-layout=content] header{padding:14px 20px;flex-wrap:wrap;gap:14px}body[data-layout=content] header .brand img{width:100px;height:48px}body[data-layout=content] header nav{width:100%;justify-content:space-between;gap:10px;flex-wrap:wrap}body[data-layout=content] header nav a{font-size:13px!important}body[data-layout=content] .contact{padding:24px!important}body[data-layout=content] .contact .actions{align-items:stretch;flex-direction:column}body[data-layout=content] dl{grid-template-columns:minmax(0,1fr);gap:6px}body[data-layout=content] dd{margin-bottom:16px}body[data-layout=content] .certificate{grid-template-columns:minmax(0,1fr);gap:24px}body[data-layout=content] footer{padding:24px 22px 40px;flex-direction:column}}
