/* ==========================================================================
   Térforma Belsőépítészet — main stylesheet
   Architektonikus minimalizmus: 12 hasábos rács, szögletes formák, rézszín akcentus.
   Osztályprefix: tf_ (snake_case) · Változóprefix: --tf-
   ========================================================================== */

:root {
  --tf-bg: #F4F2EE;
  --tf-bg-alt: #EBE8E2;
  --tf-ink: #1E1E1C;
  --tf-ink-soft: #2A2A27;
  --tf-stone: #8C877F;
  --tf-muted: #625D56;
  --tf-muted-dark: #B9B3AA;
  --tf-brass: #B08D57;
  --tf-brass-ink: #7F6133;
  --tf-line: rgba(30, 30, 28, .14);
  --tf-line-strong: rgba(30, 30, 28, .32);
  --tf-line-dark: rgba(244, 242, 238, .16);
  --tf-grid-line: rgba(140, 135, 127, .11);
  --tf-error: #A12A1D;
  --tf-font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --tf-font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tf-max: 1440px;
  --tf-pad: clamp(16px, 4vw, 56px);
  --tf-gap: clamp(12px, 1.8vw, 28px);
  --tf-header-h: 84px;
  --tf-section-y: clamp(72px, 9vw, 152px);
  --tf-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
[hidden] { display: none !important; }

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tf-header-h) + 20px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--tf-bg);
  color: var(--tf-ink);
  font-family: var(--tf-font-sans);
  font-size: clamp(15px, .88rem + .22vw, 17px);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--tf-brass-ink); }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
figure { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--tf-brass);
  outline-offset: 3px;
}

::selection { background: var(--tf-brass); color: var(--tf-ink); }

.tf_visually_hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tf_skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--tf-ink);
  color: var(--tf-bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--tf-ease);
}
.tf_skip:focus { transform: translateY(0); color: var(--tf-bg); }

/* ---------- Decorative 12-column grid lines ---------- */
.tf_gridlines {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.tf_gridlines_inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--tf-gap);
  max-width: var(--tf-max);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--tf-pad);
}
.tf_gridlines_inner span { border-left: 1px solid var(--tf-grid-line); }
.tf_gridlines_inner span:last-child { border-right: 1px solid var(--tf-grid-line); }

/* ---------- Layout primitives ---------- */
.tf_wrap {
  position: relative;
  max-width: var(--tf-max);
  margin-inline: auto;
  padding-inline: var(--tf-pad);
}
.tf_grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--tf-gap);
}
.tf_main { position: relative; display: block; padding-top: var(--tf-header-h); }
.tf_page_home .tf_main { padding-top: 0; }

.tf_section {
  position: relative;
  padding-block: var(--tf-section-y);
  border-top: 1px solid var(--tf-line);
}
.tf_section.tf_flush_top { border-top: 0; }
.tf_section.tf_alt { background: var(--tf-bg-alt); }
.tf_section.tf_dark,
.tf_dark {
  background: var(--tf-ink);
  color: var(--tf-bg);
  border-top-color: var(--tf-ink);
}
.tf_dark a:hover { color: var(--tf-brass); }

/* ---------- Typography ---------- */
.tf_h1 {
  font-family: var(--tf-font-serif);
  font-size: clamp(42px, 6.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -.012em;
}
.tf_h2 {
  font-family: var(--tf-font-serif);
  font-size: clamp(32px, 4.3vw, 66px);
  line-height: 1.06;
  letter-spacing: -.01em;
}
.tf_h3 {
  font-family: var(--tf-font-serif);
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.15;
}
.tf_h4 {
  font-family: var(--tf-font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.tf_lead {
  font-size: clamp(17px, 1rem + .35vw, 21px);
  line-height: 1.55;
  color: var(--tf-muted);
}
.tf_dark .tf_lead { color: var(--tf-muted-dark); }
.tf_muted { color: var(--tf-muted); }
.tf_dark .tf_muted { color: var(--tf-muted-dark); }
.tf_italic { font-style: italic; }
.tf_space_top { margin-top: 36px; }
.tf_space_top_s { margin-top: 22px; }

.tf_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tf-muted);
}
.tf_eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--tf-brass);
  flex: none;
}
.tf_dark .tf_eyebrow { color: var(--tf-muted-dark); }

/* Section heads with oversized numbers */
.tf_section_head {
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 96px);
}
.tf_section_num {
  display: block;
  grid-column: 1 / 4;
  grid-row: 1 / 4;
  font-family: var(--tf-font-serif);
  font-size: clamp(84px, 13vw, 210px);
  line-height: .78;
  color: transparent;
  -webkit-text-stroke: 1px var(--tf-stone);
  user-select: none;
}
.tf_dark .tf_section_num { -webkit-text-stroke-color: var(--tf-brass); }
.tf_section_head .tf_eyebrow { grid-column: 4 / 13; }
.tf_section_head .tf_h2 { grid-column: 4 / 12; }
.tf_section_head .tf_lead { grid-column: 4 / 10; margin-top: 26px; margin-bottom: 0; }

/* ---------- Buttons (rectangular outline + sliding arrow) ---------- */
.tf_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--tf-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .35s var(--tf-ease), color .35s var(--tf-ease), border-color .35s var(--tf-ease);
}
.tf_btn_arrow {
  display: inline-block;
  font-size: 17px;
  letter-spacing: 0;
  transition: transform .4s var(--tf-ease);
}
.tf_btn:hover { background: var(--tf-ink); color: var(--tf-bg); border-color: var(--tf-ink); }
.tf_btn:hover .tf_btn_arrow,
.tf_btn:focus-visible .tf_btn_arrow { transform: translateX(8px); }

.tf_btn.tf_btn_solid { background: var(--tf-ink); color: var(--tf-bg); border-color: var(--tf-ink); }
.tf_btn.tf_btn_solid .tf_btn_arrow { color: var(--tf-brass); }
.tf_btn.tf_btn_solid:hover { background: var(--tf-brass); border-color: var(--tf-brass); color: var(--tf-ink); }
.tf_btn.tf_btn_solid:hover .tf_btn_arrow { color: var(--tf-ink); }

.tf_btn.tf_btn_light { color: var(--tf-bg); border-color: rgba(244, 242, 238, .7); }
.tf_btn.tf_btn_light:hover { background: var(--tf-bg); color: var(--tf-ink); border-color: var(--tf-bg); }

.tf_btn.tf_btn_brass { background: var(--tf-brass); color: var(--tf-ink); border-color: var(--tf-brass); }
.tf_btn.tf_btn_brass:hover { background: var(--tf-bg); border-color: var(--tf-bg); color: var(--tf-ink); }

.tf_btn_row { display: flex; flex-wrap: wrap; gap: 14px; }

.tf_link_arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.tf_link_arrow .tf_btn_arrow { font-size: 16px; }
.tf_link_arrow:hover .tf_btn_arrow { transform: translateX(6px); }

