/*
 * WordPress presentation layer for the IranDesigner hybrid theme.
 * The compiled live application CSS is loaded before this file.
 */

@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/vazirmatn-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFC;
}

:root {
  --id-background: #fbf7f0;
  --id-foreground: #2d2733;
  --id-card: #fffdf9;
  --id-primary: #9f4d3e;
  --id-primary-dark: #7e382f;
  --id-accent: #d19a58;
  --id-green: #0d530e;
  --id-muted: #f1e8dc;
  --id-muted-foreground: #554a44;
  --id-border: #ddd1bc;
  --id-radius: 1rem;
  --id-radius-xl: 1.75rem;
  --id-shadow-soft: 0 1px 2px rgb(74 48 29 / 5%), 0 8px 18px -10px rgb(74 48 29 / 10%);
  --id-shadow-md: 0 10px 24px -14px rgb(74 48 29 / 16%), 0 20px 40px -20px rgb(184 90 67 / 12%);
  --id-shadow-lg: 0 18px 48px -28px rgb(74 48 29 / 22%), 0 32px 64px -32px rgb(184 90 67 / 20%);
}

html {
  scroll-padding-top: 7.5rem;
}

body.irandesigner-wp:not(.irandesigner-live-shell) {
  overflow-x: hidden;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% -4%, rgb(209 154 88 / 10%) 0, transparent 34%),
    radial-gradient(circle at 86% 10%, rgb(159 77 62 / 7%) 0, transparent 30%),
    linear-gradient(180deg, #fffdf9 0, var(--id-background) 58%, #f4ebdf 100%);
  color: var(--id-foreground);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  direction: rtl;
}

body.admin-bar .id-site-header nav {
  top: 32px;
}

.site {
  min-height: 100vh;
}

.public-shell-container {
  width: min(100% - 2rem, 80rem);
  margin-inline: auto;
}

.id-skip-link {
  position: fixed;
  top: -6rem;
  right: 1rem;
  z-index: 99999;
  border-radius: 999px;
  background: var(--id-foreground);
  color: #fff;
  padding: 0.75rem 1.1rem;
  font-weight: 800;
  transition: top 180ms ease;
}

.id-skip-link:focus {
  top: 1rem;
}

.id-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

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

.id-clipboard-buffer {
  position: fixed;
  top: 0;
  inset-inline-start: -9999px;
  opacity: 0;
  pointer-events: none;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgb(209 154 88 / 58%);
  outline-offset: 3px;
}

.id-button {
  display: inline-flex;
  min-height: 2.75rem;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

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

.id-button--primary {
  background: linear-gradient(135deg, #a34f3e, #c56a4f 58%, #a34a3b);
  color: #fffaf3;
  box-shadow: 0 18px 42px -20px rgb(159 77 62 / 60%);
}

.id-button--primary:hover {
  color: #fff;
  box-shadow: 0 22px 48px -20px rgb(159 77 62 / 72%);
}

.id-button--outline {
  border-color: rgb(159 77 62 / 25%);
  background: rgb(255 253 249 / 76%);
  color: var(--id-primary);
  box-shadow: var(--id-shadow-soft);
}

.id-button--outline:hover,
.id-button--soft:hover {
  border-color: rgb(159 77 62 / 45%);
  background: #fff;
  color: var(--id-primary-dark);
}

.id-button--soft {
  border-color: rgb(221 209 188 / 76%);
  background: rgb(255 255 255 / 72%);
  color: var(--id-muted-foreground);
}

.id-button--light,
.id-button--footer {
  background: #fffaf3;
  color: var(--id-primary-dark);
  box-shadow: 0 20px 48px -26px rgb(255 250 243 / 70%);
}

.id-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--id-primary);
  font-size: 0.83rem;
  font-weight: 800;
}

.id-text-link:hover {
  color: var(--id-primary-dark);
}

/* Header and navigation */
.id-site-header nav {
  pointer-events: none;
}

.id-site-header nav .public-shell-container,
.public-nav-glass,
.public-nav-mobile-panel {
  pointer-events: auto;
}

.public-nav-glass--desktop {
  min-height: 4.35rem;
  padding: 0.55rem 0.75rem 0.55rem 0.65rem;
}

.irandesigner-mobile-menu-initial {
  opacity: 0;
  transform: translateY(-12px) scale(0.96);
}

.irandesigner-sticky-panel-initial {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

.irandesigner-heritage-capital-initial {
  transform: translateY(106%);
}

.irandesigner-heritage-windcatcher-initial {
  transform: translateY(108%);
}

.irandesigner-mobile-sticky-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.id-desktop-navigation {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.2rem, 2vw, 2.2rem);
}

.id-desktop-menu,
.id-desktop-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.id-desktop-menu {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(0.65rem, 1.35vw, 1.5rem);
}

.id-menu-item {
  position: relative;
}

.id-menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.65rem 0.35rem;
  color: rgb(45 39 51 / 72%);
  font-size: 0.84rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.id-menu-item > a:hover,
.id-menu-item.is-current > a,
.id-menu-item:focus-within > a {
  color: var(--id-primary);
}

.id-menu-item.is-current > a::after {
  position: absolute;
  right: 0.35rem;
  bottom: 0.15rem;
  left: 0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--id-accent), var(--id-primary), transparent);
  content: "";
}

.id-menu-chevron {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 180ms ease;
}

.id-menu-item.has-children:hover > a .id-menu-chevron,
.id-menu-item.has-children:focus-within > a .id-menu-chevron {
  transform: rotate(180deg);
}

.id-desktop-submenu {
  visibility: hidden;
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.75rem);
  right: -0.75rem;
  width: max-content;
  min-width: 16rem;
  max-width: 22rem;
  translate: 0 -0.35rem;
  border: 1px solid rgb(221 209 188 / 70%);
  border-radius: 1.25rem;
  background: rgb(255 253 249 / 95%);
  padding: 0.5rem;
  opacity: 0;
  box-shadow: var(--id-shadow-lg);
  backdrop-filter: blur(22px);
  transition: opacity 180ms ease, translate 180ms ease, visibility 180ms ease;
}

