/*
Theme Name: Everlasting Impressions
Theme URI: https://everlasting-impressions.local/
Author: Everlasting Impressions
Description: Custom WordPress theme for Everlasting Impressions 3D printing and sublimation gifts.
Version: 1.1.0
Text Domain: everlasting-impressions
*/

:root {
  --ei-ink: #17171b;
  --ei-muted: #5e626b;
  --ei-paper: #ffffff;
  --ei-soft: #f4f5f7;
  --ei-line: #dde2e7;
  --ei-night: #07080b;
  --ei-panel: #111318;
  --ei-red: #e20f1a;
  --ei-red-deep: #9f0712;
  --ei-gold: #f4b742;
  --ei-blue: #2e9fff;
  --ei-green: #31a66c;
  --ei-shadow: 0 18px 50px rgba(7, 8, 11, 0.18);
  --ei-radius: 8px;
  --ei-shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ei-paper);
  color: var(--ei-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

a:hover {
  color: var(--ei-red);
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.screen-reader-text:focus {
  clip: auto;
  background: var(--ei-paper);
  border: 2px solid var(--ei-red);
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 1000;
}

.ei-shell {
  margin: 0 auto;
  max-width: var(--ei-shell);
  padding: 0 1.25rem;
  width: 100%;
}

.ei-site-header {
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 11, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 50;
}

.admin-bar .ei-site-header {
  top: 32px;
}

.ei-site-header__inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 72px;
}

.ei-brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.7rem;
  min-width: 0;
}

.ei-brand__mark {
  align-items: center;
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  box-shadow: 0 0 24px rgba(226, 15, 26, 0.24);
  display: inline-flex;
  height: 45px;
  justify-content: center;
  overflow: hidden;
  width: 136px;
}

.ei-brand__mark img {
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.ei-brand__text {
  display: grid;
  line-height: 1.1;
}

.ei-brand__name {
  font-size: 1rem;
  font-weight: 900;
}

.ei-brand__tag {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.ei-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.ei-nav a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.45rem 0.75rem;
}

.ei-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ei-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0.76rem 1.12rem;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.ei-button:hover {
  transform: translateY(-1px);
}

.ei-button--primary {
  background: var(--ei-red);
  box-shadow: 0 10px 28px rgba(226, 15, 26, 0.28);
  color: #fff;
}

.ei-button--primary:hover {
  background: var(--ei-red-deep);
  color: #fff;
}

.ei-button--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.ei-button--ghost:hover {
  background: #fff;
  color: var(--ei-night);
}

.ei-section {
  padding: 5rem 0;
}

#work,
#services,
#live-print,
#gallery,
#quote {
  scroll-margin-top: 96px;
}

.ei-section--soft {
  background: var(--ei-soft);
}

.ei-section--dark {
  background:
    radial-gradient(circle at 80% 20%, rgba(46, 159, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 12% 90%, rgba(244, 183, 66, 0.13), transparent 26rem),
    var(--ei-night);
  color: #fff;
}

.ei-section__header {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
  max-width: 800px;
}

.ei-eyebrow {
  color: var(--ei-red);
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}

.ei-section--dark .ei-eyebrow,
.ei-hero .ei-eyebrow {
  color: var(--ei-gold);
}

.ei-section__header h2,
.ei-hero h1,
.ei-page-title {
  line-height: 1.04;
  margin: 0;
}

.ei-section__header h2 {
  font-size: 2.35rem;
}

.ei-section__header p {
  color: var(--ei-muted);
  font-size: 1.08rem;
  margin: 0;
}

.ei-section--dark .ei-section__header p {
  color: rgba(255, 255, 255, 0.76);
}

.ei-hero {
  background:
    radial-gradient(circle at 76% 44%, rgba(244, 183, 66, 0.2), transparent 22rem),
    radial-gradient(circle at 90% 28%, rgba(46, 159, 255, 0.18), transparent 18rem),
    var(--ei-night);
  isolation: isolate;
  min-height: 82svh;
  overflow: hidden;
  position: relative;
}

.ei-hero__media,
.ei-hero__shade {
  inset: 0;
  position: absolute;
}

.ei-hero__media {
  z-index: 0;
}

.ei-hero__media img {
  height: 100%;
  object-fit: contain;
  object-position: 78% 50%;
  opacity: 0.88;
  width: 100%;
}

.ei-hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.96), rgba(7, 8, 11, 0.82) 36%, rgba(7, 8, 11, 0.42) 72%, rgba(7, 8, 11, 0.22)),
    linear-gradient(0deg, rgba(7, 8, 11, 0.86), rgba(7, 8, 11, 0.08) 46%);
  pointer-events: none;
  z-index: 1;
}

