/*
 * Pages ported 1:1 from the Figma Make design (artifacts/figma-reference/figma-design.css):
 * chapter masthead, Layering, Our story, B2B, Contact and the site footer. Duets and Triads
 * reuse the Collection layout in design-pages.css (client's PDF comments). Classes are prefixed rf- and scoped to .ro-home so they never
 * clash with Astra, WooCommerce or plugin styles. Rem values match the design (16px root).
 */
.ro-home .rf-page {
  --rf-ink: #0a0b0c;
  --rf-cream: #f5f2eb;
  --rf-paper: #eae5dc;
  --rf-gold: #b99657;
  --rf-line: #0a0b0c29;
  color: var(--rf-ink);
  font-family: RoyalSans, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: .005em;
  line-height: 1.5;
}

/* Base resets use :where() so every component rule below (same or higher specificity) wins, as in the design. */
.ro-home .rf-page :where(h1,h2,h3) {
  font-family: RoyalSerif, Georgia, serif;
  font-weight: 400;
  color: inherit;
  max-width: none;
  margin: 0;
  letter-spacing: .005em;
  line-height: 1.2;
}

.ro-home .rf-page :where(p,blockquote) {
  margin: 0;
}

.ro-home .rf-page img {
  max-width: 100%;
  display: block;
}

.ro-home .rf-page a {
  color: inherit;
  text-decoration: none;
}

/* Masthead (all chapter pages) */
.ro-home .rf-masthead {
  font-size: 16px;
  line-height: 1.5;
  font-family: RoyalSans, Arial, sans-serif;
  background: var(--rf-ink, #0a0b0c);
  min-height: 36rem;
  color: var(--rf-cream, #f5f2eb);
  border-top: 1px solid #242526;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem max(3.5rem, -43rem + 50vw);
  position: relative;
  overflow: hidden;
}

.ro-home .rf-masthead::before {
  content: "";
  background: radial-gradient(circle, rgba(198, 161, 91, .17), rgba(0, 0, 0, 0) 65%);
  border-radius: 50%;
  width: 40rem;
  height: 40rem;
  position: absolute;
  top: -15rem;
  right: -8rem;
}

.ro-home .rf-masthead>p {
  z-index: 2;
  letter-spacing: .2em;
  color: #aaa79f;
  font-size: .55rem;
  position: relative;
  text-transform: uppercase;
  margin: 0;
}

.ro-home .rf-masthead>p span {
  color: var(--rf-gold, #b99657);
}

.ro-home .rf-big-heading,
.ro-home .rf-image-caption,
.ro-home .rf-packaging-seal span {
  white-space: pre-line;
}

.ro-home .rf-masthead h1 {
  z-index: 2;
  letter-spacing: -.045em;
  margin: 2rem 0;
  font-family: RoyalSerif, Georgia, serif;
  font-weight: 400;
  font-size: clamp(5rem, 10vw, 9.5rem);
  line-height: .78;
  max-width: none;
  animation: rf-title-arrive 1.2s cubic-bezier(.16, 1, .3, 1) both;
  position: relative;
}

.ro-home .rf-masthead-bottom {
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  position: relative;
}

.ro-home .rf-masthead-bottom>span {
  color: var(--rf-gold, #b99657);
  font: 400 2rem RoyalSerif, Georgia, serif;
}

/* The chapter number that filled the first column was removed (client, 29 Oct): text stays in column 2. */
.ro-home .rf-masthead-bottom>p:only-child {
  grid-column: 2;
}

.ro-home .rf-masthead-bottom p {
  color: #aaa79f;
  max-width: 28rem;
  margin: 0;
  font-size: .8rem;
  line-height: 1.7;
}

.ro-home .rf-masthead-ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(185, 150, 87, .08);
  white-space: nowrap;
  pointer-events: none;
  font: 400 clamp(8rem, 18vw, 18rem)/.7 RoyalSerif, Georgia, serif;
  position: absolute;
  bottom: -3.7rem;
  right: -1rem;
}

.ro-home .rf-masthead-campaign {
  object-fit: cover;
  opacity: .4;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.ro-home .rf-masthead:has(.rf-masthead-campaign)::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 11, 12, .9), rgba(10, 11, 12, .2)), linear-gradient(0deg, rgba(10, 11, 12, .75), rgba(0, 0, 0, 0));
  border-radius: 0;
  width: 100%;
  height: 100%;
  inset: auto auto 0 0;
}

@keyframes rf-title-arrive {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100%);
    transform: translateY(3rem);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
    transform: translateY(0);
  }
}

