/* Variables & Theme */
@font-face {
  font-family: 'Gambetta';
  src: url('Gambetta-Light.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-color: #fbf8ee;
  --text-color: #1a1a1a;
  --accent-color: #666666;
  --mango-color: #e82572;
  --font-serif: 'Gambetta', 'Times New Roman', serif;
  --font-script: 'Ballet', cursive;
  --font-nav: 'Ballet', cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-serif);
  line-height: 1.6;
  overflow: hidden;
}

a {
  color: var(--text-color);
  text-decoration: none;       /* Removes underline everywhere */
}

/* ==========================================================================
   Custom Editorial Scrollbar (Rectangular & Outlined in Pink)
   ========================================================================== */

/* Ultra-Slim 3px Solid Needle */
::-webkit-scrollbar {
  width: 3px;                          /*  Ultra-slim & refined */
}

::-webkit-scrollbar-track {
  background: transparent;             /* Invisible track */
}

::-webkit-scrollbar-thumb {
  background-color: var(--mango-color); /* Solid pink */
  border-radius: 0;                   /* Sharp edges */
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--mango-color) transparent;
}

/* Mobile Header (Hidden on Desktop) */
.mobile-header {
  display: none;
}

/* Desktop 50/50 Grid Container */
.site-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  padding: 1.5rem;
  gap: 1.5rem;
}

/* Left Framed Panel (Sidebar) */
.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  height: 100%;
  width: 100%;
  border: 1px solid var(--mango-color);
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

/* "Ramya Yandava" Brand Link */
.brand-link {
  font-family: var(--font-script);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--accent-color);          /*  Default Inactive: Accent Grey */
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0;
  transition: color 0.3s ease, opacity 0.2s ease;
}

/* Hover State: Always turns Pink */
.brand-link:hover {
  color: var(--mango-color);          /*  Pink on hover */
  opacity: 0.85;
}

/* Active State: Pink when on the Home landing page */
.brand-link.active {
  color: var(--mango-color);          /*  Pink when active */
}

/* ==========================================================================
   Garland & Ribbon Navigation Frame (png by NassyArt on Etsy)
   ========================================================================== */
.garland-nav-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;                  /*  Your exact width */
  height: 440px;                     /* Your exact height */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The Garland Image (Transparent, Zero White Box, Zero Flashing) */
.garland-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

/* 4 Navigation Links Nestled Inside */
.nav-menu {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding-top: 6.5rem;               /* Drops links cleanly into the open ribbon belly */
  margin: 0;
}

.nav-link {
  font-family: var(--font-nav);
  text-transform: lowercase;
  letter-spacing: 1px;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--accent-color);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--mango-color);
  text-decoration: none;
}

/* Footer */
.sidebar-footer {
  position: absolute;
  bottom: 1.25rem;
  font-size: 0.5rem;
  color: var(--accent-color);
}

/* Right Framed Panel (Content Area) */
.content-area {
  display: flex;             /* Turns right panel into a flex container */
  flex-direction: column;
  text-align: center;
  padding: 2.5rem 2rem;
  height: 100%;
  width: 100%;
  border: 1px solid var(--mango-color);
  background-color: var(--bg-color);
  overflow-y: auto;
}

/* Home statement text on the right */
.home-statement {
  font-family: var(--font-script); /* Ballet font */
  color: var(--mango-color);        /* Mango color */
  font-size: 2.8rem;                /* Ballet is delicate, so a larger size looks great */
  font-weight: 400;
  line-height: 1.3;
  margin-top: 1rem;
}

/* Home Quote above the photograph */
.home-quote {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--accent-color);
  max-width: 440px;
  margin: 0 auto 1.25rem auto;
  text-align: center;
  padding: 0 1rem;
}

.home-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: none;
  margin-top: 0.35rem;
  color: var(--text-color);
}

/* Quote Link Default State */
.home-quote a,
.home-quote cite a {
  color: var(--text-color) !important;
  text-decoration: none !important;
  opacity: 0.75;
  transition: color 0.25s ease, opacity 0.25s ease;
  cursor: pointer;
}

