* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; line-height: 1.55; scroll-behavior: smooth; }
.maskan { --ink: #172625; --muted: #4d615d; --paper: #f9f8f3; --white: #fffefa; --primary: #123d36; --accent: #d7edbc; --line: #d6dfd4; --tint: #e7eee2; }
.tisetan { --ink: #23322a; --muted: #4f6257; --paper: #f7f6ed; --white: #fffef9; --primary: #294837; --accent: #e3eda9; --line: #d9dece; --tint: #ecf0dd; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--primary); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: .14em; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, audio:focus-visible { outline: .18rem solid #a85825; outline-offset: .25rem; }
[hidden] { display: none !important; }
.skip { position: absolute; transform: translateY(-150%); z-index: 3; background: var(--white); padding: .7rem 1rem; }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 4.7rem; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; gap: .68rem; align-items: center; font-weight: 750; color: var(--ink); letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.mark { background: var(--primary); color: var(--accent); font-family: Georgia, serif; font-size: .79rem; letter-spacing: .03em; border-radius: 50%; display: grid; width: 2rem; height: 2rem; place-items: center; }
nav { display: flex; gap: clamp(.85rem, 3vw, 2rem); align-items: center; flex-wrap: wrap; }
nav a { font-size: .9rem; font-weight: 650; color: inherit; text-decoration: none; }
nav a:hover { text-decoration: underline; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 8.6vw, 7.5rem); line-height: .96; margin-bottom: 1.35rem; }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); line-height: 1.06; margin-bottom: .85rem; }
h3 { font-size: 1.32rem; letter-spacing: -.034em; line-height: 1.24; margin-bottom: .6rem; }
.eyebrow { font-size: .875rem; line-height: 1.4; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .9rem; }
.lede { font-size: clamp(1.13rem, 2.2vw, 1.38rem); line-height: 1.45; color: var(--muted); max-width: 39rem; }
.section { padding-block: clamp(3rem, 7vw, 6.25rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.1rem; margin-bottom: 1.6rem; }
.section-head h2, .section-lead p:last-child { margin-bottom: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 2.85rem; border: 0; border-radius: .25rem; background: var(--primary); color: var(--white); font-weight: 730; font-size: .94rem; text-decoration: none; padding: .72rem 1.15rem; cursor: pointer; }
.button:hover { filter: brightness(1.18); }
.button.secondary { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.fine { margin-top: 1.15rem; font-size: .9rem; color: var(--muted); max-width: 65ch; }
.maskan-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(30rem, 62vw, 46rem); color: #fffbee; overflow: hidden; background: #193732; }
.maskan-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; z-index: -2; }
.maskan-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #102524f5 0%, #142c2ba3 44%, #13292713 90%), linear-gradient(0deg,#172525a0,transparent 58%); }
.hero-inner { padding-block: 4.5rem clamp(3.5rem, 8vw, 6.5rem); }
.maskan-hero .eyebrow { color: #d8ebb9; }
.maskan-hero .lede { color: #fff8df; max-width: 34rem; }
.hero-button { background: var(--accent); color: #183229; }
.tour-grid, .guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); gap: 1rem; }
.tour-card, .guide-grid a { border: 1px solid var(--line); background: var(--white); padding: clamp(1.25rem, 3vw, 1.8rem); border-radius: .4rem; }
.tour-card { display: flex; flex-direction: column; align-items: start; }
.tour-card .eyebrow { color: var(--muted); margin-bottom: .65rem; }
.tour-card .button { margin-top: auto; }
.facts { display: flex; flex-wrap: wrap; padding: 0; margin: .25rem 0 1rem; list-style: none; gap: .4rem; }
.facts li { font-size: .88rem; background: var(--tint); color: var(--primary); border-radius: 2rem; padding: .3rem .66rem; }
.filter-group { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter-group button { padding: .44rem .75rem; border: 1px solid var(--line); border-radius: 2rem; background: var(--white); color: var(--primary); cursor: pointer; font-size: .88rem; }
.filter-group button[aria-pressed=true] { border-color: var(--primary); background: var(--primary); color: var(--white); }
.planner-section, .sample-section { background: var(--tint); }
.planner-grid, .two-col, .product-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 5vw, 4.5rem); align-items: start; }
.planner { padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: .45rem; }
.planner label { display: grid; gap: .35rem; align-content: start; font-size: .91rem; font-weight: 650; }
.planner input { display: block; min-width: 0; width: 100%; min-height: 2.75rem; padding: .55rem .65rem; border: 1px solid #9fae9f; border-radius: .22rem; background: #fff; color: var(--ink); }
.input-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .9rem; margin-block: 1rem; }
output { display: block; color: var(--primary); font-weight: 650; }
output:not(:empty) { margin-top: .9rem; }
.guide-grid { padding: 0; margin: 0; list-style: none; }
.guide-grid a { color: inherit; text-decoration: none; display: block; height: 100%; }
.guide-grid a:hover { border-color: var(--primary); }
.guide-grid p { margin-bottom: 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.55rem; }
.footer-inner p { margin: .65rem 0 0; font-size: .92rem; color: var(--muted); }
.article { max-width: 51rem; padding-block: clamp(3rem, 7vw, 5rem); }
.article h1 { margin-top: .8rem; font-size: clamp(2.75rem, 6vw, 5.2rem); }
.article h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-top: 2rem; }
.article section { margin-block: 1.8rem; }
.back-link { font-size: .93rem; }
.tis-hero { border-bottom: 1px solid var(--line); }
.tis-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(1.5rem, 5vw, 5.25rem); padding-block: clamp(3rem, 10vw, 8rem); }
.tis-hero h1 { color: var(--primary); }
.tis-hero .facts { margin-top: 1.65rem; }
.route-preview { min-width: 0; padding: .3rem; }
.route-paper { position: relative; overflow: hidden; aspect-ratio: 1 / .94; min-height: 20rem; background: repeating-linear-gradient(32deg,#ffffff1a 0 1px,transparent 1px 17px), #355344; color: #f1f3ce; border-radius: .45rem; box-shadow: .75rem .75rem 0 #e1e9c3; }
.route-paper > p { position: absolute; z-index: 2; top: 1.4rem; left: 1.45rem; right: 1.4rem; font: 1.4rem Georgia, serif; }
.route-paper::before, .route-paper::after { content: ''; position: absolute; width: 118%; height: 72%; border: .13rem solid #aabfa277; border-radius: 42% 52% 42% 52%; transform: rotate(38deg); }
.route-paper::before { inset: 6% 0 auto -12%; }
.route-paper::after { inset: 23% 0 auto -13%; }
.route-ribbon { position: absolute; left: 23%; top: 26%; width: 53%; height: 44%; border: .2rem dashed #e2ec9c; border-right-color: transparent; border-bottom-left-radius: 42%; border-top-left-radius: 58%; transform: rotate(-35deg); z-index: 1; }
.route-pin { position: absolute; width: .72rem; height: .72rem; border: .14rem solid #e8efb5; border-radius: 50%; background: #283f34; z-index: 2; }
.route-pin-a { left: 45%; top: 29%; }.route-pin-b { left: 29%; top: 46%; }.route-pin-c { left: 32%; top: 67%; }.route-pin-d { left: 59%; top: 65%; }
.route-caption { position: absolute; left: 1.45rem; right: 1.4rem; bottom: 1.2rem; font-size: .88rem; }
.route-list { margin: 0; padding: 0; list-style: none; counter-reset: stops; border-top: 1px solid var(--line); }
.route-list li { counter-increment: stops; min-height: 3.12rem; display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid var(--line); }
.route-list li::before, .stop-badge { border-radius: 50%; background: var(--primary); color: var(--accent); font-size: .86rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; }
.route-list li::before { content: counter(stops, decimal-leading-zero); margin-left: .2rem; }
.audio-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,24rem),1fr)); gap: 1rem; }
.audio-stop { display: grid; grid-template-columns: 1.8rem minmax(0,1fr); gap: .7rem; border: 1px solid var(--line); background: var(--white); padding: clamp(1rem, 2.5vw, 1.6rem); border-radius: .4rem; }
.audio-stop audio { display: block; width: 100%; margin-block: .8rem; }
.audio-stop summary { cursor: pointer; font-weight: 650; }
.audio-stop details p { margin: .5rem 0; }
.text-link { font-size: .9rem; display: inline-block; margin-top: .65rem; }
.product-panel { border: 1px solid var(--line); background: var(--white); padding: clamp(1.5rem, 5vw, 3rem); align-items: center; border-radius: .4rem; }
.product-panel p:last-child { margin-bottom: 0; }
.product-action { justify-self: end; }
.availability { margin-bottom: .65rem; color: var(--muted); }
@media (max-width: 46rem) {
  .planner-grid, .two-col, .product-panel, .tis-hero-grid { grid-template-columns: 1fr; }
  .product-action { justify-self: start; }
  .route-preview { max-width: 29rem; }
  .maskan-hero::after { background: linear-gradient(90deg,#102524e8,#142c2b65),linear-gradient(0deg,#172525b0,transparent 52%); }
}
@media (max-width: 32rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner, .footer-inner { align-items: start; flex-direction: column; gap: .75rem; padding-block: 1rem; }
  .header-inner nav a { font-size: .875rem; }
  .route-paper { min-height: 16rem; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
