/* KEK Yachting wireframe — sketchy low-fi style */
:root {
  --paper: #faf7f2;
  --paper-2: #f3eee5;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --pencil: #6b6b6b;
  --pencil-light: #a8a4a0;
  --fill: #ececea;
  --fill-2: #e0dcd5;
  --accent: #d97757;     /* warm coral — sunset/sailing */
  --sea: #2a5e83;        /* KEK navy */
  --sand: #e8d8b8;
}

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Kalam:wght@300;400;700&family=Architects+Daughter&display=swap');

body { background: var(--paper); font-family: 'Kalam', sans-serif; color: var(--ink); }

/* Sketchy fonts */
.hand { font-family: 'Caveat', cursive; font-weight: 600; }
.hand-tight { font-family: 'Architects Daughter', cursive; }
.label { font-family: 'Kalam', cursive; font-weight: 400; }

/* Sketchy borders */
.sketch-box {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 6px 4px 8px 5px / 5px 8px 4px 7px;
  position: relative;
}
.sketch-box.dashed { border-style: dashed; }
.sketch-box.thick { border-width: 2.5px; }
.sketch-box.fill { background: var(--fill); }
.sketch-box.fill-2 { background: var(--fill-2); }
.sketch-box.sea { background: var(--sea); color: #fff; border-color: var(--ink); }
.sketch-box.accent { background: var(--accent); color: #fff; }
.sketch-box.sand { background: var(--sand); }

/* Wavy/rough underline */
.squiggle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='6' viewBox='0 0 80 6'%3E%3Cpath d='M0 3 Q 10 0 20 3 T 40 3 T 60 3 T 80 3' fill='none' stroke='%23d97757' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom left;
  padding-bottom: 6px;
}

/* Image placeholder with X */
.img-ph {
  background: var(--fill);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.img-ph::before, .img-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, transparent calc(50% - 0.75px), var(--pencil-light) calc(50% - 0.75px), var(--pencil-light) calc(50% + 0.75px), transparent calc(50% + 0.75px));
}
.img-ph::after {
  background: linear-gradient(to bottom left, transparent calc(50% - 0.75px), var(--pencil-light) calc(50% - 0.75px), var(--pencil-light) calc(50% + 0.75px), transparent calc(50% + 0.75px));
}
.img-ph .ph-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Kalam', cursive; color: var(--pencil);
  font-size: 14px; z-index: 2;
  text-align: center; padding: 8px;
  line-height: 1.2;
}
.img-ph.video { background: linear-gradient(135deg, #c8d6df, #a5b8c4); }
.img-ph.video::before, .img-ph.video::after { opacity: 0.5; }
.img-ph.video .ph-label { color: var(--ink); }

/* Annotations */
.note {
  font-family: 'Caveat', cursive;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}
.note-arrow {
  position: absolute;
  font-family: 'Caveat', cursive;
  color: var(--accent);
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

/* Buttons */
.btn-sketch {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 22px 18px 24px 16px;
  font-family: 'Kalam', cursive; font-weight: 700;
  background: var(--paper);
  font-size: 14px;
}
.btn-sketch.primary { background: var(--accent); color: #fff; }
.btn-sketch.dark { background: var(--ink); color: var(--paper); }
.btn-sketch.ghost { background: transparent; }

/* Divider tag (page label) */
.page-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Caveat', cursive;
  font-weight: 600;
  border-radius: 18px;
  font-size: 18px;
}

/* Text block placeholders (lines) */
.txt-line {
  height: 6px;
  background: var(--pencil-light);
  border-radius: 3px;
  margin-bottom: 6px;
}
.txt-line.short { width: 40%; }
.txt-line.med { width: 70%; }
.txt-line.long { width: 95%; }
.txt-line.dark { background: var(--pencil); }
.txt-line.thick { height: 10px; }

/* Header bar */
.wf-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}
.wf-utility {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 24px;
  background: var(--sea);
  color: #fff;
  font-family: 'Kalam', cursive;
  font-size: 12px;
}

/* Grid helpers */
.grid { display: grid; gap: 16px; }
.flex { display: flex; }
.col { display: flex; flex-direction: column; }

/* Card icon (sketchy circle with letter) */
.icon-circle {
  width: 44px; height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 50% 48% 52% 50% / 50% 52% 48% 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 22px;
  background: var(--paper);
}

/* Small chip */
.chip {
  display: inline-flex; align-items: center;
  padding: 2px 10px;
  border: 1.2px solid var(--ink);
  border-radius: 12px;
  font-family: 'Kalam', cursive;
  font-size: 12px;
  background: var(--paper);
}
.chip.fill { background: var(--ink); color: var(--paper); }
.chip.accent { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Star row */
.stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }

/* annotation pill */
.callout {
  position: absolute;
  font-family: 'Caveat', cursive;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  background: var(--paper);
  padding: 2px 8px;
  border: 1px dashed var(--accent);
  border-radius: 12px;
  white-space: nowrap;
  z-index: 5;
}

/* Specific section headers (KEK Yachting) */
.brand-mark {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
}
.brand-mark::after {
  content: '⚓';
  margin-left: 4px;
  font-size: 14px;
  color: var(--accent);
}

/* dashed thin separator */
.dashed-sep {
  border: none;
  border-top: 1.2px dashed var(--pencil-light);
  margin: 12px 0;
}

/* Page heading inside artboard for context */
.page-title-pill {
  position: absolute;
  top: -14px;
  left: 24px;
  z-index: 10;
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 14px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 18px;
  border: 1.5px solid var(--ink);
}

/* Hover/click hints */
.hint {
  font-family: 'Caveat', cursive;
  color: var(--sea);
  font-size: 15px;
  font-style: italic;
}

/* Subtle paper grid */
.paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--paper-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-2) 1px, transparent 1px);
  background-size: 28px 28px;
}
