/* ==========================================================
   tickerswmbly.com — styles
   Palette: charcoal #17191C, ivory #F5F1E8, brass #A98C58
   ========================================================== */

:root {
  --charcoal: #17191C;
  --charcoal-soft: #24272B;
  --ivory: #F5F1E8;
  --white: #FFFDF8;
  --brass: #A98C58;
  --brass-dark: #74592A;      /* accessible brass for text on light backgrounds */
  --text: #2A2C30;
  --muted: #5A5C60;
  --line: #D9D0BD;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --space: clamp(4rem, 8vw, 7rem);
  --radius: 2px;
  --header-h: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 0 0 1rem;
}
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 1.1rem; }

a { color: var(--brass-dark); }
a:hover { color: var(--charcoal); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

code { font-size: .88em; background: rgba(169, 140, 88, .14); padding: .05em .3em; border-radius: var(--radius); overflow-wrap: anywhere; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--charcoal); color: var(--ivory);
  padding: .75rem 1rem; z-index: 1000;
}
.skip-link:focus { top: 1rem; }

.small { font-size: .9rem; }

/* Eyebrows */
.eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .9rem;
  font-weight: 600;
}
.eyebrow-dark { color: var(--brass-dark); }

/* Buttons */
.btn {
  display: inline-block;
  padding: .9rem 1.6rem;
  font-family: var(--font-sans);
  font-size: .82rem;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
  cursor: pointer;
}
.btn-brass { background: var(--brass); color: var(--charcoal); border-color: var(--brass); }
.btn-brass:hover { background: #BFA26D; color: var(--charcoal); }
.btn-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn-light:hover { background: var(--ivory); color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.btn-dark:hover { background: var(--charcoal-soft); color: var(--white); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--ivory); }

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link-button {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: var(--brass-dark);
  text-decoration: underline; cursor: pointer;
}
.link-button:hover { color: var(--charcoal); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(169, 140, 88, .35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1.5rem;
}
.wordmark {
  text-decoration: none; display: inline-flex; flex-direction: column;
  gap: .2rem; line-height: 1; color: var(--ivory); flex-shrink: 0;
}
.wordmark-large { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: .02em; color: var(--ivory); }
.wordmark-tld { color: var(--brass); font-size: .78em; }
.wordmark-small { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: #CDBF9F; }
.wordmark:hover .wordmark-large { color: var(--white); }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; }
.primary-nav ul a {
  display: inline-block;
  color: var(--ivory); text-decoration: none;
  font-size: .85rem; letter-spacing: .05em; white-space: nowrap;
  padding: .35rem 0; border-bottom: 1px solid transparent;
}
.primary-nav ul a:hover { border-bottom-color: var(--brass); color: var(--white); }
.nav-cta { padding: .6rem 1rem; font-size: .74rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(245, 241, 232, .4);
  color: var(--ivory); padding: .5rem .8rem;
  font: 600 .74rem var(--font-sans); letter-spacing: .15em; text-transform: uppercase;
  align-items: center; gap: .6rem; cursor: pointer; border-radius: var(--radius);
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 18px; height: 1.5px; background: var(--ivory); position: relative;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after { top: 5px; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(169, 140, 88, .35);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(245, 241, 232, .1); font-size: 1rem; }
  .nav-cta { margin-top: 1.25rem; padding: .85rem 1rem; }
}

@media (max-width: 380px) {
  .wordmark-large { font-size: 1.3rem; }
  .wordmark-small { font-size: .55rem; letter-spacing: .16em; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: .7rem .65rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex; align-items: center;
  background-color: var(--charcoal-soft);
  background-image: url("images/presidentti-hotel-exterior-illustration.svg");
  background-size: cover; background-position: center;
  color: var(--ivory);
  text-align: center;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(23, 25, 28, .6), rgba(23, 25, 28, .78)); }
.hero-content { position: relative; padding: 5rem 0; max-width: 860px; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #EDE7DA; max-width: 680px; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
.hero-provider { font-size: .85rem; color: #D6CFBF; margin-top: 1.2rem; }
@media (max-width: 600px) {
  .hero { min-height: 0; }
  .hero-content { padding: 3.5rem 0; }
}

/* Highlights */
.highlights { background: var(--ivory); border-bottom: 1px solid var(--line); }
.highlights-list {
  list-style: none; margin: 0; padding: 1.35rem 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem;
  font-size: .9rem; letter-spacing: .04em; color: var(--charcoal);
}
.highlights-list li { position: relative; padding-left: 1rem; }
.highlights-list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg);
}
@media (max-width: 600px) {
  .highlights-list { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.25rem; justify-content: start; font-size: .85rem; }
}
@media (max-width: 380px) { .highlights-list { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: var(--space) 0; }
.section-light { background: var(--white); }
.section-ivory { background: var(--ivory); }
.section-dark { background: var(--charcoal); color: #E4DED1; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-header { max-width: 720px; margin-bottom: 3rem; }
.section-header p:last-child { color: var(--muted); }
.section-header-dark p:last-child { color: #E4DED1; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { margin: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #DCD3C1; }
.split-media figcaption, .casino-media figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.split-copy > :last-child { margin-bottom: 0; }
.action-note { margin-top: .9rem; color: var(--muted); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
}

/* Room cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.room-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  min-width: 0;
}
.room-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #DCD3C1; }
.room-card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.room-card h3 { margin-bottom: .6rem; }
.room-card ul { list-style: none; padding: 0; margin: .5rem 0 1.5rem; border-top: 1px solid var(--line); }
.room-card li { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.room-card .btn { margin-top: auto; align-self: flex-start; }

.room-card-overview {
  background-color: var(--charcoal);
  background-image: repeating-linear-gradient(45deg, rgba(169, 140, 88, .08) 0 2px, transparent 2px 16px);
  border-color: var(--charcoal);
  color: #E4DED1;
}
.room-card-overview .room-card-body { padding: 2.25rem 1.85rem; justify-content: center; }
.room-card-overview h3 { color: var(--white); font-size: 2rem; }
.room-card-overview ul { border-top-color: rgba(245, 241, 232, .18); }
.room-card-overview li { border-bottom-color: rgba(245, 241, 232, .18); }
@media (max-width: 1000px) and (min-width: 641px) { .room-card-overview { grid-column: 1 / -1; } }

/* Casino */
.casino-notice {
  border-left: 3px solid var(--brass);
  padding: .8rem 1rem;
  background: rgba(169, 140, 88, .1);
}
.casino-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.casino-grid > * { min-width: 0; }
.casino-copy h3 { margin-top: 1rem; }
.casino-media { margin: 2rem 0 0; }
.casino-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--charcoal-soft); }
.section-dark .casino-media figcaption { color: #B9B2A4; }
.casino-facts {
  border: 1px solid rgba(169, 140, 88, .5);
  padding: 2rem;
  align-self: start;
}
.casino-facts dl { margin: 0 0 1.25rem; }
.casino-facts dl > div { padding: .85rem 0; border-bottom: 1px solid rgba(245, 241, 232, .12); }
.casino-facts dt { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.casino-facts dd { margin: .25rem 0 0; color: var(--white); }
.casino-facts .small { margin: 0; }
@media (max-width: 860px) { .casino-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .casino-facts { padding: 1.35rem; } }

/* Dining */
.dining-item { margin-bottom: clamp(3rem, 6vw, 5rem); }
.dining-item .split-copy h3 { font-size: 2rem; }
.dining-meta { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.reservation-note {
  background: var(--ivory); border: 1px solid var(--line);
  padding: 1.25rem 1.5rem; font-size: .95rem; margin: 0;
}

/* Spa status */
.status-box {
  background: var(--ivory);
  border-left: 3px solid var(--brass-dark);
  padding: 1rem 1.25rem;
  margin-bottom: 1.4rem;
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid figure { margin: 0; min-width: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #DCD3C1; }
.gallery-grid figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.3; color: var(--charcoal);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%;
  transform: translateY(-50%); font-family: var(--font-sans); color: var(--brass-dark); font-size: 1.4rem;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.25rem; margin: 0; }

/* Reserve */
.reserve { background: var(--ivory); text-align: center; border-top: 1px solid var(--line); }
.reserve-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.reserve-address { font-style: normal; color: var(--muted); overflow-wrap: anywhere; }
.reserve-label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); font-weight: 600; }

@media (max-width: 520px) {
  .hero-actions .btn, .reserve-actions .btn { width: 100%; }
}

/* Footer */
.site-footer { background: var(--charcoal); color: #D8D2C4; padding: 4rem 0 1.5rem; }
.site-footer a { color: var(--ivory); }
.site-footer a:hover { color: var(--brass); }
.site-footer .link-button { color: var(--ivory); }
.site-footer .link-button:hover { color: var(--brass); }
.site-footer address { font-style: normal; line-height: 1.9; overflow-wrap: anywhere; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer-grid > * { min-width: 0; }
.footer-heading {
  font-family: var(--font-sans); font-size: .75rem; letter-spacing: .2em; font-weight: 600;
  text-transform: uppercase; color: var(--brass); margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0 0 1rem; line-height: 2; }
.footer-casino { color: #B9B2A4; }
.wordmark-footer { margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(245, 241, 232, .12); margin-top: 3rem; padding-top: 1.5rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Legal and internal pages */
.legal { padding: 4rem 0; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.7rem; margin-top: 2.5rem; }
.legal h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.legal .notice { background: #EDE3CF; padding: 1rem 1.25rem; border-left: 3px solid var(--brass-dark); }
.table-wrap { overflow-x: auto; margin: 1rem 0; -webkit-overflow-scrolling: touch; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { text-align: left; border: 1px solid var(--line); padding: .6rem .8rem; vertical-align: top; }
.legal th { background: var(--ivory); }
.toc ol { padding-left: 1.25rem; }
.prompt {
  background: var(--ivory); border: 1px solid var(--line);
  padding: 1.25rem; font-size: .8rem; line-height: 1.55;
  white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  max-height: 70vh; overflow-y: auto;
}

/* Cookie consent */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 720px; margin-inline: auto;
  background: var(--charcoal); color: #E4DED1;
  border: 1px solid rgba(169, 140, 88, .6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  max-height: 75vh; overflow-y: auto;
}
.consent-inner { padding: 1.4rem 1.5rem; }
.consent-title { font-size: 1.5rem; color: var(--white); margin-bottom: .5rem; }
.consent-title:focus { outline: none; }
.consent p { font-size: .9rem; margin-bottom: 1rem; }
.consent a { color: var(--ivory); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-actions .btn, .consent-options .btn { padding: .7rem 1.1rem; font-size: .74rem; }
.consent-options { border-top: 1px solid rgba(245, 241, 232, .15); padding-top: 1rem; margin-bottom: 1rem; }
.consent-option { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .85rem; }
.consent-option input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--brass); flex-shrink: 0; }
.consent-option label { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.45; cursor: pointer; }
.consent-option strong { color: var(--white); }
.consent-option span { color: #B9B2A4; }
@media (max-width: 520px) {
  .consent { left: .5rem; right: .5rem; bottom: .5rem; }
  .consent-inner { padding: 1.1rem; }
  .consent-actions .btn { flex: 1 1 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}