/* Quote Link Hover State (Turns Pink) */
.home-quote a:hover,
.home-quote cite a:hover {
  color: var(--mango-color) !important;
  opacity: 1 !important;
}

/* Home Panel Image */
.home-image {
  max-width: 500px;          /* Adjust width: 220px–320px depending on photo size */
  width: 100%;
  height: auto;
  border-radius: 0px;        /* Soft rectangular corners */
  margin-bottom: 1.5rem;     /* Space between photo and the text below it */
  display: inline-block;
  object-fit: cover;
}

/* About Section Spacing */
#about {
  max-width: 520px;          /* Keeps text at a comfortable reading width */
  padding: 0 3.5rem;         /* Increases the margin from the left and right border */
  margin: auto;              /* Centers the text block inside the frame */
}

#about p {
  font-size: 1.1rem;         /* Optional: slightly refined size */
  line-height: 1.8;          /* Adds relaxed line height for readability */
}

/* Links in the About Section */
#about a {
  color: var(--mango-color);
  text-decoration: none;                              /* Fixed typo */
  transition: color 0.3s ease, opacity 0.3s ease;    /*  Smoothly transitions BOTH color & opacity */
  display: inline;
}

#about a:hover {
  color: var(--accent-color);                         /* Fades smoothly to grey on hover */
  opacity: 0.8;
}

/* ==========================================================================
   Soul-Making / Publication Section (Preserved Original Aesthetic)
   ========================================================================== */
.soulmaking-card {
  max-width: 460px;
  margin: auto;
  text-align: center;
  padding: 0 1.5rem;
}

.soulmaking-title {
  font-family: var(--font-script);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--mango-color);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.soulmaking-desc {
  font-size: 1.05rem;
  line-height: 1.6;
}

.soulmaking-form {
  display: flex;
  flex-direction: row;
  gap: 0;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 460px;
  margin: 1.5rem auto 0 auto;
}

.soulmaking-input {
  flex: 1;
  padding: 1rem 1.25rem;
  background-color: var(--bg-color);
  color: var(--mango-color);
  border: 1px solid var(--mango-color);
  border-right: none;
  font-family: var(--font-serif);
  font-size: 1rem;
  text-align: left;
  outline: none;
}

.soulmaking-input::placeholder {
  color: #D3D3D3;
  font-style: italic;
}

.soulmaking-button {
  padding: 0.75rem 2rem;
  background-color: var(--bg-color);
  color: var(--mango-color);
  border: 1px solid var(--mango-color);
  font-family: var(--font-serif);
  text-transform: none;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.soulmaking-button:hover {
  background-color: var(--mango-color);
  color: var(--bg-color);
}

/* ==========================================================================
   Writing Section & Sub-Tabs
   ========================================================================== */

/* 1. Anchors the section to the top so it NEVER jumps between tabs */
#writing.page-section.active {
  margin: 0 auto;                   /*  Prevents jumping when switching between long & short lists */
  justify-content: flex-start;
  padding-top: 3.5rem;              /* Pushes the entire section slightly lower down */
}

.writing-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  padding: 0 1.5rem;
}

/* 2. Sub-Tab Header Bar */
.writing-subnav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;          /*  Pushes the bottom dividing line lower down */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* 3. Sub-Tab Buttons (Small, All Caps, 1px Spacing, Pink Background, White Text, No Underline) */
.subnav-btn {
  font-family: var(--font-serif);
  font-size: 0.72rem;               /*  Small */
  text-transform: uppercase;        /*  All caps */
  letter-spacing: 1px;              /*  1px letter spacing */
  background-color: var(--mango-color); /*  Pink background */
  color: #ffffff;                   /*  White text */
  border: 1px solid var(--mango-color);
  padding: 0.35rem 0.85rem;         /* Crisp button padding */
  text-decoration: none !important; /*  No underline */
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.2s ease;
}

/* Active Button (Full Solid Pink) */
.subnav-btn.active {
  background-color: var(--mango-color);
  color: #ffffff;
  opacity: 1;
  text-decoration: none !important;
}

