/* ==========================================================================
   GRIP — GIRAFFE REINFORCEMENT INFRA PROFESSIONALS PRIVATE LIMITED
   Ultra-Premium Corporate Coming Soon Landing Page
   Light Architectural Editorial Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Light Architectural Concrete System */
  --bg-primary: #F1F4F8;
  --bg-surface: #E6EAF0;
  --bg-card: #FFFFFF;
  
  --text-black: #000000;
  --text-primary: #0F172A;
  --text-secondary: #27303F;
  --text-muted: #5E697D;
  --text-faint: #8F9BB0;

  /* Architectural Guidelines & Accents */
  --border-hairline: rgba(15, 23, 42, 0.12);
  --border-strong: rgba(15, 23, 42, 0.28);
  --grid-crosshair: rgba(15, 23, 42, 0.45);
  --color-gold: #C9A86A;
  --color-highlight: #FFE500;
  --color-highlight-text: #000000;

  /* Typography */
  --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Layout Dimensions */
  --max-width: 1400px;
  --header-height: 114px;
  --footer-height: 72px;
  --gutter: clamp(1.5rem, 5vw, 5rem);

  /* Animation Easing */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Global Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.85) 0%, rgba(238, 242, 246, 0.98) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   Background Architectural Canvas & Structural Grid
   -------------------------------------------------------------------------- */
#architectural-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

/* Architectural Framing Hairlines */
.blueprint-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.grid-line {
  position: absolute;
  background-color: var(--border-hairline);
}

.grid-line.horizontal.top {
  top: var(--header-height);
  left: 0;
  right: 0;
  height: 1px;
}

.grid-line.horizontal.bottom {
  bottom: var(--footer-height);
  left: 0;
  right: 0;
  height: 1px;
}

.grid-line.vertical.left {
  left: var(--gutter);
  top: 0;
  bottom: 0;
  width: 1px;
}

.grid-line.vertical.right {
  right: var(--gutter);
  top: 0;
  bottom: 0;
  width: 1px;
}

.corner-cross {
  position: absolute;
  font-family: monospace;
  font-size: 13px;
  font-weight: 300;
  color: var(--grid-crosshair);
  line-height: 1;
  user-select: none;
}

.corner-cross.top-left {
  top: calc(var(--header-height) - 6px);
  left: calc(var(--gutter) - 4px);
}

.corner-cross.top-right {
  top: calc(var(--header-height) - 6px);
  right: calc(var(--gutter) - 4px);
}

.corner-cross.bottom-left {
  bottom: calc(var(--footer-height) - 6px);
  left: calc(var(--gutter) - 4px);
}

.corner-cross.bottom-right {
  bottom: calc(var(--footer-height) - 6px);
  right: calc(var(--gutter) - 4px);
}

/* --------------------------------------------------------------------------
   Layout Structure
   -------------------------------------------------------------------------- */
.site-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Header Section
   -------------------------------------------------------------------------- */
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 20;
  padding-top: 0.5rem;
  animation: headerFadeIn 800ms var(--ease-cinematic) forwards;
}

.brand-wrapper {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 250ms ease;
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-link:focus-visible {
  outline: 2px solid var(--text-black);
  outline-offset: 4px;
  border-radius: 2px;
}

.brand-logo {
  height: 82px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  display: block;
  /* Crisp rendering for retina screens */
  image-rendering: -webkit-optimize-contrast;
  transition: transform 200ms ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.02);
}

/* Corner Status: Normal text, Bold and Highlighted */
.corner-announcement {
  display: inline-flex;
  align-items: center;
  animation: headerFadeIn 800ms var(--ease-cinematic) forwards;
}

.highlight-tag {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-highlight-text);
  background: var(--color-highlight);
  padding: 5px 12px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 229, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.08);
  display: inline-block;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 2.5vh, 2.2rem) 0;
  position: relative;
  z-index: 15;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto 0 0;
}

/* Specification Tag */
.technical-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(0.75rem, 1.8vh, 1.4rem);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  animation: contentFadeUp 800ms var(--ease-cinematic) 150ms both;
}

.tag-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 1px;
}

