/*
Theme Name: AHN Classic
Description: Custom classic theme for Arcadia Hospitality Management
Version: 1.0
*/
  :root {
    --paper: #f6efe4;
    --paper-2: #ecdfc8;
    --ink: #2e2118;
    --ink-soft: #6b5c4d;
    --clay: #b3512e;
    --clay-deep: #8f3f22;
    --olive: #74804f;
    --stone: #ddc9a8;
    --stone-hair: rgba(46, 33, 24, 0.14);
    --radius: 2px;
    color-scheme: light;
  }
  :root[data-theme="dark"] {
    --paper: #221a12;
    --paper-2: #2c2318;
    --ink: #f2e7d6;
    --ink-soft: #c7b8a3;
    --clay: #de8158;
    --clay-deep: #f0a17c;
    --olive: #a3b17c;
    --stone: #4a3c2b;
    --stone-hair: rgba(242, 231, 214, 0.14);
    color-scheme: dark;
  }
  
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .studio-root { overflow-x: hidden; background: var(--paper); }

  h1, h2, h3 {
    font-family: Rockwell, "Bookman Old Style", "Roboto Slab", Georgia, serif;
    font-weight: 700;
    line-height: 1.08;
    text-wrap: balance;
    margin: 0;
  }

  .mono { font-family: Consolas, "SFMono-Regular", Menlo, monospace; letter-spacing: 0.06em; }

  .eyebrow {
    font-family: Consolas, "SFMono-Regular", Menlo, monospace;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--olive);
    display: flex;
    align-items: center;
    gap: 0.6em;
  }
  .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--olive); display: inline-block; }

  a { color: inherit; }

  .wrap { max-width: 1120px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 56px); }

  .grid-ground {
    background-color: var(--paper);
    background-image: radial-gradient(var(--stone-hair) 1.6px, transparent 1.6px);
    background-size: 26px 26px;
    background-position: center top;
  }

  .ticks { position: relative; }
  .ticks::before, .ticks::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--olive); opacity: 0.55; }
  .ticks::before { top: 18px; left: 18px; border-right: none; border-bottom: none; }
  .ticks::after { bottom: 18px; right: 18px; border-left: none; border-top: none; }

  .site-header-band { background: var(--paper-2); }
  header.site {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 12px;
    border-bottom: 1px solid var(--stone-hair);
  }
  .brandmark {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    font-family: Rockwell, "Bookman Old Style", Georgia, serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
  }
  .header-right { display: flex; align-items: center; gap: 18px; }
  .site-tag {
    font-family: Consolas, monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    display: none;
  }
  @media (min-width: 640px) { .site-tag { display: block; } }

  .site-nav { display: flex; align-items: center; gap: 8px; }
  .site-nav a {
    font-family: Consolas, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--stone);
    border-radius: 8px;
    padding: 7px 14px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }
  .site-nav a:hover, .site-nav a.active {
    background: var(--clay);
    color: #fbf6ee;
    border-color: var(--clay);
  }

  .hero {
    min-height: 300px;
    padding-block: clamp(64px, 12vw, 128px) clamp(56px, 9vw, 96px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 5vw, 56px);
    flex-wrap: wrap;
  }
  .hero-inner { max-width: 620px; flex: 1 1 460px; }
  .hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-top: 18px; letter-spacing: -0.01em; }
  .hero p.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 52ch; margin-top: 22px; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; align-items: center; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  }
  .btn:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
  .btn-primary { background: var(--clay); color: #fbf6ee; }
  .btn-primary:hover { background: var(--clay-deep); transform: translateY(-1px); }
  .btn-ghost { border-color: var(--stone); color: var(--ink); }
  .btn-ghost:hover { border-color: var(--ink-soft); }

  section { background: var(--paper); padding-block: clamp(56px, 8vw, 92px); }
  .section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
  .section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin-top: 14px; }

  hr.rule { border: none; border-top: 1px solid var(--stone-hair); margin: 0; }

  .svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--stone-hair);
    border: 1px solid var(--stone-hair);
  }
  @media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
  .svc-card { background: var(--paper); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
  .svc-card h3 { font-size: 1.15rem; }
  .svc-card p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }
  .svc-mark { font-family: Consolas, monospace; font-size: 0.72rem; color: var(--olive); letter-spacing: 0.08em; }

  .lease-box {
    border: 1px solid var(--stone-hair);
    border-left: 3px solid var(--clay);
    padding: clamp(24px, 4vw, 36px) clamp(24px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    background: var(--paper-2);
  }
  .lease-copy { max-width: 640px; }
  .lease-copy h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-top: 14px; }
  .lease-copy p { color: var(--ink-soft); margin: 14px 0 0; max-width: 56ch; }

  .why { background: var(--paper-2); border-top: 1px solid var(--stone-hair); border-bottom: 1px solid var(--stone-hair); }
  .why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 64px); align-items: start; }
  @media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }
  .why-copy p { color: var(--ink-soft); font-size: 1.02rem; max-width: 56ch; }
  .proof-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
  .proof-list li { display: flex; gap: 14px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--stone-hair); font-size: 0.98rem; }
  .proof-list li:last-child { border-bottom: none; padding-bottom: 0; }
  .proof-list .tick { color: var(--clay); font-family: Consolas, monospace; }

  .aud-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .aud-card { border: 1px solid var(--stone-hair); padding: 30px 28px; position: relative; }
  .aud-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
  .aud-card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
  .aud-icon { display: block; width: 40px; height: 40px; margin-bottom: 16px; color: var(--clay); }

  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
  .step { padding: 24px 22px 24px 0; border-top: 2px solid var(--ink); position: relative; }
  .step-num { font-family: Consolas, monospace; font-size: 0.85rem; color: var(--olive); display: block; margin-bottom: 14px; }
  .step h3 { font-size: 1.05rem; margin-bottom: 8px; }
  .step p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

  .cta-band { background: var(--paper); text-align: left; padding-block: clamp(60px, 9vw, 100px); border-top: 1px solid var(--stone-hair); }
  .cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); max-width: 20ch; }
  .cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; margin-top: 40px; }
  @media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }
  .cta-email p.hint { color: var(--ink-soft); font-size: 0.94rem; max-width: 40ch; margin: 0 0 22px; }
  .contact-form { display: flex; flex-direction: column; gap: 14px; }
  .contact-form label {
    font-family: Consolas, monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    display: block;
    margin-bottom: 6px;
  }
  .contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    background: var(--paper-2);
    border: 1px solid var(--stone);
    border-radius: var(--radius);
    padding: 11px 13px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
  }
  .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: 2px solid var(--clay); outline-offset: 1px; border-color: var(--clay);
  }
  .contact-form textarea { resize: vertical; min-height: 96px; }
  .contact-form .btn { align-self: flex-start; margin-top: 4px; border: none; cursor: pointer; }

  footer.site { background: var(--paper-2); border-top: 1px solid var(--stone-hair); padding-block: 26px; font-size: 0.82rem; color: var(--ink-soft); }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; align-items: start; }
  .footer-col { display: flex; flex-direction: column; gap: 6px; padding-inline: 10px; }
  .footer-logo { width: 250px; max-width: 100%; height: auto; display: block; margin-bottom: 10px; align-self: flex-start; }
  .footer-tagline-text { font-weight: 600; color: var(--ink); margin: 0; }
  .footer-line { margin: 0; }
  .footer-line a { color: inherit; text-decoration: none; }
  .footer-line a:hover { text-decoration: underline; }
  .footer-social { color: var(--clay); margin-top: 6px; display: inline-flex; width: fit-content; }
  .footer-social-icon { width: 22px; height: 22px; display: block; }
  .footer-social:hover { color: var(--clay-deep); }
  .footer-col-right { text-align: left; }
  .footer-col-center { align-items: center; text-align: center; }
  .footer-network { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-decoration: none; width: 100%; }
  .footer-network-label { text-align: center; }
  .footer-network-logo { width: 100%; height: auto; display: block; }
  .footer-network:hover .footer-network-label { color: var(--clay-deep); }
  .footer-partners-title { font-size: 0.85rem; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
  .footer-divider { border: none; border-top: 1px solid var(--stone-hair); margin: 10px 0; }
  .footer-partner { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-partner-logo { width: 100%; max-width: 160px; height: auto; }
  a.footer-tagline { display: block; color: var(--clay); text-decoration: none; }
  a.footer-tagline:hover { color: var(--clay-deep); text-decoration: underline; }
  @media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col { align-items: center; }
    .footer-col-right { text-align: center; }
    .footer-logo { margin: 0 auto 6px; align-self: center; }
    .footer-partner { align-items: center; }
  }
  .footer-bottom { background: var(--ink); width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-top: 26px; margin-bottom: -26px; padding-block: 14px; }
  .footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: var(--paper-2); }
  .footer-credit { display: flex; align-items: center; gap: 8px; line-height: 1; }
  .footer-credit-logo { height: 36px; width: auto; }
  @media (max-width: 640px) { .footer-bottom-inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; } }

  .to-top {
    position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--clay); color: #fbf6ee; border-radius: var(--radius);
    text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background 0.15s ease;
    z-index: 40;
  }
  .to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
  .to-top:hover { background: var(--clay-deep); }
  @media (max-width: 640px) { .to-top { display: none; } }

  @media (prefers-reduced-motion: reduce) { .btn { transition: none; } .to-top { transition: none; } }

  .form-msg { font-family: Consolas, monospace; font-size: 0.8rem; margin: 12px 0 0; min-height: 1.2em; }
  .form-msg.ok { color: var(--olive); }
  .form-msg.err { color: var(--clay); }

  .cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 999; max-width: 780px; margin: 0 auto; background: var(--ink); color: var(--paper); padding: 18px 20px; border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
  .cookie-bar[hidden] { display: none; }
  .cookie-text { margin: 0; flex: 1 1 320px; font-size: 0.88rem; line-height: 1.5; }
  .cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
  .cookie-btn { font-family: Consolas, monospace; font-size: 0.75rem; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--paper); background: transparent; color: var(--paper); cursor: pointer; }
  .cookie-btn.cookie-yes { background: var(--clay); border-color: var(--clay); color: #fbf6ee; }
  body:has(.cookie-bar:not([hidden])) .to-top { bottom: 130px; }
  @media (max-width: 640px) { .cookie-bar { flex-direction: column; align-items: stretch; } .cookie-actions { justify-content: flex-end; } .cookie-text { flex-basis: auto; } }

  /* --- MOBILE HEADER FIX 5/8/2026 --- */
  .hamburger { display: none; flex-direction: column; gap: 5px; justify-content: center; align-items: center; width: 40px; height: 40px; background: none; border: 1px solid var(--stone-hair); border-radius: var(--radius); cursor: pointer; padding: 0; }
  .hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); }
  @media (max-width: 760px) {
    header.site { flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; position: relative; }
    .brandmark { font-size: 0.85rem; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hamburger { flex-shrink: 0; }
    .hamburger { display: flex; }
    .header-right { position: absolute; top: 100%; left: 0; right: 0; width: 100%; background: var(--paper-2); border-bottom: 1px solid var(--stone-hair); z-index: 50; }
    .site-nav { display: none; flex-direction: column; width: 100%; gap: 0; }
    .site-nav.open { display: flex; }
    .site-nav a { font-size: 0.9rem; padding: 14px 20px; width: 100%; text-align: left; border-radius: 0; border-bottom: 1px solid var(--stone-hair); }
  }


  .post-wrap { background: var(--paper); padding-block: clamp(8px, 2vw, 16px) clamp(32px, 5vw, 48px); }
  .post-body { max-width: 85%; }
  @media (max-width: 760px) { .post-body { max-width: none; } }
  .post-body p { margin: 0 0 20px; }
  .post-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 40px 0 14px; }
  .post-body h3 { font-size: 1.2rem; margin: 32px 0 12px; }
  .post-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 24px 0; display: block; }
  .post-body a { color: var(--clay); }
  .post-body a:hover { color: var(--clay-deep); }
  .post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 20px; }
  .post-body li { margin-bottom: 8px; }
  .custom-list { list-style: none; padding-left: 0; margin: 0 0 20px; }
  .custom-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
  .custom-list li::before { content: "✓"; position: absolute; left: 0; top: 0.05em; width: 24px; height: 24px; border-radius: 50%; background: var(--clay); color: #fbf6ee; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
  .post-body blockquote { border-left: 3px solid var(--clay); padding-left: 20px; margin: 24px 0; color: var(--ink-soft); font-style: italic; }
  .post-tags-band { border-top: 1px solid var(--stone-hair); margin-top: clamp(16px, 3vw, 28px); padding-top: 28px; }
  .post-tags { display: flex; flex-wrap: wrap; gap: 10px; }
  .post-tags a {
    font-family: Consolas, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--stone);
    border-radius: 8px;
    padding: 7px 14px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }
  .post-tags a:hover { background: var(--clay); color: #fbf6ee; border-color: var(--clay); }
  .eyebrow a { color: inherit; text-decoration: none; }
  .hero-inner h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); max-width: 22ch; }
  .post-tags-label { font-family: Consolas, monospace; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0 0 14px; }

  .post-wrap .has-global-padding { padding-inline: 0 !important; }


  .cat-wrap { max-width: 760px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 56px); padding-block: clamp(8px, 2vw, 16px) clamp(56px, 9vw, 96px); }
  .cat-grid.wp-block-post-template { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
  .cat-grid li.wp-block-post { padding: 26px 0; border-bottom: 1px solid var(--stone-hair); }
  .cat-grid li.wp-block-post:first-child { padding-top: 0; }
  .cat-card-title { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin: 0 0 10px; }
  .cat-card-title a { color: var(--ink); text-decoration: none; }
  .cat-card-title a:hover { color: var(--clay); }
  .cat-card-excerpt { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
  .cat-empty { color: var(--ink-soft); font-size: 0.98rem; }

  .hero-article { padding-block: clamp(20px, 3vw, 28px) clamp(12px, 2vw, 20px) !important; }
  .hero-article .hero-inner { max-width: none; }
  .hero-article .hero-inner h1 { max-width: none; }


  /* team page (page 20) restored rules */
  .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--stone-hair); border: 1px solid var(--stone-hair); }
  @media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }
  @media (min-width: 761px) and (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
  .team-card { background: var(--paper); padding: 32px 28px; display: flex; flex-direction: column; gap: 0; }
  .team-avatar {
    width: 56px; height: 56px;
    border: 1px solid var(--stone);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--olive);
    margin-bottom: 0;
    overflow: hidden;
  }
  .team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--stone);
    border-radius: var(--radius);
    margin-bottom: 0;
    display: block;
  }
  .team-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    background: var(--paper-2);
    padding: 10px 0;
    margin: 0 0 16px;
    color: var(--clay);
  }
  .team-social a { color: inherit; display: flex; text-decoration: none; }
  .team-social a:hover { color: var(--clay-deep); }
  .team-social svg { width: 15px; height: 15px; }
  .team-card h3 { font-size: 1.1rem; margin-top: 6px; }
  .team-role { font-family: Consolas, monospace; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--olive); margin-top: 2px; }
  .team-card p.bio { color: var(--ink-soft); font-size: 0.92rem; margin: 12px 0 0; }
  .placeholder-note {
    margin-top: 28px;
    font-family: Consolas, monospace;
    font-size: 0.75rem;
    color: var(--ink-soft);
    border-left: 2px solid var(--stone);
    padding-left: 12px;
  }

  .why { background: var(--paper-2); border-top: 1px solid var(--stone-hair); border-bottom: 1px solid var(--stone-hair); }
  .why-inner { max-width: 720px; }
  .why p { color: var(--ink-soft); font-size: 1.02rem; margin-top: 14px; }

  .brandmark-logo { width: 300px; height: auto; display: block; }
