@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #626262;
  --heading: #161922;
  --teal: #659999;
  --teal-deep: #557f80;
  --paper: #fcfcfc;
  --dark: #232323;
  --footer: #545454;
  --font-body: "Roboto", Arial, sans-serif;
  --content-width: 1210px;
  --header-height: 95px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

::selection { color: #fff; background: var(--teal); }

.content-width {
  width: min(var(--content-width), calc(100% - 70px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #fff;
  background: var(--dark);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--header-height);
  background: #fff;
  box-shadow: 0 1px 0 rgba(25, 25, 25, 0.025);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content-width), calc(100% - 70px));
  height: 100%;
  margin-inline: auto;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 256px; height: 64px; object-fit: contain; }

.primary-navigation {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 0;
}

.primary-navigation a {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #424242;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  transition: color 180ms ease;
}

.primary-navigation a:hover,
.primary-navigation a[aria-current="location"] { color: var(--teal); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #333;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  height: 594px;
  background-color: #f5f4f1;
  background-image: url("assets/slider06.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-light { background: #fff; }

.about {
  min-height: 630px;
  padding: 70px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 490px;
  align-items: center;
}

.about-portrait {
  display: flex;
  align-self: stretch;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
}

.about-portrait img {
  width: 100%;
  max-width: 488px;
  height: 560px;
  object-fit: contain;
  object-position: center bottom;
}

.about-copy {
  padding: 0 0 0 0;
  transform: translateY(12px);
}

h1, h2, h3, p { margin-top: 0; }

.about-copy h1,
.feature-copy h2,
.supply-copy h2,
.contact-inner > h2 {
  margin: 0 0 15px;
  color: var(--heading);
  font-size: 30px;
  font-weight: 300;
  line-height: 1.28;
}

.about-copy p,
.feature-copy p,
.supply-copy p {
  margin: 0 0 16px;
  text-align: justify;
}

.about-copy p:last-child,
.feature-copy p:last-of-type,
.supply-copy p:last-of-type { margin-bottom: 0; }

.featured {
  min-height: 922px;
  padding: 56px 0 54px;
  color: #fff;
  background-color: #232323;
  background-image: linear-gradient(rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.08)), url("assets/bg002.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.featured-inner { max-width: 1120px; }

.feature-copy h2 {
  margin: 0 0 14px;
  color: #fff;
}

.feature-copy p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.94);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 31px auto 0;
}

.catalog-item {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 1;
  background: #fff;
}

.catalog-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms cubic-bezier(.2,.65,.3,1), opacity 250ms ease;
}

.catalog-item:hover img { transform: scale(1.045); opacity: 0.92; }

.supply {
  min-height: 766px;
  padding: 90px 0;
}

.supply-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.textile-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  background: #e7e7e7;
}

.textile-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease;
}

.textile-image.is-active { opacity: 1; }

.supply-copy { padding: 8px 10px 8px 0; }
.supply-copy h2 { margin-bottom: 22px; }
.supply-copy p { margin-bottom: 21px; }

.supply-rule {
  width: 100%;
  height: 1px;
  margin: 20px 0;
  background: rgba(98, 98, 98, 0.2);
}

.supply-copy h3 {
  margin: 30px 0 17px;
  color: var(--heading);
  font-size: 18px;
  font-weight: 300;
}

.metrics {
  display: flex;
  justify-content: space-between;
  gap: 17px;
}

.metric {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ink);
}

.metric-value {
  color: var(--teal);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 1.04;
}

.metric-value span { margin-left: 1px; font-size: 0.62em; }
.metric-label { margin-top: 5px; font-size: 12px; }

.contact {
  min-height: 785px;
  padding: 70px 0 76px;
  background-color: #f3f3f3;
  background-image: linear-gradient(rgba(255,255,255,.20), rgba(255,255,255,.20)), url("assets/bg001.jpeg");
  background-position: center;
  background-size: cover;
}

.contact-inner { max-width: 1074px; }

.contact-inner > h2 {
  max-width: 920px;
  margin: 0 auto 40px;
  text-align: center;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 21px;
  padding: 25px 32px 28px;
  background: rgba(255, 255, 255, 0.77);
}

.form-field { min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }

.form-field label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-size: 13px;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(90, 90, 90, 0.2);
  border-radius: 0;
  color: #383838;
  background: rgba(255, 255, 255, 0.84);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea { min-height: 106px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(101,153,153,.12); outline: 0; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.submit-button {
  min-width: 110px;
  padding: 10px 22px;
  border: 0;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.submit-button:hover { background: var(--teal-deep); transform: translateY(-1px); }
.submit-button:active { transform: translateY(0); }

.form-feedback {
  margin: 0;
  color: #426d63;
  font-size: 13px;
}
.form-feedback:empty { display: none; }

.site-footer {
  min-height: 440px;
  padding: 72px 0 28px;
  color: #e4e4e4;
  background: var(--footer);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  min-height: 235px;
}

.footer-inner h2 {
  margin: 0 0 19px;
  color: #fff;
  font-size: 19px;
  font-weight: 400;
}

.footer-inner p { margin: 0 0 10px; }
.footer-contact address { font-style: normal; }
.footer-contact address span { color: #fff; }
.footer-contact a:hover,
.footer-bottom a:hover { color: #b9d4d1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
}

.footer-bottom > p { margin: 0; }
.footer-separator { display: inline-block; margin: 0 9px; color: rgba(255,255,255,.53); }

.social-links { display: flex; align-items: center; gap: 8px; }
.social-links a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.social-links a:hover { border-color: var(--teal); color: #fff; background: var(--teal); }

.back-to-top {
  position: fixed;
  z-index: 15;
  right: 22px;
  bottom: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-deep); }
.back-to-top span { font-size: 22px; line-height: 1; }

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .primary-navigation a { padding-inline: 12px; font-size: 12px; }
  .brand img { width: 230px; height: auto; }
  .about-inner { grid-template-columns: 0.9fr 1.1fr; }
  .about-portrait img { height: 500px; }
  .catalog { gap: 11px; }
  .supply-inner { gap: 30px; }
}

@media (max-width: 800px) {
  :root { --header-height: 78px; }
  .content-width,
  .header-inner { width: min(100% - 42px, 680px); }
  .site-header { height: var(--header-height); }
  .brand img { width: 205px; }
  .menu-toggle { display: block; }
  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 9px 16px rgba(0,0,0,.08);
    opacity: 0;
    transition: max-height 240ms ease, opacity 180ms ease;
  }
  .primary-navigation.is-open { max-height: 380px; opacity: 1; }
  .primary-navigation a { min-height: 48px; padding: 0 26px; border-top: 1px solid #f1f1f1; font-size: 14px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .hero { height: clamp(340px, 62vw, 500px); }
  .about { min-height: initial; padding: 58px 0 62px; }
  .about-inner { grid-template-columns: 0.78fr 1.22fr; min-height: 450px; }
  .about-portrait img { height: 450px; }
  .about-copy { transform: none; }
  .about-copy h1,
  .feature-copy h2,
  .supply-copy h2,
  .contact-inner > h2 { font-size: 27px; }
  .featured { min-height: initial; padding: 55px 0; }
  .catalog { margin-top: 27px; }
  .supply { min-height: initial; padding: 65px 0; }
  .supply-inner { grid-template-columns: 0.92fr 1.08fr; gap: 26px; }
  .contact { min-height: initial; padding: 60px 0; }
  .contact-inner > h2 { margin-bottom: 30px; }
  .site-footer { min-height: initial; padding-top: 58px; }
  .footer-inner { gap: 45px; min-height: 220px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  body { font-size: 14px; line-height: 1.75; }
  .content-width,
  .header-inner { width: calc(100% - 36px); }
  .brand img { width: 184px; }
  .hero { height: 360px; background-position: 46% center; }
  .about { padding: 40px 0 48px; }
  .about-inner { grid-template-columns: 1fr; gap: 15px; min-height: initial; }
  .about-portrait { max-height: 290px; }
  .about-portrait img { width: 100%; height: 290px; object-position: center bottom; }
  .about-copy { padding: 6px 2px 0; }
  .about-copy h1,
  .feature-copy h2,
  .supply-copy h2,
  .contact-inner > h2 { font-size: 25px; }
  .about-copy p,
  .feature-copy p,
  .supply-copy p { text-align: left; }
  .featured { padding: 42px 0 44px; }
  .feature-copy p { margin-bottom: 18px; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 24px; }
  .supply { padding: 42px 0 50px; }
  .supply-inner { grid-template-columns: 1fr; gap: 28px; }
  .textile-frame { max-height: 390px; }
  .supply-copy { padding: 0 2px; }
  .supply-copy h3 { margin-top: 23px; }
  .metrics { gap: 8px; }
  .metric-value { font-size: 38px; }
  .metric-label { font-size: 11px; }
  .contact { padding: 44px 0 50px; }
  .contact-inner > h2 { margin-bottom: 24px; }
  .contact-form { grid-template-columns: 1fr; gap: 16px; padding: 20px 17px 22px; }
  .form-field-wide { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-footer { padding: 43px 0 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; min-height: initial; padding-bottom: 30px; }
  .footer-bottom { gap: 16px; padding-top: 20px; }
  .footer-bottom > p { line-height: 2.1; }
  .footer-separator { margin-inline: 5px; }
  .social-links { gap: 7px; }
  .back-to-top { right: 12px; bottom: 12px; width: 38px; height: 38px; }
}

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