/* ==========================================================================
   Ikon Marketing Group
   Palette taken from the logo file itself: the teal strokes sample to
   rgb(0,126,132) and the wordmark is pure black on near-white. Every pairing
   used below was checked against WCAG AA -- the brand teal is 4.85:1 on white,
   so the real brand colour is used for text rather than a darkened stand-in.
   Light ground throughout, by request.
   ========================================================================== */

:root {
  --ink:        #0a0a0a;
  --ink-soft:   #2b3133;
  --muted:      #56635f;
  --teal:       #007e86;   /* sampled from the logo */
  --teal-deep:  #00636a;   /* hovers, and small text on tinted grounds */
  --teal-wash:  #e9f2f2;
  --ground:     #ffffff;
  --ground-alt: #f6f7f7;
  --line:       #e2e6e7;
  --line-soft:  #eef1f1;

  --wrap: 1140px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(10,10,10,.04), 0 8px 24px rgba(10,10,10,.05);
  --shadow-lift: 0 2px 4px rgba(10,10,10,.05), 0 16px 40px rgba(0,126,134,.10);

  /* The logo is a thin, wide-tracked geometric sans. No webfont is loaded --
     the look is carried by weight and letter-spacing on a system stack, which
     costs nothing and cannot fail to load. */
  --sans: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-deep); }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.18rem; font-weight: 500; letter-spacing: -0.005em; }
p { margin: 0 0 1.1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: .7rem 1.1rem; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

/* --- Eyebrow / chevron motif -------------------------------------------- */
/* The doubled chevron from the logo mark, reused as the site's one ornament. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 9px; flex: none;
  background: var(--teal);
  clip-path: polygon(0 0, 42% 50%, 0 100%, 16% 100%, 58% 50%, 16% 0,
                     42% 0, 84% 50%, 42% 100%, 58% 100%, 100% 50%, 58% 0);
}

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brandmark { display: flex; align-items: center; flex: none; }
.brandmark img { height: 42px; width: auto; }
.brandmark span { position: absolute; left: -9999px; }

.nav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.nav a {
  display: block; padding: .5rem .85rem; border-radius: var(--radius);
  color: var(--ink-soft); text-decoration: none;
  font-size: .87rem; font-weight: 500; letter-spacing: .04em;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--teal-deep); background: var(--teal-wash); }
.nav a.is-active { color: var(--teal-deep); }
.nav a.is-active::after {
  content: ""; display: block; height: 2px; background: var(--teal);
  margin-top: 5px; border-radius: 2px;
}

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--ground-alt); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* --- Hero ---------------------------------------------------------------- */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.hero::after {
  /* A faint teal wash bleeding in from the right, echoing the logo's split. */
  content: ""; position: absolute; inset: 0 -20% 0 55%; z-index: -1;
  background: radial-gradient(ellipse at 70% 40%, rgba(0,126,134,.09), transparent 62%);
  pointer-events: none;
}
.hero h1 { max-width: 17ch; }
.hero h1 .accent { color: var(--teal); }
.hero-lede { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted); max-width: 56ch; margin-bottom: 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- At-a-glance strip --------------------------------------------------- */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.glance div { background: #fff; padding: 1.6rem 1.4rem; }
.glance dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.glance dd { margin: .35rem 0 0; font-size: 1.9rem; font-weight: 300; color: var(--ink); line-height: 1.1; }
.glance dd small { font-size: .95rem; color: var(--muted); display: block; font-weight: 400; letter-spacing: 0; }

/* --- Cards --------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
a.card:hover { border-color: rgba(0,126,134,.4); box-shadow: var(--shadow-lift); transform: translateY(-3px); }
a.card:hover .card-title { color: var(--teal-deep); }

.card-media {
  aspect-ratio: 16 / 9; background: var(--ground-alt);
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 1.4rem; }
.card-media.is-cover img { object-fit: cover; padding: 0; }

/* Fallback tile for a property with no usable image of its own. Initials on a
   teal wash beat a stretched placeholder or an empty grey box. */
.card-media.is-fallback {
  background: linear-gradient(135deg, var(--teal-wash), #dfeced);
  color: var(--teal-deep);
  font-size: 2rem; font-weight: 300; letter-spacing: .1em;
}

.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-title { margin: 0 0 .3rem; transition: color .15s ease; }
.card-host { font-size: .78rem; color: var(--muted); letter-spacing: .05em; margin-bottom: .9rem; }
.card-blurb { font-size: .93rem; color: var(--muted); margin: 0 0 1.1rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 600;
  color: var(--teal-deep); background: var(--teal-wash);
  padding: .25rem .55rem; border-radius: 2px;
}
.visit { font-size: .82rem; font-weight: 600; color: var(--teal-deep); letter-spacing: .04em; white-space: nowrap; }
.visit::after { content: " \2197"; }

/* --- Prose --------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose p { color: var(--muted); }
.prose h2 { margin-top: 2.6rem; }
.prose ul { color: var(--muted); padding-left: 1.1rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--ink); font-weight: 600; }

/* --- Contact ------------------------------------------------------------- */
.contact-card {
  border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: var(--radius); background: #fff;
  padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow); max-width: 620px;
}
.contact-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .4rem; }
.contact-email { font-size: clamp(1.15rem, 3vw, 1.6rem); font-weight: 400; color: var(--teal-deep); text-decoration: none; word-break: break-word; }
.contact-email:hover { text-decoration: underline; }

.cta-band { background: var(--teal-wash); border-block: 1px solid rgba(0,126,134,.16); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band h2 { margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: var(--muted); }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--ground-alt); border-top: 1px solid var(--line); padding: 3.5rem 0 2.5rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2.5rem; }
.footer-grid h4 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 1rem; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer-grid a:hover { color: var(--teal-deep); }
.footer-blurb { font-size: .9rem; color: var(--muted); max-width: 34ch; }
.footer-logo { height: 34px; width: auto; margin-bottom: 1rem; }
.footer-base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .82rem; color: var(--muted);
}

/* --- 404 ----------------------------------------------------------------- */
.center-page { min-height: 58vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }

/* --- Layout shell -------------------------------------------------------- */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { min-height: 64px; flex-wrap: wrap; padding-block: .6rem; }
  .brandmark img { height: 34px; }
  .nav { width: 100%; gap: .1rem; }
  .nav a { padding: .45rem .6rem; font-size: .82rem; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
