/* Conversion Masters — Orthodox Christianity in Nicosia & Limassol */
:root {
  --ink: #141c33;
  --ink-2: #1e2a4a;
  --parchment: #f5eedf;
  --parchment-2: #ece1c9;
  --gold: #b88a35;
  --gold-soft: #d9b871;
  --vermilion: #9a2c1f;
  --text: #2a2a2e;
  --muted: #6a6558;
  --line: rgba(20, 28, 51, .14);
  --display: "GFS Didot", "Cormorant Garamond", Georgia, serif;
  --body: "Commissioner", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--vermilion); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 2.4em; height: 1px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 2.4em; height: 1px; background: currentColor; }
.greek { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 1.15rem; letter-spacing: .02em; }
.lead { font-size: 1.2rem; line-height: 1.65; color: #3b3a3a; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 28, 51, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 184, 113, .28);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: #fff; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 50px;
  border: 1px solid var(--gold-soft); border-radius: 22px 22px 3px 3px;
  color: var(--gold-soft); font-size: 1.45rem; line-height: 1;
}
.brand strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; letter-spacing: .02em; line-height: 1.1; }
.brand em { display: block; font-style: normal; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-top: .25rem; }
#nav { display: flex; align-items: center; gap: 1.9rem; }
#nav a {
  color: #e9e3d3; text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .04em;
  padding: .4rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
