/* Sieb's Workshop — static landing (light / pale wood); future contact POST stays in FUNCTIONS SHARED */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --brand-black: #000000;
  --brand-brown: #574944;
  --brand-white: #ffffff;
  --brand-tan: #ba9b7f;
  --brand-mist: #e6e2e0;
  --page-cream: #e8e2da;
  --page-shell: #d8cfc5;
  --wood-honey: #d9cfc2;
  --text-body: #1e1c1a;
  --text-heading: #574944;
  --font-display: "Raleway", system-ui, sans-serif;
  --font-body: "Raleway", system-ui, sans-serif;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-body);
  background-color: var(--page-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.wood-base {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #ddd3c8;
  background-image:
    radial-gradient(ellipse 130% 75% at 50% -12%, rgba(255, 255, 255, 0.82), transparent 55%),
    radial-gradient(ellipse 70% 50% at 6% 100%, rgba(120, 95, 75, 0.16), transparent 58%),
    radial-gradient(ellipse 65% 45% at 96% 20%, rgba(255, 255, 255, 0.28), transparent 56%),
    linear-gradient(
      172deg,
      #ede6dc 0%,
      #dcd2c8 42%,
      #cfc3b8 74%,
      #c4b6aa 100%
    );
}

.wood-fibers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.58;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(
      92deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(0, 0, 0, 0) 1px,
      rgba(0, 0, 0, 0) 8px,
      rgba(90, 68, 48, 0.12) 9px,
      rgba(0, 0, 0, 0) 34px,
      rgba(155, 128, 95, 0.1) 36px,
      rgba(0, 0, 0, 0) 88px,
      rgba(255, 255, 255, 0.06) 90px,
      rgba(0, 0, 0, 0) 148px,
      rgba(75, 58, 40, 0.09) 150px,
      rgba(0, 0, 0, 0) 268px
    ),
    repeating-linear-gradient(
      88deg,
      transparent 0px,
      transparent 120px,
      rgba(130, 105, 78, 0.1) 122px,
      transparent 248px,
      rgba(255, 255, 255, 0.12) 250px,
      transparent 400px
    ),
    radial-gradient(ellipse 150% 90% at 45% 50%, rgba(180, 160, 135, 0.38), transparent 68%);
}

.wood-knots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(
      ellipse 22% 14% at 18% 35%,
      rgba(115, 88, 65, 0.32),
      transparent 72%
    ),
    radial-gradient(ellipse 14% 10% at 82% 65%, rgba(105, 82, 62, 0.28), transparent 70%),
    radial-gradient(ellipse 30% 20% at 90% 12%, rgba(165, 140, 115, 0.28), transparent 74%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560'%3E%3Cfilter id='wg'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.1 0.012' numOctaves='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23wg)' opacity='0.52'/%3E%3C/svg%3E");
  background-size:
    auto,
    auto,
    auto,
    580px 580px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.05' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 440px 440px;
}

.gloss-sweep {
  position: fixed;
  inset: -40% -20%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.55) 49%,
    rgba(255, 255, 255, 0.75) 52%,
    rgba(255, 255, 255, 0) 64%,
    transparent 100%
  );
  mix-blend-mode: soft-light;
  animation: gloss-drift 18s ease-in-out infinite alternate;
}

.varnish-sheen {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(178deg, rgba(255, 255, 255, 0.55) 0%, transparent 36%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0%, transparent 28%),
    radial-gradient(ellipse 95% 50% at 50% -8%, rgba(255, 255, 255, 0.35), transparent 65%);
}

@media (prefers-reduced-motion: reduce) {
  .gloss-sweep {
    animation: none;
    opacity: 0.38;
    inset: -22%;
  }

  .logo-frame {
    animation: none !important;
  }

  .shine-target::after {
    animation: none !important;
  }

  .hero-tile-logo,
  .hero-tile-photo {
    transform: none;
  }
}

@keyframes gloss-drift {
  0% {
    transform: translate(-10%, -5%) rotate(0deg);
  }
  100% {
    transform: translate(7%, 3%) rotate(1.5deg);
  }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 88% 75% at 50% 48%,
    transparent 38%,
    rgba(62, 50, 44, 0.1) 100%
  );
}

.stage {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2.5rem) clamp(3rem, 10vh, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5.5vw, 3.25rem);
}

