/* Generated by scripts/build_frontend_css.py; edit the source styles. */
/* Source: site.css */
@font-face {
  font-family: Alexandria;
  src: url("../fonts/alexandria.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --cream: #fef7e0;
  --ink: #100e11;
  --gold: #c88537;
  --honey: #f9e09d;
  --muted: #635b50;
  --line: #d5c9ad;
  --font: manrope, alexandria, sans-serif;
  --space: clamp(24px, 5vw, 80px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

html[dir="rtl"] {
  --font: alexandria, manrope, sans-serif;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.85 var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration-thickness: 1px;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}

h1 {
  font-size: clamp(36px, 5vw, 76px);
}

h2 {
  font-size: clamp(28px, 3.5vw, 48px);
}

h3 {
  font-size: 20px;
}

p {
  max-width: 65ch;
}

ul {
  padding-inline-start: 24px;
}

svg {
  flex-shrink: 0;
}

.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

html:lang(en) .icon-arrow {
  transform: rotate(180deg);
}

.container {
  width: min(1440px, calc(100% - var(--space) * 2));
  margin-inline: auto;
}

.section {
  padding-block: 100px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-block-end: 40px;
}

.section-heading p {
  margin-block-start: 14px;
  color: var(--muted);
}

.section-heading .text-link {
  white-space: nowrap;
}

.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  min-height: 54px;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: #39312a;
  color: var(--cream);
}

.button-cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: #765022;
}

.icon-button {
  border: 0;
  background: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
}

.icon-button:hover {
  color: #765022;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #8d5820;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
}

.skip-link:focus {
  top: 12px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  border-block-end: 1px solid var(--line);
  background: var(--cream);
}

.utility {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  min-height: 38px;
  font-size: 12px;
}

/* Language switcher: a pill with a round flag per language. Light by default;
 * .languages--dark sits on ink (utility bar, footer). */
.languages {
  --lang-border: var(--line);
  --lang-hover: rgb(16 14 17 / 0.06);
  --lang-active-bg: var(--ink);
  --lang-active-fg: var(--cream);

  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--lang-border);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

.languages--dark {
  --lang-border: rgb(254 247 224 / 0.22);
  --lang-hover: rgb(254 247 224 / 0.1);
  --lang-active-bg: var(--cream);
  --lang-active-fg: var(--ink);
}

.languages a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding-block: 0;
  padding-inline: 5px 12px;
  border-radius: 999px;
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}

.languages a:hover {
  background: var(--lang-hover);
  color: inherit;
  text-decoration: none;
}

.languages a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.languages [aria-current] {
  background: var(--lang-active-bg);
  color: var(--lang-active-fg);
  font-weight: 700;
}

.languages [aria-current]:hover {
  background: var(--lang-active-bg);
  color: var(--lang-active-fg);
}

.languages__flag {
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(16 14 17 / 0.12);
}

.languages--dark .languages__flag {
  box-shadow: 0 0 0 1px rgb(254 247 224 / 0.3);
}

.languages__flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 100px;
  padding-block: 14px;
}

.brand {
  width: 240px;
  flex-shrink: 0;
  display: block;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  display: block;
  padding-block: 12px;
}

.desktop-nav a:hover,
.current-menu-item > a {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-trigger {
  border-block-end: 1px solid var(--ink);
  margin-inline-end: 8px;
  padding-inline: 0;
  min-width: 150px;
  justify-content: space-between;
}

.search-trigger span {
  font-size: 12px;
  color: var(--muted);
}

.menu-trigger {
  display: none;
}

.header-actions .bag-link {
  position: relative;
}

.bag-count {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-end: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
}

.hero {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 660px;
}

.hero-copy {
  padding: 90px 12% 86px 8%;
  align-self: center;
}

.hero-copy h1 {
  max-width: 8em;
  line-height: 1.5;
}

.hero-copy p {
  font-size: 18px;
  line-height: 2;
  margin-block: 28px 34px;
}

.hero-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
}

.hero-actions .button {
  min-width: 270px;
}

.hero-image {
  position: relative;
  background: #eeeae0;
  min-height: 600px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.hero-image figcaption {
  position: absolute;
  bottom: 25px;
  inset-inline-end: 30px;
  font-size: 13px;
  color: var(--muted);
}

.collection-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.collection-image {
  aspect-ratio: 0.68;
  background: #ebe6d6;
  overflow: hidden;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection:hover img {
  transform: scale(1.025);
}

.collection h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-start: 20px;
  font-size: 18px;
}

.collections {
  padding-block-end: 64px;
}

.featured {
  padding-block-start: 64px;
}

.product-image {
  display: block;
  aspect-ratio: 0.87;
  background: #e8e2d1;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.product-card :is(h2, h3) {
  margin-block: 22px 12px;
  font-size: 18px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  font-size: 17px;
}

.price del {
  font-size: 14px;
  color: var(--muted);
  order: 2;
}

.price ins {
  text-decoration: none;
}

.price .woocommerce-Price-amount {
  white-space: nowrap;
}

.product-card .text-link {
  margin-block-start: 14px;
  font-size: 14px;
}

.sale-label {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  background: var(--cream);
  color: var(--ink);
  padding: 4px 12px;
  font-size: 12px;
}

.clock-section {
  background: var(--ink);
  color: var(--cream);
  padding-block: 80px;
}

.clock-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "image heading" "image details";
  gap: 0 9%;
  align-items: start;
}

.clock-heading > p {
  font-size: 20px;
  margin-block: 20px 26px;
}

.feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 22px;
  border-block-end: 1px solid var(--gold);
}

.feature-list .icon {
  color: var(--honey);
}

.feature-price {
  margin-block: 26px;
  font-size: 24px;
}

.feature-price del {
  color: #d5c9ad;
  font-size: 16px;
}

.clock-image {
  grid-area: image;
  align-self: center;
  background: var(--cream);
  aspect-ratio: 1.05;
  overflow: hidden;
}

.clock-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 9%;
  align-items: center;
  padding-block: 110px;
}

.story-image {
  aspect-ratio: 1.1;
  background: #e8e2d1;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy p {
  font-size: 18px;
  margin-block: 24px 32px;
}

.help {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10%;
  padding-block: 70px 110px;
  border-block-start: 1px solid var(--line);
}

.help > div > p {
  margin-block: 20px;
}

.faq details {
  border-block-start: 1px solid var(--line);
}

