/* =============================================
   PLUMERIA SURFBOARDS — styles.css
   ============================================= */

/* --- Index --- */

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

:root {
  --forest:   #5A7B50;
  --blush:    #E2D9DA;
  --sand:     #E0C3A3;
  --hibiscus: #F096B9;
  --ocean:    #476E82;
  --nav-h: 84px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--blush);
  color: #2b2b2b;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px 0 28px;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}


.navbar.scrolled {
  background: rgba(226, 217, 218, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  transition: color 0.4s ease;
}

.nav-logo-img {
  height: 68px;
  width: auto;
  display: block;
  transition: filter 0.4s ease;
}

.navbar.scrolled .nav-logo-img {
  filter: none;
}

body.no-hero .nav-logo-img {
  filter: none;
}

.navbar.scrolled .nav-logo { 
  color: var(--forest); 
}

.logo-mark {
  font-size: 18px;
  color: var(--hibiscus);
  line-height: 1;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-left: 40px;
  margin-right: auto;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a { 
  color: #3a3a3a; 
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--hibiscus);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a:hover { color: var(--forest); }

.nav-cta {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: transparent;
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled .nav-cta {
  border-color: var(--forest);
  color: var(--forest);
}

.navbar.scrolled .nav-cta:hover {
  border-color: var(--hibiscus);
  color: #fff;
}

.nav-cta:hover {
  background: var(--hibiscus);
  border-color: var(--hibiscus);
  color: #fff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px; 
  height: 1.5px;
  background: #fff;
  transition: background 0.3s ease;
}

.navbar.scrolled .nav-hamburger span { 
  background: #2b2b2b; 
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--blush);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open { 
  opacity: 1; 
  pointer-events: all; 
  transform: translateY(0); 
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.mobile-order { 
  color: var(--hibiscus); 
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: url('images/IMG_6325.jpg');
  background-size: cover;
  background-position: center 40%; /* tweak this % as needed — higher number pulls the focal point lower */
  background-repeat: no-repeat;
  /* Subtle zoom effect via transform so background-size stays "cover" at every step */
  animation: heroZoom 10s var(--ease-out-expo) forwards;
  transform-origin: center;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(35,45,40,0.28) 0%,
    rgba(35,45,40,0.15) 40%,
    rgba(35,45,40,0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
  animation: fadeUp 1.1s 0.3s var(--ease-out-expo) both;
  margin-top: -45px;
}

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

.hero-eyebrow {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--sand);
}

.hero-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 18px 52px;
  background: var(--ocean);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

.story-cta-section .hero-btn:hover {
  background: var(--hibiscus);
}

.hero-btn:active { 
  transform: translateY(0); 
}

.btn-label {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 1;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  width: 0; 
  height: 0;
  background: rgba(255,255,255,0.18);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.btn-ripple.animate {
  animation: rippleExpand 0.65s var(--ease-out-expo) forwards;
}

@keyframes rippleExpand {
  from { width: 0; height: 0; opacity: 1; }
  to   { width: 360px; height: 360px; opacity: 0; }
}

@media (max-width: 1280px) {
  .navbar {
    padding: 0 24px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: clamp(42px, 12vw, 64px);
  }
  .hero-btn {
    padding: 16px 40px;
  }
  .hero-image-wrap {
    background-image: url('images/IMG_6325_mobile.jpg');
    background-position: center center;
  }
  .nav-logo-img {
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-wrap {
    animation: none;
  }
  .hero-content { 
    animation: none; 
  }
  .btn-ripple.animate { 
    animation: none; 
  }
}

/* --- Boards --- */

.boards-hero {
  position: relative;
  width: 100%;
  height: 70svh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('images/IMG_6186.JPG');
  background-size: cover;
  background-position: 75% 60%;
}

.boards-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(35,45,40,0.35) 0%,
    rgba(35,45,40,0.25) 40%,
    rgba(35,45,40,0.65) 100%
  );
}

.boards-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.boards-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 300;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.boards-hero-content p {
  font-size: 18px;
  color: var(--sand);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}

.category-section {
  padding: 120px 48px;
  background: var(--blush);
}

.category-section:nth-child(even) {
  background: #f5f0eb;
}

.category-header {
  text-align: center;
  margin-bottom: 80px;
}

.category-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 300;
  color: var(--forest);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.category-header p {
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto;
  color: #555;
  line-height: 1.6;
}

.boards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  justify-items: center;
}

.board-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.board-card:hover {
  transform: translateY(-12px);
}

.board-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(145deg, #efe5d6 0%, var(--blush) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09), inset 0 1px 0 rgba(255,255,255,0.55);
  border: 4px solid var(--forest);
  transition: border-color 0.3s ease;
  animation: floatBoard 4s ease-in-out infinite;
}

.board-card:hover .board-circle {
  border-color: var(--hibiscus);
}

.board-outline {
  height: 210px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
  transition: transform 0.4s var(--ease-out-expo);
}

.board-card:hover .board-outline {
  transform: scale(1.1);
}

@keyframes floatBoard {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.board-circle.placeholder {
  background: linear-gradient(135deg, var(--sand), var(--blush));
  color: var(--forest);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 20px;
  line-height: 1.4;
  text-align: center;
}

.board-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 6px;
}

.board-length {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean);
}

.board-desc {
  font-size: 15px;
  color: #555;
  max-width: 240px;
  margin-top: 12px;
  line-height: 1.5;
}

.section-cta {
  text-align: center;
  margin-top: 100px;
  padding-bottom: 80px;
}

.section-cta button {
  padding: 18px 52px;
  background: var(--ocean);
  color: white;
  border: none;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.section-cta button:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .category-section {
    padding: 80px 24px;
  }
  .boards-grid {
    gap: 40px;
  }
  .board-circle {
    width: 200px;
    height: 200px;
  }
  .board-outline {
    height: 160px;
  }
  .boards-hero {
    background-image: url('images/IMG_8498.JPG');
    background-position: 83% 45%;
  }
}

/* --- Board Detail Page --- */

body.no-hero .navbar {
  background: rgba(226, 217, 218, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
body.no-hero .nav-logo { color: var(--forest); }
body.no-hero .nav-links a { color: #3a3a3a; }
body.no-hero .nav-links a:hover { color: var(--forest); }
body.no-hero .nav-cta { border-color: var(--forest); color: var(--forest); }
body.no-hero .nav-cta:hover { border-color: var(--hibiscus); color: #fff; }
body.no-hero .nav-hamburger span { background: #2b2b2b; }

.board-detail-layout {
  display: grid;
  grid-template-columns: 42fr 58fr;
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
}

.viewer-panel {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  background: #ede7df;
  display: flex;
  align-items: stretch;
}

.viewer-panel iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.viewer-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 20px;
  color: #aaa;
  text-align: center;
  padding: 40px;
}

.viewer-placeholder-outline {
  height: 240px;
  width: auto;
  object-fit: contain;
  opacity: 0.3;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.viewer-placeholder p {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bbb;
}

.viewer-placeholder small {
  font-size: 11px;
  color: #ccc;
  letter-spacing: 0.06em;
}

.info-panel {
  padding: 56px 52px 80px;
  background: var(--blush);
  overflow-y: auto;
  min-width: 0;
}

.board-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
  text-decoration: none;
  margin-bottom: 44px;
  transition: color 0.2s;
}

.board-detail-back:hover { color: var(--forest); }

.board-detail-back::before {
  content: '←';
  font-size: 14px;
}

.board-detail-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 10px;
}

.board-detail-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 300;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.board-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
}

.board-attr {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid rgba(90, 123, 80, 0.35);
  border-radius: 2px;
  color: var(--forest);
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 28px;
  gap: 0;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 0;
  margin-right: 28px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.tab-btn:hover { color: var(--forest); }

.tab-btn.active {
  color: var(--forest);
  border-bottom-color: var(--hibiscus);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

.tab-pane p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}

.dims-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.dims-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  padding: 0 20px 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-weight: 400;
}

.dims-table td {
  padding: 12px 20px 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: #333;
  font-weight: 300;
}

.dims-table tr:last-child td { border-bottom: none; }

.construction-options {
  margin-top: 8px;
}

.construction-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 16px;
}

.construction-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.construction-table td {
  padding: 16px 20px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(0,0,0,0.07);
  vertical-align: top;
}

.construction-table tr td:first-child {
  border-radius: 4px 0 0 4px;
  border-right: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
  width: 1%;
}

.construction-table tr td:last-child {
  border-radius: 0 4px 4px 0;
  border-left: none;
  color: #555;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 300;
}

@media (max-width: 700px) {
  .construction-table,
  .construction-table tbody,
  .construction-table tr,
  .construction-table td {
    display: block;
    width: 100%;
  }
  .construction-table tr {
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 4px;
    overflow: hidden;
  }
  .construction-table tr:last-child {
    margin-bottom: 0;
  }
  .construction-table tr td:first-child {
    border: none;
    border-radius: 0;
    white-space: normal;
    width: 100%;
  }
  .construction-table tr td:last-child {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.07);
    border-radius: 0;
  }
}

.order-section {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.order-btn {
  width: 100%;
  padding: 20px 32px;
  background: var(--ocean);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  display: block;
}

.order-btn[hidden] {
  display: none;
}

.order-btn:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

.lead-time {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .board-detail-layout {
    grid-template-columns: 1fr;
  }

  .viewer-panel {
    position: relative;
    top: 0;
    height: 65vw;
    min-height: 300px;
  }

  .info-panel {
    padding: 40px 24px 60px;
  }

  .tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- Story --- */

/* Hero */
.story-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.story-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/holding_board.JPG');
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 32, 26, 0.22) 0%,
    rgba(20, 32, 26, 0.5) 100%
  );
}

.story-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  animation: fadeUp 1s 0.2s var(--ease-out-expo) both;
}

