/* ==========================================================================
   Lutz-Design Elementor Addon — lutz.css
   All styles scoped to .lutz-scope to avoid theme leakage.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
.lutz-scope {
  --cream:        #FBF7F2;
  --sand:         #EBE3D6;
  --ink:          #26201A;
  --ink-70:       rgba(38,32,26,.7);
  --ink-55:       rgba(38,32,26,.55);
  --terracotta:   #C26B4F;
  --terracotta-dark: #B5573D;
  --sage:         #6E7A52;
  --ochre:        #D9A24E;
  --cream-soft:   rgba(251,247,242,.78);
  --pad-section:  clamp(96px, 12vw, 180px);
  --radius:       4px;
  --shadow-photo: 8px 8px 0 var(--terracotta);

  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background-color: var(--cream);
}

.lutz-scope .serif {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
}

.lutz-scope .hand {
  font-family: 'Caveat', cursive;
}

/* --------------------------------------------------------------------------
   2. Shared Utilities
   -------------------------------------------------------------------------- */
.lutz-scope *,
.lutz-scope *::before,
.lutz-scope *::after {
  box-sizing: border-box;
}

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

/* Reveal animation */
.lutz-scope .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.lutz-scope .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .lutz-scope .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.lutz-scope .lutz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.lutz-scope .lutz-btn--primary {
  background: var(--terracotta);
  color: var(--cream);
}

.lutz-scope .lutz-btn--primary:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 4px 16px rgba(194,107,79,.35);
}

.lutz-scope .lutz-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-55);
}

.lutz-scope .lutz-btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(38,32,26,.05);
}

/* --------------------------------------------------------------------------
   4. Header / Nav
   -------------------------------------------------------------------------- */
.lutz-scope .lutz-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 5%;
  transition: padding 0.3s, backdrop-filter 0.3s, background 0.3s;
}

.lutz-scope .lutz-nav.scrolled {
  padding: 14px 5%;
  background: var(--cream-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(38,32,26,.08);
}

.lutz-scope .lutz-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.lutz-scope .lutz-nav__mark {
  width: 40px;
  height: 40px;
  background: var(--terracotta);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
}

.lutz-scope .lutz-nav__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
}

.lutz-scope .lutz-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lutz-scope .lutz-nav__link {
  text-decoration: none;
  color: var(--ink-70);
  font-size: 15px;
  transition: color 0.2s;
}

.lutz-scope .lutz-nav__link:hover {
  color: var(--ink);
}

.lutz-scope .lutz-nav__cta {
  display: inline-flex;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.lutz-scope .lutz-nav__cta:hover {
  background: #3a3228;
}

.lutz-scope .lutz-nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.lutz-scope .lutz-nav__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* Mobile overlay */
.lutz-scope .lutz-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lutz-scope .lutz-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lutz-scope .lutz-mobile-overlay__close {
  position: absolute;
  top: 24px;
  right: 5%;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 24px;
  cursor: pointer;
}

.lutz-scope .lutz-mobile-overlay__link {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 8vw, 56px);
  font-style: italic;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}

.lutz-scope .lutz-mobile-overlay__link:hover {
  color: var(--terracotta);
}

@media (max-width: 768px) {
  .lutz-scope .lutz-nav__links  { display: none; }
  .lutz-scope .lutz-nav__menu-btn { display: flex; }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.lutz-scope .lutz-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: calc(var(--pad-section) + 80px) 5% var(--pad-section);
  background: var(--cream);
  position: relative;
}

.lutz-scope .lutz-hero__heading {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.12;
  margin: 0 0 28px;
  color: var(--ink);
}

.lutz-scope .lutz-hero__story-wrap {
  display: inline-block;
  position: relative;
}

.lutz-scope .lutz-hero__underline {
  position: absolute;
  bottom: -6px;
  left: -4px;
  width: calc(100% + 8px);
  height: 18px;
  overflow: visible;
}

.lutz-scope .lutz-hero__underline-path {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: lutz-drawLine 0.9s ease forwards 0.6s;
}

@keyframes lutz-drawLine {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lutz-scope .lutz-hero__underline-path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.lutz-scope .lutz-hero__sub {
  font-size: 18px;
  color: var(--ink-70);
  max-width: 480px;
  margin: 0 0 40px;
}

.lutz-scope .lutz-hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.lutz-scope .lutz-hero__photo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lutz-scope .lutz-hero__photo-frame {
  transform: rotate(2.5deg);
  box-shadow: var(--shadow-photo);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 420px;
  width: 100%;
}

.lutz-scope .lutz-hero__photo-frame--empty {
  min-height: 340px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-55);
  font-size: 14px;
}

.lutz-scope .lutz-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Scroll cue */
.lutz-scope .lutz-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lutz-scope .lutz-scroll-cue__line {
  width: 40px;
  height: 1px;
  background: var(--ink-55);
}