/* ---------- Header ---------- */
.tf_header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--tf-header-h);
  background: var(--tf-bg);
  color: var(--tf-ink);
  border-bottom: 1px solid var(--tf-line);
  transition: background-color .35s var(--tf-ease), color .35s var(--tf-ease), border-color .35s var(--tf-ease), height .35s var(--tf-ease), box-shadow .35s var(--tf-ease);
}
.tf_header_inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  height: 100%;
  padding-inline: var(--tf-pad);
}
.tf_header[data-scrolled="true"] {
  --tf-header-h: 68px;
  box-shadow: 0 1px 0 var(--tf-line), 0 12px 32px -24px rgba(30, 30, 28, .35);
}
.tf_header.tf_header_overlay[data-scrolled="false"] {
  background: transparent;
  color: var(--tf-bg);
  border-bottom-color: rgba(244, 242, 238, .18);
}
.tf_header.tf_header_overlay[data-scrolled="false"] .tf_btn.tf_btn_solid {
  background: transparent;
  color: var(--tf-bg);
  border-color: rgba(244, 242, 238, .7);
}
.tf_header.tf_header_overlay[data-scrolled="false"] .tf_btn.tf_btn_solid:hover {
  background: var(--tf-bg);
  color: var(--tf-ink);
}
.tf_header.tf_header_overlay[data-scrolled="false"] .tf_btn.tf_btn_solid:hover .tf_btn_arrow { color: var(--tf-ink); }

.tf_logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  justify-self: start;
}
.tf_logo:hover { color: inherit; }
.tf_logo_mark { width: 36px; height: 36px; flex: none; }
.tf_logo_text { display: flex; flex-direction: column; line-height: 1; }
.tf_logo_name { font-family: var(--tf-font-serif); font-size: 25px; letter-spacing: .005em; }
.tf_logo_sub {
  margin-top: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .78;
}

.tf_nav_list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 40px);
  list-style: none;
}
.tf_nav_link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
}
.tf_nav_link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--tf-brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--tf-ease);
}
.tf_nav_link:hover { color: inherit; }
.tf_nav_link:hover::after,
.tf_nav_link[aria-current="page"]::after { transform: scaleX(1); }
.tf_nav_extra { display: none; }

.tf_header_actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.tf_header_phone {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
}
.tf_header_phone:hover { color: inherit; text-decoration: underline; }
.tf_header_cta { min-height: 44px; padding: 10px 18px; font-size: 12px; }

.tf_burger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}
.tf_burger_line {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--tf-ease), top .3s var(--tf-ease);
}
.tf_burger_line:first-child { top: 18px; }
.tf_burger_line:last-child { top: 26px; }
.tf_burger[aria-expanded="true"] .tf_burger_line:first-child { top: 22px; transform: rotate(45deg); }
.tf_burger[aria-expanded="true"] .tf_burger_line:last-child { top: 22px; transform: rotate(-45deg); }

body.tf_menu_open { overflow: hidden; }
body.tf_menu_open .tf_header,
body.tf_menu_open .tf_header.tf_header_overlay[data-scrolled="false"] {
  background: var(--tf-ink);
  color: var(--tf-bg);
  border-bottom-color: var(--tf-line-dark);
}

/* ---------- Hero (home) ---------- */
.tf_hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, 100svh);
  padding-top: calc(var(--tf-header-h) + 40px);
  padding-bottom: clamp(40px, 6vw, 88px);
  color: var(--tf-bg);
  background: var(--tf-ink);
  overflow: hidden;
}
.tf_hero_media { position: absolute; inset: 0; }
.tf_hero_media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  transform: scale(1.04);
  animation: tf_hero_settle 2.4s var(--tf-ease) forwards;
}
@keyframes tf_hero_settle { to { transform: scale(1); } }
.tf_hero_shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18, 18, 16, .92) 0%, rgba(18, 18, 16, .62) 38%, rgba(18, 18, 16, .2) 72%, rgba(18, 18, 16, .45) 100%),
    linear-gradient(to right, rgba(18, 18, 16, .55) 0%, rgba(18, 18, 16, 0) 60%);
}
.tf_hero_inner { position: relative; z-index: 2; width: 100%; align-items: end; }
.tf_hero_block { grid-column: 1 / 9; }
.tf_hero .tf_eyebrow { color: var(--tf-muted-dark); }
.tf_hero_title { max-width: 15ch; }
.tf_hero_title em { font-style: italic; color: var(--tf-brass); }
.tf_hero_sub {
  max-width: 54ch;
  margin: 28px 0 36px;
  font-size: clamp(16px, 1rem + .3vw, 20px);
  line-height: 1.6;
  color: rgba(244, 242, 238, .86);
}
.tf_hero_trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 242, 238, .22);
  list-style: none;
  font-size: 13.5px;
  color: rgba(244, 242, 238, .82);
}
.tf_hero_trust strong { color: var(--tf-bg); font-weight: 700; }
.tf_hero_aside {
  grid-column: 10 / 13;
  align-self: end;
  justify-self: end;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, .78);
}
.tf_hero_aside ul { list-style: none; display: grid; gap: 10px; }
.tf_hero_scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  text-decoration: none;
}
.tf_hero_scroll_line {
  display: inline-block;
  width: 1px; height: 46px;
  background: linear-gradient(var(--tf-brass), transparent);
}

/* ---------- Inner page hero ---------- */
.tf_page_hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 112px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
.tf_page_hero .tf_grid { align-items: end; }
.tf_page_hero_title { grid-column: 1 / 10; }
.tf_page_hero_lead { grid-column: 1 / 8; margin-top: 30px; margin-bottom: 0; }
.tf_page_hero_side {
  grid-column: 10 / 13;
  grid-row: 2 / 4;
  align-self: end;
  font-size: 14px;
  color: var(--tf-muted);
  border-left: 1px solid var(--tf-line-strong);
  padding-left: 20px;
}
.tf_page_hero_side strong { display: block; color: var(--tf-ink); font-size: 15px; }
.tf_page_hero_media {
  margin-top: clamp(40px, 5vw, 72px);
  aspect-ratio: 21 / 8;
  overflow: hidden;
}
.tf_page_hero_media img { width: 100%; height: 100%; object-fit: cover; }

.tf_breadcrumb { grid-column: 1 / -1; margin-bottom: clamp(28px, 4vw, 56px); }
.tf_breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  font-size: 13px;
  color: var(--tf-muted);
}
.tf_breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--tf-stone); }
.tf_breadcrumb a { text-decoration: none; }
.tf_breadcrumb a:hover { text-decoration: underline; }
.tf_breadcrumb [aria-current="page"] { color: var(--tf-ink); font-weight: 600; }

/* ---------- Media: zoom on hover ---------- */
.tf_zoom { overflow: hidden; background: var(--tf-bg-alt); }
.tf_zoom img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--tf-ease);
}
.tf_zoom:hover img,
a:hover .tf_zoom img,
a:focus-visible .tf_zoom img { transform: scale(1.06); }

