/*
Theme Name: Ashiato Hotel
Theme URI: https://github.com/oberonlai/shippress-themes/tree/main/themes/ashiato-hotel
Author: ShipPress
Author URI: https://github.com/oberonlai/shippress-themes
Description: Ashiato Hotel is a serene WordPress theme crafted for dog-friendly seaside guesthouses, inspired by clean Japanese hospitality aesthetics. It features an inset photo hero window with gentle cross-fading imagery, pale sage paw-print trails, quick-answer FAQ cards, and structured rates tables. Designed with accessible sans typography and dedicated dog-stay block patterns, it presents a calm, practical home for hotels where dogs are welcomed as true guests.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ashiato-hotel
Tags: travel, block-patterns, full-site-editing, blog, custom-colors, editor-style, translation-ready, wide-blocks, block-styles
*/

:root {
	--ah-pad: 32px;
	--ah-wrap: 1376px;
	--ah-paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23769E6F'%3E%3Cellipse cx='13' cy='27' rx='6' ry='8' transform='rotate(-22 13 27)'/%3E%3Cellipse cx='25.5' cy='15' rx='6.5' ry='9' transform='rotate(-8 25.5 15)'/%3E%3Cellipse cx='40.5' cy='15' rx='6.5' ry='9' transform='rotate(8 40.5 15)'/%3E%3Cellipse cx='53' cy='27' rx='6' ry='8' transform='rotate(22 53 27)'/%3E%3Cpath d='M32 29c-9 0-17 8-17 17 0 6 5 9.500 10 9.500 3 0 4.500-1.500 7-1.500s4 1.500 7 1.500c5 0 10-3.500 10-9.500 0-9-8-17-17-17z'/%3E%3C/g%3E%3C/svg%3E");
	--sp-form-accent: var(--wp--preset--color--deep-sage);
	--sp-form-on-accent: var(--wp--preset--color--base);
	--sp-form-radius: 9px;
	--sp-form-focus: var(--wp--preset--color--sage);
	--sp-form-surface: var(--wp--preset--color--base);
	--sp-form-text: var(--wp--preset--color--ink);
	--sp-form-border: var(--wp--preset--color--rule);
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
:lang(zh) { line-height: 1.85; letter-spacing: .04em; }
:lang(ja) { line-height: 1.85; letter-spacing: .04em; }
/* check-themes reads these preset names. Display lists the bundled Noto Sans TC; body stays on system Traditional Chinese faces. lexend and public-sans are the stacks the theme uses. */
:root:lang(zh) {
	--wp--preset--font-family--display: "Lexend", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
	--wp--preset--font-family--body: "Public Sans", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif;
	--wp--preset--font-family--lexend: "Lexend", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
	--wp--preset--font-family--public-sans: "Public Sans", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif;
}
:root:lang(ja) { --wp--preset--font-family--lexend: "Lexend", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; --wp--preset--font-family--public-sans: "Public Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", sans-serif; }
:root:lang(fr) body, :root:lang(de) body { hyphens: auto; }
.wp-site-blocks > * { margin-block: 0; }
.ah-main, .ah-main > * { margin-block: 0; }
.ah-main p, .ah-inner p, .ah-article p { margin: 0 0 1.1em; }
.ah-main p:last-child, .ah-inner p:last-child { margin-bottom: 0; }
.ah-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ah-main a, .ah-inner a { text-underline-offset: 3px; }
.ah-h2 { font-size: 2.5rem; line-height: 1.25; font-weight: 300; margin: 0 0 1.2rem; letter-spacing: -.005em; }
.ah-h2--large { font-size: 3.125rem; line-height: 1.2; }
.ah-h2--letter { font-size: 2.25rem; }
.ah-label { font-family: var(--wp--preset--font-family--public-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--deep-sage); line-height: 1.4; margin: 0 0 14px; }
.ah-main .ah-more { font-weight: 600; margin: 32px 0 0; }
.ah-more a { color: var(--wp--preset--color--deep-sage); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .5s ease; }
.ah-more a:hover { color: var(--wp--preset--color--sage); }

/* ---------- header (S1) ---------- */
.ah-head-part { position: relative; z-index: 20; }
.ah-head { display: flex; align-items: center; gap: 24px; height: 100px; padding: 0 50px; background: rgba(255, 255, 255, .96); }
.ah-logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--wp--preset--color--ink); flex: none; white-space: nowrap; }
.ah-logo__paw { align-self: center; width: 26px; height: 26px; color: var(--wp--preset--color--sage); }
.ah-logo__t { font-family: var(--wp--preset--font-family--lexend); font-weight: 300; font-size: 1.75rem; line-height: 1; letter-spacing: -.005em; }
.ah-logo__s { font-family: var(--wp--preset--font-family--public-sans); font-weight: 600; font-size: .75rem; letter-spacing: .2em; }
.ah-nav { margin-left: 18px; }
.ah-nav .wp-block-navigation__container { gap: 36px; }
.ah-head .ah-nav.wp-block-navigation a.wp-block-navigation-item__content, .ah-head .ah-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--deep-sage); text-decoration: none; transition: color .5s ease; }
.ah-head .ah-nav.wp-block-navigation a.wp-block-navigation-item__content:hover { color: var(--wp--preset--color--sage); }
.ah-head .ah-head__cta { margin: 0 0 0 auto; }
.ah-head .ah-pill .wp-block-button__link { height: 46px; padding: 0 24px; }

