/* Shared components — Yaron Levy Private Investigations */

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
}

a {
  color: var(--color-text);
  text-decoration: none;
}
a:hover {
  color: var(--color-text);
}

::selection {
  background: rgba(232, 93, 0, 0.35);
  color: var(--color-text);
}

/* Section container */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
  box-sizing: border-box;
}

.section {
  border-top: var(--border-width) solid rgba(122, 124, 130, 0.22);
}
.section .container {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

/* Headings */
.heading-1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 900;
  line-height: var(--leading-tight);
}
.heading-2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 900;
  line-height: var(--leading-tight);
}
.heading-3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 900;
  line-height: var(--leading-tight);
}

/* Body text */
.text-body {
  margin: 0;
  font-size: var(--text-body);
  font-weight: 300;
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
  text-wrap: pretty;
}
.text-small {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--color-text-muted);
}
.text-micro {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-muted);
}

/* Accent rule — the single orange moment per section */
.accent-rule {
  width: var(--space-lg);
  height: var(--border-width);
  background: var(--color-accent);
  margin-top: 32px;
}
.accent-rule--sm {
  width: 32px;
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;                         /* rounded corners on all buttons */
  box-sizing: border-box;
}
.btn--primary {
  padding: 18px 64px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-body);
  font-weight: 700;
}
.btn--primary:hover {
  color: var(--color-primary);
}
.btn--quiet {
  width: 180px;
  padding: 15px 0;
  border: var(--border-width) solid rgba(122, 124, 130, 0.45);
  font-size: 16px;
  font-weight: 400;
}
/* Ghost — outline that fills with orange on hover (ease-in-out) */
.btn--ghost {
  padding: 10px 26px;
  background: transparent;
  border: var(--border-width) solid var(--color-accent-light);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border-color 0.4s ease-in-out;
}
.btn--ghost:hover {
  background: var(--color-accent-light);
  color: var(--color-primary);
}
.btn--text {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--color-text-muted);
}
.btn--text:hover {
  color: var(--color-text-muted);
}

/* Contact action cluster */
.contact-cluster {
  display: flex;
  gap: var(--space-sm);
}

/* Icon-only contact buttons — no border, no fill */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--color-text);
  transition: color 0.4s ease-in;
}
.icon-btn svg {
  width: 26px;
  height: 26px;
  display: block;
}
.icon-btn:hover {
  color: var(--color-accent-light);
}

/* Form fields */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.field__label {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}
.field__input {
  background: transparent;
  border: var(--border-width) solid rgba(122, 124, 130, 0.45);
  border-radius: 12px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  box-sizing: border-box;
  width: 100%;
  transition: border-color 0.4s ease-in;
}
.field__input::placeholder {
  color: rgba(122, 124, 130, 0.7);
}
.field__input:focus {
  outline: none;
  border-color: var(--color-accent-light);
}

/* Segmented choice — radio group styled as buttons */
.choice {
  display: flex;
  gap: var(--space-sm);
}
.choice__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.choice__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 0;
  border: var(--border-width) solid rgba(122, 124, 130, 0.45);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.4s ease-in;
}
.choice__input:checked + .choice__btn {
  border-color: var(--color-accent-light);
}
.choice__input:focus-visible + .choice__btn {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