/* ---------- Stats / numbers ---------- */
.tf_stats {
  list-style: none;
  border-top: 1px solid var(--tf-line-strong);
}
.tf_stats_item {
  grid-column: span 3;
  padding: 28px 0 0;
  border-right: 1px solid var(--tf-line);
  padding-right: var(--tf-gap);
}
.tf_stats_item:last-child { border-right: 0; }
.tf_stats_value {
  display: block;
  font-family: var(--tf-font-serif);
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 1;
}
.tf_stats_value small { font-size: .42em; color: var(--tf-brass-ink); margin-left: 4px; }
.tf_dark .tf_stats_value small { color: var(--tf-brass); }
.tf_stats_label { display: block; margin-top: 14px; font-size: 14px; color: var(--tf-muted); max-width: 26ch; }
.tf_dark .tf_stats { border-top-color: var(--tf-line-dark); }
.tf_dark .tf_stats_item { border-right-color: var(--tf-line-dark); }
.tf_dark .tf_stats_label { color: var(--tf-muted-dark); }

.tf_benefits { margin-top: clamp(56px, 7vw, 110px); list-style: none; }
.tf_benefit { grid-column: span 4; padding-top: 22px; border-top: 1px solid var(--tf-ink); }
.tf_benefit_title { margin-bottom: 12px; }
.tf_benefit p { margin: 0; color: var(--tf-muted); }
.tf_benefit_index { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--tf-brass-ink); }

/* ---------- Service tiles (home) ---------- */
.tf_tiles { row-gap: clamp(36px, 4vw, 64px); list-style: none; }
.tf_tile { grid-column: span 4; }
.tf_tile.tf_span_7 { grid-column: span 7; }
.tf_tile.tf_span_5 { grid-column: span 5; }
.tf_tile_link { display: block; height: 100%; text-decoration: none; }
.tf_tile_link:hover { color: inherit; }
.tf_tile_media { aspect-ratio: 4 / 3; }
.tf_span_7 .tf_tile_media { aspect-ratio: 16 / 10; }
.tf_span_5 .tf_tile_media { aspect-ratio: 8 / 7; }
.tf_tile_body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 18px;
  align-items: baseline;
  padding-top: 20px;
  border-bottom: 1px solid var(--tf-line-strong);
  padding-bottom: 20px;
}
.tf_tile_num { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--tf-brass-ink); }
.tf_tile_title { grid-column: 2; }
.tf_tile_arrow { grid-column: 3; grid-row: 1; font-size: 20px; transition: transform .4s var(--tf-ease); }
.tf_tile_link:hover .tf_tile_arrow,
.tf_tile_link:focus-visible .tf_tile_arrow { transform: translateX(8px); color: var(--tf-brass-ink); }
.tf_tile_text { grid-column: 2 / 4; margin: 8px 0 0; color: var(--tf-muted); font-size: 15px; }
.tf_tile_price { grid-column: 2 / 4; margin: 10px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .02em; }

.tf_tile.tf_wide { grid-column: 1 / -1; }
.tf_tile.tf_wide .tf_tile_link {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--tf-gap);
  background: var(--tf-ink);
  color: var(--tf-bg);
}
.tf_tile.tf_wide .tf_tile_media { grid-column: 1 / 8; aspect-ratio: 16 / 9; }
.tf_tile.tf_wide .tf_tile_body {
  grid-column: 8 / 13;
  align-content: center;
  padding: clamp(24px, 3vw, 48px) clamp(20px, 3vw, 48px) clamp(24px, 3vw, 48px) 0;
  border-bottom: 0;
}
.tf_tile.tf_wide .tf_tile_num { color: var(--tf-brass); }
.tf_tile.tf_wide .tf_tile_text { color: var(--tf-muted-dark); }
.tf_tile.tf_wide .tf_tile_link:hover .tf_tile_arrow { color: var(--tf-brass); }

.tf_tiles_more { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.tf_tiles_more p { margin: 0; max-width: 60ch; color: var(--tf-muted); }

/* ---------- Process steps ---------- */
.tf_steps { list-style: none; counter-reset: tf_step; row-gap: 40px; }
.tf_step { grid-column: span 3; position: relative; padding-top: 30px; border-top: 1px solid var(--tf-ink); }
.tf_step::before {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  background: var(--tf-brass);
}
.tf_step_num { display: block; font-family: var(--tf-font-serif); font-size: 44px; line-height: 1; color: var(--tf-muted); }
.tf_step_title { margin: 18px 0 8px; }
.tf_step_time {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid var(--tf-line-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tf_step p { color: var(--tf-muted); margin: 0; font-size: 15px; }
.tf_steps_media { grid-column: 1 / -1; margin-top: clamp(48px, 6vw, 96px); }
.tf_steps_media .tf_grid { align-items: end; }
.tf_steps_media_img { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.tf_steps_media_note { grid-column: 9 / 13; }
.tf_steps_media_note p { color: var(--tf-muted); }

/* ---------- About teaser / split ---------- */
.tf_split { align-items: center; row-gap: 40px; }
.tf_split_media { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.tf_split_body { grid-column: 7 / 13; }
.tf_split.tf_flip .tf_split_media { grid-column: 8 / 13; grid-row: 1; }
.tf_split.tf_flip .tf_split_body { grid-column: 1 / 7; grid-row: 1; }
.tf_quote {
  margin: 0 0 30px;
  font-family: var(--tf-font-serif);
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.2;
}
.tf_quote_by { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; font-size: 14px; }
.tf_quote_by::before { content: ""; width: 36px; height: 1px; background: var(--tf-brass); }
.tf_quote_by strong { font-weight: 700; }
.tf_split_small { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--tf-gap); }
.tf_split_small div { border-top: 1px solid var(--tf-line-strong); padding-top: 14px; font-size: 14px; color: var(--tf-muted); }
.tf_split_small strong { display: block; font-family: var(--tf-font-serif); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--tf-ink); }

/* ---------- Before / after compare ---------- */
.tf_compare { position: relative; }
.tf_compare_stage {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--tf-bg-alt);
  --tf-pos: 50%;
}
.tf_compare_stage img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.tf_compare_before { clip-path: inset(0 calc(100% - var(--tf-pos)) 0 0); }
.tf_compare_handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--tf-pos);
  width: 2px;
  margin-left: -1px;
  background: var(--tf-bg);
  pointer-events: none;
}
.tf_compare_handle::after {
  content: "\2190\2002\2192";
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 64px; height: 44px;
  transform: translate(-50%, -50%);
  background: var(--tf-ink);
  color: var(--tf-bg);
  font-size: 15px;
  border: 1px solid var(--tf-brass);
}
.tf_compare_tag {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  background: rgba(30, 30, 28, .82);
  color: var(--tf-bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  pointer-events: none;
}
.tf_compare_tag_before { left: 16px; }
.tf_compare_tag_after { right: 16px; background: var(--tf-brass); color: var(--tf-ink); }
.tf_compare_range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.tf_compare_stage:focus-within .tf_compare_handle::after { outline: 2px solid var(--tf-brass); outline-offset: 3px; }
.tf_compare_caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--tf-muted); }

