@import url("base-TLbALmX.css");

/* Shared tokens/reset/header/footer moved to base.css:
   root, html, body, img, a, site-header, header-inner, logo, main-nav, header-actions, site-footer, footer-inner, footer-brand, footer-logo, footer-column, footer-bottom
*/

/* ========================================================
   NORDISKA — ABOUT
======================================================== */


/* RESET */

* {
  box-sizing: border-box;
}


button {
  font: inherit;
}


/* ========================================================
   HEADER
======================================================== */


.main-nav a,
.header-actions a,
.header-actions button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}


/* ========================================================
   HERO
======================================================== */

.about-hero {
  width: min(calc(100% - 80px), var(--container));
  margin: auto;

  min-height: 720px;

  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr auto;

  padding: 70px 0 100px;
}

.about-hero__label {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-hero h1 {
  grid-column: 2;

  margin: 80px 0 0;

  max-width: 850px;

  font-family: var(--serif);
  font-size: clamp(80px, 11vw, 165px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.065em;
}

.about-hero h1 em {
  color: #89877f;
}

.about-hero__intro {
  grid-column: 2;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;

  max-width: 720px;
  margin-top: 100px;
}

/* AboutPage.heroIntro przez Trix (EasyAdmin TextEditorField) -- każdy akapit w <div>, nie <p>. */
.about-hero__intro p,
.about-hero__intro div {
  margin: 0;

  font-size: 14px;
  line-height: 1.65;
}


/* ========================================================
   IMAGE
======================================================== */

.about-image {
  width: min(calc(100% - 80px), var(--container));
  margin: auto;
}

.about-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


/* ========================================================
   INTRODUCTION
======================================================== */

.about-introduction {
  width: min(calc(100% - 80px), var(--container));
  margin: 160px auto;

  display: grid;
  grid-template-columns: 1fr 2fr;
}

.about-introduction__label {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-introduction__content {
  max-width: 850px;
}

.about-introduction h2 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.045em;
}

.about-copy {
  max-width: 520px;
  margin: 60px 0 0 auto;
}

/* AboutPage.introBody przez Trix (EasyAdmin TextEditorField) -- każdy akapit w <div>, nie <p>. */
.about-copy p,
.about-copy div {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.75;
}


/* ========================================================
   VALUES
======================================================== */

.values {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto 170px;
}

.values-header {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  color: var(--muted);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value {
  padding: 35px 35px 20px 0;
  margin-right: 35px;
  border-right: 1px solid var(--border);
}

.value:last-child {
  border-right: 0;
}

.value-number {
  color: var(--muted);
  font-size: 9px;
}

.value h2 {
  margin: 55px 0 20px;

  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.value p {
  margin: 0;

  color: #5f625e;
  font-size: 11px;
  line-height: 1.7;
}


/* ========================================================
   EDITORIAL
======================================================== */

.about-editorial {
  display: grid;
  grid-template-columns: 1.2fr .8fr;

  width: min(calc(100% - 80px), var(--container));
  margin: auto;
}

.about-editorial__image {
  background: #ddd8ce;
}

.about-editorial__image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-editorial__text {
  padding: 100px 10%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-editorial__text > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-editorial h2 {
  margin: 35px 0;

  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.04em;
}

/* AboutPage.editorialBody przez Trix (EasyAdmin TextEditorField) -- każdy akapit w <div>, nie
   <p>. Zawężone do dedykowanego .about-editorial__body (nie .about-editorial__text ani całego
   .about-editorial) -- oba szersze warianty łapały też cudze <div>: .about-editorial__text
   zawiera bezpośrednio <h2> z własnym zagnieżdżonym <div> (editorialHeading, też z Trixa) --
   selektor po całym .about-editorial__text dostawał się do środka tego <h2> i nadpisywał mu
   font-size/letter-spacing rozmiarem akapitu (nagłówek renderował się nachodzącymi na siebie
   literami); .about-editorial złapałby też .about-editorial__image > .image-placeholder. */
.about-editorial__body p,
.about-editorial__body div {
  max-width: 390px;
  margin: 0 0 20px;

  font-size: 12px;
  line-height: 1.75;
}


/* ========================================================
   PROCESS
======================================================== */

.process {
  width: min(calc(100% - 80px), var(--container));
  margin: 170px auto;

  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
}

.process-title > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.process-title h2 {
  max-width: 450px;
  margin-top: 40px;

  font-family: var(--serif);
  font-size: 60px;
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.045em;
}

.process-list {
  border-top: 1px solid var(--border);
}

.process-item {
  display: grid;
  grid-template-columns: 60px 1fr;

  padding: 30px 0;

  border-bottom: 1px solid var(--border);
}

.process-item > span {
  color: var(--muted);
  font-size: 9px;
}

.process-item h3 {
  margin: 0 0 12px;

  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.process-item p {
  max-width: 480px;
  margin: 0;

  color: #646762;
  font-size: 11px;
  line-height: 1.7;
}


/* ========================================================
   CTA
======================================================== */

.about-cta {
  padding: 160px 20px;

  background: var(--dark);
  color: var(--ivory);

  text-align: center;
}

.about-cta > span {
  color: var(--muted-on-dark);

  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-cta h2 {
  max-width: 800px;
  margin: 40px auto;

  font-family: var(--serif);
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.055em;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 40px;

  padding: 18px 22px;

  border: 1px solid #777873;

  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cta-button span {
  font-size: 16px;
}


/* ========================================================
   FOOTER
======================================================== */


.footer-brand p {
  margin-top: 20px;

  color: #92938e;

  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.05;
}


.footer-column h3 {
  margin: 0 0 12px;

  color: var(--muted-on-dark);

  font-size: 9px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-column a {
  font-size: 12px;
}


/* ========================================================
   MOBILE
======================================================== */

/* Cztery kolumny wartości nie mieszczą się już poniżej ok. 1050px (ten sam powód co niżej). */
@media (max-width: 1050px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value:nth-child(2n) {
    margin-right: 0;
    border-right: 0;
  }
}

@media (max-width: 700px) {

  .header-inner,
  .about-hero,
  .about-image,
  .about-introduction,
  .values,
  .about-editorial,
  .process,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 32px);
  }


  .about-hero {
    display: block;
    min-height: auto;
    padding: 50px 0 80px;
  }

  .about-hero h1 {
    margin-top: 100px;
    font-size: 19vw;
  }

  .about-hero__intro {
    display: block;
    margin-top: 80px;
  }

  .about-hero__intro p,
  .about-hero__intro div {
    margin-bottom: 20px;
  }

  .about-image img {
    aspect-ratio: 4 / 5;
  }

  .about-introduction {
    display: block;
    margin: 100px auto;
  }

  .about-introduction__content {
    margin-top: 45px;
  }

  .about-copy {
    margin-top: 50px;
  }

  .values {
    margin-bottom: 100px;
  }

  /* Jedna kolumna -- przy dwóch dłuższe nagłówki wartości ("Imperfection", 34px) nie mieściły się
     w połowie ekranu telefonu i dawały poziome przewijanie. */
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value {
    margin: 0;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .about-editorial {
    display: block;
  }

  .about-editorial__text {
    padding: 70px 0;
  }

  .process {
    display: block;
    margin: 100px auto;
  }

  .process-title h2 {
    font-size: 48px;
    margin-bottom: 70px;
  }


}
