:root {
  --paper: #f5f1e9;
  --ivory: #f7f3ec;
  --navy: #3c5d80;
  --navy-deep: #174061;
  --gold: #aa8450;
  --gold-soft: #d4b87e;
  --muted: #677587;
  --page-ratio: 1.4142;
  --page-h: min(78vh, 760px);
  --page-w: calc(var(--page-h)/var(--page-ratio));
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--navy);
}

a,
button {
  font: inherit;
}
.latin {
  font-family: Didot, "Bodoni 72", "Times New Roman", serif;
  direction: ltr;
}
.catalog-app {
  height: 100dvh;
  min-height: 620px;
  position: relative;
  display: grid;
  grid-template-rows: 68px 1fr 74px 28px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(37, 80, 111, 0.46),
      transparent 32%
    ),
    radial-gradient(circle at 78% 78%, rgba(66, 91, 91, 0.22), transparent 34%),
    linear-gradient(145deg, #550a55 0%, #0c2131 54%, #07131d 100%);
}
.catalog-app:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.025),
    transparent 30%,
    rgba(218, 186, 122, 0.02) 70%,
    transparent
  );
}
.catalog-topbar {
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  direction: ltr;
  color: #f5efe5;
}
.top-brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.top-brand-name {
  font:
    400 16px/1 Didot,
    "Bodoni 72",
    serif;
  letter-spacing: 0.01em;
}
.top-brand-design {
  font-size: 7px;
  opacity: 0.58;
  letter-spacing: 0.34em;
}
.top-actions {
  display: flex;
  gap: 8px;
}
.icon-btn,
.nav-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: 0.22s ease;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.icon-btn:hover,
.icon-btn[aria-pressed="true"],
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(222, 190, 128, 0.42);
}
.icon-btn:disabled,
.nav-btn:disabled {
  opacity: 0.28;
  cursor: default;
}
.stage {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  perspective: 2300px;
  min-height: 0;
}
.book {
  position: relative;
  width: calc(var(--page-w) * 2);
  height: var(--page-h);
  transform-style: preserve-3d;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.34));
  transform: translateX(-25%);
  transition: transform 0.42s ease;
}
.book.is-open {
  transform: translateX(0);
}
.book.is-back-closed {
  transform: translateX(25%);
}
.book:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.2%;
  bottom: 1.2%;
  width: 2px;
  z-index: 80;
  opacity: 0.54;
  pointer-events: none;
  background: linear-gradient(
    transparent,
    rgba(29, 25, 22, 0.26) 12%,
    rgba(255, 255, 255, 0.48) 50%,
    rgba(29, 25, 22, 0.24) 88%,
    transparent
  );
}
.book:not(.is-open):after {
  opacity: 0;
}
.leaf {
  position: absolute;
  left: 50%;
  top: 0;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  z-index: calc(30 - var(--i, 0));
  transition: transform 0.48s cubic-bezier(0.52, 0.03, 0.34, 0.99);
}
.leaf.turned {
  transform: rotateY(-180deg);
  z-index: calc(30 + var(--i, 0));
}
.page {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 34px rgba(58, 45, 26, 0.045);
}
.page.front {
  transform: rotateY(0);
}
.page.back {
  transform: rotateY(180deg);
}
.page:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background: linear-gradient(
    90deg,
    rgba(38, 31, 24, 0.045),
    transparent 6%,
    transparent 94%,
    rgba(38, 31, 24, 0.04)
  );
}
.page-inner {
  height: 100%;
  padding: clamp(26px, 3.35vw, 47px);
  position: relative;
  display: flex;
  flex-direction: column;
}
.section-kicker {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.page-no {
  position: absolute;
  bottom: 19px;
  left: 23px;
  font:
    400 10px/1 Tahoma,
    Arial,
    sans-serif;
  color: #8e7958;
  z-index: 25;
}
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #8a693d;
  border-bottom: 1px solid rgba(158, 119, 63, 0.34);
  padding-bottom: 3px;
  font-size: 8px;
  line-height: 1.3;
  width: max-content;
}
.demo-link span {
  font-family: Arial, sans-serif;
}

/* Cover */
.cover-page {
  background: #0b201c;
  color: #f8f3e9;
}

/* About */
.intro-page {
  background: linear-gradient(160deg, #f8f4ed 0%, #f1e9dd 72%, #dfccb0 145%);
}

/* Curated websites */
.websites-page {
  background: #f7f3ec;
}

/* Project hero pages */

/* Jewelry campaign */
.campaign-page {
  background: #f6f3ed;
}
.campaign-butterfly {
  background: #0d1115;
}
.campaign-butterfly .torn-photo {
  position: absolute;
  inset: 6.5% 17% 6.5% 6.5%;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
}
.campaign-butterfly .torn-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.campaign-butterfly .torn-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 12, 15, 0.08), transparent 35%);
}
.campaign-butterfly .torn-edge {
  position: absolute;
  right: 14.8%;
  top: 7%;
  bottom: 7%;
  width: 8px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(244, 239, 230, 0.92) 8%,
    rgba(244, 239, 230, 0.55) 48%,
    rgba(244, 239, 230, 0.92) 92%,
    transparent
  );
  clip-path: polygon(
    50% 0,
    92% 4%,
    35% 8%,
    72% 12%,
    28% 17%,
    80% 22%,
    39% 27%,
    88% 31%,
    31% 37%,
    76% 43%,
    26% 49%,
    81% 55%,
    34% 61%,
    87% 68%,
    31% 74%,
    73% 80%,
    39% 86%,
    91% 92%,
    49% 100%,
    0 100%,
    0 0
  );
}
.vertical-word {
  position: absolute;
  right: 4.8%;
  top: 9%;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 45px;
  line-height: 0.5;
  color: #eee7db;
  opacity: 0.94;
}
.campaign-butterfly .page-no {
  color: #b9a98e;
}