.tf_showcase { row-gap: 40px; align-items: start; }
.tf_showcase_visual { grid-column: 1 / 9; }
.tf_showcase_meta { grid-column: 9 / 13; }
.tf_showcase_meta .tf_h3 { margin-bottom: 18px; }

.tf_meta_list { margin: 24px 0 30px; border-top: 1px solid var(--tf-line-strong); }
.tf_meta_list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--tf-line);
  font-size: 14px;
}
.tf_meta_list dt { color: var(--tf-muted); }
.tf_meta_list dd { margin: 0; font-weight: 600; }
.tf_dark .tf_meta_list { border-top-color: var(--tf-line-dark); }
.tf_dark .tf_meta_list div { border-bottom-color: var(--tf-line-dark); }
.tf_dark .tf_meta_list dt { color: var(--tf-muted-dark); }

/* Gallery mosaic */
.tf_gallery { margin-top: clamp(64px, 8vw, 128px); row-gap: var(--tf-gap); }
.tf_gallery_head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.tf_gallery_item { position: relative; min-height: 220px; }
.tf_gallery_item:nth-child(2) { grid-column: 1 / 8; grid-row: span 2; }
.tf_gallery_item:nth-child(3) { grid-column: 8 / 13; }
.tf_gallery_item:nth-child(4) { grid-column: 8 / 13; }
.tf_gallery_item:nth-child(5) { grid-column: 1 / 5; }
.tf_gallery_item:nth-child(6) { grid-column: 5 / 13; }
.tf_gallery_link { display: block; }
.tf_gallery_item .tf_zoom { position: relative; width: 100%; }
.tf_gallery_item .tf_zoom img { position: absolute; inset: 0; }
.tf_gallery_item:nth-child(3) .tf_zoom,
.tf_gallery_item:nth-child(4) .tf_zoom { aspect-ratio: 16 / 10; }
.tf_gallery_item:nth-child(6) .tf_zoom { aspect-ratio: 16 / 6; }
.tf_gallery_item:nth-child(2) .tf_gallery_link,
.tf_gallery_item:nth-child(5) .tf_gallery_link { position: absolute; inset: 0; }
.tf_gallery_item:nth-child(2) .tf_zoom,
.tf_gallery_item:nth-child(5) .tf_zoom { height: 100%; }
.tf_gallery_cap {
  position: absolute;
  left: 0; bottom: 0;
  padding: 10px 14px;
  background: var(--tf-bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- Testimonials ---------- */
.tf_testimonials { row-gap: clamp(40px, 5vw, 72px); }
.tf_testimonial_main { grid-column: 1 / 10; }
.tf_testimonial_main blockquote { margin: 0; }
.tf_testimonial_main p {
  font-family: var(--tf-font-serif);
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.18;
  margin-bottom: 28px;
}
.tf_testimonial { grid-column: span 4; margin: 0; padding-top: 24px; border-top: 1px solid var(--tf-line-dark); }
.tf_testimonial blockquote { margin: 0; }
.tf_testimonial p { color: rgba(244, 242, 238, .86); font-size: 15.5px; }
.tf_cite { display: block; font-style: normal; font-size: 14px; }
.tf_cite strong { display: block; color: var(--tf-bg); font-weight: 700; font-size: 15px; }
.tf_cite span { color: var(--tf-muted-dark); }
.tf_rating { display: inline-block; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tf-brass); }

/* ---------- Pricing ---------- */
.tf_prices { row-gap: var(--tf-gap); list-style: none; align-items: stretch; }
.tf_price {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 44px);
  border: 1px solid var(--tf-line-strong);
  background: var(--tf-bg);
}
.tf_price.tf_featured { background: var(--tf-ink); color: var(--tf-bg); border-color: var(--tf-ink); }
.tf_price_badge {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 5px 10px;
  background: var(--tf-brass);
  color: var(--tf-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tf_price_name { margin-bottom: 8px; }
.tf_price_for { font-size: 14px; color: var(--tf-muted); min-height: 3.2em; }
.tf_featured .tf_price_for { color: var(--tf-muted-dark); }
.tf_price_value {
  margin: 18px 0 4px;
  font-family: var(--tf-font-serif);
  font-size: clamp(38px, 3.6vw, 56px);
  line-height: 1;
  white-space: nowrap;
}
.tf_price_unit { font-size: 13px; color: var(--tf-muted); margin-bottom: 26px; }
.tf_featured .tf_price_unit { color: var(--tf-muted-dark); }
.tf_check_list { list-style: none; display: grid; gap: 10px; margin-bottom: 32px; font-size: 15px; }
.tf_check_list li { position: relative; padding-left: 26px; }
.tf_check_list li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 14px; height: 1px;
  background: var(--tf-brass);
}
.tf_price .tf_btn { margin-top: auto; }
.tf_price.tf_featured .tf_btn { color: var(--tf-bg); border-color: rgba(244, 242, 238, .7); }
.tf_price.tf_featured .tf_btn:hover { background: var(--tf-brass); border-color: var(--tf-brass); color: var(--tf-ink); }
.tf_price_note { grid-column: 1 / -1; margin-top: 26px; font-size: 14px; color: var(--tf-muted); }

/* ---------- FAQ accordion ---------- */
.tf_faq_layout { row-gap: 40px; }
.tf_faq_intro { grid-column: 1 / 5; }
.tf_faq_intro .tf_h2 { font-size: clamp(30px, 3.1vw, 48px); }
.tf_faq_list { grid-column: 6 / 13; border-top: 1px solid var(--tf-ink); }
.tf_faq_item { border-bottom: 1px solid var(--tf-line-strong); }
.tf_faq_q { margin: 0; font-family: var(--tf-font-sans); font-size: inherit; }
.tf_faq_btn {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: clamp(16px, 1rem + .2vw, 19px);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.tf_faq_btn:hover { color: var(--tf-brass-ink); }
.tf_faq_icon { position: relative; width: 22px; height: 22px; border: 1px solid currentColor; flex: none; }
.tf_faq_icon::before,
.tf_faq_icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--tf-ease);
}
.tf_faq_icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.tf_faq_btn[aria-expanded="true"] .tf_faq_icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.tf_faq_panel { padding: 0 48px 26px 0; color: var(--tf-muted); }
.tf_faq_panel p:last-child { margin-bottom: 0; }
.tf_faq_main { grid-column: 6 / 13; }
.tf_faq_list_inner { border-top: 1px solid var(--tf-ink); }
.tf_faq_sticky { position: sticky; top: calc(var(--tf-header-h) + 32px); align-self: start; }
.tf_faq_sticky .tf_contact_big { display: inline-block; margin-top: 8px; }
.tf_faq_group { margin-bottom: clamp(48px, 6vw, 88px); scroll-margin-top: calc(var(--tf-header-h) + 24px); }
.tf_faq_group:last-child { margin-bottom: 0; }
.tf_cegadat { grid-column: 4 / 11; }
.tf_faq_group_title { margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.tf_cta_band {
  position: relative;
  padding-block: clamp(96px, 12vw, 200px);
  color: var(--tf-bg);
  background: var(--tf-ink);
  overflow: hidden;
}
.tf_cta_band_media { position: absolute; inset: 0; }
.tf_cta_band_media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.tf_cta_band_media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 20, 18, .92) 0%, rgba(20, 20, 18, .7) 45%, rgba(20, 20, 18, .55) 100%);
}
.tf_cta_band .tf_grid { position: relative; z-index: 1; align-items: end; row-gap: 32px; }
.tf_cta_band_title { grid-column: 1 / 9; }
.tf_cta_band_body { grid-column: 1 / 7; }
.tf_cta_band_body p { color: rgba(244, 242, 238, .86); font-size: 17px; margin: 0 0 30px; }
.tf_cta_band_side { grid-column: 9 / 13; grid-row: 1 / 3; align-self: end; border-left: 1px solid var(--tf-line-dark); padding-left: 24px; font-size: 14px; color: rgba(244, 242, 238, .82); }
.tf_cta_band_side a { display: block; margin-top: 6px; font-family: var(--tf-font-serif); font-size: 26px; color: var(--tf-bg); text-decoration: none; }
.tf_cta_band_side a:hover { color: var(--tf-brass); }