.id-desktop-submenu .id-desktop-submenu {
  top: -0.5rem;
  right: calc(100% + 0.45rem);
}

.id-menu-item:hover > .id-desktop-submenu,
.id-menu-item:focus-within > .id-desktop-submenu {
  visibility: visible;
  translate: 0 0;
  opacity: 1;
}

.id-desktop-submenu .id-menu-item > a {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0.78rem 0.9rem;
  white-space: normal;
}

.id-desktop-submenu .id-menu-item > a:hover {
  background: rgb(209 154 88 / 10%);
}

.id-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
}

.id-social-button {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(159 77 62 / 18%);
  border-radius: 50%;
  background: rgb(255 253 249 / 76%);
  color: var(--id-primary);
  box-shadow: var(--id-shadow-soft);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.id-social-button:hover {
  transform: translateY(-2px);
  background: #fff;
  color: var(--id-primary-dark);
}

.id-social-button--whatsapp {
  color: #147b3e;
}

.id-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  color: var(--id-foreground);
  text-decoration: none;
}

.id-brand-mark {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px -15px rgb(159 77 62 / 64%);
}

.id-brand-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.id-brand-copy {
  display: grid;
  min-width: 0;
  gap: 0.05rem;
  text-align: right;
  line-height: 1.3;
}

.id-brand-copy strong {
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.id-brand-copy small {
  max-width: 11rem;
  overflow: hidden;
  color: var(--id-muted-foreground);
  font-size: 0.62rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-nav-glass--mobile {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.45rem 0.55rem;
}

.id-brand--mobile .id-brand-mark {
  width: 2.65rem;
  height: 2.65rem;
}

.id-brand--mobile .id-brand-copy small {
  display: none;
}

.id-mobile-toggle {
  position: relative;
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(221 209 188 / 72%);
  border-radius: 50%;
  background: rgb(255 253 249 / 82%);
  color: var(--id-foreground);
}

.id-mobile-toggle__close {
  display: none;
  font-size: 1.55rem;
  line-height: 1;
}

.id-mobile-toggle[aria-expanded="true"] .id-mobile-toggle__menu {
  display: none;
}

.id-mobile-toggle[aria-expanded="true"] .id-mobile-toggle__close {
  display: block;
}

.id-mobile-cta {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--id-primary);
  color: #fffaf3;
  padding: 0.55rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.id-mobile-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 1rem;
  left: 1rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.55rem;
}

.id-mobile-panel[hidden] {
  display: none !important;
}

.id-mobile-panel__inner {
  border-radius: 1.2rem;
}

.id-mobile-menu-list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.id-mobile-menu-list--depth-1,
.id-mobile-menu-list--depth-2 {
  padding: 0.3rem 0.8rem 0.45rem 0;
}

.id-mobile-menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
}

.id-mobile-menu-row > a {
  min-width: 0;
  overflow-wrap: anywhere;
  border-radius: 0.85rem;
  padding: 0.72rem 0.8rem;
  color: rgb(45 39 51 / 78%);
  font-size: 0.82rem;
  font-weight: 700;
}

.id-mobile-menu-row > a[aria-current="page"],
.id-mobile-menu-row > a:hover {
  background: rgb(159 77 62 / 9%);
  color: var(--id-primary);
}

.id-mobile-menu-row > button {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: var(--id-muted-foreground);
}

.id-mobile-submenu[hidden] {
  display: none !important;
}

.id-mobile-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  border-top: 1px solid rgb(221 209 188 / 70%);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.id-mobile-contact-row a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.85rem;
  background: rgb(159 77 62 / 8%);
  color: var(--id-primary);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Shared headings, breadcrumbs and archive surfaces */
.id-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgb(159 77 62 / 14%);
  border-radius: 999px;
  background: rgb(159 77 62 / 8%);
  color: var(--id-primary);
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.45;
}

.id-breadcrumb {
  margin-bottom: 1.35rem;
}

.id-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  color: rgb(85 74 68 / 70%);
  font-size: 0.72rem;
  font-weight: 650;
}

.id-breadcrumb li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.45rem;
}

.id-breadcrumb li:not(:last-child)::after {
  color: rgb(159 77 62 / 50%);
  content: "/";
}

.id-breadcrumb a:hover {
  color: var(--id-primary);
}

.id-breadcrumb span[aria-current="page"] {
  display: inline-block;
  max-width: min(34rem, 72vw);
  overflow: hidden;
  color: var(--id-foreground);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.id-inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgb(221 209 188 / 66%);
  border-radius: 2rem;
  margin-bottom: 2.75rem;
  padding: clamp(1.5rem, 4.5vw, 4rem);
  background:
    linear-gradient(135deg, rgb(255 253 249 / 94%), rgb(250 243 234 / 88%)),
    radial-gradient(circle at 15% 10%, rgb(209 154 88 / 18%), transparent 36%);
  box-shadow: var(--id-shadow-lg);
}

.id-inner-hero::after {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: 0;
  left: clamp(1.5rem, 5vw, 5rem);
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--id-accent), var(--id-primary), transparent);
  content: "";
}

.id-inner-hero__glow {
  position: absolute;
  top: -8rem;
  left: -6rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: rgb(209 154 88 / 18%);
  filter: blur(80px);
}

.id-inner-hero__content {
  position: relative;
  z-index: 1;
  max-width: 58rem;
}

.id-inner-hero h1 {
  max-width: 56rem;
  overflow-wrap: anywhere;
  margin: 0.9rem 0 0;
  color: var(--id-foreground);
  font-size: clamp(1.85rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.26;
}

.id-inner-hero__description {
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--id-muted-foreground);
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  font-weight: 550;
  line-height: 2;
}

.id-inner-hero__description > :last-child {
  margin-bottom: 0;
}

.blog-page,
.id-page-shell,
.id-listing-page {
  position: relative;
  min-height: 70vh;
}

.id-listing-page {
  overflow: hidden;
  padding-block: 10rem 6rem;
}

