/* Insanity Creations — homepage personality layer */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

.home-insanity {
  --ic-ink: #0c0b0a;
  --ic-paper: #f3efe8;
  --ic-gold: #c9a227;
  --ic-gold-soft: #e0c15a;
  --ic-muted: #6a635a;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.home-insanity h1,
.home-insanity h2,
.home-insanity h3,
.home-insanity h4,
.home-insanity h5,
.home-insanity .title-a,
.home-insanity .intro-brand,
.home-insanity .intro-line {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.section-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ic-gold);
  font-weight: 700;
  font-family: "Source Sans 3", sans-serif;
}

.section-eyebrow.center {
  text-align: center;
}

/* ---------- Hero ---------- */

.intro-insanity {
  overflow: hidden;
}

.intro-insanity .overlay-itro {
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.55) 0%, rgba(8, 7, 6, 0.72) 45%, rgba(8, 7, 6, 0.88) 100%);
  opacity: 1;
}

.intro-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.07;
  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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.intro-insanity .intro-content {
  z-index: 2;
  width: 100%;
}

.intro-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  animation: ic-rise 1s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

@keyframes ic-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.intro-brand {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.intro-line {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  font-family: "Source Sans 3", sans-serif !important;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.intro-lead {
  margin: 0 auto 28px;
  max-width: 540px;
  color: rgba(238, 230, 216, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

.intro-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.intro-ghost {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 2px solid rgba(201, 162, 39, 0.85);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.intro-ghost:hover {
  color: var(--ic-gold-soft);
  border-color: var(--ic-gold-soft);
}

.intro-insanity .button-a {
  background: linear-gradient(180deg, var(--ic-gold-soft), var(--ic-gold));
  border-color: var(--ic-gold);
  color: #14110c;
}

.intro-insanity .button-a:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.25);
}

/* ---------- About ---------- */

.insanity-about {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(201, 162, 39, 0.08), transparent 45%),
    linear-gradient(180deg, #12100e 0%, #0c0b0a 100%);
  color: #eee6d8;
}

.insanity-about h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 600;
}

.insanity-about-copy p {
  margin: 0;
  max-width: 34rem;
  color: rgba(238, 230, 216, 0.78);
  line-height: 1.75;
  font-size: 1.08rem;
}

.insanity-about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: end;
}

.insanity-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(201, 162, 39, 0.28);
}

.insanity-pillars li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  color: #fff;
}

.insanity-pillars span {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--ic-gold);
  min-width: 2rem;
}

/* ---------- Craft ---------- */

.craft-section {
  background:
    linear-gradient(180deg, #f7f3ec 0%, #f0ebe3 100%);
}

.craft-section .title-a {
  font-weight: 600;
}

.craft-section .line-mf {
  background: var(--ic-gold);
}

.craft-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.craft-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -28px rgba(0, 0, 0, 0.35);
}

.craft-box .ico-circle {
  background: #111;
  color: var(--ic-gold-soft);
}

.craft-box .s-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.55rem;
}

.craft-box .s-description {
  color: var(--ic-muted);
  line-height: 1.65;
}

/* ---------- Process ---------- */

.chaos-process {
  padding: 5.5rem 0 6rem;
  color: #eee6d8;
  background:
    radial-gradient(ellipse at 86% 20%, rgba(201, 162, 39, 0.12), transparent 35%),
    linear-gradient(145deg, #15120f 0%, #090807 72%);
}

.process-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 42px;
}

.process-intro h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.process-intro > p {
  margin: 0;
  color: rgba(238, 230, 216, 0.7);
  font-size: 1.05rem;
  line-height: 1.75;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.process-card {
  position: relative;
  min-height: 300px;
  padding: 34px 30px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.48);
  background:
    linear-gradient(145deg, rgba(201, 162, 39, 0.08), rgba(255, 255, 255, 0.015));
}

.process-card .process-number {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(224, 193, 90, 0.16);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
}

.process-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 46px;
  border: 1px solid rgba(201, 162, 39, 0.42);
  color: var(--ic-gold-soft);
  font-size: 1.1rem;
  transform: rotate(45deg);
}

.process-card i::before {
  transform: rotate(-45deg);
}

.process-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
}

.process-card p {
  margin: 0;
  color: rgba(238, 230, 216, 0.66);
  line-height: 1.65;
}

/* ---------- Style demos ---------- */

.styles-home {
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 162, 39, 0.08), transparent 45%),
    #12100e;
  color: #eee6d8;
}

.styles-home .title-a,
.styles-home .subtitle-a {
  color: #eee6d8;
}

.styles-home .subtitle-a {
  color: rgba(238, 230, 216, 0.68);
}

.styles-home .line-mf {
  background: var(--ic-gold);
}

