/* ==========================================================================
   Baronvine Cloud Solutions LLC — Stylesheet
   Single-family type system (Suisse Intl, Inter fallback). Hierarchy comes
   from weight, size, spacing and color — not multiple typefaces.
   ========================================================================== */

/* ---- Font loading ----
   "Suisse Intl" is a licensed commercial typeface (Swiss Typefaces) and is
   NOT bundled here. If you own a license, drop the woff2 files into /fonts/
   using the filenames below and the @font-face rules will pick them up
   automatically. Until then, Inter (a metrically similar free grotesk) is
   loaded from Google Fonts as the visible fallback so the site still looks
   correct out of the box. See /fonts/README.txt for details. */

/* Commented out until the licensed files exist in /fonts/ — an active
   @font-face pointing at a missing file 404s on every single page load.
   Add the three .woff2 files described in fonts/README.txt, then
   uncomment this block to switch the whole site over to the real font. */
/*
@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntl-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntl-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/SuisseIntl-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  /* Color — deep navy system anchored to the brand cyan sampled from the logo */
  --c-navy:        #0F1E29;
  --c-navy-deep:    #0A141C;
  --c-navy-surface: #17303F;
  --c-paper:        #F4F6F7;
  --c-white:        #FFFFFF;
  --c-ink:          #15232D;
  --c-gray:         #5C6B75;
  --c-line:         #DCE2E5;
  --c-line-dark:    rgba(255,255,255,.14);
  --c-accent:       #39C2DF;
  --c-accent-deep:  #157E97;
  --c-accent-soft:  rgba(57,194,223,.12);

  /* Type */
  --font-base: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-28: 7rem;

  --container: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* ---- Typography ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--c-accent);
  display: inline-block;
}
[data-theme="dark"] .eyebrow { color: var(--c-accent); }

h1, .h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: var(--c-navy);
}
h2, .h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.16;
  color: var(--c-navy);
}
h3, .h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.3;
  color: var(--c-navy);
}
.lede {
  font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem);
  font-weight: 400;
  color: var(--c-gray);
  line-height: 1.6;
}
p { color: var(--c-gray); }
p.on-ink { color: rgba(255,255,255,.78); }

.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--c-white); }
.section-dark p, .section-dark .lede { color: rgba(255,255,255,.72); }

/* ---- Signature motif: the signal rule (echoes the wave through the logo) ---- */
.signal-rule {
  position: relative;
  height: 1px;
  background: var(--c-line);
  margin: 0;
}
.section-dark .signal-rule { background: var(--c-line-dark); }
.signal-rule::after {
  content: "";
  position: absolute;
  top: -3px;
  left: var(--dot-pos, 0);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* underline-draw link */
.text-link {
  position: relative;
  display: inline-block;
  color: var(--c-navy);
  font-weight: 500;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--c-accent), var(--c-accent));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: background-size .35s var(--ease);
}
.text-link:hover, .text-link:focus-visible { background-size: 100% 1px; }
.section-dark .text-link { color: var(--c-white); }

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
@media (min-width: 640px) {
  .container { padding-inline: var(--sp-8); }
}
section, .section { padding-block: clamp(3.5rem, 3rem + 3vw, 7rem); }
.section-dark { background: var(--c-navy); }
.section-paper { background: var(--c-paper); }
.section-white { background: var(--c-white); }
.section-tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

