/* =============================================================
   EXPERIA — Base / Reset / Global
   ============================================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Typography base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text-primary);
}

p { font-family: var(--font-body); }

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

/* ---- Shared Layout ---- */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ---- Common Section Elements ---- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.eyebrow.centered { text-align: center; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 560px;
}

em.accent-italic {
  font-style: italic;
  color: var(--accent);
}

strong.accent-highlight {
  color: var(--accent-light);
  font-weight: inherit;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: var(--btn-tracking);
  text-transform: var(--btn-transform);
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1.5px solid var(--btn-primary-bg);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--btn-primary-bg-hover);
  border-color: var(--btn-primary-bg-hover);
  color: var(--btn-primary-text-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-left: 0;
  padding-right: 0;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.9375rem;
  font-weight: 400;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-on-dark);
  border: 1.5px solid var(--accent);
}
.btn-accent:hover,
.btn-accent:focus-visible {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 44px;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---- Image Placeholder ---- */
.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-on-dark-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 0.8125rem;
  font-family: var(--font-body);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
}
.admin-mode .image-placeholder:hover .upload-overlay,
.admin-mode [data-image-field]:hover .upload-overlay { opacity: 1; }
.admin-mode .image-placeholder,
.admin-mode [data-image-field] { cursor: pointer; position: relative; }

/* ---- Focus styles ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
