/* Homepage-only typography and detail study, based on the restored live site. */
body.home-refined {
  --home-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  --home-heading: clamp(36px, 2.8vw, 40px);
  --home-radius: 12px;
  --home-control-radius: 8px;
  font-family: var(--home-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.home-refined :is(button,input,select,textarea) { font-family: var(--home-font); }
body.home-refined ::selection { background: #a84132; color: #fff; }
body.home-refined :is(input,textarea) { caret-color: var(--bronze); }
body.home-refined :is(a,button,input,select,textarea):focus-visible { outline: 3px solid var(--bronze); outline-offset: 4px; }
body.home-refined a { text-underline-offset: 5px; }

/* A quieter navigation, with the original logo and header dimensions. */
body.home-refined .site-header { box-shadow: none; border-bottom: 1px solid #e7e7e7; }
body.home-refined .nav-list a { font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; }
body.home-refined .nav-list a[aria-current=page] { background: transparent; color: var(--bronze); }
body.home-refined .nav-list a:hover { background: #f7f7f7; color: var(--bronze); }
body.home-refined .menu-toggle { border: 0; border-radius: var(--home-control-radius); }

/* Preserve the existing photograph, composition and content hierarchy. */
body.home-refined .hero h1 { max-width: 850px; font-size: clamp(44px, 4vw, 58px); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
body.home-refined .hero-text { max-width: 650px; font-size: 17px; line-height: 1.6; font-weight: 400; }
body.home-refined .hero-actions { align-items: center; gap: 22px; margin-top: 28px; }
body.home-refined .hero-actions .button-primary { min-height: 46px; padding: 12px 20px; border: 0; border-radius: var(--home-control-radius); background: var(--bronze); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; }
body.home-refined .hero-actions .button-primary:hover { background: #893428; color: #fff; }
body.home-refined .hero-actions .button-ghost { min-height: 46px; margin-left: 0; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.7); border-radius: 0; font-size: 15px; font-weight: 500; color: #fff; }
body.home-refined .hero-actions .button-ghost:hover { background: transparent; border-bottom-color: #fff; color: #fff; }

body.home-refined :is(.section,.section .solutions-copy,.section .section-head,.section .company-copy) h2 {
  font-size: var(--home-heading); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance;
}
body.home-refined :is(.section-head>p,.solutions-copy>p:not(.eyebrow),.company-copy>p:not(.eyebrow),.why-work-heading>p,.home-process-heading>p) { font-size: 17px; font-weight: 400; line-height: 1.65; }
body.home-refined :is(.project-type-card-copy>span,.why-work-card p,.home-process-steps p,.journal-grid p,.home-contact-faq p) { font-size: 16px; font-weight: 400; line-height: 1.65; }
body.home-refined :is(.project-card h3,.why-work-card h3,.journal-grid h3) { font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
body.home-refined .home-process-steps h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
body.home-refined .section { padding-block: 88px; }
body.home-refined :is(.section-head,.why-work-heading,.home-process-heading) { margin-bottom: 36px; }
body.home-refined .company-manufacturing { padding-block: 64px; }
body.home-refined .company-manufacturing .company-layout { padding: 42px; border-radius: var(--home-radius); }
body.home-refined .company-facts-grid strong { font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body.home-refined .company-facts-grid span { font-size: 14px; }
body.home-refined .home-process-section { padding-block: 72px; }
body.home-refined .home-process-panel { padding: 40px 42px; }

/* Small shared adjustments, without adding new content or effects. */
body.home-refined :is(.furniture-scope-tile,.project-type-card,.project-card,.why-work-card,.journal-grid article,.contact-form-wrap) { border-radius: var(--home-radius); overflow: hidden; }
body.home-refined :is(.company-photo-main img,.company-photo-details img) { border-radius: 8px; }
body.home-refined .why-work-grid { gap: 20px; }
body.home-refined .why-work-card-copy { padding: 20px; }
body.home-refined .why-work-card p { margin-top: 12px; }
body.home-refined :is(.button,.text-link,.company-manufacturing .company-copy .text-link,.home-process-action) { gap: 9px; min-height: 46px; padding: 11px 18px; border-radius: var(--home-control-radius); font-size: 14px; font-weight: 600; line-height: 1.45; text-transform: none; letter-spacing: 0; transition: color .18s ease,background-color .18s ease,border-color .18s ease; }
body.home-refined .text-link span[aria-hidden=true] { font-size: 18px; font-weight: 400; }
body.home-refined .hero .hero-actions .button-ghost { border-radius: 0; }
body.home-refined .button-primary:hover { background: #893428; }
body.home-refined .dirani-form :is(input,select,textarea) { border-radius: var(--home-control-radius); font-size: 16px; }
body.home-refined .home-contact-faq h3 { font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }

@media (max-width: 1100px) and (min-width: 1001px) {
  body.home-refined .nav-list a { padding-inline: 10px; font-size: 13px; }
}
@media (max-width: 1000px) {
  body.home-refined .nav-list a { font-size: 16px; }
  body.home-refined .hero h1 { font-size: 46px; }
}
@media (max-width: 700px) {
  body.home-refined { --home-heading: 30px; }
  body.home-refined .section { padding-block: 60px; }
  body.home-refined :is(.section-head,.why-work-heading,.home-process-heading) { margin-bottom: 28px; }
  body.home-refined .hero h1 { max-width: 490px; font-size: 38px; letter-spacing: -.025em; line-height: 1.1; }
  body.home-refined .hero-text { font-size: 16px; }
  body.home-refined :is(.section-head>p,.solutions-copy>p:not(.eyebrow),.company-copy>p:not(.eyebrow),.why-work-heading>p,.home-process-heading>p) { font-size: 16px; }
  body.home-refined :is(.project-card h3,.why-work-card h3,.journal-grid h3) { font-size: 21px; }
  body.home-refined .company-manufacturing { padding-block: 44px; }
  body.home-refined .company-manufacturing .company-layout { padding: 26px 22px; }
  body.home-refined .company-facts-grid strong { font-size: 23px; }
  body.home-refined .home-process-panel { padding: 0; }
  body.home-refined .hero-actions { gap: 12px 20px; }
  body.home-refined .why-work-action { max-width: 100%; text-align: left; }
}
@media (max-width: 359px) {
  body.home-refined .hero h1 { font-size: 34px; }
  body.home-refined .hero-actions { gap: 8px 16px; }
  body.home-refined .hero-actions .button { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-refined *,body.home-refined *::before,body.home-refined *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