/* Inactive Button (Subtle outline so you can tell which tab is active) */
.subnav-btn:not(.active) {
  background-color: transparent;
  color: var(--mango-color);
  opacity: 0.6;
}

.subnav-btn:not(.active):hover {
  opacity: 1;
  background-color: var(--mango-color);
  color: #ffffff;
}

/* Divider Slash */
.subnav-divider {
  color: var(--accent-color);
  opacity: 0.3;
  font-size: 0.85rem;
}

/* Tab Content */
.writing-tab-content {
  display: none;
  animation: fadeIn 0.25s ease-in-out forwards;
}

.writing-tab-content.active {
  display: block;
}



/* Individual Entry: Stacks title over publication */
.writing-entry {
  display: flex !important;
  flex-direction: column !important;     /*  Forces publication BELOW title */
  margin-bottom: 1.25rem !important;     /*  Space between separate pieces */
  text-align: left;
  line-height: 1.3;
}

/* 1. Title on Top: Pink, Standard Size, Not Italic */
.work-link {
  display: block !important;
  font-family: var(--font-serif);
  font-size: 1.0rem;                    /* Standard size */
  font-style: normal;                   /*  Not italicized */
  color: var(--mango-color) !important;  /*  Pink color */
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.work-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.work-forthcoming {
  color: var(--mango-color) !important;
  cursor: default;
}

.forthcoming-tag {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-style: normal;
  margin-left: 0.25rem;
}

/* 2. Publication Venue: Drops BELOW, Noticeably Smaller */
.work-venue {
  display: block !important;            /*  Drops to new line beneath title */
  font-family: var(--font-serif);
  font-size: 0.84rem !important;        /*  Noticeably smaller */
  font-style: italic;                   /* Italic publication name */
  color: var(--text-color);
  margin-top: 0.18rem;                  /*  Very tight space directly under title */
  letter-spacing: 0.2px;
}

/* ==========================================================================
   Vintage Postcard with Banner Header
   ========================================================================== */
.postcard-wrapper {
  width: 100%;
  max-width: 580px;
  margin: auto;
  padding: 0 1rem;
  text-align: center;
}

/* "Say Hello!" Heading */
.contact-title {
  font-family: var(--font-script);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--mango-color);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 1.25rem;
}

/* Postcard Container */
.postcard {
  display: flex;
  flex-direction: column;             /*  Stacks header on top of the writing body */
  background-color: var(--bg-color);
  border: 1px solid var(--mango-color);
  padding: 1.5rem 1.75rem;
  gap: 1rem;
  text-align: left;
  box-shadow: 2px 3px 12px rgba(0, 0, 0, 0.03);
}

/* Vintage Top Header Image */
.postcard-header-img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;           /*  Blends the image background seamlessly into your cream canvas */
  opacity: 0.9;
  margin-bottom: 0.25rem;
  filter: grayscale(100%) contrast(110%);
}

/* Postcard Split Body */
.postcard-body {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

/* Left Half: Note Message */
.postcard-left {
  flex: 1.1;
  display: flex;
  flex-direction: column;
}

/* Ruled Notebook Lines */
.postcard-textarea {
  width: 100%;
  height: 180px;
  background: transparent;
  border: none;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-color);
  line-height: 28px;
  background-attachment: local;
  background-image: linear-gradient(to bottom, transparent 27px, rgba(0, 0, 0, 0.08) 28px);
  background-size: 100% 28px;
  resize: none;
  outline: none;
  padding: 0;
}

.postcard-textarea::placeholder {
  color: #a8a8a8;
  font-style: italic;
}

/* Center Dividing Line */
.postcard-divider {
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--mango-color),
    var(--mango-color) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* Right Half: Address Lines */
.postcard-right {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: center;            /* Centers address lines vertically under ADDRESS */
}

.address-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.postcard-line {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-color);
  padding-bottom: 0.3rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.postcard-line:focus {
  border-bottom-color: var(--mango-color);
}

.postcard-line::placeholder {
  color: #a8a8a8;
  font-style: italic;
  font-size: 0.9rem;
}

