/* ============================================================
   Treadstone Landscapes — Global Stylesheet
   Prefix: tl-
   Style: Clean Contemporary — bright, airy, single bold accent,
   glassy blurred cards, crisp sans-serif throughout.
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --accent:        #189B52;
  --accent-dark:   #0F7A40;
  --accent-darker: #0B5C30;
  --accent-light:  #E4F7EC;
  --accent-mid:    #4FC585;

  /* legacy aliases kept so inline styles / older refs still resolve */
  --green-dark:    #10331F;
  --green-primary: var(--accent);
  --green-mid:     var(--accent-mid);
  --green-light:   var(--accent-light);
  --earth:         #64748B;
  --earth-light:   #7CE6A6;

  --cream:         #F7FAF8;
  --white:         #FFFFFF;
  --ink:           #0F172A;
  --mid:           #475569;
  --muted:         #94A3B8;
  --border:        #E6EBE8;

  --glass-bg:      rgba(255,255,255,0.7);
  --glass-bg-strong: rgba(255,255,255,0.88);
  --glass-border:  rgba(255,255,255,0.6);

  --shadow-sm:     0 1px 2px rgba(15,23,42,0.05);
  --shadow-md:     0 12px 24px -8px rgba(15,23,42,0.12);
  --shadow-lg:     0 24px 48px -12px rgba(15,23,42,0.18);
  --shadow-accent: 0 12px 24px -8px rgba(24,155,82,0.35);

  --radius:        14px;
  --radius-lg:     28px;
  --radius-pill:   100px;

  --transition:    0.25s cubic-bezier(.4,0,.2,1);
  --font-display:  'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body:     'DM Sans', system-ui, -apple-system, sans-serif;
  --max-w:         1200px;
}

/* ── Skip link ──────────────────────────────────────────────── */
.tl-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: top 0.15s;
}
.tl-skip-link:focus { top: 1rem; }

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.005em; }
p  { color: var(--mid); }

.tl-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.tl-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Utilities ─────────────────────────────────────────────── */
.tl-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .tl-container { padding: 0 2rem; } }

.tl-section { padding: 6rem 0; }
.tl-section--alt { background: var(--cream); }

/* ── Buttons ───────────────────────────────────────────────── */
.tl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: transform 0.25s cubic-bezier(.34,1.4,.4,1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.tl-btn:active { transform: scale(0.96); }

.tl-btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}
.tl-btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -10px rgba(24,155,82,0.42);
}
.tl-btn--outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tl-btn--outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.tl-btn--outline-dark {
  background: var(--white);
  color: var(--accent-dark);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.tl-btn--outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tl-section-header { text-align: center; margin-bottom: 3.5rem; }
.tl-section-header .tl-label { display: inline-flex; margin-bottom: 1rem; }
.tl-section-header p {
  max-width: 560px;
  margin: 0.9rem auto 0;
  font-size: 1.08rem;
}

/* ── Navigation ─────────────────────────────────────────────── */
.tl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.tl-nav.scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.tl-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.tl-nav__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
}
.tl-nav__logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15,23,42,0.18);
}
.tl-nav__logo-text {
  display: flex;
  flex-direction: column;
}
.tl-nav__logo-main {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.3s ease;
}
.tl-nav.scrolled .tl-nav__logo-main { color: var(--ink); }
.tl-nav__logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-top: 2px;
  transition: color 0.3s ease;
}
.tl-nav.scrolled .tl-nav__logo-sub { color: var(--accent-dark); }

.tl-nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 820px) { .tl-nav__links { display: flex; } }
@media (min-width: 1024px) { .tl-nav__links { gap: 2rem; } }

.tl-nav__links a {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.82);
  transition: color 0.3s ease;
}
.tl-nav.scrolled .tl-nav__links a { color: var(--mid); }
.tl-nav__links a:hover,
.tl-nav__links a.active { color: var(--white); }
.tl-nav.scrolled .tl-nav__links a:hover,
.tl-nav.scrolled .tl-nav__links a.active { color: var(--ink); }

.tl-nav__cta { display: none; }
@media (min-width: 820px) { .tl-nav__cta { display: inline-flex; padding: 0.7rem 1.6rem; font-size: 0.85rem; } }

