:root {
  --blue: #0b5cab;
  --blue-dark: #073b78;
  --blue-soft: #eaf3ff;
  --navy: #102a43;
  --ink: #172b4d;
  --muted: #64748b;
  --line: #d9e2ec;
  --surface: #f6f9fc;
  --white: #ffffff;
  --gold: #f5a623;
  --font: Inter, "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header {
  height: 78px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--blue-dark); }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 2px solid var(--blue); border-radius: 8px;
  color: var(--blue-dark); font: 700 14px Georgia, serif; letter-spacing: -.08em;
}
.brand-mark span { color: var(--blue); font-size: 10px; }
.brand strong { display: block; font-size: 14px; line-height: 1; letter-spacing: .04em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .17em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.main-nav a { color: var(--muted); }
.main-nav a:hover, .main-nav .active { color: var(--blue); }
.nav-button {
  padding: 10px 18px; color: var(--white) !important;
  border: 1px solid var(--blue); border-radius: 5px; background: var(--blue);
}
.nav-button:hover { background: var(--blue-dark); }
.menu-toggle { display: none; border: 0; color: var(--blue-dark); background: transparent; font-size: 22px; }

.hero {
  min-height: 610px; padding: 75px 10vw;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 5%; align-items: center;
  background: linear-gradient(135deg, #f5faff 0%, #eaf3ff 100%);
}
.eyebrow {
  margin: 0 0 15px; color: var(--blue); font-size: 10px;
  font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
}
.hero h1, .page-hero h1, .auth-intro h1, .admin-heading h1 {
  margin: 0; color: var(--blue-dark);
  font: 800 clamp(42px, 5.8vw, 76px)/1.04 var(--font); letter-spacing: -.05em;
}
em { color: var(--blue); font-style: normal; }
.hero-text { max-width: 430px; margin: 25px 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  padding: 14px 22px; border: 0; border-radius: 5px; cursor: pointer;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
}
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 5px 14px #0b5cab2b; }
.button-primary:hover { background: var(--blue-dark); }
.button-light { color: var(--blue-dark); background: var(--white); }
.button-outline { color: var(--blue); background: transparent; border: 1px solid var(--blue); }
.full { width: 100%; }
.text-link { color: var(--blue-dark); font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }

.hero-art { min-height: 440px; position: relative; }
.hero-stitch-ring {
  width: 420px; height: 420px; position: absolute; top: 8px; right: 2%;
  border: 1px solid #70a8df; border-radius: 50%;
}
.hero-stitch-ring::after {
  content: ""; width: 330px; height: 330px; position: absolute; inset: 44px;
  border: 1px dashed #70a8df; border-radius: 50%;
}
.hero-gallery {
  width: min(405px, 76%); height: 410px; position: absolute; top: 26px; right: 14%;
  overflow: hidden; background: var(--blue-dark); border-radius: 7px;
  box-shadow: 16px 18px 0 #0b5cab1c;
}
.hero-gallery-empty {
  height: 100%; padding: 29px; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white); background: linear-gradient(145deg, #0b5cab, #073b78);
}
.hero-gallery-label { color: #cce4ff; font-size: 10px; letter-spacing: .15em; }
.hero-gallery-empty strong { font-size: 39px; line-height: 1.05; }
.hero-gallery-empty small { max-width: 230px; color: #dcecff; font-size: 11px; }
.hero-slide { width: 100%; height: 100%; position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #061d3add); }
.hero-slide figcaption { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 1; color: white; }
.hero-slide figcaption span { display: block; margin-bottom: 4px; color: #b9dcff; font-size: 9px; letter-spacing: .14em; }
.hero-slide figcaption strong { font-size: 23px; }
.gallery-control {
  width: 36px; height: 36px; position: absolute; bottom: 13px; z-index: 2;
  border: 1px solid #ffffff99; border-radius: 4px; color: white; background: #073b78cc; cursor: pointer;
}
.gallery-prev { right: 58px; }
.gallery-next { right: 15px; }

.ticker { overflow: hidden; padding: 13px 0; color: white; background: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: scroll 32s linear infinite; }
.ticker b { color: #cce4ff; font-size: 17px; }
@keyframes scroll { to { transform: translateX(-50%); } }

.section-pad { padding: 96px 10vw; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: end; }
.intro h2, .services-preview h2, .location-block h2, .cta-banner h2 {
  margin: 0; color: var(--blue-dark); font-size: clamp(34px, 4vw, 53px);
  line-height: 1.08; letter-spacing: -.045em;
}
.intro-copy { max-width: 430px; color: var(--muted); font-size: 16px; }
.arrow-link { display: inline-flex; gap: 30px; margin-top: 22px; padding-bottom: 8px; border-bottom: 1px solid var(--blue); color: var(--blue); font-size: 12px; font-weight: 800; }
.arrow-link span { font-size: 18px; line-height: 10px; }
.services-preview { background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 340px; padding: 27px; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 7px;
  box-shadow: 0 8px 22px #102a4308;
}
.service-card-dark { color: var(--white); background: var(--blue-dark); border-color: var(--blue-dark); }
.service-number { color: var(--blue); font-size: 11px; font-weight: 800; }
.service-icon { margin: 24px 0 12px; color: var(--blue); font-size: 40px; }
.service-card-dark .service-icon { color: #b9dcff; }
.service-card h3 { margin: 0; font-size: 27px; line-height: 1.08; }
.service-card p { max-width: 250px; margin: 18px 0 auto; color: var(--muted); font-size: 13px; }
.service-card-dark p { color: #c9dcf0; }
.service-card a { margin-top: 24px; color: var(--blue); font-size: 12px; font-weight: 800; }
.service-card-dark a { color: #cce4ff; }
.service-card a span { margin-left: 12px; font-size: 18px; }

.public-gallery { background: var(--white); }
.public-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.public-gallery-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.public-gallery-card img { width: 100%; height: 235px; display: block; object-fit: cover; }
.public-gallery-card p { padding: 0 17px 14px; color: var(--blue-dark); font-size: 14px; font-weight: 700; }
.cta-banner { padding: 75px 10vw; display: flex; align-items: center; justify-content: space-between; color: var(--white); background: var(--blue-dark); }
.cta-banner h2 { color: var(--white); }

.site-footer { padding: 34px 6vw 20px; color: #b9c9da; background: #071f40; }
.brand-light { color: var(--white); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding-bottom: 42px; }
.footer-top p { margin: 0; font-size: 12px; }
.footer-contact a { display: inline-block; margin-top: 11px; color: var(--white); }
.footer-label { margin-bottom: 10px !important; color: #b9dcff; font-size: 10px !important; letter-spacing: .15em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid #ffffff26; font-size: 10px; }
.footer-bottom a { color: var(--white); }

.page-hero { padding: 95px 10vw 105px; background: linear-gradient(135deg, #f5faff, #eaf3ff); }
.page-hero > p:last-child { max-width: 480px; margin: 28px 0 0; color: var(--muted); font-size: 16px; }
.page-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: end; }
.page-hero-split > div:last-child { max-width: 440px; color: var(--muted); }
.location-block { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; background: var(--blue-soft); }
.contact-panel { max-width: 400px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 25px #0b5cab12; }
.contact-panel p { margin: 0 0 22px; font-size: 13px; }
.contact-panel strong { color: var(--blue); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.contact-panel small { color: var(--muted); font-size: 11px; }
.service-list { padding-top: 35px; padding-bottom: 95px; }
.service-list article { display: grid; grid-template-columns: 70px 1fr 100px; align-items: center; padding: 35px 0; border-bottom: 1px solid var(--line); }
.service-list article > span { color: var(--blue); font-weight: 800; }
.service-list h2 { margin: 0 0 8px; color: var(--blue-dark); font-size: 29px; }
.service-list p { max-width: 510px; margin: 0; color: var(--muted); font-size: 14px; }
.service-list strong { justify-self: end; color: var(--blue); font-size: 42px; }

.auth-page { min-height: 100vh; background: var(--surface); }
.auth-shell { min-height: calc(100vh - 78px); padding: 82px 14vw; display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; }
.auth-intro p:last-child { max-width: 340px; margin-top: 24px; color: var(--muted); }
.auth-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 15px 40px #102a4310; }
.auth-tabs { display: flex; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.auth-tabs button { margin-right: 24px; padding: 0 0 13px; border: 0; color: var(--muted); background: none; cursor: pointer; font-size: 13px; font-weight: 700; }
.auth-tabs button.active { color: var(--blue); border-bottom: 2px solid var(--blue); }
form label { display: block; margin-bottom: 17px; color: var(--muted); font-size: 11px; font-weight: 600; }
input, select { width: 100%; display: block; margin-top: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--white); outline-color: var(--blue); }
.form-message { min-height: 18px; margin: 14px 0 0; color: var(--blue); font-size: 12px; }
.admin-shell { min-height: calc(100vh - 78px); padding: 70px 10vw; background: var(--surface); }
.admin-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 42px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.admin-card { padding: 29px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; }
.admin-card h2 { margin: 0 0 23px; color: var(--blue-dark); font-size: 27px; }
.gallery-list { display: grid; gap: 10px; }
.gallery-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.gallery-item img { width: 55px; height: 45px; object-fit: cover; border-radius: 3px; }
.gallery-item button { margin-left: auto; border: 0; color: var(--blue); background: none; cursor: pointer; }

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 6vw; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 19px 6vw; align-items: flex-start; flex-direction: column; gap: 17px; background: var(--white); box-shadow: 0 10px 20px #102a4314; }
  .main-nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 58px 8vw 20px; }
  .hero-art { min-height: 385px; margin-top: 28px; }
  .hero-gallery { right: 7%; }
  .hero-stitch-ring { width: 345px; height: 345px; }
  .section-pad { padding: 68px 8vw; }
  .intro, .page-hero-split, .location-block, .auth-shell { grid-template-columns: 1fr; gap: 36px; }
  .service-grid, .admin-grid, .public-gallery-grid { grid-template-columns: 1fr; }
  .section-heading, .cta-banner, .admin-heading { display: block; }
  .section-heading .arrow-link, .cta-banner .button { margin-top: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 68px 8vw; }
  .service-list { padding-top: 8px; }
  .service-list article { grid-template-columns: 38px 1fr 38px; }
  .service-list h2 { font-size: 23px; }
  .auth-shell { padding: 52px 8vw; }
  .auth-card { padding: 23px; }
}