/* Centered Serif Button Below the Postcard */
.postcard-button {
  display: block;
  margin: 1.5rem auto 0 auto;
  background-color: var(--bg-color);
  color: var(--mango-color);
  border: 1px solid var(--mango-color);
  font-family: var(--font-serif);
  font-size: 1.0rem;
  letter-spacing: 0px;
  padding: 0.75rem 2.2rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.postcard-button:hover {
  background-color: var(--mango-color);
  color: var(--bg-color);
  border: 1px solid var(--mango-color);
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
  .postcard {
    flex-direction: column;
    padding: 1.5rem;
  }

  .postcard-divider {
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(
      to right,
      var(--mango-color),
      var(--mango-color) 4px,
      transparent 4px,
      transparent 8px
    );
    margin: 1rem 0;
  }
}

.page-section {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}


.page-section.active {
  display: flex;             /*  Allows vertical centering of the active page */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto 0;            /* Perfectly centers short pages, and allows normal scrolling for long pages */
  width: 100%;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-section h2 {
  font-family: var(--font-script);
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.item {
  margin-bottom: 2rem;
}

.item h3 {
  font-weight: normal;
  font-size: 1.2rem;
}

.meta {
  font-size: 0.85rem;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  font-style: italic;
}

a {
  color: var(--text-color);
  text-underline-offset: 3px;
}

/* ==========================================================================
   Mobile Responsive Styles (Single-Line Title & Enlarged Garland)
   ========================================================================== */
@media screen and (max-width: 768px) {
  html, body {
    overflow: auto;
    height: auto;
  }

/* 1. Mobile Header (Forces row layout) */
  .mobile-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.8rem 1.25rem !important;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--mango-color);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  /* "Ramya Yandava" Single-Line Lock */
  .site-title {
    font-family: var(--font-script) !important;
    font-size: 2rem !important;        /* Perfect size for all mobile screens */
    white-space: nowrap !important;      /* IMPOSSIBLE for text to wrap */
    display: inline-block !important;
    flex-shrink: 0 !important;           /*  Prevents the menu button from squishing the title */
    line-height: 1 !important;
    color: var(--mango-color) !important;
    text-decoration: none !important;
  }

  .menu-toggle {
    background: none;
    border: none;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color);
    white-space: nowrap;
    padding: 0.2rem 0;
  }

  /* 2. Mobile Container Layout */
  .site-container {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    padding: 1rem;
    gap: 1rem;
  }

  /* 3. Mobile Sliding Menu Drawer */
  .sidebar {
    width: 100%;
    height: auto;
    min-height: 75vh;
    display: none;
    padding: 2rem 1rem;
    border: 1px solid var(--mango-color);
  }

  .sidebar.is-open {
    display: flex;
  }

  /* Hides "Ramya Yandava" inside the opened mobile drawer */
  .sidebar .brand {
    display: none;
  }

/* ==========================================================================
   Mobile Responsive Styles (Fluid Proportions — Zero Overlap on All Phones)
   ========================================================================== */
@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  /* 1. Mobile Sticky Top Header */
  .mobile-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.8rem 1.25rem !important;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--mango-color);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .site-title {
    font-family: var(--font-script) !important;
    font-size: 2rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    color: var(--mango-color) !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }

  .menu-toggle {
    background: none;
    border: none;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color);
    white-space: nowrap;
  }

  /* 2. Mobile Container Layout */
  .site-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: calc(100vh - 60px) !important;
    width: 100% !important;
    padding: 0.75rem !important;
    gap: 0.75rem !important;
    box-sizing: border-box !important;
  }

  /* 3. Mobile Sidebar Drawer */
  .sidebar {
    width: 100% !important;
    height: auto !important;
    min-height: 75vh !important;
    display: none;
    flex-direction: column !important;
    justify-content: center !important;  /* Centers the frame vertically on phone */
    align-items: center !important;
    padding: 1.5rem 0.25rem !important;  /* Slim padding so artwork reaches edges */
    border: 1px solid var(--mango-color);
    box-sizing: border-box !important;
  }

  .sidebar.is-open {
    display: flex !important;
  }

  .sidebar .brand {
    display: none !important;
  }

