:root {
  --tf-ink: #171512;
  --tf-muted: #706b65;
  --tf-accent: #c8955f;
  --tf-accent-dark: #9f6d37;
  --tf-cream: #f7f0e8;
  --tf-cream-2: #fcfaf7;
  --tf-line: #e8dfd5;
  --tf-white: #fff;
  --tf-success: #2f6b52;
  --tf-radius-sm: 12px;
  --tf-radius: 22px;
  --tf-radius-lg: 34px;
  --tf-shadow: 0 22px 70px rgba(73, 51, 31, .11);
  --tf-shell: min(1180px, calc(100vw - 40px));
  --tf-ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tf-white);
  color: var(--tf-ink);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.tf-modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .55em; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 7vw, 6.3rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.tf-skip-link { position: fixed; z-index: 10000; top: 10px; left: 10px; transform: translateY(-140%); padding: .75rem 1rem; background: var(--tf-ink); color: #fff; border-radius: 8px; }
.tf-skip-link:focus { transform: translateY(0); }
.tf-shell { width: var(--tf-shell); margin-inline: auto; }
.tf-main { min-height: 65vh; overflow: hidden; }
.tf-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; color: var(--tf-accent-dark); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tf-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.tf-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; border: 1px solid var(--tf-accent); border-radius: 999px; padding: .78rem 1.35rem; background: var(--tf-accent); color: #fff; box-shadow: 0 10px 24px rgba(164, 108, 52, .18); cursor: pointer; font-size: .9rem; font-weight: 750; transition: transform .35s var(--tf-ease), box-shadow .35s, background .25s; }
.tf-button:hover { transform: translateY(-3px); background: var(--tf-accent-dark); box-shadow: 0 15px 34px rgba(164, 108, 52, .28); }
.tf-button-outline { background: rgba(255,255,255,.65); color: var(--tf-ink); box-shadow: none; }
.tf-button-outline:hover { color: #fff; }
.tf-button-small { min-height: 39px; padding: .6rem 1.05rem; font-size: .78rem; }
.tf-text-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--tf-accent-dark); font-weight: 800; }
.tf-text-link:hover { color: var(--tf-ink); }

/* Header */
.tf-site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(231,222,213,.8); background: rgba(255,255,255,.91); backdrop-filter: blur(18px); transition: box-shadow .3s, background .3s; }
.tf-site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 12px 35px rgba(64,45,28,.08); }
.tf-header-inner { display: grid; width: var(--tf-shell); min-height: 78px; margin: auto; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.tf-brand { display: inline-flex; flex-direction: column; width: max-content; line-height: 1; }
.tf-brand .custom-logo { width: auto; max-height: 54px; }
.tf-brand-word { font-size: 1.52rem; font-weight: 850; letter-spacing: -.05em; }
.tf-brand-word b { color: var(--tf-accent-dark); }
.tf-brand-sub { margin-top: .25rem; color: var(--tf-muted); font-size: .48rem; font-weight: 800; letter-spacing: .45em; text-align: center; }
.tf-menu, .tf-primary-nav .menu { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2vw, 1.7rem); margin: 0; padding: 0; list-style: none; }
.tf-menu li, .tf-primary-nav .menu li { position: relative; }
.tf-menu a, .tf-primary-nav .menu a { display: block; padding: 1.7rem 0; font-size: .85rem; font-weight: 680; }
.tf-menu a::after, .tf-primary-nav .menu a::after { position: absolute; right: 0; bottom: 1.25rem; left: 0; height: 2px; background: var(--tf-accent); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--tf-ease); }
.tf-menu a:hover::after, .tf-menu .current-menu-item > a::after, .tf-primary-nav .menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.tf-header-actions { display: flex; align-items: center; gap: .65rem; }
.tf-icon-link { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid transparent; border-radius: 50%; }
.tf-icon-link:hover { border-color: var(--tf-line); background: var(--tf-cream-2); }
.tf-icon-link svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.tf-language { display: flex; align-items: center; gap: .2rem; padding-left: .2rem; }
.tf-language a { padding: .25rem .32rem; color: var(--tf-muted); font-size: .72rem; font-weight: 800; }
.tf-language a.is-current { color: var(--tf-accent-dark); }
.tf-nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.tf-nav-toggle-line { display: block; width: 23px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .25s, opacity .25s; }

