@charset "utf-8";
/*
  Zaynab Ahmed's styles.css file
      
  Author:          Zaynab Ahmed
  Created:         September 21, 2026 
  Last Modified:   November 9, 2026

  Filename:         styles.css
  Supporting files: styles.css
                      journal.js
                      profile.js
                      account.js
                      room.js
                      room.html
                      profile.html
                      test.html
                      blog.html
                      profile.html
                      index.html
                      layout.css
                      reset.css
                      room.css
                      george-cox-NFpvXe7sSJM-unsplash.jpg
                      waves_audio.mp3
                      waves_visual.mp4
                      Web_Project_Notes.docx

  Description:      This css file is used by all of the html files for my website.
*/
/*This is the AI Prompt I use to determine the class structures 
for the fonts and styles I wanted to test to use throughout the website: 
Can you help me with some simple beginner code for the index html and 
css styles that creates the correct style code for the featured post 
at the top that uses the George Cox image and a bold title place holder 
with a bold font. The navigation bar is for the home page, blog page, 
and personal profile/ journaling page, so the home page has the featured 
post linked to the blog page and a personalized greeting with the users name, 
lower is the journaling prompt of the day that will link to the journaling 
page right now called the test.html, and then at the bottom is a footer for 
copyright and credits and contact info.  */
body {
  background: #f8f7f2;
  color: #25332d;
  font-family: "DM Sans", sans-serif;
  margin: 0 auto;
}

/* Make keyboard focus easy to see on links and other interactive controls. */
:focus-visible {
  outline: 3px solid #b8784e;
  outline-offset: 4px;
}

