@font-face {
  font-family: Vazirmatn;
  src: url('./assets/vazirmatn.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --ink: #213b30;
  --green: #244b3b;
  --muted: #59665b;
  --clay: #b5754f;
  --line: #deded1;
  --light: #fcfaf3;
  --soft-shadow: 7px 9px 19px #35412d19, -5px -5px 12px #fffdf4b3;
  --ease: cubic-bezier(.22,.75,.27,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.8 Vazirmatn, Tahoma, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a0643c; outline-offset: 5px; }
.shell { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 10; inset: 12px 12px auto auto; transform: translateY(-160%); padding: 10px 16px; border-radius: 8px; background: white; }
.skip-link:focus { transform: none; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 0; border-radius: 13px; padding: 10px 17px; min-height: 45px; font-size: .91rem; font-weight: 720; white-space: nowrap; transition: box-shadow .26s var(--ease), transform .26s var(--ease), background .26s var(--ease); }
.btn:active { transform: translateY(2px); }
.btn-primary { color: #fffaf0; background: var(--green); box-shadow: 0 4px 9px #17392b24, inset 0 1px 1px #ffffff30; }
.btn-primary:hover { background: #35634d; }
.btn-ghost { border: 1px solid #b5bea9; background: #fdfbf066; }
.btn-ghost:hover { background: #fffdf4; }
.icon-button { border: 0; display: grid; place-items: center; width: 43px; height: 43px; padding: 0; border-radius: 12px; background: var(--light); }

.header-inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 83px; gap: 24px; }
.brand { justify-self: start; display: inline-flex; flex-shrink: 0; gap: 10px; align-items: center; }
.brand img { border-radius: 12px; box-shadow: 0 4px 8px #23473722; object-fit: cover; }
.brand-type { display: grid; line-height: 1; gap: 5px; }
.brand-type strong { font-size: 1.5rem; font-weight: 900; letter-spacing: -.04em; }
.brand-type small { direction: ltr; color: #5d705d; font-size: .56rem; font-weight: 800; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3.5vw, 52px); font-weight: 650; font-size: .92rem; color: #4e6054; }
.main-nav a { padding-block: 12px; position: relative; }
.main-nav a::after { position: absolute; content: ''; bottom: 6px; right: 50%; width: 0; height: 2px; background: var(--clay); border-radius: 4px; transform: translateX(50%); transition: width .22s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.main-nav a:hover::after, .main-nav a.active::after { width: 18px; }
.account-button { justify-self: end; background: #efede2; border: 1px solid #e8e6db; box-shadow: 3px 3px 8px #263e2a19, -2px -2px 6px #ffffffce; }
.account-button:hover { background: #faf9ef; }
.mobile-toggle { display: none; }

.hero { color: #fffaf0; position: relative; isolation: isolate; min-height: clamp(510px, 41.2vw, 580px); overflow: clip; border-radius: 32px; background: #18392e; box-shadow: 0 14px 34px #1b3c3127; }
.hero-art { position: absolute; inset: 0; z-index: -2; background: #19392e url('./assets/hero-crafted.webp') center 50% / cover no-repeat; transform: scale(1.005); animation: settle-in .95s var(--ease) both; }
.hero::after { content: ''; z-index: -1; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg,#12372bf0 2%,#15382bc4 26%,#15382b36 57%,transparent 74%), linear-gradient(0deg,#102b23a3,transparent 38%); }
.hero-content { padding: clamp(48px, 6.1vw, 86px) clamp(42px, 6vw, 89px) 86px; position: relative; width: max-content; max-width: 100%; animation: content-in .65s var(--ease) both; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .87rem; color: #f7e9d3; padding: 4px 12px; border: 1px solid #eacda465; border-radius: 999px; background: #f9ebd012; }
.hero-kicker svg { width: 17px; height: 17px; color: #edbf8b; }
.hero h1 { font-size: clamp(3.65rem, 6.8vw, 6rem); line-height: 1.03; font-weight: 900; letter-spacing: -.072em; margin: 20px 0 15px; }
.hero h1 em { font-style: normal; color: #eac092; }
.hero-copy { font-weight: 440; line-height: 1.85; color: #f3efdf; font-size: clamp(1rem, 1.35vw, 1.14rem); }
.hero-search { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(160px, 1.8fr) auto; align-items: center; gap: 7px; width: min(540px, 100%); padding: 8px; margin-top: 27px; border-radius: 17px; color: var(--ink); background: #f8f5e9; box-shadow: 0 12px 25px #071e1aa8, inset 0 0 0 1px #ffffffe6; }
.hero-search label, .filter-control { display: flex; align-items: center; gap: 8px; position: relative; min-width: 0; }
.hero-search label { min-height: 43px; }
.search-city { padding-inline-start: 10px; padding-inline-end: 8px; border-inline-end: 1px solid #deded1; }
.search-text { padding-inline: 3px 6px; }
.hero-search select, .hero-search input, .filter-control select { background: transparent; border: 0; min-width: 0; width: 100%; align-self: stretch; }
.hero-search input, .hero-search select { font-size: .87rem; }
.hero-search input::placeholder { color: #657166; opacity: 1; }
.hero-search label > span:first-child, .filter-control > span:first-child { color: #52705e; }
.hero-search select, .filter-control select { appearance: none; padding-inline-end: 20px; cursor: pointer; font-weight: 700; }
.select-chevron { pointer-events: none; position: absolute; inset-inline-end: 8px; color: #4e6254; }
.select-chevron svg { width: 15px; height: 15px; }
.hero-submit { min-height: 43px; padding-inline: 23px; border-radius: 12px; }
.hero-caption { position: absolute; inset: auto auto 70px 29px; display: flex; align-items: center; gap: 10px; color: #fff6e9; line-height: 1.5; padding: 9px 10px 9px 13px; border-radius: 15px; border: 1px solid #e2e1c446; background: #183a2fa6; backdrop-filter: blur(10px); }
.caption-pin { display: grid; place-items: center; background: #e8c299; border-radius: 9px; width: 34px; height: 34px; color: #2d4938; }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption strong { font-size: .82rem; font-weight: 760; }
.hero-caption small { font-size: .76rem; color: #e8e1cf; }

.category-dock { position: relative; z-index: 1; margin: -42px 22px 0; padding: 18px 18px 15px; border-radius: 24px; background: #f8f5ec; border: 1px solid #fffdf3; box-shadow: 0 13px 29px #29382d14, inset 0 -2px 2px #6c78550d; }
.category-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.category-tile { border: 0; min-width: 0; display: grid; justify-items: center; gap: 8px; background: transparent; padding: 0 1px 2px; color: #344b3d; font-size: .87rem; font-weight: 700; }
.tile-icon { display: grid; place-items: center; width: 62px; height: 59px; border-radius: 18px; color: var(--tile-ink,#375540); background: var(--tile,#e3e9d8); box-shadow: 4px 5px 9px #29382f22, inset 2px 2px 5px #fff7; transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .22s; }
.category-tile:hover .tile-icon { transform: translateY(-5px) rotate(-4deg); box-shadow: 5px 9px 14px #29382f30, inset 2px 2px 5px #fff7; }
.category-tile[aria-pressed="true"] .tile-icon { color: #f8f5e9; background: var(--green); box-shadow: inset 2px 2px 6px #162e27a8, 0 1px 2px #fff; }
.category-tile[data-category="historical"] { --tile:#ecdec7; --tile-ink:#735934; }
.category-tile[data-category="cafe"] { --tile:#ead4c3; --tile-ink:#784e37; }
.category-tile[data-category="nature"] { --tile:#dbe4ce; --tile-ink:#3b5840; }
.category-tile[data-category="art"] { --tile:#eae2c7; --tile-ink:#685a30; }
.category-tile[data-category="shopping"] { --tile:#e4e9dd; --tile-ink:#4b614d; }

.content-section { padding-block: 65px 76px; }
section[id] { scroll-margin-top: 16px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.kicker { display: flex; align-items: center; gap: 7px; color: #8b5637; font-size: .85rem; font-weight: 800; margin-bottom: 7px; }
.kicker svg { width: 17px; height: 17px; }
.section-heading h2, .journal-feature h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 900; letter-spacing: -.055em; line-height: 1.25; }
.section-description { margin-top: 7px; font-size: .96rem; color: var(--muted); }
.section-controls { display: flex; align-items: center; gap: 9px; }
.filter-control { min-width: 125px; min-height: 45px; padding-inline: 12px; border-radius: 13px; border: 1px solid #ffffffad; background: #eeeee3; box-shadow: var(--soft-shadow); }
.filter-control select { min-height: 43px; font-size: .88rem; }
.filter-control .select-chevron { inset-inline-end: 12px; }
.saved-filter { padding-inline: 11px; min-width: 44px; color: #476153; box-shadow: var(--soft-shadow); background: #eeeee3; }
.saved-filter[aria-pressed="true"] { color: #fff8ea; background: var(--green); }
.query-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 15px; color: var(--muted); font-size: .87rem; }
.reset-button { padding: 2px 10px; min-height: 32px; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(15px, 2.25vw, 30px); }
.listing { min-width: 0; display: flex; flex-direction: column; border: 1px solid #fffdf299; padding: 9px; border-radius: 24px; background: #fbf8ee; box-shadow: var(--soft-shadow); transition: transform .3s var(--ease),box-shadow .3s var(--ease); animation: content-in .32s var(--ease) both; }
.listing:hover { transform: translateY(-4px); box-shadow: 9px 14px 26px #36412f26, -4px -4px 10px #fff9; }
.card-media { position: relative; background: #bdc3a6; min-width: 0; aspect-ratio: 1.78; border-radius: 17px; }
.card-media img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.card-badge { position: absolute; top: 11px; inset-inline-start: 11px; padding: 3px 10px; display: inline-flex; align-items: center; min-height: 27px; color: #294637; background: #f8f4e9f2; border-radius: 999px; font-size: .77rem; font-weight: 800; }
.card-save { position: absolute; top: 10px; inset-inline-end: 10px; color: #294637; width: 36px; height: 36px; border-radius: 50%; background: #f8f4e9f5; box-shadow: 0 2px 5px #0b28172e; transition: transform .2s var(--ease), color .2s, background .2s; }
.card-save:hover { transform: scale(1.08); }
.card-save[aria-pressed="true"] { color: #fff8ea; background: var(--green); }
.card-save[aria-pressed="true"] svg { fill: #ddae77; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 13px 11px 9px; }
.card-body h3 { font-size: clamp(1.12rem,1.62vw,1.39rem); line-height: 1.4; font-weight: 850; letter-spacing: -.022em; }
.card-meta { display: flex; gap: 6px; align-items: flex-start; color: #5a675b; font-size: .85rem; margin-block: 8px 13px; line-height: 1.65; }
.card-meta svg { margin-top: 2px; color: #6a7b64; }
.card-foot { margin-top: auto; min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #e6e5d8; padding-top: 8px; }
.card-foot .btn { background: #e8ecdf; padding: 6px 11px; min-height: 35px; border-radius: 9px; font-size: .81rem; }
.card-foot .btn:hover { background: #dce5d3; }
.card-foot .city-name, .event-price { font-size: .85rem; color: #475e4d; font-weight: 740; }
.more-wrap { text-align: center; margin-top: 24px; }
.empty { grid-column: 1/-1; border: 1px dashed #bdc6b8; text-align: center; border-radius: 20px; padding: 33px 14px; background: #fbf9f08c; color: var(--muted); }
.empty svg { margin: 0 auto 9px; color: #6f886b; }

.events-section { background: #e7eadc; border-block: 1px solid #dfe3d3; }
.events-section .content-section { padding-block: 57px 52px; }
.events-section .listing { background: #f8f7ed; box-shadow: 6px 9px 18px #30402d1d, -4px -4px 8px #fff9; }
.filter-chips { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 38px; padding: 5px 14px; border-radius: 999px; border: 1px solid #bac5b2; background: #f7f7ec89; color: #385141; font-weight: 700; font-size: .85rem; transition: background .2s, color .2s; }
.chip:not([aria-pressed="true"]):hover { background: #fffdf1; }
.chip[aria-pressed="true"] { color: #fff9eb; background: var(--green); border-color: transparent; }
.catalog-note { display: flex; gap: 7px; align-items: start; color: #4f6053; font-size: .84rem; margin-top: 21px; }
.catalog-note svg { width: 16px; height: 16px; margin-top: 4px; }

.journal-section { padding-block: 76px 22px; }
.journal-feature { min-height: 370px; display: grid; grid-template-columns: 1fr 1.18fr; overflow: clip; border-radius: 29px; background: #e3e8d7; box-shadow: var(--soft-shadow); }
.journal-content { padding: clamp(30px,5vw,72px); }
.journal-feature .journal-content > p:not(.kicker) { max-width: 340px; margin-top: 12px; color: #4c6052; }
.journal-art { background: #819173 url('./assets/journal-crafted.webp') center / cover no-repeat; transition: transform .8s var(--ease); }
.journal-feature:hover .journal-art { transform: scale(1.025); }
.journal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.organizers-section { padding-bottom: 67px; }
.organizer-feature { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 21px clamp(16px,3vw,34px); border-radius: 20px; border: 1px solid #f7f0e1; background: #eee1ce; box-shadow: var(--soft-shadow); }
.organizer-icon { display: grid; place-items: center; width: 55px; height: 55px; color: #774b31; background: #ecd4b5; border-radius: 16px; box-shadow: 3px 4px 7px #765b3633, inset 1px 1px 3px #fff8; }
.organizer-feature h2 { font-size: 1.22rem; font-weight: 850; line-height: 1.55; }
.organizer-feature p { color: #6b5846; font-size: .88rem; }
.organizer-cta { justify-self: end; }
.site-footer { border-top: 1px solid #dcded2; background: #edeee2; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; padding-block: 25px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: .89rem; font-weight: 650; }
.footer-inner p { justify-self: end; color: var(--muted); font-size: .84rem; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.noscript { text-align: center; padding: 15px; }

@keyframes settle-in { from { transform: scale(1.055); } to { transform: scale(1.005); } }
@keyframes content-in { from { opacity: 0; translate: 0 11px; } to { opacity: 1; translate: 0; } }

@media (max-width: 1040px) {
  .shell { width: calc(100% - 64px); }
  .hero { min-height: 510px; }
  .hero-content { padding-inline: 40px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 70px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .account-button { grid-column: 2; grid-row: 1; min-height: 41px; padding: 7px 11px; font-size: .84rem; }
  .account-button svg { width: 17px; height: 17px; }
  .mobile-toggle { display: grid; grid-column: 3; grid-row: 1; background: #eeeee2; width: 40px; height: 41px; }
  .main-nav { display: none; position: absolute; top: calc(100% - 3px); inset-inline: 0; z-index: 5; border: 1px solid #fffdf5; padding: 10px 20px; background: #f5f2e9; border-radius: 14px; box-shadow: var(--soft-shadow); align-items: stretch; gap: 0; flex-direction: column; }
  .main-nav[data-open] { display: flex; }
  .main-nav a::after { right: 0; transform: none; }
  .hero { min-height: 480px; border-radius: 23px; }
  .hero-content { padding: 48px 25px 125px; }
  .hero-art { background-position: 40% center; }
  .hero::after { background: linear-gradient(270deg,#13352bed,#13352b80 50%,#12352b0d 95%),linear-gradient(0deg,#102b23ad,transparent 42%); }
  .hero-caption { bottom: 50px; left: 16px; }
  .category-dock { padding: 13px 8px 8px; margin: -28px 8px 0; border-radius: 20px; }
  .category-list { grid-template-columns: repeat(6, minmax(66px,1fr)); gap: 5px; overflow: auto; padding: 5px 4px 8px; scrollbar-width: thin; }
  .tile-icon { width: 47px; height: 47px; border-radius: 14px; }
  .tile-icon svg { width: 23px; height: 23px; }
  .category-tile { font-size: .73rem; gap: 6px; padding-bottom: 2px; }
  .content-section { padding-block: 49px 55px; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journal-feature { grid-template-columns: 1fr 1fr; min-height: 325px; }
  .journal-section { padding-block: 55px 18px; }
  .organizers-section { padding-bottom: 46px; }
  .footer-inner { grid-template-columns: auto 1fr; gap: 16px; }
  .footer-inner nav { justify-self: end; gap: 11px; }
  .footer-inner p { grid-column: 1/-1; justify-self: start; }
}

@media (max-width: 480px) {
  .shell { width: calc(100% - 28px); }
  .brand img { width: 39px; height: 39px; }
  .brand-type strong { font-size: 1.32rem; }
  .hero-content { padding: 46px 16px 110px; }
  .hero h1 { font-size: clamp(3.32rem, 14vw, 4.2rem); }
  .hero-search { margin-top: 21px; width: 100%; grid-template-columns: minmax(72px, .8fr) minmax(93px, 1.45fr) auto; gap: 4px; padding: 5px; }
  .hero-search input, .hero-search select, .hero-submit { font-size: .77rem; }
  .hero-search svg { width: 15px; height: 15px; }
  .search-city { padding-inline-start: 4px; gap: 2px !important; }
  .search-text { padding: 0; gap: 3px !important; }
  .hero-submit { padding-inline: 9px; }
  .hero-caption { padding: 6px 7px; bottom: 49px; left: 10px; }
  .caption-pin { width: 28px; height: 28px; }
  .hero-caption small { font-size: .71rem; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 11px; }
  .section-description { font-size: .92rem; }
  .category-list { grid-template-columns: repeat(3, minmax(0,1fr)); overflow: visible; row-gap: 12px; }
  .card-grid { grid-template-columns: minmax(0,1fr); }
  .card-body h3 { font-size: 1.26rem; }
  .card-media { aspect-ratio: 1.95; }
  .journal-feature { grid-template-columns: 1fr; }
  .journal-art { min-height: 245px; }
  .organizer-feature { grid-template-columns: auto 1fr; gap: 11px; padding: 14px; }
  .organizer-cta { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