.id-archive-tools {
  display: grid;
  gap: 1rem;
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.5rem;
  margin-bottom: 2.2rem;
  padding: 0.8rem;
  background: rgb(255 253 249 / 68%);
  box-shadow: var(--id-shadow-soft);
  backdrop-filter: blur(18px);
}

.id-archive-search {
  max-width: 38rem;
}

.id-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  width: 100%;
}

.id-search-input {
  min-width: 0;
  min-height: 3rem;
  border: 1px solid rgb(221 209 188 / 90%);
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
  color: var(--id-foreground);
  padding: 0.65rem 1rem;
  font-size: 0.84rem;
  outline: none;
}

.id-search-input:focus {
  border-color: rgb(159 77 62 / 52%);
  box-shadow: 0 0 0 4px rgb(159 77 62 / 8%);
}

.id-search-submit {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: var(--id-primary);
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.id-term-chips,
.id-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.id-term-chips a,
.id-tag-list a {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  border: 1px solid rgb(221 209 188 / 82%);
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
  color: var(--id-muted-foreground);
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 750;
}

.id-term-chips a:hover,
.id-tag-list a:hover {
  border-color: rgb(159 77 62 / 35%);
  color: var(--id-primary);
}

/* Cards and grids */
.id-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.id-content-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.6rem;
  background: rgb(255 253 249 / 88%);
  box-shadow: var(--id-shadow-md);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.id-content-card:hover {
  transform: translateY(-5px);
  border-color: rgb(159 77 62 / 28%);
  box-shadow: 0 30px 70px -45px rgb(74 48 29 / 48%);
}

.id-content-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--id-muted);
}

.id-content-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(45 39 51 / 18%));
  content: "";
  pointer-events: none;
}

.id-content-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.id-content-card:hover .id-content-card__media img {
  transform: scale(1.045);
}

.id-content-card__type {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  right: 0.85rem;
  border: 1px solid rgb(255 255 255 / 74%);
  border-radius: 999px;
  background: rgb(255 253 249 / 88%);
  color: var(--id-primary);
  padding: 0.35rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.id-content-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.15rem;
}

.id-content-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  color: rgb(85 74 68 / 68%);
  font-size: 0.66rem;
  font-weight: 650;
}

.id-content-card__title {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--id-foreground);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 850;
  line-height: 1.65;
}

.id-content-card__title a:hover {
  color: var(--id-primary);
}

.id-content-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.65rem 0 1rem;
  color: var(--id-muted-foreground);
  font-size: 0.82rem;
  font-weight: 520;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.id-content-card__footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgb(221 209 188 / 54%);
  margin-top: auto;
  padding-top: 0.85rem;
}

.id-content-card__author {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.4rem;
  color: var(--id-muted-foreground);
  font-size: 0.68rem;
  font-weight: 700;
}

.id-mini-avatar {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--id-shadow-soft);
}

.id-pagination {
  margin-top: 2.75rem;
}

.id-pagination-list,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.id-pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  min-width: 2.65rem;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(221 209 188 / 78%);
  border-radius: 999px;
  background: rgb(255 253 249 / 82%);
  color: var(--id-muted-foreground);
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: var(--id-shadow-soft);
}

.id-pagination .page-numbers.current,
.id-pagination .page-numbers:hover,
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
  border-color: var(--id-primary);
  background: var(--id-primary);
  color: #fff;
}

.id-empty-state {
  max-width: 46rem;
  border: 1px solid rgb(221 209 188 / 70%);
  border-radius: 2rem;
  margin: 2rem auto 0;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: rgb(255 253 249 / 86%);
  text-align: center;
  box-shadow: var(--id-shadow-lg);
}

.id-empty-state__icon {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  background: rgb(159 77 62 / 9%);
  color: var(--id-primary);
}

.id-empty-state__icon .id-icon {
  width: 1.6rem;
  height: 1.6rem;
}

.id-empty-state h2 {
  margin: 1rem 0 0.45rem;
  font-size: 1.75rem;
  font-weight: 900;
}

.id-empty-state p {
  margin-bottom: 1.2rem;
  color: var(--id-muted-foreground);
  line-height: 1.9;
}

.id-empty-state .id-search-form {
  max-width: 32rem;
  margin: 0 auto 1rem;
}

/* Home */
.id-home-hero-overlay {
  background:
    linear-gradient(90deg, rgb(251 247 240 / 74%) 0%, rgb(251 247 240 / 28%) 50%, rgb(251 247 240 / 78%) 100%),
    linear-gradient(180deg, rgb(251 247 240 / 28%), rgb(251 247 240 / 82%) 92%);
}

.id-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}

.id-home-hero-copy {
  max-width: 43rem;
}

.id-home-badge {
  margin-bottom: 1.15rem;
}

.id-home-hero-copy h1 {
  max-width: 43rem;
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--id-foreground);
  font-size: clamp(2.25rem, 5.25vw, 5.2rem);
  font-weight: 950;
  line-height: 1.17;
  text-wrap: balance;
}

.id-home-hero-copy > p {
  max-width: 39rem;
  margin: 1.25rem 0 0;
  color: rgb(45 39 51 / 76%);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  font-weight: 600;
  line-height: 2;
}

.id-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.id-home-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.35rem;
  color: rgb(45 39 51 / 68%);
  font-size: 0.76rem;
  font-weight: 700;
}

.id-home-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.id-home-proof .id-icon {
  color: var(--id-green);
}

.id-home-hero-showcase {
  position: relative;
  min-width: 0;
}

.id-home-hero-showcase__frame {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 2.5rem;
  padding: 0.75rem;
  background: rgb(255 255 255 / 24%);
  box-shadow: 0 40px 100px -56px rgb(74 48 29 / 60%);
  backdrop-filter: blur(10px);
}

.id-home-hero-showcase__frame > img {
  width: 100%;
  max-height: 34rem;
  border-radius: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgb(45 39 51 / 18%));
}

.id-home-floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.15rem;
  width: min(14rem, 45%);
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 1.2rem;
  background: rgb(255 253 249 / 86%);
  padding: 0.8rem 0.95rem;
  box-shadow: var(--id-shadow-lg);
  backdrop-filter: blur(18px);
}

