/*
Theme Name: Taste Orbit Trading
Author: Ignite Media
Description: One-page company website for TASTE ORBIT TRADING LLC, UAE cosmetics supplier.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: taste-orbit
*/
:root {
  --porcelain: #fbf9f8;
  --blush: #f3eaec;
  --plum: #2b1d2e;
  --plum-2: #3d2a41;
  --mauve: #a76d80;
  --mauve-deep: #8a5466;
  --mauve-light: #d9b3bf;
  --text: #2b1d2e;
  --muted: #6d5f6f;
  --line: #e7dde0;
  --on-plum: #f7f1f3;
  --on-plum-2: rgba(247, 241, 243, .72);
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Marcellus", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --arabic: "Noto Kufi Arabic", "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--mauve-light) var(--porcelain); }
body { margin: 0; background: var(--porcelain); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; font-weight: 400; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[lang="ar"] { font-family: var(--arabic); }
::selection { background: var(--mauve-light); color: var(--plum); }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--plum); color: var(--on-plum); text-decoration: none; border-radius: 6px; }
.skip:focus { top: 12px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -.01em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px; font: inherit; font-size: .9375rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-plum { background: var(--plum); color: var(--on-plum); }
.btn-plum:hover { background: var(--mauve-deep); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; padding: 12px 4px; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.header.scrolled, .header.menu-open { background: rgba(251, 249, 248, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter); display: flex; align-items: center; gap: 36px; transition: padding .4s var(--ease); }
.header.scrolled .header-inner { padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--plum); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { font-family: var(--serif); font-size: 1.375rem; line-height: 1; letter-spacing: .02em; }
.brand-text small { display: block; margin-top: 5px; font-family: var(--sans); font-size: .625rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav a { font-size: .9375rem; text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--plum); }
.header-cta { min-height: 44px; padding: 0 22px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--porcelain); color: var(--plum); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--porcelain) 0%, var(--blush) 100%); }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: clamp(120px, 14vw, 170px) var(--gutter) clamp(64px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; min-height: 100svh; }
.hero-place { font-size: .8125rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mauve-deep); }
.hero h1 { margin-top: 22px; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.04; letter-spacing: -.015em; }
.hero h1 em { font-style: normal; color: var(--mauve); }
.hero-lede { margin-top: 26px; max-width: 32em; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--muted); font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 44px 0 0; padding: 0; max-width: 34em; }
.hero-tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; color: var(--muted); background: rgba(255, 255, 255, .6); }
.hero-visual { position: relative; justify-self: center; width: min(100%, 470px); }
.arch { margin: 0; aspect-ratio: 4 / 5.2; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(43, 29, 46, .45); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.bubble { position: absolute; left: -12%; bottom: 8%; margin: 0; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--porcelain); box-shadow: 0 24px 50px -24px rgba(43, 29, 46, .45); }
.bubble img { width: 100%; height: 100%; object-fit: cover; }
.orbit { position: absolute; inset: -14% -22%; width: 144%; height: auto; pointer-events: none; fill: none; stroke: var(--mauve-light); stroke-width: 1.2; z-index: -1; animation: spin 60s linear infinite; }
.hero-visual { isolation: isolate; }
@keyframes spin { to { transform: rotate(360deg); } }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px 24px 999px 999px; }
.about-copy > p { margin-top: 22px; color: var(--muted); max-width: 36em; font-weight: 300; }
.about-copy > p + p { margin-top: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 38px 0 0; padding: 0; }
.pills li { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--blush); font-size: .9375rem; color: var(--muted); }
.pills b { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; color: var(--plum); }

/* products showcase */
.products { background: var(--plum); color: var(--on-plum); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--on-plum-2); max-width: 30em; justify-self: end; font-weight: 300; }
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.show-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(247, 241, 243, .16); }
.show-item { border-bottom: 1px solid rgba(247, 241, 243, .16); }
.show-item button { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 12px; padding: 20px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.show-item .n { font-size: .8125rem; letter-spacing: .14em; color: var(--mauve-light); font-variant-numeric: tabular-nums; }
.show-item .name { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--on-plum-2); transition: color .3s var(--ease), transform .4s var(--ease); }
.show-item .ar { font-size: .875rem; color: var(--mauve-light); opacity: .8; }
.show-item button:hover .name, .show-item.is-active .name { color: var(--on-plum); }
.show-item.is-active .name { transform: translateX(6px); }
.show-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.show-inner { overflow: hidden; min-height: 0; }
.show-item.is-active .show-detail { grid-template-rows: 1fr; }
.show-detail p { padding: 0 0 22px 56px; color: var(--on-plum-2); font-weight: 300; max-width: 30em; min-height: 0; }
.show-inline { display: none; }
.show-stage { position: sticky; top: 110px; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--plum-2); }
.show-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.show-stage img.is-active { opacity: 1; transform: none; }

