/*
 * Tawaq overrides on top of the Orisa template styles
 * (loaded from /public/assets/css in the root layout).
 * To change the accent colour site-wide, edit --at-theme-primary below.
 */
:root {
  --at-ff-body: var(--font-dm-sans), Arial, sans-serif;
  --at-ff-heading: var(--font-dm-sans), Arial, sans-serif;
  --at-heading-font: var(--font-dm-sans), Arial, sans-serif;
  --bs-font-sans-serif: var(--font-dm-sans), Arial, sans-serif;
}

html {
  scroll-padding-top: 90px;
}
body {
  overflow-x: clip;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--at-theme-primary);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--at-neutral-900);
  color: var(--at-neutral-0);
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}

/* Logo */
.tawaq-logo img {
  width: 44px;
  height: auto;
  mix-blend-mode: multiply;
}
.tawaq-logo-text {
  letter-spacing: 0.04em;
}

/* Small keyword line at the start of each H1, styled like the template's section label */
.tawaq-h1-kicker {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--at-neutral-700, #555);
  margin-bottom: 20px;
}

/* Header menu — highlight current page */
.at-main-menu ul li.active > a {
  /* darker shade of the brand orange so small nav text passes WCAG AA (4.5:1) */
  color: #c2380b;
}

/* Off-canvas menu */
.tawaq-offcanvas-nav ul li a {
  display: block;
  padding: 8px 0;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--at-neutral-900);
  border-bottom: 1px solid var(--at-neutral-100);
}
.tawaq-offcanvas-nav ul li a:hover,
.tawaq-offcanvas-nav ul li a[aria-current="page"] {
  color: var(--at-theme-primary);
}
.at-offcanvas {
  overflow-y: auto;
}

/* Photo frames */
.tawaq-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tawaq-hero-left img {
  aspect-ratio: 4 / 3;
}
.tawaq-hero-right img {
  aspect-ratio: 4 / 5;
}

/* Product cards */
.alt-portfolio-thumb img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Category list cards */
.tawaq-option-list li {
  margin-bottom: 6px;
}

/* Page heroes */
.tawaq-page-banner img {
  width: 100%;
  height: clamp(280px, 48vw, 640px);
  object-fit: cover;
}
.tawaq-breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--at-neutral-500);
  margin-bottom: 18px;
}
.tawaq-breadcrumb a {
  color: var(--at-neutral-900);
}

/* Section 3 values grid */
.tawaq-value-card {
  height: 100%;
  border: 1px solid var(--at-neutral-100);
  background: var(--at-neutral-0);
}

/* FAQ accordion (native details/summary styled like the template) */
.tawaq-faq details {
  border: 1px solid var(--at-neutral-100);
  border-radius: 16px;
  background: var(--at-neutral-0);
  padding: 22px 26px;
  margin-bottom: 12px;
}
.tawaq-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--at-neutral-900);
}
.tawaq-faq summary::-webkit-details-marker {
  display: none;
}
.tawaq-faq summary .num {
  flex: 0 0 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--at-neutral-50);
  font-size: 14px;
}
.tawaq-faq summary .sign {
  margin-left: auto;
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.3s ease;
}
.tawaq-faq details[open] summary .sign {
  transform: rotate(45deg);
}
.tawaq-faq details p {
  margin: 14px 0 0 52px;
}

/* Quote form */
.tawaq-form .sec-4-about-form__input {
  color: var(--at-neutral-900);
}
.tawaq-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--at-neutral-900);
  padding-top: 18px;
}
.tawaq-form select.sec-4-about-form__input {
  appearance: auto;
}
/* Focus: a thicker orange underline instead of a box, so the field keeps its shape and doesn't cover the label. */
.tawaq-form .sec-4-about-form__input:focus,
.tawaq-form .sec-4-about-form__input:focus-visible {
  outline: none;
  border-bottom-color: var(--at-theme-primary);
  box-shadow: 0 1px 0 0 var(--at-theme-primary);
}
.inquiry-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.inquiry-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tawaq-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-result {
  color: #2f7a3e;
  margin-top: 16px;
}
.inquiry-error {
  color: #a52626;
  margin-top: 16px;
}
.inquiry-spinner {
  animation: inquiry-spin 1s linear infinite;
}
@keyframes inquiry-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Stacking cards: plain list unless the desktop pin effect is running
   (small screens, reduced motion, or before JS loads). */