/* ---------- Contact + form ---------- */
.tf_contact_layout { row-gap: 48px; }
.tf_contact_side { grid-column: 1 / 5; }
.tf_contact_form_wrap { grid-column: 6 / 13; }
.tf_contact_block { padding: 20px 0; border-top: 1px solid var(--tf-line-strong); font-size: 15px; }
.tf_contact_block:last-child { border-bottom: 1px solid var(--tf-line-strong); }
.tf_contact_label { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tf-muted); }
.tf_contact_big { font-family: var(--tf-font-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; text-decoration: none; }
.tf_contact_block p { margin: 0; }

.tf_form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px var(--tf-gap); }
.tf_field { position: relative; display: flex; flex-direction: column; }
.tf_field.tf_full { grid-column: 1 / -1; }
.tf_label { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.tf_label .tf_req { color: var(--tf-brass-ink); }
.tf_label .tf_opt { font-weight: 500; color: var(--tf-muted); }
.tf_input,
.tf_select,
.tf_textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--tf-line-strong);
  border-radius: 0;
  background: #FBFAF8;
  color: var(--tf-ink);
  font-size: 16px;
  transition: border-color .25s var(--tf-ease), box-shadow .25s var(--tf-ease);
  -webkit-appearance: none;
  appearance: none;
}
.tf_textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.tf_select {
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--tf-ink) 50%), linear-gradient(135deg, var(--tf-ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.tf_input:hover,
.tf_select:hover,
.tf_textarea:hover { border-color: var(--tf-ink); }
.tf_input:focus,
.tf_select:focus,
.tf_textarea:focus { outline: none; border-color: var(--tf-ink); box-shadow: 0 0 0 3px rgba(176, 141, 87, .45); }
.tf_field[data-invalid="true"] .tf_input,
.tf_field[data-invalid="true"] .tf_select,
.tf_field[data-invalid="true"] .tf_textarea { border-color: var(--tf-error); }
.tf_error { min-height: 0; margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--tf-error); }
.tf_error:empty { display: none; }
.tf_check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; }
.tf_check input {
  width: 22px; height: 22px;
  margin: 0;
  border: 1px solid var(--tf-ink);
  border-radius: 0;
  background: #FBFAF8;
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.tf_check input:checked { background: var(--tf-ink); }
.tf_check input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--tf-brass); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.tf_form_footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.tf_form_footer p { margin: 0; font-size: 13px; color: var(--tf-muted); max-width: 44ch; }
.tf_hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tf_form_status { grid-column: 1 / -1; margin: 0; font-weight: 600; color: var(--tf-error); }
.tf_form_status:empty { display: none; }

/* ---------- Services page ---------- */
.tf_service_index { list-style: none; border-top: 1px solid var(--tf-ink); }
.tf_service_index li { grid-column: span 3; border-bottom: 1px solid var(--tf-line-strong); }
.tf_service_index a { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; text-decoration: none; font-weight: 600; }
.tf_service_index a span { font-size: 12px; letter-spacing: .14em; color: var(--tf-brass-ink); }
.tf_service_index a:hover { color: var(--tf-brass-ink); }

.tf_service { padding-block: clamp(56px, 7vw, 112px); border-top: 1px solid var(--tf-line); row-gap: 32px; }
.tf_service:first-of-type { border-top: 0; }
.tf_service_num { grid-column: 1 / 3; font-family: var(--tf-font-serif); font-size: clamp(56px, 6vw, 96px); line-height: .85; color: transparent; -webkit-text-stroke: 1px var(--tf-stone); }
.tf_service_head { grid-column: 3 / 13; }
.tf_service_head .tf_h2 { margin-bottom: 18px; }
.tf_service_media { grid-column: 3 / 8; aspect-ratio: 4 / 3; }
.tf_service_body { grid-column: 8 / 13; }
.tf_service.tf_flip .tf_service_media { grid-column: 8 / 13; grid-row: 2; }
.tf_service.tf_flip .tf_service_body { grid-column: 3 / 8; grid-row: 2; }
.tf_service_body .tf_h4 { margin: 26px 0 12px; }
.tf_service_body .tf_h4:first-child { margin-top: 0; }
.tf_facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--tf-ink); }
.tf_facts div { padding: 14px 14px 0 0; }
.tf_facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tf-muted); }
.tf_facts dd { margin: 6px 0 0; font-weight: 700; font-size: 15px; }

.tf_table_wrap { overflow-x: auto; border: 1px solid var(--tf-line-strong); background: var(--tf-bg); }
.tf_table { min-width: 620px; font-size: 15px; }
.tf_table caption { text-align: left; padding: 16px 18px; font-weight: 700; border-bottom: 1px solid var(--tf-line-strong); }
.tf_table th,
.tf_table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tf-line); }
.tf_table thead th { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tf-muted); background: var(--tf-bg-alt); }
.tf_table tbody tr:last-child th,
.tf_table tbody tr:last-child td { border-bottom: 0; }
.tf_table td:last-child { white-space: nowrap; }
.tf_table_full { grid-column: 1 / -1; }
.tf_notes { grid-column: 1 / -1; margin-top: 28px; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tf-gap); font-size: 14px; color: var(--tf-muted); }
.tf_notes li { border-top: 1px solid var(--tf-line-strong); padding-top: 14px; }
.tf_notes strong { color: var(--tf-ink); display: block; margin-bottom: 4px; }