.hero-cluster {
  width: 100%;
  max-width: min(48rem, 100%);
  --hero-card: min(21rem, 47vw);
}

.hero-overlap {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  padding: clamp(1.25rem, 4vw, 2.25rem) clamp(0.5rem, 3vw, 1.25rem)
    clamp(1.5rem, 4.5vw, 2.25rem);
  gap: 0;
}

.hero-tile-logo {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: var(--hero-card);
  transform: rotate(-3.5deg) translateY(0.4rem);
  margin-right: clamp(-0.72rem, -2vw, -0.28rem);
}

.hero-tile-photo {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: var(--hero-card);
  transform: rotate(4.25deg) translateY(-0.3rem);
  margin-left: clamp(-0.72rem, -2vw, -0.28rem);
}

.hero-cluster .logo-frame {
  animation: none;
  width: 100%;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.52rem, 1.6vw, 0.82rem);
}

.hero-cluster .logo-plaque {
  max-width: calc(100% - 1.4rem);
  max-height: calc(100% - 1.4rem);
  box-sizing: border-box;
  padding: clamp(1.1rem, 4vw, 1.95rem);
}

.hero-cluster .brand-mark {
  max-width: 100%;
}

@media (max-width: 620px) {
  .hero-cluster {
    --hero-card: min(17.25rem, 86vw);
  }

  .hero-overlap {
    flex-wrap: wrap;
    flex-direction: column;
    padding-top: 0.75rem;
    padding-inline: clamp(0.75rem, 4vw, 1.25rem);
  }

  .hero-tile-logo {
    margin-right: 0;
    margin-bottom: clamp(-2.25rem, -7vw, -1rem);
    transform: rotate(-2.75deg) translateY(0.2rem);
  }

  .hero-tile-photo {
    margin-left: clamp(1.35rem, 11vw, 3rem);
    transform: rotate(3.5deg) translateY(-0.15rem);
  }
}

.logo-frame {
  position: relative;
  padding: clamp(0.75rem, 2.5vw, 1rem);
  border-radius: clamp(22px, 4vw, 32px);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(245, 238, 228, 0.45) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(186, 155, 127, 0.2) inset,
    0 2px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 44px rgba(70, 52, 42, 0.09),
    0 6px 16px rgba(70, 52, 42, 0.05);
  animation: float-y 10s ease-in-out infinite alternate;
}

@keyframes float-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

.logo-plaque {
  position: relative;
  border-radius: clamp(14px, 2.8vw, 22px);
  padding: clamp(1.5rem, 5vw, 2.35rem) clamp(1.5rem, 5vw, 2.35rem);
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 48%, #f2ece4 100%);
  border: 1px solid rgba(186, 155, 127, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -3px 14px rgba(87, 73, 68, 0.05),
    0 6px 28px rgba(70, 52, 42, 0.08);
}

.shine-target {
  overflow: hidden;
}

.shine-target::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 42%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 58%
  );
  transform: translateX(-100%) rotate(12deg);
  animation: plaque-shine 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes plaque-shine {
  0%,
  40% {
    transform: translateX(-120%) rotate(12deg);
    opacity: 0;
  }
  47% {
    opacity: 0.5;
  }
  55% {
    transform: translateX(120%) rotate(12deg);
    opacity: 0;
  }
  100% {
    transform: translateX(120%) rotate(12deg);
    opacity: 0;
  }
}

.brand-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: min(400px, 76vw);
  height: auto;
  filter:
    invert(1)
    drop-shadow(0 2px 14px rgba(87, 73, 68, 0.1))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.85));
}

.brass-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--brand-tan);
  box-shadow:
    0 0 4px rgba(186, 155, 127, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  pointer-events: none;
  opacity: 0.75;
}