.section-fix:not(.is-stacking) .scroll-section .item {
  position: relative;
  min-height: 0;
  height: auto;
  margin-bottom: 16px;
}
.section-fix:not(.is-stacking) .navigation-active-item {
  margin-bottom: 0;
}

/* Founder name card (no photo) */
.tawaq-founder-card {
  min-height: 360px;
}

/* Quote strip pseudo-input */
.tawaq-quote-link {
  padding: 16px 80px 16px 0;
  line-height: 1.5;
}

/* Process step indicators */
.navigation-section-10 {
  flex-wrap: wrap;
  gap: 10px;
}
.navigation-section-10 .item {
  width: 64px;
  height: 64px;
}

/* Contact details list */
.tawaq-contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.tawaq-contact-list svg {
  flex-shrink: 0;
  margin-top: 4px;
}

/* Template container is 1750px wide; give it breathing room on laptop screens. */
@media (min-width: 1400px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 991px) {
  .fz-ds-1 {
    font-size: 56px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------------ */
/* Catalogs: grid cards                                                */
/* ------------------------------------------------------------------ */
.tawaq-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #111;
}
.tawaq-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tawaq-cat-card:hover img,
.tawaq-cat-card:focus-visible img {
  transform: scale(1.05);
}
.tawaq-cat-card-body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 80px 24px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}
.tawaq-cat-card-sub {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}
.tawaq-cat-card-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
.tawaq-cat-card-text {
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.85;
}
.tawaq-cat-card-cta {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--at-theme-primary, #f0460e);
}
.tawaq-cat-pill {
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  font-size: 14px;
  color: #111;
  text-decoration: none;
}
.tawaq-cat-pill:hover {
  border-color: #111;
}
.tawaq-cat-h1 {
  font-size: clamp(40px, 6vw, 80px);
}