.id-home-floating-card strong {
  color: var(--id-primary);
  font-size: 0.82rem;
}

.id-home-floating-card span {
  color: var(--id-muted-foreground);
  font-size: 0.65rem;
  font-weight: 650;
}

.id-home-floating-card--top {
  top: 9%;
  right: -5%;
}

.id-home-floating-card--bottom {
  bottom: 8%;
  left: -4%;
}

.id-hero-controls {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1rem;
}

.id-hero-controls button {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
  border: 1px solid rgb(221 209 188 / 70%);
  border-radius: 999px;
  background: rgb(255 253 249 / 70%);
  color: var(--id-muted-foreground);
  padding: 0.5rem 0.8rem;
  text-align: right;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.id-hero-controls button strong {
  font-size: 0.65rem;
}

.id-hero-controls button span {
  display: none;
}

.id-hero-controls button[aria-pressed="true"] {
  border-color: rgb(159 77 62 / 36%);
  background: var(--id-primary);
  color: #fff;
}

.id-home-section {
  position: relative;
}

.id-section-heading {
  margin-bottom: 2rem;
}

.id-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
  gap: 1.5rem 3rem;
  align-items: end;
}

.id-section-heading h2 {
  max-width: 46rem;
  margin: 0.75rem 0 0;
  font-size: clamp(1.65rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.4;
}

.id-section-heading > p,
.id-section-heading--split > p {
  margin: 0;
  color: var(--id-muted-foreground);
  font-size: 0.94rem;
  font-weight: 550;
  line-height: 2;
}

.id-section-heading--split > .id-button {
  justify-self: end;
}

.id-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.id-service-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.6rem;
}

.id-service-card .home-service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.id-service-card .home-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-service-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.15rem;
}

.id-service-card__icon {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  margin-bottom: 0.8rem;
  background: rgb(159 77 62 / 9%);
  color: var(--id-primary);
}

.id-service-card h3 {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.55;
}

.id-service-card p {
  margin: 0.55rem 0 1rem;
  color: var(--id-muted-foreground);
  font-size: 0.79rem;
  line-height: 1.9;
}

.id-service-card .home-service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  color: var(--id-primary);
  font-size: 0.74rem;
  font-weight: 850;
}

.id-home-quality {
  background: linear-gradient(180deg, transparent, rgb(243 234 220 / 45%), transparent);
}

.home-quality-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-radius: 2rem;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.id-home-quality-copy h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.75rem);
  font-weight: 900;
  line-height: 1.45;
}

.id-home-quality-copy p {
  margin: 1rem 0 1.35rem;
  color: var(--id-muted-foreground);
  line-height: 2;
}

.id-quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-quality-check-item {
  min-width: 0;
  border-radius: 1.25rem;
  padding: 1.15rem;
}

.home-quality-check-item strong {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 850;
}

.home-quality-check-item p {
  margin: 0;
  color: var(--id-muted-foreground);
  font-size: 0.75rem;
  line-height: 1.85;
}

.id-home-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.id-home-project {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.85fr);
  overflow: hidden;
  border-radius: 1.6rem;
}

.id-home-project .home-portfolio-card__media {
  min-height: 17rem;
}

.id-home-project .home-portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-home-project__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem;
}

.id-home-project__copy h3 {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
}

.id-home-project__copy p {
  margin: 0.6rem 0 1rem;
  color: var(--id-muted-foreground);
  font-size: 0.78rem;
  line-height: 1.9;
}

.id-home-project__copy span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--id-primary);
  font-size: 0.72rem;
  font-weight: 850;
}

.id-home-editor-content,
.id-listing-intro {
  max-width: 62rem;
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.7rem;
  margin: 0 auto 2rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: rgb(255 253 249 / 86%);
  box-shadow: var(--id-shadow-md);
}

.id-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(245 213 141 / 22%);
  border-radius: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 10% 10%, rgb(209 154 88 / 24%), transparent 35%),
    linear-gradient(135deg, #4b2b20, #2e211b 70%);
  color: #fff3d6;
  box-shadow: 0 34px 80px -50px rgb(39 26 20 / 70%);
}

.id-cta-panel .id-eyebrow {
  border-color: rgb(245 213 141 / 20%);
  background: rgb(255 244 224 / 8%);
  color: #f5d58d;
}

.id-cta-panel h2 {
  max-width: 48rem;
  margin: 0.8rem 0 0;
  color: #fff3d6;
  font-size: clamp(1.55rem, 3vw, 2.75rem);
  font-weight: 900;
  line-height: 1.45;
}

.id-cta-panel p {
  max-width: 47rem;
  margin: 0.75rem 0 0;
  color: rgb(226 204 177 / 78%);
  line-height: 1.9;
}

/* Standard pages and WordPress content */
.id-page-featured,
.id-article-cover {
  overflow: hidden;
  border: 1px solid rgb(221 209 188 / 70%);
  border-radius: 2rem;
  margin: 0 0 2rem;
  background: var(--id-muted);
  box-shadow: var(--id-shadow-lg);
}

.id-page-featured img,
.id-article-cover img {
  width: 100%;
  max-height: 46rem;
  object-fit: cover;
}

.id-article-cover figcaption {
  padding: 0.65rem 1rem;
  color: var(--id-muted-foreground);
  font-size: 0.72rem;
  text-align: center;
}

.id-page-content {
  width: 100%;
  max-width: none;
  border: 1px solid rgb(221 209 188 / 66%);
  border-radius: 1.75rem;
  margin: 0 0 4rem;
  padding: clamp(2.25rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem);
  background: rgb(255 253 249 / 88%);
  box-shadow: var(--id-shadow-md);
}

.article-content {
  color: var(--id-foreground);
  font-size: 1rem;
  line-height: 2.05;
}

.article-content :where(h1, h2, h3, h4, h5, h6, p, li, a, td, th, code, pre) {
  overflow-wrap: anywhere;
}

.article-content :where(img, video, iframe) {
  max-width: 100%;
}

.article-content iframe {
  width: 100%;
  border: 0;
}