.ei-hero__content {
  align-content: center;
  color: #fff;
  display: grid;
  gap: 2rem;
  min-height: 82svh;
  padding-bottom: 4.5rem;
  padding-top: 6rem;
  position: relative;
  z-index: 2;
}

.ei-hero__copy {
  max-width: 680px;
}

.ei-hero h1 {
  font-size: 4.1rem;
  text-transform: uppercase;
}

.ei-hero__copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.2rem;
  margin: 1rem 0 0;
  max-width: 620px;
}

.ei-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.ei-hero__rail {
  align-self: end;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
}

.ei-hero__rail span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0.42rem 0.72rem;
}

.ei-intro {
  background: var(--ei-panel);
  color: #fff;
  padding: 3.25rem 0;
}

.ei-intro__grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.ei-intro__copy {
  display: grid;
  gap: 0.85rem;
}

.ei-intro__copy h2 {
  font-size: 2.05rem;
  line-height: 1.08;
  margin: 0;
}

.ei-intro__copy p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.ei-intro__stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ei-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  min-width: 0;
  padding: 0.9rem;
}

.ei-stat strong {
  color: #fff;
  display: block;
  font-size: 1rem;
  line-height: 1.18;
  margin-bottom: 0.32rem;
}

.ei-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ei-feature-card {
  background: #fff;
  border: 1px solid var(--ei-line);
  border-radius: var(--ei-radius);
  box-shadow: 0 10px 30px rgba(7, 8, 11, 0.08);
  overflow: hidden;
}

.ei-feature-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.ei-feature-card__body {
  padding: 1.1rem;
}

.ei-feature-card h3 {
  font-size: 1.15rem;
  line-height: 1.2;
  margin: 0;
}

.ei-feature-card p {
  color: var(--ei-muted);
  margin: 0.55rem 0 0;
}

.ei-process {
  background:
    linear-gradient(90deg, rgba(226, 15, 26, 0.08), transparent 42%),
    #fff;
}

.ei-process__grid {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.72fr 1.28fr;
}

.ei-process h2 {
  font-size: 2.2rem;
  line-height: 1.08;
  margin: 0.55rem 0 0;
}