/* 4. Fluid Garland Container (Scaled up ~25% to fill screen) */
  .garland-nav-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 440px !important;
    aspect-ratio: 5 / 4 !important;
    height: auto !important;
    margin: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    
    /*  Scales up the entire garland + links to fill the screen while preserving alignment */
    transform: scale(1.22);
    transform-origin: center center;
  }

  .garland-img {
    position: absolute !important;
    top: -5% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  /* 5. Navigation Links */
  .nav-menu {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    padding-top: 31% !important;        /*  Keeps the exact working clearance below the bow */
    padding-bottom: 2% !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .nav-link {
    font-family: var(--font-nav) !important;
    text-transform: lowercase !important;
    letter-spacing: 1px !important;
    font-size: 2.35rem !important;       /* Clean, enlarged size */
    font-weight: 400 !important;
    line-height: 1.1 !important;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-block;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--mango-color) !important;
    text-decoration: none;
  }

  /* 6. Content Area on Mobile */
  .content-area {
    display: block !important;           /*  DO NOT USE flex ON .content-area ON MOBILE */
    width: 100% !important;
    height: auto !important;             /*  Let it expand naturally to fit its content */
    min-height: 70vh !important;         /*  Ensures the pink box is nice and tall */
    padding: 2.5rem 1.25rem !important;  /*  Roomy inner padding */
    border: 1px solid var(--mango-color) !important;
    background-color: var(--bg-color) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  
  /* Active Page Sections on Mobile */
  .page-section {
    display: none !important;
  }

  .page-section.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 100% !important;
    margin: 0 auto !important;
  }

  /* 7. About Section: Centered with balanced padding */
  #about {
    max-width: 480px !important;
    padding: 1rem 1.5rem !important;
    margin: auto !important;
    text-align: center !important;
  }

  #about p {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1.25rem !important;
  }
  
  /* ==========================================================================
    Soul-Making Section on Mobile 
     ========================================================================== */
  
  .soulmaking-form {
    flex-direction: column !important;
    gap: 0.75rem !important;
    max-width: 320px !important;
  }

  .soulmaking-input {
    border-right: 1px solid var(--mango-color) !important;
    text-align: center !important;
  }

  .soulmaking-button {
    width: 100% !important;
  }
  
  /* ==========================================================================
     Vertical Postcard on Mobile (Message on Top, Address on Bottom)
     ========================================================================== */
  .postcard-wrapper {
    max-width: 100% !important;
    padding: 0 0.25rem !important;
  }

  .postcard {
    padding: 1.25rem !important;
    gap: 0.85rem !important;
  }

  .postcard-header-img {
    max-height: 75px !important;        /* Scales header nicely on phone */
    margin-bottom: 0.25rem !important;
  }

  /*  1. Stacks the body vertically */
  .postcard-body {
    display: flex !important;
    flex-direction: column !important;  /*  Message on TOP, Address on BOTTOM */
    gap: 1rem !important;
    width: 100% !important;
  }

  .postcard-left {
    width: 100% !important;
  }

  .postcard-textarea {
    height: 130px !important;           /* Comfortable mobile typing height */
    font-size: 1rem !important;
    line-height: 26px !important;
  }

  /* 2. Turns vertical dividing line into a horizontal dashed divider */
  .postcard-divider {
    width: 100% !important;
    height: 1px !important;
    background: repeating-linear-gradient(
      to right,
      var(--mango-color),
      var(--mango-color) 4px,
      transparent 4px,
      transparent 8px
    ) !important;
    margin: 0.25rem 0 !important;
  }

  .postcard-right {
    width: 100% !important;
  }

  .address-fields {
    gap: 1rem !important;
  }

  .postcard-line {
    font-size: 1rem !important;
    padding-bottom: 0.35rem !important;
  }

  .postcard-button {
    margin: 1.25rem auto 0.5rem auto !important;
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
}