/* Shared site header, logo, and navigation used across all three pages. */
.site-header {
  align-items: center;
  background: rgb(248 247 242 / 78%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgb(228 227 220 / 75%);
  display: flex;
  justify-content: space-between;
  margin-left: calc(50% - 50vw);
  min-height: 88px;
  padding-inline: max(32px, calc((100vw - 1056px) / 2));
  position: sticky;
  top: 0;
  width: 100vw;
  z-index: 10;
}

.site-name {
  color: #25332d;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.site-name span {
  color: #b8784e;
}

nav {
  align-items: center;
  display: flex;
  gap: 32px;
}

nav a {
  color: #65716a;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav a.active {
  color: #25332d;
}

nav a.active {
  font-weight: 700;
}

/* Home page introduction and the small uppercase section labels. */
.welcome {
  padding: 76px 0 68px;
}

.eyebrow {
  color: #9a6848;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.welcome h1,
.section-heading h2,
.prompt-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0;
}

.welcome h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.welcome h1 span {
  color: #9a6848;
}

.welcome-copy {
  color: #68736d;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 18px 0 0;
  max-width: 560px;
}

.profile-home-status {
  color: #8a4d3a;
  font-size: 0.88rem;
  margin-top: 12px;
}

/* Optional account form on the Profile page. */
.account-section {
  background: #fff;
  border: 1px solid #e4e3dc;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgb(37 51 45 / 6%);
  margin: 0 auto 64px;
  max-width: 760px;
  padding: clamp(24px, 5vw, 40px);
}

.account-intro {
  margin-bottom: 24px;
}

.account-intro h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.account-intro > p:not(.eyebrow) {
  color: #68736d;
  line-height: 1.6;
  margin-top: 10px;
}

.account-form {
  display: grid;
  gap: 16px;
}

.account-details {
  border: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-details legend {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.account-field {
  display: grid;
  gap: 6px;
}

.account-field label {
  font-size: 0.88rem;
  font-weight: 700;
}

.account-field label span {
  color: #778079;
  font-size: 0.78rem;
  font-weight: 400;
}

.account-field input,
.account-field select,
.account-field textarea {
  background: #fff;
  border: 1px solid #d9ddd5;
  border-radius: 6px;
  color: #25332d;
  line-height: 1.5;
  padding: 11px 12px;
  width: 100%;
}

.account-field textarea {
  resize: vertical;
}

.account-field-wide,
.account-checkbox {
  grid-column: 1 / -1;
}

.account-checkbox {
  align-items: center;
  display: flex;
  gap: 9px;
  font-size: 0.88rem;
}

.account-checkbox input {
  accent-color: #9a6848;
  height: 16px;
  width: 16px;
}

.account-privacy-note {
  color: #68736d;
  font-size: 0.84rem;
  line-height: 1.6;
  margin: 0;
}

.account-status {
  color: #526554;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.4em;
  margin: 0;
}

.account-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.account-button {
  background: #25332d;
  border: 2px solid #25332d;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 10px 16px;
}

.account-button:hover {
  background: #394b42;
}

.account-button-secondary {
  background: transparent;
  color: #25332d;
}

.account-button-secondary:hover {
  background: #eeeee6;
}

.account-guest-link {
  color: #25332d;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration-color: #9a6848;
  text-underline-offset: 4px;
}

/* Shared heading spacing and typography for page sections. */
.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.prompt-section h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  letter-spacing: -0.025em;
}

/* Featured story card: image, dark readability overlay, and title content. */
.featured-post {
  background: #27352e;
  border-radius: 8px;
  color: #fff;
  display: block;
  min-height: 430px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.featured-post::after {
  background: linear-gradient(90deg, rgb(16 27 23 / 78%) 0%, rgb(16 27 23 / 44%) 48%, rgb(16 27 23 / 4%) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.featured-post img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 55%;
  position: absolute;
  transition: transform 400ms ease;
  width: 100%;
}

.featured-post:hover img {
  transform: scale(1.03);
}

.featured-overlay {
  bottom: 0;
  left: 0;
  padding: clamp(28px, 6vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.featured-category {
  color: #e8c6a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
}

.featured-overlay h1,
.featured-overlay h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
  max-width: 650px;
}

.read-link {
  align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / 65%);
  display: inline-flex;
  font-size: 0.9rem;
  gap: 12px;
  margin-top: 28px;
  padding-bottom: 7px;
}

/* Home page journaling prompt card and link. */
.prompt-section {
  align-items: center;
  background: #eeeee6;
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr auto;
  margin: 64px 0 76px;
  padding: 30px 36px;
}

.prompt-mark {
  align-items: center;
  background: #dce1d8;
  border-radius: 50%;
  color: #526554;
  display: flex;
  font-size: 1.6rem;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.prompt-section .eyebrow {
  margin-bottom: 8px;
}

.prompt-section h2 {
  font-size: 1.7rem;
}

.prompt-copy {
  color: #68736d;
  line-height: 1.6;
  margin: 8px 0 0;
}

.prompt-link {
  color: #25332d;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration-color: #9a6848;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.prompt-link span {
  color: #9a6848;
  margin-left: 5px;
}

/* Shared footer layout and muted supporting text. */
.site-footer {
  align-items: center;
  background: rgb(248 247 242 / 78%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-top: 1px solid rgb(228 227 220 / 75%);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  margin-left: calc(50% - 50vw);
  padding: 28px max(32px, calc((100vw - 1056px) / 2)) 34px;
  width: 100vw;
}

.site-footer .site-name {
  font-size: 1.1rem;
}

.footer-note {
  color: #778079;
  font-size: 0.78rem;
  margin: 0;
}

.footer-note a {
  color: inherit;
  text-underline-offset: 3px;
}

/* Blog-only full-bleed layout and light navigation over the hero image. */
.blog-page {
  max-width: none;
  padding: 0;
}

.blog-page .site-header {
  background: rgb(15 25 24 / 32%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  border-bottom-color: rgb(255 255 255 / 22%);
  position: absolute;
  top: 0;
  z-index: 2;
}

.blog-page .site-header .site-name,
.blog-page .site-header nav a,
.blog-page .site-header nav a:hover,
.blog-page .site-header nav a.active {
  color: #fff;
}

.blog-page .site-header .site-name span {
  color: #e8c6a8;
}

.blog-page .featured-section {
  margin: 0;
}

.blog-page .featured-post {
  border-radius: 0;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  width: 100%;
}

.blog-page .featured-post::after {
  background: linear-gradient(180deg, rgb(16 27 23 / 48%), rgb(16 27 23 / 12%) 38%, rgb(16 27 23 / 42%));
}

.blog-page .featured-post img {
  object-position: center;
}

.blog-page .featured-overlay {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 24px 40px;
  text-align: center;
}

.blog-page .featured-category {
  color: #f0d2b5;
  margin-bottom: 18px;
}

.blog-page .featured-overlay h1 {
  max-width: 780px;
}

/* Story panel revealed below the full-screen blog hero as the page scrolls. */
.blog-story {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 62vh;
  padding: clamp(56px, 10vw, 120px) 24px;
}

.blog-story-copy {
  background: rgb(37 51 45 / 92%);
  border-radius: 8px;
  color: #fff;
  max-width: 780px;
  padding: clamp(28px, 6vw, 64px);
  width: 100%;
}

.blog-story-copy p {
  color: #dbe6e0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 18px 0 0;
  max-width: 560px;
}

/* Tablet and mobile layout: stack shared navigation/footer and tighten cards. */
@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
    padding: 20px 0;
  }

  nav {
    gap: 24px;
  }

  .welcome {
    padding: 58px 0 50px;
  }

  .account-section {
    margin-bottom: 48px;
  }

  .account-details {
    grid-template-columns: 1fr;
  }

  .account-field-wide,
  .account-checkbox {
    grid-column: auto;
  }

  .featured-post {
    min-height: 380px;
  }

  .prompt-section {
    gap: 18px;
    grid-template-columns: auto 1fr;
    margin: 48px 0 56px;
    padding: 24px;
  }

  .prompt-link {
    grid-column: 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-page .site-header {
    padding-block: 20px;
  }

  .blog-page .featured-overlay {
    padding-top: 88px;
  }

  .blog-story {
    min-height: 55vh;
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 600px) {
  .site-header,
  .site-footer {
    padding-inline: 20px;
  }
}

/* Small-phone adjustments for featured cards and the blog hero overlay. */
@media (max-width: 420px) {
  .featured-post {
    min-height: 340px;
  }

  .featured-post::after {
    background: linear-gradient(90deg, rgb(16 27 23 / 75%), rgb(16 27 23 / 22%));
  }

  .blog-page .featured-post::after {
    background: linear-gradient(180deg, rgb(16 27 23 / 50%), rgb(16 27 23 / 18%) 38%, rgb(16 27 23 / 48%));
  }
}

/* Journal hub theme tokens: each choice changes color, type, spacing, and layout. */
.journal-hub {
  --journal-background: #f8f7f2;
  --journal-surface: #fff;
  --journal-surface-alt: #eeeee6;
  --journal-text: #25332d;
  --journal-muted: #68736d;
  --journal-accent: #9a6848;
  --journal-border: #d9ddd5;
  --journal-font: "DM Sans", sans-serif;
  --journal-heading-font: "Playfair Display", Georgia, serif;
  --journal-radius: 10px;
  --journal-spacing: 44px;
  --journal-content-width: 960px;
  background: var(--journal-background);
  color: var(--journal-text);
  font-family: var(--journal-font);
  padding: var(--journal-spacing) 32px;
  transition: background-color 180ms ease, color 180ms ease, padding 180ms ease;
}

/* Theme-specific tokens keep the shared journal components consistent per choice. */
.journal-hub[data-theme="dark"] {
  --journal-background: #171b1a;
  --journal-surface: #252d2a;
  --journal-surface-alt: #303a36;
  --journal-text: #f3f2ec;
  --journal-muted: #c0c9c2;
  --journal-accent: #e2bc8a;
  --journal-border: #56635d;
  --journal-font: Arial, sans-serif;
  --journal-heading-font: Georgia, serif;
  --journal-radius: 18px;
  --journal-spacing: 36px;
  --journal-content-width: 880px;
}

.journal-hub[data-theme="green"] {
  --journal-background: #e7eee7;
  --journal-surface: #f8fbf7;
  --journal-surface-alt: #d6e2d7;
  --journal-text: #193b30;
  --journal-muted: #456456;
  --journal-accent: #286548;
  --journal-border: #aabdaf;
  --journal-font: Georgia, serif;
  --journal-heading-font: Georgia, serif;
  --journal-radius: 4px;
  --journal-spacing: 60px;
  --journal-content-width: 1040px;
}

.journal-hub[data-theme="contrast"] {
  --journal-background: #000;
  --journal-surface: #101010;
  --journal-surface-alt: #252525;
  --journal-text: #fff;
  --journal-muted: #eee;
  --journal-accent: #ffeb00;
  --journal-border: #fff;
  --journal-font: Arial, sans-serif;
  --journal-heading-font: Arial, sans-serif;
  --journal-radius: 0;
  --journal-spacing: 32px;
  --journal-content-width: 900px;
}

.journal-hub[data-theme="mauve"] {
  --journal-background: #f4edf2;
  --journal-surface: #fff9fd;
  --journal-surface-alt: #eadbe6;
  --journal-text: #442b3d;
  --journal-muted: #765c70;
  --journal-accent: #87556e;
  --journal-border: #d8bdce;
  --journal-font: "DM Sans", sans-serif;
  --journal-heading-font: "Playfair Display", Georgia, serif;
  --journal-radius: 24px;
  --journal-spacing: 64px;
  --journal-content-width: 940px;
}

.journal-hub[data-theme="sepia"] {
  --journal-background: #f1e6d2;
  --journal-surface: #fbf4e7;
  --journal-surface-alt: #e7d6b9;
  --journal-text: #443321;
  --journal-muted: #756147;
  --journal-accent: #87552f;
  --journal-border: #cdb995;
  --journal-font: Georgia, serif;
  --journal-heading-font: Georgia, serif;
  --journal-radius: 3px;
  --journal-spacing: 54px;
  --journal-content-width: 920px;
}

.journal-content {
  margin: 0 auto;
  max-width: var(--journal-content-width);
}

.journal-intro {
  margin-bottom: 34px;
  max-width: 720px;
}

.journal-intro .eyebrow,
.journal-composer .eyebrow,
.theme-section .eyebrow,
.profile-page .eyebrow,
.profile-preview .eyebrow {
  color: var(--journal-accent, #9a6848);
}

.journal-intro h1,
.profile-intro h1 {
  font-family: var(--journal-heading-font, "Playfair Display", Georgia, serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
}

.journal-intro > p:not(.eyebrow),
.profile-intro > p:not(.eyebrow) {
  color: var(--journal-muted, #68736d);
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 620px;
}

.journal-profile-link {
  color: var(--journal-accent, #9a6848);
  display: inline-block;
  font-weight: 700;
  margin-top: 18px;
  text-underline-offset: 4px;
}

.journal-profile-link span {
  margin-left: 5px;
}

.journal-composer,
.theme-section {
  background: var(--journal-surface);
  border: 1px solid var(--journal-border);
  border-radius: var(--journal-radius);
  box-shadow: 0 10px 28px rgb(37 51 45 / 6%);
  padding: clamp(22px, 4vw, 38px);
}

.journal-composer {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.journal-composer h2,
.theme-section h2,
.profile-form h2,
.profile-preview h2 {
  font-family: var(--journal-heading-font, "Playfair Display", Georgia, serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0;
}

.journal-prompt {
  color: var(--journal-muted);
  line-height: 1.7;
  margin-top: 14px;
}

.journal-entry-form,
.profile-form {
  display: grid;
  gap: 12px;
}

.journal-entry-form > label,
.profile-form > label {
  color: var(--journal-text, #25332d);
  font-size: 0.9rem;
  font-weight: 700;
}

.journal-entry-form input[type="text"],
.journal-entry-form textarea,
.profile-form input:not([type="file"]),
.profile-form input[type="file"],
.profile-form textarea {
  background: var(--journal-background, #fff);
  border: 1px solid var(--journal-border, #d9ddd5);
  border-radius: calc(var(--journal-radius, 10px) / 2);
  color: var(--journal-text, #25332d);
  font: inherit;
  line-height: 1.5;
  padding: 12px 14px;
  width: 100%;
}

.journal-entry-form textarea,
.profile-form textarea {
  resize: vertical;
}

.theme-option input {
  accent-color: var(--journal-accent, #9a6848);
}

.prototype-note,
.profile-privacy-note,
.theme-help {
  color: var(--journal-muted, #68736d);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}

.journal-button {
  background: var(--journal-accent, #25332d);
  border: 2px solid var(--journal-accent, #25332d);
  border-radius: calc(var(--journal-radius, 10px) / 2);
  color: var(--journal-surface, #fff);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  justify-self: start;
  padding: 11px 18px;
}

.journal-button:hover {
  filter: brightness(0.92);
}

.entry-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.journal-button-secondary {
  background: var(--journal-surface-alt);
  color: var(--journal-text);
}

.journal-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.entry-status {
  color: var(--journal-accent);
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.4em;
  margin: 0;
}

.entries-section {
  margin-top: 32px;
}

.entries-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.entries-heading h2 {
  font-family: var(--journal-heading-font);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.entries-heading .eyebrow {
  color: var(--journal-accent);
}

.entry-count,
.entries-empty {
  color: var(--journal-muted);
  font-size: 0.9rem;
}

.journal-entry-list {
  display: grid;
  gap: 14px;
}

.journal-entry-card {
  background: var(--journal-surface);
  border: 1px solid var(--journal-border);
  border-radius: var(--journal-radius);
  box-shadow: 0 8px 24px rgb(37 51 45 / 5%);
  padding: clamp(18px, 3vw, 26px);
}

.journal-entry-card h3 {
  font-family: var(--journal-heading-font);
  font-size: 1.25rem;
  line-height: 1.3;
}

.journal-entry-date {
  color: var(--journal-muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.journal-entry-content {
  color: var(--journal-text);
  line-height: 1.7;
  margin-top: 12px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.journal-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.journal-entry-actions button {
  background: transparent;
  border: 1px solid var(--journal-border);
  border-radius: calc(var(--journal-radius) / 2);
  color: var(--journal-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 7px 12px;
}

.journal-entry-actions button:hover {
  background: var(--journal-surface-alt);
}

.theme-section {
  margin-top: 32px;
}

.theme-section h2 {
  margin-bottom: 8px;
}

.theme-status {
  color: var(--journal-accent);
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.4em;
  margin: 12px 0;
}

.theme-table-scroll {
  border: 1px solid var(--journal-border);
  border-radius: calc(var(--journal-radius) / 2);
  margin-top: 8px;
  overflow-x: auto;
}

.theme-table {
  border-collapse: collapse;
  min-width: 540px;
  text-align: left;
  width: 100%;
}

.theme-table caption {
  caption-side: top;
  color: var(--journal-muted);
  font-size: 0.88rem;
  padding: 0 0 10px;
  text-align: left;
}

.theme-table th,
.theme-table td {
  border: 1px solid var(--journal-border);
  padding: 12px 16px;
}

.theme-table thead th {
  background: var(--journal-surface-alt);
  font-size: 0.9rem;
}

.theme-option {
  align-items: flex-start;
  cursor: pointer;
  display: grid;
  gap: 3px 10px;
  grid-template-columns: auto 1fr;
}

.theme-option input {
  grid-row: span 2;
  margin-top: 4px;
}

.theme-name {
  font-weight: 700;
}

.theme-description {
  color: var(--journal-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.theme-swatch {
  border: 1px solid var(--journal-border);
  border-radius: 4px;
  display: block;
  height: 30px;
  width: 72px;
}

.swatch-original {
  background: linear-gradient(90deg, #f8f7f2 50%, #25332d 50%);
}

.swatch-dark {
  background: linear-gradient(90deg, #171b1a 50%, #e2bc8a 50%);
}

.swatch-green {
  background: linear-gradient(90deg, #e7eee7 50%, #286548 50%);
}

.swatch-contrast {
  background: linear-gradient(90deg, #000 50%, #ffeb00 50%);
}

.swatch-mauve {
  background: linear-gradient(90deg, #f4edf2 50%, #87556e 50%);
}

.swatch-sepia {
  background: linear-gradient(90deg, #f1e6d2 50%, #87552f 50%);
}

/* Additional theme-specific arrangements distinguish layouts beyond their colors. */
.journal-hub[data-theme="dark"] .journal-intro {
  border-left: 4px solid var(--journal-accent);
  padding-left: 22px;
}

.journal-hub[data-theme="dark"] .journal-composer {
  grid-template-columns: 1fr;
}

.journal-hub[data-theme="green"] .journal-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.journal-hub[data-theme="green"] .journal-intro > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.journal-hub[data-theme="green"] .journal-composer {
  grid-template-columns: 1.15fr 1fr;
}

.journal-hub[data-theme="contrast"] .journal-composer,
.journal-hub[data-theme="contrast"] .theme-section {
  border-width: 3px;
}

.journal-hub[data-theme="contrast"] .journal-intro h1,
.journal-hub[data-theme="contrast"] .journal-composer h2,
.journal-hub[data-theme="contrast"] .theme-section h2 {
  letter-spacing: 0;
}

.journal-hub[data-theme="mauve"] .journal-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.journal-hub[data-theme="mauve"] .journal-intro > p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.journal-hub[data-theme="mauve"] .journal-composer,
.journal-hub[data-theme="mauve"] .theme-section {
  box-shadow: 0 18px 42px rgb(68 43 61 / 10%);
}

.journal-hub[data-theme="sepia"] .journal-intro {
  border-bottom: 1px solid var(--journal-border);
  max-width: none;
  padding-bottom: 28px;
}

/* Optional professional profile form and its local live preview. */
.profile-page {
  padding-bottom: 56px;
}

.profile-intro {
  padding: 56px 0 32px;
}

.profile-intro h1 {
  color: #25332d;
}

.profile-intro > p:not(.eyebrow) {
  color: #68736d;
}

.profile-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
}

.profile-form,
.profile-preview {
  background: #fff;
  border: 1px solid #d9ddd5;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgb(37 51 45 / 6%);
  padding: clamp(22px, 4vw, 36px);
}

.profile-form > p:not(.profile-privacy-note) {
  color: #68736d;
  line-height: 1.6;
  margin: 0 0 8px;
}

.profile-form > label span {
  color: #778079;
  font-size: 0.78rem;
  font-weight: 400;
  margin-left: 5px;
}

.profile-preview {
  min-height: 320px;
  text-align: center;
}

.profile-preview h2 {
  color: #25332d;
  overflow-wrap: anywhere;
}

.profile-avatar {
  align-items: center;
  background: #eeeee6;
  border: 1px solid #d9ddd5;
  border-radius: 50%;
  color: #526554;
  display: flex;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  height: 112px;
  justify-content: center;
  margin: 0 auto 22px;
  overflow: hidden;
  width: 112px;
}

.profile-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.profile-preview-bio {
  color: #68736d;
  line-height: 1.7;
  margin-top: 14px;
  white-space: pre-wrap;
}

.profile-preview-contact {
  color: #9a6848;
  display: inline-block;
  margin-top: 14px;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.profile-preview-empty {
  color: #778079;
  font-size: 0.82rem;
  margin-top: 20px;
}

/* Stack journal and profile columns on narrow screens; keep the theme table scrollable. */
@media (max-width: 760px) {
  .journal-composer,
  .journal-hub[data-theme="green"] .journal-composer {
    grid-template-columns: 1fr;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-intro {
    padding-top: 44px;
  }
}

@media (max-width: 600px) {
  .journal-hub {
    padding-left: 20px;
    padding-right: 20px;
  }

  .journal-hub[data-theme="mauve"] {
    --journal-spacing: 42px;
  }
}