.hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero-title { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 2.05; margin: 0 0 .25em; }
.lede { font-size: var(--t-lg); color: var(--text-2); line-height: 1.95; max-width: 38ch; }
.hero .row { margin: 26px 0 24px; }
.hero-points { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: var(--t-sm); color: var(--text-2); }
.hero-points li { padding-inline-start: 22px; position: relative; }
.hero-points li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 9px; height: 9px; transform: rotate(45deg); background: var(--accent); }

/* The rug in a mat like a framed piece, with the medallion drawn faintly behind it. */
.hero-rug { margin: 0; position: relative; display: grid; justify-items: center; gap: 14px; }
.toranj { position: absolute; width: min(560px, 120%); top: 50%; left: 50%; transform: translate(-50%, -54%); color: var(--accent); opacity: .12; pointer-events: none; }
.frame { position: relative; padding: 14px; background: var(--raised); border: 1px solid var(--line-2); box-shadow: var(--shade); }
.frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-2); pointer-events: none; }
.hero-img { height: min(66vh, 620px); width: auto; max-width: 100%; object-fit: contain; display: block; cursor: crosshair; touch-action: pan-y; }
.hero-skel { width: min(300px, 70vw); height: min(66vh, 560px); }
.hero-rug figcaption { text-align: center; max-width: 44ch; position: relative; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { height: auto; width: min(100%, 400px); }
}

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.cat { display: grid; gap: 4px; text-decoration: none; justify-items: center; text-align: center; padding: 16px 12px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-md); }
.cat:hover { border-color: var(--accent); }
.cat-pic { height: 150px; display: grid; place-items: center; margin-bottom: 6px; }
.cat-pic img { max-height: 150px; width: auto; filter: drop-shadow(0 8px 12px rgba(40, 28, 10, .25)); }
.cat b { font-size: var(--t-md); }

.steps { margin-top: 72px; padding: 32px; border-radius: var(--r-lg); background: var(--nil, #1b2a4a); color: #f5efe3; display: grid; gap: 22px; justify-items: start; }
:root[data-theme="dark"] .steps { background: var(--raised); }
.steps h2 { margin: 0; color: inherit; }
.steps ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; display: grid; gap: 4px; padding-top: 44px; position: relative; }
.steps li::before { content: counter(s, persian); position: absolute; top: 0; inset-inline-start: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid #c9962e; color: #e2b75a; display: grid; place-items: center; font-weight: 700; }
.steps li span { color: #cfc7b4; font-size: var(--t-sm); line-height: 1.8; }
@media (max-width: 760px) { .steps ol { grid-template-columns: 1fr; } .steps { padding: 24px; } }

.fit { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: 64px; padding: 28px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface); }
.fit h2 { margin-bottom: 6px; }
.fit p { margin: 0; }
.fit-form { display: flex; align-items: end; gap: 10px; }
.fit-form input { width: 120px; }
.fit-form .times { padding-bottom: 10px; color: var(--measure); font-size: var(--t-lg); }
@media (max-width: 760px) {
  .fit { grid-template-columns: 1fr; }
  .fit-form { flex-wrap: wrap; }
  .fit-form label { flex: 1; }
  .fit-form input { width: 100%; }
  .fit-form .btn { width: 100%; }
}

.visit { margin-top: 64px; }
.visit dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 0; }
.visit dt { color: var(--muted); font-size: var(--t-sm); }
.visit dd { margin: 0; font-weight: 600; }