.lutz-scope .lutz-scroll-cue__label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-55);
}

@media (max-width: 768px) {
  .lutz-scope .lutz-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .lutz-scope .lutz-hero__ctas { justify-content: center; }
  .lutz-scope .lutz-hero__sub  { margin-inline: auto; }
  .lutz-scope .lutz-scroll-cue { display: none; }
}

/* --------------------------------------------------------------------------
   6. Mission
   -------------------------------------------------------------------------- */
.lutz-scope .lutz-mission {
  padding: var(--pad-section) 5%;
  background: var(--cream);
}

.lutz-scope .lutz-mission__inner {
  max-width: 1140px;
  margin-inline: auto;
}

.lutz-scope .lutz-mission__heading {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  margin: 0 0 64px;
  max-width: 700px;
}

.lutz-scope .lutz-mission__heading::first-letter {
  font-size: 1.4em;
  float: left;
  line-height: 0.85;
  margin-right: 6px;
  color: var(--terracotta);
  filter: drop-shadow(2px 2px 0 var(--sand));
}

.lutz-scope .lutz-mission__columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}

.lutz-scope .lutz-mission__col p {
  margin: 0 0 20px;
  color: var(--ink-70);
}

.lutz-scope .lutz-mission__col p:last-child { margin-bottom: 0; }

.lutz-scope .lutz-mission__divider {
  width: 40px;
  align-self: stretch;
}

.lutz-scope .lutz-mission__divider svg {
  height: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  .lutz-scope .lutz-mission__columns {
    grid-template-columns: 1fr;
  }
  .lutz-scope .lutz-mission__divider { display: none; }
}

/* --------------------------------------------------------------------------
   7. Process
   -------------------------------------------------------------------------- */
.lutz-scope .lutz-process {
  padding: var(--pad-section) 5%;
  background: var(--sand);
}

.lutz-scope .lutz-process__inner {
  max-width: 1140px;
  margin-inline: auto;
}

.lutz-scope .lutz-process__heading {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  font-style: italic;
  margin: 0 0 80px;
}

.lutz-scope .lutz-process__steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.lutz-scope .lutz-step {
  max-width: 460px;
}

.lutz-scope .lutz-step--left   { margin-right: auto; }
.lutz-scope .lutz-step--center { margin-inline: auto; }
.lutz-scope .lutz-step--right  { margin-left: auto; }

.lutz-scope .lutz-step__glyph {
  width: 48px;
  height: 48px;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.lutz-scope .lutz-step__glyph svg {
  width: 100%;
  height: 100%;
}

.lutz-scope .lutz-step__num {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  color: var(--terracotta);
  line-height: 0.85;
  margin-bottom: 12px;
  opacity: 0.18;
}

.lutz-scope .lutz-step__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  margin: 0 0 16px;
}

.lutz-scope .lutz-step__body {
  color: var(--ink-70);
  margin: 0;
}