.campaign-grid {
  background: #f6f2eb;
}

/* Contact and back */
.contact-page {
  background: linear-gradient(155deg, #f7f3ec 0%, #efe8de 68%, #dfccb0 150%);
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 18%,
      rgba(195, 159, 102, 0.18),
      transparent 25%
    ),
    linear-gradient(110deg, transparent 56%, rgba(31, 54, 77, 0.035));
}
.contact-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 8.5%;
  display: flex;
  flex-direction: column;
  text-align: right;
}
.contact-inner h2 {
  font-weight: 400;
  font-size: clamp(29px, 3vw, 43px);
  margin: 10px 0 8%;
  background: linear-gradient(90deg, #8b6837, #c7a66b, #745934);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-list {
  display: grid;
  border-top: 1px solid rgba(32, 54, 77, 0.11);
}
.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  padding: 10px 0;
  border-bottom: 1px solid rgba(32, 54, 77, 0.11);
}
.contact-list small {
  font-size: 6.5px;
  color: #7b8791;
}
.contact-list b {
  font-size: 7.4px;
  font-weight: 600;
  color: #2b4055;
}
.contact-list b.latin {
  font-family: Arial, sans-serif;
  font-weight: 500;
}
.contact-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 15px;
  text-decoration: none;
  background: #20364d;
  color: #f7f1e6;
  font-size: 8px;
  letter-spacing: 0.02em;
}
.contact-cta span {
  font-family: Arial, sans-serif;
}
.back-cover {
  background: linear-gradient(155deg, #f7f3ec 0%, #eee7dc 73%, #e4d6c3 145%);
}
.back-cover-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}
.logo-frame {
  width: 45%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
}
.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.back-copy {
  display: grid;
  gap: 8px;
  color: #20364d;
}
.back-copy strong {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.back-copy span {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #8d795d;
}

/* Controls */
.catalog-controls {
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(590px, 72vw);
  margin: 0 auto;
  direction: ltr;
}
.nav-btn {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
}
.progress-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  color: #95a4b2;
  font-size: 6.8px;
  text-align: center;
  direction: rtl;
}
.progress {
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  flex: 1;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8d6b3a, #e0c38a);
  transition: width 0.35s;
}