/* Hero */
.tf-home-hero { position: relative; min-height: min(720px, calc(100vh - 78px)); overflow: hidden; background: var(--tf-cream); }
.tf-home-hero-media { position: absolute; inset: 0; }
.tf-home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.03); animation: tfHeroBreath 12s ease-in-out infinite alternate; }
.tf-home-hero-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,240,232,.96) 0%, rgba(247,240,232,.82) 32%, rgba(247,240,232,.15) 64%, rgba(247,240,232,0) 100%); content: ""; }
.tf-home-hero-inner { position: relative; z-index: 2; display: grid; min-height: inherit; align-items: center; }
.tf-home-hero-copy { width: min(590px, 57%); padding-block: 6rem; }
.tf-home-hero h1 { max-width: 620px; font-size: clamp(3.2rem, 6vw, 6.4rem); }
.tf-home-hero h1 span { display: block; color: var(--tf-accent-dark); }
.tf-home-hero p { max-width: 540px; color: #4e4841; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.tf-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.tf-hero-note { display: flex; align-items: center; gap: .8rem; margin-top: 2.6rem; color: var(--tf-muted); font-size: .78rem; font-weight: 650; }
.tf-hero-note::before { width: 46px; height: 1px; background: var(--tf-accent); content: ""; }
.tf-scroll-cue { position: absolute; z-index: 3; bottom: 30px; left: 50%; display: grid; width: 30px; height: 48px; place-items: start center; border: 1px solid rgba(23,21,18,.28); border-radius: 999px; transform: translateX(-50%); }
.tf-scroll-cue::after { width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--tf-accent-dark); content: ""; animation: tfScroll 2s infinite; }
@keyframes tfHeroBreath { to { transform: scale(1.08); } }
@keyframes tfScroll { 50% { transform: translateY(20px); opacity: .3; } }

/* Shared sections */
.tf-section { padding: clamp(5rem, 9vw, 9rem) 0; }
.tf-section-soft { background: linear-gradient(135deg, #fcfaf7, #f7efe6); }
.tf-section-dark { background: #1d1b18; color: #fff; }
.tf-section-heading { max-width: 760px; margin: 0 auto 3.2rem; text-align: center; }
.tf-section-heading-left { margin-inline: 0 auto; text-align: left; }
.tf-section-heading p { color: var(--tf-muted); font-size: 1.02rem; }
.tf-section-dark .tf-section-heading p { color: #bdb8b0; }
.tf-services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--tf-line); border-radius: var(--tf-radius); background: var(--tf-line); }
.tf-service-card { min-height: 245px; padding: 2rem 1.15rem; background: #fff; text-align: center; transition: transform .35s var(--tf-ease), background .35s; }
.tf-service-card:hover { z-index: 1; background: var(--tf-cream-2); transform: translateY(-7px); }
.tf-service-icon { display: grid; width: 62px; height: 62px; margin: 0 auto 1.2rem; place-items: center; border-radius: 50%; background: var(--tf-cream); color: var(--tf-accent-dark); font-size: 1.35rem; font-weight: 800; }
.tf-service-card h3 { font-size: 1rem; letter-spacing: -.02em; }
.tf-service-card p { color: var(--tf-muted); font-size: .83rem; line-height: 1.55; }
.tf-category-layout { display: grid; grid-template-columns: .72fr 2.28fr; align-items: center; gap: 3rem; }
.tf-category-intro p { color: var(--tf-muted); }
.tf-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tf-category-card { position: relative; min-height: 330px; overflow: hidden; border-radius: var(--tf-radius); background: var(--tf-cream); box-shadow: 0 8px 28px rgba(66,48,32,.06); }
.tf-category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--tf-ease); }
.tf-category-card:hover img { transform: scale(1.06); }
.tf-category-card-content { position: absolute; right: 0; bottom: 0; left: 0; padding: 3.5rem 1.4rem 1.25rem; background: linear-gradient(transparent, rgba(23,21,18,.82)); color: #fff; }
.tf-category-card-content h3 { margin: 0; font-size: 1.1rem; }
.tf-category-card-content span { color: rgba(255,255,255,.76); font-size: .76rem; }
.tf-story-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: stretch; gap: clamp(2rem, 5vw, 5rem); }
.tf-story-media { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--tf-radius-lg); }
.tf-story-media img { width: 100%; height: 100%; object-fit: cover; }
.tf-story-media-badge { position: absolute; right: 24px; bottom: 24px; width: 135px; padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: var(--tf-shadow); backdrop-filter: blur(14px); }
.tf-story-media-badge strong { display: block; color: var(--tf-accent-dark); font-size: 1.8rem; }
.tf-story-content { display: flex; flex-direction: column; justify-content: center; }
.tf-story-content > p { color: var(--tf-muted); font-size: 1.06rem; }
.tf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0; }
.tf-stat strong { display: block; color: var(--tf-accent-dark); font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1; }
.tf-stat span { color: var(--tf-muted); font-size: .75rem; }
.tf-process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.tf-process::before { position: absolute; top: 40px; right: 10%; left: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--tf-accent), transparent); content: ""; }
.tf-process-step { position: relative; z-index: 1; text-align: center; }
.tf-process-number { display: grid; width: 82px; height: 82px; margin: 0 auto 1rem; place-items: center; border: 8px solid #fff; border-radius: 50%; background: var(--tf-cream); color: var(--tf-accent-dark); box-shadow: 0 10px 30px rgba(91,63,37,.1); font-weight: 850; transition: transform .35s var(--tf-ease); }
.tf-process-step:hover .tf-process-number { transform: translateY(-8px) rotate(4deg); }
.tf-process-step h3 { font-size: .95rem; }
.tf-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tf-blog-card { overflow: hidden; border: 1px solid var(--tf-line); border-radius: var(--tf-radius); background: #fff; transition: transform .4s var(--tf-ease), box-shadow .4s; }
.tf-blog-card:hover { transform: translateY(-8px); box-shadow: var(--tf-shadow); }
.tf-card-media { display: block; aspect-ratio: 1.4; overflow: hidden; background: var(--tf-cream); }
.tf-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tf-ease); }
.tf-blog-card:hover .tf-card-media img { transform: scale(1.05); }
.tf-card-body { padding: 1.3rem 1.35rem 1.5rem; }
.tf-card-body time { color: var(--tf-muted); font-size: .76rem; }
.tf-card-body h2, .tf-card-body h3 { margin-top: .45rem; font-size: 1.2rem; }
.tf-card-body p { color: var(--tf-muted); font-size: .9rem; }

