/* =========================================================
   TERENCIO VERDE
   HOMEPAGE SECTION TEXTURES
   Load AFTER home.css
   ========================================================= */


/* =========================================================
   SHARED TEXTURE VARIABLES
   ========================================================= */

:root {
  --aged-gold: #a97d34;
  --aged-gold-light: #c79a4d;

  --wood-dark: #24170f;
  --wood-mid: #3b281a;

  --leather: #342218;
  --leather-dark: #1e140f;

  --paint-green: #17382a;
  --paint-green-dark: #0d281c;

  --parchment: #eee3d0;
}


/* =========================================================
   SUBTLE PAGE GRAIN
   ========================================================= */

body::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: 9998;

  pointer-events: none;

  opacity: .025;

  background-image:
    repeating-radial-gradient(
      circle at 0 0,
      rgba(255,255,255,.6) 0,
      rgba(255,255,255,.6) 1px,
      transparent 1px,
      transparent 4px
    );

  mix-blend-mode: soft-light;
}


/* =========================================================
   HEADER — DARK WOOD / LEATHER FEEL
   ========================================================= */

.site-header {
  background:
    linear-gradient(
      rgba(10, 27, 19, .94),
      rgba(8, 24, 17, .98)
    );

  border-bottom:
    1px solid
    rgba(169, 125, 52, .20);

  box-shadow:
    0 8px 24px
    rgba(0,0,0,.18);
}


.site-header::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(199,154,77,.50),
      transparent
    );

  pointer-events: none;
}


/* =========================================================
   HERO LOWER EDGE
   ========================================================= */

.home-hero {
  border-bottom:
    8px solid
    var(--wood-dark);
}


.home-hero-inner {
  position: relative;
}


/* subtle warm glow behind copy */

.home-hero-copy::before {
  content: "";

  position: absolute;

  left: -80px;
  top: -80px;

  width: 700px;
  height: 700px;

  z-index: -1;

  pointer-events: none;

  background:
    radial-gradient(
      circle,
      rgba(0,0,0,.22) 0%,
      rgba(0,0,0,.08) 45%,
      transparent 72%
    );
}


/* =========================================================
   BRAND INTRO — AGED CREAM / SHIPLAP
   ========================================================= */

.home-intro {
  position: relative;

  border-top:
    1px solid
    rgba(75, 51, 32, .15);

  border-bottom:
    1px solid
    rgba(75, 51, 32, .18);

  background:
    linear-gradient(
      rgba(242,234,219,.84),
      rgba(242,234,219,.88)
    ),
    url("/assets/wood-texture-cropped.png");

  background-size: cover;

  background-position: center;
}


/* faded painted edge */

.home-intro::before {
  content: "";

  position: absolute;

  left: -8%;
  top: 18%;

  width: 34%;
  height: 22px;

  opacity: .18;

  transform:
    rotate(-3deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--aged-gold),
      var(--aged-gold-light),
      transparent
    );

  filter:
    blur(.4px);

  pointer-events: none;
}


/* =========================================================
   COLLECTION AREA
   ========================================================= */

.home-collections {
  position: relative;

  background-image:
    linear-gradient(
      rgba(250,246,238,.74),
      rgba(250,246,238,.82)
    ),
    url("/assets/collections-background.jpg");

  background-size:
    auto,
    auto 100%;

  background-position:
    center,
    center top;

  background-repeat:
    no-repeat,
    repeat-x;
}


/* small aged-gold divider */

.home-section-heading::after {
  content: "";

  display: block;

  width: 95px;
  height: 3px;

  margin-top: 28px;

  background:
    linear-gradient(
      90deg,
      var(--aged-gold),
      var(--aged-gold-light)
    );
}


/* =========================================================
   COLLECTION CARDS — SHARED DEPTH
   ========================================================= */

.home-collection-card {
  border:
    1px solid
    rgba(35, 26, 18, .22);

  box-shadow:
    0 12px 35px
    rgba(36, 23, 15, .10);
}


.home-collection-card::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  box-shadow:
    inset 0 0 0 1px
    rgba(255,255,255,.04),

    inset 0 -60px 100px
    rgba(0,0,0,.14);
}


/* =========================================================
   HOMETOWN CARD
   ========================================================= */

