/*
Theme Name:  Crafted by Pueng — Coming Soon
Theme URI:   https://craftedbypueng.com
Author:      Pueng
Description: A minimal monochrome-gold coming soon theme for craftedbypueng.com
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: craftedbypueng
*/

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

body {
  min-height: 100vh;
  background: #f8f6f2;
  color: #111;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

/* ── Hex watermark ── */
.hex-mark {
  position: fixed;
  bottom: -80px;
  right: -60px;
  width: 420px;
  height: 420px;
  opacity: .045;
  pointer-events: none;
  z-index: 0;
}

/* ── Wrap ── */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

/* ── Brand ── */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 5rem;
  opacity: 0;
  animation: cbp-fade .6s .1s ease forwards;
}
.hex-icon { width: 18px; height: 18px; flex-shrink: 0; }
.brand-name {
  font-size: .65rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: #888;
}

/* ── Gold rule ── */
.rule {
  width: 36px;
  height: 1px;
  background: #c9a84c;
  margin: 0 auto 2.8rem;
  opacity: 0;
  animation: cbp-fade .6s .2s ease forwards;
}

/* ── Headline ── */
h1.cbp-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4rem, 14vw, 7.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: #111;
  margin-bottom: .12em;
  opacity: 0;
  animation: cbp-fade .7s .3s ease forwards;
}
h1.cbp-heading span {
  display: block;
  font-style: italic;
  color: #c9a84c;
}

/* ── Sub ── */
.cbp-sub {
  font-size: .65rem;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 4rem;
  opacity: 0;
  animation: cbp-fade .6s .45s ease forwards;
}

/* ── Email form ── */
.cbp-form {
  display: flex;
  border-bottom: 1px solid #ccc;
  max-width: 340px;
  margin: 0 auto 5rem;
  opacity: 0;
  animation: cbp-fade .6s .55s ease forwards;
  transition: border-color .2s;
}
.cbp-form:focus-within { border-color: #c9a84c; }
.cbp-form input[type="email"] {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: .7rem 0;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: .75rem;
  letter-spacing: .08em;
  color: #111;
}
.cbp-form input[type="email"]::placeholder { color: #bbb; }
.cbp-form button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #c9a84c;
  padding: .7rem 0 .7rem .8rem;
  transition: opacity .2s;
}
.cbp-form button:hover { opacity: .6; }

/* ── Footer ── */
.cbp-footer {
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #ccc;
  opacity: 0;
  animation: cbp-fade .6s .7s ease forwards;
}

/* ── Animation ── */
@keyframes cbp-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
