/* ============================================================
   Techno Industries — Ceramic Mug Manufacturer, Thailand
   Static HTML5 / CSS3 site
   ============================================================ */

:root {
  --clay: #8A4525;
  --clay-dark: #6E3419;
  --clay-light: #B26A46;
  --graphite: #23201D;
  --bisque: #E6E0D8;
  --bisque-soft: #EFEAE3;
  --bisque-line: #D8CFC1;
  --cream: #FBF8F3;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 104px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--bisque);
  color: var(--graphite);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

address { font-style: normal; }

::selection {
  background: var(--clay);
  color: var(--cream);
}

/* subtle grain overlay for texture/depth */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 20px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  max-width: 820px;
  letter-spacing: -0.01em;
}

.section-heading.light .kicker { color: var(--bisque); }
.section-heading.light h2 { color: var(--cream); }
.section-lead {
  margin-top: 18px;
  max-width: 600px;
  font-size: 17px;
  color: var(--bisque-line);
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--clay);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--clay-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 248, 243, 0.55);
}
.btn-ghost:hover {
  background: rgba(251, 248, 243, 0.12);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--clay);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease), color .3s var(--ease);
}
.text-link:hover { border-color: var(--clay); }
.text-link.light { color: var(--bisque); }
.text-link.light:hover { border-color: var(--bisque); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(230, 224, 216, 0);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(230, 224, 216, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--bisque-line);
}
.site-header.force-light {
  background: rgba(230, 224, 216, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--bisque-line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo { height: 62px; width: auto; }

.primary-nav { display: flex; gap: 36px; }
.primary-nav a {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--graphite);
  position: relative;
  padding: 6px 0;
}
.hero:not(.scrolled-past) ~ .site-header .primary-nav a { color: var(--graphite); }
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 501;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--graphite);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 8s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(35,32,29,0.86) 0%, rgba(35,32,29,0.68) 38%, rgba(35,32,29,0.32) 62%, rgba(35,32,29,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) 32px 80px;
  color: var(--cream);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bisque);
  margin-bottom: 26px;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 900px;
  margin-bottom: 30px;
}
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .word {
  display: inline-block;
  transform: translateY(110%);
  animation: wordRise 0.9s var(--ease) forwards;
}
.hero-headline .line:nth-child(1) .word { animation-delay: 0.15s; }
.hero-headline .line:nth-child(2) .word { animation-delay: 0.32s; }
.hero-headline .line:nth-child(3) .word { animation-delay: 0.49s; }
@keyframes wordRise {
  to { transform: translateY(0); }
}
.hero-sub {
  max-width: 560px;
  font-size: 17px;
  color: var(--bisque);
  margin-bottom: 38px;
  opacity: 0.92;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 32px;
  z-index: 1;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(251,248,243,0.55);
  border-radius: 999px;
}
.hero-scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--cream);
  border-radius: 999px;
  animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(16px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
.about { padding: 130px 0 110px; background: var(--bisque); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
.about-heading { position: relative; z-index: 1; }
.about-watermark {
  position: absolute;
  top: 30px;
  left: -30px;
  width: 320px;
  height: auto;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}
.about-copy p { margin-bottom: 20px; color: #423d36; font-size: 16.5px; max-width: 560px; }

/* ============================================================
   WHAT WE OFFER
   ============================================================ */
.offer { padding: 100px 0 130px; background: var(--bisque-soft); border-top: 1px solid var(--bisque-line); border-bottom: 1px solid var(--bisque-line); }
.offer .section-heading { margin-bottom: 60px; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bisque-line);
  border: 1px solid var(--bisque-line);
}
.offer-card {
  background: var(--bisque-soft);
  padding: 40px 28px 44px;
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.offer-card:hover { background: var(--cream); transform: translateY(-4px); }
.offer-num {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--clay);
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}
.offer-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  margin-bottom: 14px;
  line-height: 1.28;
}
.offer-card p { font-size: 15px; color: #55504A; }

/* ============================================================
   PRODUCTS (dark clay section)
   ============================================================ */
.products { padding: 120px 0; background: var(--graphite); }
.products .section-heading { margin-bottom: 56px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card {
  background: #2C2822;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.45s var(--ease);
}
.product-card:hover { transform: translateY(-6px); }
.product-media { aspect-ratio: 4/5; overflow: hidden; background: #1E1B17; }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--cream);
  padding: 22px 20px 8px;
}
.product-card p { font-size: 13.5px; color: var(--bisque-line); padding: 0 20px 26px; }
.products-cta { margin-top: 50px; }

/* catalogue download tile (highlighted, full width) */
.catalogue-tile {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--clay) 0%, var(--clay-dark) 100%);
  border-radius: 4px;
  padding: 38px 42px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.catalogue-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.catalogue-tile .catalogue-info { display: flex; align-items: center; gap: 20px; }
.catalogue-tile .catalogue-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(251,248,243,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalogue-tile .catalogue-icon svg { width: 26px; height: 26px; stroke: var(--cream); }
.catalogue-tile h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 6px;
}
.catalogue-tile p { font-size: 14.5px; color: var(--bisque); margin: 0; }
.catalogue-tile .btn-primary { background: var(--graphite); flex-shrink: 0; }
.catalogue-tile .btn-primary:hover { background: #17140f; }

/* ============================================================
   MANUFACTURING UNIT / FACTORY
   ============================================================ */
.factory { padding: 130px 0 110px; background: var(--bisque); }
.factory .section-heading { margin-bottom: 60px; }
.factory .section-heading h2 { max-width: 900px; font-size: clamp(24px, 3vw, 32px); }
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.factory-grid figure { position: relative; overflow: hidden; border-radius: 4px; }
.factory-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.94);
}
.factory-grid figure:hover img { transform: scale(1.05); filter: saturate(1.05); }
.factory-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--cream);
  background: linear-gradient(to top, rgba(35,32,29,0.82), rgba(35,32,29,0));
}
.factory-cta { margin-top: 44px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 130px 0 150px; background: var(--clay); }
.contact .kicker { color: var(--cream); }
.contact .section-heading h2 { color: var(--cream); max-width: 480px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-block { color: var(--cream); }
.contact-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251,248,243,0.7);
  margin-bottom: 14px;
}
.contact-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}
.contact-block address {
  font-size: 16px;
  line-height: 1.6;
  color: var(--bisque);
  margin-bottom: 24px;
}
.contact-line {
  display: block;
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 8px;
  border-bottom: 1.5px solid transparent;
  width: fit-content;
  transition: border-color 0.3s var(--ease);
}
.contact-line:hover { border-color: var(--cream); }