.tl-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
}
@media (min-width: 820px) { .tl-nav__hamburger { display: none; } }

.tl-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: var(--transition);
}
.tl-nav.scrolled .tl-nav__hamburger span { background: var(--ink); }
.tl-nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tl-nav__hamburger.open span:nth-child(2) { opacity: 0; }
.tl-nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tl-nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  gap: 0.25rem;
}
.tl-nav__mobile.open { display: flex; }
@media (min-width: 820px) { .tl-nav__mobile { display: none !important; } }

.tl-nav__mobile a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.tl-nav__mobile a:last-child { border-bottom: none; }
.tl-nav__mobile a:hover { color: var(--accent); }
.tl-nav__mobile .tl-btn { margin-top: 0.75rem; text-align: center; justify-content: center; }

/* ── Hero ───────────────────────────────────────────────────── */
.tl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
}
.tl-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/sandstone-patio-wide.png');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.tl-hero__bg.loaded { transform: scale(1); }
.tl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(9, 20, 12, 0.78) 0%,
    rgba(9, 20, 12, 0.44) 52%,
    rgba(9, 20, 12, 0.12) 100%
  );
}
.tl-hero__content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}
.tl-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 1.5rem;
}
.tl-hero__label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-mid);
}
.tl-hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.tl-hero__sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.tl-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.tl-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.tl-hero__scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.35);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Stats bar (floating glass card over hero) ────────────────── */
.tl-stats {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding: 2.5rem 0;
}
.tl-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.25rem 1.5rem;
}
@media (min-width: 640px) { .tl-stats__grid { grid-template-columns: repeat(4, 1fr); padding: 2.5rem 2rem; } }
.tl-stats__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.tl-stats__label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ── Services overview ─────────────────────────────────────── */
.tl-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .tl-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tl-services-grid { grid-template-columns: repeat(3, 1fr); } }

.tl-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: transform 0.3s cubic-bezier(.34,1.1,.4,1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tl-service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-5px);
}

.tl-service-card__icon {
  width: 54px;
  height: 54px;
  background: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  box-shadow: var(--shadow-accent);
}
.tl-service-card h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.tl-service-card p { font-size: 0.92rem; }

/* ── Why Treadstone ─────────────────────────────────────────── */
.tl-why__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) { .tl-why__grid { grid-template-columns: 1fr 1fr; } }

.tl-why__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.tl-why__image::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0.35;
  top: -60px;
  right: -60px;
  z-index: -1;
  border-radius: 50%;
}
.tl-why__image img { width: 100%; height: 100%; object-fit: cover; }

.tl-why__list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.25rem; }
.tl-why__item { display: flex; gap: 1rem; align-items: flex-start; }
.tl-why__item-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}
.tl-why__item-text h4 { margin-bottom: 0.25rem; }
.tl-why__item-text p  { font-size: 0.92rem; }

/* ── Testimonials ───────────────────────────────────────────── */
.tl-testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .tl-testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tl-testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.tl-testimonial {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tl-testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tl-testimonial__stars { color: #F5A524; font-size: 0.9rem; margin-bottom: 0.9rem; letter-spacing: 0.1em; }
.tl-testimonial__text {
  color: var(--mid);
  font-size: 0.96rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.tl-testimonial__author { display: flex; align-items: center; gap: 0.75rem; }
.tl-testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}
.tl-testimonial__name { font-weight: 700; font-size: 0.9rem; }
.tl-testimonial__location { font-size: 0.78rem; color: var(--muted); }

/* ── CTA Banner ─────────────────────────────────────────────── */
.tl-cta-banner { padding: 2rem 0 6rem; }
.tl-cta-banner .tl-container {
  background: var(--accent);
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.14), transparent 45%),
                     linear-gradient(135deg, var(--accent) 0%, var(--accent-darker) 100%);
  border-radius: var(--radius-lg);
  padding: 4.5rem 2rem;
  text-align: center;
  max-width: var(--max-w);
  box-shadow: var(--shadow-lg);
}
.tl-cta-banner h2 { color: var(--white); margin-bottom: 0.85rem; }
.tl-cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2.25rem; font-size: 1.05rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.tl-cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Gallery grid ───────────────────────────────────────────── */
.tl-gallery-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.tl-filter-btn {
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--mid);
  transition: var(--transition);
}
.tl-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}
.tl-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.tl-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 640px) { .tl-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tl-gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; } }