.story-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 9vw, 104px);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
}

.story-hero-title em {
  font-style: italic;
  color: var(--sand);
}

/* Sections */
.story-section {
  background: var(--blush);
  padding: 88px 48px 96px;
}

.story-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Chapter header: I  ——  THE CRAFT */
.chapter-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 52px;
}

.chapter-numeral {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--hibiscus);
  line-height: 1;
}

.chapter-dash {
  flex: 0 0 56px;
  height: 1px;
  background: rgba(90, 123, 80, 0.28);
}

.chapter-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  line-height: 1;
}

/* Two-column: text | photo */
.story-section-body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}

.story-section--alt {
  background: #e8ddd2;
}

.story-section-body--flip {
  grid-template-columns: 400px 1fr;
}

.story-section-body--flip .story-photo-col {
  order: -1;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-text p {
  font-size: 17px;
  line-height: 1.85;
  color: #3d3d3d;
  font-weight: 300;
}

.story-photo-col {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.story-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 6px 20px rgba(0,0,0,0.12);
}

/* CTA */
.story-cta-section {
  background: #1e3026;
  padding: 96px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.story-cta-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(224, 195, 163, 0.6);
}

.story-cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

@media (max-width: 960px) {
  .story-section-body,
  .story-section-body--flip {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-section-body--flip .story-photo-col {
    order: 0;
  }

  .story-photo-col {
    position: static;
  }

  .story-photo {
    aspect-ratio: 3 / 2;
    max-height: 360px;
  }

  .story-photo--plumeria {
    object-position: center 15%;
  }
}

@media (max-width: 768px) {
  .story-sig-top {
    padding: 32px 24px 28px;
  }

  .story-section {
    padding: 64px 24px 72px;
  }

  .story-cta-section {
    padding: 80px 24px;
  }
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #1e3026;
  padding: 64px 48px calc(48px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
  opacity: 0.9;
}

.footer-logo-row .logo-mark {
  color: var(--hibiscus);
  font-size: 16px;
}

.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(224, 195, 163, 0.55);
  margin: 0;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(240, 150, 185, 0.3);
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-nav a {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.2);
  margin: 0;
}

@media (max-width: 768px) {
  .site-footer { padding: 48px 24px calc(40px + env(safe-area-inset-bottom)); }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 20px 28px; }
}

/* --- Details ("How Ordering Works") --- */

.details-hero {
  background: var(--blush);
  padding: calc(var(--nav-h) + 72px) 48px 56px;
  text-align: center;
}

.details-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.details-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 14px;
}

