/* I SEE A SEASHORE — shared styles
   palette: seafoam bg, cream panels, deep teal ink, old-web blue links, sandy shell accent */

:root{
  --bg: 639EAD;
  --bg-dark: #d9ead2;
  --panel: #fbfaf1;
  --ink: #203c34;
  --ink-soft: #4a6a5e;
  --link: #1a3fd6;
  --link-visited: #6b3fa0;
  --line: #a9c9a0;
  --shell: #d8a667;
  --shell-dark: #b6803f;
}

*{ box-sizing: border-box; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

html,body{
  margin:0; padding:0;
  background: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, var(--bg) 0px, var(--bg) 270px, var(--bg-dark) 28px);
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.wrap{
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

/* header / nav, present on every page */
.site-head{
  text-align:center;
  padding: 18px 0 10px;
}
.site-title{
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  letter-spacing: 1px;
  margin: 0 0 2px;
  color: var(--ink);
}
.site-title a{ color:inherit; text-decoration:none; }
.site-tag{
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.wave-rule{
  width: 100%;
  height: 14px;
  display:block;
  margin: 6px 0 4px;
}
nav.site-nav{
  display:flex;
  justify-content:center;
  gap: 4px;
  flex-wrap: wrap;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  margin-bottom: 8px;
}
nav.site-nav a{
  color: var(--ink);
  text-decoration:none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: var(--panel);
}
nav.site-nav a:hover{ background: var(--bg-dark); }
nav.site-nav a.current{
  background: var(--shell);
  border-color: var(--shell-dark);
  color: #2b1c08;
}

/* content panel */
.panel{
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 26px;
  margin: 16px 0;
}
.panel h2{
  font-family: Georgia, serif;
  font-size: 19px;
  margin-top: 0;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}
a{ color: var(--link); }
a:visited{ color: var(--link-visited); }

.meta{
  font-family:'Courier New', monospace;
  font-size: 12px;
  color: var(--ink-soft);
}

footer.site-foot{
  text-align:center;
  font-family:'Courier New', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 30px;
}

blink-tag{ /* honest replacement for <blink>, no actual blinking */
  font-weight:bold;
}

ul.plain{
  list-style: none;
  padding-left: 0;
}
ul.plain li{
  padding: 6px 0;
  border-bottom: 1px dotted var(--line);
}
ul.plain li:last-child{ border-bottom:none; }

table.service-table{
  width:100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.service-table th, table.service-table td{
  text-align:left;
  padding: 9px 6px;
  border-bottom: 1px dotted var(--line);
  vertical-align: top;
}
table.service-table th{
  font-family:'Courier New', monospace;
  font-size:12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.linklist a{
  display:block;
  padding: 8px 4px;
}

.badge-row{
  text-align:center;
  font-size:11px;
  color: var(--ink-soft);
  font-family:'Courier New', monospace;
  margin-top: 10px;
}

/* ---- project buttons (projects page) ---- */
.project-buttons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 20px 0 8px;
}
.project-btn{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  color: var(--ink);
  background: var(--panel);
  border: 2px solid var(--line);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-btn:hover{
  background: var(--bg-dark);
  border-color: var(--shell-dark);
}
.project-btn.active{
  background: var(--shell);
  border-color: var(--shell-dark);
  color: #2b1c08;
}

/* ---- audio player (microdreaming page) ---- */
.audio-player{
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.play-btn{
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--shell-dark);
  background: var(--shell);
  color: #2b1c08;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn:hover{ background: #e6bd83; }
.audio-info{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.audio-title{
  font-family: Georgia, serif;
  font-size: 14px;
}

.panel-inset{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

#projectDetail{
  margin-top: 14px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  border: 1px solid transparent;
  transition: max-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
}
#projectDetail.visible{
  max-height: 260px;
  padding: 14px 18px;
  border-color: var(--line);
  background: var(--bg);
}
#projectDetail h3{
  font-family: Georgia, serif;
  margin: 0 0 4px;
}

.shore-hint{
  font-family:'Courier New', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  text-align:center;
  margin-top: 6px;
}