.faq details:last-child {
  border-block-end: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  list-style: none;
  cursor: pointer;
  padding-block: 24px;
  font-size: 17px;
  font-weight: 500;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  transition: transform 0.2s;
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.answer {
  padding-block-end: 24px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  background: var(--ink);
  color: var(--cream);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-block: 65px;
}

.footer-brand img {
  width: 240px;
}

.footer-brand p {
  max-width: 290px;
  font-size: 14px;
  color: #d5c9ad;
  margin-block-start: 20px;
}

.site-footer h2 {
  font-size: 16px;
  margin-block-end: 20px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li,
.site-footer a {
  font-size: 14px;
}

.site-footer li {
  margin-block: 10px;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-block: 18px;
  border-block-start: 1px solid #514a40;
  color: #d5c9ad;
  font-size: 12px;
}

.page-content {
  padding-block: 64px 100px;
  min-height: 55vh;
}

.page-content h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-block-end: 32px;
}

.page-content p {
  margin-block: 16px;
}

.page-content .wp-block-heading {
  margin-block: 40px 20px;
}

.empty-page {
  padding-block: 100px;
}

.empty-page .button {
  margin-block-start: 24px;
}

dialog {
  color: var(--ink);
  background: var(--cream);
  border: 0;
  padding: 32px;
  max-width: calc(100% - 32px);
}

dialog::backdrop {
  background: rgb(16 14 17 / 0.55);
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block-end: 24px;
}

.dialog-top h2 {
  font-size: 25px;
}

.search-dialog {
  width: 700px;
}

.menu-dialog {
  margin-block: 0;
  margin-inline: auto 0;
  width: min(440px, 100%);
  height: 100%;
  max-height: 100%;
  max-width: 100%;
}

.menu-dialog nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-dialog .dialog-top {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--cream);
}

.menu-dialog nav li {
  border-block-end: 1px solid var(--line);
}

.menu-dialog nav li a {
  display: block;
  padding-block: 18px;
}

.menu-dialog .languages {
  margin-block-start: 30px;
  font-size: 15px;
}

.menu-dialog .languages a {
  min-height: 42px;
  padding-inline: 6px 16px;
}

.dialog-open {
  overflow: hidden;
}

.product-search label {
  display: block;
  margin-block-end: 10px;
}

.search-row {
  display: flex;
  gap: 12px;
}

.search-row input {
  flex: 1;
  min-width: 0;
}

input:not([type="checkbox"], [type="radio"], [type="hidden"]),
textarea,
select {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  padding: 12px 14px;
  border-radius: 4px;
  min-height: 48px;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
}

.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
}

.woocommerce ul.products li.product h2 {
  font-size: 18px;
  margin-block: 18px 12px;
}

.woocommerce ul.products li.product .button {
  margin-block-start: 16px;
  font-size: 14px;
}

.woocommerce .woocommerce-ordering {
  margin-block: 20px;
}

.catalog-toolbar .ordering-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.catalog-toolbar .ordering-label {
  font-size: 12px;
  color: var(--muted);
}

.woocommerce .woocommerce-result-count {
  color: var(--muted);
}

.woocommerce div.product {
  display: flow-root;
}

.woocommerce div.product .images {
  width: 48%;
  float: inline-start;
}

.woocommerce div.product .summary {
  width: 46%;
  float: inline-end;
}

.woocommerce div.product .woocommerce-tabs {
  clear: both;
  padding-block: 48px;
}

.woocommerce div.product .related {
  clear: both;
}

.woocommerce form.cart {
  margin-block: 24px;
}

.woocommerce form.cart .quantity {
  display: inline-block;
  margin-inline-end: 16px;
}

.woocommerce form.cart input.qty {
  width: 90px;
}

.woocommerce table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce td,
.woocommerce th {
  text-align: start;
  padding: 14px;
  border-block-end: 1px solid var(--line);
}

.woocommerce .form-row label {
  display: block;
}

.woocommerce .form-row input.input-text,
.woocommerce .form-row textarea {
  width: 100%;
}

.woocommerce .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-block-end: 30px;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  padding: 18px 22px;
  border: 1px solid var(--line);
  list-style: none;
}

.woocommerce .onsale {
  font-size: 13px;
  background: var(--honey);
  padding: 5px 12px;
}

.woocommerce .woocommerce-breadcrumb {
  font-size: 13px;
  margin-block-end: 30px;
}

.woocommerce .woocommerce-tabs .tabs {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
}

.woocommerce .woocommerce-tabs h2 {
  font-size: 26px;
}

.editor-styles-wrapper {
  background: var(--cream);
  font-family: var(--font);
}

.editor-styles-wrapper .wp-block {
  max-width: none;
}

.editor-styles-wrapper .hero {
  min-height: 500px;
}

.editor-styles-wrapper .hero-image {
  min-height: 400px;
}

.editor-styles-wrapper .hero-copy {
  padding: 40px;
}

.editor-styles-wrapper h1 {
  font-size: 48px;
}

.editor-styles-wrapper h2 {
  font-size: 32px;
}

@media (min-width: 1600px) {
  .hero {
    max-width: 1800px;
    margin-inline: auto;
  }
}