#nav a:hover, #nav a[aria-current="page"] { color: var(--gold-soft); border-color: var(--gold-soft); }
#nav a.btn { border: 1px solid var(--gold-soft); color: var(--gold-soft); padding: .55rem 1.2rem; }
#nav a.btn:hover { background: var(--gold-soft); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--gold-soft); margin: 7px 0; transition: transform .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--body); font-size: .86rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 1rem 1.9rem; border: 1px solid var(--gold); cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--gold-soft); }
.btn-ghost:hover { background: rgba(217, 184, 113, .14); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #e9e3d3;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(184, 138, 53, .28), transparent 65%),
    radial-gradient(circle at 1px 1px, rgba(217, 184, 113, .1) 1px, transparent 1.5px) 0 0 / 26px 26px,
    linear-gradient(160deg, #0f162b, var(--ink-2));
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; padding-block: clamp(4rem, 9vw, 7.5rem); }
.hero h1 { color: #fff; }
.hero h1 i { color: var(--gold-soft); }
.hero .lead { color: #cfc8b6; max-width: 34em; }
.hero-art { position: relative; justify-self: center; width: min(420px, 100%); }
.arch { border-radius: 999px 999px 4px 4px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .arch { box-shadow: 0 0 0 1px var(--gold-soft), 0 0 0 12px rgba(217, 184, 113, .1), 0 40px 80px -30px #000; }
.hero-art::after {
  content: "ΙΣ ΧΣ"; position: absolute; left: -2.4rem; bottom: 2.2rem;
  font-family: var(--display); font-size: 1.2rem; letter-spacing: .3em; color: var(--ink);
  background: var(--gold-soft); padding: .7rem 1.2rem;
}
.hero .credit { color: #9d977f; text-align: right; }

.page-hero { position: relative; color: #fff; background: var(--ink) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 22, 43, .66), rgba(15, 22, 43, .9)); }
.page-hero .wrap { position: relative; padding-block: clamp(5rem, 11vw, 9rem) clamp(3rem, 6vw, 5rem); }
.page-hero h1 { color: #fff; max-width: 14em; }
.page-hero .lead { color: #d8d1bf; max-width: 38em; }
.page-hero .greek { color: var(--gold-soft); display: block; margin-bottom: .6rem; font-size: 1.4rem; }
.page-hero.plain { background: linear-gradient(160deg, #0f162b, var(--ink-2)); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section.tint { background: var(--parchment-2); }
.section.dark { background: var(--ink); color: #d6cfbd; }
.section.dark h2, .section.dark h3 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }

.credit { display: block; font-size: .7rem; color: var(--muted); margin-top: .55rem; letter-spacing: .02em; }
.credit a { color: inherit; }
figure { margin: 0; }
.frame { position: relative; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); z-index: -1; }
.frame { z-index: 0; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 1.2rem; color: var(--gold); font-size: 1.5rem; margin: 0 auto 2rem; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 90px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.card { background: #fbf7ec; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 2.2rem 2rem; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -28px rgba(20, 28, 51, .5); }
.card .num { font-family: var(--display); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 1rem; display: block; }
.card p:last-child { margin-bottom: 0; }
.dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(217, 184, 113, .25); border-top-color: var(--gold-soft); }

/* city tiles */
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.city { position: relative; display: block; min-height: 460px; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15, 22, 43, .92)); }
.city:hover img { transform: scale(1.06); }
.city-body { position: absolute; z-index: 1; inset: auto 0 0 0; padding: 2.2rem; }
.city-body h3 { color: #fff; font-size: 2.3rem; margin-bottom: .2em; }
.city-body .greek { color: var(--gold-soft); }
.city-body p { margin: .6rem 0 0; color: #dcd5c3; max-width: 30em; }
.city-body .more { display: inline-block; margin-top: 1.1rem; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }

/* scripture */
.scripture { text-align: center; }
.scripture blockquote { margin: 0 auto; max-width: 21em; font-family: var(--display); font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.3; color: #fff; }
.scripture cite { display: block; margin-top: 1.6rem; font-family: var(--body); font-style: normal; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); }

/* church entries */
.site-entry { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.site-entry:first-of-type { border-top: 0; }
.site-entry:nth-of-type(even) figure { order: 2; }
.site-entry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.site-entry .idx { font-family: var(--display); font-size: 1rem; letter-spacing: .2em; color: var(--gold); }
.site-entry h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: .3rem 0 .15em; }
.facts { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.facts li { font-size: .78rem; letter-spacing: .06em; padding: .35rem .8rem; border: 1px solid var(--gold); color: #6d5220; background: rgba(184, 138, 53, .08); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 2.2rem 4.6rem; border-left: 1px solid var(--gold); margin-left: 1.4rem; }
.steps li:last-child { border-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: -1.45rem; top: -.2rem; width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center; background: var(--parchment); border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--display); font-size: 1.25rem; color: var(--gold);
}
.tint .steps li::before { background: var(--parchment-2); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; }

/* CTA */
.cta { background: linear-gradient(120deg, #7e2318, var(--vermilion)); color: #f6e9dc; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 36em; margin-inline: auto; }
.cta .actions { justify-content: center; }
.cta .btn-solid { background: #fff; border-color: #fff; }
.cta .btn-solid:hover { background: var(--parchment); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.info-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.info-list strong { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
form.contact { background: #fbf7ec; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: clamp(1.6rem, 4vw, 2.8rem); }
.field { margin-bottom: 1.3rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: .45rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid rgba(20, 28, 51, .25); padding: .85rem 1rem; border-radius: 0; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 138, 53, .22); }
.invalid { border-color: var(--vermilion) !important; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; }
.check input { width: auto; margin-top: .35rem; }
.check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .9rem; margin: 0; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #e7efe0; border-left: 3px solid #4d7a3a; }
.form-status.err { display: block; background: #f5e1dc; border-left: 3px solid var(--vermilion); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: #0f162b; color: #b9b29f; font-size: .92rem; padding-block: 4rem 2rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.site-footer h4 { font-family: var(--body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #d9d2c0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .brand { margin-bottom: 1.2rem; }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(217, 184, 113, .2); font-size: .78rem; color: #8d8773; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero .wrap > div > * { animation: rise .9s ease both; }
.hero .wrap > div > *:nth-child(2) { animation-delay: .12s; }
.hero .wrap > div > *:nth-child(3) { animation-delay: .24s; }
.hero .wrap > div > *:nth-child(4) { animation-delay: .36s; }
.hero-art { animation: rise 1.2s .2s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  #nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: .5rem 1.5rem 1.5rem; border-bottom: 1px solid rgba(217, 184, 113, .28); display: none;
  }
  #nav.open { display: flex; }
  #nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  #nav a.btn { margin-top: 1rem; text-align: center; }
  .hero .wrap, .split, .site-entry, .contact-grid, .cities, .foot { grid-template-columns: 1fr; }
  .split.flip > :first-child, .site-entry:nth-of-type(even) figure { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .hero-art { width: min(320px, 80%); }
  .hero-art::after { left: -1rem; }
  .frame::before { inset: 10px -10px -10px 10px; }
  .city { min-height: 380px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .row, .pair { grid-template-columns: 1fr; }
  .brand em { display: none; }
}