/* Shared */
.ro-home .rf-section {
  padding: 10rem max(3.5rem, -43rem + 50vw);
}

.ro-home .rf-eyebrow {
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: 0 0 1.8rem;
  font-size: .62rem;
}

.ro-home .rf-eyebrow.rf-gold {
  color: #9b7738;
}

.ro-home .rf-large-copy {
  color: #626058;
  max-width: 31rem;
  margin: 2.2rem 0 3rem;
  font-size: .92rem;
  line-height: 1.85;
}

.ro-home .rf-big-heading {
  letter-spacing: -.035em;
  margin: 0;
  font-size: clamp(3.5rem, 5vw, 5.5rem);
  line-height: .94;
}

/* Icons are 1.4rem by default in the design; text links narrow the width to 1rem but keep the height. */
.ro-home .rf-arrow {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
}

.ro-home .rf-feedback {
  font-size: .7rem;
  color: #6e6a62;
  margin-top: .7rem;
}

/* Layering */
.ro-home .rf-layering {
  background: var(--rf-ink);
  color: var(--rf-cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
}

.ro-home .rf-layer-copy {
  padding: 2rem 0;
}

.ro-home .rf-layering .rf-large-copy {
  color: #a19f98;
}

.ro-home .rf-layer-copy blockquote {
  border-top: 1px solid #333;
  border-left: 1px solid var(--rf-gold);
  color: #d1cdc3;
  margin: 3rem 0 0;
  padding: 2rem 0 0 2rem;
  font: 400 1.45rem/1.35 RoyalSerif, Georgia, serif;
}

.ro-home .rf-layer-visual {
  min-height: 40rem;
  position: relative;
}

.ro-home .rf-layer-visual>img {
  object-fit: cover;
  filter: saturate(.7) contrast(1.08);
  width: 88%;
  height: 38rem;
}

/* Our story */
.ro-home .rf-purity {
  background: var(--rf-paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 0;
  padding-bottom: 0;
}

.ro-home .rf-purity-visual {
  min-height: 53rem;
  margin-left: calc(-1*max(3.5rem, -43rem + 50vw));
  position: relative;
  overflow: hidden;
}

.ro-home .rf-purity-visual img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.ro-home .rf-image-caption {
  color: #b8b5ad;
  font: 400 .85rem/1.5 RoyalSerif, Georgia, serif;
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}

.ro-home .rf-purity-copy {
  padding: 8rem 1rem 6rem 7rem;
}

.ro-home .rf-point-list {
  border-top: 1px solid var(--rf-line);
}

.ro-home .rf-point {
  border-bottom: 1px solid var(--rf-line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
}

.ro-home .rf-point>span {
  color: #9b7738;
  padding-top: .3rem;
  font-size: .55rem;
}

.ro-home .rf-point h3 {
  margin: 0 0 .2rem;
  font: 500 1.2rem RoyalSerif, Georgia, serif;
}

.ro-home .rf-point p {
  color: #77736c;
  margin: 0;
  font-size: .72rem;
}

.ro-home .rf-packaging .rf-point {
  gap: 0;
  padding: 1.25rem 0;
}

.ro-home .rf-packaging .rf-point>span {
  color: #8a6b35;
  font-size: .52rem;
}

.ro-home .rf-packaging {
  background: var(--rf-cream);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 8rem;
}

.ro-home .rf-packaging-visual {
  background: var(--rf-ink);
  min-height: 43rem;
  position: relative;
  overflow: hidden;
}

.ro-home .rf-packaging-visual>img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.ro-home .rf-packaging-visual::after {
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 45%);
  position: absolute;
  inset: 0;
}

.ro-home .rf-packaging-seal {
  z-index: 2;
  color: #c9c2b5;
  letter-spacing: .18em;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .5rem;
  line-height: 1.6;
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  text-transform: uppercase;
}

.ro-home .rf-packaging-seal img {
  object-fit: contain;
  width: 2.5rem;
  height: 3.1rem;
}

.ro-home .rf-story {
  color: var(--rf-cream);
  background: #17191a;
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  align-items: start;
  min-height: 42rem;
}

.ro-home .rf-story-mark {
  border-right: 1px solid #353535;
  display: grid;
  place-items: center;
  height: 25rem;
}

.ro-home .rf-story-mark img {
  mix-blend-mode: screen;
  opacity: .72;
  width: 14rem;
  height: auto;
}

.ro-home .rf-story-copy {
  max-width: 52rem;
  padding: 2rem 0 2rem 7rem;
}

.ro-home .rf-story-paragraphs {
  columns: 2;
  column-gap: 3rem;
  margin-top: 2rem;
}

.ro-home .rf-story-paragraphs p {
  break-inside: avoid;
  color: #a4a198;
  margin: 0 0 1.2rem;
  font-size: .78rem;
  line-height: 1.8;
}

.ro-home .rf-story-paragraphs strong {
  color: var(--rf-gold);
  margin-top: 1.5rem;
  font: 500 1.2rem RoyalSerif, Georgia, serif;
  display: block;
}

/* B2B */
.ro-home .rf-b2b {
  background: var(--rf-paper);
}

.ro-home .rf-b2b-intro {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: end;
  gap: 4rem;
}

.ro-home .rf-b2b-intro .rf-eyebrow {
  grid-column: 1/-1;
  margin-bottom: -2rem;
}

.ro-home .rf-b2b-intro h2 {
  letter-spacing: -.04em;
  margin: 0;
  font-size: clamp(3.5rem, 5vw, 5.7rem);
  line-height: .92;
}

.ro-home .rf-b2b-intro>* {
  min-width: 0;
}

.ro-home .rf-b2b-intro h2 {
  hyphens: auto;
  overflow-wrap: break-word;
}

.ro-home .rf-b2b-intro>p:last-child {
  color: #69665f;
  max-width: 30rem;
  font-size: .85rem;
  line-height: 1.85;
}

.ro-home .rf-b2b-grid {
  border-top: 1px solid var(--rf-line);
  border-bottom: 1px solid var(--rf-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 6rem;
}

.ro-home .rf-b2b-grid article {
  min-height: 18rem;
  padding: 2rem;
}

.ro-home .rf-b2b-grid article+article {
  border-left: 1px solid var(--rf-line);
}

.ro-home .rf-b2b-grid span {
  color: #9b7738;
  font-size: .55rem;
}

.ro-home .rf-b2b-grid h3 {
  margin: 4.5rem 0 1rem;
  font: 500 1.6rem RoyalSerif, Georgia, serif;
}

.ro-home .rf-b2b-grid p {
  color: #716e67;
  max-width: 18rem;
  font-size: .72rem;
  line-height: 1.75;
}

.ro-home .rf-b2b-contact {
  background: var(--rf-ink);
  color: var(--rf-cream);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-top: 6rem;
  padding: 4rem;
}

.ro-home .rf-b2b-contact h3 {
  margin: .7rem 0 0;
  font: 400 2.8rem RoyalSerif, Georgia, serif;
}

.ro-home .rf-b2b-contact a {
  letter-spacing: .1em;
  border-bottom: 1px solid #555;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-bottom: .8rem;
  font-size: .65rem;
}

/* Contact */
.ro-home .rf-contact {
  background: var(--rf-paper);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 10rem;
}

.ro-home .rf-contact-intro h2 {
  letter-spacing: -.035em;
  font-size: clamp(3.5rem, 5vw, 5.5rem);
  line-height: .94;
  margin: 0;
}

.ro-home .rf-contact-intro>p:not(.rf-eyebrow) {
  color: #69665f;
  max-width: 31rem;
  font-size: .85rem;
  line-height: 1.8;
}

.ro-home .rf-company-details {
  border-top: 1px solid var(--rf-line);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .7rem;
  line-height: 1.6;
}

.ro-home .rf-company-details>span {
  color: #9b7738;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  font-size: .52rem;
  display: block;
}

.ro-home .rf-company-details strong {
  font-size: .72rem;
  font-weight: 500;
}

.ro-home .rf-company-details address {
  color: #69665f;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-style: normal;
}

.ro-home .rf-company-details address strong {
  color: inherit;
  margin-bottom: .4rem;
}

.ro-home .rf-company-details address a {
  align-self: flex-start;
}

.ro-home .rf-company-details p {
  color: #69665f;
  margin: .8rem 0;
}

.ro-home .rf-company-details a {
  border-bottom: 1px solid #9b7738;
}

.ro-home .rf-contact-form {
  display: flex;
  flex-direction: column;
}

.ro-home .rf-contact-form>label:not(.rf-consent) {
  border-bottom: 1px solid var(--rf-line);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
}

.ro-home .rf-contact-form label>span {
  color: #77736c;
  letter-spacing: .08em;
  font-size: .6rem;
}

.ro-home .rf-contact-form input:not([type=checkbox]),
.ro-home .rf-contact-form textarea {
  resize: vertical;
  color: var(--rf-ink);
  background: none;
  border: 0;
  outline: 0;
  padding: .7rem 0 0;
  font: inherit;
  font-size: 1rem;
}

/* Focus: a gold underline on the field's row instead of an outline box (the box covered the label above). */
.ro-home .rf-contact-form input:not([type=checkbox]):focus-visible,
.ro-home .rf-contact-form textarea:focus-visible {
  outline: 0;
}

.ro-home .rf-contact-form>label:not(.rf-consent):focus-within {
  border-bottom-color: var(--rf-gold);
  box-shadow: 0 1px 0 var(--rf-gold);
}

.ro-home .rf-contact-form .rf-consent input:focus-visible {
  outline: 2px solid var(--rf-gold);
  outline-offset: 2px;
}

.ro-home .rf-contact-form .rf-consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 1.5rem 0;
  line-height: 1.5;
}

.ro-home .rf-contact-form .rf-consent input {
  accent-color: var(--rf-ink);
  margin: .15rem 0 0;
}

.ro-home .rf-contact-form button {
  background: var(--rf-ink);
  color: var(--rf-cream);
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 0;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1rem 1.3rem;
  font: 500 .58rem RoyalSans, Arial, sans-serif;
  cursor: pointer;
}

@media (max-width: 900px) {
  .ro-home .rf-section {
    padding: 6rem 1.5rem;
  }

  .ro-home .rf-masthead {
    min-height: 29rem;
    padding: 4rem 1.5rem;
  }

  .ro-home .rf-masthead-bottom {
    grid-template-columns: 4rem 1fr;
  }

  .ro-home .rf-masthead-bottom>p:only-child {
    grid-column: 1 / -1;
  }

  /* The long Polish B2B heading broke letter by letter in the narrow first column. */
  .ro-home .rf-b2b-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ro-home .rf-b2b-intro .rf-eyebrow {
    margin-bottom: 0;
  }

  .ro-home .rf-layering,
  .ro-home .rf-packaging {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .ro-home .rf-layer-visual>img {
    width: 94%;
  }

  .ro-home .rf-purity {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .ro-home .rf-purity-visual {
    min-height: 38rem;
    margin: 0;
  }

  .ro-home .rf-purity-copy {
    padding: 6rem 1.5rem;
  }

  .ro-home .rf-packaging-visual {
    min-height: 36rem;
  }

  .ro-home .rf-story {
    grid-template-columns: 1fr;
  }

  .ro-home .rf-story-mark {
    border-bottom: 1px solid #353535;
    border-right: 0;
  }

  .ro-home .rf-story-copy {
    padding: 5rem 0 0;
  }

  .ro-home .rf-story-paragraphs {
    columns: 1;
  }

  .ro-home .rf-b2b-grid {
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .ro-home .rf-b2b-grid article {
    min-height: auto;
  }

  .ro-home .rf-b2b-grid article+article {
    border-left: 0;
    border-top: 1px solid var(--rf-line);
  }

  .ro-home .rf-b2b-grid h3 {
    margin-top: 2.5rem;
  }

  .ro-home .rf-b2b-contact {
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem;
  }

  .ro-home .rf-contact {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
}

@media (max-width: 600px) {
  .ro-home .rf-big-heading,
  .ro-home .rf-layering h2,
  .ro-home .rf-purity h2,
  .ro-home .rf-story h2 {
    font-size: 3.4rem;
  }

  .ro-home .rf-layer-visual {
    min-height: 35rem;
    margin: 0 -1.5rem;
  }

  .ro-home .rf-layer-visual>img {
    width: 100%;
    height: 31rem;
  }

  .ro-home .rf-packaging {
    padding-left: 0;
    padding-right: 0;
  }

  .ro-home .rf-packaging-copy {
    padding: 0 1.5rem;
  }

  .ro-home .rf-packaging-visual {
    min-height: 31rem;
  }

  .ro-home .rf-story-mark {
    height: 19rem;
  }

  .ro-home .rf-story-mark img {
    width: 11rem;
  }

  .ro-home .rf-story-copy {
    padding-left: 0;
  }

  .ro-home .rf-b2b-contact {
    padding: 2rem;
  }

  .ro-home .rf-b2b-contact h3 {
    font-size: 2.2rem;
  }

  .ro-home .rf-b2b-contact a {
    gap: 1rem;
    font-size: .58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ro-home .rf-masthead h1 {
    animation: none;
  }
}

/* Footer (Figma "footer"). Order differs from the design on purpose: legal links, then company details,
   then copyright (client's PDF comment), so the borders are swapped to keep the same rhythm. */
.ro-home .rf-footer {
  background: #0a0b0c;
  color: #f5f2eb;
  padding: 5rem max(3.5rem, -43rem + 50vw) 2rem;
  font: 400 16px/1.5 RoyalSans, Arial, sans-serif;
  letter-spacing: .005em;
}

.ro-home .rf-footer a {
  color: inherit;
  text-decoration: none;
}

.ro-home .rf-footer-brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  letter-spacing: .16em;
  font: 400 1.6rem RoyalSerif, Georgia, serif;
  text-transform: uppercase;
}

.ro-home .rf-footer-brand img {
  object-fit: contain;
  width: 3rem;
  height: 3.8rem;
  max-width: none;
}

.ro-home .rf-footer-links {
  border-top: 1px solid #292929;
  border-bottom: 1px solid #292929;
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr;
  gap: 2rem;
  margin: 4rem 0 2rem;
  padding: 3rem 0;
}

.ro-home .rf-footer-links>div,
.ro-home .rf-footer-links nav {
  color: #8d8d87;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  font-size: .7rem;
}

.ro-home .rf-footer-links h2 {
  color: #b99657;
  letter-spacing: .18em;
  margin: 0 0 .5rem;
  font: 400 .52rem RoyalSans, Arial, sans-serif;
  text-transform: uppercase;
}

.ro-home .rf-footer-links a:hover {
  color: #f5f2eb;
}

.ro-home .rf-social-links {
  display: flex;
  gap: .8rem;
}

.ro-home .rf-social-links a {
  border: 1px solid #343434;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
}

.ro-home .rf-social-links svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
}

.ro-home .rf-footer-company address {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-style: normal;
  line-height: 1.6;
}

.ro-home .rf-footer-company strong {
  color: #f5f2eb;
  letter-spacing: .08em;
  font-weight: 500;
}

.ro-home .rf-footer-company a {
  color: #b99657;
}

/* Text the client adds in the page editor (Layering). */
.ro-home .ro-editable-content .ro-legal-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
}

.ro-home .rf-footer-bottom {
  color: #5c5c59;
  display: flex;
  justify-content: space-between;
  font-size: .58rem;
}

.ro-home .rf-footer :focus-visible {
  outline: 2px solid #b99657;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .ro-home .rf-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 900px) {
  .ro-home .rf-footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ro-home .rf-footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .ro-home .rf-footer-company,
  .ro-home .rf-footer-links>div:nth-child(2) {
    grid-column: 1 / -1;
  }

  .ro-home .rf-footer-bottom {
    flex-direction: column;
    gap: .8rem;
  }
}

/* B2B: offer cards removed for now (client, 29 Oct 2026). */
.ro-home .rf-b2b-soon {
  border-top: 1px solid var(--rf-line);
  border-bottom: 1px solid var(--rf-line);
  color: #9b7738;
  letter-spacing: .3em;
  margin: 3rem 0;
  padding: 3rem 0;
  text-align: center;
  text-transform: uppercase;
  font-size: .8rem;
}