@media (max-width: 1200px) {
  .desktop-nav ul {
    gap: 20px;
  }

  .search-trigger {
    min-width: 44px;
    border: 0;
  }

  .search-trigger span {
    display: none;
  }

  .brand {
    width: 200px;
  }

  .main-header {
    gap: 20px;
  }

  .hero-copy {
    padding: 60px 10%;
  }

  .hero {
    min-height: 580px;
  }

  .hero-image {
    min-height: 580px;
  }

  .hero-actions .button {
    min-width: 0;
    width: 100%;
  }

  .footer-main {
    gap: 25px;
  }

  .product-card :is(h2, h3) {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-trigger {
    display: inline-flex;
  }

  .main-header {
    min-height: 84px;
  }

  .hero {
    grid-template-columns: 46% 54%;
    min-height: 500px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-image {
    min-height: 500px;
  }

  .collection-grid,
  .product-grid {
    gap: 20px;
  }

  .section {
    padding-block: 70px;
  }

  .clock-grid,
  .story {
    gap: 6%;
  }

  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-main > div:nth-child(3) {
    grid-column: auto;
  }

  .footer-main > div:last-child {
    grid-column: 2/-1;
  }

  .help {
    gap: 6%;
    grid-template-columns: 1fr 1.4fr;
  }
}

@media (max-width: 700px) {
  :root {
    --space: 22px;
  }

  .utility {
    min-height: 34px;
    font-size: 10px;
    justify-content: space-between;
    gap: 12px;
  }

  .utility > span {
    max-width: 180px;
  }

  .utility .languages a {
    min-height: 26px;
    gap: 6px;
    padding-inline: 4px 10px;
  }

  .utility .languages__flag {
    width: 18px;
    height: 18px;
  }

  .main-header {
    min-height: 77px;
    gap: 10px;
  }

  .brand {
    width: 168px;
  }

  .header-actions {
    gap: 0;
  }

  .icon-button {
    padding: 9px;
    min-width: 42px;
    min-height: 44px;
  }

  .account-link {
    display: none;
  }

  .search-trigger {
    margin: 0;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-copy {
    text-align: start;
    padding: 46px 24px 40px;
    align-self: stretch;
  }

  .hero-copy h1 {
    font-size: 42px;
    line-height: 1.55;
    max-width: 8em;
    margin-inline: 0;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 2;
    max-width: 340px;
    margin: 18px 0 24px;
  }

  .hero-actions {
    align-items: center;
    gap: 16px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 330px;
  }

  .hero-image {
    min-height: 0;
    aspect-ratio: 1.13;
    max-height: 480px;
  }

  .hero-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .hero-image figcaption {
    font-size: 11px;
    bottom: 14px;
    inset-inline-end: 20px;
  }

  .section {
    padding-block: 52px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 16px;
    margin-block-end: 28px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    font-size: 14px;
    margin-block-start: 12px;
  }

  .section-heading .text-link {
    font-size: 12px;
    white-space: normal;
    gap: 6px;
    flex-shrink: 0;
    max-width: 105px;
    line-height: 1.7;
  }

  .section-heading .text-link .icon {
    width: 18px;
  }

  .collection-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .collection-image {
    aspect-ratio: 0.68;
  }

  .collection h3 {
    font-size: 14px;
    gap: 8px;
    margin-block-start: 12px;
  }

  .collection h3 .icon {
    width: 20px;
  }

  .featured {
    padding-block-start: 24px;
  }

  .product-image {
    aspect-ratio: 0.8;
  }

  .product-card :is(h2, h3) {
    font-size: 15px;
    margin-block: 14px 10px;
    line-height: 1.75;
  }

  .product-card .price {
    font-size: 14px;
    gap: 4px 8px;
  }

  .product-card .price del {
    font-size: 12px;
  }

  .product-card .text-link {
    font-size: 12px;
    gap: 8px;
    margin-block-start: 8px;
  }

  .product-card .text-link .icon {
    width: 20px;
  }

  .sale-label {
    font-size: 10px;
    padding: 3px 8px;
    inset-block-start: 10px;
    inset-inline-start: 10px;
  }

  .clock-section {
    padding-block: 48px;
  }

  .clock-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }

  .clock-heading h2 {
    font-size: 32px;
  }

  .clock-heading > p {
    font-size: 17px;
    margin-block: 16px 22px;
  }

  .feature-list li {
    font-size: 14px;
  }

  .feature-price {
    font-size: 22px;
  }

  .clock-image {
    aspect-ratio: 1.18;
  }

  .clock-details .button {
    width: 100%;
  }

  .story {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  .story-image {
    aspect-ratio: 1.2;
  }

  .story-copy h2 {
    font-size: 32px;
  }

  .story-copy p {
    font-size: 16px;
    margin-block: 18px 24px;
  }

  .story-copy .button {
    width: 100%;
  }

  .help {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .help h2 {
    font-size: 30px;
  }

  .help > div > p {
    font-size: 14px;
  }

  .faq summary {
    font-size: 14px;
    padding-block: 20px;
  }

  .answer {
    font-size: 14px;
  }

  .footer-main {
    padding-block: 46px;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-brand img {
    width: 190px;
  }

  .footer-brand p {
    max-width: 300px;
  }

  .footer-main > div:last-child {
    grid-column: auto;
  }

  .footer-main h2 {
    font-size: 14px;
  }

  .site-footer a {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 11px;
    padding-block: 20px;
  }

  .page-content {
    padding-block: 42px 64px;
  }

  dialog {
    padding: 24px;
  }

  .dialog-top h2 {
    font-size: 20px;
  }

  .search-row {
    flex-direction: column;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .woocommerce div.product .images,
  .woocommerce div.product .summary {
    float: none;
    width: 100%;
  }

  .woocommerce div.product .summary {
    margin-block-start: 30px;
  }

  .woocommerce table {
    font-size: 13px;
  }

  .woocommerce td,
  .woocommerce th {
    padding: 8px;
  }

  .woocommerce ul.products li.product h2 {
    font-size: 15px;
  }

  .woocommerce ul.products li.product .button {
    padding: 10px 15px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Keep the section heading and action readable at narrow Arabic widths. */
@media (max-width: 700px) {
  .homepage .section-heading {
    display: block;
  }

  .homepage .section-heading > .text-link {
    margin-block-start: 14px;
    max-width: none;
  }

  .product-grid > *,
  .collection-grid > * {
    min-width: 0;
  }

  .product-card :is(h2, h3) {
    overflow-wrap: anywhere;
  }
}

/* Review corrections preserve the approved section composition. */
.clock-heading {
  grid-area: heading;
}

.clock-details {
  grid-area: details;
}

.button-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.mobile-search,
.hero-secondary-mobile,
.featured-mobile-action {
  display: none;
}

@media (max-width: 700px) {
  .mobile-search {
    display: block;
    padding-block-end: 18px;
  }

  .mobile-search .product-search {
    margin: 0;
  }

  .mobile-search input {
    min-width: 0;
  }

  .header-actions .search-trigger {
    display: none;
  }

  .hero-actions .text-link {
    display: none;
  }

  .hero-secondary-mobile {
    display: inline-flex;
    margin: 24px var(--space);
    align-self: flex-start;
  }

  .featured .section-heading .text-link {
    display: none;
  }

  .featured-mobile-action {
    display: block;
    margin-block-start: 32px;
  }

  .featured-mobile-action .button {
    width: 100%;
  }

  .clock-grid {
    gap: 24px;
  }

  .clock-heading > p {
    margin-block-end: 0;
  }

  .clock-image {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .mobile-search .search-row {
    flex-direction: row;
  }

  .mobile-search .search-row .button {
    width: auto;
    padding-inline: 16px;
  }
}

/* stylelint-disable no-duplicate-selectors -- Deliberate late cascade over legacy theme rules. */

/* Luxury polish: preserve the established palette while deepening hierarchy. */
:root {
  --paper: #fffaf0;
  --paper-muted: #f4ecd8;
  --ink-soft: #2c2825;
  --gold-dark: #86561f;
  --line-strong: #bcae8d;
  --shadow-soft: 0 18px 50px rgb(94 71 35 / 0.08);
  --shadow-lift: 0 14px 34px rgb(94 71 35 / 0.13);
}

::selection {
  background: var(--honey);
  color: var(--ink);
}

body {
  color: var(--ink-soft);
  line-height: 1.78;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.035em;
}

html[dir="rtl"] :is(h1, h2, h3, h4) {
  letter-spacing: 0;
}

.clock-section :is(h1, h2, h3, h4),
.site-footer :is(h1, h2, h3, h4) {
  color: var(--cream);
}

.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.wp-element-button {
  box-shadow: inset 0 1px rgb(255 255 255 / 0.1);
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
  white-space: nowrap;
}

.button:hover,
button.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wp-element-button:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px rgb(255 255 255 / 0.1),
    var(--shadow-lift);
}

.button:active,
button.button:active,
.woocommerce a.button:active,
.woocommerce button.button:active,
.wp-element-button:active {
  transform: translateY(1px);
  box-shadow: none;
}

.text-link {
  color: var(--ink-soft);
  text-decoration-color: var(--line-strong);
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.text-link:hover {
  color: var(--gold-dark);
  text-decoration-color: currentcolor;
}

.site-header {
  position: relative;
  z-index: 10;
  box-shadow: 0 1px rgb(255 250 240 / 0.75);
}

.utility {
  color: var(--muted);
  min-height: 36px;
}

.main-header {
  min-height: 78px;
  padding-block: 8px;
}

.brand {
  width: 205px;
}

.desktop-nav a {
  position: relative;
  font-weight: 560;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 5px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-nav a:hover,
.current-menu-item > a {
  text-decoration: none;
}

.desktop-nav a:hover::after,
.current-menu-item > a::after {
  transform: scaleX(1);
}

.search-trigger {
  border-color: var(--line-strong);
}

.hero {
  min-height: min(640px, calc(100dvh - 114px));
  border-block-end: 1px solid var(--line);
}

.hero-copy {
  padding-block: 72px;
}

.hero-copy h1 {
  font-size: clamp(48px, 4.7vw, 72px);
  line-height: 1.32;
}

html:not([dir="rtl"]) .hero-copy h1 {
  line-height: 1.08;
}

.hero-copy p {
  max-width: 34em;
  color: var(--muted);
}

.hero-image,
.collection-image,
.product-image,
.story-image,
.clock-image {
  border: 1px solid rgb(188 174 141 / 0.58);
  background-color: var(--paper-muted);
  box-shadow: inset 0 0 0 1px rgb(255 250 240 / 0.55);
}

:is(
  .hero-image,
  .collection-image,
  .product-image,
  .story-image,
  .clock-image
):has(img[src*="placeholder"]) {
  background-image:
    radial-gradient(
      circle at 50% 42%,
      rgb(255 250 240 / 0.9) 0 14%,
      transparent 34%
    ),
    linear-gradient(145deg, #f8f1df, #eee4cd);
}

:is(
    .hero-image,
    .collection-image,
    .product-image,
    .story-image,
    .clock-image,
    .woocommerce-product-gallery__image
  )
  img[src*="placeholder"] {
  object-fit: contain;
  padding: clamp(34px, 13%, 88px);
  opacity: 0.48;
  mix-blend-mode: multiply;
}

.collection,
.product-card {
  min-width: 0;
}

.collection h3,
.product-card :is(h2, h3) {
  transition: color 180ms ease;
}

.collection:hover h3,
.product-card:hover :is(h2, h3) {
  color: var(--gold-dark);
}

.collection-image img,
.product-image img {
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 180ms ease;
}

.sale-label {
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgb(94 71 35 / 0.09);
}

.clock-section {
  background-color: var(--ink);
  background-image: radial-gradient(
    circle at 78% 16%,
    rgb(200 133 55 / 0.13),
    transparent 34%
  );
}

.button-gold:hover {
  background: #dda04e;
  border-color: #dda04e;
  color: var(--ink);
}

.feature-list li {
  border-color: rgb(200 133 55 / 0.55);
}

.story-copy p,
.help > div > p,
.answer {
  color: var(--muted);
}

.faq summary {
  transition: color 180ms ease;
}

.faq summary:hover {
  color: var(--gold-dark);
}

.site-footer {
  background: #121012;
}

.footer-main {
  padding-block: 72px;
}

.site-footer a {
  color: #f8efd8;
  text-decoration-color: var(--gold);
}

.site-footer a:hover {
  color: var(--honey);
}

dialog {
  background: var(--paper);
  box-shadow: 0 28px 80px rgb(16 14 17 / 0.24);
}

input:not([type="checkbox"], [type="radio"], [type="hidden"]),
textarea,
select {
  background-color: rgb(255 250 240 / 0.66);
  border-color: var(--line-strong);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

input:not([type="checkbox"], [type="radio"], [type="hidden"]):hover,
textarea:hover,
select:hover {
  background-color: var(--paper);
  border-color: #998a68;
}

input:not([type="checkbox"], [type="radio"], [type="hidden"]):focus,
textarea:focus,
select:focus {
  background-color: var(--paper);
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgb(200 133 55 / 0.12);
}

@media (max-width: 900px) {
  .main-header {
    min-height: 78px;
  }

  .brand {
    width: 190px;
  }
}

@media (max-width: 700px) {
  .main-header {
    min-height: 72px;
  }

  .brand {
    width: 158px;
  }

  .hero {
    border-block-end: 0;
  }

  .hero-copy {
    padding-block: 42px 36px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 48px);
    line-height: 1.42;
  }

  html:not([dir="rtl"]) .hero-copy h1 {
    line-height: 1.1;
  }

  .section-heading {
    margin-block-end: 30px;
  }

  .collection-grid,
  .product-grid {
    row-gap: 34px;
  }

  .footer-main {
    padding-block: 52px;
  }
}
/* stylelint-enable no-duplicate-selectors */

/* Official dirham vector; native text remains available to assistive tools. */
.bakura-dirham-symbol {
  display: inline-block;
  position: relative;
  width: max(0.92em, 14px);
  height: max(0.8em, 12px);
  overflow: hidden;
  text-indent: -9999px;
  vertical-align: -0.04em;
}

.bakura-dirham-symbol::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentcolor;
  mask: url("../images/dirham.svg") center / contain no-repeat;
}

.woocommerce-Price-amount:has(.bakura-dirham-symbol) bdi {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Blocks keep their own text nodes so React can safely update prices. */
.bakura-dirham-live {
  font-size: 0 !important;
}

.bakura-dirham-live::before {
  content: attr(data-dirham-prefix) / "";
  font-size: var(--dirham-font-size);
}

.bakura-dirham-live::after {
  content: attr(data-dirham-value) / "";
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  font-size: var(--dirham-font-size);
  padding-left: max(1.2em, 18px);
  background: url("../images/dirham.svg") left center / max(0.92em, 14px)
    max(0.8em, 12px) no-repeat;
}

@media (forced-colors: active) {
  .bakura-dirham-symbol::before {
    background: CanvasText;
    forced-color-adjust: none;
  }

  .bakura-dirham-live {
    font-size: var(--dirham-font-size) !important;
  }

  .bakura-dirham-live::before,
  .bakura-dirham-live::after {
    content: none;
  }
}

del.bakura-dirham-live::after {
  text-decoration: line-through;
}

/* Modern luxury refinement: stronger hierarchy, quieter surfaces, near-sharp controls. */
/* stylelint-disable no-duplicate-selectors */
body {
  background: var(--paper);
}

.site-header {
  background: var(--cream);
  box-shadow: none;
}

.main-header {
  min-height: 74px;
}

.hero {
  background: var(--cream);
}

.hero-copy {
  padding-inline: clamp(24px, 5vw, 76px);
}

.hero-copy h1 {
  font-weight: 750;
  font-size: clamp(46px, 4.5vw, 68px);
}

.hero-copy p {
  font-size: 17px;
  margin-block: 24px 30px;
}

.button {
  border-radius: 2px;
  min-height: 52px;
  padding-inline: 30px;
  font-weight: 650;
  box-shadow: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.section {
  padding-block: clamp(64px, 7vw, 104px);
}

.section-heading h2 {
  font-weight: 750;
}

.collection-grid {
  gap: 32px;
}

.collection-image {
  aspect-ratio: 0.86;
}

.collection h3 {
  margin-block-start: 20px;
}

.product-grid {
  gap: 32px;
}

.product-card .price {
  font-variant-numeric: tabular-nums;
}

.product-image {
  aspect-ratio: 0.94;
}

:is(
  .hero-image,
  .collection-image,
  .product-image,
  .story-image,
  .clock-image
):has(img[src*="placeholder"]) {
  background-image: none;
  background-color: var(--paper-muted);
}

.clock-section {
  background-image: none;
  padding-block: clamp(64px, 7vw, 100px);
}

.clock-heading h2 {
  font-weight: 750;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.feature-list li {
  border-color: rgb(213 201 173 / 0.3);
}

.story {
  gap: 8%;
}

.story-copy h2 {
  font-weight: 750;
}

.faq details {
  border-color: var(--line-strong);
}

.faq summary {
  padding-block: 24px;
}

.footer-main {
  gap: 48px;
}

@media (max-width: 767px) {
  .hero-copy {
    padding: 32px 24px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.4;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .collection-grid,
  .product-grid {
    gap: 28px 16px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 56px;
  }

  .button {
    padding-inline: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover,
  .button:active {
    transform: none;
  }
}
/* stylelint-enable no-duplicate-selectors */

/* Source: academy.css */
.academy-preview {
  padding: 10px var(--space);
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

.academy-brand-label {
  display: block;
  margin-block-start: 4px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.academy-course-format {
  margin-block: 10px 20px;
  color: var(--muted);
}

.homepage .hero-image {
  background: var(--honey);
  min-height: 0;
}

.homepage .hero-image img {
  position: absolute;
  inset: 0;
  mix-blend-mode: normal;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.homepage .hero-image figcaption {
  display: none;
}

.homepage .collection-image img,
.homepage .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.homepage .clock-image {
  background: var(--ink);
}

.homepage .story-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
}

.homepage .clock-image img {
  max-height: 500px;
  object-fit: contain;
}

.academy-course-format + .price {
  margin-block-start: 0;
}

@media (max-width: 700px) {
  .academy-preview {
    padding: 9px 20px;
    font-size: 12px;
  }

  .academy-brand-label {
    font-size: 12px;
  }
}

.homepage .collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-image,
.homepage .collection-image {
  aspect-ratio: 5 / 6;
}

@media (max-width: 700px) {
  .homepage .hero-image {
    min-height: 340px;
  }

  .homepage .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.single-product
  .summary
  form.cart:has(.quantity input[type="hidden"])
  .single_add_to_cart_button {
  flex-basis: 100%;
}

.single-product .summary .quantity:has(input[type="hidden"]) {
  display: none;
}

/* Source: brand.css */
/*
 * BakuraEdu brand layer (2026). Loaded after site.css.
 * Identity: logo colours only, Thmanyah type, sun disc + hoopoe crest shapes.
 */
@font-face {
  font-family: Courgette;
  src: url("../fonts/courgette-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("../fonts/thmanyahsans-Black.woff2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../fonts/thmanyahserifdisplay-Bold.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../fonts/thmanyahserifdisplay-Black.woff2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("../fonts/thmanyahseriftext-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Logo palette */
  --cream: #fef7e0;
  --ink: #100e11;
  --sunlight: #f0cf8a;
  --gold: #d1954a;
  --amber: #e8a659;
  --copper: #c4743a;
  --rust: #b8632e;
  --honey: #f5dfae; /* pale gold, large warm areas */
  --bark: #39312a;
  --muted: #635b50;
  --line: #d5c9ad;
  --sun: radial-gradient(
    circle at 68% 28%,
    #f0cf8a 0%,
    #e8a659 48%,
    #c4743a 100%
  );
  --font: "Thmanyah Sans", sans-serif;
  --font-display: "Thmanyah Serif Display", serif;
  --font-reading: "Thmanyah Serif Text", serif;
  --radius-card: 28px;
  --radius-pill: 999px;
}

html[dir="rtl"] {
  --font: "Thmanyah Sans", sans-serif;
}

body {
  font-family: var(--font);
}

h1,
h2,
h3,
.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 {
  line-height: 1.25;
}

a:hover,
.text-link:hover,
.icon-button:hover {
  color: #765022;
}

.eyebrow {
  font: 600 12px/1.6 var(--font);
  letter-spacing: 0.16em;
  color: var(--rust);
  text-transform: uppercase;
}

/* Buttons → pills */
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.wp-element-button {
  border-radius: var(--radius-pill);
  min-height: 56px;
  padding: 0 30px;
  font-family: var(--font);
}

.button-cream {
  background: var(--cream);
  color: var(--ink);
}

.button-gold,
.button-sun {
  background: var(--sunlight);
  border-color: var(--sunlight);
  color: var(--ink);
}

.button-gold:hover,
.button-sun:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.button-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.button-outline:hover {
  background: var(--honey);
  color: var(--ink);
}

/* Header */
.utility {
  background: var(--ink);
  color: var(--cream);
  width: 100%;
  padding-inline: max(var(--space), calc((100% - 1440px) / 2));
}

.utility a {
  color: var(--cream);
}

.utility .brand-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-inline-end: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.utility .brand-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.brand {
  position: relative;
  width: 200px;
  direction: ltr;
  line-height: 0;
  container-type: inline-size;
}

.brand .brand-edu {
  position: absolute;
  left: 63.5%;
  top: 50%;
  transform: translateX(-50%);
  font-family: Courgette, cursive;
  font-size: 13.9cqw;
  line-height: 1;
  color: var(--ink);
  -webkit-text-stroke: 0.4cqw var(--ink);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.site-footer .brand .brand-edu {
  color: var(--cream);
  -webkit-text-stroke-color: var(--cream);
}

.academy-brand-label {
  display: none;
}

.desktop-nav ul {
  gap: 6px;
}

.desktop-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: none;
}

.desktop-nav a:hover {
  background: var(--honey);
}

.desktop-nav .current-menu-item > a {
  background: var(--ink);
  color: var(--cream);
}

.search-trigger {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding-inline: 16px;
  min-width: 0;
  gap: 10px;
}

.bag-count {
  border-radius: var(--radius-pill);
  background: var(--gold);
}

/* Course feature section (kind="course") */
.clock-section {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.clock-section::before {
  content: "";
  position: absolute;
  width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  inset-inline-end: -300px;
  top: 120px;
}

.homepage .clock-image {
  border-radius: 260px 260px 32px 32px;
  border: 10px solid var(--cream);
  background: var(--honey);
  overflow: hidden;
}

/* FAQ */
.faq details {
  border-color: var(--line);
}

.faq summary .icon {
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: var(--honey);
  transition:
    transform 0.25s,
    background 0.25s;
}

.faq details[open] summary .icon {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(45deg);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  left: -180px;
  bottom: -300px;
  opacity: 0.9;
}

.site-footer::after {
  content: "";
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--honey);
  left: 240px;
  bottom: -200px;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

/* The bottom bar is solid, so the sun sets behind it instead of under the text. */
.site-footer .footer-bottom {
  z-index: 2;
  background: var(--ink);
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax -100vmax);
}

.footer-bottom .languages {
  margin-inline-start: auto;
}

/* Room under the bar for the floating Hoopoe button, so it never covers the switcher. */
body:has(.hoopoe) .site-footer {
  padding-bottom: 104px;
}

/* Lift the sun by the same amount on wide screens so it still rises behind the bar. */
@media (min-width: 900px) {
  body:has(.hoopoe) .site-footer::before {
    bottom: -236px;
  }

  body:has(.hoopoe) .site-footer::after {
    bottom: -136px;
  }
}

.site-footer h2 {
  color: var(--gold);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
}

/* Floating hoopoe AI */
.hoopoe {
  position: fixed;
  left: 24px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--font);
  color: var(--ink);
  direction: rtl;
  pointer-events: none;
}

html:not([dir="rtl"]) .hoopoe {
  left: auto;
  right: 24px;
  direction: ltr;
}

.hoopoe > * {
  pointer-events: auto;
}

.hoopoe-row {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.hoopoe-pill {
  display: flex;
  align-items: center;
  padding: 5px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  cursor: pointer;
  box-shadow:
    0 18px 36px -16px rgb(16 14 17 / 0.6),
    0 0 0 1px rgb(240 207 138 / 0.35);
}

.hoopoe-face {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: var(--sun);
}

.hoopoe-face span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--cream) url("../images/mascot/welcome.png") 40% 8% / 150%
    no-repeat;
}

.hoopoe-face::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--sunlight);
}

.hoopoe-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.3s ease;
  color: var(--cream);
  direction: rtl;
  text-align: right;
  line-height: 1.35;
}

.hoopoe-pill:hover .hoopoe-label,
.hoopoe-pill:focus-visible .hoopoe-label {
  max-width: 200px;
  padding: 0 6px 0 18px;
}

html:not([dir="rtl"]) .hoopoe-label {
  direction: ltr;
  text-align: left;
}

.hoopoe-label b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
}

.hoopoe-label small {
  font-size: 11px;
  color: var(--sunlight);
}

.hoopoe-bubble {
  position: relative;
  max-width: 240px;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  background: var(--cream);
  font-size: 14px;
  line-height: 1.6;
  box-shadow:
    0 16px 34px -16px rgb(16 14 17 / 0.45),
    0 0 0 1px rgb(16 14 17 / 0.08);
  direction: rtl;
}

html:not([dir="rtl"]) .hoopoe-bubble {
  direction: ltr;
}

.hoopoe-panel {
  width: min(380px, calc(100vw - 48px));
  height: min(540px, calc(100vh - 130px));
  height: min(540px, calc(100dvh - 130px));
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream);
  box-shadow:
    0 24px 60px -28px rgb(16 14 17 / 0.45),
    0 0 0 1px rgb(16 14 17 / 0.1);
}

.hoopoe-panel[hidden] {
  display: none;
}

.hoopoe-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e6dcc2;
}

.hoopoe-head .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--honey) url("../images/mascot/listening.png") 45% 15% / 125%
    no-repeat;
  border: 1px solid #e6dcc2;
}

.hoopoe-head b {
  font-family: var(--font-display);
  font-size: 17px;
  display: block;
}

.hoopoe-head small {
  color: var(--muted);
  font-size: 12px;
}

.hoopoe-close {
  margin-inline-start: auto;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hoopoe-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hoopoe-msg {
  width: max-content;
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px 14px 4px;
  background: #fff;
  border: 1px solid #e6dcc2;
  font-size: 14.5px;
  line-height: 1.7;
}

.hoopoe-msg.me {
  align-self: flex-end;
  border-radius: 14px 14px 14px 4px;
  background: var(--ink);
  color: var(--cream);
  border: 0;
}

.hoopoe-chips {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px 0;
}

.hoopoe-chips button {
  border: 1px solid #e6dcc2;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font: 500 12.5px var(--font);
  cursor: pointer;
}

.hoopoe-form {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding: 12px 14px 14px;
}

.hoopoe-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border-radius: var(--radius-pill);
  border: 1px solid #e6dcc2;
  background: #fff;
  padding: 0 18px;
  font: 400 15px var(--font);
}

.hoopoe-form button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .hoopoe-face span {
    animation: hoopoe-sway 2.2s ease-in-out infinite alternate;
  }

  @keyframes hoopoe-sway {
    to {
      transform: translateY(-3px) rotate(-4deg);
    }
  }
}

@media (max-width: 700px) {
  .hoopoe-bubble {
    display: none;
  }
}

@media (max-height: 500px) {
  .hoopoe:has(.hoopoe-panel:not([hidden])) {
    inset: 12px;
    align-items: stretch;
  }

  html:not([dir="rtl"]) .hoopoe:has(.hoopoe-panel:not([hidden])) {
    inset: 12px;
  }

  .hoopoe:has(.hoopoe-panel:not([hidden])) .hoopoe-row {
    display: none;
  }

  .hoopoe-panel {
    width: 100%;
    height: 100%;
  }
}

/* Source: home.css */
/* BakuraEdu homepage sections (inc/sections.php). Loaded after brand.css. */

/* Match the Arabic display face while the original, unmodified font loads. */
@font-face {
  font-family: "Bakura Times Fallback";
  src: local("Times New Roman");
  size-adjust: 115%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Bakura Naskh Fallback";
  src: local("Noto Naskh Arabic");
  size-adjust: 104%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* ---------- shared ---------- */
.edu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.eyebrow--light {
  color: var(--sunlight);
}

.eyebrow--dark {
  color: #765022;
}

.button-outline--light {
  color: var(--cream);
  border-color: var(--cream);
}

.button-outline--light:hover {
  background: var(--bark);
  color: var(--cream);
}

.edu-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .edu-float {
    animation: edu-float 3.8s ease-in-out infinite alternate;
  }

  .edu-float--2 {
    animation-duration: 4.5s;
  }

  .edu-float--3 {
    animation-duration: 5.1s;
  }

  .edu-float--4 {
    animation-duration: 5.8s;
  }

  @keyframes edu-float {
    to {
      translate: 0 -14px;
    }
  }
}

/* ---------- hero 1a · sun ---------- */
.edu-hero {
  position: relative;
  overflow: hidden;
}

.edu-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1.25;
  font-weight: 800;
  text-wrap: balance;
}

html[dir="rtl"] .edu-hero h1 {
  font-family:
    "Thmanyah Serif Display", "Bakura Times Fallback", "Bakura Naskh Fallback",
    serif;
}

/* English copy has a longer measure; keep the primary action in view. */
html:not([dir="rtl"]) .edu-hero--sun h1 {
  font-size: clamp(36px, 3.75vw, 58px);
  line-height: 1.12;
}

html:not([dir="rtl"]) .edu-hero--sun .edu-hero__copy {
  gap: 20px;
}

@media (min-width: 1000px) {
  html:not([dir="rtl"]) .edu-hero--sun .edu-hero__grid {
    padding-block: 40px 56px;
  }
}

.edu-hero p {
  margin: 0;
  font-size: 18px;
  text-wrap: pretty;
}

.edu-hero--sun {
  background: var(--cream);
}

.edu-hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 40px;
  align-items: center;
  padding-block: 72px 96px;
}

.edu-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.edu-hero__copy p {
  max-width: 52ch;
  color: var(--muted);
}

.edu-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--honey);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.edu-badge__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sun);
}

.edu-hero__art {
  position: relative;
  aspect-ratio: 1;
  max-width: 600px;
  width: 100%;
  justify-self: center;
}

.edu-sun {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: inset -14px -20px 40px rgb(184 99 46 / 0.4);
}

.edu-dot {
  position: absolute;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: var(--honey);
  left: -4%;
  bottom: -2%;
}

.edu-arch {
  position: absolute;
  width: 30%;
  height: 15%;
  border-radius: 999px 999px 0 0;
  background: var(--ink);
  right: 2%;
  top: 10%;
}

.edu-hero__photo {
  position: absolute;
  inset: 14%;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--cream);
  background: var(--honey);
}

.edu-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-chip {
  position: absolute;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.edu-chip small {
  display: block;
  font: 500 11px var(--font);
  color: var(--muted);
}

.edu-chip--1 small {
  color: var(--gold);
}

.edu-accent {
  color: var(--rust);
}

.edu-actions .button .icon,
.edu-dna-teaser .button .icon {
  width: 20px;
  height: 20px;
  margin-inline-start: 4px;
}

.edu-chip--1 {
  right: 0;
  bottom: 16%;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 18px 40px -20px rgb(16 14 17 / 0.6);
}

.edu-chip--2 {
  left: 6%;
  top: 8%;
  background: var(--cream);
  border: 1.5px solid var(--ink);
}

/* ---------- hero 1b · golden ---------- */
.edu-hero--honey {
  background: var(--honey);
}

.edu-hero--honey .edu-ring--1 {
  width: 900px;
  height: 900px;
  border: 1.5px solid var(--gold);
  left: -320px;
  top: -420px;
  opacity: 0.5;
}

.edu-hero--honey .edu-ring--2 {
  width: 640px;
  height: 640px;
  border: 1.5px solid var(--gold);
  left: -190px;
  top: -290px;
  opacity: 0.5;
}

.edu-hero__honey {
  position: relative;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.edu-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.edu-hero--honey h1 {
  font-size: clamp(48px, 8vw, 128px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.edu-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 400px;
}

.edu-hero__aside p {
  color: var(--bark);
}

.edu-hero__collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: end;
  margin-bottom: -40px;
}

.edu-tile {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.edu-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-tile--arch {
  height: 340px;
  border-radius: 200px 200px 24px 24px;
  background: var(--gold);
  rotate: -2deg;
}

.edu-tile--tall {
  height: 380px;
  background: var(--cream);
  rotate: 1.5deg;
}

.edu-tile--ink {
  height: 280px;
  background: var(--ink);
  color: var(--cream);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.edu-tile--ink strong {
  font: 700 24px/1.5 var(--font-display);
}

.edu-tile--sun {
  width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  display: grid;
  place-items: center;
  justify-self: center;
}

.edu-tile--sun img {
  width: 78%;
  height: auto;
}

.edu-hero--honey + * {
  padding-top: 40px;
}

/* ---------- hero 1c · sunrise ---------- */
.edu-hero--sunrise {
  background: var(--ink);
  color: var(--cream);
  min-height: 720px;
}

.edu-hero--sunrise .edu-ring--1 {
  left: 50%;
  bottom: -520px;
  translate: -50% 0;
  width: 1300px;
  height: 1300px;
  border: 1px solid var(--bark);
}

.edu-hero--sunrise .edu-ring--2 {
  left: 50%;
  bottom: -420px;
  translate: -50% 0;
  width: 1040px;
  height: 1040px;
  border: 1px solid var(--bark);
}

.edu-hero__center {
  position: relative;
  padding-block: 88px 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.edu-hero--sunrise h1 {
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1.2;
  max-width: 14ch;
}

.edu-hero--sunrise p {
  max-width: 56ch;
  color: var(--line);
}

.edu-hero__emblem {
  position: absolute;
  left: 50%;
  bottom: -260px;
  margin-left: -280px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  overflow: hidden;
}

.edu-hero__emblem img {
  width: 100%;
  height: 100%;
}

/* ---------- ticker ---------- */
.edu-ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid var(--bark);
}

.edu-ticker__track {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.edu-ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.edu-ticker__track span::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .edu-ticker__track {
    animation: edu-ticker 40s linear infinite;
  }

  html[dir="rtl"] .edu-ticker__track {
    animation-name: edu-ticker-rtl;
  }

  @keyframes edu-ticker {
    to {
      transform: translateX(-50%);
    }
  }

  @keyframes edu-ticker-rtl {
    to {
      transform: translateX(50%);
    }
  }
}

/* ---------- brand banner ---------- */
.edu-banner {
  margin: 0;
  background: #b98a5a;
}

.edu-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2000 / 1126;
  max-height: 88vh;
  object-fit: cover;
  object-position: 50% 30%;
}

@media (max-width: 700px) {
  .edu-banner img {
    max-height: none;
  }
}

/* ---------- tracks ---------- */
.edu-tracks .section-heading h2 {
  margin-top: 8px;
}

.edu-tracks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.edu-track {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.edu-track:hover {
  transform: translateY(-6px);
  color: inherit;
}

.edu-track__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edu-track__text small,
.edu-track__meta {
  font-size: 13px;
  opacity: 0.75;
}

.edu-track__text .edu-track__en {
  font: 600 11px var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.edu-track__text strong {
  font: 700 24px/1.4 var(--font-display);
}

.edu-track__art {
  position: relative;
  height: 150px;
  direction: ltr;
}

.edu-track__art i {
  position: absolute;
  display: block;
}

.edu-track--1 {
  background: var(--ink);
  color: var(--cream);
}

.edu-track--1 i:nth-child(1) {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--sun);
  left: 0;
  top: 10px;
}

.edu-track--1 i:nth-child(2) {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  left: 90px;
  top: 0;
}

.edu-track--1 i:nth-child(3) {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--honey);
  left: 160px;
  top: 90px;
}

.edu-track--2 {
  background: var(--honey);
  color: var(--ink);
}

.edu-track--2 i {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.edu-track--2 i:nth-child(1) {
  background: var(--gold);
  left: 0;
  top: 70px;
}

.edu-track--2 i:nth-child(2) {
  background: var(--ink);
  left: 40px;
  top: 40px;
}

.edu-track--2 i:nth-child(3) {
  background: var(--cream);
  border: 2px solid var(--ink);
  left: 80px;
  top: 10px;
}

.edu-track--3 {
  background: var(--gold);
  color: var(--ink);
}

.edu-track--3 i:nth-child(1) {
  width: 90px;
  height: 90px;
  border-radius: 0 100%;
  background: var(--ink);
  left: 10px;
  top: 30px;
}

.edu-track--3 i:nth-child(2) {
  width: 90px;
  height: 90px;
  border-radius: 100% 0;
  background: var(--honey);
  left: 70px;
  top: 20px;
}

.edu-track--3 i:nth-child(3) {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  left: 170px;
  top: 0;
}

.edu-track--4 {
  background: var(--cream);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.edu-track--4 i:nth-child(1) {
  width: 160px;
  height: 80px;
  border-radius: 160px 160px 0 0;
  background: var(--sun);
  left: 0;
  top: 60px;
}

.edu-track--4 i:nth-child(2) {
  width: 100px;
  height: 50px;
  border-radius: 100px 100px 0 0;
  background: var(--ink);
  left: 30px;
  top: 90px;
}

.edu-track--4 i:nth-child(3) {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  left: 150px;
  top: 10px;
}

.edu-track--5 {
  background: var(--bark);
  color: var(--cream);
}

.edu-track--5 i:nth-child(1) {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--honey);
  left: 0;
  top: 10px;
}

.edu-track--5 i:nth-child(2) {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--sun);
  left: 90px;
  top: 70px;
}

.edu-track--5 i:nth-child(3) {
  display: none;
}

.edu-track--6 {
  background: var(--sunlight);
  color: var(--ink);
}

.edu-track--6 i:nth-child(1) {
  width: 110px;
  height: 55px;
  border-radius: 0 0 110px 110px;
  background: var(--ink);
  left: 0;
  top: 20px;
}

.edu-track--6 i:nth-child(2) {
  width: 110px;
  height: 55px;
  border-radius: 110px 110px 0 0;
  background: var(--cream);
  left: 60px;
  top: 80px;
}

.edu-track--6 i:nth-child(3) {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  left: 170px;
  top: 20px;
}

/* ---------- pillars ---------- */
.edu-pillars {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--honey);
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
}

.edu-pillars::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--sunlight);
  left: -120px;
  bottom: -200px;
}

.edu-pillars__head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edu-pillars__head h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.35;
}

.edu-pillars__grid {
  position: relative;
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.edu-pillar {
  background: var(--cream);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.edu-pillar h3 {
  margin: 0;
  font-size: 20px;
}

.edu-pillar small {
  font-size: 12px;
  color: var(--muted);
}

.edu-pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--honey);
  color: var(--ink);
}

.edu-pillar--ink {
  background: var(--ink);
  color: var(--cream);
}

.edu-pillar--ink h3 {
  color: var(--cream);
}

.edu-pillar--ink small {
  color: var(--line);
}

.edu-pillar--ink .edu-pillar__icon {
  background: var(--sun);
}

/* ---------- featured + course cards ---------- */
.edu-featured {
  position: relative;
}

.edu-featured__mascot {
  position: absolute;
  inset-inline-end: 0;
  top: -20px;
  width: 110px;
  height: 110px;
  object-fit: contain;
  pointer-events: none;
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 28px 22px;
}

.edu-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: none;
  border-radius: 0;
}

.edu-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 140px 140px 24px 24px;
  background: var(--honey);
}

