/* ============================================================
   STUDIO ARC & DESIGN — EDITORIAL ARCHITECTURAL STYLESHEET
   Conforms strictly to DESIGN.md specification
   ============================================================ */

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

/* Strict Architectural Constraint: Zero Roundedness & Zero Shadows */
*, *::before, *::after {
  border-radius: 0px !important;
  box-shadow: none !important;
}

:root {
  --color-black: #0B0B0B;
  --color-offwhite: #F7F5F2;
  --color-stone: #8C8780;
  --color-hairline: #D9D5CF;
  --color-hairline-dark: #262626;
  --color-pure-white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-black);
  color: var(--color-black);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-offwhite);
  color: var(--color-black);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Minimalist Monochromatic Selection */
::selection {
  background: var(--color-black);
  color: var(--color-offwhite);
}

/* Accessible Focus States (Keyboard navigation) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-black) !important;
  outline-offset: 3px !important;
}

.dark a:focus-visible, .dark button:focus-visible, #footer a:focus-visible, #footer button:focus-visible, #footer input:focus-visible {
  outline: 2px solid var(--color-offwhite) !important;
  outline-offset: 3px !important;
}

/* Architectural Image Hover Zoom */
.project-image-zoom {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.group:hover .project-image-zoom {
  transform: scale(1.035);
}

/* Scroll Fade-In Reveal Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hairline Form Inputs (Dark Background / Footer) */
.underline-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #383838;
  border-radius: 0;
  color: var(--color-offwhite);
  padding: 12px 0;
  width: 100%;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.underline-input:focus {
  outline: none;
  border-bottom-color: var(--color-offwhite);
}

/* Hairline Form Inputs (Light Background / Contact & Careers) */
.underline-input-light {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-hairline);
  border-radius: 0;
  color: var(--color-black);
  padding: 12px 0;
  width: 100%;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.underline-input-light:focus {
  outline: none;
  border-bottom-color: var(--color-black);
}

/* Minimal Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: #333333;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-stone);
}

/* Micro Tracking & Typography Utilities */
.tracking-tag {
  letter-spacing: 0.08em;
}

.tracking-tightest {
  letter-spacing: -0.035em;
}

.tracking-tighter {
  letter-spacing: -0.025em;
}

/* Touch Target Minimum for Mobile (44px) */
.touch-target {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}
