:root {
  --ink: #1e2520;
  --muted: #697267;
  --paper: #f8f5ee;
  --warm: #ede5d6;
  --sage: #657157;
  --sage-dark: #3f4a36;
  --line: rgba(45, 50, 42, 0.14);
  --white: #fffdf8;
  --shadow: 0 22px 60px rgba(35, 38, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
  padding: 0 clamp(20px, 5vw, 56px);
  background: rgba(253, 250, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand strong {
  display: block;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 30px;
}

.brand-mark span {
  position: absolute;
  left: 0;
  width: 46px;
  height: 3px;
  background: var(--sage);
  transform-origin: left center;
}

.brand-mark span:nth-child(1) {
  top: 4px;
  transform: rotate(-9deg);
}

.brand-mark span:nth-child(2) {
  top: 14px;
  transform: rotate(-3deg);
}

.brand-mark span:nth-child(3) {
  top: 24px;
  transform: rotate(6deg);
}

.nav-toggle {
  display: none;
}

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 10px;
  min-height: 88px;
  font-weight: 700;
}

.main-nav > a,
.nav-item > button {
  display: inline-flex;
  align-items: center;
  min-height: 88px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.nav-item > button::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.main-nav > a:hover,
.nav-item:hover > button,
.nav-item.is-open > button,
.nav-item > button:focus-visible {
  color: var(--sage-dark);
  background: var(--warm);
}

.mega-menu {
  position: absolute;
  top: 88px;
  left: 50%;
  width: min(1120px, calc(100vw - 48px));
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-grid {
  display: grid;
  gap: 0;
}

.product-grid {
  grid-template-columns: repeat(5, 1fr);
}

.product-grid article {
  display: flex;
  flex-direction: column;
  min-height: 338px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.product-grid article:last-child {
  border-right: 0;
}

.product-grid h3 {
  min-height: 58px;
  margin: 14px 0 16px;
  font-size: 1rem;
  line-height: 1.25;
}

.product-grid ul {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  color: #4d554d;
  font-size: 0.93rem;
  list-style: none;
}

.product-grid article > a,
.section-head a {
  margin-top: auto;
  color: var(--sage-dark);
  font-weight: 800;
}

.product-grid article > a::after,
.section-head a::after,
.quick-card::after {
  content: "→";
  margin-left: 9px;
}

.line-icon {
  position: relative;
  width: 58px;
  height: 46px;
  color: var(--sage);
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 3px solid currentColor;
}

.ceiling-tile::after {
  inset: 17px;
  border-width: 2px;
}

.floating::before {
  transform: rotate(45deg) skew(-10deg, -10deg);
}

.grid::before {
  background:
    linear-gradient(currentColor 0 0) 50% 0 / 3px 100% no-repeat,
    linear-gradient(currentColor 0 0) 0 50% / 100% 3px no-repeat;
  transform: perspective(40px) rotateX(22deg);
}

.wall::before {
  width: 11px;
  transform: translateX(-2px);
  box-shadow: 16px 0 0 -2px currentColor, 32px 0 0 -2px currentColor;
}

.wall::after,
.rails::after {
  display: none;
}

.rails::before {
  height: 18px;
  border-radius: 18px;
}

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #817254;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.solution-grid a,
.solutions-layout aside a {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  background: #f7f2e7;
  border: 1px solid var(--line);
}

.solution-grid strong,
.solutions-layout aside strong {
  font-size: 1rem;
}

.solution-grid span,
.solutions-layout aside span {
  color: var(--muted);
  font-size: 0.9rem;
}

.solutions-layout aside {
  display: grid;
  gap: 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(420px, 1.28fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 56px) 38px;
  background:
    radial-gradient(circle at 16% 24%, rgba(230, 219, 199, 0.7), transparent 32%),
    linear-gradient(110deg, #fbf7ee 0%, #f4ecdf 48%, #e5dfd2 100%);
  overflow: hidden;
}

.hero-copy {
  max-width: 560px;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 5.65rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 em {
  color: var(--sage-dark);
  font-style: italic;
  font-weight: 500;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 26px 0 0;
  color: #4f574e;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--sage-dark);
  font-weight: 800;
}

.button::after {
  content: "→";
  margin-left: 12px;
}

.button.primary {
  background: var(--sage-dark);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--sage-dark);
}

.hero-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 0 0 0 120px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.section {
  padding: clamp(48px, 7vw, 82px) clamp(20px, 5vw, 56px);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.12;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 35px rgba(35, 38, 30, 0.08);
}

.news-card summary {
  display: grid;
  gap: 12px;
  padding: 0 0 20px;
  cursor: pointer;
  list-style: none;
}

.news-card summary::-webkit-details-marker {
  display: none;
}

.news-card img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
}

.tag,
.news-card time,
.news-card strong,
.news-card p {
  margin-right: 22px;
  margin-left: 22px;
}

.tag {
  justify-self: start;
  padding: 5px 8px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tag.accent {
  background: #c48c4c;
}

.news-card time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.news-card strong {
  min-height: 58px;
  font-size: 1.13rem;
  line-height: 1.32;
}

.news-card p {
  margin-top: 0;
  color: var(--muted);
}

.news-card > a {
  display: inline-flex;
  margin: 0 22px 22px;
  color: var(--sage-dark);
  font-weight: 800;
}

.news-card > a::after {
  content: "→";
  margin-left: 9px;
}

.quick {
  padding-top: 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.quick-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 42%;
  gap: 18px;
  min-height: 210px;
  padding: 28px;
  overflow: hidden;
  background: #ede7d9;
  border: 1px solid var(--line);
}

.quick-card strong {
  grid-column: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.quick-card span:not(.quick-icon) {
  grid-column: 1;
  align-self: start;
  color: var(--muted);
}

.quick-card img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
}

.quick-card::after {
  grid-column: 1;
  align-self: end;
  color: var(--sage-dark);
  font-weight: 800;
}

.quick-icon {
  position: relative;
  width: 34px;
  height: 34px;
  border: 2px solid var(--sage-dark);
}

.quick-icon.building::before,
.quick-icon.doc::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid currentColor;
  color: var(--sage-dark);
}

.quick-icon.cube {
  transform: rotate(45deg);
}

.site-footer {
  padding: 38px clamp(20px, 5vw, 56px) 20px;
  background: #fbf8f1;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 1rem;
}

.footer-grid a:not(.brand):not(.button) {
  display: block;
  margin: 8px 0;
  color: #4f574e;
}

.footer-grid p {
  max-width: 260px;
  color: var(--muted);
}

.footer-brand strong {
  font-size: 1.45rem;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  transition: background 160ms ease, transform 160ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--sage-dark);
  transform: translateY(-1px);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.simple-nav .is-active {
  color: var(--sage-dark);
  background: var(--warm);
}

.sub-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 56px);
  background:
    radial-gradient(circle at 18% 16%, rgba(229, 218, 197, 0.72), transparent 34%),
    linear-gradient(110deg, #fbf7ee 0%, #f1e8da 100%);
}

.sub-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  font-weight: 500;
  line-height: 1;
}

.sub-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: #4f574e;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.sub-hero img {
  width: 100%;
  height: min(460px, 46vw);
  min-height: 320px;
  object-fit: cover;
  border-radius: 0 0 0 90px;
  box-shadow: var(--shadow);
}

.content-section {
  padding: clamp(48px, 7vw, 82px) clamp(20px, 5vw, 56px);
}

.content-grid,
.listing-grid {
  display: grid;
  gap: 24px;
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid article,
.listing-grid article,
.contact-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 35px rgba(35, 38, 30, 0.08);
}

.content-grid h2,
.listing-grid h2,
.contact-panel h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.content-grid p,
.listing-grid p,
.contact-panel p,
.article-copy p {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: center;
}

.contact-link {
  display: block;
  margin: 10px 0;
  color: var(--sage-dark);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 800;
}

.article-copy {
  max-width: 820px;
}

.article-copy p {
  font-size: 1.08rem;
}

.sub-hero--text {
  grid-template-columns: minmax(0, 1fr);
}

.sub-hero--text h1 {
  max-width: 900px;
}

.sub-hero--text a {
  color: var(--sage-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.legal-document h2 {
  margin: 2.6rem 0 0.85rem;
  font-size: 1.28rem;
  line-height: 1.25;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.legal-document p,
.legal-document li {
  font-size: 1.02rem;
}

.legal-document ul {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
  color: var(--muted);
}

.legal-document li + li {
  margin-top: 0.45rem;
}

.legal-document a {
  color: var(--sage-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.compact-footer {
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.5fr);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
  }

  .nav-toggle {
    display: inline-grid;
    grid-template-columns: 18px auto;
    align-items: center;
    gap: 4px 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-weight: 800;
  }

  .nav-toggle span {
    grid-column: 1;
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle span:first-child {
    margin-top: 1px;
  }

  .nav-toggle::after {
    grid-column: 2;
    grid-row: 1 / 4;
    content: "";
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    min-height: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav > a,
  .nav-item > button {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
  }

  .mega-menu {
    position: static;
    display: none;
    width: 100%;
    padding: 10px 0 16px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-item.is-open .mega-menu {
    display: block;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-grid article {
    min-height: auto;
    padding: 16px;
    border: 1px solid var(--line);
  }

  .product-grid h3 {
    min-height: 0;
  }

  .solutions-layout,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 48px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .news-grid,
  .quick-grid,
  .footer-grid,
  .content-grid,
  .listing-grid,
  .sub-hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .sub-hero img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .brand small {
    font-size: 0.6rem;
  }

  .brand-mark {
    width: 36px;
  }

  .brand-mark span {
    width: 34px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.5rem);
  }

  .hero-media {
    border-radius: 0 0 0 72px;
  }

  .section-head,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-card {
    grid-template-columns: 1fr;
    min-height: 260px;
  }

  .quick-card img {
    width: 44%;
    opacity: 0.88;
  }
}