/* ============================================================
   NAV ACTIVE STATE (inside pages)
   ============================================================ */
.primary-nav a.active { color: var(--clay); }
.primary-nav a.active::after { transform: scaleX(1); }

/* ============================================================
   PAGE BANNER (inside pages)
   ============================================================ */
.page-banner {
  background: var(--graphite);
  padding: calc(var(--header-h) + 84px) 0 74px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,69,37,0.35), rgba(138,69,37,0) 70%);
  pointer-events: none;
}
.page-banner .kicker { color: var(--clay-light); }
.page-banner h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  color: var(--cream);
  max-width: 780px;
  letter-spacing: -0.01em;
}
.page-banner .banner-sub {
  margin-top: 20px;
  font-size: 17px;
  color: var(--bisque-line);
  max-width: 560px;
}

/* ============================================================
   GENERIC CONTENT SECTIONS (inside pages)
   ============================================================ */
.content-section { padding: 100px 0; background: var(--bisque); }
.content-section.alt { background: var(--bisque-soft); border-top: 1px solid var(--bisque-line); border-bottom: 1px solid var(--bisque-line); }
.content-section .section-heading { margin-bottom: 48px; }
.content-copy p { margin-bottom: 20px; color: #423d36; font-size: 16.5px; max-width: 700px; }
.content-copy p:last-child { margin-bottom: 0; }

/* About page: two-column intro with collage */
.about-us-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.about-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
  height: 480px;
  margin-top: 6px;
}
.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(35,32,29,0.14);
}
.about-collage img.tile-tall { grid-row: span 2; }
.about-collage-badge {
  position: absolute;
  left: -22px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--clay);
  color: var(--cream);
  padding: 16px 22px;
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(35,32,29,0.28);
  max-width: 240px;
}
.about-collage-badge img {
  width: 30px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  flex-shrink: 0;
}
.about-collage-badge span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.3;
}

/* capability / customisation checklist */
.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  max-width: 880px;
  margin-top: 8px;
}
.capability-list li {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15.5px;
  color: #423d36;
  padding: 10px 0;
  border-bottom: 1px solid var(--bisque-line);
}
.capability-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--clay);
  border-radius: 2px;
  transform: rotate(45deg);
  align-self: center;
}