@media (max-width: 900px) {
  :root {
    --page-h: min(74vh, 690px);
  }
  .catalog-app {
    grid-template-rows: 58px 1fr 68px 24px;
    min-height: 560px;
  }
  .catalog-topbar {
    padding: 12px 15px;
  }
  .top-brand-name {
    font-size: 14px;
  }
  .top-brand-design {
    font-size: 6px;
  }
  .book {
    width: var(--page-w);
    height: var(--page-h);
    transform: none !important;
  }
  .book:after {
    display: none;
  }
  .leaf {
    left: 0;
    width: 100%;
    transform-origin: left center;
    transform: none !important;
    pointer-events: none;
  }
  .leaf.turned {
    transform: none !important;
  }
  .page.front,
  .page.back {
    transform: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease;
  }
  .leaf.mobile-current-front .page.front,
  .leaf.mobile-current-back .page.back {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .page:after {
    background: linear-gradient(
      90deg,
      rgba(38, 31, 24, 0.06),
      transparent 8%,
      transparent 92%,
      rgba(38, 31, 24, 0.045)
    );
  }

  .intro-heading h2,
  .editorial-heading h2,
  .contact-inner h2 {
    font-size: 29px;
  }

  .vertical-word {
    font-size: 42px;
  }
}
@media (max-width: 580px) {
  :root {
    --page-h: min(71vh, 610px);
  }
  .top-brand {
    margin-left: 10px;
    flex-shrink: 0;
  }
  .page-inner {
    padding: 21px 18px;
  }

  .demo-link {
    font-size: 5.8px;
  }

  .vertical-word {
    font-size: 36px;
  }

  .contact-inner {
    padding: 8%;
  }
  .contact-inner h2 {
    font-size: 25px;
    margin-bottom: 7%;
  }
  .contact-list a {
    padding: 8px 0;
  }
  .contact-list small {
    font-size: 5.3px;
  }
  .contact-list b {
    font-size: 6.1px;
  }
  .contact-cta {
    font-size: 6.8px;
    padding: 10px 12px;
  }
  .logo-frame {
    width: 42%;
  }
  .back-copy strong {
    font-size: 16px;
  }
  .back-copy span {
    font-size: 4.8px;
  }
}
@media (max-height: 720px) and (min-width: 901px) {
  :root {
    --page-h: 69vh;
  }
  .catalog-app {
    grid-template-rows: 58px 1fr 62px 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .leaf,
  .book,
  .progress i {
    transition: none !important;
  }
}

/* ===== Reference-led redesign: cover, about, pages 2–4, page 6 ===== */
.ref-cover {
  background: #f5f3ef;
  color: #111;
}
.ref-cover-photo {
  position: absolute;
  inset: 0 49% 0 0;
  overflow: hidden;
  background: #0f1f19;
}
.ref-cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  display: block;
  transform: scale(1.03);
}
.ref-cover-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 12, 10, 0.16), transparent 64%);
}
.ref-cover-white {
  position: absolute;
  inset: 0 0 0 51%;
  background: #f7f6f3;
}
.ref-cover-word {
  position: absolute;
  z-index: 5;
  left: 51%;
  top: 9%;
  bottom: 9%;
  transform: translateX(-46%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #101010;
  font-family:
    Arial Black,
    Arial,
    sans-serif;
  font-weight: 900;
  font-size: clamp(55px, 5.9vw, 87px);
  line-height: 0.76;
  letter-spacing: -0.085em;
}
.ref-cover-word span {
  display: block;
  min-width: 1em;
  text-align: center;
}
.ref-cover-meta {
  position: absolute;
  right: 5.5%;
  top: 5.5%;
  z-index: 6;
  font:
    600 5.5px/1 Arial,
    sans-serif;
  letter-spacing: 0.18em;
  color: #555;
}
.ref-cover-bottom {
  position: absolute;
  z-index: 6;
  right: 5.5%;
  left: 5.5%;
  bottom: 4.8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 5.4px;
  color: #777;
  letter-spacing: 0.06em;
}
.ref-cover-bottom .latin {
  font:
    600 5.7px/1 Arial,
    sans-serif;
  letter-spacing: 0.17em;
  color: #222;
}

.ref-about-page {
  background: #edece6;
  color: #1a1a1a;
}
.ref-about-page:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(0, 0, 0, 0.085) 0.55px,
    transparent 0.6px
  );
  background-size: 5px 5px;
  opacity: 0.22;
}
.about-paper {
  position: absolute;
  inset: 0 0 0 39%;
  background: rgba(244, 242, 234, 0.96);
}
.about-left-photo {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 39%;
  overflow: hidden;
  background: #222;
}
.about-left-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  filter: grayscale(1) contrast(1.03) brightness(0.8);
  transform: scale(1.08);
}
.about-outline {
  position: absolute;
  z-index: 3;
  left: 26%;
  top: 24%;
  width: 57%;
  height: 35%;
  border: 1.5px solid #1a1a1a;
}
.about-center-photo {
  position: absolute;
  z-index: 4;
  left: 27.5%;
  top: 25.5%;
  width: 54%;
  height: 32%;
  overflow: hidden;
  background: #aaa;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.08);
}
.about-center-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(0.72) contrast(1.02);
  transform: scale(1.14);
}
.about-title {
  position: absolute;
  z-index: 7;
  right: 7%;
  top: 6%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family:
    Arial Black,
    Arial,
    sans-serif;
  font-weight: 900;
  font-size: clamp(43px, 4.9vw, 71px);
  line-height: 0.72;
  letter-spacing: -0.065em;
  color: #171717;
  direction: ltr;
}
.about-copy {
  position: absolute;
  z-index: 6;
  right: 7%;
  left: 45%;
  top: 64%;
  text-align: right;
  color: #353535;
  display: grid;
  gap: 8px;
}
.about-copy p {
  margin: 0;
  font-size: 7.1px;
  line-height: 1.85;
}
.about-copy .about-lead {
  font-size: 8.4px;
  font-weight: 700;
  line-height: 1.75;
  color: #181818;
}

.ref-about-page .page-no {
  color: #222;
}

.red-editorial-page {
  background: #f5f4f0;
  color: #151515;
}
.red-editorial-page:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(0, 0, 0, 0.07) 0.48px,
    transparent 0.55px
  );
  background-size: 6px 6px;
  opacity: 0.16;
  pointer-events: none;
}
.red-ed-inner {
  position: relative;
  height: 100%;
  padding: 7.5% 7%;
  direction: ltr;
}

.red-ed-title {
  position: absolute;
  left: 7%;
  top: 10%;
  font-family: Arial, sans-serif;
  font-size: clamp(36px, 4.3vw, 63px);
  line-height: 0.83;
  letter-spacing: -0.05em;
  color: #171717;
}
.red-ed-title span,
.red-ed-title strong {
  display: block;
}
.red-ed-title strong {
  font-family:
    Arial Black,
    Arial,
    sans-serif;
  font-weight: 900;
}
.red-line-box {
  position: absolute;
  border: 2px solid #a91d24;
  z-index: 1;
}
.red-line-box-a {
  left: 6.7%;
  top: 26%;
  width: 61%;
  height: 31%;
}
.red-shot {
  position: absolute;
  z-index: 3;
  margin: 0;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
}
.red-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.red-shot-main {
  left: 15%;
  top: 31%;
  width: 58%;
  height: 27%;
}