/* Inner hero and about/contact */
.tf-page-hero { position: relative; min-height: 420px; overflow: hidden; background: var(--tf-cream); }
.tf-page-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,241,233,.98), rgba(248,241,233,.7) 42%, rgba(248,241,233,.05) 72%); content: ""; }
.tf-page-hero-media { position: absolute; inset: 0; }
.tf-page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tf-page-hero-inner { position: relative; z-index: 2; display: flex; min-height: inherit; align-items: center; }
.tf-page-hero-inner > div { max-width: 650px; padding-block: 4.5rem; }
.tf-page-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.tf-page-hero p { max-width: 560px; color: #534b43; }
.tf-page-hero-compact { min-height: 340px; }
.tf-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; color: var(--tf-muted); font-size: .8rem; }
.tf-breadcrumbs a:hover { color: var(--tf-accent-dark); }
.tf-mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.tf-callout { padding: 2rem; border: 1px solid var(--tf-line); border-radius: var(--tf-radius); background: linear-gradient(135deg, #fff, var(--tf-cream-2)); }
.tf-callout h3 { display: flex; align-items: center; gap: .8rem; }
.tf-callout h3 span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--tf-cream); color: var(--tf-accent-dark); }
.tf-strength-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.tf-factory-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 3rem; }
.tf-factory-gallery { display: grid; grid-template-columns: 1fr .66fr; gap: .8rem; }
.tf-factory-gallery img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: var(--tf-radius); }
.tf-certificate-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.tf-certificate { display: grid; min-height: 210px; place-items: center; padding: 1.5rem; border: 1px solid var(--tf-line); border-radius: var(--tf-radius); background: #fff; text-align: center; }
.tf-certificate span { display: grid; width: 74px; height: 74px; place-items: center; border: 1px solid var(--tf-accent); border-radius: 50%; color: var(--tf-accent-dark); font-size: 1.45rem; font-weight: 850; }
.tf-certificate small { color: var(--tf-muted); }
.tf-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tf-contact-card { padding: 1.8rem 1.2rem; border: 1px solid var(--tf-line); border-radius: var(--tf-radius); background: #fff; text-align: center; }
.tf-contact-card-icon { display: grid; width: 54px; height: 54px; margin: 0 auto 1rem; place-items: center; border-radius: 50%; background: var(--tf-cream); color: var(--tf-accent-dark); font-size: 1.25rem; }
.tf-contact-card p, .tf-contact-card a { color: var(--tf-muted); font-size: .86rem; }
.tf-contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.tf-location-panel { overflow: hidden; border-radius: var(--tf-radius); background: var(--tf-cream); }
.tf-location-panel img { width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.tf-map-placeholder { position: relative; display: grid; min-height: 270px; place-items: center; overflow: hidden; padding: 2rem; background-color: #eef0ec; background-image: linear-gradient(30deg, transparent 24%, rgba(141,154,142,.19) 25%, rgba(141,154,142,.19) 26%, transparent 27%, transparent 74%, rgba(141,154,142,.19) 75%, rgba(141,154,142,.19) 76%, transparent 77%), linear-gradient(120deg, transparent 24%, rgba(190,167,136,.18) 25%, rgba(190,167,136,.18) 27%, transparent 28%); background-size: 72px 72px; }
.tf-map-card { max-width: 320px; padding: 1.2rem 1.35rem; border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: var(--tf-shadow); }
.tf-map-card b { display: block; }
.tf-connect { text-align: center; }

/* Forms */
.tf-form { display: grid; gap: 1rem; }
.tf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tf-field { display: grid; gap: .4rem; }
.tf-field-full { grid-column: 1 / -1; }
.tf-field label { font-size: .78rem; font-weight: 750; }
.tf-field input, .tf-field select, .tf-field textarea, .tf-filter-search { width: 100%; border: 1px solid var(--tf-line); border-radius: 13px; padding: .9rem 1rem; outline: none; background: #fff; transition: border .2s, box-shadow .2s; }
.tf-field input:focus, .tf-field select:focus, .tf-field textarea:focus, .tf-filter-search:focus { border-color: var(--tf-accent); box-shadow: 0 0 0 4px rgba(200,149,95,.13); }
.tf-field textarea { min-height: 150px; resize: vertical; }
.tf-form-note { color: var(--tf-muted); font-size: .78rem; }
.tf-form-status { padding: 1rem 1.15rem; border-radius: 12px; background: #edf7f2; color: var(--tf-success); font-weight: 700; }
.tf-hp { position: absolute !important; left: -10000px !important; }
.tf-account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.tf-account-card { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--tf-line); border-radius: var(--tf-radius); background: #fff; box-shadow: 0 15px 50px rgba(79,55,33,.06); }
.tf-account-card .login-username, .tf-account-card .login-password { display: grid; gap: .4rem; }
.tf-account-card input[type="text"], .tf-account-card input[type="password"] { width: 100%; border: 1px solid var(--tf-line); border-radius: 13px; padding: .9rem 1rem; }
.tf-account-card input[type="submit"] { border: 0; border-radius: 999px; padding: .85rem 1.4rem; background: var(--tf-accent); color: #fff; cursor: pointer; font-weight: 800; }

/* Product archive */
.tf-products-layout { display: grid; grid-template-columns: 270px 1fr; align-items: start; gap: 2rem; }
.tf-filters { position: sticky; top: 104px; padding: 1.3rem; border: 1px solid var(--tf-line); border-radius: var(--tf-radius); background: var(--tf-cream-2); }
.tf-filter-group { padding: 1.2rem 0; border-bottom: 1px solid var(--tf-line); }
.tf-filter-group:first-child { padding-top: 0; }
.tf-filter-group:last-child { border-bottom: 0; }
.tf-filter-group h3 { margin-bottom: .8rem; font-size: .92rem; }
.tf-check { display: flex; align-items: center; gap: .6rem; margin: .45rem 0; color: var(--tf-muted); font-size: .82rem; cursor: pointer; }
.tf-check input { width: 16px; height: 16px; accent-color: var(--tf-accent-dark); }
.tf-products-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.tf-products-toolbar p { margin: 0; color: var(--tf-muted); font-size: .84rem; }
.tf-sort { border: 1px solid var(--tf-line); border-radius: 12px; padding: .68rem .9rem; background: #fff; }
.tf-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tf-product-card { overflow: hidden; border: 1px solid var(--tf-line); border-radius: var(--tf-radius); background: #fff; transition: transform .4s var(--tf-ease), box-shadow .4s; }
.tf-product-card[hidden] { display: none; }
.tf-product-card:hover { transform: translateY(-7px); box-shadow: var(--tf-shadow); }
.tf-product-card-image { position: relative; display: block; aspect-ratio: 1 / .88; overflow: hidden; background: var(--tf-cream); }
.tf-product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tf-ease); }
.tf-product-card:hover img { transform: scale(1.045); }
.tf-card-tag { position: absolute; top: 13px; left: 13px; padding: .38rem .64rem; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--tf-accent-dark); font-size: .66rem; font-weight: 800; backdrop-filter: blur(8px); }
.tf-product-card-body { padding: 1.1rem 1.15rem 1.25rem; }
.tf-product-card h3 { margin-bottom: .35rem; font-size: 1rem; }
.tf-product-card p { color: var(--tf-muted); font-size: .8rem; }
.tf-product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 8vw, 7rem); }
.tf-product-main-image { overflow: hidden; border-radius: var(--tf-radius); background: var(--tf-cream); }
.tf-product-main-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tf-product-thumbs { display: flex; gap: .7rem; margin-top: .7rem; }
.tf-product-thumbs button { width: 76px; padding: 0; overflow: hidden; border: 1px solid var(--tf-accent); border-radius: 12px; background: #fff; cursor: pointer; }
.tf-product-summary { padding-top: 1rem; }
.tf-product-summary h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.tf-rating { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.tf-rating span { color: var(--tf-accent-dark); letter-spacing: .15em; }
.tf-rating small { color: var(--tf-muted); }
.tf-product-excerpt { color: var(--tf-muted); }
.tf-spec-list { margin: 1.5rem 0; border-top: 1px solid var(--tf-line); }
.tf-spec-list div { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--tf-line); }
.tf-spec-list dt { font-weight: 750; }
.tf-spec-list dd { margin: 0; color: var(--tf-muted); }
.tf-product-actions { margin-top: 1.7rem; }
.tf-product-tax { margin-top: 1.2rem; color: var(--tf-muted); font-size: .82rem; }
.tf-product-description { grid-column: 1 / -1; max-width: 850px; padding-top: 2rem; border-top: 1px solid var(--tf-line); }
.tf-product-description h2 { font-size: 1.5rem; }
.tf-feature-row { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.tf-feature-pill { display: flex; align-items: center; gap: .6rem; padding: 1rem; border-radius: 14px; background: var(--tf-cream-2); font-size: .77rem; font-weight: 750; }
.tf-feature-pill span { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--tf-cream); color: var(--tf-success); }

/* Modal */
.tf-modal { position: fixed; z-index: 5000; inset: 0; display: none; padding: 24px; place-items: center; background: rgba(21,18,15,.68); backdrop-filter: blur(9px); }
.tf-modal.is-open { display: grid; }
.tf-modal-dialog { position: relative; width: min(680px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: var(--tf-radius-lg); background: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.28); animation: tfModalIn .45s var(--tf-ease); }
.tf-modal-content { padding: clamp(1.5rem, 5vw, 3.2rem); }
.tf-modal-close { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--tf-line); border-radius: 50%; background: #fff; cursor: pointer; }
@keyframes tfModalIn { from { transform: translateY(24px) scale(.98); opacity: 0; } }

/* Footer */
.tf-site-footer { border-top: 1px solid var(--tf-line); background: #f3e8dd; }
.tf-footer-grid { display: grid; width: var(--tf-shell); margin: auto; grid-template-columns: 1.25fr .8fr .85fr 1fr; gap: 3rem; padding: 4rem 0 3rem; }
.tf-footer-grid h2 { font-size: .86rem; letter-spacing: 0; }
.tf-footer-brand p, .tf-footer-contact p, .tf-footer-contact a { display: block; color: #5f5a54; font-size: .82rem; }
.tf-brand-footer { margin-bottom: 1.2rem; }
.tf-socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.tf-socials a { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(23,21,18,.84); color: #fff; font-size: .72rem; font-weight: 850; transition: transform .25s, background .25s; }
.tf-socials a:hover { transform: translateY(-3px); background: var(--tf-accent-dark); }
.tf-footer-menu { margin: 0; padding: 0; list-style: none; }
.tf-footer-menu li { margin: .38rem 0; }
.tf-footer-menu a { color: #4f4a44; font-size: .82rem; }
.tf-footer-menu a:hover { color: var(--tf-accent-dark); }
.tf-footer-contact .tf-button { display: inline-flex; margin-top: .7rem; color: #fff; }
.tf-footer-bottom { display: flex; width: var(--tf-shell); margin: auto; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.1rem 0; border-top: 1px solid rgba(120,99,76,.16); color: #777069; font-size: .7rem; }
.tf-footer-bottom p { margin: 0; }
.tf-footer-bottom div { display: flex; gap: .75rem; }
.tf-archive-shell, .tf-empty-state { padding-block: 6rem; }
.tf-empty-state { min-height: 60vh; text-align: center; }
.tf-empty-state p { color: var(--tf-muted); }

/* Reveal */
.tf-reveal { opacity: 1; transform: none; transition: opacity .75s var(--tf-ease), transform .75s var(--tf-ease); }
.tf-motion-ready .tf-reveal { opacity: 0; transform: translateY(28px); }
.tf-motion-ready .tf-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .tf-header-inner { grid-template-columns: auto auto 1fr; gap: 1rem; }
  .tf-nav-toggle { display: block; }
  .tf-primary-nav { position: fixed; top: 78px; right: 0; left: 0; max-height: 0; overflow: hidden; background: rgba(255,255,255,.98); box-shadow: 0 20px 40px rgba(40,29,18,.1); transition: max-height .45s var(--tf-ease); }
  .tf-primary-nav.is-open { max-height: calc(100vh - 78px); overflow: auto; }
  .tf-menu, .tf-primary-nav .menu { display: block; width: var(--tf-shell); margin: auto; padding: 1.2rem 0 2rem; }
  .tf-menu a, .tf-primary-nav .menu a { padding: .9rem 0; font-size: 1.05rem; }
  .tf-menu a::after, .tf-primary-nav .menu a::after { bottom: .55rem; }
  .tf-header-actions { justify-self: end; }
  .tf-services-grid { grid-template-columns: repeat(3, 1fr); }
  .tf-category-layout { grid-template-columns: 1fr; }
  .tf-category-intro { max-width: 620px; }
  .tf-product-grid { grid-template-columns: repeat(2, 1fr); }
  .tf-strength-grid { grid-template-columns: repeat(3, 1fr); }
  .tf-certificate-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --tf-shell: min(100% - 28px, 1180px); }
  .tf-header-inner { min-height: 70px; }
  .tf-primary-nav { top: 70px; }
  .tf-header-actions .tf-icon-link, .tf-header-actions .tf-button { display: none; }
  .tf-home-hero { min-height: 740px; }
  .tf-home-hero-media::after { background: linear-gradient(180deg, rgba(247,240,232,.96) 0%, rgba(247,240,232,.8) 48%, rgba(247,240,232,.18) 100%); }
  .tf-home-hero-inner { align-items: start; }
  .tf-home-hero-copy { width: 100%; padding-top: 5rem; }
  .tf-home-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .tf-services-grid { grid-template-columns: repeat(2, 1fr); }
  .tf-service-card { min-height: 210px; }
  .tf-category-grid, .tf-blog-grid { grid-template-columns: 1fr; }
  .tf-category-card { min-height: 390px; }
  .tf-story-grid, .tf-factory-grid, .tf-contact-layout, .tf-account-grid, .tf-product-detail { grid-template-columns: 1fr; }
  .tf-story-media { min-height: 400px; }
  .tf-stats { grid-template-columns: repeat(2, 1fr); }
  .tf-process { grid-template-columns: 1fr; }
  .tf-process::before { top: 0; bottom: 0; left: 41px; width: 1px; height: auto; }
  .tf-process-step { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 1rem; text-align: left; }
  .tf-process-number { margin: 0; }
  .tf-mission-grid, .tf-contact-cards { grid-template-columns: 1fr; }
  .tf-strength-grid { grid-template-columns: 1fr 1fr; }
  .tf-certificate-grid { grid-template-columns: 1fr 1fr; }
  .tf-factory-gallery { grid-template-columns: 1fr; }
  .tf-products-layout { grid-template-columns: 1fr; }
  .tf-filters { position: static; }
  .tf-product-grid { grid-template-columns: 1fr 1fr; }
  .tf-feature-row { grid-template-columns: 1fr 1fr; }
  .tf-form-grid { grid-template-columns: 1fr; }
  .tf-field-full { grid-column: auto; }
  .tf-footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .tf-footer-bottom { align-items: flex-start; flex-direction: column; gap: .5rem; }
}

@media (max-width: 500px) {
  .tf-services-grid, .tf-strength-grid, .tf-certificate-grid, .tf-product-grid, .tf-feature-row, .tf-footer-grid { grid-template-columns: 1fr; }
  .tf-products-toolbar { align-items: flex-start; flex-direction: column; }
  .tf-category-card { min-height: 330px; }
  .tf-page-hero { min-height: 360px; }
}

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