/* =========================================================
   v4 — built on the Cruip "Devfolio" template.
   Devfolio supplies style.css (Tailwind build), the Inter /
   Inter Tight type scale, the narrow profile shell and the
   light/dark switch. This file adds only what its compiled
   build has no classes for.
   ========================================================= */

:root {
  --accent: #0b7285;         /* clinical teal-blue, calmer than the stock sky */
  --accent-strong: #095c6b;
  --accent-tint: #e6f4f6;
  --rule: #eceff3;
}
.dark {
  --accent: #4dd4e8;
  --accent-strong: #7ee0ef;
  --accent-tint: rgba(77, 212, 232, .12);
  --rule: #1f2937;
}

html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  background: var(--accent); color: #fff; padding: .55rem 1rem;
  border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: top .2s ease;
}
.skip:focus { top: 1rem; }

/* accent helpers, since the compiled build has no sky utilities */
.accent { color: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-strong); color: #fff; }
.btn-quiet {
  border: 1px solid var(--rule);
  color: inherit;
}
.btn-quiet:hover { background: var(--accent-tint); }

/* portrait placeholder in the avatar slot */
.avatar-slot {
  width: 88px; height: 88px; border-radius: 999px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--accent-tint), transparent);
  border: 1px solid var(--rule);
  color: var(--accent);
  overflow: hidden;
}
.avatar-slot svg { width: 52%; height: auto; opacity: .5; }
.avatar-note { font-size: 11px; letter-spacing: .01em; }

/* section heading rule */
.sec-h {
  display: flex; align-items: baseline; gap: .75rem;
}
.sec-h::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}

/* condition rows */
.cond {
  display: block; width: 100%; text-align: left;
  padding: .85rem .25rem; border-bottom: 1px solid var(--rule);
  background: none; border-left: 0; border-right: 0; border-top: 0;
  font: inherit; color: inherit; cursor: pointer;
  transition: padding-left .18s ease, color .18s ease;
}
.cond:hover, .cond:focus-visible { padding-left: .6rem; color: var(--accent); }
.cond:last-of-type { border-bottom: 0; }
.cond .c-t { font-weight: 600; display: flex; align-items: center; gap: .55rem; }
.cond .c-t .n {
  font-size: 11px; font-variant-numeric: tabular-nums;
  color: var(--accent); font-weight: 700;
}
.cond .c-d { font-size: 13px; opacity: .7; margin-top: .2rem; }
.cond .c-more {
  display: block; margin-top: .5rem; font-size: 13px; font-weight: 400;
  color: inherit; opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .2s ease, max-height .2s ease;
}
.cond[aria-expanded="true"] .c-more { opacity: .78; }
.cond:hover .c-more, .cond:focus-visible .c-more { color: inherit; }
.cond[aria-expanded="true"] .c-more { opacity: 1; max-height: 14rem; }
.cond .c-more p + p { margin-top: .4rem; }
.cond .c-more .tags { margin-top: .5rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.cond .c-more .tags span {
  background: var(--accent-tint); color: var(--accent-strong);
  border-radius: 4px; padding: .15rem .4rem; font-weight: 600;
}
.dark .cond .c-more .tags span { color: var(--accent); }

/* step rows */
.step { display: grid; grid-template-columns: 1.6rem 1fr; gap: .9rem; }
.step .s-n {
  width: 1.6rem; height: 1.6rem; border-radius: 999px;
  border: 1px solid var(--rule); display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--accent);
}
.step .s-t { font-weight: 600; margin-bottom: .2rem; }
.step .s-d { font-size: 13px; opacity: .75; }

/* credential rows */
.cred-row { display: grid; gap: .15rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.cred-row:last-child { border-bottom: 0; }
.cred-row dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.cred-row dd { font-size: 14px; }

/* location + contact cards */
.card {
  border: 1px solid var(--rule); border-radius: 12px;
  padding: 1.1rem 1.15rem;
}
.card .k { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.card address { font-style: normal; font-size: 14px; opacity: .8; margin-top: .35rem; }
.card .note { font-size: 13px; opacity: .7; margin-top: .5rem; }

.contact-tel {
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em;
  text-decoration: none; color: inherit; display: block;
}
.contact-tel:hover { color: var(--accent); }
.gdpr {
  margin-top: .9rem; padding-left: .8rem;
  border-left: 2px solid var(--accent);
  font-size: 12.5px; opacity: .75;
}

/* review placeholder */
.slot {
  border: 1px dashed var(--rule); border-radius: 12px;
  padding: 1.2rem 1.15rem; font-size: 13px; opacity: .8;
}
.slot .tag { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; display: block; margin-bottom: .35rem; }

/* subpage prose */
.prose h2 { font-family: "Inter Tight", Inter, sans-serif; font-weight: 650; font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.prose p { font-size: 14px; opacity: .8; }
.prose p + p { margin-top: .7rem; }
.prose ul { margin: .6rem 0 0 1.1rem; font-size: 14px; opacity: .8; }
.prose li + li { margin-top: .3rem; }
.prose .callout {
  margin-top: 1.4rem; border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: .9rem 1rem; font-size: 13.5px;
}

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

/* ------------------------------------------------------------------
   Utilities the purchased DevFolio build does not contain. The template
   ships a COMPILED Tailwind stylesheet holding only the classes its own
   demo used, so anything else in the markup fails silently.
   ------------------------------------------------------------------ */
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-5 { margin-top: 1.25rem; }
