/* ==========================================================
   Company pages (about, contact, policies, blogs) - loaded after landing.css
   ========================================================== */

/* ---------- Compact hero ---------- */
/* jewellery photo sits on the right; the dark fade on the left keeps the title readable */
.hero.page-hero {
  background: linear-gradient(90deg, rgba(5, 7, 12, .92) 0%, rgba(5, 7, 12, .7) 45%, rgba(5, 7, 12, 0) 75%), url("../images/banner-sub-header.webp") right center / cover no-repeat, #070a14;
}

.page-hero .blob {
  display: none;
}

.page-hero .hero__grid {
  grid-template-columns: 1fr;
}

.page-hero .hero__content {
  max-width: 860px;
}

.page-hero .lp-hero__title {
  /* --fit (set per page from the title length) keeps long titles within three lines on small phones */
  font-size: min(clamp(2.3rem, 4.6vw, 3.8rem), var(--fit, 100cqi));
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .86rem;
  color: var(--muted);
}

.page-hero__meta i {
  margin-right: 6px;
  color: var(--silver);
}

/* ---------- Policy text ---------- */
.prose-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.prose-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.prose-toc strong {
  margin-bottom: 8px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose-toc a {
  padding: 6px 0;
  font-size: .9rem;
  color: var(--text);
  transition: color .3s, translate .3s var(--ease);
}

.prose-toc a:hover {
  color: var(--ink);
  translate: 4px 0;
}

.prose {
  color: var(--text);
  line-height: 1.8;
}

.prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 26px 0 10px;
  font-size: 1.2rem;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.prose li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px;
}

.prose li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-silver);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose__note {
  margin-top: 36px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: .92rem;
}

/* ---------- Category link cards (about) ---------- */
a.lp-type {
  display: block;
  color: inherit;
}

a.lp-type h3 i {
  margin-left: 6px;
  font-size: .7em;
  opacity: 0;
  translate: -6px 0;
  transition: opacity .3s, translate .3s var(--ease);
}

a.lp-type:hover h3 i {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Contact ---------- */
.visit__layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.visit__cards {
  display: grid;
  gap: 14px;
}

.visit-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: translate .4s var(--ease), border-color .4s var(--ease);
}

.visit-card:hover {
  translate: 0 -3px;
  border-color: var(--line-strong);
}

.visit-card > i {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 1.05rem;
}

.visit-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.visit-card p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.6;
}

.visit-card a {
  color: var(--ink);
}

.visit__map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.visit__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Blog grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  transition: translate .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.blog-card:hover {
  translate: 0 -6px;
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.blog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .8s var(--ease);
}

.blog-card:hover .blog-card__media img {
  scale: 1.06;
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.blog-card__body time {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-card__body h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.3;
}

.blog-card__body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: .9rem;
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-card__more {
  margin-top: auto;
  padding-top: 6px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}

.blog-card__more i {
  margin-left: 6px;
  transition: translate .3s var(--ease);
}

.blog-card:hover .blog-card__more i {
  translate: 4px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .prose-layout,
  .visit__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .prose-toc {
    position: static;
  }

  .visit__map {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .prose-toc {
    display: none;
  }
}

/* ---------- All categories grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  transition: translate .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.cat-card:hover {
  translate: 0 -6px;
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.cat-card__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .9s var(--ease);
}

.cat-card:hover .cat-card__media img {
  scale: 1.07;
}

.cat-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 20px;
}

.cat-card__body small {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--muted);
}

.cat-card__body h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.cat-card__body p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
}

.cat-card__cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
}

.cat-card__cta i {
  margin-left: 6px;
  transition: translate .3s var(--ease);
}

.cat-card:hover .cat-card__cta i {
  translate: 4px 0;
}

/* featured first card: 2x2 on desktop, image fills with text on top */
.cat-card--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.cat-card--feature .cat-card__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.cat-card--feature .cat-card__body {
  position: relative;
  justify-content: flex-end;
  min-height: 100%;
  padding: 32px;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .78) 100%);
  color: #e6e8ec;
}

.cat-card--feature .cat-card__body small,
.cat-card--feature .cat-card__body p {
  color: #c9cdd4;
}

.cat-card--feature .cat-card__body h3,
.cat-card--feature .cat-card__cta {
  color: #fff;
}

.cat-card--feature .cat-card__body h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cat-card--feature .cat-card__body p {
  max-width: 420px;
  font-size: .95rem;
}