.article-content .wp-block-table,
.article-content > table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.article-content table {
  width: 100%;
  min-width: 36rem;
}

.article-content pre {
  direction: ltr;
  max-width: 100%;
  overflow-x: auto;
  text-align: left;
}

.article-content a:not(.id-button) {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.article-content .alignwide,
.article-content .alignfull {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  translate: none;
}

.wp-caption,
.wp-caption-text,
.gallery-caption {
  max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
  color: var(--id-muted-foreground);
  font-size: 0.75rem;
  text-align: center;
}

.id-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
}

.id-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-top: 1px solid var(--id-border);
  margin-top: 2rem;
  padding-top: 1rem;
}

/* Single article */
.id-article-header {
  margin-bottom: 2rem;
}

.id-article-header__center {
  max-width: 65rem;
  margin-inline: auto;
  text-align: center;
}

.id-article-header__center .id-eyebrow {
  margin-inline: auto;
}

.id-article-header h1 {
  max-width: 64rem;
  overflow-wrap: anywhere;
  margin: 1rem auto 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 950;
  line-height: 1.24;
  text-wrap: balance;
}

.id-article-lead {
  max-width: 52rem;
  margin: 1rem auto 0;
  color: var(--id-muted-foreground);
  font-size: clamp(0.96rem, 1.6vw, 1.14rem);
  font-weight: 550;
  line-height: 2;
}

.id-article-meta,
.id-article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.id-article-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.24fr) minmax(0, 1fr) minmax(13rem, 0.28fr);
  gap: 1.5rem;
  align-items: start;
}

.id-article-layout.has-no-toc {
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.28fr);
}

.id-article-content {
  min-width: 0;
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.7rem;
  padding: clamp(1.2rem, 3vw, 2.6rem);
  background: rgb(255 253 249 / 90%);
  box-shadow: var(--id-shadow-md);
}

.id-article-toc,
.id-article-aside {
  position: sticky;
  top: 7.5rem;
  min-width: 0;
}

.id-article-toc {
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.25rem;
  padding: 0.85rem;
  background: rgb(255 253 249 / 82%);
  box-shadow: var(--id-shadow-soft);
}

.id-toc-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgb(221 209 188 / 58%);
  margin-bottom: 0.55rem;
  padding: 0.35rem 0.3rem 0.7rem;
  color: var(--id-primary);
  font-size: 0.8rem;
  font-weight: 900;
}

.id-article-toc [data-theme-toc] ol {
  display: grid;
  gap: 0.18rem;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.id-article-toc [data-theme-toc] li {
  min-width: 0;
  counter-increment: toc;
}

.id-article-toc [data-theme-toc] a {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.3rem;
  border-radius: 0.75rem;
  padding: 0.48rem 0.4rem;
  color: var(--id-muted-foreground);
  font-size: 0.69rem;
  font-weight: 650;
  line-height: 1.65;
}

.id-article-toc [data-theme-toc] a::before {
  content: counter(toc, decimal-leading-zero);
  color: rgb(159 77 62 / 58%);
  font-size: 0.62rem;
  font-weight: 850;
}

.id-article-toc [data-theme-toc] a:hover,
.id-article-toc [data-theme-toc] a[aria-current="true"] {
  background: rgb(159 77 62 / 8%);
  color: var(--id-primary);
}

.id-article-toc [data-theme-toc] .is-h3 a {
  padding-right: 1rem;
  font-size: 0.64rem;
}

.id-toc-loading {
  color: var(--id-muted-foreground);
  font-size: 0.72rem;
}

.id-sidebar-stack {
  display: grid;
  gap: 0.85rem;
}

.irandesigner-widget {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgb(255 253 249 / 84%);
  box-shadow: var(--id-shadow-soft);
}

.irandesigner-widget .widget-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 900;
}

.irandesigner-widget p,
.irandesigner-widget li {
  overflow-wrap: anywhere;
  color: var(--id-muted-foreground);
  font-size: 0.74rem;
  line-height: 1.85;
}

.id-sidebar-terms {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.id-sidebar-terms a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.7rem;
  padding: 0.5rem;
}

.id-sidebar-terms a:hover {
  background: rgb(159 77 62 / 7%);
  color: var(--id-primary);
}

.id-sidebar-terms small {
  display: inline-flex;
  min-width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--id-muted);
  font-size: 0.62rem;
}

.id-article-footer {
  max-width: 58rem;
  margin: 2rem auto 0;
}

.id-author-box,
.id-author-hero__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.id-author-box {
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgb(255 253 249 / 84%);
}

.id-author-avatar {
  width: 7rem;
  height: 7rem;
  border: 4px solid #fff;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--id-shadow-md);
}

.id-author-box h2,
.id-author-hero h1 {
  overflow-wrap: anywhere;
  margin: 0.55rem 0 0;
  font-size: 1.4rem;
  font-weight: 900;
}

.id-author-box p,
.id-author-hero p {
  margin: 0.5rem 0 0;
  color: var(--id-muted-foreground);
  line-height: 1.9;
}

.id-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.id-post-navigation > div:empty {
  display: none;
}

.id-post-navigation a {
  display: grid;
  min-width: 0;
  height: 100%;
  gap: 0.3rem;
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.1rem;
  background: rgb(255 253 249 / 82%);
  padding: 0.95rem;
  box-shadow: var(--id-shadow-soft);
}

.id-post-navigation a:hover {
  border-color: rgb(159 77 62 / 28%);
}

.id-post-navigation small {
  color: var(--id-primary);
  font-size: 0.64rem;
  font-weight: 800;
}

.id-post-navigation strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.id-related-section {
  margin-top: 4rem;
}

.id-author-hero {
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 2rem;
  margin-bottom: 2rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: rgb(255 253 249 / 84%);
  box-shadow: var(--id-shadow-lg);
}

.id-author-count {
  display: inline-flex;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: var(--id-muted);
  color: var(--id-primary);
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
}

/* Service detail */
.id-service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(221 209 188 / 66%);
  border-radius: 2rem;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  background: rgb(255 253 249 / 82%);
  box-shadow: var(--id-shadow-lg);
}