/* ------------------------------------------------------------------ */
/* Catalogs: flipbook viewer                                           */
/* ------------------------------------------------------------------ */
.cat-page {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1.414;
  overflow: hidden;
  padding: 9cqw 8cqw 12cqw;
  background: #fff;
  color: #111;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  font-size: 2.8cqw;
  line-height: 1.45;
}
/* Subtle spine shading between the two pages of a spread */
.is-spread .cat-slot.is-left .cat-page {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0) 6%);
}
.is-spread .cat-slot.is-right .cat-page {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0) 6%);
}
.cat-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-kicker {
  margin: 0 0 2.4cqw;
  font-size: 2.4cqw;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.cat-h {
  margin: 0 0 4cqw;
  font-size: 6.4cqw;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.cat-lead {
  margin: 0 0 3cqw;
  font-size: 3.6cqw;
  line-height: 1.4;
}
.cat-body {
  margin: 0 0 5cqw;
  color: #555;
}
.cat-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4cqw 5cqw;
  margin: auto 0 0;
  padding-top: 5cqw;
  border-top: 1px solid #e5e5e5;
}
.cat-facts dt {
  font-size: 2.2cqw;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}
.cat-facts dd {
  margin: 0.6cqw 0 0;
  font-size: 3.6cqw;
  font-weight: 600;
}
.cat-folio {
  position: absolute;
  inset: auto 8cqw 5cqw 8cqw;
  display: flex;
  justify-content: space-between;
  font-size: 2.1cqw;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #999;
}

/* Cover */
.cat-cover {
  padding: 0;
  color: #fff;
  background: #111;
}
.cat-cover-img {
  position: absolute;
  inset: 0;
}
.cat-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.85));
}
.cat-cover-top,
.cat-cover-bottom {
  position: relative;
  padding: 8cqw;
}
.cat-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 2.4cqw;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cat-brand {
  font-size: 4.4cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.cat-cover-bottom {
  margin-top: auto;
}
.cat-rule {
  display: block;
  width: 12cqw;
  height: 1.1cqw;
  margin-bottom: 4cqw;
  background: var(--accent);
}
.cat-cover-title {
  margin: 0;
  font-size: 11cqw;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
}
.cat-cover-sub {
  margin: 3cqw 0 0;
  font-size: 4cqw;
  opacity: 0.9;
}
.cat-cover-meta {
  margin: 6cqw 0 0;
  font-size: 2.3cqw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Split page: photo on top, list below */
.cat-split {
  padding: 0;
}
.cat-split-img {
  height: 48%;
  flex: none;
}
.cat-split-body {
  padding: 7cqw 8cqw 12cqw;
}
.cat-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cat-list li {
  display: flex;
  gap: 4cqw;
  padding: 2.4cqw 0;
  border-bottom: 1px solid #ececec;
  font-size: 3.4cqw;
  font-weight: 500;
}
.cat-list li span {
  color: var(--accent);
  font-weight: 600;
  font-size: 2.6cqw;
  padding-top: 0.6cqw;
}

/* Options page */
.cat-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5cqw 6cqw;
}
.cat-options h4,
.cat-steps h4 {
  margin: 0 0 1cqw;
  font-size: 3.2cqw;
  font-weight: 700;
}
.cat-options p,
.cat-steps p {
  margin: 0;
  font-size: 2.5cqw;
  line-height: 1.45;
  color: #555;
}
.cat-options > div {
  padding-top: 2.6cqw;
  border-top: 2px solid #111;
}
.cat-strip {
  height: 30cqw;
  flex: none;
  margin-top: auto;
  border-radius: 2cqw;
  overflow: hidden;
}

/* Process page */
.cat-steps {
  display: grid;
  gap: 3.6cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cat-steps li {
  display: flex;
  gap: 4cqw;
}
.cat-step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 8cqw;
  height: 8cqw;
  border-radius: 50%;
  background: #f3f1ee;
  font-size: 2.6cqw;
  font-weight: 700;
}

/* Back cover */
.cat-back {
  justify-content: space-between;
  background: #0d0d0d;
  color: #fff;
  padding-bottom: 8cqw;
}
.cat-back-title {
  margin: 0 0 4cqw;
  font-size: 8cqw;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}
.cat-back-text {
  margin: 0 0 6cqw;
  font-size: 3.2cqw;
  opacity: 0.75;
}
.cat-back-btn {
  display: inline-block;
  padding: 2.8cqw 6cqw;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 3cqw;
  font-weight: 600;
  text-decoration: none;
}
.cat-back-btn:hover {
  color: #fff;
  filter: brightness(1.08);
}
.cat-back-contact {
  display: grid;
  gap: 1.6cqw;
  font-size: 3cqw;
}
.cat-back-contact a {
  color: #fff;
  text-decoration: none;
}
.cat-back-contact span {
  opacity: 0.6;
}
.cat-disclaimer {
  margin: 0;
  font-size: 2cqw;
  opacity: 0.5;
}

/* Print / Save as PDF: every catalog page on its own A4 sheet */
@media print {
  @page {
    size: A4;
    margin: 0;
  }
  header,
  footer,
  .skip-link,
  .hamburger-open-btn,
  .tawaq-cat-view .tawaq-breadcrumb,
  .tawaq-cat-view .row,
  .tawaq-cat-after,
  .cat-controls,
  .cat-nav {
    display: none !important;
  }
  .tawaq-cat-view {
    padding: 0 !important;
  }
  .tawaq-cat-view .container {
    max-width: none;
    padding: 0;
  }
  .cat-stage,
  .cat-stage.is-spread {
    display: block;
    width: 210mm;
  }
  .cat-slot {
    display: block !important;
    width: 210mm;
    break-after: page;
  }
  .cat-page {
    width: 210mm;
    height: 297mm;
    aspect-ratio: auto;
    box-shadow: none;
    background-image: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* Plain colour catalog covers (no photo) */
.cat-cover-plain {
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px);
}
.tawaq-cat-card-plain {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start;
  padding: 24px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px);
}
.cat-cover p,
.cat-back p {
  color: #fff;
}
.cat-split-img {
  height: 40%;
}
.cat-split-body {
  padding: 6cqw 8cqw 10cqw;
}
.cat-split .cat-h {
  margin-bottom: 2.6cqw;
}
.cat-list li {
  padding: 1.9cqw 0;
}

/* ------------------------------------------------------------------ */
/* Catalogs: flipbook viewer (desk, book, page curl, toolbar)          */
/* ------------------------------------------------------------------ */
.cat-book {
  --page-h: min(74svh, 860px);
  --accent: var(--at-theme-primary, #f0460e);
  --zoom: 1;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #3b3b3b 0%, #202020 55%, #151515 100%);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}
.cat-book.is-zoomed {
  --zoom: 1.8;
}
.cat-desk {
  position: relative;
  padding: 56px 96px 40px;
}
.cat-viewport {
  position: relative;
  overflow: visible;
}
.is-zoomed .cat-viewport {
  max-height: calc(var(--page-h) + 24px);
  overflow: auto;
  cursor: grab;
  overscroll-behavior: contain;
}
.is-zoomed .cat-viewport:active {
  cursor: grabbing;
}
.cat-stage {
  --cols: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  width: calc(min(100%, calc(var(--page-h) / 1.414 * var(--cols))) * var(--zoom));
  margin: 0 auto;
  perspective: 2600px;
  touch-action: pan-y;
}
/* Only animate the centring while a page is turning, so the book never slides in on load. */
.cat-stage.is-turning {
  transition: transform 0.75s cubic-bezier(0.45, 0.05, 0.25, 1);
}
.is-zoomed .cat-stage {
  touch-action: auto;
}
.cat-slot {
  display: none;
  grid-row: 1;
  container-type: inline-size;
  min-width: 0;
}
.cat-slot.is-visible {
  display: block;
}
/* Book shadow + spine */
.cat-slot.is-visible .cat-page,
.cat-leaf-face .cat-page {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.is-spread .cat-slot.is-left .cat-page {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0) 7%);
  border-radius: 6px 0 0 6px;
}
.is-spread .cat-slot.is-right .cat-page {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0) 7%);
  border-radius: 0 6px 6px 0;
}
.cat-stage:not(.is-spread) .cat-page,
.is-spread.is-single:not(.is-turning) .cat-slot.is-visible .cat-page {
  border-radius: 6px;
}
.cat-blank {
  background: transparent !important;
  box-shadow: none !important;
}