.cat-card--feature .cat-card__cta {
  flex: none;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .cat-card--feature {
    grid-column: span 2;
    grid-row: auto;
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .cat-card--feature {
    grid-column: span 2;
    min-height: 340px;
  }

  .cat-card__body {
    padding: 12px 12px 14px;
  }

  .cat-card__body h3 {
    font-size: 1.05rem;
  }

  .cat-card__body p,
  .cat-card:not(.cat-card--feature) .cat-card__cta {
    display: none;
  }

  .cat-card--feature .cat-card__body {
    padding: 22px;
  }
}

/* ---------- Coming soon ---------- */
.page-hero--soon {
  padding-block: clamp(70px, 12vw, 150px);
  text-align: center;
}

.page-hero--soon .hero__content {
  margin-inline: auto;
}

.page-hero--soon .crumbs,
.page-hero--soon .hero__btns {
  justify-content: center;
}

.page-hero--soon .hero__text {
  margin-inline: auto;
}

.page-hero--soon .lp-hero__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

/* ---------- Blog post ---------- */
.blog-grid--one {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}

.prose__figure {
  margin: 0 0 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.prose__takeaways {
  margin: 0 0 32px;
  padding: 24px 26px 10px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
}

.prose .prose__takeaways h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.prose__table {
  margin: 0 0 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.prose__table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .92rem;
  line-height: 1.5;
}

.prose__table th,
.prose__table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose__table th {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.prose__table tr:last-child td {
  border-bottom: 0;
}

/* ---------- Summarize with AI ---------- */
.rc-ai-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.rc-ai-summary .rc-ai-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.rc-ai-summary .rc-ai-title::before {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.5c.5 4.6 2.4 6.5 7 7-4.6.5-6.5 2.4-7 7-.5-4.6-2.4-6.5-7-7 4.6-.5 6.5-2.4 7-7Zm7 11.5c.25 2 1 2.75 3 3-2 .25-2.75 1-3 3-.25-2-1-2.75-3-3 2-.25 2.75-1 3-3Z'/%3E%3C/svg%3E") center / 17px no-repeat;
}

.rc-ai-summary .rc-ai-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prose .rc-ai-summary a.rc-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 50px;
  background: #fff;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.2;
  color: #111;
  text-decoration: none;
  transition: translate .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.rc-ai-summary a.rc-ai-btn svg {
  flex-shrink: 0;
}

.rc-ai-summary a.rc-ai-chatgpt svg { color: #10a37f; }
.rc-ai-summary a.rc-ai-claude svg { color: #d97757; }
.rc-ai-summary a.rc-ai-perplexity svg { color: #1f8a9e; }

.prose .rc-ai-summary a.rc-ai-btn:hover {
  translate: 0 -2px;
  border-color: #111;
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .rc-ai-summary {
    padding: 18px;
  }

  .rc-ai-summary .rc-ai-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .prose .rc-ai-summary a.rc-ai-btn {
    justify-content: center;
    padding: 10px 12px;
  }
}

.prose h3 {
  scroll-margin-top: calc(var(--header-h) + 24px);
  font-size: 30px;
}

.prose h4 {
  margin: 22px 0 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}

.prose-toc a.prose-toc__sub {
  padding-left: 14px;
  font-size: .86rem;
}

/* ---------- Blog listing grid + pagination ---------- */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bl-item[hidden],
.bl-pager[hidden] {
  display: none;
}

.bl-item.is-showing {
  animation: blIn .5s var(--ease) both;
}

@keyframes blIn {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}

.bl-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  transition: translate .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.bl-card__pic {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.bl-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .8s var(--ease);
}

.bl-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px 22px;
}

.bl-card__cat {
  margin-bottom: 12px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: var(--accent-soft);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.bl-card h3 {
  flex: 1;
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.25;
}

.bl-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.bl-card__more i {
  transition: translate .35s var(--ease);
}

.bl-card:hover {
  translate: 0 -6px;
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.bl-card:hover .bl-card__pic img {
  scale: 1.06;
}

.bl-card:hover .bl-card__more i {
  translate: 5px 0;
}

.bl-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  margin-top: 44px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.bl-pager__btn,
.bl-pager__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--on-ink);
  background: var(--ink);
  transition: translate .3s var(--ease), opacity .3s, box-shadow .3s;
}

.bl-pager__btn {
  padding: 12px 22px;
  border-radius: 50px;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bl-pager__btn:hover:not(:disabled),
.bl-pager__go:hover {
  translate: 0 -2px;
  box-shadow: var(--shadow);
}

.bl-pager__btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.bl-pager__info {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

.bl-pager__jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
}

.bl-pager__jump input {
  width: 64px;
  height: 42px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  outline: none;
}

.bl-pager__jump input:focus {
  border-color: var(--ink);
}

.bl-pager__go {
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: .86rem;
}

@media (max-width: 1100px) {
  .bl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bl-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .bl-card h3 {
    font-size: 1.2rem;
  }

  .bl-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 16px;
  }

  .bl-pager[hidden] {
    display: none;
  }

  .bl-pager__info,
  .bl-pager__jump {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
  }

  .bl-pager__info {
    order: -1;
  }

  .bl-pager__jump {
    order: 1;
  }

  .bl-pager__btn {
    justify-content: center;
    padding: 12px 10px;
  }
}

/* phones/tablets: the title runs over the jewellery, so darken the whole photo */
@media (max-width: 900px) {
  .hero.page-hero {
    background: linear-gradient(90deg, rgba(5, 7, 12, .9) 0%, rgba(5, 7, 12, .72) 100%), url("../images/banner-sub-header.webp") 80% center / cover no-repeat, #070a14;
  }
}

/* ---------- 404 ---------- */
.nf-code {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 11rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.02em;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