/* ---------- Projects (references) ---------- */
.tf_project { padding-block: clamp(56px, 7vw, 120px); border-top: 1px solid var(--tf-line); }
.tf_project_head { align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); row-gap: 14px; }
.tf_project_num { grid-column: 1 / 3; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--tf-brass-ink); text-transform: uppercase; }
.tf_project_title { grid-column: 3 / 11; }
.tf_project_loc { grid-column: 11 / 13; justify-self: end; margin: 0; font-size: 13px; font-weight: 600; text-align: right; }
.tf_project_body { row-gap: 32px; align-items: start; }
.tf_project_visual { grid-column: 1 / 9; }
.tf_project_visual .tf_zoom { aspect-ratio: 3 / 2; }
.tf_project_aside { grid-column: 9 / 13; }
.tf_project_aside .tf_meta_list { margin-top: 0; }
.tf_project.tf_flip .tf_project_visual { grid-column: 5 / 13; grid-row: 1; }
.tf_project.tf_flip .tf_project_aside { grid-column: 1 / 5; grid-row: 1; }
.tf_project_story { margin-top: clamp(28px, 3.5vw, 48px); row-gap: 24px; list-style: none; }
.tf_project_story li { grid-column: span 4; padding-top: 16px; border-top: 1px solid var(--tf-ink); font-size: 15px; color: var(--tf-muted); }
.tf_project_story strong { display: block; margin-bottom: 8px; color: var(--tf-ink); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.tf_project_quote { margin: 18px 0 0; padding-left: 18px; border-left: 2px solid var(--tf-brass); font-size: 15px; color: var(--tf-ink); }
.tf_project_quote p { margin-bottom: 8px; font-style: italic; }
.tf_project_quote footer { font-size: 13px; color: var(--tf-muted); }
.tf_project_thumbs { display: grid; grid-template-columns: 1fr; gap: var(--tf-gap); margin-top: var(--tf-gap); }
.tf_project_thumbs .tf_zoom { aspect-ratio: 16 / 10; }

.tf_filter_bar { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; list-style: none; font-size: 14px; }
.tf_filter_bar a { text-decoration: none; border-bottom: 1px solid var(--tf-line-strong); padding-bottom: 3px; }
.tf_filter_bar a:hover { border-color: var(--tf-brass); }

/* ---------- Team / values / timeline ---------- */
.tf_team { list-style: none; row-gap: 48px; }
.tf_member { grid-column: span 3; }
.tf_member_media { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.tf_member_media img { filter: grayscale(.25); }
.tf_member_role { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tf-brass-ink); }
.tf_member p { margin: 14px 0 0; font-size: 14.5px; color: var(--tf-muted); }

.tf_values { list-style: none; row-gap: 40px; }
.tf_value { grid-column: span 6; display: grid; grid-template-columns: 70px 1fr; gap: 0 18px; padding-top: 22px; border-top: 1px solid var(--tf-line-dark); }
.tf_value_num { grid-row: span 2; font-family: var(--tf-font-serif); font-size: 44px; line-height: 1; color: var(--tf-brass); }
.tf_value p { margin: 10px 0 0; color: var(--tf-muted-dark); }

.tf_timeline { list-style: none; border-left: 1px solid var(--tf-ink); grid-column: 4 / 13; }
.tf_timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 0 0 34px 30px; }
.tf_timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; background: var(--tf-brass); }
.tf_timeline_year { font-family: var(--tf-font-serif); font-size: 32px; line-height: 1.1; }
.tf_timeline p { margin: 6px 0 0; color: var(--tf-muted); }
.tf_timeline h3 { font-family: var(--tf-font-sans); font-size: 17px; font-weight: 700; }

.tf_story { row-gap: 40px; align-items: start; }
.tf_story_text { grid-column: 1 / 7; }
.tf_story_text p { font-size: 17px; }
.tf_story_media { grid-column: 8 / 13; }
.tf_story_media .tf_zoom { aspect-ratio: 4 / 5; }
.tf_story_media figcaption,
.tf_figcap { margin-top: 12px; font-size: 13px; color: var(--tf-muted); }

/* ---------- Legal pages ---------- */
.tf_legal { row-gap: 40px; align-items: start; }
.tf_toc {
  grid-column: 1 / 4;
  position: sticky;
  top: calc(var(--tf-header-h) + 24px);
  max-height: calc(100vh - var(--tf-header-h) - 48px);
  overflow-y: auto;
  padding: 22px 0;
  border-top: 1px solid var(--tf-ink);
  font-size: 14px;
}
.tf_toc_title { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tf-muted); }
.tf_toc ol { list-style: none; display: grid; gap: 8px; }
.tf_toc a { text-decoration: none; color: var(--tf-muted); }
.tf_toc a:hover { color: var(--tf-ink); text-decoration: underline; }
.tf_legal_body { grid-column: 5 / 12; font-size: 16px; }
.tf_legal_body h2 {
  margin: 56px 0 18px;
  padding-top: 22px;
  border-top: 1px solid var(--tf-line-strong);
  font-family: var(--tf-font-serif);
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.2;
}
.tf_legal_body h2:first-child { margin-top: 0; }
.tf_legal_body h3 { margin: 30px 0 10px; font-size: 17px; font-weight: 700; }
.tf_legal_body ul,
.tf_legal_body ol { margin: 0 0 1em; padding-left: 1.3em; }
.tf_legal_body li { margin-bottom: 6px; }
.tf_legal_body li::marker { color: var(--tf-brass-ink); }
.tf_legal_body .tf_table_wrap { margin: 18px 0 24px; }
.tf_legal_meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; font-size: 14px; color: var(--tf-muted); grid-column: 1 / -1; }
.tf_legal_meta strong { color: var(--tf-ink); }
.tf_legal_box { margin: 20px 0; padding: 22px 24px; border: 1px solid var(--tf-line-strong); background: var(--tf-bg-alt); }
.tf_legal_box p:last-child { margin-bottom: 0; }
.tf_dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); margin: 0 0 1em; border-top: 1px solid var(--tf-line); }
.tf_dl dt,
.tf_dl dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--tf-line); }
.tf_dl dt { color: var(--tf-muted); padding-right: 16px; }
.tf_dl dd { font-weight: 600; }

/* ---------- Simple centered pages (thanks / 404) ---------- */
.tf_center_page { min-height: calc(100vh - var(--tf-header-h)); display: flex; align-items: center; padding-block: clamp(56px, 8vw, 120px); }
.tf_center_page .tf_grid { width: 100%; row-gap: 40px; align-items: center; }
.tf_center_text { grid-column: 1 / 7; }
.tf_center_text .tf_lead { margin: 24px 0 34px; }
.tf_center_media { grid-column: 8 / 13; aspect-ratio: 4 / 5; }
.tf_big_code { display: block; font-family: var(--tf-font-serif); font-size: clamp(96px, 16vw, 240px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--tf-stone); margin-bottom: 18px; }
.tf_next_steps { list-style: none; counter-reset: tf_next; margin: 0 0 34px; border-top: 1px solid var(--tf-line-strong); }
.tf_next_steps li { counter-increment: tf_next; display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-bottom: 1px solid var(--tf-line); }
.tf_next_steps li::before { content: "0" counter(tf_next); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--tf-brass-ink); padding-top: 4px; }
.tf_link_list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 15px; font-weight: 600; }

