/* Virello Digital — quiet zen center medallion */
:root {
  --paper:     #F7FBFC;
  --sheet:     #FFFFFF;
  --ink:       #020304;
  --teal:      #0196B0;
  --teal-deep: #0B515B;
  --teal-soft: #64B7C6;
  --mist:      #9ADDE8;
  --muted:     #3D5C64;
  --line:      #D4E8EC;
  --on-dark:   #F4FBFC;
  --on-dark-muted: #C5E4EA;
  --line-inv:  rgba(244, 251, 252, 0.22);
  --radius:    999px;
  --maxw:      1080px;
  --narrow:    640px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --header-h:  72px;
  --serif:     "Tenor Sans", "Palatino Linotype", Palatino, serif;
  --sans:      "Catamaran", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name, .hero-name, .quote blockquote {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: var(--narrow); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--teal); color: var(--on-dark);
  padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { left: 0; }

.kicker, .industry, .stone-no, .quote-attr, .faq-q,
.field label, .footer-nav, .nav {
  font-family: var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.kicker {
  margin: 0 0 18px;
  font-size: 11px;
  color: var(--teal);
}
.industry {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: var(--radius); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-primary {
  background: var(--teal); color: var(--on-dark);
  box-shadow: 0 10px 24px -12px rgba(1, 150, 176, 0.55);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 251, 252, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--sheet);
}
.brand-name {
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.14em;
  transition: color .2s var(--ease);
}
.nav .nav-cta {
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 16px; border-radius: var(--radius);
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Hero: centered medallion, sparse */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 36px) 0 88px;
  text-align: center;
  overflow: hidden;
}
.hero-mist {
  position: absolute; inset: 8% 10% auto;
  height: 52%;
  background: radial-gradient(ellipse at 50% 40%, rgba(154, 221, 232, 0.28), transparent 64%);
  pointer-events: none;
}
.thread {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; margin-left: -0.5px;
  background: linear-gradient(to bottom, transparent 0, var(--line) 12%, var(--teal-soft) 42%, var(--line) 78%, transparent 100%);
  pointer-events: none; opacity: 0.55;
}
.hero-stack {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  max-width: 720px;
}

.medallion {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  margin: 28px 0 32px;
}
.seal { width: 100%; height: 100%; display: block; }
.seal-rim {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}
.ring-ticks {
  transform-origin: 200px 200px;
  animation: spin 120s linear infinite;
}
.tick-major { stroke: var(--teal); stroke-width: 1.6; }
.tick-minor { stroke: var(--teal-soft); stroke-width: 1; }
.ring-words {
  transform-origin: 200px 200px;
  animation: spin 80s linear infinite;
}
.ring-words text {
  fill: var(--teal-deep);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4.2px;
  font-weight: 600;
}
.ring-inner {
  transform-origin: 200px 200px;
  animation: spin-rev 90s linear infinite;
}
.ring-inner circle:first-child {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.1;
  stroke-dasharray: 3 7;
}
.pebble { fill: var(--teal); }
.orbit {
  transform-origin: 200px 200px;
  animation: spin 24s linear infinite;
}
.orbit circle { fill: var(--teal); }
.disk {
  fill: var(--sheet);
  stroke: var(--line);
  stroke-width: 1;
  transform-origin: 200px 200px;
  animation: breathe 8s ease-in-out infinite;
}
.seal-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 42%; height: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--sheet);
  animation: breathe-el 8s ease-in-out infinite;
}

.hero-name {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(1.85rem, 4.6vw, 3.1rem);
  max-width: 16ch;
  overflow-wrap: anywhere;
}
.hero-sub {
  margin: 18px auto 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@keyframes breathe-el {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.035); }
}

/* Sparse stacked sections */
.section {
  padding: 96px 0;
  text-align: center;
}
.section h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 0 0 22px;
  overflow-wrap: anywhere;
}
.lead, .body-copy {
  color: var(--muted);
  font-size: 1.06rem;
}
.body-copy { margin-top: 18px; }