.red-ed-copy {
  position: absolute;
  right: 7%;
  left: 38%;
  bottom: 8%;
  text-align: right;
  direction: rtl;
}
.red-ed-copy h3 {
  margin: 0 0 7px;
  font-size: 11px;
  color: #151515;
}
.red-ed-copy p {
  margin: 0 0 9px;
  font-size: 6.6px;
  line-height: 1.8;
  color: #444;
}
.red-accent-block {
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: 4px;
  height: 28px;
  background: #ac1f26;
}

.red-editorial-page .demo-link {
  color: #8e171d;
  border-color: rgba(142, 23, 29, 0.32);
}
.red-editorial-page .page-no {
  color: #a11d23;
}

.red-project-page .red-ed-inner {
  padding: 7%;
}
.project-red-title {
  position: absolute;
  left: 7%;
  top: 8%;
  z-index: 7;
  font-family: Arial, sans-serif;
  font-size: clamp(35px, 4.1vw, 61px);
  line-height: 0.78;
  letter-spacing: -0.055em;
  color: #171717;
}
.project-red-title strong {
  font-family:
    Arial Black,
    Arial,
    sans-serif;
  font-weight: 900;
}
.project-red-frame {
  left: 10%;
  top: 27%;
  width: 80%;
  height: 39%;
}
.project-red-shot {
  position: absolute;
  z-index: 4;
  left: 15%;
  top: 31%;
  width: 76%;
  height: 36%;
  margin: 0;
  overflow: hidden;
  background: white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.09);
}
.project-red-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.project-red-copy {
  position: absolute;
  right: 7%;
  left: 39%;
  bottom: 8%;
  text-align: right;
  direction: rtl;
}
.project-red-copy > span {
  display: block;
  direction: ltr;
  text-align: right;
  font:
    600 5.2px/1.3 Arial,
    sans-serif;
  letter-spacing: 0.12em;
  color: #a31b21;
  margin-bottom: 7px;
}
.project-red-copy p {
  margin: 0 0 8px;
  font-size: 6.6px;
  line-height: 1.8;
  color: #444;
}

.project-accent {
  right: 6%;
  top: 12%;
  bottom: auto;
  height: 42px;
}
.dental-red-title {
  left: auto;
  right: 7%;
  text-align: right;
}
.dental-red-frame {
  left: 8%;
  top: 26%;
  width: 82%;
  height: 39%;
}
.dental-red-shot {
  left: 9%;
  top: 30%;
  width: 77%;
  height: 36%;
}
.dental-red-copy {
  right: 39%;
  left: 7%;
  text-align: left;
  direction: rtl;
}
.dental-red-copy > span {
  text-align: left;
}