/* pill (button) */
.ah-pill-wrap { margin: 28px 0 0; }
.ah-pill .wp-block-button__link { display: inline-flex; align-items: center; height: 52px; padding: 0 28px; border-radius: 999px; background: var(--wp--preset--color--deep-sage); color: #fff; font-size: 1rem; font-weight: 600; letter-spacing: .04em; line-height: 1; text-decoration: none; border: 0; transition: background-color .5s ease, color .5s ease; }
.ah-pill .wp-block-button__link:hover { background: var(--wp--preset--color--sage); color: var(--wp--preset--color--ink); }

/* ---------- hero: T1 window, T2 paws, T3 cross-fade ---------- */
.ah-hero { position: relative; overflow: clip; max-width: 1440px; margin: 0 auto; padding: 0 var(--ah-pad) 40px; }
.ah-hero__grid { display: grid; grid-template-columns: minmax(0, 884fr) minmax(0, 444fr); column-gap: 48px; grid-template-areas: "win intro" "dots ." "tiles ."; align-items: start; }
.ah-window { grid-area: win; position: relative; aspect-ratio: 884 / 520; border-radius: 18px; overflow: clip; background: var(--wp--preset--color--pale-sage); --sp-par: 6%; margin: 0; }
.ah-slides { position: absolute; inset: 0; margin: 0; }
.ah-slide { position: absolute; inset: 0; margin: 0; }
.ah-slide:not(:first-child) { display: none; }
.ah-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ah-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(28, 36, 27, .42) 0%, rgba(28, 36, 27, 0) 55%), rgba(28, 36, 27, .10); pointer-events: none; }
.ah-hero__copy { position: absolute; z-index: 2; left: 60px; top: 48px; right: 60px; color: #fff; }
.ah-hero__h1 { margin: 0; font-size: 5.5rem; line-height: 1.02; font-weight: 300; letter-spacing: -.01em; color: #fff; }
.ah-hero__sub { margin: 16px 0 0 !important; max-width: 440px; text-shadow: 0 1px 3px rgba(28, 36, 27, .45), 0 1px 18px rgba(28, 36, 27, .4); font-family: var(--wp--preset--font-family--public-sans); font-size: 1.5rem; line-height: 1.4; font-weight: 600; letter-spacing: .12em; color: #fff; }
.ah-dots { grid-area: dots; list-style: none; display: flex; justify-content: flex-end; gap: 10px; margin: 16px 0 0; padding: 0; }
.ah-dots li { width: 10px; height: 10px; border-radius: 50%; background: var(--wp--preset--color--rule); position: relative; margin: 0; }
.ah-dots li:first-child { background: var(--wp--preset--color--sage); }
.ah-intro { grid-area: intro; max-width: 360px; padding-top: 50px; }
.ah-eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--deep-sage); line-height: 1.5; margin: 0 0 16px; }
.ah-lede { font-family: var(--wp--preset--font-family--lexend); font-size: 1.75rem; font-weight: 300; line-height: 1.45; margin: 0 0 18px; color: var(--wp--preset--color--ink); }
.ah-intro__p { color: var(--wp--preset--color--body); margin: 0 !important; }
.ah-intro .ah-pill-wrap { margin-top: 26px; }
.ah-desk { font-size: .875rem; line-height: 1.6; color: var(--wp--preset--color--muted); margin: 16px 0 0 !important; }
.ah-paw { display: block; width: 68px; height: 68px; color: var(--wp--preset--color--pale-sage); }
.ah-paws { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ah-paws .ah-paw { position: absolute; }
.ah-paws .ah-paw:nth-child(1) { left: 64.03%; top: 526px; rotate: -18deg; }
.ah-paws .ah-paw:nth-child(2) { left: 70.28%; top: 582px; rotate: 12deg; }
.ah-paws .ah-paw:nth-child(3) { left: 74.86%; top: 656px; rotate: -14deg; }
.ah-paws .ah-paw:nth-child(4) { left: 81.25%; top: 712px; rotate: 16deg; }
.ah-tiles { grid-area: tiles; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 22px; }
.ah-tile { display: flex; flex-direction: column; min-height: 196px; padding: 24px; border-radius: 9px; background: var(--wp--preset--color--pale-sage); }
.ah-main .ah-tile p { margin: 0; }
.ah-tile__q { font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--wp--preset--color--deep-sage); }
.ah-tile__a { font-family: var(--wp--preset--font-family--lexend); font-size: 2.25rem; font-weight: 300; line-height: 1.1; letter-spacing: -.02em; margin-top: 14px !important; }
.ah-tile__x { font-size: .9375rem; line-height: 1.5; margin-top: 8px !important; color: var(--wp--preset--color--body); }
.ah-tile__l { margin-top: auto !important; padding-top: 12px; font-size: .875rem; font-weight: 600; }
.ah-tile__l a { color: var(--wp--preset--color--deep-sage); text-decoration: none; border-bottom: 1px solid currentColor; }

/* T3: four moments, 3.0 s + 0.5 s fade, 14 s cycle. The first photograph stays underneath; the other three fade in over each
   other and fade out together, so the loop returns to it. Only when the scroll script ran and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
	html.sp-js:not(.sp-no-motion) .ah-slide--alt { display: block; opacity: 0; visibility: hidden; }
	html.sp-js:not(.sp-no-motion) .ah-slide:nth-child(2) { animation: ah-fade-2 14s ease infinite; }
	html.sp-js:not(.sp-no-motion) .ah-slide:nth-child(3) { animation: ah-fade-3 14s ease infinite; }
	html.sp-js:not(.sp-no-motion) .ah-slide:nth-child(4) { animation: ah-fade-4 14s ease infinite; }
	html.sp-js:not(.sp-no-motion) .ah-dots li { animation: ah-dot 14s linear infinite; }
	html.sp-js:not(.sp-no-motion) .ah-dots li:nth-child(2) { animation-delay: -10.5s; }
	html.sp-js:not(.sp-no-motion) .ah-dots li:nth-child(3) { animation-delay: -7s; }
	html.sp-js:not(.sp-no-motion) .ah-dots li:nth-child(4) { animation-delay: -3.5s; }
}
@keyframes ah-fade-2 { 0%, 21.43% { opacity: 0; visibility: hidden; } 25%, 96.43% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: visible; } }
@keyframes ah-fade-3 { 0%, 46.43% { opacity: 0; visibility: hidden; } 50%, 96.43% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: visible; } }
@keyframes ah-fade-4 { 0%, 71.43% { opacity: 0; visibility: hidden; } 75%, 96.43% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: visible; } }
@keyframes ah-dot { 0%, 24.99% { background: #769E6F; } 25%, 100% { background: #C8C8C8; } }

/* ---------- sections ---------- */
.ah-sec { position: relative; padding: 120px max(var(--ah-pad), calc((100% - var(--ah-wrap)) / 2)); }
.ah-welcome__grid { display: grid; grid-template-columns: 418px minmax(0, 760px); justify-content: space-between; gap: 48px; align-items: start; }
.ah-welcome__text { padding-left: 58px; max-width: 418px; }
.ah-welcome__text .ah-h2 { margin-bottom: 1.6rem; }
.ah-welcome__text p { color: var(--wp--preset--color--body); }
.ah-welcome__media { position: sticky; top: 40px; }
@media (min-width: 1024px) {
	.ah-welcome__grid { align-items: stretch; }
	.ah-welcome__media { position: static; display: flex; flex-direction: column; }
	.ah-welcome__media .ah-welcome__img { flex: 1 1 auto; min-height: 0; }
	.ah-welcome__media .ah-welcome__img img { height: 100% !important; aspect-ratio: auto !important; object-fit: cover; }
	.ah-welcome__media .ah-figs { flex: 0 0 auto; }
}
.ah-welcome__img, .ah-room__img, .ah-stay__img, .ah-faq__img { margin: 0; }
.ah-welcome__img img, .ah-stay__img img { display: block; width: 100%; border-radius: 18px; }
.ah-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.ah-fig__n { font-family: var(--wp--preset--font-family--lexend); font-size: 3rem; font-weight: 300; line-height: 1.1; color: var(--wp--preset--color--deep-sage); margin: 0 !important; }
.ah-fig__l { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; line-height: 1.4; margin: 6px 0 0 !important; color: var(--wp--preset--color--ink); }

/* trails between blocks (T2 continuation) */
.ah-trail { position: absolute; z-index: 3; width: 260px; height: 160px; pointer-events: none; }
.ah-trail .ah-paw { position: absolute; width: 48px; height: 48px; }
.ah-trail--dr .ah-paw:nth-child(1) { left: 0; top: 0; rotate: -14deg; }
.ah-trail--dr .ah-paw:nth-child(2) { left: 66px; top: 36px; rotate: 12deg; }
.ah-trail--dr .ah-paw:nth-child(3) { left: 132px; top: 72px; rotate: -14deg; }
.ah-trail--dr .ah-paw:nth-child(4) { left: 198px; top: 108px; rotate: 16deg; }
.ah-trail--dl .ah-paw:nth-child(1) { left: 198px; top: 0; rotate: 14deg; }
.ah-trail--dl .ah-paw:nth-child(2) { left: 132px; top: 36px; rotate: -12deg; }
.ah-trail--dl .ah-paw:nth-child(3) { left: 66px; top: 72px; rotate: 14deg; }
.ah-trail--dl .ah-paw:nth-child(4) { left: 0; top: 108px; rotate: -16deg; }
.ah-welcome .ah-trail { left: 34%; bottom: -84px; }
.ah-runwrap .ah-trail { right: 84px; bottom: -112px; }
.ah-register .ah-trail { left: 20%; bottom: -84px; }

.ah-rooms { background: var(--wp--preset--color--wash); }
.ah-rooms__in { max-width: var(--ah-wrap); margin: 0 auto; }
.ah-rooms__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; padding-left: 58px; }
.ah-rooms__head .ah-h2 { margin: 0; }
.ah-rooms__lede { margin: 0 !important; max-width: 360px; color: var(--wp--preset--color--body); }
.ah-room { display: grid; grid-template-columns: 400px minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 40px 0; border-top: 1px solid var(--wp--preset--color--rule); }
.ah-room:last-child { border-bottom: 1px solid var(--wp--preset--color--rule); }
.ah-room__img { border-radius: 9px; overflow: clip; aspect-ratio: 4 / 3; }
.ah-room__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.215, .61, .355, 1); }
.ah-room:hover .ah-room__img img { transform: scale(1.04); }
.ah-room__n { font-family: var(--wp--preset--font-family--lexend); font-size: 1.5rem; font-weight: 400; line-height: 1.4; margin: 0 0 8px; }
.ah-room__d { max-width: 540px; color: var(--wp--preset--color--body); margin: 0 !important; }
.ah-room__p { font-family: var(--wp--preset--font-family--lexend); font-size: 1.75rem; font-weight: 300; white-space: nowrap; text-align: right; margin: 0 !important; }
.ah-room__p span { font-family: var(--wp--preset--font-family--public-sans); font-size: 1rem; color: var(--wp--preset--color--muted); }
.ah-rooms .ah-more { padding-left: 0; }