.tl-gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--accent-light);
}
.tl-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tl-gallery-item:hover img { transform: scale(1.06); }
.tl-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.tl-gallery-item:hover .tl-gallery-item__overlay { opacity: 1; }
.tl-gallery-item__overlay span {
  color: var(--white);
  font-size: 1.75rem;
}

/* ── Before / after badges ────────────────────────────────────── */
.tl-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  backdrop-filter: blur(6px);
}
.tl-badge--before  { background: rgba(71, 85, 105, 0.85); }
.tl-badge--during   { background: rgba(15, 23, 42, 0.7); }
.tl-badge--after   { background: rgba(24, 155, 82, 0.92); }

/* ── Before / after story blocks ──────────────────────────────── */
.tl-story { margin-bottom: 4rem; }
.tl-story:last-child { margin-bottom: 0; }
.tl-story__header { margin-bottom: 1.5rem; }
.tl-story__header h3 { margin-bottom: 0.4rem; font-size: 1.4rem; }
.tl-story__header p { margin: 0; }
.tl-story__groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .tl-story__groups { grid-template-columns: 1fr 1fr; } }
.tl-story__group-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  color: var(--muted);
}
.tl-story__group.is-after .tl-story__group-label { color: var(--accent-dark); }
.tl-story__images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem;
}
.tl-story__images .tl-gallery-item { aspect-ratio: 4/3; }

/* ── Video cards ───────────────────────────────────────────────── */
.tl-video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--accent-light);
  border: 1px solid var(--border);
}
.tl-video-card video { width: 100%; display: block; max-height: 480px; object-fit: cover; background: #000; }
.tl-video-card__caption { padding: 0.85rem 1rem; font-size: 0.85rem; color: var(--mid); margin: 0; }

/* ── Lightbox ───────────────────────────────────────────────── */
.tl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(9, 12, 16, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.tl-lightbox.active { opacity: 1; pointer-events: all; }
.tl-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.tl-lightbox__close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: none; border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  transition: opacity var(--transition);
}
.tl-lightbox__close:hover { opacity: 0.6; }
.tl-lightbox__prev,
.tl-lightbox__next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.tl-lightbox__prev:hover,
.tl-lightbox__next:hover { background: rgba(255,255,255,0.2); }
.tl-lightbox__prev { left: 1.25rem; }
.tl-lightbox__next { right: 1.25rem; }
.tl-lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-align: center;
  left: 0; right: 0;
}

/* ── About ──────────────────────────────────────────────────── */
.tl-about-hero {
  background: var(--ink);
  padding: 9rem 0 5rem;
  text-align: center;
}
.tl-about-hero h1 { color: var(--white); }
.tl-about-hero p { color: rgba(255,255,255,0.7); margin: 1rem auto 0; max-width: 540px; }

.tl-about-story__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 900px) { .tl-about-story__grid { grid-template-columns: 1fr 1.2fr; } }

.tl-about-story__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}
.tl-about-story__image img { width: 100%; height: 100%; object-fit: cover; }

.tl-about-story__text .tl-label { display: inline-flex; margin-bottom: 0.75rem; }
.tl-about-story__text h2 { margin-bottom: 1.25rem; }
.tl-about-story__text p  { margin-bottom: 1rem; font-size: 1rem; }

