/*
Theme Name: Solara Industry
Theme URI: https://test.solaraindustry.com/
Author: Solara Industry
Description: A lightweight B2B furniture website for Solara Industry.
Version: 1.6.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: solara
*/

:root {
  --ink: #1e1e1b;
  --muted: #69665f;
  --paper: #f2efe8;
  --paper-2: #e8e2d8;
  --white: #fff;
  --accent: #9b6247;
  --accent-dark: #704432;
  --line: rgba(30, 30, 27, .14);
  --shadow: 0 22px 70px rgba(35, 29, 23, .12);
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #faf9f6;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 112px 0; }
.section--compact { padding: 76px 0; }
.section--paper { background: var(--paper); }
.section--dark { color: #f6f2eb; background: #22211f; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section--dark .eyebrow { color: #d7a78f; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.08; font-weight: 500; }
h1, h2 { font-family: var(--serif); letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 7vw, 104px); }
h2 { font-size: clamp(38px, 5vw, 68px); }
h3 { font-size: clamp(23px, 2.5vw, 34px); }
p { margin: 0 0 1.35em; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(18px, 2vw, 24px); line-height: 1.55; }
.section--dark .lead { color: rgba(255,255,255,.72); }
.brand-endorsement {
  margin: -4px 0 22px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: .25s ease;
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn--light { color: var(--ink); background: var(--white); border-color: var(--white); }
.btn--outline { color: inherit; background: transparent; border-color: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.site-topline { padding: 7px 24px; color: rgba(255,255,255,.76); background: #1d1c1a; font-size: 11px; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(250,249,246,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; flex-direction: column; font-size: 25px; font-weight: 750; letter-spacing: .24em; line-height: 1; }
.wordmark small { margin-top: 7px; color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: .28em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a, .nav-drop > button { padding: 28px 0 26px; border: 0; background: none; color: var(--ink); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: 72px; left: -24px; display: grid; width: 270px; padding: 18px; background: var(--white); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop-menu a { padding: 11px 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
.nav-drop-menu a:last-child { border-bottom: 0; }
.header-cta { min-height: 44px; padding-inline: 19px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px auto; background: var(--ink); }

.hero { position: relative; min-height: calc(100vh - 113px); display: grid; align-items: center; overflow: hidden; color: var(--white); background: #1d1b18 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,17,15,.8) 0%, rgba(18,17,15,.38) 47%, rgba(18,17,15,.02) 78%); }
.hero-content { position: relative; z-index: 1; width: min(780px, 70%); padding: 120px 0; }
.hero h1 { max-width: 720px; }
.hero .lead { max-width: 650px; color: rgba(255,255,255,.82); }
.hero-note { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 8vw, 120px); align-items: center; }
.split-media { min-height: 560px; overflow: hidden; background: var(--paper-2); }
.split-media img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 27px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; margin-bottom: 5px; font-size: 14px; }
.fact span { color: var(--muted); font-size: 13px; }

.category-grid, .product-grid, .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.category-card, .product-card, .project-card { position: relative; overflow: hidden; background: var(--paper); }
.category-card { min-height: 570px; color: var(--white); }
.category-card img, .project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,17,15,.78), rgba(18,17,15,.02) 68%); }
.category-card-content { position: absolute; z-index: 2; right: 28px; bottom: 28px; left: 28px; }
.category-card h3 { font-family: var(--serif); font-size: 39px; }
.category-card p { margin-bottom: 0; color: rgba(255,255,255,.78); }
.category-card:hover img, .project-card:hover img { transform: scale(1.035); }
.card-link { display: inline-block; margin-top: 18px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 52px; background: rgba(255,255,255,.14); }
.value-card { padding: 48px; background: #22211f; }
.value-number { display: block; margin-bottom: 36px; color: #d7a78f; font-family: var(--serif); font-size: 31px; }
.value-card p { margin-bottom: 0; color: rgba(255,255,255,.66); }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 46px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-step { min-height: 185px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-step span { display: block; margin-bottom: 32px; color: var(--accent); font-size: 12px; letter-spacing: .12em; }
.process-step h3 { margin-bottom: 8px; font-size: 21px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 360px; }
.project-card { grid-column: auto; grid-row: auto; }
.project-label { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 18px 20px; background: rgba(250,249,246,.92); backdrop-filter: blur(10px); }
.project-label strong { display: block; font-size: 15px; }
.project-label span { color: var(--muted); font-size: 12px; }
.manufacturing-media img,
.manufacturing-gallery .project-card img { filter: grayscale(1) sepia(.22) saturate(.75) contrast(1.04); }

.about-offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 52px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.about-offer-card { min-height: 220px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-offer-card--intro { background: var(--accent-dark); color: var(--white); }
.about-offer-card span { display: block; margin-bottom: 54px; color: var(--accent); font-size: 11px; letter-spacing: .12em; }
.about-offer-card--intro span { color: #d7a78f; }
.about-offer-card h3 { margin: 0; font-size: 20px; }
.about-offer-card p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.about-offer-card--intro p { color: rgba(255,255,255,.72); }

.cta-band { padding: 90px 0; color: var(--white); background: var(--accent-dark); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.cta-inner h2 { max-width: 820px; margin-bottom: 0; }

.page-hero { padding: 128px 0 88px; background: var(--paper); }
.page-hero .lead { max-width: 820px; }
.breadcrumbs { margin-bottom: 34px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.breadcrumbs a { border-bottom: 1px solid var(--line); }

.product-grid { gap: 30px; }
.product-card { background: var(--white); border: 1px solid var(--line); }
.product-card-image { aspect-ratio: 4/3; overflow: hidden; background: var(--paper); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-card-body { padding: 25px; }
.product-card-meta { margin-bottom: 10px; color: var(--accent); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 30px; }
.product-card p { color: var(--muted); font-size: 14px; }

.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-row .card-link { flex: 0 0 auto; margin-bottom: 10px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.news-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.news-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-card-image img { transform: scale(1.035); }
.news-card-image--empty { display: grid; place-items: center; color: var(--accent); font-family: var(--serif); font-size: 28px; }
.news-card-body { padding: 28px; }
.news-meta { display: block; margin-bottom: 13px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.news-card h2, .news-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: clamp(27px, 2.5vw, 34px); }
.news-card p { color: var(--muted); font-size: 14px; }
.news-empty { padding: 48px; background: var(--paper); }
.news-empty h2 { font-size: 38px; }
.news-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.news-pagination .page-numbers { min-width: 42px; padding: 8px 13px; border: 1px solid var(--line); text-align: center; }
.news-pagination .current, .news-pagination a:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.news-article { padding: 70px 0 112px; }
.news-article-header { max-width: 980px; margin-bottom: 55px; }
.news-article-header h1 { font-size: clamp(48px, 7vw, 88px); }
.news-article-lead { max-width: 820px; color: var(--muted); font-size: clamp(19px, 2vw, 25px); }
.news-featured-image { max-height: 760px; margin-bottom: 70px; overflow: hidden; background: var(--paper); }
.news-featured-image img { width: 100%; max-height: inherit; object-fit: cover; }
.news-article-content { max-width: 820px; margin-inline: auto; }
.news-article-content h2 { margin-top: 1.2em; font-size: clamp(34px, 4vw, 52px); }
.news-article-content h3 { margin-top: 1.5em; font-size: 28px; }
.news-article-content p, .news-article-content li { color: #45423d; font-size: 18px; }
.news-article-content img { margin: 42px auto; }
.news-back-link { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }

.product-detail { padding: 70px 0 112px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.product-main-image { aspect-ratio: 4/3; overflow: hidden; background: var(--paper); }
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.product-thumb { padding: 0; border: 1px solid transparent; aspect-ratio: 4/3; overflow: hidden; background: var(--paper); cursor: pointer; }
.product-thumb.is-active { border-color: var(--ink); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-copy { position: sticky; top: 120px; }
.product-copy h1 { font-size: clamp(46px, 5vw, 72px); }
.product-model { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.product-subtitle { color: var(--muted); font-size: 20px; }
.spec-list { margin: 35px 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 145px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; }
.product-story { max-width: 820px; margin: 90px auto 0; }

.form-wrap { padding: clamp(28px, 5vw, 56px); background: var(--paper); }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(155,98,71,.12); }
.field textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.form-status { margin-bottom: 24px; padding: 14px 18px; background: #f7e6df; border-left: 3px solid var(--accent); }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.contact-detail { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-detail small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail a, .contact-detail span { font-size: 18px; }

.site-footer { padding: 72px 0 28px; color: rgba(255,255,255,.72); background: #1d1c1a; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.site-footer .wordmark { color: var(--white); }
.footer-intro { max-width: 390px; margin-top: 25px; }
.footer-heading { margin-bottom: 18px; color: var(--white); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 55px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .main-nav { position: fixed; top: 110px; right: 0; left: 0; display: none; max-height: calc(100vh - 110px); padding: 24px; overflow: auto; background: #faf9f6; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-drop > button { width: 100%; padding: 16px 0; text-align: left; border-bottom: 1px solid var(--line); }
  .nav-drop-menu { position: static; display: grid; width: auto; padding: 0 0 8px 18px; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .hero-content { width: min(760px, 85%); }
  .split { gap: 48px; }
  .category-grid, .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card:last-child { grid-column: 1 / -1; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-layout { grid-template-columns: 1fr; }
  .product-copy { position: static; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 78px 0; }
  .site-topline { font-size: 9px; }
  .header-inner { min-height: 68px; }
  .wordmark { font-size: 20px; }
  .header-cta { display: none; }
  .main-nav { top: 100px; }
  .hero { min-height: 720px; background-position: 63% center; }
  .hero::before { background: linear-gradient(90deg, rgba(18,17,15,.82), rgba(18,17,15,.32)); }
  .hero-content { width: 100%; padding: 100px 0 80px; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 390px; order: -1; }
  .category-grid, .product-grid, .news-grid, .values-grid, .process-grid, .inquiry-form, .contact-grid, .about-offer-grid { grid-template-columns: 1fr; }
  .category-card, .category-card:last-child { min-height: 470px; grid-column: auto; }
  .value-card { padding: 35px 28px; }
  .process-grid { border-left: 1px solid var(--line); }
  .project-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 340px; }
  .project-card, .project-card:nth-child(n) { grid-column: auto; grid-row: auto; }
  .cta-inner { align-items: start; flex-direction: column; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 10px; }
  .page-hero { padding: 90px 0 62px; }
  .spec-row { grid-template-columns: 110px 1fr; }
  .field--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