/* dog-run window with parallax */
.ah-runwrap { position: relative; padding: 120px max(var(--ah-pad), calc((100% - var(--ah-wrap)) / 2)) 0; }
.ah-run { --sp-par: 10%; min-height: 640px; border-radius: 18px; overflow: clip; align-items: flex-end !important; justify-content: flex-start !important; padding: 60px !important; }
.ah-run .wp-block-cover__inner-container { width: auto; }
.ah-run__card { width: 420px; max-width: 100%; padding: 32px; border-radius: 9px; background: #fff; color: var(--wp--preset--color--ink); }
.ah-run__h { font-size: 2rem; line-height: 1.25; margin: 0 0 16px; }
.ah-run__card p:last-child { color: var(--wp--preset--color--body); font-size: .9375rem; line-height: 1.8; }

/* the stay */
.ah-stay__top { display: grid; grid-template-columns: 600px minmax(0, 1fr); gap: 80px; align-items: center; }
.ah-stay__img img { border-radius: 9px; }
.ah-incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.ah-incl li { position: relative; margin: 0; padding: 20px 0 20px 30px; border-top: 1px solid var(--wp--preset--color--rule); line-height: 1.5; }
.ah-incl li::before { content: ""; position: absolute; left: 0; top: 22px; width: 16px; height: 16px; background: var(--ah-paw) center / contain no-repeat; }
.ah-stay__rates { margin-top: 88px; }
.ah-rates__h { margin-bottom: 8px; }
.ah-rates { margin: 0; }
.ah-rates table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; border: 0; }
.ah-rates th { padding: 14px 16px 14px 0; text-align: left; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--deep-sage); border: 0; border-bottom: 1px solid var(--wp--preset--color--ink); }
.ah-rates td { padding: 20px 16px 20px 0; border: 0; border-bottom: 1px solid var(--wp--preset--color--rule); vertical-align: middle; line-height: 1.5; }
.ah-rates td:first-child { font-family: var(--wp--preset--font-family--lexend); font-weight: 400; font-size: 1.125rem; white-space: nowrap; }
.ah-rates td:last-child, .ah-rates th:last-child { width: 1%; white-space: nowrap; text-align: right; padding-right: 0; }
.ah-rates td:last-child { font-family: var(--wp--preset--font-family--lexend); font-weight: 300; font-size: 1.375rem; }
.ah-note { margin: 24px 0 0 !important; font-size: .9375rem; color: var(--wp--preset--color--muted); }