/* photo grid (reused for Factory / Products galleries) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.photo-grid figure { position: relative; overflow: hidden; border-radius: 4px; }
.photo-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.94);
}
.photo-grid figure:hover img { transform: scale(1.05); filter: saturate(1.05); }
.photo-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--cream);
  background: linear-gradient(to top, rgba(35,32,29,0.82), rgba(35,32,29,0));
}

/* data tables (Products page) */
.table-wrap { overflow-x: auto; margin-bottom: 16px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 15px 18px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--bisque-line);
  white-space: nowrap;
}
.data-table th:first-child, .data-table td:first-child { white-space: normal; min-width: 220px; }
.data-table th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clay);
  background: var(--bisque-soft);
}
.data-table tbody tr:hover { background: var(--bisque-soft); }
.table-note { font-size: 13.5px; color: #6b655c; font-style: italic; margin-bottom: 60px; }
.table-note:last-of-type { margin-bottom: 0; }
.table-block { margin-bottom: 54px; }
.table-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 18px;
}

/* product gallery cards with names (Products page portfolio) */
.gallery-tile figcaption { text-align: left; }

/* closing CTA band */
.cta-closing { padding: 110px 0; background: var(--clay); text-align: left; }
.cta-closing .kicker { color: var(--cream); }
.cta-closing h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--cream);
  max-width: 640px;
  margin-bottom: 34px;
  line-height: 1.25;
}
.cta-closing .btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-closing .btn-primary { background: var(--graphite); }
.cta-closing .btn-primary:hover { background: #17140f; }

/* contact page */
.contact-page { padding: 100px 0 130px; background: var(--bisque); }
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--bisque-line);
  border-radius: 6px;
  padding: 42px 38px;
}
.contact-card .contact-label {
  color: var(--clay);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.contact-card .contact-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--graphite);
}
.contact-card address {
  font-size: 16px;
  line-height: 1.65;
  color: #423d36;
  margin-bottom: 22px;
}
.contact-card .contact-line {
  display: block;
  font-size: 19px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--clay);
  margin-bottom: 8px;
  width: fit-content;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.contact-card .contact-line:hover { border-color: var(--clay); }
.contact-card .contact-hours {
  margin-top: 22px;
  font-size: 14px;
  color: #6b655c;
}
.map-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--bisque-line);
  aspect-ratio: 4/3.4;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85) contrast(1.02); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--graphite); padding: 34px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(251,248,243,0.6);
}
.footer-inner a { color: var(--bisque); border-bottom: 1px solid rgba(230,224,216,0.35); }
.footer-inner a:hover { border-color: var(--bisque); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ============================================================
   LEGAL PAGES (Privacy / Terms / Disclaimer)
   ============================================================ */
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--graphite);
  margin: 42px 0 14px;
}
.legal-content h2:first-child,
.legal-content > h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: 16px; line-height: 1.7; color: #423d36; margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 20px; }
.legal-content li { font-size: 16px; line-height: 1.7; color: #423d36; margin-bottom: 8px; }
.legal-effective {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bisque-line);
}
.legal-contact {
  margin-top: 8px;
  padding: 30px 34px;
  background: var(--bisque-soft);
  border: 1px solid var(--bisque-line);
  border-radius: 6px;
  max-width: 480px;
}
.legal-contact dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 16px;
}
.legal-contact dt:first-child { margin-top: 0; }
.legal-contact dd { font-size: 15.5px; color: var(--graphite); margin: 2px 0 0; }
.legal-contact a { color: var(--graphite); }
.legal-contact a:hover { color: var(--clay); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-watermark { width: 170px; top: -20px; left: -14px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-list { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-us-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-collage { height: 380px; margin-top: 34px; }
  .about-collage-badge { left: 10px; bottom: -22px; }
  .catalogue-tile { flex-direction: column; align-items: flex-start; text-align: left; padding: 32px; }
}

@media (max-width: 720px) {
  :root { --header-h: 88px; }
  .brand-logo { height: 46px; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bisque);
    flex-direction: column;
    gap: 0;
    padding: 8px 32px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    box-shadow: 0 12px 24px rgba(35,32,29,0.08);
  }
  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--bisque-line); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; text-align: center; }
  .offer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .section-inner { padding: 0 22px; }
  .photo-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .data-table { min-width: 480px; }
  .about-collage { grid-template-columns: 1fr 1fr; height: 320px; }
  .about-collage-badge { max-width: 190px; padding: 12px 16px; font-size: 13px; }
  .catalogue-tile { padding: 26px 22px; max-width: 380px; margin: 0 auto; }
  .catalogue-tile .btn-primary { width: 100%; justify-content: center; }
}