/* ---------- Footer ---------- */
.tf_footer { position: relative; background: var(--tf-ink); color: var(--tf-bg); padding-top: clamp(64px, 8vw, 120px); font-size: 14.5px; }
.tf_footer a { text-decoration: none; }
.tf_footer a:hover { color: var(--tf-brass); text-decoration: underline; }
.tf_footer_top { row-gap: 44px; padding-bottom: clamp(48px, 6vw, 88px); }
.tf_footer_brand { grid-column: 1 / 5; }
.tf_footer_brand p { margin: 22px 0 26px; color: var(--tf-muted-dark); max-width: 38ch; }
.tf_footer_col { grid-column: span 2; }
.tf_footer_col.tf_footer_contact { grid-column: 10 / 13; }
.tf_footer_col:nth-of-type(2) { grid-column: 6 / 8; }
.tf_footer_col:nth-of-type(3) { grid-column: 8 / 10; }
.tf_footer_title { display: block; margin-bottom: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tf-brass); }
.tf_footer_list { list-style: none; display: grid; gap: 10px; }
.tf_footer_list li { color: var(--tf-muted-dark); }
.tf_footer_list a { color: var(--tf-bg); }
.tf_footer_btn { padding: 0; border: 0; background: none; color: var(--tf-bg); cursor: pointer; text-align: left; font-size: inherit; }
.tf_footer_btn:hover { color: var(--tf-brass); text-decoration: underline; }
.tf_social { display: flex; gap: 10px; list-style: none; }
.tf_social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--tf-line-dark); color: var(--tf-bg); transition: border-color .3s var(--tf-ease), background-color .3s var(--tf-ease); }
.tf_social a:hover { border-color: var(--tf-brass); background: var(--tf-brass); color: var(--tf-ink); }
.tf_social svg { width: 18px; height: 18px; }
.tf_footer_company { border-top: 1px solid var(--tf-line-dark); padding-block: 24px; font-size: 13px; color: var(--tf-muted-dark); }
.tf_footer_company p { margin: 0; }
.tf_footer_bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; border-top: 1px solid var(--tf-line-dark); padding-block: 22px 30px; font-size: 13px; color: var(--tf-muted-dark); }
.tf_footer_bottom a { color: var(--tf-bg); }
.tf_footer_giant {
  display: block;
  margin-top: 8px;
  font-family: var(--tf-font-serif);
  font-size: clamp(64px, 15.5vw, 252px);
  line-height: .78;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(176, 141, 87, .55);
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}

/* ---------- Cookie banner ---------- */
.tf_cookie {
  position: fixed;
  left: var(--tf-pad);
  bottom: 20px;
  z-index: 150;
  width: min(560px, calc(100vw - 2 * var(--tf-pad)));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 26px 22px;
  background: var(--tf-ink);
  color: var(--tf-bg);
  border: 1px solid var(--tf-brass);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  font-size: 14px;
}
.tf_cookie[hidden] { display: none; }
.tf_cookie_title { margin-bottom: 10px; font-family: var(--tf-font-serif); font-size: 24px; }
.tf_cookie p { color: rgba(244, 242, 238, .85); }
.tf_cookie a { color: var(--tf-bg); }
.tf_cookie_actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tf_cookie .tf_btn { min-height: 44px; padding: 10px 16px; font-size: 11.5px; color: var(--tf-bg); border-color: rgba(244, 242, 238, .55); }
.tf_cookie .tf_btn:hover { background: var(--tf-bg); color: var(--tf-ink); }
.tf_cookie .tf_btn.tf_btn_brass { color: var(--tf-ink); border-color: var(--tf-brass); }
.tf_cookie .tf_btn.tf_btn_brass:hover { background: var(--tf-bg); border-color: var(--tf-bg); }
.tf_cookie_prefs { margin-top: 18px; border-top: 1px solid var(--tf-line-dark); }
.tf_cookie_prefs[hidden] { display: none; }
.tf_cookie_opt { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--tf-line-dark); }
.tf_cookie_opt label { font-weight: 700; cursor: pointer; }
.tf_cookie_opt p { grid-column: 1 / 2; margin: 0; font-size: 13px; color: var(--tf-muted-dark); }
.tf_switch {
  grid-column: 2; grid-row: 1 / 3;
  position: relative;
  width: 48px; height: 26px;
  margin: 0;
  border: 1px solid rgba(244, 242, 238, .55);
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.tf_switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--tf-muted-dark); transition: transform .25s var(--tf-ease), background-color .25s var(--tf-ease); }
.tf_switch:checked { border-color: var(--tf-brass); }
.tf_switch:checked::after { transform: translateX(22px); background: var(--tf-brass); }
.tf_switch:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- Reveal on scroll ---------- */
.tf_js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--tf-ease), transform .9s var(--tf-ease); }
.tf_js [data-reveal].tf_in { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .tf_header_inner { grid-template-columns: auto 1fr auto; }
  .tf_burger { display: inline-block; }
  .tf_nav {
    position: fixed;
    top: var(--tf-header-h); left: 0; right: 0;
    height: calc(100vh - var(--tf-header-h));
    height: calc(100dvh - var(--tf-header-h));
    padding: 36px var(--tf-pad) 48px;
    overflow-y: auto;
    background: var(--tf-ink);
    color: var(--tf-bg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .35s var(--tf-ease), transform .35s var(--tf-ease), visibility 0s linear .35s;
  }
  .tf_nav.tf_open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .tf_nav_list { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--tf-line-dark); }
  .tf_nav_list li { border-bottom: 1px solid var(--tf-line-dark); }
  .tf_nav_link { display: block; padding: 18px 0; font-family: var(--tf-font-serif); font-size: clamp(28px, 6vw, 40px); font-weight: 400; letter-spacing: 0; }
  .tf_nav_link::after { display: none; }
  .tf_nav_link[aria-current="page"] { color: var(--tf-brass); }
  .tf_nav_extra { display: grid; gap: 18px; margin-top: 34px; font-size: 15px; color: var(--tf-muted-dark); }
  .tf_nav_extra a { color: var(--tf-bg); }
  .tf_nav_extra .tf_btn { justify-self: start; color: var(--tf-ink); }
  .tf_header_actions { grid-column: 3; }
}