/* FAQ band */
.ah-faq { background: var(--wp--preset--color--pale-sage); }
.ah-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.ah-faq__side p { color: var(--wp--preset--color--body); }
.ah-faq__img { max-width: 440px; margin-top: 32px; }
.ah-faq__img img { display: block; width: 100%; border-radius: 18px; }
.ah-qa { background: #fff; border-radius: 9px; padding: 24px; margin: 0 0 12px; }
.ah-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-family: var(--wp--preset--font-family--lexend); font-size: 1.25rem; font-weight: 400; line-height: 1.4; }
.ah-qa summary::-webkit-details-marker { display: none; }
.ah-qa summary::after { content: ""; flex: none; width: 20px; height: 20px; background: var(--ah-paw) center / contain no-repeat; transition: rotate .5s ease; }
.ah-qa[open] summary::after { rotate: 20deg; }
.ah-qa p { margin: 14px 0 0 !important; color: var(--wp--preset--color--body); }

/* register */
.ah-register__head { margin-bottom: 48px; }
.ah-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.ah-story { border-top: 1px solid var(--wp--preset--color--rule); padding-top: 28px; }
.ah-story__q { font-family: var(--wp--preset--font-family--lexend); font-size: 1.375rem; font-weight: 300; line-height: 1.5; margin: 0 0 20px !important; }
.ah-story__n { font-size: .875rem; font-weight: 600; line-height: 1.6; color: var(--wp--preset--color--deep-sage); }
.ah-story__n span { font-weight: 400; color: var(--wp--preset--color--muted); }