.details-hero-inner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 62px);
  font-weight: 300;
  color: var(--forest);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.details-hero-intro {
  font-size: 17px;
  line-height: 1.75;
  color: #3d3d3d;
  font-weight: 300;
  text-align: left;
  margin-bottom: 16px;
}

.details-hero-lead {
  font-size: 17px;
  font-weight: 500;
  color: var(--forest);
  text-align: left;
  margin-top: 8px;
}

.details-body {
  background: var(--blush);
  padding: 88px 48px 24px;
}

.details-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.details-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.details-section p {
  font-size: 16px;
  line-height: 1.75;
  color: #3d3d3d;
  font-weight: 300;
  margin-bottom: 16px;
}

.details-section p:last-child {
  margin-bottom: 0;
}

.details-section ul {
  list-style: disc;
  margin: 4px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.details-section ul:last-child {
  margin-bottom: 0;
}

.details-section li {
  font-size: 16px;
  line-height: 1.7;
  color: #3d3d3d;
  font-weight: 300;
}

.details-section strong {
  font-weight: 600;
  color: var(--forest);
}

.details-faq {
  background: #fff;
  border-radius: 16px;
  padding: 44px 44px 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.details-faq-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 10px;
}

.details-faq h2 {
  margin-bottom: 8px;
}

.faq-item {
  padding: 26px 0;
  border-top: 1px solid rgba(90, 123, 80, 0.15);
}

.faq-item:last-child {
  padding-bottom: 30px;
}

.faq-question {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
}

.faq-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--sand);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.faq-item h3 {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

.faq-item p {
  margin-bottom: 0;
  padding-left: 31px;
}

.details-cta {
  background: var(--blush);
  text-align: center;
  padding: 8px 48px 100px;
}

.details-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 52px;
  background: var(--ocean);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease;
}