.id-service-hero h1 {
  overflow-wrap: anywhere;
  margin: 0.85rem 0 0;
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 950;
  line-height: 1.25;
}

.id-service-hero__copy > p {
  margin: 1rem 0 0;
  color: var(--id-muted-foreground);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 2;
}

.id-service-hero__actions,
.id-service-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.id-service-proof {
  color: var(--id-muted-foreground);
  font-size: 0.7rem;
  font-weight: 750;
}

.id-service-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.id-service-proof .id-icon {
  color: var(--id-green);
}

.id-service-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  margin: 0;
  background: var(--id-muted);
}

.id-service-hero__media > img {
  width: 100%;
  min-height: 27rem;
  object-fit: cover;
}

.id-service-hero__stat {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.1rem;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 1rem;
  background: rgb(255 253 249 / 86%);
  padding: 0.8rem 1rem;
  box-shadow: var(--id-shadow-md);
  backdrop-filter: blur(18px);
}

.id-service-hero__stat strong {
  color: var(--id-primary);
  font-size: 0.83rem;
}

.id-service-hero__stat span {
  color: var(--id-muted-foreground);
  font-size: 0.68rem;
}

.id-service-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-value-feature-card {
  min-width: 0;
  border-radius: 1.4rem;
  padding: 1.25rem;
}

.service-value-feature-card h2 {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.service-value-feature-card p {
  margin: 0.5rem 0 0;
  color: var(--id-muted-foreground);
  font-size: 0.82rem;
  line-height: 1.95;
}

.id-service-content-layout,
.id-work-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.33fr);
  gap: 1.5rem;
  align-items: start;
}

.id-service-content,
.id-work-content {
  min-width: 0;
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.7rem;
  padding: clamp(1.2rem, 3vw, 2.7rem);
  background: rgb(255 253 249 / 88%);
  box-shadow: var(--id-shadow-md);
}

.id-service-sidebar,
.id-work-aside {
  position: sticky;
  top: 7.5rem;
}

.service-value-deliverable-panel,
.id-work-aside .portfolio-approach-panel {
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.4rem;
  padding: 1.2rem;
  background: rgb(255 253 249 / 84%);
  box-shadow: var(--id-shadow-soft);
}

.service-value-deliverable-panel h2,
.id-work-aside h2 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  font-weight: 900;
}

.service-value-deliverable-panel ul {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0;
}

.service-value-deliverable-panel li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--id-muted-foreground);
  font-size: 0.78rem;
  line-height: 1.8;
}

.service-value-deliverable-panel li .id-icon {
  margin-top: 0.25rem;
  color: var(--id-green);
}

.service-value-deliverable-panel .id-button {
  width: 100%;
}

.id-service-final-cta {
  margin-top: 1rem;
}

/* Keep the final service flow visually connected without attaching the CTA to
 * the footer. The generic section spacing is intentionally generous elsewhere,
 * but it created a large empty band below the related-service cards here. */
.single-ir_service #primary-content {
  padding-bottom: clamp(3.5rem, 6vw, 6rem) !important;
}

.single-ir_service .id-related-section.section-padding {
  padding-top: 0;
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}

/* The generic section padding was applied to both sides of these adjacent
 * blocks, leaving a 20rem empty band between the value cards and the main
 * service content. Keep one deliberate section gap instead. */
.single-ir_service .id-service-value-grid.section-padding {
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}

.single-ir_service .id-service-content-layout.section-padding {
  padding-top: 0;
}

/* Work and case studies */
.id-work-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  overflow: hidden;
  border-radius: 2rem;
  margin-bottom: 2rem;
}

.id-work-hero__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 4vw, 3.5rem);
}

.id-work-hero h1 {
  overflow-wrap: anywhere;
  margin: 0.8rem 0 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 950;
  line-height: 1.25;
}

.id-work-hero__copy > p {
  margin: 1rem 0 0;
  color: var(--id-muted-foreground);
  line-height: 2;
}

.id-work-hero__copy > .id-button {
  margin-top: 1.3rem;
  align-self: flex-start;
}

.id-work-hero__media {
  min-height: 34rem;
  margin: 0;
}

.id-work-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-work-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.id-work-meta > span {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
  border: 1px solid rgb(221 209 188 / 65%);
  border-radius: 0.9rem;
  background: rgb(255 255 255 / 68%);
  padding: 0.65rem;
}

.id-work-meta small {
  color: var(--id-muted-foreground);
  font-size: 0.59rem;
}

.id-work-meta strong {
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.id-work-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border: 1px solid rgb(13 83 14 / 18%);
  border-radius: 1.4rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  background: rgb(230 243 228 / 58%);
}

.id-work-result__icon {
  display: inline-flex;
  width: 3.2rem;
  height: 3.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #fff;
  color: var(--id-green);
}

.id-work-result p {
  margin: 0.45rem 0 0;
  color: var(--id-foreground);
  line-height: 1.9;
}

.id-work-aside ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  counter-reset: process;
}

.id-work-aside li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0 0.55rem;
  border-radius: 0.85rem;
  padding: 0.6rem;
  counter-increment: process;
}

.id-work-aside li::before {
  grid-row: span 2;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(159 77 62 / 9%);
  color: var(--id-primary);
  content: counter(process);
  font-size: 0.7rem;
  font-weight: 900;
}

.id-work-aside li strong {
  font-size: 0.78rem;
}

.id-work-aside li span {
  color: var(--id-muted-foreground);
  font-size: 0.68rem;
  line-height: 1.7;
}

.id-work-contact {
  width: 100%;
  margin-top: 0.75rem;
}

/* Comments, forms and error states */
.id-comments {
  max-width: 58rem;
  border: 1px solid rgb(221 209 188 / 68%);
  border-radius: 1.6rem;
  margin: 3rem auto 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgb(255 253 249 / 86%);
  box-shadow: var(--id-shadow-md);
}

.id-comments-title,
.comment-reply-title {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 900;
}

