/* Blue Peak Consulting — shared stylesheet. All colors hardcoded per brand spec. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600;1,700&family=Inter:wght@400;500;600;700;800&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; color-scheme: light; }

::selection { background: #1f4d4d; color: #ffffff; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #d98c2b;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1 !important; transform: none !important; animation: none !important; }
  .mountain-line, .mountain-dot { transition: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .track-card, .btn, .post-card, .industry-tile, .tool-tag, .service-card { transition: none !important; }
  body.page-enter { opacity: 1 !important; transition: none !important; }
  .hero-ambient { animation: none !important; }
  .hero-enter { opacity: 1 !important; transform: none !important; animation: none !important; }
}

body {
  background: #faf6f0;
  color: #14211e;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  color: #14211e;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Eyebrow: amber dash prefix ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d98c2b;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: #d98c2b;
  transform: skewX(-18deg);
  flex-shrink: 0;
}
.eyebrow.on-dark { color: #d98c2b; }
.text-center .eyebrow { justify-content: center; }
.text-center .eyebrow::after {
  content: '';
  width: 26px;
  height: 2px;
  background: #d98c2b;
  transform: skewX(-18deg);
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: translate 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}
.btn:hover { translate: 0 -2px; }

.btn-amber {
  background: linear-gradient(180deg, #e0983d 0%, #d98c2b 100%);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(20,33,30,0.12), 0 8px 22px -6px rgba(217,140,43,0.55);
}
.btn-amber:hover {
  background: linear-gradient(180deg, #d98c2b 0%, #c47c22 100%);
  box-shadow: 0 2px 4px rgba(20,33,30,0.12), 0 14px 30px -8px rgba(217,140,43,0.6);
}

.btn-teal-outline {
  background: transparent;
  color: #1f4d4d;
  border-color: #1f4d4d;
}
.btn-teal-outline:hover { background: #1f4d4d; color: #ffffff; box-shadow: 0 12px 26px -10px rgba(31,77,77,0.5); }

.btn-white-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-white-outline:hover { background: #ffffff; color: #1f4d4d; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250,246,240,0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid #e2ddd6;
  transition: box-shadow 0.3s ease;
}
.site-nav.is-scrolled { box-shadow: 0 6px 24px -8px rgba(20,33,30,0.14); }
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-word { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.22rem; color: #14211e; line-height: 1.1; letter-spacing: -0.01em; }
.brand-sub { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.6rem; letter-spacing: 0.24em; color: #4a5754; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 0.92rem;
  color: #14211e;
  position: relative;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: #d98c2b;
  transform: skewX(-18deg);
  transition: width 0.28s cubic-bezier(0.22,0.61,0.36,1);
}
.nav-links a:not(.btn):hover { color: #1f4d4d; }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-cta { margin-left: 10px; padding: 13px 24px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: #14211e; display: block; transition: all 0.25s ease; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: #faf6f0;
  border-bottom: 1px solid #e2ddd6;
  padding: 12px 28px 26px;
}
.mobile-menu a:not(.btn) {
  padding: 13px 0;
  font-weight: 600;
  border-bottom: 1px solid #e2ddd6;
  color: #14211e;
}
.mobile-menu.open { display: flex; }
.mobile-menu .btn { margin-top: 16px; justify-content: center; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Footer ---------- */
.site-footer { background: #0e1c1b; color: #ffffff; padding: 92px 0 36px; position: relative; overflow: hidden; }
.site-footer::before {
  content: '';
  position: absolute;
  top: -60px; right: 6%;
  width: 90px; height: 380px;
  background: #1f4d4d;
  opacity: 0.35;
  transform: skewX(-18deg);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.footer-brand-word { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.5rem; color: #ffffff; letter-spacing: -0.01em; }
.footer-tagline { color: #b9c4c1; margin-top: 16px; max-width: 340px; font-size: 0.96rem; line-height: 1.75; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #d98c2b; margin-bottom: 22px; }
.footer-col a, .footer-col p { display: block; color: #b9c4c1; margin-bottom: 13px; font-size: 0.94rem; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-col a:hover { color: #ffffff; padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; flex-wrap: wrap; gap: 12px; color: #7f8b88; font-size: 0.83rem; letter-spacing: 0.02em; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Hero shared (inner pages) ---------- */
.hero-dark {
  background-color: #1f4d4d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  color: #ffffff;
  padding: 118px 0 104px;
  border-top: 3px solid #d98c2b;
}
.hero-dark h1, .hero-dark h2 { color: #ffffff; }
.hero-dark p { color: #d7e4e2; }

/* ---------- Sections ---------- */
section { padding: 108px 0; }
.section-tight { padding: 68px 0; }
.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.section-sub { color: #4a5754; font-size: 1.08rem; line-height: 1.8; max-width: 640px; margin-bottom: 56px; }
.section-header { margin-bottom: 56px; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

.bg-cream { background: #faf6f0; }
.bg-white { background: #ffffff; }
.bg-teal {
  background-color: #1f4d4d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  color: #ffffff;
}
.bg-dark { background: #0e1c1b; color: #ffffff; }

/* ---------- Cards ---------- */
.card {
  background: #ffffff;
  border: 1px solid #e2ddd6;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 1px 2px rgba(20,33,30,0.04);
}

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Fade-up reveal (animation-based so hover states stay free) ---------- */
.fade-up { opacity: 0; transform: translateY(28px); }
.fade-up.is-visible {
  animation: fadeUpIn 0.75s cubic-bezier(0.22,0.61,0.36,1) both;
}
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.is-visible.stagger-1 { animation-delay: 0.05s; }
.is-visible.stagger-2 { animation-delay: 0.13s; }
.is-visible.stagger-3 { animation-delay: 0.21s; }
.is-visible.stagger-4 { animation-delay: 0.29s; }
.is-visible.stagger-5 { animation-delay: 0.37s; }
.is-visible.stagger-6 { animation-delay: 0.45s; }

/* ---------- Landing hero ---------- */
.landing-hero { padding: 104px 0 56px; position: relative; overflow: hidden; }
.hero-ambient {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 680px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(460px 340px at 16% 28%, rgba(31,77,77,0.10), transparent 70%),
    radial-gradient(420px 320px at 84% 12%, rgba(217,140,43,0.14), transparent 70%);
  animation: ambientDrift 22s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 3%) scale(1.06); }
}
.landing-hero .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }

.hero-enter { opacity: 0; transform: translateY(18px); animation: heroEnter 0.85s cubic-bezier(0.22,0.61,0.36,1) forwards; }
@keyframes heroEnter { to { opacity: 1; transform: none; } }

.landing-hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}
.landing-hero h1 em {
  font-style: italic;
  color: #1f4d4d;
  font-weight: 700;
  display: block;
  text-decoration: underline;
  text-decoration-color: rgba(217,140,43,0.45);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.14em;
}
.landing-hero .lead-text { font-size: 1.14rem; color: #4a5754; line-height: 1.85; max-width: 520px; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.track-stack { display: flex; flex-direction: column; gap: 24px; }
.track-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 36px;
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.track-card::before {
  content: '';
  position: absolute;
  top: -40px; right: 30px;
  width: 48px; height: 170px;
  transform: skewX(-18deg);
  background: #1f4d4d;
  opacity: 0.05;
  pointer-events: none;
}
.track-card:hover { translate: 0 -5px; box-shadow: 0 24px 48px -16px rgba(20,33,30,0.22); }
.track-card.pm { background: #ffffff; border: 2px solid #d98c2b; box-shadow: 0 1px 2px rgba(20,33,30,0.05), 0 10px 30px -18px rgba(217,140,43,0.4); }
.track-card.tech { background: #1f4d4d; color: #ffffff; box-shadow: 0 1px 2px rgba(20,33,30,0.1), 0 10px 30px -18px rgba(31,77,77,0.7); }
.track-card.tech::before { background: #ffffff; opacity: 0.07; }
.track-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  border-radius: 12px;
  background: #fdf1e0;
  margin-bottom: 20px;
}
.track-card.tech .track-icon { background: rgba(255,255,255,0.1); }
.track-card h3 { font-size: 1.34rem; letter-spacing: -0.01em; margin-bottom: 16px; }
.track-card.tech h3 { color: #ffffff; }
.track-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.track-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 20px;
  background: #faf6f0;
  color: #4a5754;
  border: 1px solid #e2ddd6;
}
.track-card.tech .track-tag { background: rgba(255,255,255,0.1); color: #ffffff; border-color: rgba(255,255,255,0.2); }
.track-link { display: inline-block; font-weight: 700; color: #d98c2b; font-size: 0.95rem; transition: translate 0.25s ease; }
.track-card:hover .track-link { translate: 5px 0; }

@media (max-width: 900px) {
  .landing-hero .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Mountain SVG ---------- */
.mountain-wrap { padding: 26px 0 12px; background: #faf6f0; }
.mountain-line {
  fill: none;
  stroke: #1f4d4d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.65,0,0.35,1);
}
.mountain-line.ghost {
  stroke: #d98c2b;
  stroke-width: 1.5;
  opacity: 0.35;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.65,0,0.35,1) 0.35s;
}
.mountain-line.drawn { stroke-dashoffset: 0; }
.mountain-dot {
  fill: #d98c2b;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(217,140,43,0.65));
  transition: opacity 0.6s ease 1.8s;
}
.mountain-dot.drawn { opacity: 1; }

/* ---------- Credential strip ---------- */
.cred-strip { background: #ffffff; border-top: 1px solid #e2ddd6; border-bottom: 1px solid #e2ddd6; padding: 28px 0; }
.cred-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 48px;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #4a5754;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background-color: #1f4d4d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  padding: 84px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 0; text-align: center; }
.stats-grid > div { padding: 0 16px; }
@media (min-width: 761px) {
  .stats-grid > div + div { border-left: 1px solid rgba(255,255,255,0.13); }
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #d98c2b;
}
.stat-label {
  color: #9fb8b5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 14px;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; } }

/* ---------- Service cards ---------- */
.service-card {
  border-top: 3px solid #d98c2b;
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { translate: 0 -6px; box-shadow: 0 24px 48px -18px rgba(20,33,30,0.18); }
.service-card.tech-accent { border-top-color: #1f4d4d; }
.service-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: #f0e9dd;
  margin-bottom: 14px;
}
.service-card h3 { font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 16px; }
.service-card ul { list-style: none; color: #4a5754; font-size: 0.93rem; }
.service-card li { position: relative; padding-left: 22px; margin-bottom: 8px; line-height: 1.6; }
.service-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #d98c2b;
  font-weight: 600;
}

/* ---------- Industry project groups ---------- */
.industry-block { margin-bottom: 54px; }
.industry-block h3 {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: #1f4d4d;
  margin-bottom: 6px;
}
.industry-block h3::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: #d98c2b;
  transform: skewX(-18deg);
  margin: 12px 0 16px;
}
.project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
@media (max-width: 700px) { .project-list { grid-template-columns: 1fr; } }
.project-item { padding: 15px 0; border-bottom: 1px solid #e2ddd6; }
.project-item strong { display: block; color: #14211e; font-size: 0.98rem; font-weight: 600; margin-bottom: 3px; }
.project-item span { color: #4a5754; font-size: 0.88rem; line-height: 1.6; }

/* ---------- Case studies ---------- */
.case-card {
  background: #faf6f0;
  border: 1px solid #e2ddd6;
  border-left: 3px solid #1f4d4d;
  padding: 34px;
  border-radius: 10px;
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover { translate: 0 -4px; box-shadow: 0 20px 42px -18px rgba(20,33,30,0.16); }
.case-card .case-num { color: #d98c2b; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; }
.case-card h3 { font-size: 1.18rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.case-card p { color: #4a5754; font-size: 0.95rem; line-height: 1.75; }

/* ---------- Process steps ---------- */
.process-row { display: flex; gap: 20px; position: relative; }
@media (min-width: 901px) {
  .process-row::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 9%;
    right: 9%;
    height: 1px;
    background: #e2ddd6;
  }
}
.process-step { flex: 1; text-align: center; position: relative; }
.process-step .step-num {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1f4d4d; color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.25rem;
  margin: 0 auto 18px;
  box-shadow: 0 8px 18px -8px rgba(31,77,77,0.55);
}
.process-step h4 { font-size: 1.02rem; margin-bottom: 6px; }
@media (max-width: 900px) { .process-row { flex-direction: column; gap: 32px; } }

/* ---------- Why / feature list ---------- */
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fdf1e0;
  color: #d98c2b;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-item h4 { font-size: 1.05rem; margin-bottom: 5px; }
.why-item p { color: #4a5754; font-size: 0.92rem; line-height: 1.7; }

/* ---------- Industries grid ---------- */
.industry-tile {
  text-align: center;
  padding: 30px 18px;
  background: #ffffff;
  border: 1px solid #e2ddd6;
  border-radius: 10px;
  transition: translate 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.industry-tile:hover { translate: 0 -4px; border-color: #1f4d4d; box-shadow: 0 16px 32px -16px rgba(20,33,30,0.15); }
.industry-tile .ic { font-size: 1.8rem; margin-bottom: 12px; }
.industry-tile p { font-size: 0.9rem; font-weight: 600; }

/* ---------- COSTARS badge ---------- */
.costars-strip {
  background: #fdf1e0;
  border: 1px solid rgba(217,140,43,0.45);
  border-left: 3px solid #d98c2b;
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.costars-strip .badge-ic { font-size: 1.9rem; }
.costars-strip p { color: #4a5754; font-size: 0.96rem; line-height: 1.7; }
.costars-strip strong { color: #14211e; }

/* ---------- Tools tags ---------- */
.tool-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-tag {
  background: #ffffff;
  border: 1px solid #e2ddd6;
  padding: 9px 18px;
  border-radius: 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f4d4d;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, translate 0.2s ease;
  cursor: default;
}
.tool-tag:hover { background: #1f4d4d; color: #ffffff; border-color: #1f4d4d; translate: 0 -2px; }

/* ---------- Insights / blog ---------- */
.post-card {
  background: #ffffff;
  border: 1px solid #e2ddd6;
  border-radius: 12px;
  overflow: hidden;
  transition: translate 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.post-card:hover { translate: 0 -6px; box-shadow: 0 26px 50px -20px rgba(20,33,30,0.2); border-color: #d8d2c8; }
.post-head {
  height: 150px;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 20px),
    linear-gradient(135deg, #1f4d4d, #2c6b6b);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.post-head.tech {
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 20px),
    linear-gradient(135deg, #0e1c1b, #1f4d4d);
}
.post-badge { background: rgba(255,255,255,0.16); color: #ffffff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 13px; border-radius: 20px; backdrop-filter: blur(4px); }
.post-body { padding: 28px; }
.post-date { color: #7f8b88; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.post-body h3 { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 12px; }
.post-body p { color: #4a5754; font-size: 0.91rem; line-height: 1.7; margin-bottom: 16px; }
.post-body .read-more { display: inline-block; color: #d98c2b; font-weight: 700; font-size: 0.88rem; transition: translate 0.25s ease; }
.post-card:hover .read-more { translate: 4px 0; }

/* ---------- Contact form ---------- */
.contact-form-wrap { max-width: 640px; margin: 0 auto; padding: 44px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 9px; color: #14211e; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e2ddd6;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: #ffffff;
  color: #14211e;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: #1f4d4d;
  box-shadow: 0 0 0 3px rgba(31,77,77,0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit { width: 100%; justify-content: center; font-size: 0.85rem; padding: 17px; }
.form-note { text-align: center; color: #4a5754; font-size: 0.83rem; margin-top: 16px; }
.form-status { text-align: center; font-weight: 600; margin-top: 16px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #1f4d4d; }
.form-status.err { color: #b3401f; }

/* ---------- Credentials grid (about) ---------- */
.cred-card {
  background: #ffffff;
  border: 1px solid #e2ddd6;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: translate 0.25s ease, box-shadow 0.25s ease;
}
.cred-card:hover { translate: 0 -3px; box-shadow: 0 14px 30px -14px rgba(20,33,30,0.15); }
.cred-card .cred-ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #fdf1e0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.cred-card p { font-weight: 600; font-size: 0.92rem; line-height: 1.4; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { text-align: left; max-width: 780px; position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 24px;
}
.page-hero p { font-size: 1.1rem; line-height: 1.85; max-width: 660px; }

.hero-dark.has-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero-dark.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,20,19,0.96) 0%, rgba(14,28,27,0.95) 45%, rgba(31,77,77,0.93) 100%);
  z-index: 0;
}

/* ---------- Photo gallery ---------- */
.photo-gallery { display: grid; gap: 26px; }
.photo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #14211e;
  box-shadow: 0 2px 4px rgba(20,33,30,0.06);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,0.61,0.36,1);
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,28,27,0.88) 0%, rgba(14,28,27,0.12) 55%, transparent 75%);
}
.photo-card .photo-label {
  position: absolute;
  left: 24px;
  bottom: 20px;
  right: 24px;
  z-index: 1;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  font-family: 'Playfair Display', serif;
}
.photo-card .photo-label span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d98c2b;
  margin-bottom: 7px;
}

.photo-credit { color: #9aa6a3; font-size: 0.72rem; margin-top: 12px; }
.photo-credit a { color: #9aa6a3; text-decoration: underline; }

.delivery-note {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 3px solid #d98c2b;
  border-radius: 8px;
  padding: 18px 24px;
  margin-top: 32px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: #d7e4e2;
  max-width: 640px;
}

body.page-enter { opacity: 0; }
body.page-enter.page-entered { opacity: 1; transition: opacity 0.4s ease; }