.brass-corner.tl {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}
.brass-corner.tr {
  top: 10px;
  right: 10px;
  border-left: none;
  border-bottom: none;
}
.brass-corner.bl {
  bottom: 10px;
  left: 10px;
  border-right: none;
  border-top: none;
}
.brass-corner.br {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.copy-block {
  text-align: center;
  width: min(38rem, 100%);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro {
  margin: clamp(1.15rem, 3.5vw, 1.5rem) 0 0;
  font-size: clamp(1rem, 2.8vw, 1.0625rem);
  line-height: 1.75;
  letter-spacing: 0.024em;
  color: rgba(30, 28, 26, 0.96);
  font-weight: 500;
}

.hero-cluster .showcase-hero {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: clamp(20px, 4vw, 28px);
  overflow: hidden;
  padding: clamp(0.52rem, 1.6vw, 0.82rem);
  box-sizing: border-box;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.36) 45%,
    rgba(245, 238, 228, 0.5) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(186, 155, 127, 0.2) inset,
    0 2px 0 rgba(255, 255, 255, 0.92) inset,
    0 18px 44px rgba(70, 52, 42, 0.09),
    0 6px 16px rgba(70, 52, 42, 0.05);
}

.hero-cluster .showcase-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: clamp(12px, 2.6vw, 18px);
  outline: 1px solid rgba(186, 155, 127, 0.5);
  outline-offset: -1px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 1px 2px rgba(87, 73, 68, 0.06);
}


.contact-card {
  width: min(42rem, 100%);
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 252, 248, 0.5) 50%,
    rgba(237, 228, 216, 0.55) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(186, 155, 127, 0.32);
  box-shadow:
    0 14px 40px rgba(70, 52, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.contact-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a332e;
  text-align: center;
}

.contact-form {
  margin: 0;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.field-full {
  grid-column: 1 / -1;
}

.field-half {
  grid-column: span 1;
}

@media (max-width: 520px) {
  .field-half {
    grid-column: 1 / -1;
  }
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #574944;
}

.field .req {
  color: #8b4518;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.62rem 0.72rem;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(186, 155, 127, 0.45);
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(87, 73, 68, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: rgba(87, 73, 68, 0.55);
  box-shadow:
    inset 0 1px 2px rgba(87, 73, 68, 0.08),
    0 0 0 3px rgba(186, 155, 127, 0.35);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.form-actions {
  margin-top: 0.35rem;
}

.submit-btn {
  width: 100%;
  cursor: pointer;
  padding: 0.72rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fdfcfa;
  background: linear-gradient(165deg, #574944 0%, #3d2f2a 100%);
  border: 1px solid rgba(62, 50, 44, 0.5);
  border-radius: 10px;
  box-shadow:
    0 3px 12px rgba(70, 52, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.submit-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(186, 155, 127, 0.45),
    0 3px 12px rgba(70, 52, 42, 0.2);
}

.submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-feedback {
  display: none;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.form-feedback:not([hidden]) {
  display: block;
}

.form-success {
  background: rgba(230, 244, 234, 0.95);
  border: 1px solid rgba(80, 140, 100, 0.35);
  color: #1e3d2a;
}

.form-error {
  background: rgba(255, 238, 236, 0.95);
  border: 1px solid rgba(180, 80, 70, 0.35);
  color: #4a2520;
}

.contact-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(186, 155, 127, 0.25);
}

.contact-extras .mailto {
  font-size: 0.95rem;
}

.mailto {
  color: #3f2f28;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-underline-offset 0.2s ease;
}

.mailto:hover {
  color: #1c1917;
  text-underline-offset: 6px;
}

.mailto:focus-visible {
  outline: 2px solid var(--brand-tan);
  outline-offset: 3px;
  border-radius: 2px;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #171514;
  text-decoration: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(246, 240, 232, 0.75));
  border: 1px solid rgba(186, 155, 127, 0.4);
  box-shadow:
    0 3px 12px rgba(70, 52, 42, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.insta-link:hover {
  transform: translateY(-1px);
  border-color: rgba(87, 73, 68, 0.35);
  background: linear-gradient(165deg, #ffffff, rgba(250, 245, 239, 0.95));
}

.insta-link:focus-visible {
  outline: 2px solid var(--brand-tan);
  outline-offset: 3px;
}

.insta-icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: block;
}

.insta-link .insta-icon {
  filter: none;
}

.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem 3rem;
  font-size: 0.84rem;
  letter-spacing: 0.052em;
  font-weight: 600;
  color: rgba(32, 28, 26, 0.88);
}

.foot p {
  margin: 0;
}

.credit {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: rgba(32, 28, 26, 0.78);
}

.credit-link {
  color: rgba(28, 25, 23, 0.92);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-underline-offset 0.2s ease;
}

.credit-link:hover {
  color: #0f0e0d;
  text-underline-offset: 5px;
}

.credit-link:focus-visible {
  outline: 2px solid var(--brand-tan);
  outline-offset: 3px;
  border-radius: 2px;
}