.arc-campaign-page {
  background: #ededeb;
  color: #fff;
}
.arc-dark-panel {
  position: absolute;
  z-index: 5;
  left: -24%;
  top: -7%;
  width: 76%;
  height: 114%;
  background: #171717;
  border-radius: 0 56% 56% 0;
  box-shadow: 12px 0 0 rgba(23, 23, 23, 0.04);
  padding: 14% 12% 11% 34%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.arc-page-no {
  color: #ddd;
  left: 4%;
  z-index: 8;
}

@media (max-width: 900px) {
  .ref-cover-word {
    font-size: 72px;
  }
  .about-title {
    font-size: 58px;
  }
  .red-ed-title,
  .project-red-title {
    font-size: 49px;
  }
}
@media (max-width: 580px) {
  .ref-cover-word {
    font-size: 57px;
    left: 51%;
    top: 10%;
    bottom: 10%;
  }
  .ref-cover-meta {
    font-size: 4.2px;
  }
  .ref-cover-bottom {
    font-size: 4.2px;
  }
  .ref-cover-bottom .latin {
    font-size: 4.5px;
  }
  .about-title {
    font-size: 42px;
    right: 6%;
    top: 7%;
  }
  .about-outline {
    left: 24%;
    top: 24%;
    width: 61%;
    height: 34%;
  }
  .about-center-photo {
    left: 25.5%;
    top: 25.5%;
    width: 58%;
    height: 31%;
  }
  .about-copy {
    right: 6%;
    left: 43%;
    top: 63%;
    gap: 6px;
  }
  .about-copy p {
    font-size: 5.6px;
    line-height: 1.75;
  }
  .about-copy .about-lead {
    font-size: 6.6px;
  }
  .red-ed-title,
  .project-red-title {
    font-size: 36px;
  }

  .red-ed-copy h3 {
    font-size: 8.5px;
  }
  .red-ed-copy p,
  .project-red-copy p {
    font-size: 5.3px;
  }
  .project-red-copy > span {
    font-size: 4.2px;
  }
}
/* final sizing corrections for reference layouts */
.ref-cover-photo {
  left: 0;
  top: 0;
  bottom: 0;
  right: auto;
  width: 51%;
}
.ref-cover-white {
  left: 51%;
  right: 0;
  top: 0;
  bottom: 0;
}
.ref-cover-word {
  font-size: 78px;
}
.about-title {
  font-size: 56px;
}
.red-ed-title {
  font-size: 48px;
}
.project-red-title {
  font-size: 47px;
}
@media (max-width: 900px) {
  .ref-cover-word {
    font-size: 70px;
  }
  .about-title {
    font-size: 52px;
  }
  .red-ed-title {
    font-size: 44px;
  }
  .project-red-title {
    font-size: 43px;
  }
}
@media (max-width: 580px) {
  .ref-cover-word {
    font-size: 56px;
  }
  .about-title {
    font-size: 40px;
  }
  .red-ed-title {
    font-size: 34px;
  }
  .project-red-title {
    font-size: 34px;
  }
}

/* ===== Requested precision corrections ===== */
.ref-cover-word {
  left: auto !important;
  right: 7.2% !important;
  top: 10% !important;
  bottom: 10% !important;
  transform: none !important;
  width: 31% !important;
  align-items: stretch !important;
  font-size: 76px !important;
  line-height: 0.78 !important;
}
.ref-cover-word span {
  width: 100%;
  min-width: 0;
  text-align: center;
  color: transparent !important;
  background-image: url("images/cover-sahar.webp");
  background-size: 322.6% 125%;
  background-position: left center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: saturate(0.92) contrast(1.06);
}
.ref-cover-bottom {
  justify-content: flex-end !important;
}
.ref-cover-bottom .latin {
  margin-left: auto;
}

.about-title {
  top: 6.5% !important;
  line-height: 0.94 !important;
  gap: 10px !important;
}
.about-outline {
  top: 28% !important;
  height: 35% !important;
}
.about-center-photo {
  top: 29.5% !important;
  height: 32% !important;
}
.about-center-photo img {
  object-position: center 48% !important;
}
.about-left-photo img {
  object-position: 30% 58% !important;
}
.about-copy {
  top: 68% !important;
  gap: 9px !important;
}
.about-copy p,
.about-copy .about-lead {
  font-size: 8.4px !important;
  line-height: 1.82 !important;
  font-weight: 400 !important;
  color: #2c2c2c !important;
}

.red-page-two .red-ed-title {
  top: 8.5% !important;
  letter-spacing: 0.035em !important;
  line-height: 0.92 !important;
}
.red-page-two .red-line-box-a {
  left: 7% !important;
  top: 27% !important;
  width: 72% !important;
  height: 33% !important;
}
.red-page-two .red-shot-main {
  left: 14% !important;
  top: 31% !important;
  width: 72% !important;
  height: 31% !important;
}
.red-page-two .red-ed-copy {
  top: 65% !important;
  bottom: auto !important;
  right: 7% !important;
  left: 38% !important;
}
.red-page-two .red-ed-copy h3 {
  font-size: 12px !important;
}
.red-page-two .red-ed-copy p {
  font-size: 7.3px !important;
  line-height: 1.85 !important;
}

.valee-red-page .project-red-title,
.dental-red-page .project-red-title {
  top: 7.5% !important;
  line-height: 1.02 !important;
  letter-spacing: 0.025em !important;
}
.valee-red-page .project-red-copy,
.dental-red-page .project-red-copy {
  top: 69% !important;
  bottom: auto !important;
  right: 7% !important;
  left: 34% !important;
  text-align: right !important;
  direction: rtl !important;
}
.valee-red-page .project-red-copy > span,
.dental-red-page .project-red-copy > span {
  text-align: right !important;
  direction: ltr !important;
  font-size: 6.6px !important;
  margin-bottom: 10px !important;
}
.valee-red-page .project-red-copy p,
.dental-red-page .project-red-copy p {
  font-size: 8.6px !important;
  line-height: 1.85 !important;
  text-align: right !important;
}
.valee-red-page .demo-link,
.dental-red-page .demo-link {
  font-size: 7px !important;
}

.dental-red-page .project-red-title {
  top: 7% !important;
}
.dental-red-page .dental-red-frame {
  left: 7% !important;
  top: 30% !important;
  width: 84% !important;
  height: 34% !important;
  border: 0 !important;
  border-left: 2px solid #a91d24 !important;
  border-top: 2px solid #a91d24 !important;
}
.dental-red-page .dental-red-frame:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 42%;
  border-right: 2px solid #a91d24;
  border-bottom: 2px solid #a91d24;
}
.dental-red-page .dental-red-shot {
  left: 12% !important;
  top: 34% !important;
  width: 76% !important;
  height: 31% !important;
}

.contact-inner h2 {
  color: #142a47 !important;
}
.contact-list b:not(.latin),
.contact-list b.latin {
  direction: ltr !important;
  text-align: left;
}
.contact-cta {
  background: none !important;
  color: #142a47 !important;
  border: 0 !important;
  border-bottom: 1px solid #142a47 !important;
  border-radius: 0 !important;
  padding: 3px 0 !important;
  box-shadow: none !important;
  display: inline-block !important;
  width: auto !important;
}
.contact-cta:hover {
  background: none !important;
  color: #142a47 !important;
}

@media (max-width: 580px) {
  .ref-cover-word {
    right: 7% !important;
    font-size: 55px !important;
  }
  .about-title {
    line-height: 0.96 !important;
    gap: 7px !important;
  }
  .about-copy {
    top: 67% !important;
  }
  .about-copy p,
  .about-copy .about-lead {
    font-size: 6.4px !important;
  }
  .valee-red-page .project-red-copy p,
  .dental-red-page .project-red-copy p {
    font-size: 6.4px !important;
  }
}

/* ===== Revision 3 — user-directed refinements ===== */

/* COVER: closer to the reference — clean 50/50 split and type tight to the seam */