.details-cta-btn:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .details-hero {
    padding: calc(var(--nav-h) + 48px) 24px 40px;
  }
  .details-body {
    padding: 64px 24px 16px;
  }
  .details-inner {
    gap: 48px;
  }
  .details-cta {
    padding: 8px 24px 80px;
  }
  .details-faq {
    padding: 32px 24px 8px;
  }
}

/* --- Details: Path Sections --- */

.path-section {
  background: #f5f0eb;
  padding: 72px 48px;
}

.path-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.path-section-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}

.path-section-body {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 56px;
  align-items: center;
}

.path-section-body--flip {
  grid-template-columns: 1fr 330px;
}

.path-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.path-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #3d3d3d;
  font-weight: 300;
}

.path-text strong {
  font-weight: 600;
  color: var(--forest);
}

.path-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 6px 20px rgba(0,0,0,0.12);
}

@media (max-width: 960px) {
  .path-section-body,
  .path-section-body--flip {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .path-photo {
    aspect-ratio: 4 / 3;
    max-height: 380px;
  }
}

@media (max-width: 768px) {
  .path-section {
    padding: 56px 24px;
  }
}

/* --- Order Custom Page: Path Cards --- */

.order-paths {
  background: var(--blush);
  padding: 24px 48px 96px;
}

.order-paths-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.order-path-card {
  background: #fff;
  border-radius: 16px;
  padding: 44px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.order-path-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.order-path-card .order-path-eyebrow {
  color: var(--ocean);
}

.order-path-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.order-path-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #3d3d3d;
  font-weight: 300;
  margin-bottom: 16px;
}

.order-path-card strong {
  font-weight: 600;
  color: var(--forest);
}

.order-path-card--direct {
  justify-content: flex-start;
}

.order-path-card--direct .order-path-btn {
  margin-top: 12px;
}

.order-path-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 52px;
  background: var(--ocean);
  color: #fff;
  border: none;
  text-decoration: none;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  align-self: center;
}