/* Page curl */
.cat-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 50%;
  transform-style: preserve-3d;
  pointer-events: none;
}
.cat-leaf.is-fwd {
  left: 50%;
  transform-origin: left center;
  animation: cat-flip-fwd 0.75s cubic-bezier(0.45, 0.05, 0.25, 1) forwards;
}
.cat-leaf.is-back {
  left: 0;
  transform-origin: right center;
  animation: cat-flip-back 0.75s cubic-bezier(0.45, 0.05, 0.25, 1) forwards;
}
.cat-leaf-face {
  position: absolute;
  inset: 0;
  container-type: inline-size;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.cat-leaf-face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: cat-flip-shade 0.75s ease-in-out forwards;
}
.is-fwd .cat-leaf-front::after,
.is-back .cat-leaf-back::after {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%);
}
.is-fwd .cat-leaf-back::after,
.is-back .cat-leaf-front::after {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%);
}
.cat-leaf-back {
  transform: rotateY(180deg);
}
@keyframes cat-flip-fwd {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(-180deg);
  }
}
@keyframes cat-flip-back {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(180deg);
  }
}
@keyframes cat-flip-shade {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Side arrows on the desk */
.cat-side {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}
.cat-side:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
}
.cat-side:disabled {
  opacity: 0.25;
  cursor: default;
}
.cat-side-prev {
  left: 24px;
}
.cat-side-next {
  right: 24px;
}