.ref-cover-word {
  right: 8.2% !important;
  width: 39% !important;
  top: 9% !important;
  bottom: 9% !important;
  font-size: 78px !important;
  line-height: 0.775 !important;
  letter-spacing: -0.055em !important;
}
.ref-cover-word span {
  background-size: 256.4% 122% !important;
  background-position: left center !important;
}

/* ABOUT: title and content lower, Persian copy larger and better paragraph rhythm */
.about-title {
  top: 9.5% !important;
  gap: 11px !important;
}
.about-outline {
  top: 30% !important;
  height: 35% !important;
}
.about-center-photo {
  top: 31.5% !important;
  height: 32% !important;
}
.about-copy {
  top: 69.5% !important;
  right: 6.8% !important;
  left: 48% !important;
  gap: 11px !important;
}
.about-copy p,
.about-copy .about-lead {
  font-size: 9.4px !important;
  line-height: 1.92 !important;
  font-weight: 400 !important;
}
.about-copy .about-lead {
  margin-bottom: 3px !important;
}

/* PAGE 2: title, red accent and website copy */
.red-page-two .red-ed-title {
  top: 11% !important;
  left: 11% !important;
  font-size: 29px !important;
}
.red-page-two .red-ed-title:before {
  content: "";
  position: absolute;
  width: 58px;
  height: 2px;
  background: #a91d24;
  left: -69px;
  top: 50%;
  transform: translateY(-50%);
}
.red-page-two .red-line-box-a {
  top: 29% !important;
}
.red-page-two .red-shot-main {
  top: 33% !important;
}
.red-page-two .red-ed-copy {
  top: 68% !important;
  right: 7% !important;
  left: 34% !important;
}
.red-page-two .red-ed-copy h3 {
  font-size: 14px !important;
  margin-bottom: 8px !important;
}
.red-page-two .red-ed-copy p {
  font-size: 8.6px !important;
  line-height: 1.9 !important;
}
.red-page-two .red-ed-copy .demo-link {
  font-size: 8px !important;
  margin-top: 9px !important;
}

/* PAGE 3: red bar left of title; metadata/copy/CTA larger and lower */
.valee-red-page .project-red-title {
  left: 16% !important;
  top: 8% !important;
}
.valee-red-page .project-red-title:before {
  content: "";
  position: absolute;
  width: 55px;
  height: 2px;
  background: #a91d24;
  left: -68px;
  top: 50%;
}
.valee-red-page .project-red-copy {
  top: 72% !important;
}
.valee-red-page .project-red-copy > span {
  font-size: 7.8px !important;
  margin-bottom: 11px !important;
}
.valee-red-page .project-red-copy p {
  font-size: 9.2px !important;
  line-height: 1.9 !important;
}
.valee-red-page .demo-link {
  font-size: 8px !important;
  margin-top: 9px !important;
}

/* PAGE 4: title slightly left, more air to red bar, copy larger/lower */
.dental-red-page .project-red-title {
  left: 7% !important;
  top: 8% !important;
}
.dental-red-page .project-red-title:before {
  content: "";
  position: absolute;
  width: 52px;
  height: 2px;
  background: #a91d24;
  left: calc(100% + 22px);
  top: 50%;
}
.dental-red-page .project-red-copy {
  top: 72% !important;
}
.dental-red-page .project-red-copy > span {
  font-size: 7.8px !important;
  margin-bottom: 11px !important;
}
.dental-red-page .project-red-copy p {
  font-size: 9.2px !important;
  line-height: 1.9 !important;
}
.dental-red-page .demo-link {
  font-size: 8px !important;
  margin-top: 9px !important;
}
/* extend the lower-right red frame further down */
.dental-red-page .dental-red-frame:after {
  bottom: -15% !important;
  height: 57% !important;
}

/* PAGE 7: move image upward */

/* CONTACT: quieter, more editorial heading */
.contact-inner h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 25px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  color: #142a47 !important;
}

@media (max-width: 580px) {
  .ref-cover-word {
    font-size: 56px !important;
    right: 8% !important;
  }
  .about-title {
    top: 9% !important;
  }
  .about-copy {
    top: 68.5% !important;
  }
  .about-copy p,
  .about-copy .about-lead {
    font-size: 6.9px !important;
  }
  .red-page-two .red-ed-copy h3 {
    font-size: 9px !important;
  }
  .red-page-two .red-ed-copy p {
    font-size: 6.3px !important;
  }
  .valee-red-page .project-red-copy p,
  .dental-red-page .project-red-copy p {
    font-size: 6.7px !important;
  }
  .contact-inner h2 {
    font-size: 18px !important;
  }
}

/* About exact copy: readable, elegant paragraph rhythm */
.about-copy {
  top: 66.5% !important;
  right: 6.8% !important;
  left: 47% !important;
  gap: 6px !important;
}
.about-copy p,
.about-copy .about-lead {
  font-size: 8.45px !important;
  line-height: 1.68 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}
.about-copy .about-lead {
  font-size: 9.15px !important;
  margin-bottom: 2px !important;
}

.arc-dark-panel {
  left: -18% !important;
  top: -7% !important;
  width: 100% !important;
  height: 125% !important;
  background: #0d2038 !important;
  overflow: hidden !important;
  border-radius: 0 50% 50% 0 !important;
}
.arc-dark-panel:after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: url("images/jewelry-fur.webp") 80% center/cover no-repeat !important;
  opacity: 1 !important;
}

