header nav { font-family: "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 16px; font-weight: 500; letter-spacing: .015em; gap: 24px; }
header nav a { line-height: 1.5; }
.cotto-logo { width: 235px; max-width: 100%; height: auto; object-fit: contain; filter: brightness(0) invert(1); margin: -16px 0 34px; }
.service-grid .adapted-icon { padding: 6px; }
.footer-credit { position: absolute; bottom: 20px; right: 7%; font-size: 13px; line-height: 1.65; color: #655f60; margin: 0; }
.footer-credit a { color: #231f20; border-bottom: 1px solid #b62025; padding-bottom: 2px; }
.footer-credit a:hover { color: #b62025; }
@media (min-width: 851px) and (max-width: 1100px) { header nav { font-size: 15px; gap: 15px; } }
@media (max-width: 850px) { header nav { font-size: 18px; gap: 4px; } header nav a { padding: 12px 0; } }
@media (max-width: 600px) { .footer-credit { position: static; order: 3; width: 100%; padding-right: 45px; } .cotto-logo { width: 210px; margin-bottom: 26px; } }
@media (max-width: 1100px), (hover: none) and (pointer: coarse) { .direction-arrow { display: none !important; } }

/* Refined Rubis: official ruby accents, warm black, restrained movement. */
.village { display: grid; grid-template-columns: minmax(180px,.7fr) minmax(0,1.3fr); gap: 9%; align-items: center; border-top: 1px solid var(--line); background: white; }
.village-logo { display: block; max-width: 300px; width: 100%; justify-self: center; }
.village-logo img { width: 100%; height: auto; object-fit: contain; }
.village-copy h2 { font-size: clamp(2.3rem,3.5vw,3.6rem); }
.village-copy > p:not(.eyebrow) { margin: 26px 0 14px; color: #655f60; max-width: 650px; }
.village-copy strong { color: var(--ink); font-weight: 500; }
@media(max-width:600px) { .village { grid-template-columns: 1fr; gap: 26px; } .village-logo { max-width: 210px; justify-self: start; } }
html { scroll-padding-top: 112px; }
header { position: sticky; top: 0; height: 100px; z-index: 40; background: #231f20eb; color: white; border-bottom-color: #ffffff24; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .35s ease, box-shadow .35s ease; }
.brand img { width: 72px; height: 82px; }
header nav { font-family: Avenir, "Avenir Next", "Segoe UI", sans-serif; font-size: 16px; gap: 22px; }
header nav a { position: relative; }
header nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: var(--ruby); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
header nav a:hover::after, header nav a[aria-current]::after { transform: scaleX(1); }
header.scrolled { background: #231f20f5; box-shadow: 0 3px 20px #231f2012; }
body:has(.hero) header { margin-bottom: -100px; }
header .brand img, footer .footer-brand img { filter: brightness(0) invert(1); }
header .menu { color: white; border-color: #ffffff70; }
header nav a:hover { color: white; }
.hero { height: 100svh; min-height: 720px; max-height: 1100px; overflow: hidden; padding-top: 100px; background: var(--ink); }
.hero-copy { padding-top: clamp(50px, 8vh, 110px); }
.hero-shade { background: linear-gradient(90deg,#231f20d1,#231f2066 65%,#231f2033),linear-gradient(0deg,#231f2080,transparent 40%); }
.button { transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.button:not(.button-outline):hover { background: var(--red); }
.text-link { transition: color .25s ease, border-color .25s ease; }
.text-link:hover { border-color: var(--ruby); }
.eyebrow { font-size: 13px; }
.room .eyebrow, .service-grid p { line-height: 1.7; }
.services, .stay-support { background: #f7f5f5; }
.dining, .contact, footer { background: var(--ink); color: #fff; }
footer { border-top: 1px solid #ffffff26; }
footer .copyright, footer .footer-credit { color: #d6cfd0; }
footer .footer-credit a { color: white; border-bottom-color: #da1f27; }
footer .social-icon { filter: invert(1); }
footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.reveal { transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1); }
.reveal-pending { opacity: 0; transform: translateY(18px); }
.photo-open { display: block; position: relative; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; color: white; }
.photo-open-hint { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; background: #231f20db; border: 1px solid #ffffff55; font: 13px Avenir, "Segoe UI", sans-serif; }
.cotto-slide .photo-open { height: 100%; }
.photo-viewer { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; padding: 22px max(20px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)); background: #171415; color: white; }
.photo-viewer[open] { display: flex; flex-direction: column; gap: 12px; }
.photo-viewer::backdrop { background: #171415; }
.viewer-toolbar, .viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; }
.photo-viewer button { min-width: 64px; min-height: 48px; padding: 10px 18px; border: 1px solid #ffffff70; background: transparent; color: white; cursor: pointer; font-size: 16px; }
.photo-viewer button:hover { background: #b62025; }
.viewer-figure { display: flex; flex-direction: column; gap: 10px; margin: 0; flex: 1; min-height: 0; }
.viewer-figure img { width: 100%; height: 100%; min-height: 0; flex: 1; object-fit: contain; }
.viewer-figure figcaption { text-align: center; font-size: 14px; line-height: 1.4; flex: none; color: #ddd6d7; }
.viewer-controls { justify-content: center; }
.viewer-controls [role=status] { min-width: 75px; text-align: center; }
@media (hover:hover) and (pointer:fine) { .button:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #231f201a; } }
@media (min-width:1101px) and (prefers-reduced-motion:no-preference) {
  .hero-image { animation: rubis-hero 18s ease-out both; }
  .hero-copy > * { animation: rubis-rise .75s ease-out both; }
  .hero-copy h1 { animation-delay: .1s; }
  .hero-copy > p:not(.eyebrow) { animation-delay: .2s; }
  .hero-copy .text-link { animation-delay: .3s; }
}
@keyframes rubis-hero { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes rubis-rise { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width:1100px) {
  header { height: 88px; gap: 14px; }
  .brand img { width: 62px; height: 72px; }
  body:has(.hero) header { margin-bottom: -88px; }
  header .menu { display: block; min-width: 48px; min-height: 48px; }
  header .reserve { margin-left: auto; }
  header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 6% 26px; flex-direction: column; gap: 4px; background: var(--ink); color: white; border-bottom: 1px solid #ffffff26; max-height: calc(100dvh - 88px); overflow-y: auto; font-size: 18px; }
  header nav.open { display: flex; }
  header nav a { padding: 12px 0; }
  header nav a:hover { color: white; }
  .hero { padding-top: 88px; min-height: 700px; max-height: none; }
}
@media (max-width:550px) {
  .hero { height: auto; min-height: 740px; }
  .hero-copy { padding-top: 65px; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 3.5rem); }
  .reserve { font-size: 13px; }
  .photo-viewer { padding-top: max(12px,env(safe-area-inset-top)); }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal-pending { opacity: 1; transform: none; } }