@media (max-width: 1024px) {
  .tf_hero_block { grid-column: 1 / 11; }
  .tf_hero_aside { display: none; }
  .tf_tile,
  .tf_tile.tf_span_7,
  .tf_tile.tf_span_5 { grid-column: span 6; }
  .tf_tile.tf_wide .tf_tile_media { grid-column: 1 / 7; }
  .tf_tile.tf_wide .tf_tile_body { grid-column: 7 / 13; }
  .tf_step { grid-column: span 6; }
  .tf_price { grid-column: span 6; }
  .tf_price.tf_featured { grid-row: 1; grid-column: 1 / -1; }
  .tf_member { grid-column: span 6; }
  .tf_footer_brand { grid-column: 1 / -1; }
  .tf_footer_col:nth-of-type(2) { grid-column: 1 / 5; }
  .tf_footer_col:nth-of-type(3) { grid-column: 5 / 9; }
  .tf_footer_col.tf_footer_contact { grid-column: 9 / 13; }
  .tf_service_index li { grid-column: span 6; }
}

@media (max-width: 900px) {
  :root { --tf-header-h: 72px; }
  .tf_hero_block { grid-column: 1 / -1; }
  .tf_hero_title { max-width: none; }
  .tf_gridlines_inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tf_gridlines_inner span:nth-child(n+5) { display: none; }
  .tf_gridlines_inner span:nth-child(4) { border-right: 1px solid var(--tf-grid-line); }
  .tf_section_num { grid-column: 1 / -1; grid-row: auto; margin-bottom: 18px; }
  .tf_section_head .tf_eyebrow,
  .tf_section_head .tf_h2,
  .tf_section_head .tf_lead { grid-column: 1 / -1; }
  .tf_page_hero_title,
  .tf_page_hero_lead,
  .tf_page_hero_side { grid-column: 1 / -1; grid-row: auto; }
  .tf_page_hero_side { margin-top: 28px; }
  .tf_page_hero_media { aspect-ratio: 16 / 9; }
  .tf_stats_item { grid-column: span 6; padding-bottom: 26px; border-bottom: 1px solid var(--tf-line); }
  .tf_stats_item:nth-child(2n) { border-right: 0; }
  .tf_dark .tf_stats_item { border-bottom-color: var(--tf-line-dark); }
  .tf_benefit { grid-column: 1 / -1; margin-bottom: 26px; }
  .tf_split_media,
  .tf_split_body,
  .tf_split.tf_flip .tf_split_media,
  .tf_split.tf_flip .tf_split_body { grid-column: 1 / -1; grid-row: auto; }
  .tf_split_media { aspect-ratio: 4 / 3; }
  .tf_steps_media_img,
  .tf_steps_media_note { grid-column: 1 / -1; }
  .tf_steps_media_note { margin-top: 24px; }
  .tf_showcase_visual,
  .tf_showcase_meta { grid-column: 1 / -1; }
  .tf_gallery_item:nth-child(n) { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .tf_gallery_item:nth-child(n) .tf_gallery_link { position: static; }
  .tf_gallery_item:nth-child(n) .tf_zoom { height: auto; aspect-ratio: 16 / 10; }
  .tf_testimonial_main,
  .tf_testimonial { grid-column: 1 / -1; }
  .tf_faq_intro,
  .tf_faq_list,
  .tf_faq_main,
  .tf_cegadat { grid-column: 1 / -1; }
  .tf_faq_sticky { position: static; }
  .tf_cta_band_title,
  .tf_cta_band_body,
  .tf_cta_band_side { grid-column: 1 / -1; grid-row: auto; }
  .tf_contact_side,
  .tf_contact_form_wrap { grid-column: 1 / -1; }
  .tf_service_num,
  .tf_service_head,
  .tf_service_media,
  .tf_service_body,
  .tf_service.tf_flip .tf_service_media,
  .tf_service.tf_flip .tf_service_body { grid-column: 1 / -1; grid-row: auto; }
  .tf_notes { grid-template-columns: 1fr; }
  .tf_project_num,
  .tf_project_title,
  .tf_project_loc,
  .tf_project_visual,
  .tf_project_aside,
  .tf_project.tf_flip .tf_project_visual,
  .tf_project.tf_flip .tf_project_aside { grid-column: 1 / -1; grid-row: auto; }
  .tf_project_loc { justify-self: start; text-align: left; }
  .tf_project_story li { grid-column: 1 / -1; }
  .tf_value { grid-column: 1 / -1; }
  .tf_timeline { grid-column: 1 / -1; }
  .tf_story_text,
  .tf_story_media { grid-column: 1 / -1; }
  .tf_toc { grid-column: 1 / -1; position: static; max-height: none; }
  .tf_legal_body { grid-column: 1 / -1; }
  .tf_center_text,
  .tf_center_media { grid-column: 1 / -1; }
  .tf_center_media { aspect-ratio: 16 / 10; }
  .tf_tile.tf_wide .tf_tile_media,
  .tf_tile.tf_wide .tf_tile_body { grid-column: 1 / -1; }
  .tf_tile.tf_wide .tf_tile_body { padding: 26px 20px 30px; }
  .tf_footer_col:nth-of-type(2),
  .tf_footer_col:nth-of-type(3) { grid-column: span 6; }
  .tf_footer_col.tf_footer_contact { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .tf_header_cta { display: none; }
}

@media (max-width: 640px) {
  .tf_header_phone { display: none; }
  .tf_logo_name { font-size: 22px; }
  .tf_logo_mark { width: 32px; height: 32px; }
  .tf_tile,
  .tf_tile.tf_span_7,
  .tf_tile.tf_span_5,
  .tf_step,
  .tf_price,
  .tf_member,
  .tf_service_index li { grid-column: 1 / -1; }
  .tf_form { grid-template-columns: 1fr; }
  .tf_field { grid-column: 1 / -1; }
  .tf_facts { grid-template-columns: 1fr 1fr; }
  .tf_split_small { grid-template-columns: 1fr; }
  .tf_timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 22px; }
  .tf_dl { grid-template-columns: 1fr; }
  .tf_dl dt { border-bottom: 0; padding-bottom: 0; }
  .tf_value { grid-template-columns: 52px 1fr; }
  .tf_btn_row .tf_btn { width: 100%; }
  .tf_compare_handle::after { width: 52px; height: 38px; font-size: 13px; }
  .tf_hero_trust { gap: 8px 18px; font-size: 13px; }
  .tf_faq_panel { padding-right: 0; }
  .tf_footer_col:nth-of-type(2),
  .tf_footer_col:nth-of-type(3) { grid-column: 1 / -1; }
  .tf_cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px 18px 16px; }
  .tf_cookie_actions .tf_btn { flex: 1 1 auto; }
}

@media (min-width: 1700px) {
  :root { --tf-max: 1560px; }
}

@media print {
  .tf_header,
  .tf_gridlines,
  .tf_cookie,
  .tf_footer_giant,
  .tf_burger { display: none !important; }
  .tf_main { padding-top: 0; }
  body { background: #fff; }
}
