/*
Theme Name: Given Developments
Theme URI:
Author: Guided Website Design
Author URI:
Description: Holding page theme for Given Developments Construction & Surfacing
Version: 1.0
License: Private
*/

/* ── Brand Tokens ─────────────────────────────────────────── */
:root {
  --stone:   #C0AA98;
  --charcoal:#262626;
  --cream:   #F7F4F2;
  --stone-20: rgba(192,170,152,0.20);
  --stone-10: rgba(192,170,152,0.10);
  --white:   #ffffff;

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Cormorant Garamond', serif;

  --track-wide: 0.18em;
  --track-xl:   0.28em;
}

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

body {
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── Grain overlay ────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
}

/* ── Layout ───────────────────────────────────────────────── */
.page-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ── Header / Logo ────────────────────────────────────────── */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 40px 40px;
  animation: fadeDown 1s ease both;
}

.logo-lockup {
  text-align: center;
}

.logo-img {
  display: block;
  width: clamp(280px, 50vw, 560px);
  height: auto;
}

/* ── Horizontal rule ──────────────────────────────────────── */
.rule {
  width: 60px;
  height: 1px;
  background: var(--stone);
  border: none;
  margin: 0 auto;
  opacity: 0.6;
}

/* ── Main content ─────────────────────────────────────────── */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 80px;
  gap: 72px;
}

/* ── Hero tagline ─────────────────────────────────────────── */
.hero {
  text-align: center;
  max-width: 640px;
  animation: fadeUp 1.1s 0.2s ease both;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: var(--track-xl);
  color: var(--stone);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-heading {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 28px;
  font-style: italic;
  letter-spacing: 0.01em;
}

.hero-heading em {
  font-style: normal;
  color: var(--stone);
}

.hero-body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(247,244,242,0.72);
  letter-spacing: 0.02em;
}

/* ── Stone accent bar ─────────────────────────────────────── */
.accent-bar {
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--stone) 50%, transparent);
  margin: -36px auto;
}

/* ── Contact section ──────────────────────────────────────── */
.contact-section {
  width: 100%;
  max-width: 560px;
  animation: fadeUp 1.2s 0.4s ease both;
}

.section-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: var(--track-xl);
  color: var(--stone);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--stone-20);
}

/* ── CF7 form styling ─────────────────────────────────────── */
/* These styles target the markup that Contact Form 7 generates */
.wpcf7-form,
.contact-form-demo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wpcf7-form .form-row,
.contact-form-demo .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Input & textarea base */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.contact-form-demo input[type="text"],
.contact-form-demo input[type="email"],
.contact-form-demo input[type="tel"],
.contact-form-demo textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone-20);
  padding: 12px 0 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  border-radius: 0;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder,
.contact-form-demo input::placeholder,
.contact-form-demo textarea::placeholder {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,244,242,0.32);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.contact-form-demo input:focus,
.contact-form-demo textarea:focus {
  border-bottom-color: var(--stone);
}

.wpcf7-form textarea,
.contact-form-demo textarea {
  resize: none;
  height: 120px;
}

/* Submit button */
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit,
.contact-form-demo button[type="submit"] {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--stone);
  color: var(--stone);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: var(--track-xl);
  text-transform: uppercase;
  padding: 14px 40px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 8px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover,
.contact-form-demo button[type="submit"]:hover {
  background: var(--stone);
  color: var(--charcoal);
}

/* CF7 validation messages */
.wpcf7-not-valid-tip {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: #c0856e;
  text-transform: uppercase;
  margin-top: 4px;
}

.wpcf7-response-output {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 0;
  border: none !important;
  color: var(--stone);
  margin: 0 !important;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 32px 24px 40px;
  border-top: 1px solid var(--stone-10);
  animation: fadeUp 1.3s 0.6s ease both;
}

.footer-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 36px;
  margin-bottom: 20px;
}

.footer-contact a {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,244,242,0.45);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-contact a:hover { color: var(--stone); }

.footer-copy {
  font-family: var(--font-display);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,242,0.22);
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 560px) {
  .logo-box { padding: 16px 28px 14px; }
  .logo-name { font-size: 1rem; }
  .wpcf7-form .form-row,
  .contact-form-demo .form-row { grid-template-columns: 1fr; }
  .wpcf7-form input[type="submit"],
  .wpcf7-form .wpcf7-submit,
  .contact-form-demo button[type="submit"] { width: 100%; text-align: center; }
}


/* styles by chris */
/* ── Services section ─────────────────────────────────────── */
.services-section {
  width: 100%;
  max-width: 560px;
  animation: fadeUp 1.15s 0.3s ease both;
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
}

.services-list li {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(247,244,242,0.72);
  letter-spacing: 0.02em;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--stone);
  opacity: 0.7;
}