.id-comment-list,
.id-comment-list .children {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.id-comment-list .children {
  margin-top: 0.75rem;
  padding-right: 1.2rem;
}

.id-comment-list .comment-body {
  border: 1px solid rgb(221 209 188 / 62%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 68%);
  padding: 1rem;
}

.id-comment-list .comment-meta {
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
}

.id-comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 850;
}

.id-comment-list .avatar {
  border-radius: 50%;
}

.id-comment-list .comment-content {
  overflow-wrap: anywhere;
  color: var(--id-muted-foreground);
  line-height: 1.9;
}

.id-comment-form,
.comment-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.comment-form > p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--id-foreground);
  font-size: 0.75rem;
  font-weight: 800;
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea,
.irandesigner-widget input:not([type="submit"]),
.irandesigner-widget textarea,
.irandesigner-widget select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgb(221 209 188 / 88%);
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.7rem 0.85rem;
  outline: none;
}

.comment-form textarea {
  min-height: 9rem;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.comment-form-cookies-consent label {
  margin: 0;
  color: var(--id-muted-foreground);
  font-weight: 550;
  line-height: 1.7;
}

/* Footer */
.id-site-footer {
  border-top: 1px solid rgb(245 213 141 / 18%);
  background: #271a14;
  color: #f6ead8;
  padding: 6rem 0 2.2rem;
}

.id-footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: screen;
}

.id-footer-glow {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(110px);
}

.id-footer-glow--right {
  top: -5rem;
  right: -5rem;
  background: rgb(209 154 88 / 25%);
}

.id-footer-glow--left {
  bottom: -8rem;
  left: -6rem;
  background: rgb(78 42 31 / 64%);
}

.id-footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.id-brand--footer {
  color: #fff3d6;
}

.id-brand--footer .id-brand-copy small {
  color: rgb(226 204 177 / 70%);
}

.id-footer-brand-column > p,
.id-footer-newsletter > p,
.id-footer-newsletter .irandesigner-widget {
  margin: 1.3rem 0;
  color: rgb(226 204 177 / 78%);
  font-size: 0.85rem;
  line-height: 2;
}

.id-footer-column h2 {
  margin: 0 0 1.35rem;
  color: #fff3d6;
  font-size: 1rem;
  font-weight: 900;
}

