/* Four original HTML/CSS interface compositions. No UI images or runtime dependencies. */
.expertise.expertise-final { background: var(--surface-muted); border-block: 1px solid var(--line); }
.expertise-final .expertise-heading { max-width: 780px; margin-block-end: 40px; }
.expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.expertise-card { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.expertise-visual { position: relative; isolation: isolate; display: grid; place-items: center; height: clamp(240px, 24vw, 292px); padding: 30px 38px 38px; overflow: hidden; color: #173a31; font-family: 'DM Sans', Arial, sans-serif; }
.expertise-visual *, .expertise-visual *::before, .expertise-visual *::after { box-sizing: border-box; }
.expertise-visual-note { position: absolute; inset-block-end: 11px; inset-inline-start: 18px; color: #62685f; font-size: 9px; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.expertise-card-content { padding: 25px 28px 22px; }
.expertise-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block-end: 10px; }
.expertise-card-top .category-label { color: var(--muted); font-size: 10px; }
.expertise-number { color: var(--muted); font-size: 11px; }
.expertise-card-content h3 { font-size: clamp(24px, 2.2vw, 29px); margin-block-end: 12px; }
.expertise-card-content > p { max-width: 470px; font-size: 16px; line-height: 1.7; }
.expertise-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; min-height: 49px; margin-block-start: 23px; padding: 15px 0 0; border: 0; border-block-start: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; text-align: start; }
.expertise-action > span:last-child { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; transition: background .2s, color .2s, transform .2s; flex: 0 0 auto; }
.expertise-action:hover > span:last-child { color: #173a31; background: #f2bba0; border-color: #f2bba0; transform: translate(2px,-2px); }
.expertise-action[aria-pressed="true"] > span:last-child { background: #173a31; border-color: #173a31; color: #fff9ee; }

/* A warm editorial website, with a real local image already used by the project. */
.expertise-visual-web { background: #eae6da; container-type: inline-size; }
.expertise-site-preview { display: grid; grid-template-rows: 17% 68% 15%; width: 100%; max-width: 440px; aspect-ratio: 1.7; overflow: hidden; background: #fffdf7; border: 1px solid #fff; border-radius: 8px; box-shadow: 0 21px 32px #38453a18; transform: rotate(-2deg); transition: transform .45s; }
.expertise-visual-web .expertise-preview-nav { display: flex; align-items: center; gap: 2.5cqw; padding: 0 4cqw; border-block-end: 1px solid #deded330; }
.expertise-visual-web .expertise-preview-nav b { margin-inline-end: auto; font-size: 4.7cqw; line-height: 1; letter-spacing: -.055em; }
.expertise-preview-nav b span { color: #b8674f; }
.expertise-visual-web .expertise-preview-nav > span { font-size: 1.8cqw; }
.expertise-preview-nav i { font-style: normal; font-size: 2.2cqw; }
.expertise-visual-web .expertise-site-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2cqw; min-height: 0; padding: 1.7cqw 4cqw; }
.expertise-site-main > div:first-child { align-self: center; min-width: 0; }
.expertise-visual-web .expertise-preview-eyebrow { display: block; margin-block-end: 1.8cqw; font-size: 1.25cqw; letter-spacing: .08em; line-height: 1.4; }
.expertise-visual-web .expertise-site-main strong { display: block; font: 500 5.8cqw/1.15 'Manrope', Arial, sans-serif; letter-spacing: -.05em; }
.expertise-visual-web .expertise-preview-action { display: inline-block; margin-block-start: 2.8cqw; padding-block-end: .7cqw; border-block-end: 1px solid #173a3140; font-size: 1.45cqw; line-height: 1.5; }
.expertise-site-photo { align-self: stretch; min-height: 0; border-radius: 50% 50% 2px 2px; background: #d1bfa4 url('assets/studio/nura-interior.webp') center/cover; }
.expertise-visual-web .expertise-site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; border-block-start: 1px solid #173a3112; padding: 0 4cqw; font-size: 1.35cqw; line-height: 1.5; }
.expertise-site-footer > span:last-child { color: #b8674f; font-size: 3.3cqw; line-height: 1; }
[dir="rtl"] .expertise-visual-web .expertise-site-main strong { font-family: 'Noto Sans Arabic', Arial, sans-serif; font-size: 5.3cqw; line-height: 1.5; letter-spacing: 0; }

/* Product and checkout details, composed as two overlapping panels. */
.expertise-visual-commerce { background: #eed7c7; padding-inline: 45px; }
.expertise-product-swatch { position: absolute; inset-block: 23px 30px; inset-inline-start: 10%; width: 47%; border: 1px solid #fff7e566; background: #e3bfa3; border-radius: 7px; padding: 13px 15px; transform: rotate(-6deg); box-shadow: 0 18px 24px #6d492a13; }
.expertise-product-swatch > span:first-child { font-size: 8px; letter-spacing: .12em; color: #664c35; }
.expertise-tote { position: relative; width: 85px; height: 103px; margin: 27px auto 0; display: grid; place-items: center; background: linear-gradient(90deg,#c9baa0,#e7dbc1 12%,#e6d8ba 87%,#bcac8e); color: #405547; border: 1px solid #ae9e8050; border-radius: 3px 3px 11px 11px; box-shadow: 8px 12px 10px #5b4e3320, inset 4px 0 0 #f4e9d150, inset -4px 0 0 #f4e9d150; }
.expertise-tote::before, .expertise-tote::after { content: ''; position: absolute; inset-block-end: calc(100% - 10px); width: 41px; height: 39px; border: 6px solid #d9c9a8; border-block-end: 0; border-radius: 24px 24px 0 0; }
.expertise-tote::before { inset-inline-start: 10px; transform: rotate(-8deg); }
.expertise-tote::after { inset-inline-end: 10px; transform: rotate(8deg); }
.expertise-tote > span { font: 600 17px/.95 Georgia, serif; letter-spacing: -.04em; transform: rotate(-2deg); }
.expertise-swatch-caption { position: absolute; inset-block-end: 13px; inset-inline: 15px; font-size: 6px; letter-spacing: .1em; color: #5d4938; }
.expertise-shop-preview { position: absolute; inset-block-start: 48px; inset-inline-end: 8%; width: 49%; max-width: 235px; padding: 18px; border: 1px solid #fffefa; border-radius: 9px; background: #fffdf7; box-shadow: 0 17px 28px #5a402019; transform: rotate(4deg); }
.expertise-shop-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; margin-block-end: 24px; }
.expertise-shop-nav > span { font-size: 16px; }
.expertise-product-label { display: block; font: 600 16px/1.2 'Manrope', sans-serif; letter-spacing: -.04em; }
.expertise-product-sub { display: block; color: #777363; font-size: 8px; margin-block-start: 6px; }
.expertise-color-options { display: flex; gap: 6px; margin-block: 13px; }
.expertise-color-options i { width: 12px; height: 12px; border-radius: 50%; background: #d5c5a2; border: 2px solid #fff; outline: 1px solid #b8b29f; }
.expertise-color-options i:nth-child(2) { background: #455447; outline-color: transparent; }
.expertise-color-options i:nth-child(3) { background: #b16b4c; outline-color: transparent; }
.expertise-shop-order { display: block; border-radius: 3px; background: #254a3c; color: #fff8ea; padding: 8px 9px; text-align: center; font-size: 9px; }
.expertise-shop-feature { display: flex; align-items: center; gap: 5px; font-size: 7px; margin-block-start: 10px; }
.expertise-shop-feature > span:first-child { color: #4f755c; }

/* An operational tool: navigation, actual labels and readable workflow rows. */
.expertise-visual-app { background: #dde6df; }
.expertise-app-window { width: 100%; max-width: 455px; border: 1px solid #fff; border-radius: 9px; background: #fffefa; overflow: hidden; box-shadow: 0 21px 32px #203c3220; transform: rotate(2deg); transition: transform .45s; }
.expertise-app-toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-block-end: 1px solid #e6e8e0; font-size: 10px; }
.expertise-app-toolbar > span { color: #c17c5a; font-size: 18px; line-height: 1; }
.expertise-app-toolbar i { margin-inline-start: auto; font-style: normal; color: #7b867a; }
.expertise-app-body { display: grid; grid-template-columns: 34px minmax(0, 1fr); min-height: 170px; }
.expertise-app-sidebar { display: grid; grid-auto-rows: 12px; justify-content: center; gap: 15px; padding-block-start: 19px; background: #f2f3ec; }
.expertise-app-sidebar i { width: 10px; height: 10px; border: 1px solid #aeb9a9; border-radius: 3px; }
.expertise-app-sidebar i:first-child { background: #254a3c; border-color: #254a3c; }
.expertise-app-board { min-width: 0; padding: 15px 15px 12px; }
.expertise-board-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.expertise-board-title > span { font-size: 17px; color: #688172; line-height: 1; }
.expertise-board-tabs { display: flex; align-items: center; justify-content: space-between; margin-block: 12px 5px; border-block-end: 1px solid #e6e8e0; font-size: 8px; }
.expertise-board-tabs span { padding-block-end: 7px; border-block-end: 1px solid #254a3c; }
.expertise-board-tabs i { width: 24px; height: 5px; border-radius: 3px; background: #dbe0d4; }
.expertise-board-row { display: flex; align-items: center; gap: 8px; min-height: 32px; border-block-end: 1px solid #e6e8e0; }
.expertise-board-row:last-child { border: 0; }
.expertise-row-icon { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 5px; color: #6b8070; background: #eef0e7; font-size: 10px; flex-shrink: 0; }
.expertise-board-row b { font-size: 8px; font-weight: 500; }
.expertise-board-row em { margin-inline-start: auto; padding: 3px 6px; border-radius: 3px; color: #6c6140; background: #f4edd7; font-size: 6px; letter-spacing: 0; white-space: nowrap; }
.expertise-board-row:nth-last-child(2) em { color: #3d664e; background: #e4ecdf; }
.expertise-row-dots { margin-inline-start: auto; color: #899184; font-size: 9px; }

/* A product workspace, presented on a deep green stage with a floating welcome card. */
.expertise-visual-saas { background: #183c32; padding: 44px 50px 27px; }
.expertise-visual-saas .expertise-visual-note { color: #b7c8bb; }
.expertise-saas-orbit { position: absolute; z-index: -1; inset-inline-start: 50%; inset-block-start: 46%; width: 265px; height: 265px; border: 1px solid #dbe5ca18; border-radius: 50%; transform: translate(-50%,-50%); }
.expertise-saas-orbit-two { width: 370px; height: 370px; }
.expertise-saas-panel { width: 100%; max-width: 350px; padding: 11px 16px 22px; background: #fffdf7; border-radius: 8px; box-shadow: 0 23px 32px #071a2250; transform: rotate(-3deg); transition: transform .45s; }
.expertise-saas-nav { display: flex; align-items: center; justify-content: space-between; padding-block-end: 9px; border-block-end: 1px solid #e5e5da; font-size: 17px; }
.expertise-saas-nav > span:first-child { color: #ab6e50; }
.expertise-user-avatar { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #e8eadc; color: #65765f; font-size: 9px; }
.expertise-saas-center { display: grid; justify-items: center; gap: 7px; padding-block-start: 15px; text-align: center; }
.expertise-saas-plus { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e0e5d6; border-radius: 9px; background: #f1f3e9; color: #6e886f; font-size: 22px; }
.expertise-saas-center > strong { font-size: 14px; font-weight: 600; }
.expertise-saas-center > span:not(.expertise-saas-plus) { color: #7b8170; font-size: 8px; }
.expertise-saas-center > b { margin-block-start: 4px; padding: 7px 12px; color: #fff9eb; background: #214737; border-radius: 3px; font-size: 8px; font-weight: 500; }
.expertise-saas-step { position: absolute; z-index: 2; inset-inline-start: 9%; inset-block-start: 20px; display: flex; align-items: center; gap: 9px; width: max-content; max-width: 80%; padding: 11px 13px; border: 1px solid #fff8ee80; border-radius: 7px; background: #f1bda2; color: #2e4737; box-shadow: 0 10px 19px #091c1925; transform: rotate(3deg); }
.expertise-saas-step > span { font-size: 27px; line-height: 1; }
.expertise-saas-step > div { display: grid; gap: 2px; }
.expertise-saas-step b { font-size: 10px; }
.expertise-saas-step > div > span { font-size: 7px; }
.expertise-saas-step i { margin-inline-start: 12px; font-size: 16px; font-style: normal; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .expertise-card:hover .expertise-site-preview, .expertise-card:hover .expertise-app-window, .expertise-card:hover .expertise-saas-panel { transform: rotate(0deg) translateY(-3px); }
}
[dir="rtl"] .expertise-site-main strong { font-family: 'Noto Sans Arabic', Arial, sans-serif; line-height: 1.45; letter-spacing: 0; font-size: clamp(16px,2.1vw,26px); }
[dir="rtl"] .expertise-product-label, [dir="rtl"] .expertise-card-content h3 { letter-spacing: 0; }
[dir="rtl"] .expertise-saas-orbit { transform: translate(50%,-50%); }
[data-theme="dark"] .expertise-card { background: var(--surface); }
[data-theme="dark"] .expertise-action[aria-pressed="true"] > span:last-child { color: #183c32; background: #f1bda2; border-color: #f1bda2; }
@media (max-width: 700px) {
  .expertise-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .expertise-final .expertise-heading { margin-block-end: 28px; }
  .expertise-visual { height: 260px; padding-inline: clamp(22px,6vw,46px); }
  .expertise-card-content { padding: 22px; }
  .expertise-site-main strong { font-size: clamp(23px,6vw,33px); }
  [dir="rtl"] .expertise-site-main strong { font-size: clamp(20px,5vw,28px); }
  .expertise-shop-preview { max-width: 210px; }
  .expertise-product-swatch { width: 45%; }
  .expertise-visual-saas { padding-inline: 36px; }
}
@media (max-width: 380px) {
  .expertise-visual { height: 225px; padding-inline: 18px; }
  .expertise-card-content { padding: 20px 18px; }
  .expertise-card-top .category-label { font-size: 9px; }
  .expertise-card-content > p { font-size: 15px; }
  .expertise-preview-nav { padding: 11px 14px; }
  .expertise-site-main { padding-inline: 14px; }
  .expertise-site-main strong { font-size: 20px; }
  .expertise-site-footer { padding-inline: 14px; }
  .expertise-product-swatch { inset-inline-start: 8%; inset-block-start: 20px; }
  .expertise-tote { width: 72px; height: 88px; margin-block-start: 27px; }
  .expertise-shop-preview { inset-inline-end: 6%; inset-block-start: 39px; width: 51%; padding: 13px; }
  .expertise-shop-nav { margin-block-end: 16px; }
  .expertise-product-label { font-size: 13px; }
  .expertise-app-board { padding-inline: 10px; }
  .expertise-board-row { gap: 5px; }
  .expertise-board-row em { padding-inline: 3px; }
  .expertise-visual-saas { padding: 42px 23px 26px; }
  .expertise-saas-step { inset-inline-start: 6%; inset-block-start: 16px; padding: 9px 10px; }
  .expertise-saas-center { padding-block-start: 10px; gap: 5px; }
}