@media (max-width: 768px) {
  .lutz-scope .lutz-step--left,
  .lutz-scope .lutz-step--center,
  .lutz-scope .lutz-step--right {
    margin-inline: 0;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   8. Work
   -------------------------------------------------------------------------- */
.lutz-scope .lutz-work {
  padding: var(--pad-section) 5%;
  background: var(--cream);
}

.lutz-scope .lutz-work__inner {
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.lutz-scope .lutz-work__heading {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  font-style: italic;
  margin: 0 0 64px;
}

.lutz-scope .lutz-project-card {
  margin-bottom: 64px;
}

.lutz-scope .lutz-project-card:last-child {
  margin-bottom: 0;
}

.lutz-scope .lutz-project-card__frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-photo);
  margin-bottom: 28px;
}

.lutz-scope .lutz-project-card--tilt-left .lutz-project-card__frame {
  transform: rotate(-1.5deg);
}

.lutz-scope .lutz-project-card--tilt-right .lutz-project-card__frame {
  transform: rotate(1.5deg);
}

.lutz-scope .lutz-project-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.lutz-scope .lutz-project-card__title {
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  margin: 0 0 12px;
}

.lutz-scope .lutz-project-card__desc {
  color: var(--ink-70);
  margin: 0 0 16px;
}

.lutz-scope .lutz-project-card__link {
  color: var(--terracotta);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.lutz-scope .lutz-project-card__link:hover {
  color: var(--terracotta-dark);
}

.lutz-scope .lutz-work__aside {
  position: sticky;
  top: 120px;
  padding: 40px;
  background: var(--sand);
  border-radius: var(--radius);
}

.lutz-scope .lutz-work__aside p {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-70);
  margin: 0;
}

@media (max-width: 900px) {
  .lutz-scope .lutz-work__inner {
    grid-template-columns: 1fr;
  }
  .lutz-scope .lutz-work__aside {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   9. Quote
   -------------------------------------------------------------------------- */
.lutz-scope .lutz-quote-section {
  padding: var(--pad-section) 5%;
  background: var(--terracotta);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lutz-scope .lutz-quote-section__inner {
  max-width: 860px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.lutz-scope .lutz-quote-section__marks {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.lutz-scope .lutz-quote-marks {
  width: 120px;
  height: 80px;
}

.lutz-scope .lutz-quote-marks__path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1s ease;
}

.lutz-scope [data-lutz-quote].in-view .lutz-quote-marks__path {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lutz-scope .lutz-quote-marks__path {
    stroke-dashoffset: 0;
  }
}

.lutz-scope .lutz-quote-section__quote {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--cream);
  margin: 0 0 32px;
  quotes: none;
}

.lutz-scope .lutz-quote-section__attribution {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(251,247,242,.65);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Contact Form
   -------------------------------------------------------------------------- */
.lutz-scope .lutz-form-section {
  padding: var(--pad-section) 5%;
  background: var(--cream);
}

.lutz-scope .lutz-form-section__inner {
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}

.lutz-scope .lutz-form-section__heading {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  font-style: italic;
  margin: 0 0 20px;
}

.lutz-scope .lutz-form-section__lead {
  color: var(--ink-70);
  margin: 0 0 48px;
  max-width: 540px;
}

/* Form fields */
.lutz-scope .lutz-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lutz-scope .lutz-form__field {
  margin-bottom: 32px;
}

.lutz-scope .lutz-form__label {
  display: block;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 10px;
  font-weight: 500;
}

.lutz-scope .lutz-form__input,
.lutz-scope .lutz-form__textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--sage);
  padding: 10px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
}

.lutz-scope .lutz-form__input:focus,
.lutz-scope .lutz-form__textarea:focus {
  border-bottom-color: var(--terracotta);
  border-bottom-width: 3px;
}

.lutz-scope .lutz-form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Box radios / checkboxes */
.lutz-scope .lutz-form__radios,
.lutz-scope .lutz-form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lutz-scope .lutz-form__box-label {
  cursor: pointer;
}

.lutz-scope .lutz-form__box-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.lutz-scope .lutz-form__box {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 100px;
  font-size: 14px;
  color: var(--ink-70);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  user-select: none;
}

.lutz-scope .lutz-form__box-label input:checked + .lutz-form__box {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: var(--cream);
}

.lutz-scope .lutz-form__box-label:hover .lutz-form__box {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.lutz-scope .lutz-form__submit {
  margin-top: 8px;
}

/* PS note */
.lutz-scope .lutz-form-section__ps-col {
  padding-top: 120px;
}

.lutz-scope .lutz-ps-note {
  transform: rotate(-3deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lutz-scope .lutz-ps-note__text {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--ink-70);
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.lutz-scope .lutz-ps-note__arrow {
  width: 60px;
  height: 90px;
}

.lutz-scope .lutz-form-section__shortcode-preview,
.lutz-scope .lutz-form-section__preview-note {
  color: var(--ink-55);
  font-size: 14px;
  font-style: italic;
}

@media (max-width: 900px) {
  .lutz-scope .lutz-form-section__inner {
    grid-template-columns: 1fr;
  }
  .lutz-scope .lutz-form-section__ps-col {
    padding-top: 0;
  }
  .lutz-scope .lutz-form__row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.lutz-scope .lutz-footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--pad-section) 5% 0;
}

.lutz-scope .lutz-footer__inner {
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(251,247,242,.12);
}

.lutz-scope .lutz-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.lutz-scope .lutz-footer__mark {
  width: 40px;
  height: 40px;
  background: var(--terracotta);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
}

.lutz-scope .lutz-footer__name {
  font-size: 15px;
  font-weight: 500;
}

.lutz-scope .lutz-footer__tagline {
  font-size: 14px;
  color: rgba(251,247,242,.55);
  margin: 0;
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
}

.lutz-scope .lutz-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lutz-scope .lutz-footer__nav-link {
  color: rgba(251,247,242,.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.lutz-scope .lutz-footer__nav-link:hover {
  color: var(--cream);
}

.lutz-scope .lutz-footer__email {
  display: block;
  color: var(--terracotta);
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.lutz-scope .lutz-footer__email:hover {
  color: #d87e63;
}

.lutz-scope .lutz-footer__location {
  color: rgba(251,247,242,.45);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.lutz-scope .lutz-footer__bottom {
  max-width: 1140px;
  margin-inline: auto;
  padding: 28px 0;
}

.lutz-scope .lutz-footer__copyright {
  font-size: 13px;
  color: rgba(251,247,242,.35);
}

@media (max-width: 768px) {
  .lutz-scope .lutz-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