.ei-steps {
  counter-reset: ei-step;
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ei-steps li {
  background: #fff;
  border: 1px solid var(--ei-line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(7, 8, 11, 0.06);
  counter-increment: ei-step;
  display: grid;
  gap: 0.25rem;
  min-height: 94px;
  padding: 1rem 1rem 1rem 4.2rem;
  position: relative;
}

.ei-steps li::before {
  align-items: center;
  background: var(--ei-night);
  border: 2px solid var(--ei-red);
  border-radius: 50%;
  color: #fff;
  content: counter(ei-step);
  display: inline-flex;
  font-weight: 900;
  height: 2.2rem;
  justify-content: center;
  left: 1rem;
  position: absolute;
  top: 1rem;
  width: 2.2rem;
}

.ei-steps strong {
  color: var(--ei-ink);
  line-height: 1.2;
}

.ei-steps li {
  color: var(--ei-muted);
}

.ei-camera-layout {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
}

.ei-camera-copy {
  display: grid;
  gap: 1rem;
}

.ei-camera-copy h2 {
  font-size: 2.35rem;
  line-height: 1.08;
  margin: 0;
}

.ei-camera-copy p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}

.ei-camera-points {
  display: grid;
  gap: 0.62rem;
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}

.ei-camera-points li {
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  gap: 0.6rem;
}

.ei-camera-points li::before {
  background: var(--ei-gold);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 0.55rem;
  width: 0.55rem;
}

.ei-camera-panel {
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ei-radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.ei-camera-panel__top {
  align-items: center;
  background: linear-gradient(90deg, rgba(226, 15, 26, 0.22), rgba(255, 255, 255, 0.04));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  justify-content: space-between;
  min-height: 50px;
  padding: 0.75rem 1rem;
}

.ei-camera-status {
  align-items: center;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  gap: 0.45rem;
}

.ei-camera-status::before {
  background: var(--ei-gold);
  border-radius: 999px;
  content: "";
  height: 0.65rem;
  width: 0.65rem;
}

.ei-camera-status.is-online::before {
  background: var(--ei-green);
  box-shadow: 0 0 16px rgba(49, 166, 108, 0.5);
}

.ei-camera-status.is-offline::before {
  background: var(--ei-red);
}

.ei-camera-frame {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
    #000;
  background-size: 22px 22px;
  overflow: hidden;
  position: relative;
}

.ei-camera-frame img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.ei-camera-panel__bottom {
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.85rem 1rem 1rem;
}

.ei-camera-panel__bottom a {
  color: #fff;
  font-weight: 900;
}

.ei-camera-panel__bottom a:hover {
  color: var(--ei-gold);
}

.ei-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ei-gallery figure {
  background: #fff;
  border: 1px solid var(--ei-line);
  border-radius: var(--ei-radius);
  box-shadow: 0 10px 26px rgba(7, 8, 11, 0.06);
  margin: 0;
  overflow: hidden;
}

.ei-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.ei-gallery figcaption {
  color: var(--ei-muted);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.75rem;
}

.ei-quote-layout {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.82fr 1.18fr;
}

.ei-quote-copy {
  display: grid;
  gap: 1rem;
}

.ei-quote-copy h2 {
  font-size: 2.25rem;
  line-height: 1.08;
  margin: 0;
}

.ei-quote-copy p {
  color: var(--ei-muted);
  margin: 0;
}

.ei-form {
  background: #fff;
  border: 1px solid var(--ei-line);
  border-radius: var(--ei-radius);
  box-shadow: var(--ei-shadow);
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.ei-form__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ei-field {
  display: grid;
  gap: 0.35rem;
}

.ei-field--full {
  grid-column: 1 / -1;
}

.ei-field label {
  font-size: 0.9rem;
  font-weight: 900;
}

.ei-field input,
.ei-field select,
.ei-field textarea {
  background: #fff;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  color: var(--ei-ink);
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.ei-field textarea {
  min-height: 132px;
  resize: vertical;
}

.ei-field input[type="file"] {
  align-items: center;
  display: flex;
  padding: 0.65rem 0.85rem;
}

.ei-field__hint {
  color: var(--ei-muted);
  font-size: 0.82rem;
}

.ei-field input:focus,
.ei-field select:focus,
.ei-field textarea:focus {
  border-color: var(--ei-red);
  outline: 3px solid rgba(226, 15, 26, 0.16);
}

.ei-form__note,
.ei-alert {
  color: var(--ei-muted);
  font-size: 0.92rem;
  margin: 0;
}

.ei-alert {
  border-radius: var(--ei-radius);
  padding: 0.75rem 0.9rem;
}

.ei-alert--success {
  background: rgba(49, 166, 108, 0.1);
  color: #187348;
}

.ei-alert--error {
  background: rgba(226, 15, 26, 0.1);
  color: var(--ei-red-deep);
}

.ei-page {
  padding: 4rem 0;
}

.ei-page-title {
  font-size: 2.45rem;
  margin-bottom: 1rem;
}

.ei-page-content {
  max-width: 800px;
}

.ei-page-content a {
  color: var(--ei-red);
  font-weight: 900;
}

.ei-site-footer {
  background: var(--ei-night);
  color: #fff;
  padding: 2.5rem 0;
}

.ei-site-footer__inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.ei-site-footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.ei-site-footer a {
  color: #fff;
  font-weight: 900;
}

.ei-site-footer a:hover {
  color: var(--ei-gold);
}

@media (max-width: 980px) {
  .ei-site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    padding-top: 0.85rem;
  }

  .ei-nav {
    justify-content: flex-start;
  }

  .ei-hero__media img {
    object-position: 70% 50%;
    opacity: 0.7;
  }

  .ei-hero h1 {
    font-size: 3.05rem;
  }

  .ei-feature-grid,
  .ei-intro__grid,
  .ei-process__grid,
  .ei-camera-layout,
  .ei-quote-layout {
    grid-template-columns: 1fr;
  }

  .ei-intro__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ei-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admin-bar .ei-site-header {
    top: 0;
  }

  .ei-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ei-section {
    padding: 3.5rem 0;
  }

  #work,
  #services,
  #live-print,
  #gallery,
  #quote {
    scroll-margin-top: 128px;
  }

  .ei-hero,
  .ei-hero__content {
    min-height: 82svh;
  }

  .ei-hero__content {
    padding-bottom: 3.5rem;
    padding-top: 4.5rem;
  }

  .ei-hero__media img {
    object-position: 50% 34%;
    opacity: 0.42;
  }

  .ei-hero__shade {
    background:
      linear-gradient(90deg, rgba(7, 8, 11, 0.94), rgba(7, 8, 11, 0.78)),
      linear-gradient(0deg, rgba(7, 8, 11, 0.86), rgba(7, 8, 11, 0.2));
  }

  .ei-hero h1 {
    font-size: 2.38rem;
  }

  .ei-hero__copy p,
  .ei-section__header p {
    font-size: 1rem;
  }

  .ei-section__header h2,
  .ei-camera-copy h2,
  .ei-quote-copy h2,
  .ei-process h2,
  .ei-intro__copy h2 {
    font-size: 1.82rem;
  }

  .ei-hero__actions,
  .ei-site-footer__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .ei-button {
    width: 100%;
  }

  .ei-form__grid,
  .ei-gallery,
  .ei-intro__stats {
    grid-template-columns: 1fr;
  }

  .ei-steps li {
    padding-left: 3.8rem;
  }

  .ei-camera-panel__top,
  .ei-camera-panel__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
