/*
Theme Name: Polytorg
Theme URI: https://polytorg.se/
Author: Polytorg Group
Description: A custom, responsive theme for Polytorg Group.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: polytorg
*/

:root {
  --ink: #151515;
  --green: #f7931d;
  --lime: #f7931d;
  --paper: #f4f3f1;
  --line: #d2d0cd;
  --white: #fff;
  --muted: #6f6d70;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  letter-spacing: -0.04em;
}
em {
  font-family: Manrope, sans-serif;
  font-style: normal;
  font-weight: 600;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 4.5vw;
  border-bottom: 1px solid var(--line);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
  background: #fff;
  box-shadow: 0 1px 12px rgba(21, 21, 21, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 18px/1 Manrope;
}
.brand svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.brand img {
  display: block;
  width: min(250px, 24vw);
  height: auto;
}
.brand small {
  display: block;
  font: 500 7px/1.5 "DM Sans";
  letter-spacing: 0.17em;
  margin-top: 4px;
}
.site-header nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
}
.site-header nav a:hover {
  color: var(--green);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
  background: var(--lime);
  color: #fff;
  text-align: center;
  padding: 17px 21px;
  font-weight: 700;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.2s;
}
.button:hover {
  background: #ffab3d;
  transform: translateY(-2px);
}
.button-small {
  padding: 12px 17px;
  font-size: 13px;
}
.menu-button {
  display: none;
  background: none;
  border: 0;
}
.hero {
  min-height: 780px;
  padding: 150px 4.5vw 70px;
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  gap: 4vw;
}
.hero-copy {
  align-self: center;
  max-width: 650px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.eyebrow span {
  width: 26px;
  height: 1px;
  background: var(--green);
}
.hero h1 {
  font-size: clamp(58px, 6vw, 98px);
  line-height: 0.97;
  margin-bottom: 32px;
}
.hero h1 em,
.section-heading em {
  color: var(--green);
}
.intro {
  font-size: 19px;
  line-height: 1.6;
  max-width: 540px;
  color: #495550;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 33px;
  margin-top: 34px;
}
.text-link {
  font-weight: 700;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
.text-link span {
  margin-left: 30px;
}
.hero-notes {
  display: flex;
  gap: 26px;
  margin-top: 70px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}
.hero-notes span:before {
  content: "✓";
  color: var(--green);
  margin-right: 7px;
}
.hero-visual {
  background: #e4e3df;
  position: relative;
  min-height: 590px;
  overflow: hidden;
}
.hero-visual:before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(23, 35, 31, 0.11);
}
.bag-large {
  position: absolute;
  width: min(73%, 480px);
  height: auto;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 28px 20px rgba(31, 38, 35, 0.2));
}
.hero-product {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.96);
}
.bag .body {
  fill: url(#bagFill);
  stroke: #8f918a;
  stroke-width: 2;
}
.bag .top {
  fill: #c6c5be;
  stroke: #8f918a;
  stroke-width: 2;
}
.bag .loop {
  fill: none;
  stroke: #a2a29b;
  stroke-width: 18;
}
.bag .seam {
  fill: none;
  stroke: #aaa9a1;
  stroke-width: 2;
  stroke-dasharray: 5;
}
.bag text {
  font: 700 24px Manrope;
  fill: #f7931d;
  letter-spacing: 0.08em;
}
.bag .sub {
  font: 600 9px DM Sans;
  letter-spacing: 0.25em;
}
.spec {
  position: absolute;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.spec b,
.spec span {
  display: block;
}
.spec b {
  color: var(--green);
  margin-bottom: 4px;
}
.spec span {
  color: #48524e;
}
.spec-a {
  left: 6%;
  top: 20%;
}
.spec-b {
  right: 5%;
  top: 31%;
}
.spec-c {
  left: 6%;
  bottom: 22%;
}
.figure-label {
  position: absolute;
  right: 5%;
  bottom: 3%;
  font-size: 9px;
  letter-spacing: 0.16em;
}
.hero-visual .spec,
.hero-visual .figure-label {
  z-index: 2;
  color: white;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}
.hero-visual .spec span {
  color: white;
}
.problem-band {
  background: var(--ink);
  color: white;
  padding: 90px 8vw;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.problem-band > .eyebrow {
  margin-bottom: 20px;
}
.light span {
  background: var(--lime);
}
.problem-band > div {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8vw;
}
.problem-band h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  margin: 0;
}
.problem-band p {
  color: #c8d4cf;
  line-height: 1.7;
  align-self: end;
}
.section {
  padding: 120px 4.5vw;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 65px;
}
.section-heading h2,
.cap-intro h2,
.process h2,
.request h2 {
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.07;
  margin: 0;
}
.section-heading > p,
.cap-intro > p,
.request-copy > p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.product-card {
  background: #e8e6dd;
  min-height: 600px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card.featured {
  background: #ddd9cd;
}
.product-card.dark {
  background: var(--ink);
  color: white;
}
.card-number {
  font-size: 11px;
  letter-spacing: 0.12em;
}
.product-card > div:last-child {
  margin-top: auto;
}
.tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  color: var(--green);
  font-weight: 700;
}
.dark .tag {
  color: var(--lime);
}
.product-card h3 {
  font-size: 29px;
  margin-bottom: 12px;
}
.product-card p:not(.tag) {
  color: var(--muted);
  line-height: 1.55;
  min-height: 75px;
}
.dark p:not(.tag) {
  color: #a9b5b0;
}
.product-card a {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #bbbdb7;
  padding-top: 18px;
  margin-top: 25px;
  font-weight: 700;
  font-size: 13px;
}
.mini-bag {
  width: 190px;
  height: 220px;
  background: linear-gradient(90deg, #c2c0b7, #f2efe8, #bcbab1);
  margin: 55px auto 25px;
  position: relative;
  clip-path: polygon(5% 11%, 95% 11%, 88% 100%, 12% 100%);
  filter: drop-shadow(0 18px 10px #aaa);
}
.mini-bag i:before,
.mini-bag i:after {
  content: "";
  position: absolute;
  width: 38px;
  height: 52px;
  border: 9px solid #a09f98;
  border-bottom: 0;
  top: -40px;
}
.mini-bag i:before {
  left: 25px;
}
.mini-bag i:after {
  right: 25px;
}
.mini-bag b {
  position: absolute;
  top: 48%;
  width: 100%;
  text-align: center;
  color: var(--green);
  font: 700 12px Manrope;
}
.one-loop i:before {
  width: 90px;
  left: 40px;
  top: -45px;
}
.one-loop i:after {
  display: none;
}
.liner-graphic {
  height: 280px;
  margin: 25px -27px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 500px;
}
.liner-graphic span {
  height: 170px;
  width: 80px;
  border: 1px solid #6a7772;
  background: linear-gradient(90deg, #25332e, #42514b);
  transform: skewY(-12deg);
  margin: -2px;
}
.capabilities {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 8vw;
  background: #e9e7df;
}
.cap-intro {
  position: sticky;
  top: 40px;
  align-self: start;
}
.cap-intro h2 {
  margin-bottom: 25px;
}
.cap-list article {
  display: grid;
  grid-template-columns: 45px 1fr 40px;
  gap: 18px;
  border-top: 1px solid #c8c8c0;
  padding: 30px 0;
}
.cap-list article:last-child {
  border-bottom: 1px solid #c8c8c0;
}
.cap-list article > span {
  font-size: 10px;
}
.cap-list h3 {
  font-size: 26px;
  margin-bottom: 9px;
}
.cap-list p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}
.cap-list b {
  font-size: 24px;
  color: var(--green);
}
.industries {
  background: #f7f5ef;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  padding: 1px;
  margin: 0;
  background: var(--line);
  list-style: none;
  counter-reset: industries;
}
.industry-grid li {
  grid-column: span 3;
  min-height: 150px;
  padding: 24px;
  background: #f7f5ef;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font: 600 clamp(20px, 2.2vw, 32px) Manrope;
  counter-increment: industries;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.industry-grid li:nth-child(n + 5) {
  grid-column: span 4;
}
.industry-grid li::before {
  content: "0" counter(industries);
  color: var(--green);
  font: 700 10px/1 "DM Sans";
  letter-spacing: 0.14em;
}
.industry-grid li:hover {
  background: var(--ink);
  color: white;
}
.process {
  background: #e9e7df;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10vw;
}
.image-story {
  min-height: 320px;
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  background: var(--ink);
  color: white;
}
.image-story-reverse {
  grid-template-columns: 0.75fr 1.45fr;
}
.image-story-reverse img {
  order: 2;
}
.image-story img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}
.image-story > div {
  padding: 8vw 4.5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.image-story h2 {
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.07;
}
.image-story > div > p:last-child {
  color: #b7c0bd;
  line-height: 1.7;
}
.process-copy > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}
.process ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.process li {
  display: grid;
  grid-template-columns: 45px 1fr;
  border-top: 1px solid #c8c8c0;
  padding: 27px 0;
}
.process li > span {
  color: var(--lime);
  font-size: 10px;
}
.process h3 {
  font-size: 23px;
  margin-bottom: 8px;
}
.process li p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.request {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10vw;
}
.request-copy h2 {
  margin-bottom: 32px;
}
.direct {
  margin-top: 60px;
}
.direct span,
.direct a {
  display: block;
}
.direct span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 8px;
}
.direct a {
  font-weight: 700;
}
.request form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}
.field {
  border-bottom: 1px solid #bfc0b9;
}
.field.full,
.consent,
.submit,
.form-status {
  grid-column: 1/-1;
}
.field label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
}
.field input,
.field textarea {
  width: 100%;
  background: none;
  border: 0;
  padding: 12px 0 15px;
  font: 16px "DM Sans";
  outline: none;
  resize: vertical;
}
.field:focus-within {
  border-color: var(--green);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.consent input {
  accent-color: var(--green);
}
.submit {
  width: 100%;
  font-size: 15px;
}
.form-status {
  font-size: 13px;
  color: var(--green);
  margin: 0;
}
footer {
  background: #0c1713;
  color: #d9e0dd;
  padding: 70px 4.5vw 25px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 6vw;
}
footer .inverse {
  color: white;
  width: fit-content;
  background: transparent;
  padding: 0;
}
footer .inverse img {
  filter: grayscale(1) brightness(0) invert(1);
}
.footer-brand > p {
  margin-top: 23px;
  color: #84918c;
}
footer > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #9ba8a3;
}
footer b {
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 9px;
  margin-bottom: 8px;
}
.copyright {
  grid-column: 1/-1;
  border-top: 1px solid #2d3834;
  padding-top: 25px;
  margin: 40px 0 0;
  color: #66736e;
  font-size: 11px;
}
@media (max-width: 900px) {
  .site-header nav,
  .site-header > .button {
    display: none;
  }
  .menu-button {
    display: block;
    margin-left: auto;
  }
  .menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 6px;
  }
  .site-header.open {
    height: auto;
    padding-bottom: 25px;
    background: var(--paper);
    flex-wrap: wrap;
  }
  .site-header.open nav {
    display: flex;
    order: 3;
    width: 100%;
    flex-direction: column;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }
  .hero-visual {
    min-height: 520px;
  }
  .problem-band,
  .problem-band > div,
  .section-heading,
  .capabilities,
  .process,
  .request {
    grid-template-columns: 1fr;
  }
  .image-story,
  .image-story-reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .image-story-reverse img {
    order: 0;
  }
  .image-story img {
    min-height: 430px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    min-height: 570px;
  }
  .cap-intro {
    position: static;
  }
  .process {
    gap: 60px;
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 74px;
    padding: 0 20px;
  }
  .hero,
  .section {
    padding: 110px 20px 75px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-notes {
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
  }
  .hero-visual {
    min-height: 430px;
  }
  .bag-large {
    width: 88%;
  }
  .spec-b {
    display: none;
  }
  .problem-band {
    padding: 70px 20px;
  }
  .problem-band > div {
    gap: 25px;
  }
  .product-card {
    min-height: 530px;
  }
  .request form {
    grid-template-columns: 1fr;
  }
  .field {
    grid-column: 1/-1;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-header .brand span {
    font-size: 15px;
  }
  .site-header .brand img {
    width: 205px;
  }
  footer {
    grid-template-columns: 1fr;
    padding: 60px 20px 25px;
  }
  footer > div {
    grid-column: 1/-1;
  }
}

/* Original Polytorg content and product photography */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw 9vw;
}
.about-title h2 {
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.07;
}
.about-title em {
  color: var(--green);
}
.about-copy {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.about-copy .lead {
  font-size: 21px;
  color: var(--ink);
  line-height: 1.5;
}
.about-facts {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-facts div {
  padding: 28px 3vw;
  border-right: 1px solid var(--line);
}
.about-facts div:last-child {
  border: 0;
}
.about-facts strong,
.about-facts span {
  display: block;
}
.about-facts strong {
  font: 600 clamp(20px, 2.5vw, 34px) Manrope;
}
.about-facts span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-grid {
  grid-template-columns: repeat(2, 1fr);
}
.product-photo {
  height: 295px;
  margin: 25px -27px 30px;
  overflow: hidden;
  background: #f5f3ec;
}
.product-card:nth-child(1) .product-photo,
.product-card:nth-child(2) .product-photo,
.product-card:nth-child(3) .product-photo {
  background: #e4e3df;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.product-card:nth-child(-n + 2) .product-photo img {
  width: 100%;
  height: 125%;
  position: relative;
  top: -12.5%;
  margin: 0 auto;
  object-fit: contain;
}
.product-card:hover .product-photo img {
  transform: scale(1.025);
}
.dark .product-photo {
  background: #26332e;
}
.dark .product-photo img {
  opacity: 0.9;
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about-facts {
    grid-column: auto;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-grid li,
  .industry-grid li:nth-child(n + 5) {
    grid-column: auto;
  }
}
@media (max-width: 560px) {
  .about-facts {
    grid-template-columns: 1fr;
  }
  .about-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .about-facts div:last-child {
    border-bottom: 0;
  }
  .product-photo {
    height: 240px;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid li {
    min-height: 110px;
  }
}