/* book */
.ah-book { background: var(--wp--preset--color--wash); }
.ah-book__grid { display: grid; grid-template-columns: 418px minmax(0, 760px); justify-content: space-between; gap: 48px; align-items: start; }
.ah-book__side { padding-left: 58px; }
.ah-step { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--wp--preset--color--rule); }
.ah-step__n { font-family: var(--wp--preset--font-family--lexend); font-size: 1.5rem; font-weight: 400; line-height: 1.4; margin: 0; }
.ah-step p { margin: 0 !important; color: var(--wp--preset--color--body); }

/* journal */
.ah-journal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.ah-journal__head .ah-h2 { margin: 0; }
.ah-main .ah-journal__head .ah-more { margin: 0; }
.ah-posts { list-style: none; margin: 0; padding: 0; }
.ah-posts > li { margin: 0; }
.ah-post { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px 0; border-top: 1px solid var(--wp--preset--color--rule); }
.ah-posts > li:last-child .ah-post { border-bottom: 1px solid var(--wp--preset--color--rule); }
.ah-post__img { margin: 0; border-radius: 9px; overflow: clip; }
.ah-post__img img { display: block; width: 100%; transition: transform 1s cubic-bezier(.215, .61, .355, 1); }
.ah-post:hover .ah-post__img img { transform: scale(1.04); }
.ah-post__d { font-size: .875rem; color: var(--wp--preset--color--muted); margin: 0 0 6px !important; }
.ah-post__t { font-family: var(--wp--preset--font-family--lexend); font-size: 1.375rem !important; font-weight: 400; line-height: 1.4; margin: 0 0 6px; }
.ah-post__t a { color: var(--wp--preset--color--ink); text-decoration: none; transition: color .5s ease; }
.ah-post__t a:hover { color: var(--wp--preset--color--deep-sage); }
.ah-post__x { margin: 0 !important; color: var(--wp--preset--color--body); font-size: .9375rem; line-height: 1.7; }
.ah-post__x p { margin: 0; }