/* why + process */
.why h2 { max-width: 14em; }
.why-cards { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-cards li { padding: 30px 26px 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why-cards li:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(43, 29, 46, .35); }
.why-cards svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--blush); fill: none; stroke: var(--mauve-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why-cards h3 { margin-top: 22px; font-size: 1.375rem; }
.why-cards p { margin-top: 8px; color: var(--muted); font-size: .9688rem; font-weight: 300; }
.process { margin-top: clamp(72px, 8vw, 110px); }
.process-title { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
.timeline { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--mauve-light); }
.timeline li { position: relative; padding: 34px 24px 0 0; }
.timeline .dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--porcelain); border: 2px solid var(--mauve); }
.timeline b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.timeline p { margin-top: 6px; color: var(--muted); font-size: .9688rem; font-weight: 300; }

/* contact */
.contact { padding-top: 0; }
.contact-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(28px, 5vw, 64px); background: var(--blush); border-radius: 32px; }
.contact-copy > p { margin-top: 18px; color: var(--muted); font-weight: 300; max-width: 28em; }
.contact-list { margin: 34px 0 0; }
.contact-list > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(43, 29, 46, .1); }
.contact-list dt { font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list dd { margin: 0; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--mauve-deep); text-decoration: underline; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); background: #fff; border-radius: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field label { font-size: .875rem; font-weight: 500; }
.opt { font-weight: 300; color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--porcelain); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236d5f6f' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 40px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mauve); box-shadow: 0 0 0 3px rgba(167, 109, 128, .2); }
.field textarea::placeholder { color: #8b7e8c; }
.field.invalid input { border-color: #b3261e; }
.err { display: none; font-size: .8125rem; color: #b3261e; }
.field.invalid .err { display: block; }
.form .btn { justify-self: start; }
.form-status { font-size: .9375rem; min-height: 1.4em; color: var(--mauve-deep); font-weight: 500; }

/* footer */
.footer { background: var(--plum); color: var(--on-plum); padding-top: clamp(48px, 6vw, 72px); }
.footer .brand { color: var(--on-plum); }
.footer .brand-text small { color: var(--on-plum-2); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 32px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--on-plum-2); transition: color .2s; }
.footer-links a:hover { color: var(--on-plum); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(247, 241, 243, .14); font-size: .8125rem; color: var(--on-plum-2); }
.credit { color: var(--mauve-light); font-weight: 500; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--porcelain); box-shadow: 0 12px 30px -12px rgba(43, 29, 46, .25); }
  .nav.open ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open a { display: block; padding: 14px 0; font-size: 1.0625rem; color: var(--plum); border-bottom: 1px solid var(--line); }
  .why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-visual { width: min(82%, 400px); margin-top: 12px; }
  .about-grid, .contact-card { grid-template-columns: minmax(0, 1fr); }
  .about-media img { aspect-ratio: 4 / 3.4; border-radius: 24px; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head p { justify-self: start; }
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .show-stage { display: none; }
  .show-inline { display: block; width: calc(100% - 56px); margin-left: 56px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 14px; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 34px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0; }
  .timeline .dot { left: -34px; top: 4px; }
}
@media (max-width: 560px) {
  .brand-text { font-size: 1.1875rem; }
  .why-cards { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .show-item .ar { display: none; }
  .show-item button { grid-template-columns: 40px 1fr; }
  .show-detail p { padding-left: 52px; }
  .show-inline { width: calc(100% - 52px); margin-left: 52px; }
  .contact-card { border-radius: 24px; }
  .contact-list > div { grid-template-columns: 84px 1fr; }
  .bubble { left: -6%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* WordPress admin bar (logged-in users only) */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
