:root {
  color-scheme: light;
  --paper: #f7f1e8;
  --paper-deep: #eee3d4;
  --ink: #292a27;
  --muted: #6f6d65;
  --rose: #b9543c;
  --rose-dark: #813c2f;
  --line: #d8cebf;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 16px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #286d62; outline-offset: 4px; }
.site-header { height: 82px; padding: 0 max(5vw, calc((100vw - var(--measure))/2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.brand-mark { height: 32px; width: 32px; display: grid; place-items: center; background: var(--rose); color: #fff7ed; border-radius: 50%; font: 600 19px var(--serif); }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -.7px; }
.brand-dot { color: var(--rose); }
.desktop-nav { display: flex; gap: 36px; margin-left: 80px; }
.desktop-nav a, .header-link { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.desktop-nav a { color: #56564f; transition: color .18s ease; }
.desktop-nav a:hover, .header-link:hover { color: var(--rose); }
.header-link { color: var(--ink); }
.header-link span { color: var(--rose); padding-left: 5px; }
.language-switch { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: 16px; color: #777268; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.language-switch a { color: var(--rose-dark); text-decoration: none; padding: 7px 0; }
.language-switch a:hover { text-decoration: underline; text-underline-offset: 3px; }
.language-switch [aria-current="true"] { color: var(--ink); }
.language-divider { color: #b9ad9d; font-weight: 400; }
.menu-toggle, .mobile-nav { display: none; }
.hero { position: relative; min-height: 580px; max-width: var(--measure); margin: 0 auto; padding: 55px 3.4vw 70px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 45px; }
.hero-copy { z-index: 1; padding-left: 14px; }
.eyebrow { color: var(--rose-dark); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: 11px; margin: 0 0 22px; }
.eyebrow-rule { width: 26px; height: 1px; display: inline-block; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { font-size: clamp(54px, 6.1vw, 84px); line-height: 1.02; margin: 0 0 20px; }
h1 em, h2 em { color: var(--rose); font-weight: 500; }
.hero-intro { font-size: 15px; line-height: 1.75; max-width: 410px; color: #5c5b54; margin-bottom: 25px; }
.search-form { max-width: 450px; height: 54px; display: flex; align-items: center; border: 1px solid #b9ad9d; background: #fffdf9; padding: 0 6px 0 15px; transition: border .2s, box-shadow .2s; }
.search-form:focus-within { border-color: var(--rose); box-shadow: 0 0 0 3px rgb(185 84 60 / 12%); }
.search-icon { font-size: 25px; line-height: 1; color: var(--rose); margin-right: 9px; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search-form input::placeholder { color: #858076; opacity: 1; }
.search-form button { width: 40px; height: 40px; border: 0; background: var(--rose); color: white; font-size: 18px; cursor: pointer; transition: background .2s; }
.search-form button:hover { background: var(--rose-dark); }
.search-hint { margin: 10px 0 0 2px; color: #777268; font-size: 10px; }
.hero-visual { position: relative; margin: 0; min-width: 0; }
.hero-visual::before { content: ""; position: absolute; z-index: 0; top: -14px; right: -14px; bottom: 28px; left: 25px; border: 1px solid #c9b7a1; }
.hero-visual img { display: block; position: relative; z-index: 1; width: 100%; height: 400px; object-fit: cover; object-position: center 45%; filter: saturate(.83) sepia(.08); }
.photo-credit { position: relative; z-index: 1; margin-top: 11px; text-align: right; font-size: 9px; color: #625f57; }
.photo-credit span { color: #a65d45; padding: 0 2px; }
.photo-credit a { text-underline-offset: 2px; }
.hero-note { position: absolute; left: 4.4vw; bottom: 21px; display: flex; align-items: center; gap: 12px; color: #68645c; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.note-number { color: var(--rose); font-weight: 700; }
.note-line { display: block; width: 54px; height: 1px; background: var(--rose); }
.hero-stamp { position: absolute; right: -4px; top: 83px; z-index: 2; display: grid; gap: 5px; padding: 13px 14px; background: var(--paper); color: var(--rose-dark); transform: rotate(4deg); text-align: center; box-shadow: 0 2px 9px #3c2a2012; }
.hero-stamp span { font-size: 8px; letter-spacing: .19em; font-weight: 700; }
.hero-stamp b { font: 600 10px/1.45 var(--sans); }
.intro-strip { background: #ede3d5; min-height: 130px; padding: 28px max(5vw, calc((100vw - var(--measure))/2)); display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 35px; }
.intro-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--rose-dark); white-space: nowrap; }
.tiny-sun { font-size: 16px; color: var(--rose); vertical-align: -1px; margin-right: 7px; }
.intro-strip > p { max-width: 690px; font: 500 15px/1.65 var(--serif); letter-spacing: -.015em; margin: 0; color: #42413b; }
.intro-strip strong { color: #7d4134; font-weight: 600; }
.text-link, .light-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.text-link { color: var(--rose-dark); }
.text-link span, .light-link span { padding-left: 6px; }
.section-pad { padding: 100px max(5vw, calc((100vw - var(--measure))/2)); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 42px; }
.section-heading .eyebrow, .stories-heading .eyebrow { margin-bottom: 15px; }
h2 { font-size: clamp(39px, 4.5vw, 60px); line-height: 1.1; margin: 0; }
.heading-aside { width: 325px; max-width: 38%; margin: 0 2px 5px 0; color: #68665e; font-size: 12px; line-height: 1.8; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card { min-height: 247px; padding: 23px 25px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; text-decoration: none; position: relative; overflow: hidden; transition: background .25s ease, color .25s ease; }
.category-card::after { content: ""; position: absolute; width: 155px; height: 155px; border: 1px solid rgb(125 65 52 / 12%); border-radius: 50%; right: -48px; bottom: -82px; transition: transform .35s ease; }
.category-card:hover { background: #efe4d6; }
.category-card:hover::after { transform: scale(1.4); }
.category-card[hidden] { display: none; }
.card-index { color: var(--rose-dark); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.card-icon { color: var(--rose); font-size: 22px; grid-column: 2; grid-row: 1; }
.category-card h3 { grid-column: 1 / -1; align-self: center; font: 500 27px/1.13 var(--serif); letter-spacing: -.035em; margin: 25px 0 8px; }
.category-card p { grid-column: 1 / -1; max-width: 245px; color: #6b685f; font-size: 11px; line-height: 1.7; margin: 0; }
.card-arrow { position: absolute; z-index: 1; right: 24px; bottom: 22px; font-size: 16px; color: var(--rose); transition: transform .2s; }
.category-card:hover .card-arrow { transform: translate(3px,-3px); }
.no-results, .search-results { color: var(--rose-dark); font-size: 12px; line-height: 1.6; }
.city-life { background: #343d37; color: #f6f0e6; overflow: hidden; }
.city-life-inner { min-height: 420px; max-width: var(--measure); margin: auto; padding: 48px max(8.4vw, calc((100vw - var(--measure))/2 + 60px)) 36px; position: relative; }
.city-life-inner::before, .city-life-inner::after { content: ""; position: absolute; width: 380px; height: 380px; border: 1px solid rgb(237 227 212 / 12%); border-radius: 50%; right: -115px; top: -160px; }
.city-life-inner::after { width: 270px; height: 270px; right: -60px; top: -105px; }
.city-life-kicker, .city-life-bottom { display: flex; align-items: center; gap: 14px; color: #cfc5b1; font-size: 9px; letter-spacing: .16em; font-weight: 600; }
.city-life-kicker i { height: 4px; width: 4px; border-radius: 50%; background: #d37a5d; }
.city-life-content { display: grid; grid-template-columns: 1fr .65fr; gap: 70px; align-items: end; padding: 55px 0 53px; }
.eyebrow-light { color: #e3a188; }
.city-life h2 { font-size: clamp(44px, 5.2vw, 67px); }
.city-life h2 em { color: #e6a68c; }
.city-life-detail { max-width: 330px; padding-bottom: 7px; }
.city-life-detail p { color: #ddd8cb; font-size: 12px; line-height: 1.9; margin-bottom: 25px; }
.light-link { color: #f1b296; }
.city-life-bottom { gap: 15px; font-size: 8px; color: #c1bcaf; }
.bottom-line { flex: 1; height: 1px; background: #6d756c; }
.stories { padding-top: 105px; padding-bottom: 90px; }
.stories-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 40px; }
.stories-heading > p { width: 365px; max-width: 40%; color: #69675f; font-size: 12px; line-height: 1.85; margin: 0 0 5px; }
.story-ribbon { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-ribbon span { padding: 16px 23px 16px 0; margin-right: 23px; font: 500 15px var(--serif); color: #57554e; }
.story-ribbon span::before { content: "✳"; color: var(--rose); margin-right: 10px; font: 11px var(--sans); }
.site-footer { background: #eee4d8; min-height: 92px; padding: 20px max(5vw, calc((100vw - var(--measure))/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-footer .brand-mark { height: 27px; width: 27px; font-size: 16px; }
.brand-footer .brand-name { font-size: 14px; }
.site-footer > p, .back-top { color: #69665e; font-size: 10px; margin: 0; }
.back-top { text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 1600px) { .hero-note { left: calc((100vw - var(--measure))/2 + 20px); } }
@media (max-width: 900px) {
  .site-header { padding-inline: 5vw; height: 72px; }
  .desktop-nav { gap: 21px; margin-left: 20px; }
  .hero { gap: 28px; padding-top: 45px; min-height: 510px; }
  .hero-visual img { height: 330px; }
  .hero-stamp { right: -10px; top: 62px; }
  .intro-strip { grid-template-columns: 155px 1fr; gap: 15px 25px; }
  .intro-strip .text-link { grid-column: 2; }
  .section-pad { padding-top: 78px; padding-bottom: 78px; }
  .category-card { min-height: 225px; padding: 20px; }
  .category-card h3 { font-size: 24px; }
  .city-life-inner { padding-inline: 7vw; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 68px; padding-inline: 20px; }
  .desktop-nav, .header-link { display: none; }
  .language-switch { margin-left: auto; margin-right: 14px; gap: 6px; font-size: 10px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; padding: 12px 8px; flex-direction: column; justify-content: center; gap: 6px; background: transparent; border: 1px solid var(--line); cursor: pointer; }
  .menu-toggle span { height: 1px; width: 100%; background: var(--ink); }
  .mobile-nav:not([hidden]) { display: grid; position: absolute; top: 107px; left: 0; right: 0; z-index: 4; padding: 10px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px #38251712; }
  .mobile-nav a { text-decoration: none; padding: 13px 3px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .mobile-nav a:last-child { border-bottom: 0; }
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 34px; padding: 54px 20px 65px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 9px; margin-bottom: 18px; }
  h1 { font-size: clamp(56px, 14vw, 76px); margin-bottom: 17px; }
  .hero-intro { font-size: 14px; max-width: 370px; }
  .search-form { height: 52px; }
  .hero-visual { margin: 0 9px 0 0; }
  .hero-visual::before { top: -9px; right: -9px; left: 15px; bottom: 22px; }
  .hero-visual img { height: 275px; }
  .photo-credit { text-align: left; line-height: 1.7; font-size: 8px; }
  .hero-stamp { top: 54%; right: -2px; padding: 10px 11px; }
  .hero-note { left: 20px; bottom: 23px; font-size: 8px; }
  .intro-strip { display: block; padding: 26px 20px 29px; }
  .intro-label { margin-bottom: 12px; }
  .intro-strip > p { font-size: 16px; margin-bottom: 15px; }
  .text-link { display: inline-block; }
  .section-pad { padding: 70px 20px; }
  .section-heading { display: block; margin-bottom: 27px; }
  h2 { font-size: 43px; }
  .heading-aside { max-width: 100%; width: auto; margin: 17px 0 0; font-size: 11px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card { min-height: 205px; padding: 16px 14px; }
  .category-card h3 { font-size: 21px; margin-top: 22px; }
  .category-card p { font-size: 10px; }
  .card-index { font-size: 7px; letter-spacing: .06em; }
  .card-icon { font-size: 18px; }
  .card-arrow { bottom: 15px; right: 14px; }
  .city-life-inner { padding: 35px 22px 27px; min-height: 0; }
  .city-life-kicker { font-size: 7px; gap: 9px; }
  .city-life-content { display: block; padding: 49px 0 38px; }
  .city-life h2 { font-size: 49px; }
  .city-life-detail { margin-top: 26px; }
  .city-life-detail p { font-size: 11px; }
  .stories { padding-top: 71px; padding-bottom: 68px; }
  .stories-heading { display: block; margin-bottom: 28px; }
  .stories-heading h2 { font-size: 42px; }
  .stories-heading > p { max-width: 100%; width: auto; margin-top: 18px; font-size: 11px; }
  .story-ribbon span { padding: 12px 10px 12px 0; margin-right: 10px; font-size: 13px; }
  .story-ribbon span::before { margin-right: 6px; font-size: 9px; }
  .site-footer { padding: 20px; flex-wrap: wrap; }
  .site-footer > p { order: 3; width: 100%; }
}

/* Visitor correction form used at the end of public guide pages. */
.wrong-info-form, .correction-form, .report-form { margin-top: 22px; padding: 22px; border: 1px solid var(--line); background: #fffdf9; }
.wrong-info-form .form-grid, .correction-form .form-grid, .report-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wrong-info-form .form-field, .correction-form label, .report-form label { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 600; }
.wrong-info-form .form-field-full, .correction-form .form-wide, .report-form .form-wide { grid-column: 1 / -1; }
.wrong-info-form input, .wrong-info-form select, .wrong-info-form textarea, .correction-form input, .correction-form select, .correction-form textarea, .report-form input, .report-form select, .report-form textarea { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid #b9ad9d; border-radius: 0; background: #fff; color: var(--ink); font: 400 14px/1.5 var(--sans); }
.wrong-info-form textarea, .correction-form textarea, .report-form textarea { min-height: 125px; resize: vertical; }
.wrong-info-form input:focus-visible, .wrong-info-form select:focus-visible, .wrong-info-form textarea:focus-visible, .correction-form input:focus-visible, .correction-form select:focus-visible, .correction-form textarea:focus-visible, .report-form input:focus-visible, .report-form select:focus-visible, .report-form textarea:focus-visible { outline: 3px solid #a94f3d; outline-offset: 2px; }
@supports selector(:user-invalid) {
  .wrong-info-form :user-invalid:not(:focus-visible), .correction-form :user-invalid:not(:focus-visible), .report-form :user-invalid:not(:focus-visible) { border-color: #a33d32; box-shadow: 0 0 0 2px rgb(163 61 50 / 12%); }
}
.wrong-info-form .form-help, .wrong-info-form .form-status, .correction-form .form-help, .correction-form .form-status, .report-form .form-help, .report-form .form-status { margin: 14px 0 0; color: #67645d; font-size: 11px; line-height: 1.7; }
.wrong-info-form button[type="submit"], .correction-form button[type="submit"], .report-form button[type="submit"] { min-height: 44px; margin-top: 16px; padding: 11px 18px; border: 1px solid var(--rose-dark); background: var(--rose-dark); color: #fff; font: 700 11px var(--sans); cursor: pointer; }
.wrong-info-form button[type="submit"]:disabled, .correction-form button[type="submit"]:disabled, .report-form button[type="submit"]:disabled { border-color: #8b857b; background: #8b857b; cursor: not-allowed; }
@media (max-width: 650px) { .wrong-info-form, .correction-form, .report-form { padding: 16px; } .wrong-info-form .form-grid, .correction-form .form-grid, .report-form .form-grid { grid-template-columns: 1fr; } .wrong-info-form .form-field-full, .correction-form .form-wide, .report-form .form-wide { grid-column: auto; } }
@media (max-width: 360px) {
  .category-card { min-height: 215px; }
  .category-card h3 { font-size: 19px; }
  .card-index { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}

/* Shared site features: rotating notices, global search, reference pages and full footer. */
.announcement-bar { min-height: 37px; padding: 0 max(5vw, calc((100vw - var(--measure))/2)); display: flex; align-items: center; gap: 15px; background: #343d37; color: #f6f0e6; font-size: 10px; white-space: nowrap; }
.announcement-label { color: #e8ab8e; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.announcement-copy { flex: 1; overflow: hidden; text-overflow: ellipsis; color: #e4dfd3; }
.announcement-link, .announcement-toggle { color: #f3b698; text-decoration: none; font-weight: 700; font-size: 9px; }
.announcement-link span { padding-left: 4px; }
.announcement-toggle { padding: 4px 0 4px 10px; border: 0; border-left: 1px solid #687068; background: transparent; cursor: pointer; }
.announcement-toggle:hover, .announcement-link:hover { color: white; }
.site-header { top: 0; }
.search-form { position: relative; }
.search-suggestions { position: absolute; z-index: 7; top: calc(100% + 4px); left: -1px; right: -1px; margin: 0; padding: 6px; list-style: none; background: #fffdf9; border: 1px solid #b9ad9d; box-shadow: 0 10px 24px #39281920; }
.search-suggestions[hidden] { display: none; }
.search-suggestions [role="option"] { display: block; width: 100%; padding: 10px 11px; background: transparent; color: var(--ink); cursor: pointer; font-size: 11px; }
.search-suggestions [role="option"]:hover, .search-suggestions [role="option"][aria-selected="true"] { background: #f0e4d8; }
.suggestion-category { display: block; margin-top: 2px; color: #817b70; font-size: 9px; }
.faq-preview-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.faq-preview-list, .faq-page-list { border-top: 1px solid var(--line); }
.faq-preview-list details, .faq-page-list details { border-bottom: 1px solid var(--line); }
.faq-preview-list summary, .faq-page-list summary { position: relative; padding: 20px 40px 20px 0; cursor: pointer; list-style: none; font: 500 18px var(--serif); }
.faq-preview-list summary::-webkit-details-marker, .faq-page-list summary::-webkit-details-marker { display: none; }
.faq-preview-list summary::after, .faq-page-list summary::after { content: "+"; position: absolute; right: 5px; top: 18px; color: var(--rose); font: 20px var(--sans); }
.faq-preview-list details[open] summary::after, .faq-page-list details[open] summary::after { content: "−"; }
.faq-preview-list details p, .faq-page-list details p { max-width: 720px; color: #66635c; font-size: 12px; line-height: 1.8; padding: 0 40px 20px 0; margin: 0; }
.story-ribbon a { padding: 16px 23px 16px 0; margin-right: 18px; font: 500 15px var(--serif); color: #57554e; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 7px; }
.story-ribbon a::before { content: "✳"; color: var(--rose); margin-right: 10px; font: 11px var(--sans); }
.story-ribbon a:hover { text-decoration-color: var(--rose); }
.site-footer { display: block; padding: 40px max(5vw, calc((100vw - var(--measure))/2)) 20px; }
.footer-top { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 26px; padding-bottom: 34px; }
.footer-brand-block > p { max-width: 180px; margin: 13px 0 0; color: #69665e; font-size: 10px; line-height: 1.6; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column h2 { margin: 1px 0 5px; font: 700 9px var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--rose-dark); }
.footer-column a { text-decoration: none; color: #57554e; font-size: 10px; line-height: 1.5; }
.footer-column a:hover, .footer-bottom a:hover { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid #d5cbbd; padding-top: 15px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-bottom p { margin: 0; color: #6c685f; font-size: 9px; }
.footer-bottom a { color: #6c685f; font-size: 9px; text-decoration: none; }
.page-main { min-height: 60vh; }
.page-hero { max-width: var(--measure); margin: 0 auto; padding: 78px max(5vw, calc((100vw - var(--measure))/2)) 48px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 23px; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; color: #79746b; }
.breadcrumb a { color: var(--rose-dark); text-decoration: none; }
.breadcrumb span[aria-hidden="true"] { color: #b4947c; }
.page-hero h1 { font-size: clamp(46px, 6vw, 74px); margin: 0 0 17px; }
.page-hero > p:last-child { max-width: 730px; margin: 0; color: #625f57; font-size: 14px; line-height: 1.8; }
.page-content { max-width: var(--measure); margin: 0 auto; padding: 44px max(5vw, calc((100vw - var(--measure))/2)) 90px; }
.content-section { padding: 0 0 58px; scroll-margin-top: 30px; }
.content-section + .content-section { padding-top: 12px; border-top: 1px solid var(--line); }
.content-section h2 { margin: 0 0 15px; font-size: 33px; }
.content-section > p { max-width: 780px; color: #67645d; font-size: 12px; line-height: 1.85; }
.directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 25px; }
.directory-card { min-height: 185px; padding: 21px; background: var(--paper); display: flex; flex-direction: column; align-items: flex-start; }
.directory-card .card-index { color: var(--rose-dark); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.directory-card h3 { margin: 17px 0 8px; font: 500 22px/1.2 var(--serif); letter-spacing: -.025em; }
.directory-card p { max-width: 380px; margin: 0 0 15px; color: #69665f; font-size: 11px; line-height: 1.7; }
.directory-card a { margin-top: auto; color: var(--rose-dark); text-decoration: none; font-size: 10px; font-weight: 700; }
.directory-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.source-note { margin-top: 20px; color: #777268; font-size: 9px; line-height: 1.7; }
.source-note a, .prose a { color: var(--rose-dark); text-underline-offset: 2px; }
.timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 25px; margin-top: 28px; border-top: 1px solid var(--line); }
.timeline article { padding: 22px 14px 22px 0; border-bottom: 1px solid var(--line); }
.timeline time { display: block; color: var(--rose-dark); font-size: 10px; letter-spacing: .1em; font-weight: 700; }
.timeline h3 { margin: 10px 0 8px; font: 500 21px var(--serif); }
.timeline p { margin: 0; color: #68655d; font-size: 11px; line-height: 1.75; }
.resource-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 24px; }
.resource-card { padding: 18px 20px; border: 1px solid var(--line); display: block; text-decoration: none; transition: background .2s, border-color .2s; }
.resource-card:hover { background: #f0e4d8; border-color: #c5ac94; }
.resource-card strong { display: block; font: 500 20px var(--serif); margin-bottom: 6px; }
.resource-card span { display: block; color: #69665e; font-size: 10px; line-height: 1.7; }
.topic-link-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.topic-link-section h3 { margin: 0 0 8px; font: 500 25px/1.2 var(--serif); letter-spacing: -.025em; }
.topic-link-section > p { max-width: 780px; color: #67645d; font-size: 12px; line-height: 1.8; }
.topic-link-section .resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.filter-chip { padding: 8px 11px; border: 1px solid var(--line); background: transparent; color: #5e5b54; font-size: 9px; cursor: pointer; }
.filter-chip[aria-pressed="true"], .filter-chip:hover { border-color: var(--rose); background: #efe2d5; color: var(--rose-dark); }
.search-page { padding-top: 35px; }
.search-page .search-form { width: min(100%, 700px); max-width: 700px; }
.search-page h1 { font-size: clamp(42px, 5vw, 62px); margin-bottom: 15px; }
.search-summary { min-height: 20px; margin: 20px 0 5px; color: #716c63; font-size: 11px; }
.search-results-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.search-result { min-height: 150px; padding: 18px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.search-result-category { color: var(--rose-dark); text-transform: uppercase; letter-spacing: .1em; font-size: 8px; font-weight: 700; }
.search-result h2 { margin: 9px 0; font: 500 21px/1.2 var(--serif); letter-spacing: -.02em; }
.search-result h2 a { text-decoration: none; }
.search-result h2 a:hover { color: var(--rose-dark); }
.search-result p { color: #68655d; font-size: 10px; line-height: 1.7; margin: 0 0 11px; }
.search-result-source { margin-top: auto; color: var(--rose-dark); font-size: 9px; }
.search-load-more { grid-column: 1 / -1; justify-self: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.search-load-more:hover { background: var(--ink); color: #fff; }
.search-load-more:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: 3px; }
.search-empty { padding: 25px 0; color: #68655d; font-size: 12px; }
.notice-edit-note { padding: 13px 15px; background: #efe4d7; color: #676158; font-size: 10px; line-height: 1.7; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(3,1fr); }
  .footer-brand-block { grid-column: 1 / -1; }
  .directory-grid { grid-template-columns: repeat(2,1fr); }
  .topic-link-section .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .announcement-bar { min-height: 39px; gap: 8px; padding: 0 13px; font-size: 9px; }
  .announcement-label { font-size: 7px; letter-spacing: .08em; }
  .announcement-link, .announcement-toggle { font-size: 8px; }
  .announcement-toggle { padding-left: 7px; }
  .faq-preview-head { align-items: flex-start; flex-direction: column; }
  .faq-preview-list summary, .faq-page-list summary { font-size: 16px; }
  .faq-preview-list details p, .faq-page-list details p { font-size: 11px; }
  .site-footer { padding: 31px 20px 18px; }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 17px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-official { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; }
  .footer-bottom p { max-width: 72%; line-height: 1.6; }
  .page-hero { padding: 53px 20px 33px; }
  .page-content { padding: 33px 20px 65px; }
  .page-hero h1 { font-size: clamp(46px, 13vw, 65px); }
  .page-hero > p:last-child { font-size: 12px; }
  .content-section h2 { font-size: 28px; }
  .directory-grid, .timeline { grid-template-columns: 1fr; }
  .directory-card { min-height: 155px; padding: 18px; }
  .resource-grid, .search-results-grid { grid-template-columns: 1fr; }
  .topic-link-section .resource-grid { grid-template-columns: 1fr; }
  .story-ribbon a { padding: 12px 10px 12px 0; margin-right: 10px; font-size: 13px; }
  .story-ribbon a::before { margin-right: 6px; font-size: 9px; }
}

/* Page-to-page motion is a small progressive enhancement. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: page-leave 160ms ease-in both; }
  ::view-transition-new(root) { animation: page-arrive 240ms ease-out both; }
  .text-link, .light-link, .resource-card, .directory-card, .mobile-nav a, .story-ribbon a { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, text-decoration-color 180ms ease, translate 180ms ease; }
  .directory-card:hover { translate: 0 -3px; }
  .page-hero .eyebrow, .page-hero h1, .page-hero > p:last-child { animation: hero-arrive 420ms ease-out both; }
  .page-hero h1 { animation-delay: 60ms; }
  .page-hero > p:last-child { animation-delay: 110ms; }
  .hero-copy { animation: hero-arrive 500ms ease-out both; }
}
@keyframes page-leave { to { opacity: 0; } }
@keyframes page-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .page-content > .content-section { animation: section-arrive auto linear both; animation-timeline: view(); animation-range: entry 0% entry 25%; }
  }
}
@keyframes section-arrive { from { opacity: .6; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* Temple visits read like a short heritage trail. Lodging uses a practical choice layout. */
.page-main:has(#temples) #temples .directory-grid { grid-template-columns: 1fr; gap: 0; border: 0; background: transparent; counter-reset: temple-stop; }
.page-main:has(#temples) #temples .directory-card { position: relative; min-height: 0; padding: 24px 25px 24px 78px; border-bottom: 1px solid var(--line); counter-increment: temple-stop; }
.page-main:has(#temples) #temples .directory-card::before { content: counter(temple-stop, decimal-leading-zero); position: absolute; left: 16px; top: 25px; color: var(--rose-dark); font: 500 22px var(--serif); }
.page-main:has(#temples) #temples .directory-card h3 { margin-top: 10px; }
.page-main:has(#temples) #temples .directory-card p { max-width: 680px; }
#hotels .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#hotels .resource-card { position: relative; min-height: 170px; padding: 28px 24px 22px; border-top: 3px solid #687365; background: #f0ece4; }
#hotels .resource-card::before { content: "PLACES TO STAY"; display: block; margin-bottom: 12px; color: #53614e; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
#hotels .resource-card strong { font-size: 24px; }
@media (max-width: 650px) { #hotels .resource-grid { grid-template-columns: 1fr; } }

.officeholders-page { padding-top: 34px; }
.detail-page { --detail-accent: var(--rose-dark); }
.detail-places { --detail-accent: #755334; }
.detail-citylife { --detail-accent: #557365; }
.detail-people-business { --detail-accent: #7b4a72; }
.theme-sacred { --detail-accent: #8a4e48; }
.theme-fortress { --detail-accent: #755334; }
.theme-landscape { --detail-accent: #557365; }
.theme-hospitality { --detail-accent: #476778; }
.theme-dining { --detail-accent: #a45d34; }
.theme-bazaar { --detail-accent: #93683e; }
.theme-mobility { --detail-accent: #386d75; }
.theme-civic { --detail-accent: #4a6971; }
.theme-people { --detail-accent: #7b4a72; }
.theme-enterprise { --detail-accent: #735c42; }
.detail-hero { position: relative; overflow: hidden; }
.detail-hero::after { content: ""; position: absolute; right: max(5vw, calc((100vw - var(--measure))/2)); top: 66px; width: clamp(72px, 12vw, 160px); aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--detail-accent), transparent 68%); border-radius: 50%; box-shadow: 0 0 0 18px color-mix(in srgb, var(--detail-accent), transparent 93%), 0 0 0 36px color-mix(in srgb, var(--detail-accent), transparent 96%); pointer-events: none; }
.theme-sacred .detail-hero::after { border-radius: 50% 50% 8% 8%; box-shadow: 0 0 0 12px color-mix(in srgb, var(--detail-accent), transparent 91%), 0 0 0 30px color-mix(in srgb, var(--detail-accent), transparent 96%); }
.theme-fortress .detail-hero::after { border-radius: 10px; box-shadow: inset 0 0 0 12px color-mix(in srgb, var(--detail-accent), transparent 93%), 0 0 0 18px color-mix(in srgb, var(--detail-accent), transparent 93%), 0 0 0 36px color-mix(in srgb, var(--detail-accent), transparent 96%); }
.theme-landscape .detail-hero::after { border-radius: 48% 12% 48% 12%; rotate: 8deg; }
.theme-hospitality .detail-hero::after { border-radius: 50%; border-style: dashed; box-shadow: 0 0 0 8px color-mix(in srgb, var(--detail-accent), transparent 94%), 0 0 0 24px color-mix(in srgb, var(--detail-accent), transparent 96%); }
.theme-dining .detail-hero::after { border-radius: 44% 44% 12% 44%; box-shadow: 0 0 0 16px color-mix(in srgb, var(--detail-accent), transparent 93%), 0 0 0 34px color-mix(in srgb, var(--detail-accent), transparent 96%); }
.theme-bazaar .detail-hero::after { border-radius: 8px; background: repeating-linear-gradient(0deg, transparent 0 11px, color-mix(in srgb, var(--detail-accent), transparent 88%) 11px 12px), repeating-linear-gradient(90deg, transparent 0 11px, color-mix(in srgb, var(--detail-accent), transparent 88%) 11px 12px); }
.theme-mobility .detail-hero::after { border-radius: 50% 50% 12px 12px; border-width: 2px; box-shadow: 0 0 0 16px color-mix(in srgb, var(--detail-accent), transparent 93%), 0 0 0 34px color-mix(in srgb, var(--detail-accent), transparent 96%); }
.theme-civic .detail-hero::after { border-radius: 16px 16px 50% 50%; }
.theme-people .detail-hero::after { border-radius: 50%; border-style: double; border-width: 4px; }
.theme-enterprise .detail-hero::after { border-radius: 12px; rotate: 45deg; box-shadow: 0 0 0 14px color-mix(in srgb, var(--detail-accent), transparent 93%), 0 0 0 32px color-mix(in srgb, var(--detail-accent), transparent 96%); }
.theme-hospitality .detail-toc a, .theme-dining .detail-toc a { border: 1px solid color-mix(in srgb, var(--detail-accent), transparent 78%); border-radius: 999px; padding: .45rem .75rem; }
.theme-sacred .detail-story, .theme-fortress .detail-story { border-top: 2px solid color-mix(in srgb, var(--detail-accent), transparent 72%); }
.theme-landscape .good-to-know, .theme-bazaar .good-to-know, .theme-civic .good-to-know { border-left: 3px solid color-mix(in srgb, var(--detail-accent), transparent 44%); }
.detail-page .eyebrow { color: var(--detail-accent); }
.detail-page .detail-toc { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 25px; }
.detail-toc a { color: var(--detail-accent); font-size: 11px; text-underline-offset: 4px; }
.detail-story { border-left: 3px solid var(--detail-accent); padding-left: 22px; }
.detail-story p, .good-to-know p { max-width: 760px; }
.detail-faq { border-top: 1px solid var(--line); padding: 17px 0; }
.detail-faq:last-child { border-bottom: 1px solid var(--line); }
.detail-faq summary { cursor: pointer; font-weight: 650; font-size: 14px; }
.detail-faq p { margin: 12px 0 0; max-width: 760px; line-height: 1.75; color: #625f57; }
.source-list { display: flex; flex-wrap: wrap; gap: 10px 23px; padding-left: 19px; }
.source-list a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.directory-count { margin-top: 24px !important; color: var(--detail-accent) !important; }
.detail-directory-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.detail-directory-grid .resource-card { min-height: 150px; }
.detail-directory-grid .resource-card strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
@media (max-width: 900px) { .detail-directory-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 650px) { .detail-hero::after { top: 48px; right: 24px; opacity: .4; } .detail-directory-grid { grid-template-columns: 1fr; } .detail-toc { gap: 12px !important; } }
@media (prefers-reduced-motion: no-preference) { .detail-toc a { transition: color .18s ease; } .detail-toc a:hover { color: var(--ink); } }
.office-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 21px 0 0; }
.office-jump a { padding: 9px 12px; border: 1px solid var(--line); color: var(--rose-dark); font-size: 10px; font-weight: 700; text-decoration: none; transition: background-color 180ms ease, color 180ms ease; }
.office-jump a:hover, .office-jump a:focus-visible { background: #efe2d5; }
.office-section h3 { margin: 28px 0 12px; font: 500 23px var(--serif); }
.office-table-wrap { overflow-x: auto; margin: 19px 0; border: 1px solid var(--line); background: #fffdf9; }
.office-table-wrap:focus-visible { outline: 3px solid #a94f3d; outline-offset: 2px; }
.office-table { width: 100%; border-collapse: collapse; font-size: 12px; line-height: 1.55; }
.office-table caption { padding: 14px 15px; color: #615c53; text-align: left; font: 500 17px var(--serif); }
.office-table th, .office-table td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.office-table thead th { background: #eee6dc; color: var(--rose-dark); font-size: 10px; letter-spacing: .04em; }
.office-table tbody th { min-width: 180px; font-weight: 600; }
.office-table tbody tr:nth-child(even) { background: #faf6ef; }
@media (max-width: 650px) { .office-table { font-size: 11px; } .office-table th, .office-table td { padding: 9px 10px; } .office-table tbody th { min-width: 135px; } }

/* ---- Experience layer --------------------------------------------------------
   Everything below is progressive enhancement. Hidden-until-revealed states only
   apply under html.motion, which script.js sets when reduced motion is not requested. */

/* Reading progress */
.scroll-progress { position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--rose), #e8ab8e); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Ticker */
.announcement-bar.is-ticker { gap: 12px; }
.ticker-viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; text-overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-track { display: inline-flex; width: max-content; animation: ticker-scroll var(--ticker-duration, 40s) linear infinite; }
.ticker-run { display: inline-flex; align-items: center; }
.ticker-item { display: inline-flex; align-items: center; gap: 9px; padding: 6px 30px 6px 0; color: #e4dfd3; text-decoration: none; }
.ticker-item::after { content: "\2733"; color: #8a7a6a; margin-left: 30px; font-size: 9px; }
.ticker-item b { color: #e8ab8e; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.ticker-item i { font-style: normal; color: #f3b698; }
.ticker-item:hover span, .ticker-item:focus-visible span { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ticker-item.is-promo b { color: #2b211c; background: linear-gradient(90deg, #f3b698, #e8ab8e, #f3d2b8, #f3b698); background-size: 300% 100%; padding: 3px 7px; border-radius: 2px; animation: promo-shimmer 4s linear infinite; }
.ticker-item.is-promo span { color: #fff7ed; font-weight: 600; }
.announcement-bar.is-ticker:hover .ticker-track, .announcement-bar.is-ticker:focus-within .ticker-track, .announcement-bar.is-paused .ticker-track { animation-play-state: paused; }
.announcement-bar.is-paused .ticker-item.is-promo b { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@keyframes promo-shimmer { to { background-position: -300% 0; } }

/* Remotion video bands */
.motion-band { position: relative; max-width: var(--measure); margin: 0 auto 70px; padding: 0 3.4vw; }
.motion-band-frame { position: relative; overflow: hidden; aspect-ratio: 8 / 3; background: #262d29; box-shadow: 0 24px 60px -30px #3c2a2066; }
.motion-band.is-light .motion-band-frame { background: #f1e4d3; }
.motion-band video { display: block; width: 100%; height: 100%; object-fit: cover; }
.motion-band-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 6px 12px; border: 1px solid #ffffff55; background: #262d29cc; color: #f6f0e6; font-size: 10px; font-weight: 700; letter-spacing: .08em; cursor: pointer; }
.motion-band.is-light .motion-band-toggle { background: #fffdf9cc; color: var(--rose-dark); border-color: #b9543c55; }
.motion-band-toggle:hover { background: var(--rose); color: #fff; }
.motion-band-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.motion-band-caption a { color: var(--rose-dark); font-weight: 700; text-decoration: none; }
.motion-band-caption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.content-section .motion-band { padding: 0; margin: 0 0 26px; }
@media (max-width: 720px) {
  .motion-band { margin-bottom: 44px; }
  .motion-band-toggle { right: 8px; bottom: 8px; padding: 4px 9px; font-size: 9px; }
}

/* Featured technology cards */
#xgenplus-brand, #dataingenious-brand { position: relative; border-color: #b9543c66; background-color: #fdf3ea; background-image: linear-gradient(135deg, #fffdf9, #fbe7d9); }
#xgenplus-brand::before, #dataingenious-brand::before { content: "Built in Jaipur"; position: absolute; top: -9px; right: 14px; padding: 2px 8px; background: var(--rose); color: #fff7ed; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html[lang="hi"] #xgenplus-brand::before, html[lang="hi"] #dataingenious-brand::before { content: "\091C\092F\092A\0941\0930 \092E\0947\0902 \092C\0928\093E"; letter-spacing: .02em; }

@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal */
  html.motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
  html.motion [data-reveal].is-in { opacity: 1; transform: none; }
  html.motion .motion-band[data-reveal] { transform: translateY(30px) scale(.985); }
  html.motion .motion-band[data-reveal].is-in { transform: none; }
  html.motion [data-reveal].is-settled { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background-color .25s ease, color .25s ease, border-color .25s ease; transition-delay: 0s; }
  html.motion [data-reveal].is-in.is-hot { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px); }

  /* Headline words */
  html.motion .words-ready .word { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); animation: word-rise .8s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: calc(120ms + var(--w) * 75ms); }
  @keyframes word-rise { to { opacity: 1; transform: none; } }

  /* Hero: image unveils, frame slides, stamp swings in, note line draws */
  html.motion .hero-visual img { animation: hero-image-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
  html.motion .hero-visual::before { animation: frame-in 1.2s .25s cubic-bezier(.2,.7,.2,1) both; }
  html.motion .hero-stamp { animation: stamp-in .9s .7s cubic-bezier(.3,1.4,.5,1) both; }
  html.motion .note-line { transform-origin: 0 50%; animation: line-draw 1s .9s ease-out both; }
  /* The hero photo is the page's largest paint: never hide it, only let it settle. */
  @keyframes hero-image-in { from { scale: 1.06; } to { scale: 1; } }
  @keyframes frame-in { from { opacity: 0; transform: translate(-12px, 12px); } to { opacity: 1; transform: none; } }
  @keyframes stamp-in { from { opacity: 0; transform: rotate(-18deg) scale(.6); } to { opacity: 1; transform: rotate(4deg); } }
  @keyframes line-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* Eyebrow rules draw in when their block is revealed */
  html.motion [data-reveal] .eyebrow-rule { transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s .25s ease-out; }
  html.motion [data-reveal].is-in .eyebrow-rule { transform: scaleX(1); }

  /* Cards: spotlight + slight tilt following the pointer */
  .category-card, .resource-card, .directory-card, .search-result { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background-color .25s ease, color .25s ease, border-color .25s ease, opacity .7s cubic-bezier(.2,.7,.2,1); }
  .category-card.is-hot, .resource-card.is-hot, .directory-card.is-hot, .search-result.is-hot { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px); transition-delay: 0s; box-shadow: 0 18px 40px -24px #3c2a2066; }
  .resource-card.is-hot:not(#xgenplus-brand):not(#dataingenious-brand), .directory-card.is-hot, .search-result.is-hot { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), #b9543c14, transparent 45%); }
  .category-card .card-arrow { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .category-card:hover .card-arrow { transform: translate(4px, -4px) rotate(8deg); }
  .category-card .card-icon { transition: transform .6s cubic-bezier(.3,1.4,.5,1); }
  .category-card:hover .card-icon { transform: rotate(90deg) scale(1.15); }

  /* Story ribbon chips lift */
  .story-ribbon a:hover { translate: 0 -3px; }

  /* FAQ answers unfold */
  details[open] > p { animation: unfold .45s cubic-bezier(.2,.7,.2,1); }
  @keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

  /* Search suggestions drop in; the box lifts on focus */
  .search-suggestions:not([hidden]) li { animation: unfold .3s cubic-bezier(.2,.7,.2,1) both; }
  .search-suggestions li:nth-child(2) { animation-delay: 30ms; }
  .search-suggestions li:nth-child(3) { animation-delay: 60ms; }
  .search-suggestions li:nth-child(4) { animation-delay: 90ms; }
  .search-suggestions li:nth-child(n+5) { animation-delay: 120ms; }
  .search-form { transition: border .2s, box-shadow .3s, transform .3s; }
  .search-form:focus-within { transform: translateY(-1px); box-shadow: 0 0 0 3px rgb(185 84 60 / 12%), 0 14px 30px -18px #3c2a2066; }

  /* Featured technology cards: slow warm shimmer */
  #xgenplus-brand, #dataingenious-brand { background-size: 200% 200%; animation: featured-glow 6s ease-in-out infinite alternate; }
  @keyframes featured-glow { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .ticker-item.is-promo b { animation: none; }
}

/* The rotated hero stamp can poke a few px past the viewport edge. */
body { overflow-x: clip; }