/* letter (newsletter band) */
.ah-letter { background: var(--wp--preset--color--pale-sage); padding-block: 96px; }
.ah-letter__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.ah-letter__text p { color: var(--wp--preset--color--body); margin: 0; }
.sp-form-slot { max-width: 560px; }
.sp-newsletter-fallback { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: end; }
.sp-newsletter-fallback label { grid-column: 1 / -1; margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--deep-sage); }
.sp-newsletter-fallback input[type="email"] { height: 52px; padding: 0 18px; border: 1px solid var(--wp--preset--color--rule); border-radius: 9px; background: #fff; font-size: 1rem; }
.sp-newsletter-fallback input[type="email"]:focus-visible { border-color: var(--wp--preset--color--deep-sage); outline: 2px solid var(--wp--preset--color--sage); outline-offset: 2px; }
.sp-newsletter-fallback button[type="submit"] { height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--wp--preset--color--deep-sage); color: #fff; font-weight: 600; letter-spacing: .04em; transition: background-color .5s ease, color .5s ease; }
.sp-newsletter-fallback button[type="submit"]:hover { background: var(--wp--preset--color--sage); color: var(--wp--preset--color--ink); }
.sp-newsletter-fallback p { grid-column: 1 / -1; margin: 6px 0 0; font-size: .875rem; line-height: 1.6; color: var(--wp--preset--color--body); }
.ah-foot, .ah-foot .sp-form-slot { --sp-form-surface: rgba(255, 255, 255, .55); --sp-form-text: var(--wp--preset--color--ink); --sp-form-accent: var(--wp--preset--color--ink); --sp-form-on-accent: #fff; --sp-form-focus: var(--wp--preset--color--ink); --sp-form-border: rgba(35, 42, 34, .4); }

/* footer */
.ah-foot { background: var(--wp--preset--color--sage-row); color: var(--wp--preset--color--ink); padding: 88px max(var(--ah-pad), calc((100% - var(--ah-wrap)) / 2)) 40px; }
.ah-foot a { color: var(--wp--preset--color--ink); text-underline-offset: 3px; }
.ah-foot p { margin: 0 0 .6em; line-height: 1.8; }
.ah-foot__logo { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px !important; }
.ah-foot__logo .ah-logo__paw { color: var(--wp--preset--color--base); }
.ah-foot__tag { font-family: var(--wp--preset--font-family--lexend); font-weight: 300; font-size: 1.375rem; line-height: 1.45; max-width: 360px; }
.ah-foot__in > .wp-block-group:first-child { margin-bottom: 48px; }
.ah-foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.ah-foot__h { font-family: var(--wp--preset--font-family--public-sans); font-size: .8125rem !important; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; color: var(--wp--preset--color--ink); }
.ah-foot__index { line-height: 2 !important; }
.ah-foot__trail { display: flex; align-items: center; gap: 22px; margin: 48px 0 24px; }
.ah-foot__trail .ah-paw { width: 40px; height: 40px; color: var(--wp--preset--color--paw-on-sage); }
.ah-foot__trail .ah-paw:nth-child(odd) { rotate: -14deg; translate: 0 6px; }
.ah-foot__trail .ah-paw:nth-child(even) { rotate: 14deg; }
.ah-foot__legal { font-size: .875rem; margin: 0 !important; }

/* ---------- inner pages (T1 continued; stage 2 completes them) ---------- */
.ah-inner { padding: 0 var(--ah-pad) 100px; max-width: 1440px; margin: 0 auto; position: relative; }
.ah-window--inner { aspect-ratio: auto; height: clamp(420px, 56vh, 560px); margin: 0; }
.ah-window--inner .ah-inner__img { position: absolute; inset: 0; margin: 0; }
.ah-window--inner .ah-inner__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ah-hero__h1--inner { font-size: 4.25rem; line-height: 1.05; }
.ah-window--plain { height: 320px; background: var(--wp--preset--color--pale-sage); }
.ah-window--plain .ah-hero__copy, .ah-window--plain .ah-hero__h1, .ah-window--plain .ah-hero__sub { color: var(--wp--preset--color--ink); }
.ah-window--plain .ah-hero__h1 { font-size: 4.25rem; }
.ah-window--inner .ah-hero__sub { font-size: 1.125rem; }
.ah-paws--inner { position: static; display: flex; justify-content: flex-end; gap: 22px; padding-right: 120px; margin-top: 16px; pointer-events: none; }
.ah-paws--inner .ah-paw { position: static; width: 56px; height: 56px; }
.ah-paws--inner .ah-paw:nth-child(1) { rotate: -16deg; }
.ah-paws--inner .ah-paw:nth-child(2) { rotate: 12deg; translate: 0 22px; }
.ah-paws--inner .ah-paw:nth-child(3) { rotate: -12deg; translate: 0 44px; }
.ah-inner__intro { margin: 40px 0 0 58px; max-width: 420px; }
.ah-lede--inner { font-size: 1.375rem; line-height: 1.55; }
.ah-form-wrap { max-width: 640px; margin-top: 32px; }
.ah-form-wrap--letter { max-width: 560px; }
.ah-listing { padding: 80px var(--ah-pad) 0; max-width: 1440px; margin: 0 auto; }
.ah-article { padding: 80px var(--ah-pad) 100px; }
.ah-col { max-width: 760px; margin: 0 auto; }
.ah-h1 { font-size: 3.125rem; line-height: 1.15; }
.ah-pager { margin-top: 40px; gap: 16px; }
.ah-tags { margin-top: 32px; font-size: .9375rem; }

/* ---------- tablet ---------- */
@media (max-width: 1099px) {
	.ah-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.ah-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.ah-nav { margin-left: auto; }
	.ah-head .ah-head__cta { margin-left: 0; }
}
@media (max-width: 1023px) {
	.ah-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "win" "dots" "intro" "paws" "tiles"; }
	.ah-window { aspect-ratio: auto; height: 420px; }
	.ah-hero__h1 { font-size: 4rem; }
	.ah-intro { max-width: 560px; padding-top: 40px; }
	.ah-paws { position: static; grid-area: paws; display: flex; gap: 14px; margin-top: 28px; }
	.ah-paws .ah-paw, .ah-paws .ah-paw:nth-child(n) { position: static; width: 36px; height: 36px; }
	.ah-paws .ah-paw:nth-child(odd) { rotate: -14deg; translate: 0 6px; }
	.ah-paws .ah-paw:nth-child(even) { rotate: 14deg; translate: none; }
	.ah-tiles { margin-top: 28px; }
	.ah-welcome__grid, .ah-faq__grid, .ah-letter__grid, .ah-book__grid, .ah-stay__top { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.ah-welcome__text, .ah-book__side, .ah-rooms__head { padding-left: 0; }
	.ah-welcome__text { max-width: 560px; }
	.ah-welcome__media { position: static; }
	.ah-room { grid-template-columns: 280px minmax(0, 1fr) auto; gap: 28px; }
	.ah-stories { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.ah-trail { position: static; display: flex; gap: 14px; width: auto; height: auto; margin-top: 40px; }
	.ah-trail .ah-paw { position: static; width: 32px; height: 32px; }
	.ah-trail .ah-paw:nth-child(odd) { rotate: -14deg; translate: 0 6px; }
	.ah-trail .ah-paw:nth-child(even) { rotate: 14deg; translate: 0; }
	.ah-welcome .ah-trail, .ah-runwrap .ah-trail, .ah-register .ah-trail { left: auto; right: auto; bottom: auto; }
	.ah-inner__intro { margin-left: 0; }
	.ah-foot__cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ---------- mobile ---------- */
@media (max-width: 781px) {
	:root { --ah-pad: 16px; }
	.ah-head { height: 72px; padding: 0 16px; gap: 12px; }
	.ah-logo__t { font-size: 1.375rem; }
	.ah-logo__s { display: none; }
	.ah-logo__paw { width: 22px; height: 22px; }
	.ah-head .ah-pill .wp-block-button__link { height: 40px; padding: 0 16px; font-size: .875rem; }
	.ah-hero { padding-bottom: 32px; }
	.ah-window { height: 52svh; min-height: 360px; border-radius: 14px; }
	.ah-hero__copy { left: 20px; top: 24px; right: 20px; }
	.ah-slide img { object-position: 72% center; }
	.ah-hero__h1 { font-size: 2.75rem; line-height: 1.05; }
	.ah-hero__sub { font-size: 1rem; letter-spacing: .08em; margin-top: 12px !important; }
	.ah-lede { font-size: 1.375rem; }
	.ah-intro { padding-top: 28px; }
	.ah-tiles { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.ah-tile { min-height: 0; }
	.ah-sec { padding-block: 72px; }
	.ah-runwrap { padding-top: 72px; }
	.ah-h2, .ah-h2--large { font-size: 2rem; }
	.ah-welcome__img img, .ah-faq__img img { border-radius: 14px; }
	.ah-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.ah-fig__n { font-size: 2.5rem; }
	.ah-rooms__head { flex-direction: column; align-items: flex-start; }
	.ah-room { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 0; }
	.ah-room__p { text-align: left; }
	.ah-run { --sp-par: 6%; min-height: 0; padding: 300px 0 0 !important; border-radius: 14px; }
	.ah-run__card { padding: 24px; width: 100%; border-radius: 0; }
	.ah-run .wp-block-cover__image-background { object-position: 58% 62% !important; bottom: auto !important; height: 300px !important; }
	.ah-run__h { font-size: 1.5rem; }
	.ah-incl { grid-template-columns: minmax(0, 1fr); }
	.ah-stay__rates { margin-top: 56px; }
	.ah-rates thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.ah-rates table, .ah-rates tbody, .ah-rates tr, .ah-rates td { display: block; width: 100%; }
	.ah-rates tr { padding: 18px 0; border-bottom: 1px solid var(--wp--preset--color--rule); }
	.ah-rates td { padding: 0; border: 0; white-space: normal; }
	.ah-rates td:first-child { font-size: 1.125rem; white-space: normal; }
	.ah-rates td:last-child { width: 100%; text-align: right; margin-top: 6px; white-space: nowrap; }
	.ah-qa { padding: 18px; }
	.ah-qa summary { font-size: 1.0625rem; }
	.ah-step { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ah-post { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
	.ah-journal__head { flex-direction: column; align-items: flex-start; }
	.ah-letter { padding-block: 64px; }
	.sp-newsletter-fallback { grid-template-columns: minmax(0, 1fr); }
	.sp-newsletter-fallback button[type="submit"] { justify-self: start; }
	.ah-foot { padding-top: 64px; }
	.ah-window--inner { height: 44svh; min-height: 300px; }
	.ah-hero__h1--inner, .ah-window--plain .ah-hero__h1 { font-size: 2.25rem; }
	.ah-paws--inner { padding-right: 0; justify-content: flex-start; gap: 14px; }
	.ah-paws--inner .ah-paw { width: 32px; height: 32px; }
	.ah-listing { padding-top: 48px; }
}

/* ---------- inner pages, stage 2: sections, ruled rows, rooms, walks, FAQ, forms ---------- */
.ah-inner__intro { max-width: 460px; }
.ah-lede--inner { font-size: 1.1875rem; line-height: 1.7; }
.ah-window--wash { background: var(--wp--preset--color--wash); }
.ah-dots--inner { margin: 16px 0 0; }
.ah-isec { display: grid; grid-template-columns: 418px minmax(0, 760px); justify-content: space-between; gap: 48px; align-items: start; margin-top: 104px; }
.ah-isec__head { padding-left: 58px; position: sticky; top: 32px; }
.ah-isec__head .ah-h2 { margin: 0; font-size: 2.25rem; }
.ah-isec__body > p:first-child { color: var(--wp--preset--color--body); line-height: 1.85; }
.ah-isec__img { margin: 40px 0 0; }
.ah-isec__img img { display: block; width: 100%; border-radius: 9px; }
.ah-isec .ah-figs--page { margin-top: 40px; }
.ah-isec .ah-tiles--page { margin-top: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ah-tiles--page .ah-tile { min-height: 0; padding: 20px; }
.ah-tiles--page .ah-tile__a { font-size: 1.75rem; }
.ah-isec .ah-incl { margin-top: 40px; }
.ah-incl--one { grid-template-columns: minmax(0, 1fr); margin-top: 12px !important; }
.ah-isec .ah-rates { margin-top: 40px; }
.ah-isec .ah-pill-wrap { margin-top: 32px; }
.ah-ruled { margin-top: 40px; }
.ah-ruled--rooms { margin-top: 48px; }
.ah-rr { display: grid; gap: 24px; padding: 22px 0; border-top: 1px solid var(--wp--preset--color--rule); align-items: baseline; }
.ah-ruled > .ah-rr:last-child { border-bottom: 1px solid var(--wp--preset--color--rule); }
.ah-main .ah-rr p, .ah-inner .ah-rr p { margin: 0; }
.ah-rr__c1 { font-family: var(--wp--preset--font-family--lexend); font-size: 1.125rem; font-weight: 400; line-height: 1.4; }
.ah-rr__c { line-height: 1.55; }
.ah-rr--team { grid-template-columns: 170px 190px minmax(0, 1fr); }
.ah-rr--time { grid-template-columns: 120px minmax(0, 1fr); }
.ah-rr--time .ah-rr__c1 { font-size: 1.75rem; font-weight: 300; color: var(--wp--preset--color--deep-sage); }
.ah-rr--fact { grid-template-columns: 220px minmax(0, 1fr); }
.ah-rr--fact .ah-rr__c1 { font-size: 1.5rem; font-weight: 300; }
.ah-rr--ct { grid-template-columns: 110px minmax(0, 1fr); padding: 16px 0; }
.ah-rr--ct .ah-rr__c1 { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--deep-sage); font-family: var(--wp--preset--font-family--public-sans); }
.ah-rr--walk { grid-template-columns: 170px 170px minmax(0, 1fr) minmax(0, 1fr); position: relative; }
.ah-rr--walk .ah-rr__c2 { font-family: var(--wp--preset--font-family--lexend); font-weight: 300; font-size: 1.25rem; white-space: nowrap; }
.ah-rr--room { grid-template-columns: 132px minmax(0, 1fr) auto; gap: 28px; align-items: start; padding: 32px 0; }
.ah-rr__plan { width: 132px; color: var(--wp--preset--color--sage); }
.ah-plan { display: block; width: 100%; height: auto; }
.ah-rr__main .ah-room__n { margin: 0 0 6px; }
.ah-rr__spec { font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: var(--wp--preset--color--deep-sage); margin: 0 0 10px !important; line-height: 1.5; }
.ah-rr--room .ah-room__p { white-space: nowrap; text-align: right; }
.ah-faqp { display: grid; grid-template-columns: minmax(0, 760px) 418px; justify-content: space-between; gap: 48px; align-items: start; margin-top: 88px; }
.ah-faqp__side { position: sticky; top: 32px; }
.ah-faqp .ah-faq__img img { display: block; width: 100%; border-radius: 9px; }
.ah-qgroup { margin: 0 0 56px; }
.ah-qgroup__h { margin: 0 0 16px; }
.ah-qgroup .ah-qa { background: var(--wp--preset--color--pale-sage); }
.ah-twocol { display: grid; grid-template-columns: 640px minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 32px; }
.ah-twocol .ah-form-wrap { margin-top: 0; }
.ah-twocol__b .ah-ruled { margin-top: 0; }
.ah-inner > .ah-form-wrap--letter { margin: 40px 0 0 58px; }
.ah-bandwrap { margin-top: 104px; }
.ah-run--page { --sp-par: 8%; min-height: 560px; }
.ah-steps .ah-step:first-child { border-top: 0; padding-top: 0; }
.ah-form-wrap { max-width: 640px; }
.ah-form-wrap .ah-pill-wrap { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
	html.sp-js:not(.sp-no-motion) .ah-slides--two .ah-slide:nth-child(2) { animation: ah-fade-3 7s ease infinite; }
	html.sp-js:not(.sp-no-motion) .ah-dots--two li { animation: ah-dot-two 7s linear infinite; }
	html.sp-js:not(.sp-no-motion) .ah-dots--two li:nth-child(2) { animation-delay: -3.5s; }
}
@keyframes ah-dot-two { 0%, 49.99% { background: #769E6F; } 50%, 100% { background: #C8C8C8; } }
@media (max-width: 1023px) {
	.ah-isec, .ah-faqp, .ah-twocol { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 72px; }
	.ah-isec__head { padding-left: 0; position: static; }
	.ah-faqp__side { position: static; order: -1; }
	.ah-faqp__side .ah-faq__img img { aspect-ratio: 4/3; object-fit: cover; }
	.ah-inner > .ah-form-wrap--letter { margin-left: 0; }
	.ah-twocol { margin-top: 32px; }
}
@media (max-width: 781px) {
	.ah-isec .ah-tiles--page { grid-template-columns: minmax(0, 1fr); }
	.ah-rr--team, .ah-rr--time, .ah-rr--fact, .ah-rr--ct, .ah-rr--walk, .ah-rr--room { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.ah-rr--room { gap: 14px; }
	.ah-rr__plan { width: 120px; }
	.ah-rr--room .ah-room__p { text-align: left; }
	.ah-rr--walk .ah-rr__c2 { white-space: normal; }
	.ah-isec__head .ah-h2 { font-size: 1.75rem; }
	.ah-bandwrap { margin-top: 72px; }
	.ah-run--page { min-height: 0; }
}
/* editor: always the final, still state */
.editor-styles-wrapper .ah-window, .editor-styles-wrapper .ah-run { overflow: clip; }
@media (prefers-reduced-motion: reduce) {
	.ah-slide { animation: none !important; }
	.ah-slide:not(:first-child) { display: none !important; }
	.ah-dots li { animation: none !important; }
	.ah-room__img img, .ah-post__img img, .ah-pill .wp-block-button__link, .ah-qa summary::after { transition: none; }
}
.ah-article .wp-block-post-content > * + *, .ah-col > * + * { margin-top: 1.4em; }
.ah-article .wp-block-post-terms, .ah-article .wp-block-post-title { margin-bottom: 1rem; }
