/* Άργος · Κτηνιατρείο
   Layout after neva-co.be: full-screen hero, image pairs with centred caps text,
   a wide band, a dark footer with a giant wordmark, half-screen menu, pill dock.
   Type: GFS Neohellenic (display + caps text), Commissioner (small UI text). */
:root {
  --bg: #E5E1D5;
  --ink: #000;
  --dark: #171717;
  --panel: #1B1B1B;
  --light: #E5E1D5;
  --mute: #8C8A84;
  --line-d: rgba(229, 225, 213, .16);
  --pad: clamp(16px, 3.9vw, 56px);
  --serif: "GFS Neohellenic", "Optima", "Candara", serif;
  --sans: "Commissioner", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--serif); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; font-weight: 400; }
ol, ul { list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: -999px; top: 8px; z-index: 99; background: var(--dark); color: var(--light); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* caps text, the Neva voice */
.caps, .hero-txt h1, .hero-txt p, .duo-txt h2, .duo-txt p, .band-txt, .txtlink, .pill, .dock, .menu-nav a, .hd-menu-txt, .d-title, .sheet-close {
  text-transform: uppercase;
}
/* GFS Neohellenic caps are loose by default; tighten to Neva's colour */
.hero-txt h1, .duo-txt h2, .duo-txt p, .band-txt, .txtlink, .pill, .dock, .menu-nav a, .hd-menu-txt, .d-title { letter-spacing: -0.012em !important; }
/* its word space is very wide, at every size */
.hero-txt h1, .duo-txt, .band-txt, .txtlink, .pill, .dock, .menu-nav a, .hd-menu-txt, .d-title, .svc h3, .pillars h3, .pl-what strong, .pl-head h3, .vet-name, .urgent h3 { word-spacing: -0.14em; }

/* ---------------------------------------------------------------- pills + links */
.pill { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 16px; border-radius: 999px; font-family: var(--serif); font-size: 13px; letter-spacing: .02em; white-space: nowrap; transition: background .3s, color .3s; }
.pill--dark { background: var(--dark); color: var(--light); }
.pill--dark:hover { background: #2b2b2b; }
.pill--light { background: var(--light); color: var(--dark); height: 44px; padding: 0 26px; font-size: 14px; }
.pill--light:hover { background: #fff; }
.pill--block { width: 100%; }
.txtlink { font-family: var(--serif); font-size: 13px; letter-spacing: .02em; border-bottom: 1px solid currentColor; padding-bottom: 1px; line-height: 1.3; }
.txtlink:hover { opacity: .6; }
.txtlink--light { color: var(--light); }

/* ---------------------------------------------------------------- header */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 40; display: grid; grid-template-columns: 1fr auto; align-items: center; height: 84px; padding: 0 30px; color: #fff; transition: transform .5s cubic-bezier(.3, .7, .2, 1); }
.hd.is-hidden:not(.is-menu) { transform: translateY(-100%); }
/* past the hero the header sits on cream: frosted cream, black type */
.hd.is-solid:not(.is-menu) { color: var(--ink); background: rgba(229, 225, 213, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hd { transition: transform .5s cubic-bezier(.3, .7, .2, 1), background .4s, color .4s; }
.hd-logo { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 30px; letter-spacing: .5em; text-decoration: none; line-height: 1; margin-right: -.5em; }
.hd-menu { position: absolute; left: 258px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 10px; }
.hd-menu-txt { font-family: var(--serif); font-size: 15px; letter-spacing: .03em; }
.burger { position: relative; width: 16px; height: 8px; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .4s, top .4s; }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 7px; }
.hd.is-menu .burger i:first-child { top: 4px; transform: rotate(45deg); }
.hd.is-menu .burger i:last-child { top: 4px; transform: rotate(-45deg); }
.hd-info { grid-column: 1; justify-self: end; display: flex; gap: 66px; margin-right: 150px; font-family: var(--sans); font-size: 11.5px; line-height: 1.5; font-weight: 400; }
.hd-info p { display: flex; flex-direction: column; }
.hd-cta { grid-column: 2; }
.status { display: inline-flex; align-items: center; gap: 6px; opacity: .85; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: #9a958a; display: inline-block; }
.status.is-open .dot { background: #8DBF7A; }
.status.is-closed .dot { background: #D08A6A; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--dark); display: grid; place-items: center; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, .28) 40%, rgba(0, 0, 0, .42)); }
.hero-txt { position: relative; z-index: 1; text-align: center; color: var(--light); padding: 0 24px; animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-txt h1 { font-size: clamp(22px, 1.7vw, 25px); line-height: 1.33; letter-spacing: .01em; }
.hero-txt p { font-family: var(--sans); font-size: 13.5px; letter-spacing: .02em; margin-top: 14px; font-weight: 400; }
@keyframes rise { from { opacity: .01; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- image pairs (Neva sections) */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; margin: 86px 0; padding: 0 var(--pad); }
.duo-imgs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; width: min(100%, 808px); }
.duo-imgs picture { min-width: 0; }
.duo-imgs img { width: 100%; height: auto; aspect-ratio: 3 / 5; object-fit: cover; background: #d6d1c4; }
.duo-txt { justify-self: center; width: min(440px, 100%); text-align: center; padding: 0 12px; }
.duo-txt h2 { font-size: 13px; letter-spacing: .01em; line-height: 1.4; }
.duo-txt p { font-size: 13px; line-height: 1.45; letter-spacing: .01em; margin-top: 42px; text-wrap: pretty; }
.duo-txt .txtlink, .duo-links { margin-top: 38px; }
.duo-links { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.duo--rev .duo-imgs { justify-self: end; }
.duo--rev .duo-txt { grid-row: 1; }

/* ---------------------------------------------------------------- band */
.band { position: relative; height: 60vh; min-height: 360px; overflow: hidden; background: var(--dark); display: grid; place-items: center; }
.band-img, .band-img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.band-txt { position: relative; z-index: 1; color: #fff; text-align: center; font-size: clamp(19px, 1.45vw, 21px); line-height: 1.4; letter-spacing: .01em; padding: 0 24px; max-width: 760px; }

/* ---------------------------------------------------------------- footer (contact) */
.ft { position: relative; background: var(--dark); color: #fff; min-height: 70vh; display: flex; flex-direction: column; overflow: hidden; font-family: var(--sans); }
.ft-cols { display: grid; grid-template-columns: 30.5% 24.5% 30% 1fr; padding: 28px 22px 0; }
.ft-cols h3 { font-size: 11.5px; color: var(--mute); margin-bottom: 14px; font-weight: 400; }
.ft-cols p, .ft-cols dl { font-size: 12px; line-height: 1.5; }
.ft-link { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.ft-link:hover { opacity: .6; }
.hours div { display: flex; gap: 6px; }
.hours dt::after { content: ":"; }
.hours .is-today { color: #fff; font-weight: 600; }
.hours div:not(.is-today) { color: #cfccc4; }
.ft-word { margin-top: auto; font-family: var(--serif); color: #262626; font-size: 21vw; line-height: .74; letter-spacing: 0; display: flex; justify-content: space-between; padding: 0 1vw; user-select: none; transform: translateY(4%); }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 14px 14px 16px; font-size: 11.5px; color: #cfccc4; position: relative; flex-wrap: wrap; }
.ft-bottom a { text-underline-offset: 3px; }

/* ---------------------------------------------------------------- dock */
.dock { position: fixed; left: 50%; bottom: 22px; z-index: 30; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(62, 60, 56, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); color: var(--light); font-size: 12.5px; letter-spacing: .02em; transition: opacity .4s, transform .4s; }
.dock > * { padding: 10px 22px; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: background .3s; }
.dock > *:hover { background: rgba(255, 255, 255, .08); }
body.is-locked .dock { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }

/* ---------------------------------------------------------------- sheets (menu + drawers) */
.sheet { position: fixed; inset: 0; z-index: 35; pointer-events: none; visibility: hidden; transition: visibility 0s .7s; }
.sheet.is-open { pointer-events: auto; visibility: visible; transition: none; }
.sheet-bg { position: absolute; inset: 0; overflow: hidden; background: #000; opacity: 0; transition: opacity .7s; }
.sheet-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.62); transform: scale(1.1); transition: opacity .5s; }
.sheet.is-open .sheet-bg { opacity: 1; }
.sheet-panel { position: absolute; inset: 0 auto 0 0; width: 50%; background: var(--panel); color: var(--light); transform: translateX(-101%); transition: transform .8s cubic-bezier(.7, 0, .2, 1); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.sheet.is-open .sheet-panel { transform: none; }

.menu-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 42px 0 0 72%; font-size: 20px; line-height: 1.35; }
.menu-nav a { text-decoration: none; letter-spacing: .02em; }
.sheet-info { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 43px 44px; font-family: var(--sans); font-size: 11.5px; line-height: 1.55; }
.sheet-info h3 { color: var(--mute); font-size: 11.5px; margin-bottom: 12px; }

/* rolling letters on hover (menu) */
.roll { display: inline-flex; overflow: hidden; }
.roll span { display: inline-block; position: relative; transition: transform .5s cubic-bezier(.6, 0, .2, 1); transition-delay: calc(var(--i) * 18ms); white-space: pre; }
.roll span::after { content: attr(data-c); position: absolute; left: 0; top: 100%; }
a:hover > .roll span, a:focus-visible > .roll span { transform: translateY(-100%); }

/* drawers */
.sheet-close { position: sticky; top: 0; align-self: flex-end; margin: 30px 30px 0 0; font-size: 13px; letter-spacing: .03em; border-bottom: 1px solid currentColor; z-index: 2; }
.drawer { width: min(560px, 100%); margin: 0 auto; padding: 48px 32px 80px; font-family: var(--sans); font-size: 15px; line-height: 1.6; font-weight: 300; }
.d-title { font-family: var(--serif); font-size: 22px; letter-spacing: .02em; margin-bottom: 28px; text-align: center; }
.d-lead { font-size: 16px; color: #fff; margin-bottom: 18px; }
.drawer > p { color: #d2cec4; }
.d-note { font-size: 12.5px; color: var(--mute); margin-top: 18px; }
.d-actions { display: flex; align-items: center; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.svc { counter-reset: s; border-top: 1px solid var(--line-d); }
.svc li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; padding: 18px 0 20px; border-bottom: 1px solid var(--line-d); }
.svc li::before { content: counter(s, decimal-leading-zero); grid-row: 1 / span 2; font-size: 12px; color: var(--mute); padding-top: 4px; }
.svc h3, .pillars h3 { font-family: var(--serif); font-size: 18px; letter-spacing: .01em; color: #fff; }
.svc p, .pillars p { color: #c9c5bb; font-size: 14.5px; margin-top: 4px; }
.pillars { margin-top: 30px; border-top: 1px solid var(--line-d); }
.pillars li { padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.vet { margin-top: 30px; }
.vet-name { font-family: var(--serif); font-size: 20px; color: #fff; }
.vet-role { font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.urgent { margin-top: 36px; padding: 20px 22px; border: 1px solid var(--line-d); border-radius: 4px; }
.urgent h3 { font-family: var(--serif); font-size: 18px; color: #fff; }
.urgent p { color: #c9c5bb; font-size: 14px; margin-top: 6px; }

/* fields (on dark) */
.form, .pl-form { display: grid; gap: 24px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 11.5px; color: var(--mute); letter-spacing: .04em; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(229, 225, 213, .4); border-radius: 0; padding: 6px 0 9px; width: 100%; -webkit-appearance: none; appearance: none; color-scheme: dark; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #E5E1D5 50%), linear-gradient(135deg, #E5E1D5 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: #000; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(229, 225, 213, .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: #fff; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #D08A6A; }
.form-note { font-size: 12.5px; color: var(--mute); }
.form-note.is-ok { color: #A9CF98; }
.seg { border: 0; margin: 0; padding: 3px; display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-d); border-radius: 999px; width: max-content; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 8px 22px; border-radius: 999px; font-size: 14px; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--light); color: var(--dark); }
.seg input:focus-visible + span { outline: 1px solid #fff; outline-offset: 2px; }

/* planner output */
.planner-out { margin-top: 28px; }
.pl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(229, 225, 213, .5); flex-wrap: wrap; }
.pl-head h3 { font-family: var(--serif); font-size: 20px; color: #fff; }
.pl-head p { font-size: 12.5px; color: var(--mute); }
.pl-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; row-gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
.pl-date { font-size: 12.5px; color: var(--mute); align-self: center; }
.pl-tag { grid-column: 2; grid-row: 1; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; align-self: center; }
.pl-what { grid-column: 1 / -1; }
.pl-what strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; color: #fff; }
.pl-what span { font-size: 14px; color: #c9c5bb; }
.pl-tag--past { color: var(--mute); border: 1px solid var(--line-d); }
.pl-tag--next { color: var(--dark); background: var(--light); }
.pl-tag--soon { color: #d2cec4; border: 1px solid rgba(229, 225, 213, .35); }
.is-past .pl-what strong, .is-past .pl-what span { color: var(--mute); }
.pl-actions { display: flex; gap: 22px; align-items: center; margin-top: 24px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.2s cubic-bezier(.2, .7, .2, 1), transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-txt { animation: none; }
  .sheet-panel, .roll span { transition: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .hd-info { margin-right: 40px; gap: 36px; }
  .menu-nav { padding-left: 45%; }
}
@media (max-width: 960px) {
  .hd-info { display: none; }
  .sheet-panel { width: 100%; }
  .menu-nav { padding: 120px 24px 0; font-size: 26px; }
  .sheet-info { grid-template-columns: 1fr 1fr; padding: 40px 24px 40px; }
}
@media (max-width: 700px) {
  .hd { height: 64px; padding: 0 22px; background: rgba(120, 116, 108, .28); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .hd.is-menu { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hd.is-solid:not(.is-menu) { background: rgba(229, 225, 213, .82); }
  .hd-logo { left: 22px; font-size: 25px; }
  .hd-menu { left: auto; right: 22px; }
  .hd-menu-txt { display: none; }
  .burger { width: 24px; height: 9px; }
  .burger i:last-child { top: 8px; }
  .hd-cta { display: none; }
  .duo, .duo--rev { grid-template-columns: 1fr; margin: 64px 0; padding: 0 16px; gap: 60px; }
  .duo--rev .duo-txt { grid-row: 2; }
  .duo-imgs { width: 100%; gap: 6px; }
  .duo-txt { padding: 0 8px 20px; }
  .duo-txt h2, .duo-txt p { font-size: 14.5px; }
  .duo-txt p { margin-top: 40px; line-height: 1.42; }
  .band { height: 60vh; }
  .ft-cols { grid-template-columns: 1fr 1fr; row-gap: 34px; padding: 28px 16px 0; }
  .ft-cols p, .ft-cols dl, .ft-link { font-size: 13px; }
  .ft-word { font-size: 22vw; padding: 0 6px; margin-top: 80px; }
  .ft-bottom { padding: 14px 16px 90px; font-size: 11px; }
  .dock { bottom: 18px; }
  .dock-x { display: none; }
  .dock > * { padding: 12px 34px; font-size: 13px; }
  .row2 { grid-template-columns: 1fr; }
  .drawer { padding: 30px 22px 80px; }
  .sheet-close { display: none; }
  .drawer { padding-top: 96px; }
}

/* free Netlify sites get a fixed "Powered by Netlify" badge bottom-right: lift the dock above it */
@media (max-width: 960px) {
  html:has(#nl-badge-frame) .dock { bottom: 96px; }
  html:has(#nl-badge-frame) .ft-bottom { padding-bottom: 170px; }
}

/* the header floats over the open sheet: keep a solid strip under it so scrolled
   drawer content never slides beneath the logo, and pin the close link inside it */
.sheet-panel::before { content: ""; display: block; flex: none; position: sticky; top: 0; height: 84px; margin-bottom: -84px; background: var(--panel); z-index: 1; }
.sheet-close { position: sticky; top: 30px; margin-top: 30px; }
.drawer { padding-top: 64px; }
@media (max-width: 1180px) {
  .menu-nav { padding: 130px 0 0 43px; }
}
@media (max-width: 700px) {
  .sheet-panel::before { height: 64px; margin-bottom: -64px; }
  .drawer { padding-top: 84px; }
}