.id-footer-menu {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

.id-footer-menu a {
  display: inline-flex;
  overflow-wrap: anywhere;
  color: rgb(226 204 177 / 78%);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.6;
}

.id-footer-menu a::before {
  width: 0;
  height: 1px;
  align-self: center;
  margin-left: 0;
  background: var(--id-accent);
  content: "";
  transition: width 180ms ease, margin 180ms ease;
}

.id-footer-menu a:hover {
  color: #f8d894;
}

.id-footer-menu a:hover::before {
  width: 0.75rem;
  margin-left: 0.35rem;
}

.id-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.id-footer-socials a {
  display: inline-flex;
  width: 2.65rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(245 213 141 / 22%);
  border-radius: 50%;
  background: rgb(255 244 224 / 8%);
  color: #f5d58d;
  transition: transform 180ms ease, background 180ms ease;
}

.id-footer-socials a:hover {
  transform: translateY(-2px);
  background: rgb(245 213 141 / 13%);
  color: #fff3d6;
}

.id-footer-newsletter .irandesigner-widget {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.id-footer-newsletter :where(input, textarea, select) {
  border-color: rgb(245 213 141 / 20%) !important;
  background: rgb(255 244 224 / 8%) !important;
  color: #fff3d6 !important;
}

.id-footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid rgb(245 213 141 / 16%);
  margin-top: 4rem;
  padding-top: 1.6rem;
  color: rgb(226 204 177 / 70%);
  font-size: 0.7rem;
  font-weight: 650;
}

.id-footer-bottom p {
  margin: 0;
}

.id-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.id-privacy-banner {
  position: fixed;
  z-index: 9998;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
}

.id-privacy-banner[hidden] {
  display: none !important;
}

.id-privacy-banner > div {
  display: flex;
  width: min(100%, 50rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgb(221 209 188 / 70%);
  border-radius: 1.25rem;
  margin-inline: auto;
  background: rgb(255 253 249 / 94%);
  padding: 0.75rem 0.9rem;
  box-shadow: var(--id-shadow-lg);
  backdrop-filter: blur(20px);
}

.id-privacy-banner p {
  margin: 0;
  color: var(--id-muted-foreground);
  font-size: 0.7rem;
  line-height: 1.7;
}

.id-privacy-banner a {
  color: var(--id-primary);
  font-weight: 800;
}

.id-privacy-banner button {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--id-primary);
  color: #fff;
  padding: 0.55rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 800;
}

[data-reveal] {
  transition: opacity 620ms ease, transform 620ms cubic-bezier(.22, 1, .36, 1);
}

.js [data-reveal]:not(.is-revealed) {
  transform: translateY(18px);
  opacity: 0;
}

.js [data-reveal].is-revealed {
  transform: none;
  opacity: 1;
}

/* Live blog composition. Keep WordPress editor utilities from widening the
   production article card or introducing a nested horizontal page scroll. */
.id-live-single-layout,
.id-live-single-layout > *,
.blog-article-content,
.blog-article-content [data-blog-article-content] {
  min-width: 0;
}

.blog-article-content table {
  width: 100%;
  min-width: 0;
}

.id-blog-comments-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

@media (min-width: 1024px) {
  .id-live-single-layout.has-no-toc {
    max-width: 64rem;
    grid-template-columns: minmax(0, 1fr);
    margin-inline: auto;
  }
}

/* Responsive behavior */
@media (min-width: 1280px) {
  .public-nav-glass--desktop {
    display: flex !important;
  }

  .public-nav-glass--mobile,
  .id-mobile-panel {
    display: none !important;
  }
}

@media (max-width: 1279px) {
  .public-nav-glass--desktop {
    display: none !important;
  }

  .public-nav-glass--mobile {
    display: flex !important;
  }

  .id-article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.3fr);
  }

  .id-article-layout.has-no-toc {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.3fr);
  }

  .id-article-toc {
    position: static;
    grid-column: 1 / -1;
    max-height: none;
    order: -1;
  }

  .id-article-toc [data-theme-toc] ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1023px) {
  .id-home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .id-home-hero-copy {
    max-width: 48rem;
    text-align: center;
    margin-inline: auto;
  }

  .id-home-badge,
  .id-home-hero-actions,
  .id-home-proof {
    justify-content: center;
    margin-inline: auto;
  }

  .id-home-hero-showcase {
    max-width: 42rem;
    margin-inline: auto;
  }

  .id-section-heading--split {
    grid-template-columns: 1fr;
  }

  .id-section-heading--split > .id-button {
    justify-self: start;
  }

  .home-quality-panel,
  .id-service-hero,
  .id-work-hero {
    grid-template-columns: 1fr;
  }

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

  .id-home-project-grid {
    grid-template-columns: 1fr;
  }

  .id-home-project .home-portfolio-card__media {
    min-height: 15rem;
  }

  .id-article-layout {
    grid-template-columns: 1fr;
  }

  .id-article-layout.has-no-toc {
    grid-template-columns: 1fr;
  }

  .id-article-aside,
  .id-service-sidebar,
  .id-work-aside {
    position: static;
  }

  .id-article-aside .id-sidebar-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .id-service-content-layout,
  .id-work-content-layout {
    grid-template-columns: 1fr;
  }

  .id-work-hero__media {
    min-height: 24rem;
    order: -1;
  }

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

@media (max-width: 782px) {
  body.admin-bar .id-site-header nav {
    top: 46px;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 6rem;
  }

  .public-shell-container {
    width: min(100% - 1.25rem, 80rem);
  }

  .blog-page,
  .id-page-shell,
  .portfolio-page,
  .service-detail-page,
  .id-listing-page {
    padding-top: 7.5rem !important;
  }

  .id-inner-hero {
    border-radius: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .id-inner-hero h1,
  .id-article-header h1,
  .id-service-hero h1,
  .id-work-hero h1,
  .id-home-hero-copy h1 {
    text-wrap: pretty;
  }

  .id-breadcrumb span[aria-current="page"] {
    max-width: 60vw;
  }

  .id-post-grid,
  .id-service-grid,
  .id-quality-grid,
  .id-article-aside .id-sidebar-stack,
  .id-service-value-grid {
    grid-template-columns: 1fr;
  }

  .id-content-card {
    border-radius: 1.3rem;
  }

  .id-content-card__media {
    aspect-ratio: 16 / 10;
  }

  .id-home-hero-showcase {
    width: min(100%, 31rem);
  }

  .id-home-floating-card {
    width: 50%;
    padding: 0.65rem;
  }

  .id-home-floating-card--top {
    right: -1%;
  }

  .id-home-floating-card--bottom {
    left: -1%;
  }

  .id-hero-controls button {
    flex: 1 1 0;
    justify-items: center;
    padding-inline: 0.45rem;
    text-align: center;
  }

  .id-home-project {
    grid-template-columns: 1fr;
  }

  .id-home-project .home-portfolio-card__media {
    min-height: 14rem;
  }

  .id-cta-panel {
    grid-template-columns: 1fr;
  }

  .id-cta-panel > .id-button {
    justify-self: start;
  }

  .id-article-cover,
  .id-page-featured,
  .id-service-hero,
  .id-work-hero {
    border-radius: 1.35rem;
  }

  .id-article-content,
  .id-page-content,
  .id-service-content,
  .id-work-content {
    border-radius: 1.25rem;
    padding: 1.1rem;
  }

  .article-content {
    font-size: 0.94rem;
    line-height: 2;
  }

  .id-article-toc [data-theme-toc] ol {
    grid-template-columns: 1fr;
  }

  .id-author-box,
  .id-author-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .id-author-box .id-eyebrow,
  .id-author-hero .id-eyebrow,
  .id-author-avatar {
    margin-inline: auto;
  }

  .id-post-navigation {
    grid-template-columns: 1fr;
  }

  .id-service-hero__media > img {
    min-height: 18rem;
  }

  .single-ir_service #primary-content {
    padding-bottom: 3rem !important;
  }

  .single-ir_service .id-related-section.section-padding {
    padding-bottom: 3rem;
  }

  .single-ir_service .id-service-value-grid.section-padding {
    padding-bottom: 3rem;
  }

  .id-work-meta {
    grid-template-columns: 1fr;
  }

  .id-work-hero__media {
    min-height: 18rem;
  }

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

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

  .id-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .id-footer-legal {
    justify-content: flex-start;
  }

  .id-privacy-banner > div {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .id-brand--mobile .id-brand-copy {
    display: none;
  }

  .id-mobile-cta {
    padding-inline: 0.7rem;
  }

  .id-mobile-contact-row,
  .id-footer-grid {
    grid-template-columns: 1fr;
  }

  .id-footer-column,
  .id-footer-brand-column,
  .id-footer-newsletter {
    grid-column: auto;
  }

  .id-search-form {
    grid-template-columns: 1fr;
  }

  .id-search-submit {
    width: 100%;
  }

  .id-content-card__footer {
    align-items: flex-end;
  }

  .id-content-card__author {
    max-width: 46%;
  }

  .id-home-hero-actions > *,
  .id-service-hero__actions > * {
    width: 100%;
  }

  .id-home-proof {
    display: grid;
  }

  .id-home-floating-card {
    position: static;
    width: 100%;
    margin-top: 0.45rem;
  }

  .id-hero-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .id-cta-panel > .id-button {
    width: 100%;
  }

  .id-privacy-banner > div {
    display: grid;
  }

  .id-privacy-banner button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    transform: none !important;
    opacity: 1 !important;
  }
}

@media print {
  .id-site-header,
  .id-site-footer,
  .id-article-toc,
  .id-article-aside,
  .id-article-actions,
  .id-privacy-banner,
  .scroll-top-rocket,
  .id-comments {
    display: none !important;
  }

  [data-theme-toc-shell],
  [data-blog-comments] {
    display: none !important;
  }

  body.irandesigner-wp,
  .id-article-content {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  .id-article-layout {
    display: block;
  }

  a {
    color: #000 !important;
  }
}