.tl-values {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
.tl-value { display: flex; flex-direction: column; gap: 0.3rem; }
.tl-value__icon { font-size: 1.5rem; }
.tl-value__title { font-weight: 700; font-size: 0.9rem; }
.tl-value__text  { font-size: 0.85rem; color: var(--muted); }

/* ── Services page ──────────────────────────────────────────── */
.tl-page-hero {
  background: var(--ink);
  padding: 9rem 0 5rem;
  text-align: center;
}
.tl-page-hero h1 { color: var(--white); }
.tl-page-hero p { color: rgba(255,255,255,0.68); margin: 1rem auto 0; max-width: 540px; }

.tl-service-detail {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) { .tl-service-detail { grid-template-columns: 1fr 1fr; } }
.tl-service-detail:nth-child(even) .tl-service-detail__img { order: 2; }
.tl-service-detail:nth-child(even) .tl-service-detail__content { order: 1; }

.tl-service-detail__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.tl-service-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.tl-service-detail__icon {
  width: 54px; height: 54px;
  background: var(--accent);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-accent);
}
.tl-service-detail__content h2 { margin-bottom: 0.75rem; font-size: 1.8rem; }
.tl-service-detail__content p { font-size: 0.95rem; margin-bottom: 1rem; }
.tl-service-detail__content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.tl-service-detail__content ul li {
  font-size: 0.9rem;
  color: var(--mid);
  padding-left: 1.25rem;
  position: relative;
}
.tl-service-detail__content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Contact ────────────────────────────────────────────────── */
.tl-contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) { .tl-contact-grid { grid-template-columns: 1fr 1.4fr; } }

.tl-contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.tl-contact-info__item { display: flex; gap: 1rem; align-items: flex-start; }
.tl-contact-info__icon {
  width: 46px; height: 46px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.tl-contact-info__item h4 { margin-bottom: 0.25rem; font-size: 0.92rem; }
.tl-contact-info__item p,
.tl-contact-info__item a { font-size: 0.95rem; color: var(--mid); }
.tl-contact-info__item a:hover { color: var(--accent-dark); }

.tl-contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  margin-top: 1rem;
  border: 1px solid var(--border);
}
.tl-contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ── Form ───────────────────────────────────────────────────── */
.tl-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}
.tl-form h3 { margin-bottom: 1.5rem; }
.tl-form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .tl-form-row { grid-template-columns: 1fr 1fr; } }

.tl-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.tl-field label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.tl-field input,
.tl-field select,
.tl-field textarea {
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}
.tl-field input:focus,
.tl-field select:focus,
.tl-field textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-light);
}
.tl-field textarea { resize: vertical; min-height: 130px; }
.tl-field--full { grid-column: 1 / -1; }

.tl-form-success {
  display: none;
  padding: 1.25rem;
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  border-radius: var(--radius);
  color: var(--accent-darker);
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}
.tl-form-success.visible { display: block; }

/* ── Footer ─────────────────────────────────────────────────── */
.tl-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 0;
}
.tl-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .tl-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tl-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }

.tl-footer__logo-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.tl-footer__logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-mid);
}
.tl-footer__tagline {
  font-size: 0.88rem;
  margin-top: 0.85rem;
  max-width: 240px;
  line-height: 1.6;
}
.tl-footer h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 1.1rem;
}
.tl-footer ul { display: flex; flex-direction: column; gap: 0.4rem; }
.tl-footer ul li a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color var(--transition);
}
.tl-footer ul li a:hover { color: var(--accent-mid); }
.tl-footer ul li a { padding: 0.25rem 0; display: inline-block; }

.tl-footer__contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}
.tl-footer__contact-item a { color: rgba(255,255,255,0.78); transition: color var(--transition); }
.tl-footer__contact-item a:hover { color: var(--accent-mid); }

.tl-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .tl-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.tl-footer__bottom p { font-size: 0.78rem; }
.tl-footer__mfm a {
  color: rgba(255,255,255,0.38);
  font-size: 0.78rem;
  transition: color var(--transition);
}
.tl-footer__mfm a:hover { color: rgba(255,255,255,0.7); }

/* ── Page transitions ───────────────────────────────────────── */
.tl-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tl-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Service card as anchor ─────────────────────────────────── */
a.tl-service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ── Gallery filter fade ────────────────────────────────────── */
.tl-gallery-item {
  transition: opacity 0.22s ease, transform 0.22s ease, display 0.22s ease;
}
.tl-gallery-item.tl-filtered {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

/* ── Windows High Contrast Mode: visible focus ring ────────── */
@media (forced-colors: active) {
  .tl-field input:focus,
  .tl-field select:focus,
  .tl-field textarea:focus {
    outline: 2px solid ButtonText;
  }
  .tl-btn:focus-visible,
  .tl-filter-btn:focus-visible,
  .tl-nav__hamburger:focus-visible {
    outline: 2px solid ButtonText;
  }
}