/* Toolbar */
.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}
.cat-toolbar-group {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cat-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cat-icon:hover:not(:disabled),
.cat-icon.is-on {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.cat-icon.is-on {
  color: var(--accent);
}
.cat-icon:disabled {
  opacity: 0.3;
  cursor: default;
}
.cat-icon:focus-visible,
.cat-side:focus-visible,
.cat-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cat-count {
  min-width: 84px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cat-count span {
  opacity: 0.55;
  font-weight: 400;
}
.cat-range {
  flex: 1 1 160px;
  height: 4px;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, var(--accent) var(--pct, 0%), rgba(255, 255, 255, 0.18) var(--pct, 0%));
  cursor: pointer;
}
.cat-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(240, 70, 14, 0.35);
}
.cat-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

/* Thumbnails overlay */
.cat-thumbs {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  background: rgba(16, 16, 16, 0.94);
  backdrop-filter: blur(8px);
}
.cat-thumbs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cat-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 24px;
  padding: 8px 24px 32px;
  overflow-y: auto;
}
.cat-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  opacity: 0.85;
  transition: transform 0.2s, opacity 0.2s;
}
.cat-thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
}
.cat-thumb-page {
  width: 100%;
  container-type: inline-size;
  border-radius: 4px;
  overflow: hidden;
  outline: 2px solid transparent;
  outline-offset: 3px;
}
.cat-thumb.is-current .cat-thumb-page {
  outline-color: var(--accent);
}
.cat-thumb-page .cat-page {
  box-shadow: none;
}

