/*
Theme Name: Reumatológia Prešov
Theme URI: https://reumatologpresov.sk/
Author: Miroslav Čajko
Description: Moderná, plne editovateľná jednostránková téma pre reumatologickú ambulanciu v Prešove.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: reumatologia-presov
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Inter is bundled with the theme so WordPress renders the same typography everywhere. */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #15231d;
  --forest: #173c2b;
  --forest-deep: #102b20;
  --accent: #c7ee4f;
  --paper: #f2f1e9;
  --paper-warm: #e9e8de;
  --white: #fffef8;
  --line: rgba(21, 35, 29, 0.18);
  --muted: #67736d;
  --font-geist-sans: "Inter Variable", Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Variable", Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

body.menu-lock {
  overflow: hidden;
}

.admin-bar .site-header {
  top: 32px;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-header {
  align-items: center;
  background: rgba(242, 241, 233, 0.92);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  height: var(--header-h);
  left: 0;
  padding: 0 3.3vw;
  position: fixed;
  right: 0;
  top: 0;
  backdrop-filter: blur(18px);
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  justify-self: start;
}

.custom-logo-wrap,
.custom-logo-wrap .custom-logo-link {
  align-items: center;
  display: flex;
}

.custom-logo-wrap img {
  height: auto;
  max-height: 52px;
  max-width: 210px;
  width: auto;
}

.brand-mark {
  align-items: center;
  border: 1px solid var(--ink);
  display: flex;
  height: 36px;
  justify-content: center;
  position: relative;
  transform: rotate(45deg);
  width: 36px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
  background: var(--ink);
  content: "";
  position: absolute;
}

.brand-mark::before,
.brand-mark::after {
  height: 16px;
  width: 1px;
}

.brand-mark::before {
  left: 12px;
}

.brand-mark::after {
  right: 12px;
}

.brand-mark span::before,
.brand-mark span::after {
  height: 1px;
  width: 16px;
}

.brand-mark span::before {
  top: 12px;
}

.brand-mark span::after {
  bottom: 12px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-top: 5px;
  text-transform: uppercase;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: center;
}

.nav-list {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.2vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li > a {
  font-size: 13px;
  font-weight: 550;
  position: relative;
}

.nav-list > li > a::after {
  background: var(--ink);
  bottom: -8px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
  width: 100%;
}

.nav-list > li > a:hover::after,
.nav-list > li.current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-mobile-cta {
  display: none;
}

.header-cta {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  font-size: 12px;
  font-weight: 650;
  gap: 24px;
  justify-self: end;
  letter-spacing: 0.02em;
  padding: 13px 16px 13px 20px;
  transition: background 200ms ease, color 200ms ease;
}

.header-cta:hover {
  background: var(--accent);
  color: var(--ink);
}

.header-cta svg {
  height: 17px;
  width: 17px;
}

.menu-button {
  display: none;
}

.hero {
  background: var(--forest);
  color: var(--white);
  min-height: 760px;
  overflow: hidden;
  padding-top: var(--header-h);
  position: relative;
}

.hero-noise {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  inset: var(--header-h) 0 0;
  mask-image: linear-gradient(to right, black, transparent 80%);
  position: absolute;
}

.hero-content {
  padding: 10.5vh 0 165px 6.7vw;
  position: relative;
  width: 62%;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 11px;
  font-weight: 650;
  gap: 12px;
  letter-spacing: 0.16em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.eyebrow > span {
  background: var(--accent);
  height: 7px;
  transform: rotate(45deg);
  width: 7px;
}

.eyebrow.dark {
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(64px, 6.9vw, 112px);
  font-weight: 420;
  letter-spacing: -0.075em;
  line-height: 0.86;
  margin: 0;
  max-width: 980px;
}

.hero h1 > span {
  color: var(--accent);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
  margin-top: 18px;
  padding-left: 7.5vw;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.65;
  margin: 44px 0 34px;
  max-width: 520px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 32px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
  font-weight: 650;
  gap: 36px;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 20px 0 24px;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.button svg {
  height: 20px;
  transition: transform 220ms ease;
  width: 20px;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(4px);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: var(--accent);
}

.button-accent {
  background: var(--accent);
  color: var(--ink);
}

.button-accent:hover {
  background: var(--white);
}

.text-link {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 18px;
  padding: 13px 0 10px;
  transition: border-color 200ms ease;
}

.text-link:hover {
  border-color: var(--accent);
}

.text-link span {
  color: var(--accent);
}

.hero-visual {
  height: 600px;
  position: absolute;
  right: -1.5vw;
  top: 120px;
  width: 39vw;
  z-index: 1;
}

.orbit {
  border: 1px solid rgba(199, 238, 79, 0.24);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  animation: orbitPulse 6s ease-in-out infinite;
  height: 30vw;
  width: 30vw;
}

.orbit-two {
  animation: orbitPulse 6s ease-in-out 1.2s infinite reverse;
  height: 22vw;
  width: 22vw;
}

.hero-human {
  animation: floatHuman 6s ease-in-out infinite;
  filter: drop-shadow(0 22px 38px rgba(5, 26, 17, 0.24));
  height: clamp(430px, 39vw, 560px);
  left: 50%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  z-index: 1;
}

.visual-label {
  align-items: center;
  color: rgba(255, 255, 255, 0.64);
  display: flex;
  font-size: 10px;
  font-weight: 650;
  gap: 9px;
  letter-spacing: 0.13em;
  position: absolute;
  text-transform: uppercase;
}

.visual-label span {
  align-items: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--accent);
  display: flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.label-one { left: 3%; top: 24%; }
.label-two { right: 1%; top: 45%; }
.label-three { bottom: 16%; left: 7%; }

.hero-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  left: 6.7vw;
  padding: 25px 0 28px;
  position: absolute;
  right: 6.7vw;
  z-index: 3;
}

.hero-footer > div {
  display: grid;
  gap: 7px;
}

.hero-footer > div:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,0.16);
  padding-left: 3.2vw;
}

.hero-footer-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-footer strong {
  font-size: 14px;
  font-weight: 530;
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes floatHuman {
  0%, 100% { transform: translate(-50%, -50%) rotate(-1deg); }
  50% { transform: translate(-50%, calc(-50% - 12px)) rotate(1deg); }
}

.section {
  padding: 130px 6.7vw;
}

.section-index {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-index.light {
  color: rgba(255, 255, 255, 0.4);
}

.intro {
  display: grid;
  gap: 5vw;
  grid-template-columns: 0.6fr 2fr 1fr;
}

.intro h2,
.section-heading h2,
.services h2,
.appointment h2,
.contact h2 {
  font-size: clamp(46px, 5.2vw, 78px);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 0;
}

.intro-copy .eyebrow {
  margin-bottom: 34px;
}

.intro-body {
  align-self: end;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  padding-left: 34px;
}

.intro-body p {
  margin: 0;
}

.intro-body p + p {
  margin-top: 20px;
}

.doctor-strip {
  align-items: center;
  background: var(--accent);
  display: grid;
  gap: 26px;
  grid-template-columns: auto 1.7fr 1fr;
  margin: 0 6.7vw;
  padding: 42px 48px;
}

.doctor-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(68px, 7vw, 110px);
  font-style: italic;
  letter-spacing: -0.07em;
  line-height: 0.75;
}

.doctor-strip > div:nth-child(2) {
  border-left: 1px solid rgba(21,35,29,0.3);
  padding-left: 32px;
}

.doctor-strip span,
.doctor-name span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.doctor-strip p {
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 460px;
}

.doctor-name {
  border-left: 1px solid rgba(21,35,29,0.3);
  padding-left: 42px;
}

.doctor-name strong {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}

.diagnoses {
  padding-top: 160px;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 5vw;
  grid-template-columns: 0.6fr 2fr 1fr;
}

.section-heading > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 4px;
}

.diagnosis-list {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 80px;
}

.diagnosis-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 48px 1fr auto;
  min-height: 72px;
  padding: 0 18px 0 0;
  transition: background 200ms ease, padding 200ms ease;
}

