:root {
  --ink: #45484d;
  --muted: #73787e;
  --teal: #214f54;
  --teal-dark: #153b3f;
  --blue: #2727ee;
  --paper: #fff;
  --soft: #f5f6f5;
  --line: rgba(69, 72, 77, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: -4rem;
  left: 1rem;
  padding: .6rem .9rem;
  color: #fff;
  background: var(--teal-dark);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100px;
  padding: 12px 30px;
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(255,255,255,.45);
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 145px; height: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.15vw, 38px); margin-left: auto; }
.site-nav a {
  position: relative;
  padding: 12px 0 11px;
  color: #3d4146;
  font-family: "Lato", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
  white-space: nowrap;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  height: min(100vh, 800px);
  overflow: hidden;
  background: #e6e5df;
}
.hero-image {
  position: absolute;
  inset: 0;
  background: url("assets/zemin-kaplama-hero.jpg") center top / cover no-repeat;
}
.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.02) 35%, rgba(255,255,255,.13) 100%);
  content: "";
  pointer-events: none;
}
.hero::before {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 0;
  display: grid;
  width: 26px;
  height: 110px;
  color: #fff;
  background: rgba(28, 67, 72, .78);
  content: "‹";
  font: 44px/1 "Lato", sans-serif;
  place-items: center;
  transform: translateY(-50%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: end;
  width: min(47vw, 700px);
  margin: 100px clamp(40px, 9vw, 166px) 0 0;
  color: var(--ink);
  text-align: left;
}
.hero-line { display: block; width: 102px; height: 3px; margin: 0 0 7px 8px; background: var(--ink); }
.hero-light, .hero-copy h1, .hero-subtitle { margin: 0; font-family: "Lato", Arial, sans-serif; }
.hero-light {
  font-size: clamp(62px, 8vw, 116px);
  font-weight: 300;
  line-height: .78;
  letter-spacing: -.065em;
}
.hero-copy h1 {
  margin-left: -.07em;
  font-size: clamp(74px, 9.8vw, 146px);
  font-weight: 900;
  line-height: .87;
  letter-spacing: -.077em;
}
.hero-line-short { width: 102px; margin: 25px 0 18px 8px; }
.hero-subtitle { font-size: clamp(23px, 2.4vw, 36px); font-weight: 300; letter-spacing: -.035em; }
.hero-scroll {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 25px;
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  place-items: center;
  transform: translateX(50%);
}
.hero-scroll span { width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); }