.grid { display: grid; gap: var(--sp-8); }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-12 { grid-template-columns: repeat(12, 1fr); }
}

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--c-accent);
  color: var(--c-navy-deep);
}
.btn-primary:hover { background: #55CCE5; }
.btn-primary:focus-visible { outline-offset: 3px; }

.btn-outline {
  background: transparent;
  border-color: var(--c-line);
  color: var(--c-navy);
}
.btn-outline:hover { border-color: var(--c-navy); }
.section-dark .btn-outline { border-color: var(--c-line-dark); color: var(--c-white); }
.section-dark .btn-outline:hover { border-color: var(--c-white); }

.btn-ghost-on-dark {
  background: transparent;
  border-color: var(--c-line-dark);
  color: var(--c-white);
}
.btn-ghost-on-dark:hover { border-color: var(--c-accent); color: var(--c-accent); }

.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---- Header / Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,246,247,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .85rem;
  gap: var(--sp-6);
}
.brand { display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}
.nav-links a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  padding-block: .3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--c-navy); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: var(--sp-4); }
.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--c-navy);
  position: relative;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--c-line);
  background: var(--c-paper);
}
.mobile-panel.is-open { display: flex; }
.mobile-panel a {
  padding: 1rem var(--sp-6);
  border-bottom: 1px solid var(--c-line);
  font-weight: 500;
  font-size: 1.02rem;
}
.mobile-panel .btn { margin: var(--sp-6); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-panel { display: none !important; }
}

/* ---- Hero ---- */
.hero {
  background: var(--c-navy);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 3rem + 4vw, 6.5rem);
}
.hero-grid {
  display: grid;
  gap: var(--sp-12);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}
.hero h1 { color: var(--c-white); }
.hero .lede { max-width: 46ch; margin-top: var(--sp-6); }
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-10); }
.hero-foot {
  margin-top: var(--sp-16);
  padding-top: var(--sp-6);
  display: flex;
  gap: var(--sp-10);
  flex-wrap: wrap;
}

/* ---- Photography ---- */
.photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-line);
  margin: 0;
}
.section-dark .photo-frame, .hero-photo { border-color: var(--c-line-dark); }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.photo-frame:hover img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) {
  .photo-frame:hover img { transform: none; }
}

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 82%;
  height: 88%;
  border: 1.5px solid var(--c-accent);
  border-radius: var(--radius-md);
  opacity: .4;
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 6 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-line-dark);
  box-shadow: 0 30px 70px -24px rgba(3,8,12,.6);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(10,20,28,.55) 0%, rgba(10,20,28,.05) 55%);
  pointer-events: none;
}

/* Hero load-in choreography */
.hero [data-anim] { opacity: 0; transform: translateY(16px); animation: heroFadeUp .8s var(--ease) forwards; }
.hero .eyebrow[data-anim] { animation-delay: .05s; }
.hero h1[data-anim] { animation-delay: .16s; }
.hero .lede[data-anim] { animation-delay: .32s; }
.hero-actions[data-anim] { animation-delay: .46s; }
.hero-foot[data-anim] { animation-delay: .6s; }
.hero-visual[data-anim] { animation-delay: .26s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero [data-anim] { opacity: 1; transform: none; animation: none; }
}
.hero-foot-item { max-width: 32ch; }
.hero-foot-item .label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-accent); font-weight: 600; display: block; margin-bottom: .4rem;
}
.hero-foot-item p { font-size: .92rem; margin: 0; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--c-navy);
  padding-block: clamp(3rem, 2.6rem + 3vw, 5rem);
}
.page-hero .eyebrow { color: var(--c-accent); }
.page-hero h1 { color: var(--c-white); max-width: 22ch; }
.page-hero .lede { color: rgba(255,255,255,.72); max-width: 60ch; margin-top: var(--sp-4); }
.breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--sp-6);
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--c-accent); }

/* ---- Editorial index list (services) ---- */
.index-list { border-top: 1px solid var(--c-line); }
.index-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding-block: var(--sp-10);
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
@media (min-width: 800px) {
  .index-row { grid-template-columns: .9fr 1.5fr auto; gap: var(--sp-10); align-items: center; }
}
.index-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
}
.index-name {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem);
  font-weight: 600;
  color: var(--c-navy);
  letter-spacing: -.01em;
}
.index-desc { max-width: 52ch; }
.index-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--c-navy);
  white-space: nowrap;
}
.index-row:hover .index-link { color: var(--c-accent-deep); }
.index-row:hover .index-link .btn-arrow { transform: translateX(3px); }

