/* syd.vc: one self-contained stylesheet. No external fonts, no CDN, no scripts anywhere on the site.
   Colours: orange #ed5f30 (accent, links, buttons), dark #333 (top bar, footer), text #666, headings #3b4251, page #f5f5f5. */

@font-face { font-family: "Mulish"; src: url("../fonts/mulish-var.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "FontAwesome"; src: url("../fonts/fontawesome-webfont.woff2") format("woff2"), url("../fonts/fontawesome-webfont.woff") format("woff"); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: "PT Sans"; src: url("../fonts/ptsans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("../fonts/permanentmarker.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f5f5f5; color: #666; font: 400 14px/2 "Mulish", Arial, Helvetica, sans-serif; }
img { max-width: 100%; height: auto; border: 0; }
a { color: #ed5f30; text-decoration: none; }
a:hover, a:focus { color: #ed3b00; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.wrap { max-width: 1170px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Font Awesome 4.7 glyphs that the site uses (the font file is in assets/fonts). */
.fa { font-family: "FontAwesome"; font-weight: 400; font-style: normal; line-height: 1; display: inline-block; -webkit-font-smoothing: antialiased; }
.fa-glass::before { content: "\f000"; }
.fa-money::before { content: "\f0d6"; }
.fa-chevron-circle-up::before { content: "\f139"; }
.fa-hand-o-right::before { content: "\f0a4"; }
.fa-comment::before { content: "\f075"; }
.fa-eye::before { content: "\f06e"; }
.fa-stethoscope::before { content: "\f0f1"; }
.fa-file-text-o::before { content: "\f0f6"; }
.fa-heart::before { content: "\f004"; }
.fa-twitter::before { content: "\f099"; }
.fa-facebook::before { content: "\f09a"; }
.fa-linkedin::before { content: "\f0e1"; }

/* ---------- top bar ---------- */
.topbar { background: #333 url("../img/pat.png"); border-bottom: 1px solid #f5f5f5; color: #b2b2b2; font-size: 12px; line-height: 44px; padding: 0 30px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: flex-start; }
.topbar a { color: #b2b2b2; }
.topbar a:hover { color: #fff; }
.topbar .contact span + span { margin-left: 10px; }
.social { display: flex; gap: 10px; margin: 10px 0 0; line-height: 1; }
.social a { display: block; width: 24px; height: 24px; line-height: 22px; text-align: center; background: #e5e5e5; border: 1px solid #e5e5e5; border-radius: 4px; color: #ed5f30; font-size: 12px; }
.social a:hover { background: #ed5f30; border-color: #ed5f30; color: #fff; }

/* ---------- header and menu ---------- */
.header { background: #fff; border-bottom: 1px solid #f5f5f5; padding: 0 30px; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 141px; }
.logo { display: block; width: 200px; margin: 20px 0; }
.logo img { display: block; width: 200px; height: auto; }
.nav-toggle { position: absolute; left: -9999px; }
.hamburger { display: none; cursor: pointer; padding: 12px; margin-right: -12px; }
.hamburger span, .hamburger span::before, .hamburger span::after { display: block; width: 18px; height: 3px; background: #3b4251; border-radius: 1px; content: ""; position: relative; }
.hamburger span::before { top: -6px; position: absolute; }
.hamburger span::after { top: 6px; position: absolute; }
.menu { display: flex; margin-right: -25px; }
.menu li { padding-right: 25px; }
.menu a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 141px; padding: 0 22.5px; color: #333; font-size: 15px; line-height: 15px; font-weight: 700; text-align: center; }
.menu a small { display: block; margin-top: 7px; padding: 0 3px; font-size: 12px; line-height: 12px; font-weight: 400; color: #b2b2b2; }
.menu a:hover, .menu a:focus, .menu a[aria-current="page"] { color: #ed5f30; }

/* ---------- page title bar (inner pages) ---------- */
.titlebar { background: #f5f5f5; border-top: 1px solid #f5f5f5; border-bottom: 1px solid #f5f5f5; padding: 0 30px; }
.titlebar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 85px; }
.titlebar h1 { color: #ed5f30; font-size: 24px; line-height: 34px; font-weight: 700; }
.titlebar h1.big { font-size: 28px; line-height: 39.5px; }
.crumbs { color: #343b49; font-size: 15px; line-height: 30px; font-style: italic; text-align: right; }
.crumbs a { color: #343b49; }
.crumbs a:hover { color: #ed5f30; }

/* ---------- sections ---------- */
main { display: block; }
.band { padding: 110px 30px 90px; }
.band-grey { background: #f5f5f5; }
.band-light { background: #fafafa; }
.band-white { background: #fff; }
.band-line { border-top: 1px solid #e2e2e2; border-bottom: 1px solid #e2e2e2; }
.center { text-align: center; }
.h-head { font-family: "Raleway", "Mulish", Arial, sans-serif; font-weight: 700; color: #3b4251; text-align: center; }
.slogan { font-size: 26px; line-height: 31px; margin-bottom: 28.6px; }
.section-title { font-size: 28px; line-height: 34px; margin-bottom: 45.8px; color: #000; }
.sep-dark-title { margin-bottom: 41px; }
.sep { width: 170px; max-width: 100%; margin: 15px auto 65px; border-top: 1px solid #dfdddd; }
.sep-dark { border-top-color: #444c56; margin: 10px auto 50px; }
.band p { margin-bottom: 20px; }
.lg { font-size: 12pt; }

/* ---------- hero slider (pure CSS, three slides, 9 s each; the stage scales with its width) ---------- */
.hero { background: #fff; overflow: hidden; }
.stage { position: relative; width: min(960px, 100%); aspect-ratio: 960 / 450; margin: 0 auto; container-type: inline-size; }
.slide { position: absolute; inset: 0; opacity: 0; animation: slidefade 27s infinite both; pointer-events: none; }
.slide.s2 { animation-delay: 9s; }
.slide.s3 { animation-delay: 18s; }
@keyframes slidefade { 0% { opacity: 0; } 1.1% { opacity: 1; } 33.3% { opacity: 1; } 34.4% { opacity: 0; } 100% { opacity: 0; } }
.layer { position: absolute; left: calc(var(--x) / 960 * 100%); top: calc(var(--y) / 450 * 100%); margin: 0; }
.layer img { display: block; width: 100%; height: auto; max-width: none; }
.layer.pic { width: calc(var(--w) / 960 * 100%); }
.layer.mk { font-family: "Permanent Marker", "Comic Sans MS", cursive; font-weight: 400; font-size: calc(var(--fs) / 960 * 100cqw); line-height: calc(50 / 960 * 100cqw); white-space: nowrap; color: #000; }
.layer.mk .o { color: #ed5f30; }
.layer.tx { width: calc(483 / 960 * 100%); font-family: "Open Sans", Arial, sans-serif; font-size: calc(20 / 960 * 100cqw); line-height: calc(26 / 960 * 100cqw); color: #000; }
.layer.z5 { z-index: 5; } .layer.z6 { z-index: 6; } .layer.z7 { z-index: 7; } .layer.z8 { z-index: 8; }
@media (prefers-reduced-motion: reduce) { .slide { animation: none; } .slide.s1 { opacity: 1; } }

/* ---------- content boxes (three on the home page, six on the dating page) ---------- */
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; }
.box { text-align: center; }
.box .fa { display: block; font-size: 88px; color: #333; margin: 0 auto 15px; height: 88px; }
.box h2 { font-family: "Raleway", "Mulish", Arial, sans-serif; font-weight: 700; font-size: 18px; line-height: 23px; color: #333; margin-bottom: 15px; }
.box p { color: #747474; margin-bottom: 20px; }
.serif { font-family: Georgia, Palatino, "Palatino Linotype", serif; color: #4d4d4d; }
.buttons-row { display: grid; grid-template-columns: repeat(3, calc((100% - 93.6px) / 3)); gap: 0 46.8px; margin: 30px 0 21px; text-align: center; }
.btn { display: inline-block; background: #ed5f30; color: #fff; font: 700 14px/17px "PT Sans", Arial, Helvetica, sans-serif; text-transform: uppercase; padding: 13px 29px; border-radius: 2px; border: 0; cursor: pointer; }
.btn:hover, .btn:focus { background: #ed3b00; color: #fff; }
.btn-sm { font-size: 12px; line-height: 14px; padding: 9px 20px; }
.six { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 30px; margin: 0 0 40px; }
.six .box .fa { margin-bottom: 15px; }

/* ---------- portfolio logos ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 46.8px; align-items: center; justify-items: center; }
.logos a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 80px; }
.logos img { display: block; max-width: 100%; max-height: 110px; width: auto; height: auto; }

/* ---------- dating page title with the double rule ---------- */
.rule-title { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.rule-title h1 { font-size: 34px; line-height: 48px; font-weight: 400; color: #3b4251; white-space: nowrap; }
.rule-title i { flex: 1; height: 5px; border-top: 1px solid #e0dede; border-bottom: 1px solid #e0dede; margin-top: 4px; }

/* ---------- plain text pages ---------- */
.card { background: #fff; border: 1px solid #e2e2e2; padding: 55px 60px 20px; margin: 60px 0 120px; }
.card.accent { border-top: 6px solid #ed5f30; padding-top: 40px; margin: 100px 0 125px; }
.card p { margin-bottom: 20px; }
.card .btn { margin-top: 10px; }
.narrow-intro { max-width: 1170px; margin: 0 auto; text-align: center; font-size: 16px; line-height: 32px; }
.mail-block { text-align: center; margin: 0 auto 60px; }
.mail-block .addr { display: block; margin: 0 0 20px; font-size: 20px; }
.page-pad { padding: 110px 30px 110px; }
.terms p { margin-bottom: 20px; }

/* ---------- footer ---------- */
.footer { background: #333 url("../img/pat.png"); color: #fff; padding: 20px 30px 0; }
.footer .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; max-width: 1170px; margin: 0 auto; }
.footer h3 { font: 400 18px/27px "Open Sans", Arial, sans-serif; text-transform: uppercase; color: #ed5f30; margin: 0 0 28px; }
.footer ul li { padding: 0 10px 10px 12px; margin-bottom: 10px; }
.footer ul li:last-child { margin-bottom: 0; }
.footer a { color: #ed5f30; }
.footer a:hover { color: #fff; }
.copy { background: #333 url("../img/pat.png"); border-top: 1px solid #505152; color: #fff; font-size: 12px; line-height: 24px; padding: 18px 30px 25px; }

/* hero on a phone: the layers stack (headline, sentence, one picture) instead of sitting at fixed positions */
@media (max-width: 800px) {
  .stage { aspect-ratio: auto; height: 470px; container-type: normal; }
  .slide { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 22px 24px 0; text-align: center; }
  .layer { position: static; }
  .layer.mk { order: 1; font-size: 26px; line-height: 36px; white-space: normal; }
  .layer.tx { order: 2; width: auto; max-width: 420px; margin-top: 10px; font-size: 16px; line-height: 23px; }
  .layer.pic { width: auto; }
  .layer.pic.sec { display: none; }
  .layer.pic.main { order: 3; margin-top: 14px; }
  .layer.pic.main img { width: auto; max-width: 100%; max-height: 250px; margin: 0 auto; }
}

/* ---------- tablet and phone ---------- */
@media (max-width: 1100px) {
  .menu a { padding: 0 14px; }
  .menu li { padding-right: 8px; }
  .menu { margin-right: -8px; }
  .six { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}
@media (max-width: 800px) {
  .topbar { padding: 0 30px; text-align: center; }
  .topbar .wrap { display: block; }
  .topbar .contact { text-align: center; line-height: 24px; padding: 6px 0 0; height: 31px; border-bottom: 1px solid #4a4a4a; margin: 0 -30px; }
  .social { justify-content: center; margin: 0; padding: 14px 0; }
  .header .wrap { min-height: 141px; position: relative; flex-wrap: wrap; align-content: center; }
  .hamburger { display: block; position: absolute; right: 0; top: 70px; transform: translateY(-50%); margin: 0; }
  .logo { margin: 20px 0; }
  .menu { display: none; flex-direction: column; width: 100%; margin: 0; padding: 0 0 20px; border-top: 1px solid #f0f0f0; }
  .menu li { padding: 0; border-bottom: 1px solid #f0f0f0; }
  .menu a { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 12px 0; gap: 12px; text-align: left; }
  .menu a small { margin: 0; }
  .nav-toggle:checked ~ .menu { display: flex; }
  .nav-toggle:focus-visible ~ .hamburger { outline: 2px solid #ed5f30; }
  .header .wrap { display: flex; }
  .header .menu-wrap { width: 100%; }
  .titlebar .wrap { min-height: 63px; }
  .crumbs { display: none; }
  .titlebar h1 { font-size: 24px; }
  .slogan { font-size: 21px; line-height: 25px; margin-bottom: 23px; }
  .section-title { font-size: 23px; line-height: 28px; }
  .boxes, .buttons-row { grid-template-columns: 1fr; gap: 0; }
  .buttons-row { margin-top: 0; }
  .buttons-row .btn { margin-bottom: 30px; }
  .box .fa { margin-bottom: 15px; }
  .box { margin-bottom: 40px; }
  .six { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .six .box { margin-bottom: 20px; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
  .rule-title { margin-bottom: 20px; }
  .rule-title h1 { font-size: 26px; line-height: 36px; white-space: normal; }
  .rule-title i { display: none; }
  .card, .card.accent { padding: 30px 20px 10px; margin: 30px 0 60px; }
  .footer .cols { grid-template-columns: 1fr; }
  .footer ul { margin-top: 10px; }
  .footer ul li { padding-left: 0; }
}
@media (max-width: 480px) {
  .logos { grid-template-columns: repeat(2, 1fr); }
  .six { grid-template-columns: repeat(2, 1fr); }
}
