:root {
  --cream: #d7c9a4;
  --aged: #b7a377;
  --ink: #1e1b16;
  --brown: #4f3b24;
  --rust: #a74f2a;
  --amber: #ffb000;
  --green: #8df2a6;
  --dark: #15130f;
  --panel: rgba(42, 34, 24, 0.84);
  --line: rgba(255, 176, 0, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,176,0,.18), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(141,242,166,.12), transparent 30%),
    linear-gradient(135deg, #e4d8b7, var(--cream) 45%, #a99770);
  min-height: 100vh;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
  z-index: 1;
}

.site-header,
main,
footer { position: relative; z-index: 2; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 2px solid rgba(30, 27, 22, .35);
  background: rgba(215, 201, 164, .85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--amber);
  background: var(--dark);
  border: 2px solid var(--rust);
  box-shadow: 0 0 18px rgba(255, 176, 0, .35);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .8rem;
}

nav a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 800;
  font-size: .9rem;
}

nav a:hover { color: var(--rust); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.eyebrow {
  color: var(--rust);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
}

h1,
h2,
h3 { line-height: 1.05; margin: 0 0 1rem; }

h1 {
  font-size: clamp(3rem, 10vw, 7.5rem);
  text-transform: uppercase;
  letter-spacing: -.07em;
  text-shadow: 3px 3px 0 rgba(255, 176, 0, .45);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -.05em;
}

h3 {
  color: var(--amber);
  font-size: 1.3rem;
}

.lead,
.section p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  padding: .9rem 1.1rem;
  min-height: 46px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  margin-right: .7rem;
  margin-bottom: .7rem;
}

.button.primary {
  background: var(--amber);
}

.button.ghost {
  background: rgba(255,255,255,.25);
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.terminal-card,
.card,
.idea-form {
  background: var(--panel);
  color: #f7efd6;
  border: 2px solid rgba(255,176,0,.45);
  box-shadow: var(--shadow);
}

.terminal-card {
  border-radius: 20px;
  overflow: hidden;
}

.terminal-top {
  display: flex;
  gap: .5rem;
  padding: .8rem;
  background: #2a2118;
  border-bottom: 1px solid var(--line);
}

.terminal-top span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--rust);
}

.terminal-card pre {
  margin: 0;
  padding: 1.4rem;
  color: var(--green);
  white-space: pre-wrap;
  text-shadow: 0 0 12px rgba(141,242,166,.45);
  line-height: 1.55;
}

.section {
  padding: clamp(2.8rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.intro {
  border-block: 2px solid rgba(30, 27, 22, .25);
  background: rgba(255, 255, 255, .18);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.25rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,176,0,.11), transparent 48%, rgba(141,242,166,.08));
  pointer-events: none;
}

.card p {
  position: relative;
  margin: .5rem 0 0;
}

.note {
  padding: .7rem;
  background: rgba(255, 176, 0, .12);
  border-left: 4px solid var(--amber);
}

.warning {
  border-left-color: var(--rust);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  background:
    linear-gradient(rgba(21,19,15,.72), rgba(21,19,15,.72)),
    radial-gradient(circle at 20% 20%, rgba(255,176,0,.25), transparent 20%);
  color: #fff4d4;
}

.iphone-repair {
  background:
    linear-gradient(rgba(21,19,15,.70), rgba(21,19,15,.70)),
    radial-gradient(circle at 80% 10%, rgba(255,176,0,.22), transparent 24%);
}

.idea-form {
  padding: 1.2rem;
  border-radius: 18px;
}

label {
  display: grid;
  gap: .35rem;
  margin-bottom: .9rem;
  color: #fff4d4;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 2px solid rgba(255,176,0,.5);
  background: rgba(0,0,0,.3);
  color: white;
  padding: .8rem;
  font: inherit;
  border-radius: 10px;
}

select option {
  color: #1e1b16;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(141,242,166,.35);
}

fieldset {
  border: 2px solid rgba(255,176,0,.5);
  border-radius: 12px;
  margin: 0 0 .9rem;
  padding: .9rem;
}

legend {
  color: #fff4d4;
  font-weight: 900;
  padding: 0 .4rem;
}

.checkline {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .55rem;
  font-weight: 700;
}

.checkline input {
  width: auto;
}

.small {
  font-size: .9rem;
  color: #f4d58f;
}

.coming {
  background: rgba(30, 27, 22, .12);
}

.glow {
  box-shadow: 0 0 30px rgba(255, 176, 0, .15), var(--shadow);
}

.merch,
.contact {
  max-width: 1100px;
}

footer {
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: #f6edd2;
  background: var(--dark);
  border-top: 3px solid var(--rust);
}

@media (max-width: 850px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}