/* Company Title */
.company-title {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(2.15rem, 4.8vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-black);
  margin-bottom: clamp(1.2rem, 2.2vh, 1.85rem);
  display: flex;
  flex-direction: column;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
}

.title-line-1 {
  font-weight: 900;
  color: #000000;
  animation: titleReveal 850ms var(--ease-cinematic) 250ms forwards;
}

.title-line-2 {
  font-weight: 900;
  color: #000000;
  animation: titleReveal 850ms var(--ease-cinematic) 350ms forwards;
}

.title-line-3 {
  font-weight: 800;
  color: #111111;
  animation: titleReveal 850ms var(--ease-cinematic) 450ms forwards;
}

/* Architectural Horizontal Divider */
.hero-rule-container {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  margin-bottom: clamp(1.2rem, 2.2vh, 1.85rem);
  animation: contentFadeUp 900ms var(--ease-cinematic) 550ms both;
}

.hero-rule {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, var(--text-black) 0%, rgba(15, 23, 42, 0.25) 80%, transparent 100%);
}

.hero-rule-notch {
  width: 7px;
  height: 7px;
  background-color: var(--text-black);
  transform: rotate(45deg);
}

/* Announcement Block */
.announcement-block {
  margin-bottom: clamp(1.2rem, 2.4vh, 2.2rem);
}

.announcement-statement {
  font-family: var(--font-main);
  font-size: clamp(1.45rem, 3.2vw, 2.45rem);
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-black);
  margin-bottom: 0.85rem;
  line-height: 1.15;
  animation: contentFadeUp 900ms var(--ease-cinematic) 650ms both;
}

.supporting-text {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 680px;
  animation: contentFadeUp 950ms var(--ease-cinematic) 750ms both;
}

/* Blueprint Metadata Footer Inside Hero */
.blueprint-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: clamp(0.8rem, 1.6vh, 1.4rem);
  border-top: 1px dashed var(--border-hairline);
  max-width: 680px;
  animation: contentFadeUp 1000ms var(--ease-cinematic) 850ms both;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-label {
  font-weight: 900;
  color: var(--text-black);
  font-size: 0.72rem;
}

.meta-value {
  font-weight: 700;
  color: var(--text-secondary);
}

.meta-separator {
  color: var(--border-strong);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.footer {
  height: var(--footer-height);
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 20;
  animation: footerFadeIn 800ms var(--ease-cinematic) 950ms both;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.copyright-text {
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-domain {
  font-weight: 800;
}

.domain-link {
  color: var(--text-black);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-weight: 800;
  position: relative;
  padding: 4px 0;
  transition: color 200ms ease;
}

.domain-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-cinematic);
}

.domain-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.domain-link:focus-visible {
  outline: 2px solid var(--text-black);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  :root {
    --header-height: 90px;
    --footer-height: 64px;
  }

  .hero-content {
    margin: 0;
  }

  .blueprint-overlay .grid-line.vertical {
    display: none;
  }

  .corner-cross {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 86px;
    --footer-height: auto;
    --gutter: 1.25rem;
  }

  .site-container {
    min-height: 100vh;
    padding-bottom: 2rem;
  }

  .header {
    height: auto;
    padding: 1.25rem 0 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .brand-logo {
    height: 54px;
    max-width: 225px;
  }

  .highlight-tag {
    font-size: 0.75rem;
    padding: 4px 8px;
    letter-spacing: 0.14em;
  }

  .hero-section {
    padding: 2rem 0 1.75rem;
  }

  .technical-tag {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    margin-bottom: 1.25rem;
    font-weight: 700;
  }

  .company-title {
    font-size: 1.95rem;
    line-height: 1.12;
    margin-bottom: 1.75rem;
  }

  .announcement-statement {
    font-size: 1.35rem;
    letter-spacing: 0.2em;
  }

  .supporting-text {
    font-size: 1.05rem;
    font-weight: 600;
  }

  .blueprint-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .meta-separator {
    display: none;
  }

  .footer {
    height: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-hairline);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .grid-line.horizontal {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .title-line {
    opacity: 1 !important;
    transform: none !important;
  }

  .beacon-pulse {
    display: none;
  }
}