.order-path-btn:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

.order-path-note {
  font-size: 13px;
  color: #666;
  margin-top: 14px;
  margin-bottom: 0;
}

.order-details-link {
  text-align: center;
  padding: 0 24px 96px;
  font-size: 15px;
  color: #444;
}

.order-details-link a {
  color: var(--ocean);
  font-weight: 500;
}

@media (max-width: 960px) {
  .order-paths-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .order-paths {
    padding: 16px 24px 72px;
  }
  .order-path-card {
    padding: 32px 24px;
  }
  .order-path-btn {
    padding: 16px 40px;
  }
}

/* --- Order Placeholder --- */

.placeholder-page {
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  padding: 80px 24px;
  text-align: center;
}

.placeholder-inner {
  max-width: 520px;
}

.placeholder-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 14px;
}

.placeholder-inner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
  color: var(--forest);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.placeholder-inner p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 28px;
}

/* --- Board Order Page --- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.order-summary-panel {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  background: #ede7df;
  overflow-y: auto;
  display: flex;
}

.order-summary-inner {
  margin: auto 0;
  padding: 48px 44px;
  width: 100%;
}

.order-summary-outline {
  height: 140px;
  width: auto;
  display: block;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.order-summary-board {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 32px;
}

.price-breakdown {
  margin-bottom: 20px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.price-line[hidden] {
  display: none;
}

.price-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--forest);
}

.price-note {
  font-size: 13px;
  line-height: 1.6;
  color: #777;
  margin-bottom: 28px;
}

.deposit-box {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 6px;
  padding: 20px 22px;
  margin-bottom: 24px;
}

.deposit-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--ocean);
  margin-bottom: 8px;
}

.deposit-amount span {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-left: 6px;
}

.deposit-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

.form-error {
  font-size: 13px;
  color: #b3453a;
  margin-top: 12px;
  text-align: center;
}

.order-form-panel {
  padding: 56px 52px 96px;
  background: var(--blush);
  overflow-y: auto;
  min-width: 0;
}

.order-form-intro {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 44px;
  max-width: 640px;
}

.order-form-intro a {
  color: var(--ocean);
  font-weight: 500;
}

.form-section {
  margin-bottom: 36px;
  max-width: 640px;
}

.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 14px;
}

.form-label-note {
  text-transform: none;
  letter-spacing: 0.01em;
  color: #999;
  font-size: 12px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 4px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
}

.radio-option input,
.checkbox-option input {
  accent-color: var(--ocean);
}

.option-note {
  margin-left: auto;
  font-size: 12px;
  color: #888;
}

.text-field {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 16px;
}

.text-field input,
.text-field textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #2b2b2b;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  text-transform: none;
  letter-spacing: normal;
}

.text-field textarea {
  resize: vertical;
  font-family: 'Jost', sans-serif;
}

.text-field input:focus,
.text-field textarea:focus {
  outline: none;
  border-color: var(--ocean);
}

@media (max-width: 900px) {
  .order-summary-panel {
    position: relative;
    top: 0;
    height: auto;
  }

  .order-form-panel {
    padding: 40px 24px 60px;
  }
}

/* --- Order Confirmation Page --- */

.confirmation-main {
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  padding: 80px 24px;
  text-align: center;
}

.confirmation-card {
  max-width: 560px;
}

.confirmation-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 14px;
}

.confirmation-card h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
  color: var(--forest);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.confirmation-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.confirmation-card a {
  color: var(--ocean);
  font-weight: 500;
}

/* --- Contact Page --- */

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

#contactPaths .order-paths-inner {
  align-items: start;
}

#contactPaths .contact-links {
  margin-top: 32px;
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-link:hover {
  border-color: var(--ocean);
  transform: translateY(-2px);
}

.contact-link-label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
}

.contact-link-value {
  font-family: 'Jost', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--forest);
}

.contact-form-success {
  text-align: center;
  padding: 40px 0;
}

.contact-form-success h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 12px;
}

.contact-form-success p {
  font-size: 15px;
  line-height: 1.7;
  color: #3d3d3d;
}