/* ---- Cards (used sparingly) ---- */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
}
.section-dark .card {
  background: var(--c-navy-surface);
  border-color: var(--c-line-dark);
}

/* ---- Process timeline ---- */
.timeline {
  display: grid;
  gap: var(--sp-10);
  margin-top: var(--sp-12);
}
@media (min-width: 800px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); }
}
.timeline-step { position: relative; padding-top: var(--sp-8); }
.timeline-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-line-dark);
}
.timeline-step::after {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 26px;
  height: 6px;
  background: var(--c-accent);
}
.timeline-step .num {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: .06em;
}
.timeline-step h3 { margin-top: var(--sp-3); color: var(--c-white); }
.timeline-step p { margin-top: var(--sp-2); font-size: .95rem; }

/* ---- Reason list (Why Baronvine) ---- */
.reason-list { margin-top: var(--sp-8); }
.reason-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--c-line);
}
.reason-item:last-child { border-bottom: 1px solid var(--c-line); }
.reason-mark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  margin-top: .55rem;
}
.reason-item h3 { margin-bottom: .35rem; }

/* ---- Pull quote / statement block ---- */
.statement {
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2rem);
  font-weight: 500;
  color: var(--c-navy);
  letter-spacing: -.01em;
  line-height: 1.3;
  max-width: 18ch;
}
.section-dark .statement { color: var(--c-white); }

/* ---- FAQ accordion ---- */
.faq { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
  background: none;
  border: none;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--c-navy);
  cursor: pointer;
}
.faq-icon {
  flex: none;
  width: 20px; height: 20px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--c-navy);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.faq-icon::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq-icon::after { top: 2px; left: 9px; width: 2px; height: 16px; }
.faq-item[data-open="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-item[data-open="true"] .faq-a { max-height: 480px; }
.faq-a-inner { padding-bottom: var(--sp-6); max-width: 62ch; }

/* ---- Forms ---- */
.form-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 700px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; display: grid; gap: var(--sp-6); }
}
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--c-navy); }
.field .hint { font-size: .8rem; color: var(--c-gray); font-weight: 400; }
.field input, .field select, .field textarea {
  padding: .8rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  color: var(--c-ink);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--c-accent);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .85rem; color: var(--c-gray); margin-top: var(--sp-4); }
.form-status {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { border-color: var(--c-accent); background: var(--c-accent-soft); }
.form-status.is-error { border-color: #C24A4A; background: rgba(194,74,74,.08); }

/* ---- Footer ---- */
.site-footer { background: var(--c-navy-deep); padding-block: var(--sp-20) var(--sp-10); }
.footer-top {
  display: grid;
  gap: var(--sp-12);
}
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer-brand img { height: 52px; width: auto; margin-bottom: var(--sp-4); }
.footer-brand p { max-width: 34ch; font-size: .92rem; }
.footer-col h4 {
  color: var(--c-white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  padding-block: .35rem;
}
.footer-col a:hover { color: var(--c-accent); }
.footer-bottom {
  margin-top: var(--sp-16);
  padding-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--c-accent); }

/* ---- Utility ---- */
.mt-2{margin-top:var(--sp-2)} .mt-4{margin-top:var(--sp-4)} .mt-6{margin-top:var(--sp-6)}
.mt-8{margin-top:var(--sp-8)} .mt-10{margin-top:var(--sp-10)} .mt-12{margin-top:var(--sp-12)} .mt-16{margin-top:var(--sp-16)}
.text-center{text-align:center}
.max-w-content{max-width:72ch}
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--c-white);
  color: var(--c-navy);
  padding: 1rem 1.5rem;
  z-index: 100;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  border-radius: var(--radius-sm);
  background: var(--c-accent-soft);
  color: var(--c-accent-deep);
  font-size: .78rem;
  font-weight: 600;
}

/* fade-in on scroll (respects reduced-motion via the block above) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-16-10 { aspect-ratio: 16 / 10; }
.aspect-5-4 { aspect-ratio: 5 / 4; }