.stones { display: grid; gap: 0; margin-top: 36px; text-align: left; }
.stone {
  padding: 28px 8px;
  border-top: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.stone:last-child { border-bottom: 1px solid var(--line); }
.stone-no {
  display: block;
  font-size: 11px;
  color: var(--teal);
  margin-bottom: 8px;
}
.stone h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.stone p { color: var(--muted); }

.quote {
  background: var(--ink);
  color: var(--on-dark);
  padding: 88px 0;
}
.quote .kicker { color: var(--mist); }
.quote blockquote {
  margin: 0 auto;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.32;
  color: var(--on-dark);
  max-width: 22ch;
}
.quote-attr {
  margin-top: 20px;
  font-size: 11px;
  color: var(--on-dark-muted);
}

.faq-list { margin-top: 28px; text-align: left; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer;
  text-align: left;
  padding: 18px 4px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.faq-ico {
  width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 1.6px solid var(--teal);
  border-bottom: 1.6px solid var(--teal);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq-item.open .faq-ico { transform: rotate(225deg); }
.faq-a {
  display: none;
  padding: 0 4px 18px;
  color: var(--muted);
}
.faq-item.open .faq-a { display: block; }

.contact {
  background: var(--ink);
  color: var(--on-dark);
  padding: 88px 0;
  text-align: center;
}
.contact .kicker { color: var(--mist); }
.contact h2 { color: var(--on-dark); }
.contact-copy p { color: var(--on-dark-muted); margin: 0 auto 18px; max-width: 40ch; }
.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-inv);
  padding-bottom: 4px;
  margin-bottom: 14px;
}
.contact-addr {
  font-size: 0.95rem;
  color: var(--on-dark-muted);
  margin-bottom: 28px;
}

.contact-form {
  display: grid; gap: 16px;
  text-align: left;
  border: 1px solid var(--line-inv);
  padding: 24px;
  background: rgba(244, 251, 252, 0.03);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 11px;
  color: var(--on-dark-muted);
}
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--on-dark);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-inv);
  padding: 8px 0;
  width: 100%;
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(197, 228, 234, 0.5); }
.field textarea { resize: vertical; min-height: 88px; }
.contact .btn-primary {
  background: var(--on-dark); color: var(--ink);
  justify-self: start;
  margin-top: 6px;
}

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-bottom: 22px;
}
.footer-tag { color: var(--muted); margin: 12px 0 0; font-size: 1rem; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a {
  color: var(--muted); font-size: 11px; font-weight: 600;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px; padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Reveal first, then hover */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ring-ticks, .ring-words, .ring-inner, .orbit, .disk, .seal-mark { animation: none; }
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    background: var(--teal-deep);
    box-shadow: 0 14px 34px -8px rgba(1, 150, 176, 0.7);
  }
  .contact .btn-primary:hover {
    background: #fff;
    color: var(--teal-deep);
    transform: translateY(-2px);
  }
  .btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
  }
  .nav a:hover { color: var(--ink); }
  .nav .nav-cta:hover { border-color: var(--teal); color: var(--teal); }
  .stone.reveal.in:hover,
  .stone:hover {
    transform: translateY(-4px);
    border-color: var(--teal);
    background: rgba(1, 150, 176, 0.04);
  }
  .faq-item:hover { border-bottom-color: var(--teal); }
  .faq-q:hover { color: var(--teal-deep); }
  .contact-email:hover { border-bottom-color: #fff; }
  .footer-nav a:hover { color: var(--teal); }
  .contact-form.reveal.in:hover,
  .contact-form:hover { border-color: var(--mist); }
}

@media (hover: none) {
  .nav a { color: var(--ink); }
  .btn-primary { background: var(--teal); color: var(--on-dark); }
  .contact .btn-primary { background: var(--on-dark); color: var(--ink); }
  .btn-ghost { color: var(--ink); border-color: var(--teal); }
  .contact-copy p, .contact-addr { color: var(--on-dark); }
  .faq-q { color: var(--ink); }
  .stone p { color: var(--ink); }
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sheet);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 0;
    color: var(--ink);
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 16px;
  }
  .nav .nav-cta { align-self: start; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .quote, .contact { padding: 64px 0; }
  .hero { padding: calc(var(--header-h) + 24px) 0 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { width: 100%; }
  .contact .btn-primary { width: 100%; justify-self: stretch; }
  .medallion { width: min(280px, 82vw); margin: 20px 0 24px; }
  .stone { padding: 22px 0; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.7rem; }
  .section h2 { font-size: 1.4rem; }
  .contact-form { padding: 16px; }
  .hero-sub { font-size: 1.02rem; }
  .brand-name { font-size: 14px; }
}