.product-grid > :nth-child(even) .edu-card__cover {
  border-radius: 24px;
  background: var(--ink);
}

.product-grid > :nth-child(3n) .edu-card__cover {
  background: var(--gold);
}

.homepage .product-image.edu-card__cover img,
.edu-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-card__age {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.edu-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.edu-card__track {
  font-size: 12px;
  font-weight: 600;
  color: #8a4a22;
}

.edu-card :is(h2, h3) {
  margin: 0;
  font-size: 21px;
  line-height: 1.4;
}

.edu-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.edu-card__lessons {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.edu-card .price {
  margin: 0;
  font-size: 18px;
}

/* ---------- DNA teaser ---------- */
.edu-dna-teaser {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.edu-helix {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  pointer-events: none;
}

.edu-helix i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bark);
  translate: 0 calc(sin(var(--i) * 0.7rad) * 140px);
  box-shadow: 0 calc(sin(var(--i) * 0.7rad) * -280px) 0 var(--gold);
}

.edu-helix i:nth-child(even) {
  background: var(--gold);
  box-shadow: 0 calc(sin(var(--i) * 0.7rad) * -280px) 0 var(--bark);
}

.edu-dna-teaser__inner {
  position: relative;
  padding-block: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.edu-dna-teaser__mascot {
  width: 170px;
  height: 170px;
  object-fit: contain;
  margin-bottom: -18px;
}

.edu-dna-teaser__label {
  font-size: 20px;
  font-weight: 700;
}

.edu-dna-teaser__label b {
  font-family: Manrope, var(--font);
  font-weight: 800;
  color: var(--sunlight);
  letter-spacing: 0.06em;
}

.edu-dna-teaser p {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.6;
  font-weight: 600;
  text-wrap: balance;
}

/* ---------- parents + FAQ ---------- */
.edu-help {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px;
  align-items: start;
}

.edu-help__photo {
  position: relative;
  margin: 0;
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--gold);
}

.edu-help__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-help__photo figcaption {
  position: absolute;
  bottom: 20px;
  inset-inline: 20px;
  padding: 24px;
  border-radius: 22px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edu-help__photo strong {
  font: 700 22px/1.45 var(--font-display);
}

.edu-help__faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edu-help__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.edu-help__head h2 {
  margin: 0;
}

.edu-help__mascot {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}

.edu-help__faq > p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 700px) {
  .edu-hero__grid {
    padding-block: 40px 64px;
  }

  .edu-chip--1 {
    right: 0;
  }

  .edu-tile--sun {
    width: 220px;
  }

  .edu-featured__mascot {
    width: 84px;
    height: 84px;
    top: -24px;
  }

  .edu-hero__center {
    padding-bottom: 300px;
  }
}