/* Retro CRT terminal styling for forms */
.idea-form{
background:#081408;
border:3px solid #3cff7a;
color:#7CFFB2;
padding:1.5rem;
border-radius:8px;
box-shadow:0 0 20px rgba(60,255,122,.25), inset 0 0 25px rgba(60,255,122,.08);
position:relative;
}
.idea-form::before{
content:"LH_TERMINAL v1.0  [ONLINE]";
display:block;
color:#3cff7a;
font-weight:bold;
margin-bottom:1rem;
border-bottom:1px solid #2d8f4e;
padding-bottom:.5rem;
}
.idea-form label{display:block;color:#78ff9f;font-weight:bold;margin:.8rem 0;}
.idea-form input,.idea-form textarea,.idea-form select{
width:100%;
background:#021002;
color:#7cffb2;
border:1px solid #2d8f4e;
font-family:"Courier New",monospace;
padding:.75rem;
}
.idea-form input:focus,.idea-form textarea:focus,.idea-form select:focus{
outline:none;
box-shadow:0 0 10px rgba(60,255,122,.5);
}
.idea-form button{
background:#0d220d;
color:#7cffb2;
border:2px solid #3cff7a;
font-family:"Courier New",monospace;
font-weight:bold;
}

/* Full DOS/CRT upgrade */
:root {
  --terminal-bg: #020802;
  --terminal-panel: #061506;
  --terminal-green: #65ff8d;
  --terminal-dim: #2f9f55;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,.035) 0,
    rgba(255,255,255,.035) 1px,
    transparent 1px,
    transparent 4px
  );
  z-index: 9998;
  mix-blend-mode: overlay;
}

.hero, .split, .coming, .intro, .merch, .showcase, .contact {
  background-color: rgba(2,8,2,.88);
  color: var(--terminal-green);
}

.site-header {
  background: #050c05;
  border-bottom: 2px solid var(--terminal-green);
  box-shadow: 0 0 18px rgba(101,255,141,.18);
}

.brand, nav a { color: var(--terminal-green); }
nav a:hover { color: #ffffff; text-shadow: 0 0 10px var(--terminal-green); }

h1, h2, h3, .eyebrow {
  color: var(--terminal-green);
  text-shadow: 0 0 12px rgba(101,255,141,.45);
}

h1::before { content: "C:\\LOSTHIPPY> "; display: block; font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: 0; }

.lead, .section p, .small, label, legend { color: #baffc9; }

.terminal-section { border-top: 2px solid rgba(101,255,141,.45); border-bottom: 2px solid rgba(101,255,141,.25); }

.terminal-note {
  margin: 1rem 0;
  padding: 1rem;
  background: #020802;
  border: 1px solid var(--terminal-green);
  box-shadow: inset 0 0 20px rgba(101,255,141,.08), 0 0 18px rgba(101,255,141,.14);
  color: #baffc9;
  line-height: 1.6;
}

.terminal-note strong { color: var(--terminal-green); }

.terminal-card, .card, .idea-form {
  background: var(--terminal-panel);
  border-color: var(--terminal-green);
  box-shadow: 0 0 24px rgba(101,255,141,.18), inset 0 0 28px rgba(101,255,141,.06);
}

.terminal-top { background: #010401; border-bottom: 1px solid var(--terminal-dim); }
.terminal-top span { background: var(--terminal-green); box-shadow: 0 0 10px var(--terminal-green); }

.card h3::before { content: "> "; }

.button {
  background: #031103 !important;
  color: var(--terminal-green) !important;
  border-color: var(--terminal-green);
  box-shadow: 4px 4px 0 var(--terminal-dim);
}
.button:hover { text-shadow: 0 0 8px var(--terminal-green); }

input, textarea, select, .idea-form input, .idea-form textarea, .idea-form select {
  background: #010701;
  color: var(--terminal-green);
  border-color: var(--terminal-dim);
  border-radius: 0;
}
input::placeholder, textarea::placeholder { color: rgba(186,255,201,.58); }

.idea-form::before {
  content: "C:\\LOSTHIPPY\\FORM> ONLINE";
  letter-spacing: .03em;
}

.checkline input { accent-color: var(--terminal-green); }

.mini-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dos-box pre::after, .terminal-card pre::after, .terminal-note::after {
  content: "█";
  animation: blink 1s steps(2, start) infinite;
  color: var(--terminal-green);
}

.boot-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #010401;
  color: var(--terminal-green);
  z-index: 10000;
  transition: opacity .55s ease;
}
.boot-screen pre {
  width: min(760px, 92vw);
  min-height: 260px;
  border: 2px solid var(--terminal-green);
  padding: 1.25rem;
  box-shadow: 0 0 30px rgba(101,255,141,.25), inset 0 0 30px rgba(101,255,141,.08);
  white-space: pre-wrap;
}
.boot-screen.hide { opacity: 0; }

.dos-toast {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 10001;
  background: #010701;
  color: var(--terminal-green);
  border: 1px solid var(--terminal-green);
  padding: .75rem 1rem;
  box-shadow: 0 0 20px rgba(101,255,141,.22);
  max-width: calc(100vw - 2rem);
}

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 850px) {
  .mini-cards { grid-template-columns: 1fr; }
}