.diagnosis-item:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 32px;
}

.diagnosis-item:nth-child(even) {
  padding-left: 32px;
}

.diagnosis-item:hover {
  background: var(--white);
  padding-left: 18px;
}

.diagnosis-item:nth-child(even):hover {
  padding-left: 50px;
}

.diagnosis-item span {
  color: #919a94;
  font-family: var(--font-geist-mono);
  font-size: 10px;
}

.diagnosis-item strong {
  font-size: 14px;
  font-weight: 570;
}

.diagnosis-item i {
  color: var(--forest);
  font-size: 18px;
  font-style: normal;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.diagnosis-item:hover i {
  opacity: 1;
  transform: translate(0);
}

.services {
  background: var(--forest-deep);
  color: var(--white);
  display: grid;
  gap: 9vw;
  grid-template-columns: 0.85fr 1.15fr;
  padding-bottom: 150px;
  padding-top: 150px;
}

.services-intro {
  align-self: start;
  position: sticky;
  top: 130px;
}

.services-intro .section-index {
  margin-bottom: 68px;
}

.services h2 {
  max-width: 620px;
}

.services-lead {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.75;
  margin: 36px 0 0;
  max-width: 490px;
}

.service-accordion {
  border-top: 1px solid rgba(255,255,255,0.2);
}

.service-accordion details {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.service-accordion summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 24px;
  grid-template-columns: 54px 1fr 24px;
  list-style: none;
  min-height: 105px;
  user-select: none;
}

.service-accordion summary::-webkit-details-marker {
  display: none;
}

.service-accordion summary > span {
  color: rgba(255,255,255,0.38);
  font-family: var(--font-geist-mono);
  font-size: 11px;
}

.service-accordion summary strong {
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 470;
  letter-spacing: -0.04em;
}

.service-accordion summary i {
  height: 20px;
  position: relative;
  width: 20px;
}

.service-accordion summary i::before,
.service-accordion summary i::after {
  background: var(--accent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 10px;
  transition: transform 220ms ease;
  width: 20px;
}

.service-accordion summary i::after {
  transform: rotate(90deg);
}

.service-accordion details[open] summary i::after {
  transform: rotate(0);
}

.service-detail {
  animation: detailReveal 300ms ease both;
  display: grid;
  gap: 36px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 4px 0 42px 78px;
}

.service-detail p {
  color: rgba(255,255,255,0.56);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.service-detail ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-detail li {
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.84);
  font-size: 12px;
  padding: 11px 0 11px 18px;
  position: relative;
}

.service-detail li::before {
  background: var(--accent);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 16px;
  transform: rotate(45deg);
  width: 5px;
}

@keyframes detailReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.appointment-head {
  display: grid;
  gap: 5vw;
  grid-template-columns: 0.6fr 2fr 1fr;
}

.appointment-head .eyebrow {
  align-self: start;
  grid-column: 2;
  margin-bottom: -12px;
}

.appointment-head h2 {
  grid-column: 2 / 4;
  max-width: 1000px;
}

.appointment-grid {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8vw;
  grid-template-columns: 1fr 1fr;
  margin-top: 80px;
  padding-top: 70px;
}

.appointment-call {
  padding-left: 5vw;
}

.call-label {
  color: var(--muted);
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.appointment-call > a {
  border-bottom: 2px solid var(--ink);
  display: inline-block;
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 450;
  letter-spacing: -0.07em;
  line-height: 1;
  padding-bottom: 9px;
}

.appointment-call > p {
  font-size: 15px;
  line-height: 1.7;
  margin: 35px 0 0;
  max-width: 500px;
}

.appointment-call p strong {
  color: var(--forest);
}

.appointment-call .callback-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
}

.appointment-info {
  border-top: 1px solid var(--line);
}

.appointment-info > div:not(.insurance) {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 36px 1fr;
  padding: 24px 0;
}

.appointment-info > div > span {
  color: var(--muted);
  font-family: var(--font-geist-mono);
  font-size: 10px;
}

.appointment-info p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 440px;
}

.insurance {
  align-items: center;
  display: flex;
  gap: 14px;
  padding-top: 30px;
}

.insurance > span {
  font-family: var(--font-geist-sans) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-right: auto;
  text-transform: uppercase;
}

.insurance strong {
  border: 1px solid var(--ink);
  font-size: 14px;
  min-width: 80px;
  padding: 12px 16px;
  text-align: center;
}

.contact {
  background: var(--forest);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}

.contact-copy {
  padding: 120px 6.7vw;
}

.contact-copy .section-index {
  margin-bottom: 68px;
}

.contact-copy h2 {
  max-width: 700px;
}

.contact-details {
  border-top: 1px solid rgba(255,255,255,0.18);
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
  margin-top: 65px;
  padding-top: 26px;
}

.contact-details > div {
  display: grid;
  gap: 12px;
}

.contact-details span {
  color: rgba(255,255,255,0.44);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-details strong,
.contact-details a {
  font-size: 16px;
  font-weight: 520;
  line-height: 1.5;
}

.contact-actions {
  align-items: center;
  display: flex;
  gap: 30px;
  margin-top: 42px;
}

.button-accent svg {
  height: 18px;
  width: 18px;
}

.light-link {
  color: var(--white);
}

.contact-map {
  background: #d9ddcf;
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.map-grid {
  background-image:
    linear-gradient(rgba(21,35,29,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,35,29,0.08) 1px, transparent 1px);
  background-size: 65px 65px;
  inset: 0;
  position: absolute;
}

.map-line {
  background: var(--white);
  height: 16px;
  position: absolute;
  width: 130%;
}

.line-a {
  left: -10%;
  top: 37%;
  transform: rotate(-18deg);
}

.line-b {
  height: 11px;
  left: -16%;
  top: 65%;
  transform: rotate(12deg);
}

.line-c {
  height: 13px;
  left: 30%;
  top: 48%;
  transform: rotate(77deg);
}

.map-pin {
  align-items: center;
  background: var(--forest);
  border-radius: 50% 50% 50% 0;
  display: flex;
  height: 72px;
  justify-content: center;
  left: 51%;
  position: absolute;
  top: 43%;
  transform: rotate(-45deg);
  width: 72px;
}

.map-pin span {
  background: var(--accent);
  border-radius: 50%;
  height: 18px;
  width: 18px;
}

.map-label {
  background: var(--white);
  color: var(--ink);
  display: grid;
  left: calc(51% + 48px);
  padding: 15px 20px;
  position: absolute;
  top: calc(43% + 2px);
}

.map-label strong {
  font-size: 13px;
}

.map-label span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}

.site-footer {
  align-items: center;
  background: #0b2118;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 130px;
  padding: 0 6.7vw;
}

.footer-brand .brand-mark {
  border-color: var(--white);
}

.footer-brand .brand-mark::before,
.footer-brand .brand-mark::after,
.footer-brand .brand-mark span::before,
.footer-brand .brand-mark span::after {
  background: var(--white);
}

.site-footer p {
  color: rgba(255,255,255,0.48);
  font-size: 11px;
}

.site-footer > a:last-child {
  font-size: 11px;
  justify-self: end;
}

.site-footer > a:last-child span {
  color: var(--accent);
  margin-left: 8px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(.2,.75,.25,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content-shell {
  min-height: 70vh;
  padding: calc(var(--header-h) + 90px) 6.7vw 110px;
}

.content-wrap {
  margin: 0 auto;
  max-width: 980px;
}

.content-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 52px;
  padding-bottom: 44px;
}

.content-heading h1 {
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0;
}

.post-list {
  display: grid;
  gap: 1px;
}

.post-card {
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.post-card h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
  margin: 8px 0 15px;
}

.post-date {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-link {
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  font-size: 13px;
  font-weight: 650;
  margin-top: 12px;
  padding-bottom: 6px;
}

.entry-content {
  font-size: 17px;
  line-height: 1.8;
}

.entry-content h2,
.entry-content h3 {
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-top: 2em;
}

.entry-content a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.entry-content img,
.featured-image img {
  height: auto;
  max-width: 100%;
}

.featured-image {
  margin: 0 0 40px;
}

.error-page .button {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    background: var(--paper);
    display: flex;
    flex-direction: column;
    inset: var(--header-h) 0 0;
    justify-content: flex-start;
    opacity: 0;
    padding: 70px 6.7vw;
    pointer-events: none;
    position: fixed;
    transform: translateY(-16px);
    transition: opacity 220ms ease, transform 220ms ease;
    visibility: hidden;
  }

  .admin-bar .nav {
    top: 32px;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-list > li > a {
    border-bottom: 1px solid var(--line);
    display: block;
    font-size: clamp(26px, 5vw, 48px);
    font-weight: 450;
    letter-spacing: -0.04em;
    padding: 18px 0;
    width: 100%;
  }

  .nav-mobile-cta {
    background: var(--accent);
    border: 0 !important;
    display: block;
    font-size: 16px !important;
    margin-top: 24px;
    padding: 18px 22px !important;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    background: none;
    border: 0;
    cursor: pointer;
    display: grid;
    gap: 7px;
    justify-self: end;
    padding: 12px 0 12px 12px;
  }

  .menu-button span {
    background: var(--ink);
    height: 1px;
    transition: transform 200ms ease;
    width: 28px;
  }

  .menu-button.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero-content {
    width: 72%;
  }

  .hero-visual {
    opacity: 0.65;
    right: -9vw;
    width: 48vw;
  }

  .intro,
  .section-heading,
  .appointment-head {
    grid-template-columns: 0.45fr 2fr;
  }

  .intro-body,
  .section-heading > p {
    grid-column: 2;
  }

  .appointment-head .eyebrow,
  .appointment-head h2 {
    grid-column: 2;
  }

  .services {
    gap: 6vw;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 70px;
  }

  .site-header {
    padding: 0 20px;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .nav {
    top: 46px;
  }

  .brand-mark {
    height: 30px;
    width: 30px;
  }

  .brand-mark::before { left: 10px; }
  .brand-mark::after { right: 10px; }
  .brand-mark span::before { top: 10px; }
  .brand-mark span::after { bottom: 10px; }

  .hero {
    min-height: 810px;
  }

  .hero-content {
    padding: 86px 22px 230px;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(52px, 15.4vw, 74px);
    line-height: 0.89;
  }

  .hero h1 > span {
    margin-top: 12px;
    padding-left: 5vw;
  }

  .hero-lead {
    font-size: 14px;
    margin-top: 34px;
    max-width: 440px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-visual {
    height: 280px;
    opacity: 0.32;
    right: -26vw;
    top: 350px;
    width: 90vw;
  }

  .orbit-one {
    height: 78vw;
    width: 78vw;
  }

  .orbit-two {
    height: 56vw;
    width: 56vw;
  }

  .hero-human {
    height: 310px;
  }

  .visual-label {
    display: none;
  }

  .hero-footer {
    gap: 18px;
    grid-template-columns: 1fr 1fr;
    left: 22px;
    padding: 20px 0;
    right: 22px;
  }

  .hero-footer > div:not(:first-child) {
    padding-left: 18px;
  }

  .hero-footer > div:last-child {
    display: none;
  }

  .hero-footer strong {
    font-size: 12px;
  }

  .section {
    padding: 88px 22px;
  }

  .intro,
  .section-heading,
  .appointment-head {
    display: block;
  }

  .section-index {
    margin-bottom: 54px;
  }

  .intro h2,
  .section-heading h2,
  .services h2,
  .appointment h2,
  .contact h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .intro-body {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding: 28px 0 0;
  }

  .doctor-strip {
    display: grid;
    grid-template-columns: auto 1fr;
    margin: 0 22px;
    padding: 32px 24px;
  }

  .doctor-number {
    font-size: 68px;
  }

  .doctor-strip > div:nth-child(2) {
    padding-left: 20px;
  }

  .doctor-strip p {
    font-size: 12px;
  }

  .doctor-name {
    border-left: 0;
    border-top: 1px solid rgba(21,35,29,0.3);
    grid-column: 1 / 3;
    margin-top: 10px;
    padding: 24px 0 0;
  }

  .section-heading > p {
    margin-top: 28px;
  }

  .diagnosis-list {
    display: block;
    margin-top: 50px;
  }

  .diagnosis-item:nth-child(odd),
  .diagnosis-item:nth-child(even) {
    border-right: 0;
    padding-left: 0;
    padding-right: 8px;
  }

  .diagnosis-item:nth-child(even):hover,
  .diagnosis-item:hover {
    padding-left: 10px;
  }

  .services {
    display: block;
  }

  .services-intro {
    position: static;
  }

  .services-intro .section-index {
    margin-bottom: 54px;
  }

  .service-accordion {
    margin-top: 68px;
  }

  .service-accordion summary {
    grid-template-columns: 34px 1fr 20px;
    min-height: 86px;
  }

  .service-detail {
    padding: 0 0 32px 58px;
  }

  .appointment-grid {
    display: block;
    margin-top: 50px;
    padding-top: 48px;
  }

  .appointment-call {
    padding-left: 0;
  }

  .appointment-call > a {
    font-size: 13vw;
  }

  .appointment-info {
    margin-top: 58px;
  }

  .contact {
    display: block;
  }

  .contact-copy {
    padding: 88px 22px;
  }

  .contact-copy .section-index {
    margin-bottom: 54px;
  }

  .contact-details {
    display: block;
    margin-top: 48px;
  }

  .contact-details > div + div {
    margin-top: 24px;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-map {
    min-height: 430px;
  }

  .site-footer {
    gap: 28px;
    grid-template-columns: 1fr auto;
    padding: 34px 22px;
  }

  .site-footer p {
    display: none;
  }

  .content-shell {
    padding: calc(var(--header-h) + 65px) 22px 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