.section { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.section-wide { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.intro { display: grid; grid-template-columns: minmax(280px, .88fr) minmax(360px, 1fr); gap: clamp(48px, 9vw, 160px); padding: 116px 0 105px; }
.eyebrow { margin: 0 0 14px; color: var(--teal); font-family: "Lato", Arial, sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .28em; }
.section-heading h2, .references h2, .contact h2 { margin: 0; color: var(--ink); font-family: "Lato", Arial, sans-serif; font-size: clamp(35px, 4.1vw, 62px); font-weight: 300; line-height: 1.05; letter-spacing: -.045em; }
.section-heading h2 strong, .contact h2 strong { font-weight: 900; }
.intro-copy { max-width: 560px; padding-top: 8px; }
.intro-copy p { margin: 0 0 1.15em; color: #5b6065; }
.text-link, .outline-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 14px; color: var(--teal); font-family: "Lato", Arial, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.text-link span { font-size: 20px; line-height: 1; }

.services { padding: 104px 0 112px; border-top: 1px solid #e5e7e6; }
.section-heading-centered { max-width: 690px; margin: 0 auto 50px; text-align: center; }
.section-heading-centered h2 { font-size: clamp(42px, 5vw, 65px); }
.section-heading-centered > p:last-child { max-width: 510px; margin: 18px auto 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { overflow: hidden; background: #f6f6f5; }
.service-card img { width: 100%; height: 278px; object-fit: cover; filter: saturate(.88); transition: transform .5s ease; }
.service-card:hover img { transform: scale(1.035); }
.service-card-body { position: relative; padding: 26px 28px 31px; }
.service-card-body span { position: absolute; top: 28px; right: 28px; color: #a8acad; font-family: "Lato", Arial, sans-serif; font-size: 13px; letter-spacing: .12em; }
.service-card h3, .service-list h3, .blog-card h3 { margin: 0 0 8px; color: var(--ink); font-family: "Lato", Arial, sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -.025em; }
.service-card p, .service-list p { max-width: 270px; margin: 0; color: #73787b; font-size: 14px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.service-list article { padding: 25px 28px; border: 1px solid #e2e5e4; }
.service-list h3 { font-size: 21px; }

.references {
  position: relative;
  min-height: 485px;
  background: linear-gradient(90deg, rgba(16,42,45,.86), rgba(16,42,45,.3)), url("assets/zemin-kaplama-slide-2.jpg") center / cover no-repeat;
}
.references-overlay { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0 98px; color: #fff; }
.references .eyebrow { color: rgba(255,255,255,.8); }
.references h2 { max-width: 700px; color: #fff; }
.references-overlay > p:not(.eyebrow) { max-width: 520px; margin: 23px 0 6px; color: rgba(255,255,255,.88); }
.outline-link { padding: 12px 19px; color: #fff; border: 1px solid rgba(255,255,255,.85); }
.outline-link:hover, .outline-link:focus-visible { color: var(--teal); background: #fff; }

.blog { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(30px, 8vw, 120px); padding: 105px 0; }
.blog-title h2 { margin: 0; color: var(--ink); font-family: "Lato", Arial, sans-serif; font-size: clamp(43px, 5.3vw, 70px); font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d9dddd; }
.blog-card { min-height: 255px; padding: 24px 25px 20px; border-right: 1px solid #d9dddd; }
.blog-card:last-child { border-right: 0; }
.blog-index { margin: 0 0 33px; color: var(--teal); font-family: "Lato", Arial, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.blog-card h3 { font-size: 21px; }
.blog-card > p:not(.blog-index) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.blog-card a { display: inline-block; margin-top: 18px; color: var(--teal); font-family: "Lato", Arial, sans-serif; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.blog-card a span { padding-left: 4px; font-size: 15px; }

.contact { color: #fff; background: var(--teal-dark); }
.contact-inner { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0 104px; }
.contact .eyebrow { color: #a7c7c3; }
.contact h2 { color: #fff; }
.contact-inner > p:not(.eyebrow) { max-width: 630px; margin: 25px 0; color: #d4e0de; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; margin-top: 36px; }
.contact-phone { color: #fff; font-family: "Lato", Arial, sans-serif; font-size: clamp(28px, 3.2vw, 43px); font-weight: 700; letter-spacing: -.025em; }
.contact-whatsapp { padding: 12px 19px; color: var(--teal-dark); background: #fff; font-family: "Lato", Arial, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.contact address { margin-top: 28px; color: #b9d1ce; font-style: normal; font-size: 14px; }
.contact address a:hover, .contact address a:focus-visible { color: #fff; text-decoration: underline; }

.site-footer { color: #c6d4d3; background: #102d31; }
.footer-grid { display: grid; grid-template-columns: 1.12fr .9fr 1fr; gap: clamp(35px, 8vw, 130px); width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 66px 0 54px; }
.footer-logo { width: 164px; height: 75px; margin: -9px 0 17px; object-fit: contain; filter: brightness(0) invert(1) saturate(0); opacity: .88; }
.footer-grid p { margin: 0 0 9px; color: #c4d2d0; font-size: 13px; line-height: 1.7; }
.footer-grid a { display: block; margin: 0 0 8px; font-family: "Lato", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .09em; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: #fff; text-decoration: underline; }
.footer-grid h2 { margin: 0 0 17px; color: #fff; font-family: "Lato", Arial, sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.footer-bottom { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 21px 0; color: #8fa7a4; border-top: 1px solid rgba(255,255,255,.13); font-family: "Lato", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .14em; }

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

@media (max-width: 1080px) {
  .site-header { min-height: 86px; padding: 6px 24px; }
  .brand img { width: 135px; height: auto; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 10px; letter-spacing: .13em; }
  .hero-copy { width: min(56vw, 650px); margin-right: 8vw; }
  .intro { gap: 60px; }
  .service-card img { height: 225px; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 78px; }
  .site-header { position: fixed; min-height: 78px; padding: 5px 20px; background: rgba(255,255,255,.94); box-shadow: 0 1px 13px rgba(0,0,0,.08); }
  .brand img { width: 122px; height: auto; }
  .nav-toggle { display: grid; width: 43px; height: 39px; margin-left: auto; padding: 9px; border: 1px solid #d9dcdb; background: #fff; place-content: center; gap: 4px; }
  .nav-toggle span { display: block; width: 19px; height: 1px; background: var(--ink); }
  .site-nav { position: absolute; top: 78px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 9px 22px 17px; background: rgba(255,255,255,.98); box-shadow: 0 10px 15px rgba(0,0,0,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 0; font-size: 11px; }
  .site-nav a::after { right: auto; width: 36px; }
  .hero { min-height: 600px; height: 78vh; }
  .hero-image { background-position: 42% top; }
  .hero::after { background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.48)); }
  .hero::before { width: 22px; height: 78px; font-size: 33px; }
  .hero-copy { align-self: end; justify-self: stretch; width: auto; margin: 0 34px 105px; }
  .hero-light { font-size: clamp(57px, 16vw, 88px); }
  .hero-copy h1 { font-size: clamp(72px, 20vw, 108px); }
  .hero-subtitle { font-size: 24px; }
  .hero-line, .hero-line-short { width: 78px; }
  .intro, .blog { grid-template-columns: 1fr; gap: 28px; padding: 75px 0; }
  .service-grid, .service-list { grid-template-columns: 1fr; max-width: 560px; margin-right: auto; margin-left: auto; }
  .services { padding: 75px 0; }
  .service-card img { height: 280px; }
  .references { min-height: 420px; }
  .references-overlay { padding: 78px 0; }
  .blog-grid { grid-template-columns: 1fr; border-bottom: 1px solid #d9dddd; }
  .blog-card { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid #d9dddd; }
  .blog-card:last-child { border-bottom: 0; }
  .contact-inner { padding: 78px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; padding: 54px 0 38px; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .section, .section-wide, .references-overlay, .contact-inner, .footer-grid, .footer-bottom { width: min(100% - 32px, 1160px); }
  .hero { min-height: 550px; }
  .hero-copy { margin: 0 22px 88px; }
  .hero-light { font-size: 58px; }
  .hero-copy h1 { font-size: 74px; }
  .hero-subtitle { font-size: 21px; }
  .section-heading h2, .references h2, .contact h2 { font-size: 38px; }
  .service-card img { height: 230px; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
}

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

/* Reusable presentation for the restored legacy content pages. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e3e6e5;
  box-shadow: 0 2px 15px rgba(16,45,49,.06);
}
.page-main { min-height: 58vh; }
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(112deg, rgba(16,45,49,.96), rgba(33,79,84,.78)), url("assets/zemin-kaplama-hero.jpg") center 42% / cover no-repeat;
}
.page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,45,49,.28), transparent 62%);
  content: "";
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0 94px;
}
.page-hero .eyebrow { color: #bbd7d3; }
.page-hero h1 { max-width: 800px; margin: 0; font-family: "Lato", Arial, sans-serif; font-size: clamp(42px, 6vw, 76px); font-weight: 900; line-height: .98; letter-spacing: -.06em; }
.page-hero p:last-child { max-width: 690px; margin: 22px 0 0; color: #e0edeb; font-size: 18px; }
.breadcrumb { margin: 0 0 19px; color: #b8d2ce; font-family: "Lato", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.page-content { padding: 84px 0 96px; }
.page-content h2 { margin: 0 0 16px; color: var(--ink); font-family: "Lato", Arial, sans-serif; font-size: clamp(29px, 3.2vw, 45px); font-weight: 900; line-height: 1.05; letter-spacing: -.045em; }
.page-content h3 { margin: 0 0 8px; color: var(--teal-dark); font-family: "Lato", Arial, sans-serif; font-size: 23px; line-height: 1.14; }
.page-content p { max-width: 790px; margin: 0 0 1.1em; color: #5d6469; }
.page-content ul { max-width: 760px; margin: 0 0 1.4em; padding-left: 1.2em; color: #5d6469; }
.page-content li { margin: .42em 0; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(35px, 7vw, 108px); align-items: start; }
.page-intro-aside { padding: 26px 28px; background: #f2f5f4; border-left: 4px solid var(--teal); }
.page-intro-aside p { margin: 0; color: #4b5b5d; font-size: 15px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.detail-card { min-height: 100%; padding: 28px; background: #f7f8f7; border: 1px solid #e4e7e6; }
.detail-card p { margin: 0; font-size: 15px; }
.page-cta { margin-top: 62px; padding: 39px clamp(28px, 5vw, 60px); color: #fff; background: var(--teal-dark); }
.page-cta h2 { color: #fff; }
.page-cta p { color: #d6e4e1; }
.page-cta .outline-link { margin-top: 7px; }
.topic-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; margin-top: 34px; }
.topic-links a { padding: 14px 0; color: var(--teal-dark); border-bottom: 1px solid #ccd7d5; font-family: "Lato", Arial, sans-serif; font-size: 14px; font-weight: 900; letter-spacing: .04em; }
.topic-links a::after { padding-left: 8px; content: "→"; }
.blog-list { display: grid; gap: 26px; }
.blog-entry { padding: 29px 0; border-top: 1px solid #dfe4e3; }
.blog-entry:last-child { border-bottom: 1px solid #dfe4e3; }
.blog-entry p { max-width: 850px; }
.references-note { margin-top: 36px; padding: 26px 28px; color: #526366; background: #f1f5f4; border-left: 4px solid #b58b52; }
.references-note p { margin: 0; }
.map-link { display: inline-flex; align-items: center; margin-top: 8px; color: var(--teal); font-family: "Lato", Arial, sans-serif; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.map-link::after { padding-left: 8px; content: "↗"; }
.service-card h3 a, .service-list h3 a { color: inherit; }
.service-card h3 a:hover, .service-list h3 a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 800px) {
  .page-header { position: fixed; }
  .page-main { padding-top: 78px; }
  .page-hero-inner { width: min(100% - 40px, 1160px); padding: 75px 0 66px; }
  .page-hero p:last-child { font-size: 16px; }
  .page-content { padding: 62px 0 72px; }
  .page-intro, .detail-grid { grid-template-columns: 1fr; }
  .detail-grid { margin-top: 34px; }
}

@media (max-width: 520px) {
  .page-hero-inner { width: min(100% - 32px, 1160px); }
  .topic-links { grid-template-columns: 1fr; }
}

/* Legacy inner-page presentation: mirrors the original site's calmer, editorial layout
   without restoring obsolete contact details or unverified marketing claims. */
body.legacy-page { background: #fff; }
body.legacy-page .legacy-header {
  position: relative;
  min-height: 98px;
  padding: 10px max(30px, calc((100% - 1160px) / 2));
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
body.legacy-page .legacy-header .brand img { width: 164px; }
body.legacy-page .legacy-header .site-nav { gap: clamp(14px, 2vw, 31px); }
body.legacy-page .legacy-header .site-nav a { color: #6b6d70; font-size: 11px; letter-spacing: .16em; }
body.legacy-page .legacy-header .site-nav a::after { background: #777; }

.legacy-title {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, rgba(45,49,51,.82), rgba(45,49,51,.48)), var(--legacy-page-image) center / cover no-repeat;
}
.legacy-title::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.24), transparent 56%); content: ""; }
.legacy-title-inner { position: relative; z-index: 1; width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 38px; }
.legacy-title h1 { max-width: 730px; margin: 0; font-family: "Lato", Arial, sans-serif; font-size: clamp(35px, 4vw, 51px); font-weight: 300; line-height: 1.05; letter-spacing: -.025em; text-transform: uppercase; }
.legacy-kicker { margin: 0 0 9px; color: rgba(255,255,255,.88); font-family: "Lato", Arial, sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .22em; }
.legacy-breadcrumb { margin: 21px 0 0; color: rgba(255,255,255,.84); font-family: "Lato", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.legacy-breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.legacy-content { background: #fff; }
.legacy-shell { display: grid; grid-template-columns: minmax(215px, 255px) minmax(0, 770px); gap: clamp(54px, 7vw, 115px); width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 92px 0 104px; }
.legacy-sidebar { min-width: 0; }
.legacy-widget { padding: 0 0 34px; margin: 0 0 33px; border-bottom: 1px solid #dedede; }
.legacy-widget:last-child { margin-bottom: 0; border-bottom: 0; }
.legacy-widget h2 { margin: 0 0 21px; color: #303235; font-family: "Lato", Arial, sans-serif; font-size: 13px; font-weight: 900; letter-spacing: .095em; text-transform: uppercase; }
.legacy-widget p { margin: 0; color: #777b7f; font-size: 13px; line-height: 1.8; }
.legacy-post-list { display: grid; gap: 17px; margin: 0; padding: 0; list-style: none; }
.legacy-post-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 13px; align-items: center; }
.legacy-thumb { display: block; width: 76px; height: 57px; overflow: hidden; background: #edf0ee; }
.legacy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.legacy-post-list div > a { display: block; color: #505356; font-family: "Lato", Arial, sans-serif; font-size: 11px; font-weight: 900; line-height: 1.25; letter-spacing: .045em; text-transform: uppercase; }
.legacy-post-list span { display: block; margin-top: 4px; color: #999da0; font-size: 11px; }
.legacy-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.legacy-tags a { padding: 5px 8px; color: #6d7073; border: 1px solid #dcdfe0; font-family: "Lato", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.legacy-tags a:hover, .legacy-post-list a:hover { color: var(--teal); }

.legacy-article { min-width: 0; }
.legacy-lead { max-width: 690px; margin: 0 0 27px; color: #53575b; font-family: "Lato", Arial, sans-serif; font-size: clamp(20px, 2vw, 27px); font-weight: 300; line-height: 1.42; }
.legacy-feature { margin: 0 0 38px; }
.legacy-feature img { width: 100%; height: min(37vw, 310px); object-fit: cover; }
.legacy-copy-section { margin: 0 0 40px; }
.legacy-copy-section h2, .legacy-related h2, .legacy-contact-callout h2 { margin: 0 0 17px; color: #35383b; font-family: "Lato", Arial, sans-serif; font-size: 23px; font-weight: 900; line-height: 1.15; letter-spacing: .025em; text-transform: uppercase; }
.legacy-copy-section p { max-width: 740px; margin: 0 0 1.2em; color: #656a6e; font-size: 15px; line-height: 1.85; }
.legacy-related { margin: 51px 0 0; padding-top: 31px; border-top: 1px solid #dedede; }
.legacy-related > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.legacy-related a { display: block; padding: 11px 0; color: #5c6265; border-bottom: 1px solid #e1e2e2; font-family: "Lato", Arial, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.legacy-related a span { float: right; color: #777; }
.legacy-contact-callout { margin-top: 53px; padding: 31px 34px; background: #f1f1ef; border-left: 3px solid #6b7071; }
.legacy-contact-callout h2 { margin-bottom: 11px; font-size: 20px; }
.legacy-contact-callout p { max-width: 600px; margin: 0; color: #656a6e; font-size: 14px; line-height: 1.7; }
.legacy-contact-callout a { display: inline-block; margin-top: 17px; color: #505558; font-family: "Lato", Arial, sans-serif; font-size: 11px; font-weight: 900; letter-spacing: .11em; }

body.legacy-page .site-footer.legacy-footer { color: #777b7f; background: #fff; border-top: 1px solid #ededed; }
body.legacy-page .legacy-footer .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(42px, 8vw, 130px); padding: 70px 0 48px; }
body.legacy-page .legacy-footer .footer-logo { width: 164px; margin: -9px 0 19px; filter: none; opacity: 1; }
body.legacy-page .legacy-footer .footer-grid p { color: #777b7f; font-size: 13px; line-height: 1.75; }
body.legacy-page .legacy-footer .footer-grid h2 { color: #3f4245; font-size: 13px; letter-spacing: .08em; }
body.legacy-page .legacy-footer .footer-grid a { color: #6a6e71; font-size: 11px; letter-spacing: .075em; }
body.legacy-page .legacy-footer .footer-grid a:hover { color: var(--teal); }
body.legacy-page .legacy-footer .footer-grid .legacy-phone { margin-top: 15px; font-size: 14px; letter-spacing: .02em; }
body.legacy-page .legacy-footer .footer-bottom { padding: 22px 0; color: #8a8e91; border-top: 1px solid #e5e5e5; font-size: 10px; letter-spacing: .08em; }
body.legacy-page .legacy-footer .footer-bottom a { display: inline; font-size: inherit; letter-spacing: inherit; }

@media (max-width: 900px) {
  body.legacy-page .legacy-header { min-height: 78px; padding: 5px 20px; }
  body.legacy-page .legacy-header .site-nav { top: 78px; }
  .legacy-shell { grid-template-columns: 1fr; gap: 49px; padding: 65px 0 75px; }
  .legacy-sidebar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .legacy-widget { padding: 0; margin: 0; border-bottom: 0; }
  .legacy-post-list { gap: 11px; }
  .legacy-post-list li { grid-template-columns: 60px minmax(0, 1fr); gap: 9px; }
  .legacy-thumb { width: 60px; height: 46px; }
  body.legacy-page .legacy-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  body.legacy-page .legacy-footer .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .legacy-title { min-height: 205px; }
  .legacy-title-inner { width: min(100% - 32px, 1160px); padding: 72px 0 29px; }
  .legacy-title h1 { font-size: 33px; }
  .legacy-shell { width: min(100% - 32px, 1160px); padding: 50px 0 60px; }
  .legacy-sidebar { grid-template-columns: 1fr; gap: 28px; }
  .legacy-widget { padding-bottom: 27px; border-bottom: 1px solid #dedede; }
  .legacy-feature img { height: 205px; }
  .legacy-copy-section h2, .legacy-related h2 { font-size: 20px; }
  .legacy-related > div { grid-template-columns: 1fr; }
  .legacy-contact-callout { padding: 25px 23px; }
  body.legacy-page .legacy-footer .footer-grid { grid-template-columns: 1fr; width: min(100% - 32px, 1160px); gap: 34px; padding: 49px 0 35px; }
  body.legacy-page .legacy-footer .footer-grid > :last-child { grid-column: auto; }
  body.legacy-page .legacy-footer .footer-bottom { width: min(100% - 32px, 1160px); }
}

/* Fixed, keyboard-accessible return control for long pages. */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--teal-dark);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(12, 43, 39, .26);
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
  visibility: hidden;
}

.back-to-top:hover { color: #fff; background: var(--teal); }
.back-to-top:focus-visible { color: #fff; outline: 3px solid #df8d3e; outline-offset: 3px; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }

@media (max-width: 620px) {
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}