/* Toast */
.cat-toast {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 7;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  transform: translateX(-50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Full screen */
.cat-book.is-full,
.cat-book:fullscreen {
  --page-h: calc(100svh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0;
}
.cat-book:fullscreen .cat-desk {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1199px) {
  .cat-desk {
    padding: 40px 24px 28px;
  }
  .cat-side {
    display: none;
  }
}
@media (max-width: 575px) {
  .cat-book {
    --page-h: 70svh;
    border-radius: 16px;
  }
  .cat-desk {
    padding: 20px 14px 18px;
  }
  .cat-toolbar {
    justify-content: center;
    padding: 10px 8px 12px;
    gap: 8px;
  }
  .cat-range {
    order: -1;
    flex-basis: 100%;
    margin: 4px 8px 6px;
  }
  .cat-icon {
    width: 36px;
    height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cat-stage {
    transition: none;
  }
}

/* ------------------------------------------------------------------ */
/* Catalog page polish                                                 */
/* ------------------------------------------------------------------ */
.cat-cover-mark {
  position: absolute;
  right: -14cqw;
  top: 26%;
  width: 92cqw;
  height: auto !important;
  object-fit: contain !important;
  filter: invert(1);
  opacity: 0.07;
  pointer-events: none;
}
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 2cqw;
  margin-top: 5cqw;
}
.cat-chips span {
  padding: 1.2cqw 3cqw;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 2.2cqw;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cat-runhead {
  position: absolute;
  inset: 5cqw 8cqw auto 8cqw;
  display: flex;
  justify-content: space-between;
  padding-bottom: 2cqw;
  border-bottom: 1px solid #ececec;
  font-size: 2cqw;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
}
.cat-page.has-head {
  padding-top: 15cqw;
}
.cat-split .cat-runhead {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  z-index: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.cat-split.has-head {
  padding-top: 0;
}
.cat-facts > div {
  padding-top: 2.4cqw;
  border-top: 2px solid var(--accent);
}
.cat-facts {
  border-top: 0;
}
.cat-back-logo {
  width: 14cqw;
  height: auto !important;
  filter: invert(1);
}

/* Print: show pages only */
@media print {
  .cat-book,
  .cat-book.is-zoomed {
    background: none;
    box-shadow: none;
    border-radius: 0;
    color: #111;
    overflow: visible;
  }
  .cat-desk {
    padding: 0;
  }
  .cat-toolbar,
  .cat-side,
  .cat-thumbs,
  .cat-toast,
  .cat-leaf {
    display: none !important;
  }
  .cat-stage {
    transform: none !important;
  }
  .cat-slot .cat-page {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
.cat-back-brand {
  display: flex;
  align-items: center;
  gap: 3cqw;
}
.cat-body {
  font-size: 2.8cqw;
  line-height: 1.5;
}
.cat-back-contact a {
  font-size: inherit;
}
.cat-page .cat-back-logo {
  width: 12cqw;
  height: auto;
}
.cat-page .cat-cover-mark {
  width: 92cqw;
}
.is-zoomed .cat-viewport {
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  scrollbar-width: thin;
}
.is-zoomed .cat-viewport::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}
.is-zoomed .cat-viewport::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
}
.tawaq-cat-card .tawaq-cat-card-mark {
  position: absolute;
  inset: 22% -12% auto auto;
  width: 90%;
  height: auto;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.08;
}

/* ------------------------------------------------------------------ */
/* Blog: cards                                                         */
/* ------------------------------------------------------------------ */
.tawaq-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tawaq-blog-card:hover,
.tawaq-blog-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.tawaq-blog-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.tawaq-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tawaq-blog-card:hover .tawaq-blog-card-img img {
  transform: scale(1.05);
}
.tawaq-blog-card-cat {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tawaq-blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
.tawaq-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  color: #555;
}
.tawaq-blog-card-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
.tawaq-blog-card-link {
  color: #111;
  text-decoration: none;
}
/* Stretch the title link over the whole card */
.tawaq-blog-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.tawaq-blog-card-link:focus-visible {
  outline: none;
}
.tawaq-blog-card:focus-within {
  outline: 2px solid var(--at-theme-primary);
  outline-offset: 4px;
}
.tawaq-blog-card-text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.55;
  color: #444;
}
.tawaq-blog-card-cta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: #c2380b;
}
.tawaq-blog-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-height: 120px;
  padding: 32px;
  border-radius: 16px;
  background: #111;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}
.tawaq-blog-all:hover {
  color: #fff;
  background: var(--at-theme-primary);
}

/* ------------------------------------------------------------------ */
/* Blog: article                                                       */
/* ------------------------------------------------------------------ */
.tawaq-post-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.tawaq-post-title {
  margin: 8px 0 20px;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.tawaq-post-meta {
  margin-bottom: 40px;
}
.tawaq-post-hero {
  max-width: 1200px;
  margin: 0 auto 56px;
  aspect-ratio: 20 / 9;
  border-radius: 20px;
  overflow: hidden;
}
.tawaq-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tawaq-post-body {
  font-size: 18px;
  line-height: 1.75;
  color: #222;
}
.tawaq-post-body p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.75;
  color: #222;
}
.tawaq-post-body .tawaq-post-lead {
  margin-bottom: 40px;
  font-size: 21px;
  line-height: 1.65;
  color: #111;
}
.tawaq-post-body h2 {
  margin: 48px 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}
.tawaq-post-body ul,
.tawaq-post-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.tawaq-post-body ul {
  list-style: disc;
}
.tawaq-post-body ol {
  list-style: decimal;
}
.tawaq-post-body li {
  margin-bottom: 10px;
  padding-left: 4px;
}
.tawaq-post-body li::marker {
  color: var(--at-theme-primary);
  font-weight: 700;
}
.tawaq-post-cta {
  margin-top: 64px;
  padding: 40px;
  border-radius: 20px;
  background: #111;
  color: #fff;
}
.tawaq-post-cta h2 {
  margin-top: 0;
  color: #fff;
}
.tawaq-post-cta p {
  color: rgba(255, 255, 255, 0.82);
}
.tawaq-post-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 28px;
}
.tawaq-post-cta-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tawaq-post-cta-link:hover {
  color: var(--at-theme-primary);
}
@media (max-width: 575px) {
  .tawaq-post-body,
  .tawaq-post-body p {
    font-size: 17px;
  }
  .tawaq-post-body .tawaq-post-lead {
    font-size: 19px;
  }
  .tawaq-post-cta {
    padding: 28px 22px;
  }
  .tawaq-post-hero {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
}

/* ------------------------------------------------------------------ */
/* Accessibility: contrast fixes                                       */
/* ------------------------------------------------------------------ */
.alt-portfolio-tag.bg-theme-primary {
  background-color: #c2380b !important;
}

/* Side menu: become visible immediately on open (only slide/fade are animated),
   so keyboard focus can move into the panel straight away. */
.at-offcanvas.opened {
  transition-property: right, opacity;
}
.at-offcanvas .close-sidebar {
  transition-property: transform, color, background-color, opacity;
}