/* Page 7 — 3x3 color editorial grid inspired by supplied reference */
.brand-grid-page {
  padding: 0 !important;
  background: #f2ece2 !important;
  overflow: hidden !important;
}
.brand-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  background: #f2ece2;
}
.brand-cell {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}
.brand-cell-img {
  padding: 0;
}
.brand-cell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-cell-text {
  background: #781d2b;
  color: #f8efe6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  flex-direction: column;
}

@media (max-width: 580px) {
  .about-copy {
    top: 65.5% !important;
  }
  .about-copy p,
  .about-copy .about-lead {
    font-size: 6.05px !important;
    line-height: 1.55 !important;
  }
  .about-copy .about-lead {
    font-size: 6.5px !important;
  }

  .brand-cell-text {
    font-size: 10px;
  }
  .brand-cell-word {
    font-size: 11px;
  }
  .brand-cell:nth-child(6) {
    font-size: 7px;
  }
}

.ref-cover-word {
  right: 7.6% !important;
  width: 40% !important;
  top: 8.5% !important;
  bottom: 8.5% !important;
  font-size: 76px !important;
  line-height: 0.79 !important;
}
.ref-cover-word span {
  background-image: url("images/cover-sahar.webp") !important;
  background-size: 250% auto !important;
  background-position: 0 center !important;
  background-repeat: no-repeat !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* About: justified continuous prose, no artificial gaps */
.about-copy {
  display: block !important;
  top: 66.5% !important;
}
.about-copy p,
.about-copy .about-lead {
  text-align: justify !important;
  text-align-last: right !important;
  direction: rtl !important;
  margin: 0 0 3px 0 !important;
  padding: 0 !important;
  line-height: 1.63 !important;
}
.about-copy p:last-child {
  margin-bottom: 0 !important;
}

/* Page 2: CTA matches other project pages; remove broad red horizontal underline */
.red-page-two .demo-link {
  border-bottom: 0 !important;
  text-decoration: none !important;
}
.red-page-two .red-ed-copy:after,
.red-page-two .red-ed-copy:before {
  display: none !important;
}
.red-page-two .red-line-box-a {
  border-bottom: 0 !important;
}

/* Give the three real campaign/brand images a darker editorial treatment */
.brand-cell-img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 49, 0.1);
  pointer-events: none;
}

@media (max-width: 580px) {
  .ref-cover-word {
    font-size: 55px !important;
  }
  .about-copy p,
  .about-copy .about-lead {
    margin-bottom: 2px !important;
    line-height: 1.52 !important;
  }
}

/* Revision 6 — real SORIEL branding artwork supplied by user */
.brand-grid .brand-cell-img:nth-child(1) img {
  object-position: center 48% !important;
}
.brand-grid .brand-cell-img:nth-child(5) img {
  object-position: center 48% !important;
}
.brand-grid .brand-cell-img:nth-child(9) img {
  object-position: center 48% !important;
}