.home-card-hometown {
  background-image: url("/assets/Home%20Oak.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-card-hometown::before,
.home-card-hometown::after {
  background: none !important;
  box-shadow: none !important;
}

.home-card-hometown .home-collection-content {
  position: relative;
  z-index: 2;
}

.home-card-hometown .home-collection-content h3,
.home-card-hometown .home-collection-content p,
.home-card-hometown .home-collection-content small {
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}


/* =========================================================
   ARTIST COLLABS CARD
   ========================================================= */

.home-card-collabs {
  background:

    linear-gradient(
      135deg,
      rgba(8, 24, 17, .30),
      rgba(25, 47, 34, .15)
    ),

    url("collaboration-bg.jpg"),

    linear-gradient(
      135deg,
      #173629,
      #0a1a12
    );

  background-size: cover;

  background-position: center;
}


/* =========================================================
   WEB3 CARD
   Keep separate from main brand while still restrained.
   ========================================================= */

.home-card-web3 {
  background:

    radial-gradient(
      circle at 72% 26%,
      rgba(101, 75, 138, .42),
      transparent 34%
    ),

    radial-gradient(
      circle at 20% 78%,
      rgba(35, 107, 105, .15),
      transparent 34%
    ),

    linear-gradient(
      135deg,
      #060910,
      #12162a,
      #261233
    );
}


/* =========================================================
   INTERACTIVE CARD
   ========================================================= */

.home-card-interactive {
  background:

    linear-gradient(
      rgba(11, 32, 22, .24),
      rgba(11, 32, 22, .22)
    ),

    url("interactive-bg.jpg"),

    linear-gradient(
      135deg,
      #536355,
      #28382f
    );

  background-size: cover;

  background-position: center;
}


/* =========================================================
   CARD COPY DETAILS
   ========================================================= */

.home-collection-content h3 {
  text-shadow:
    0 3px 18px
    rgba(0,0,0,.30);
}


.home-collection-content small {
  color:
    var(--aged-gold-light);
}


/* =========================================================
   HOMETOWN PREVIEW SECTION
   ========================================================= */

.home-hometown {
  position: relative;

  overflow: hidden;

  background-image:
    linear-gradient(
      rgba(10, 31, 21, .62),
      rgba(7, 25, 17, .74)
    ),
    url("/assets/hometown-background.jpg");

  background-size:
    auto,
    auto 100%;

  background-position:
    center,
    center top;

  background-repeat:
    no-repeat,
    repeat-x;

  border-top:
    8px solid
    var(--wood-dark);

  border-bottom:
    8px solid
    var(--wood-dark);
}


/* aged-gold paint streak */

.home-hometown::before {
  content: "";

  position: absolute;

  right: -6%;
  top: 8%;

  width: 46%;
  height: 34%;

  opacity: .10;

  transform:
    rotate(-8deg);

  background:
    linear-gradient(
      100deg,
      transparent 0%,
      var(--aged-gold) 25%,
      var(--aged-gold-light) 55%,
      transparent 100%
    );

  filter:
    blur(1px);

  pointer-events: none;
}


/* =========================================================
   MEMORY CARDS
   ========================================================= */

.home-memory {
  border:
    1px solid
    rgba(199, 154, 77, .14);

  box-shadow:
    0 9px 25px
    rgba(0,0,0,.16);
}


.home-memory::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  box-shadow:
    inset 0 0 45px
    rgba(0,0,0,.24);
}


.home-memory span {
  text-shadow:
    0 2px 10px
    rgba(0,0,0,.42);
}


/* =========================================================
   GLOBAL SECTION
   ========================================================= */

.home-global {
  position: relative;

  overflow: hidden;

  background-image:
    linear-gradient(
      rgba(7, 26, 18, .78),
      rgba(12, 42, 29, .86)
    ),
    url("/assets/global-background.jpg");

  background-size:
    auto,
    auto 100%;

  background-position:
    center,
    center top;

  background-repeat:
    no-repeat,
    repeat-x;
}


/* subtle gold wear */

.home-global::before {
  content: "";

  position: absolute;

  right: -4%;
  bottom: 7%;

  width: 42%;
  height: 18%;

  opacity: .08;

  transform:
    rotate(-4deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--aged-gold),
      transparent
    );

  pointer-events: none;
}


.home-global-line {
  background:
    linear-gradient(
      90deg,
      var(--aged-gold),
      var(--aged-gold-light)
    );
}


/* =========================================================
   FOOTER — DARK WOOD FEEL
   ========================================================= */

.site-footer {
  position: relative;

  background:

    linear-gradient(
      rgba(6, 19, 13, .96),
      rgba(4, 14, 10, .98)
    ),

    repeating-linear-gradient(
      90deg,
      #18110d 0,
      #18110d 80px,
      #110c09 81px,
      #110c09 83px
    );

  border-top:
    6px solid
    var(--wood-dark);
}


.site-footer::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(199,154,77,.55),
      transparent
    );
}


/* =========================================================
   SMALL GOLD DETAILS
   ========================================================= */

.footer-mark {
  box-shadow:
    inset 0 0 16px
    rgba(179, 138, 67, .07);
}


.footer-email {
  border-bottom:
    1px solid
    rgba(199,154,77,.26);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(max-width: 900px) {

  .home-hero-copy::before {
    width: 520px;
    height: 520px;

    left: -120px;
  }


  .home-hometown::before {
    width: 70%;

    right: -20%;
  }

}


@media
(max-width: 560px) {

  .home-intro::before {
    width: 60%;

    left: -22%;
  }


  .home-hometown::before {
    display: none;
  }


  .home-global::before {
    display: none;
  }

}
