/* Font Face Declarations */
@font-face {
  font-family: 'Equity A';
  src: url('assets/equity_a_regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Equity A';
  src: url('assets/equity_a_italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Equity A';
  src: url('assets/equity_a_bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Equity A';
  src: url('assets/equity_a_bold_italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* CSS Custom Properties */
:root {
  --color-text: rgba(0, 0, 0, 0.85);
  --color-accent: #ec5d35;
  --color-muted: rgba(0, 0, 0, 0.4);
  --color-border: rgba(0, 0, 0, 0.2);
  --color-bg: #ffffff;
  --color-footer-bg: #e7e7e7;
  --color-image-bg: #d9d9d9;
  --content-width: 608px;
  --content-padding: 24px;
  --font-serif: 'Equity A', Georgia, serif;
  --font-sans: 'Futura PT', 'Futura', 'Trebuchet MS', sans-serif;
}

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

body {
  font-family: var(--font-serif);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Layout */
.layout {
  display: flex;
  min-height: 100vh;
}

.content {
  width: var(--content-width);
  min-width: var(--content-width);
  max-width: var(--content-width);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
}

.image-panel {
  flex: 1;
  background: var(--color-image-bg);
  min-height: 100vh;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-image-bg);
  position: sticky;
  top: 0;
  height: 100vh;
  background-image: url('assets/radar-room-optimized.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
}


/* Header */
.header {
  padding: 32px var(--content-padding) 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-icon {
  height: 40px;
  width: auto;
  align-self: center;
}

.logo-text {
  height: 28px;
  width: auto;
}

.logo-hall {
  font-family: var(--font-serif);
  color: #EC5D35;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
  padding-top: 4px;
  margin-left: -5px;
}

/* Radar icon animation */
.radar-ring {
  animation: radar-pulse 2s steps(1) infinite;
}

.radar-ring-1 {
  animation-delay: 0.2s;
}

.radar-ring-2 {
  animation-delay: 0.1s;
}

.radar-ring-3 {
  animation-delay: 0s;
}

.radar-dot {
  animation: radar-dot-pulse 2s steps(1) infinite;
}

.radar-dot-1 {
  animation-delay: 0.3s;
}

.radar-dot-2 {
  animation-delay: 0.2s;
}

.radar-dot-3 {
  animation-delay: 0.1s;
}

.radar-dot-4 {
  animation-delay: 0s;
}

@keyframes radar-pulse {
  0%, 19.9% {
    stroke: rgba(0, 0, 0, 0.2);
  }
  20%, 40% {
    stroke: #ec5d35;
  }
  40.1%, 100% {
    stroke: rgba(0, 0, 0, 0.2);
  }
}

@keyframes radar-dot-pulse {
  0%, 19.9% {
    fill: rgba(0, 0, 0, 0.85);
  }
  20%, 40% {
    fill: #ec5d35;
  }
  40.1%, 100% {
    fill: rgba(0, 0, 0, 0.85);
  }
}

/* Divider */
.divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0 var(--content-padding);
}

/* Navigation */
.nav {
  display: flex;
  gap: 16px;
  padding: 10px var(--content-padding) 9px;
}

.nav-link {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link.active {
  color: var(--color-accent);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 32px var(--content-padding);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section > * + * {
  margin-top: 0;
}

.body-text {
  font-size: 15px;
  line-height: 24px;
  color: var(--color-text);
}

.body-text.bold,
.bold {
  font-weight: 600;
}

.accent {
  color: var(--color-accent);
}

a.accent {
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

a.accent:hover {
  text-decoration: underline;
}

.underline {
  text-decoration: underline;
}

.hover-underline {
  text-decoration: none;
}

.hover-underline:hover {
  text-decoration: underline;
}

.muted {
  color: var(--color-muted);
}

.subscript {
  font-size: 10px;
  vertical-align: baseline;
}

/* Page Title */
.page-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
}

/* Subscribe Form */
.subscribe-form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  max-width: 369px;
}

.subscribe-form input {
  flex: 1;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
}

.subscribe-form input::placeholder {
  color: var(--color-text);
  opacity: 0.4;
}

.subscribe-form button {
  height: 32px;
  padding: 0 16px;
  min-width: 77px;
  background: var(--color-text);
  color: white;
  border: 1px solid var(--color-text);
  border-radius: 3px;
  font-family: var(--font-serif);
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.subscribe-form button:hover {
  opacity: 0.9;
}

.subscribe-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  font-size: 14px;
  color: var(--color-accent);
  margin-top: 8px;
}

/* Footer */
.footer {
  padding: 24px var(--content-padding) 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  line-height: 16px;
}

.footer-credits p,
.footer-location p,
.footer-site p {
  margin: 0;
}

.footer-location {
  text-align: center;
}

.footer-site {
  text-align: right;
}

.footer .muted {
  opacity: 0.4;
  color: var(--color-text);
}

/* Responsive Design */

/* Tablet and below - hide image panel */
@media (max-width: 768px) {
  .image-panel {
    display: none;
  }
  
  .content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --content-padding: 20px;
  }
  
  .logo img {
    height: 36px;
  }
  
  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: left;
  }
  
  .footer-location,
  .footer-site {
    text-align: left;
  }
  
  .nav {
    flex-wrap: wrap;
  }
  
  .subscribe-form {
    flex-direction: column;
    max-width: 100%;
  }
  
  .subscribe-form input {
    width: 100%;
    min-height: 32px;
  }
  
  .subscribe-form button {
    width: 100%;
  }
}