.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 1rem;
}

.style-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(201, 162, 39, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.style-demo:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.55);
}

.style-demo-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ic-gold-soft);
}

.style-demo strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}

.style-demo-desc {
  color: rgba(238, 230, 216, 0.7);
  line-height: 1.6;
  flex: 1;
}

.style-demo-cta {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  border-bottom: 2px solid rgba(201, 162, 39, 0.75);
  align-self: start;
  padding-bottom: 2px;
}

.style-demo-northline {
  background:
    linear-gradient(160deg, rgba(196, 92, 38, 0.22), transparent 50%),
    #1a1511;
}

.style-demo-harbor {
  background:
    linear-gradient(160deg, rgba(46, 90, 72, 0.45), transparent 55%),
    #143028;
}

.style-demo-volt {
  background:
    linear-gradient(160deg, rgba(214, 255, 63, 0.12), transparent 45%),
    #121214;
}

.style-demo-volt .style-demo-tag,
.style-demo-volt .style-demo-cta {
  color: #d6ff3f;
  border-bottom-color: rgba(214, 255, 63, 0.7);
}

.styles-note {
  margin: 28px 0 0;
  text-align: center;
  color: rgba(238, 230, 216, 0.65);
}

.styles-note a {
  color: var(--ic-gold-soft);
  font-weight: 700;
}

@media (max-width: 900px) {
  .styles-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Writings tweaks on home ---------- */

.home-insanity .writings-home {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201, 162, 39, 0.06), transparent 40%),
    #efeae2;
}

.home-insanity .writings-eyebrow {
  color: var(--ic-gold);
}

.home-insanity .writings-release-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

/* ---------- Contact ---------- */

.contact-section {
  position: relative;
  padding: 5.5rem 0 0;
  color: #eee6d8;
}

.contact-section .overlay-mf {
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.88) 0%, rgba(8, 7, 6, 0.94) 100%);
  opacity: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-section .title-box {
  margin-bottom: 3rem;
}

.contact-section .line-mf {
  background: var(--ic-gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.contact-card {
  padding: 34px 32px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
}

.contact-card h4 {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.contact-card-main .contact-lead {
  margin: 0 0 26px;
  max-width: 34rem;
  color: rgba(238, 230, 216, 0.72);
  line-height: 1.75;
}

.contact-types {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-types li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(238, 230, 216, 0.86);
  font-size: 1.02rem;
}

.contact-types li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-types i {
  width: 20px;
  color: var(--ic-gold-soft);
  text-align: center;
  flex: none;
}

.contact-form {
  margin-top: 4px;
}

.contact-form label {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(238, 230, 216, 0.72);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 4px;
  background: rgba(8, 7, 6, 0.72);
  color: #eee6d8;
  font: inherit;
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.7);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}

.contact-flash {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-flash-ok {
  border: 1px solid rgba(120, 180, 110, 0.45);
  background: rgba(40, 80, 40, 0.35);
  color: #cfe8c8;
}

.contact-flash-bad {
  border: 1px solid rgba(200, 100, 90, 0.45);
  background: rgba(90, 30, 25, 0.4);
  color: #f0c2bc;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.contact-section .button-a {
  background: linear-gradient(180deg, var(--ic-gold-soft), var(--ic-gold));
  border-color: var(--ic-gold);
  color: #14110c;
  border: 0;
  cursor: pointer;
}

.contact-section .button-a:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.22);
}

.contact-secondary {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid rgba(201, 162, 39, 0.8);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.contact-secondary:hover {
  color: var(--ic-gold-soft);
  border-color: var(--ic-gold-soft);
}

.s-price {
  margin: -4px 0 12px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a227;
  font-weight: 700;
}

.contact-side {
  display: grid;
  gap: 20px;
}

.contact-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-steps li {
  display: flex;
  gap: 14px;
  color: rgba(238, 230, 216, 0.75);
  line-height: 1.6;
}

.contact-steps span {
  color: var(--ic-gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  padding-top: 3px;
  flex: none;
}

.contact-card-quiet p {
  margin: 0;
  color: rgba(238, 230, 216, 0.7);
  line-height: 1.7;
}

.contact-section footer {
  margin-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-section .copyright {
  margin: 0;
  color: rgba(238, 230, 216, 0.6);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(238, 230, 216, 0.6);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--ic-gold-soft);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .insanity-about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .intro-brand {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .insanity-about,
  .craft-section,
  .chaos-process {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .insanity-pillars li {
    font-size: 1.25rem;
  }

  .contact-section {
    padding-top: 3.5rem;
  }

  .contact-card {
    padding: 26px 22px;
  }

  .contact-actions {
    gap: 16px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}