/* ===== Revision 7 — final polish ===== */
html,
body,
.catalog-app,
.stage,
.catalog-stage,
.book-stage,
.catalog-shell {
  background:
    radial-gradient(
      circle at 12% 8%,
      rgba(255, 255, 255, 0.94),
      transparent 31rem
    ),
    radial-gradient(
      circle at 88% 13%,
      rgba(184, 198, 237, 0.54),
      transparent 34rem
    ),
    radial-gradient(
      circle at 58% 78%,
      rgba(213, 222, 244, 0.62),
      transparent 38rem
    ),
    linear-gradient(145deg, #f5f7fc 0%, #e9edf8 46%, #dfe6f5 100%) !important;
  background-attachment: fixed !important;
}

.red-page-two .red-ed-title:before {
  display: none !important;
}
.red-page-two .demo-link {
  display: inline-block !important;
  border-bottom: 1px solid #6d080d !important;
  padding-bottom: 2px !important;
  text-decoration: none !important;
}

/* Page 7: use SORIEL's real blue/ivory palette instead of the previous dark palette */
.brand-grid-page,
.brand-grid {
  background: #edf1fa !important;
}
.brand-cell {
  border-color: rgba(100, 124, 170, 0.15) !important;
}
.brand-cell-text {
  background: linear-gradient(145deg, #315272, #243850) !important;
  color: #f7f9fd !important;
}
.brand-cell-word {
  background: linear-gradient(145deg, #fbfcff, #eef2f9) !important;
  color: #1a215b !important;
}
.brand-cell:nth-child(3) {
  background: #e2e7f7 !important;
  color: #243850 !important;
}
.brand-cell:nth-child(4) {
  background: #d9e2f3 !important;
  color: #315272 !important;
}
.brand-cell:nth-child(6) {
  background: linear-gradient(145deg, #243850, #315272) !important;
  color: #fff !important;
}
.brand-cell:nth-child(7) {
  background: #cfd9ed !important;
  color: #243850 !important;
}
.brand-cell:nth-child(8) {
  background: #f5f7fc !important;
  color: #315272 !important;
}
/* Keep photos vivid; no muddy navy wash */
.brand-cell-img:after {
  background: rgba(36, 56, 80, 0.035) !important;
}

/* Overall environment: darker, quieter, luxury blue-grey instead of the pale wash */
html,
body,
.catalog-app,
.stage,
.catalog-stage,
.book-stage,
.catalog-shell {
  background: linear-gradient(
    145deg,
    #053a2b 0%,
    #092825 48%,
    #00150c 100%
  ) !important;
  background-attachment: fixed !important;
}

/* Progress must fill LEFT -> RIGHT regardless of RTL document direction */
.progress-wrap {
  direction: ltr !important;
}
.progress {
  transform-origin: left center !important;
  left: 0 !important;
  right: auto !important;
}

/* Page 8  */
.contact-page {
  background: #f3f0e9 !important;
}
.contact-page .contact-bg {
  background:
    radial-gradient(circle at 82% 18%, rgb(242, 218, 188), transparent 26rem),
    linear-gradient(145deg, #e4d9c5 0%, #f7e8d7 100%) !important;
  opacity: 1 !important;
}
.contact-inner {
  color: #f5e4bc !important;
}
.contact-inner h2 {
  color: #243850 !important;
}
.contact-list a,
.contact-list small,
.contact-list b {
  color: #243850 !important;
}

/* Page 7 requested cell styling */
.brand-grid .brand-cell:nth-child(7) {
  background: #2f4969 !important;
  color: #f7f9fd !important;
}
.brand-grid .brand-cell:nth-child(8) {
  background: #dbe5f6 !important;
  color: #1a2f49 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.15 !important;
  flex-direction: column !important;
}
.brand-grid .brand-cell:nth-child(8) span:first-child {
  font-size: 14px !important;
}
.brand-grid .brand-cell:nth-child(8) span:last-child {
  margin-top: 7px !important;
  font-size: 10px !important;
  font-weight: 400 !important;
}

.page {
  box-shadow: 0 20px 50px rgba(3, 12, 24, 0.24) !important;
}

@media (max-width: 580px) {
  .brand-grid .brand-cell:nth-child(8) span:first-child {
    font-size: 9px !important;
  }
  .brand-grid .brand-cell:nth-child(8) span:last-child {
    font-size: 7px !important;
    margin-top: 4px !important;
  }
}

.ref-cover-bottom .latin {
  font-size: 5.9px !important;
  letter-spacing: 0.13em !important;
}

/* Page 05: preserve the existing torn-image language, but create a clear service explanation area */
.campaign-butterfly .torn-photo {
  inset: 5.5% 17% 20.5% 6.5% !important;
}
.campaign-butterfly .torn-edge {
  top: 6% !important;
  bottom: 20.5% !important;
}
.campaign-butterfly-copy {
  position: absolute;
  left: 6.5%;
  right: 17%;
  bottom: 6.5%;
  z-index: 4;
  direction: rtl;
  text-align: right;
  color: #eee7db;
}
.campaign-butterfly-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  line-height: 1.7;
  font-weight: 700;
}
.campaign-butterfly-copy p {
  margin: 0;
  max-width: 92%;
  font-size: 10px;
  line-height: 1.75;
  color: rgba(238, 231, 219, 0.78);
}

.brand-grid-page,
.brand-grid {
  background: #e8d7c5 !important;
}
.brand-grid .brand-cell:nth-child(2) {
  background: linear-gradient(145deg, #f4a996, #bb6751) !important;
  color: #fff7ee !important;
  line-height: 25px;
}
.brand-grid .brand-cell:nth-child(3) {
  background: #ead8c2 !important;
  color: #272625 !important;
}
.brand-grid .brand-cell:nth-child(4) {
  background: #ead8c2 !important;
  color: #382719 !important;
}
.brand-grid .brand-cell:nth-child(6) {
  background: linear-gradient(145deg, #f4a996, #bb6751) !important;
  color: #f6dfbc !important;
  line-height: 25px;
}
.brand-grid .brand-cell:nth-child(7) {
  background: linear-gradient(145deg, #f4a996, #bb6751) !important;
  color: #f6ead6 !important;
  line-height: 25px;
}
.brand-grid .brand-cell:nth-child(8) {
  background: #ead8c2 !important;
  color: #505864 !important;
}
.brand-grid .brand-cell:nth-child(8) span:last-child {
  color: #505864 !important;
}

/* Contact: one deliberate size step up for labels and contact data */
.contact-list small {
  font-size: 7.4px !important;
}
.contact-list b,
.contact-list b.latin {
  font-size: 8.4px !important;
}

@media (max-width: 580px) {
  .ref-cover-bottom .latin {
    font-size: 5.2px !important;
    letter-spacing: 0.1em !important;
  }
  .campaign-butterfly .torn-photo {
    inset: 5.5% 17% 22% 6.5% !important;
  }
  .campaign-butterfly .torn-edge {
    bottom: 22% !important;
  }
  .campaign-butterfly-copy {
    bottom: 6.2% !important;
  }
  .campaign-butterfly-copy strong {
    font-size: 7.6px !important;
  }
  .campaign-butterfly-copy p {
    font-size: 5.8px !important;
    line-height: 1.65 !important;
  }
  .contact-list small {
    font-size: 7px !important;
  }
  .contact-list b,
  .contact-list b.latin {
    font-size: 7.8px !important;
  }
}

.seo-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
