/*
 Theme: ursaminor
 File: style.css
 Version: v005 – Button hover: no underline; brighter green background. EB Garamond for titles, buttons, footer.
 Notes:
 - Light-only palette (no automatic dark mode overrides).
 - Headings use EB Garamond with dark sea‑glass tone.
 - Footer .legal and .btn text also EB Garamond.
 - Buttons: remove underline on hover; change hover background to a slightly brighter green.
*/

/* Google Font: EB Garamond (headings, buttons, footer legal) */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

/* --------------------------------------------------
   Design tokens – light theme
-------------------------------------------------- */
:root{
  /* Neutrals */
  --bg:#fbfbfb;         /* app background */
  --paper:#ffffff;      /* surfaces/cards */
  --ink:#111314;        /* primary text */
  --muted:#596369;      /* secondary text */
  --line:#e9ecef;       /* subtle borders */

  /* Accent */
  --accent:#2e7d6b;     /* sea‑glass green */
  --accent-2:#369a84;   /* slightly brighter sea‑glass (hover) */
  --accent-ink:#ffffff; /* text on accent */
  --title-ink:#255e52;  /* darker, unsaturated sea‑glass for headings */

  /* Fonts */
  --title-font:"EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --body-font:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;

  /* UI + Rhythm */
  --chip-bg:#f1f3f4;
  --radius:1.5rem;
  --wrap:1120px;
  --space-1:8px; --space-2:16px; --space-3:24px; --space-4:32px; --space-5:48px; --space-6:64px;
}

/* --------------------------------------------------
   Base
-------------------------------------------------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font:17px/1.6 var(--body-font);
  letter-spacing:.01em;
  background:var(--bg);
  color:var(--ink);
}
img{max-width:100%;height:auto;display:block}

a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--space-2)}
.wrap--narrow{max-width:800px}

/* --------------------------------------------------
   Headings – EB Garamond + sea‑glass colour
-------------------------------------------------- */
h1,h2,h3,h4,h5,h6,
.site-title,
.hero__title,
.h2,.h3,.h4{
  font-family:var(--title-font);
  color:var(--title-ink);
  font-variant-ligatures:common-ligatures contextual;
  font-kerning:normal;
}
.site-title{font-weight:600;letter-spacing:.005em}
.h2,h2{font-size:clamp(1.7rem,3.5vw,2.1rem);margin:var(--space-3) 0 var(--space-2);font-weight:600}
.h3,h3{font-size:clamp(1.25rem,2.5vw,1.5rem);margin:var(--space-3) 0 var(--space-2);font-weight:600}
.h4,h4{font-size:1.05rem;margin:var(--space-2) 0;font-weight:600}

/* --------------------------------------------------
   Header / Nav
-------------------------------------------------- */
.site-header{position:sticky;top:0;background:var(--paper);border-bottom:1px solid var(--line);z-index:20}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;min-height:60px}
.menu{list-style:none;margin:0;padding:0;display:flex;gap:var(--space-2)}
.menu a{display:block;padding:10px 8px;border-radius:10px}
.menu a:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* --------------------------------------------------
   Layout blocks
-------------------------------------------------- */
.site-main{display:block}
.site-footer{margin-top:var(--space-6);padding:var(--space-5) 0;background:var(--paper);border-top:1px solid #ececec}
.site-footer .newsletter{margin-bottom:var(--space-3)}
.legal{color:var(--muted);font-family:var(--title-font);font-size:.95rem;letter-spacing:.01em}

.hero{background:linear-gradient(180deg,rgba(46,125,107,.06),transparent);padding:var(--space-5) 0 var(--space-4)}
.hero__title{font-size:clamp(2rem,5vw,3rem);margin:0 0 var(--space-2);font-weight:600}
.hero__subtitle{color:var(--muted);margin:0 0 var(--space-3)}

.section{padding:var(--space-5) 0}
.section__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-3)}

/* --------------------------------------------------
   Grids & cards
-------------------------------------------------- */
.grid{display:grid;gap:var(--space-3)}
.grid--cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}

.card{background:var(--paper);border-radius:16px;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.05);transition:transform .2s ease}
.card:hover{transform:translateY(-2px)}
.card__link{color:inherit}
.card__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:var(--space-2)}
.card__title{font-size:1rem;margin:0;font-weight:520;letter-spacing:.005em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.chip{display:inline-block;font-size:.78rem;padding:.22rem .55rem;border-radius:999px;background:var(--chip-bg);color:#333;border:1px solid rgba(0,0,0,.07)}
.chip--sold{background:#ffe8e8;color:#7a0c0c;border-color:#ffcaca}
.chip--reserved{background:#fff6d6;color:#6f5a00;border-color:#f7e6a8}
.chip--available{background:#e6fff4;color:#066c44;border-color:#c7f0d9}

/* --------------------------------------------------
   Forms & notices
-------------------------------------------------- */
.form{display:grid;gap:var(--space-2)}
.form__row{display:grid;gap:6px}
.form input,.form textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:10px;background:#fff}
.notice{padding:12px 14px;border-radius:10px}
.notice--success{background:#e8fff0;border:1px solid #b8f0cd}
.notice--error{background:#ffe8e8;border:1px solid #ffbcbc}

/* --------------------------------------------------
   Buttons – EB Garamond, refined hover
-------------------------------------------------- */
.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #ddd;
  background:#fff;
  transition:transform .04s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow:0 1px 0 rgba(0,0,0,.06);
  font-family:var(--title-font);
  font-weight:600;
  letter-spacing:.01em;
  text-decoration:none;              /* ensure no underline by default */
}
.btn:hover,
.btn:focus{                           /* remove underline on hover/focus as well */
  text-decoration:none;
}

/* Primary button */
.btn--primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.btn--primary:hover,
.btn--primary:focus{background:var(--accent-2);border-color:var(--accent-2);color:var(--accent-ink)}

/* Ghost button */
.btn--ghost{background:transparent;border-color:currentColor;color:var(--accent)}
.btn--ghost:hover,
.btn--ghost:focus{background:var(--accent-2);border-color:var(--accent-2);color:#fff}

/* --------------------------------------------------
   Breadcrumbs & a11y
-------------------------------------------------- */
.breadcrumbs{font-size:.9rem;margin:var(--space-3) 0}
.breadcrumbs ol{display:flex;gap:6px;list-style:none;padding:0;margin:0}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs li+li:before{content:"/";margin:0 6px;color:#bbb}

.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:absolute;left:10px;top:10px;width:auto;height:auto;padding:8px 10px;background:#000;color:#fff;border-radius:6px;z-index:1000}

/* --------------------------------------------------
   Mobile tweaks
-------------------------------------------------- */
@media (max-width:520px){
  .hero{padding:36px 0 28px}
  .hero__subtitle{margin-bottom:var(--space-2)}
  .hero .btn{padding:10px 14px}
}

/* --------------------------------------------------
   Important: locked to light theme (no dark-mode overrides)
-------------------------------------------------- */
/* Intentionally no prefers-color-scheme: dark rules here */
