/*!
Theme Name: Deigja Development Custom Theme
Theme URI: http://underscores.me/
Author: Sarah Severson
Author URI: https://deigjadevelopment.com/
Description: Custom theme for Deigja Development — web development and automation solutions.
Version: 1.1.0
Tested up to: 6.5
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: deigja-development-custom-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
  - Normalize
  - Box sizing
# Base
  - Typography
  - Elements
  - Links
  - Forms
# Components
  - Navigation
  - Posts and pages
  - Comments
  - Widgets
  - Media
  - Captions
  - Galleries
# Plugins
  - Jetpack infinite scroll
# Utilities
  - Accessibility
  - Alignments
# Theme: Deigja Custom
  - CSS Variables
  - Global reset
  - Nav
  - Hero
  - Sections (shared)
  - Trust strip
  - Services
  - Mission
  - Projects (home cards)
  - Service request form
  - About page
  - Strengths section
  - Projects page (listing + case study)
  - Footer
  - Animations
  - Mobile / responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic — Normalize
--------------------------------------------------------------*/
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body { margin: 0; }
main { display: block; }
h1 { font-size: 2em; margin: 0.67em 0; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; }
a { background-color: transparent; }
abbr[title] { border-bottom: none; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; }
button, input, optgroup, select, textarea {
  font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;
}
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { padding: 0.35em 0.75em 0.625em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
template { display: none; }
[hidden] { display: none; }

/*--------------------------------------------------------------
# Generic — Box sizing
--------------------------------------------------------------*/
*, *::before, *::after { box-sizing: inherit; }
html { box-sizing: border-box; }

/*--------------------------------------------------------------
# Base — Typography
--------------------------------------------------------------*/
body, button, input, select, optgroup, textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { clear: both; }
p { margin-bottom: 1.5em; }
dfn, cite, em, i { font-style: italic; }
blockquote { margin: 0 1.5em; }
address { margin: 0 0 1.5em; }
pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}
code, kbd, tt, var { font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }
abbr, acronym { border-bottom: 1px dotted #666; cursor: help; }
mark, ins { background: #fff9c0; text-decoration: none; }
big { font-size: 125%; }

/*--------------------------------------------------------------
# Base — Elements
--------------------------------------------------------------*/
body { background: #fff; }
hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; }
ul, ol { margin: 0 0 1.5em 3em; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }
dt { font-weight: 700; }
dd { margin: 0 1.5em 1.5em; }
embed, iframe, object { max-width: 100%; }
img { height: auto; max-width: 100%; }
figure { margin: 1em 0; }
table { margin: 0 0 1.5em; width: 100%; }

/*--------------------------------------------------------------
# Base — Links
--------------------------------------------------------------*/
a { color: #4169e1; }
a:visited { color: inherit; }
a:hover, a:focus, a:active { color: #191970; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

/*--------------------------------------------------------------
# Base — Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover { border-color: #ccc #bbb #aaa; }
button:active, button:focus,
input[type="button"]:active, input[type="button"]:focus,
input[type="reset"]:active, input[type="reset"]:focus,
input[type="submit"]:active, input[type="submit"]:focus { border-color: #aaa #bbb #bbb; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="range"],
input[type="date"], input[type="month"], input[type="week"], input[type="time"],
input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
  color: #666; border: 1px solid #ccc; border-radius: 3px; padding: 3px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus,
input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus,
input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus,
input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus,
input[type="datetime"]:focus, input[type="datetime-local"]:focus,
input[type="color"]:focus, textarea:focus { color: #111; }
select { border: 1px solid #ccc; }
textarea { width: 100%; }

/*--------------------------------------------------------------
# Components — Navigation (Underscores default)
--------------------------------------------------------------*/
.main-navigation { display: block; width: 100%; }
.main-navigation ul { display: none; list-style: none; margin: 0; padding-left: 0; }
.main-navigation ul ul { box-shadow: 0 3px 3px rgba(0,0,0,0.2); float: left; position: absolute; top: 100%; left: -999em; z-index: 99999; }
.main-navigation ul ul ul { left: -999em; top: 0; }
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { display: block; left: auto; }
.main-navigation ul ul a { width: 200px; }
.main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; text-decoration: none; }
.menu-toggle, .main-navigation.toggled ul { display: block; }
@media screen and (min-width: 37.5em) {
  .menu-toggle { display: none; }
  .main-navigation ul { display: flex; }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation { margin: 0 0 1.5em; }
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links { display: flex; }
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous { flex: 1 0 50%; }
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next { text-align: end; flex: 1 0 50%; }

/*--------------------------------------------------------------
# Components — Posts and pages
--------------------------------------------------------------*/
.sticky { display: block; }
.post, .page { margin: 0 0 1.5em; }
.updated:not(.published) { display: none; }
.page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; }
.page-links { clear: both; margin: 0 0 1.5em; }

/*--------------------------------------------------------------
# Components — Comments
--------------------------------------------------------------*/
.comment-content a { word-wrap: break-word; }
.bypostauthor { display: block; }

/*--------------------------------------------------------------
# Components — Widgets
--------------------------------------------------------------*/
.widget { margin: 0 0 1.5em; }
.widget select { max-width: 100%; }

/*--------------------------------------------------------------
# Components — Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; }
.custom-logo-link { display: inline-block; }

/*--------------------------------------------------------------
# Components — Captions
--------------------------------------------------------------*/
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
.wp-caption .wp-caption-text { margin: 0.8075em 0; }
.wp-caption-text { text-align: center; }

/*--------------------------------------------------------------
# Components — Galleries
--------------------------------------------------------------*/
.gallery { margin-bottom: 1.5em; display: grid; grid-gap: 1.5em; }
.gallery-item { display: inline-block; text-align: center; width: 100%; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }
.gallery-caption { display: block; }

/*--------------------------------------------------------------
# Plugins — Jetpack infinite scroll
--------------------------------------------------------------*/
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer { display: none; }
.infinity-end.neverending .site-footer { display: block; }

/*--------------------------------------------------------------
# Utilities — Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1; border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0,0,0,0.6); clip: auto !important; clip-path: none;
  color: #21759b; display: block; font-size: 0.875rem; font-weight: 700;
  height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px;
  text-decoration: none; top: 5px; width: auto; z-index: 100000;
}
#primary[tabindex="-1"]:focus { outline: 0; }

/*--------------------------------------------------------------
# Utilities — Alignments
--------------------------------------------------------------*/
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; }


/* ============================================================
   THEME: DEIGJA DEVELOPMENT CUSTOM STYLES
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --cream: #F0EAE3;
  --cream-dark: #E5DDD5;
  --slate: #5B7A8E;
  --slate-dark: #3E5A6E;
  --slate-light: #8AAABB;
  --slate-pale: #C8D8E0;
  --slate-bg: #D6E2E8;
  --text-dark: #2A3A44;
  --text-mid: #4A6070;
  --text-light: #7A9AAA;
  --white: #FAFAF8;
  --accent: #4E7A6E;
  --accent-light: #B8D0CA;
  --border: rgba(91,122,142,0.18);
  --border-strong: rgba(91,122,142,0.32);
}

/* ── Global reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Nav ── */
nav#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--slate-dark);
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: all 0.3s ease;
}
.admin-bar nav#main-nav { top: 32px; }
nav#main-nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.2); }

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  height: 100%;
}
.logo-mark {
  display: flex;
  align-items: center;
  height: 56px;
}
.site-logo {
  max-height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a,
.nav-links a:link,
.nav-links a:visited {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: left;
}
.nav-links a:hover,
.nav-links a:active { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta,
.nav-cta:link,
.nav-cta:visited {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-dark) !important;
  text-decoration: none;
  background: var(--cream);
  padding: 10px 22px;
  border-radius: 4px;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* Beachside Breads nav button — mirrors the BB brand (sage/blush/cream,
   Cormorant Garamond italic) rather than the Deigja Development slate look. */
.nav-bb-cta,
.nav-bb-cta:link,
.nav-bb-cta:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #6B5B4F !important;
  text-decoration: none;
  background: #FAF6F0;
  border: 1px solid rgba(43,41,38,0.14);
  padding: 9px 20px 9px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav-bb-cta::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9CAB94;
  flex-shrink: 0;
}
.nav-bb-cta:hover {
  background: #FFFFFF;
  border-color: rgba(43,41,38,0.24);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.8);
  transition: all 0.3s;
}

/* Content offset so body doesn't hide under fixed nav */
#content.site-content { margin-top: 72px; }
.admin-bar #content.site-content { margin-top: 104px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding: 0 0 0;
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}
.hero-left {
  padding: 80px 64px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 400;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--slate-light);
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero-headline em { font-style: italic; color: var(--slate); }
.hero-headline em#rotating-word {
  display: inline-block;
  transition: opacity 0.4s ease;
}
.hero-headline em#rotating-word.is-swapping { opacity: 0; }
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 420px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-right {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0;
    /* Flush against the fixed nav — no gap along the top edge */
    align-self: stretch;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,58,68,0.06), rgba(42,58,68,0.22));
}
.hero-visual { position: relative; z-index: 1; width: 340px; height: 560px; margin: 0 auto; }
.hero-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 28px;
  position: absolute;
  box-shadow: 0 4px 32px rgba(62,90,110,0.10);
}
.hero-card-main { width: 280px; top: 0; left: 0; }
.hero-card-sub { width: 220px; top: 360px; left: 0; padding: 20px 24px; }
.card-chip {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--slate-pale);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.card-desc { font-size: 13px; color: var(--text-mid); line-height: 1.55; font-weight: 300; }
.card-stat { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.card-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--slate-dark);
}
.card-stat-label { font-size: 12px; color: var(--text-light); font-weight: 300; }
.rune-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.07;
  width: 320px; height: 320px;
}

/* ── Shared buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  background: var(--slate-dark);
  padding: 14px 28px;
  border-radius: 4px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover {
  background: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(62,90,110,0.18);
  color: var(--white);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-dark);
  text-decoration: none;
  border: 1px solid var(--border-strong);
  padding: 14px 28px;
  border-radius: 4px;
  transition: all 0.2s;
  background: transparent;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-secondary:hover {
  background: var(--slate-pale);
  border-color: var(--slate);
  transform: translateY(-1px);
  color: var(--slate-dark);
}

/* ── Shared section styles ── */
section { padding: 96px 80px; }
.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 400;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--slate-light);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ── Trust strip ── */
.trust-strip {
  background: var(--slate-dark);
  padding: 40px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-item:last-child { border-right: none; }
.trust-item:first-child { padding-left: 0; }
.trust-icon { font-size: 18px; color: var(--slate-pale); margin-bottom: 4px; }
.trust-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}
.trust-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.01em;
}

/* ── Services section ── */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
  cursor: default;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--cream); }
.service-icon {
  width: 48px; height: 48px;
  background: var(--slate-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--slate-dark);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-desc { font-size: 14px; color: var(--text-mid); line-height: 1.65; font-weight: 300; margin-bottom: 20px; }
.service-items { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
.service-items li {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-items li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--slate-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Mission section ── */
.mission-section {
  background: var(--slate-dark);
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}
.mission-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.mission-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}
.mission-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 40px;
}
.mission-bg-rune {
  position: absolute;
  top: 50%; right: -80px;
  transform: translateY(-50%);
  opacity: 0.04;
  width: 500px; height: 500px;
}

/* ── Projects (home page cards) ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(62,90,110,0.12);
}
.project-thumb {
  height: 200px;
  background: var(--slate-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.project-thumb-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--slate-dark);
  letter-spacing: 0.05em;
  opacity: 0.4;
}
.project-body { padding: 28px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.project-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--slate-pale);
  padding: 3px 10px;
  border-radius: 20px;
}
.project-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.project-summary { font-size: 14px; color: var(--text-mid); line-height: 1.6; font-weight: 300; margin-bottom: 20px; }
.project-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  font-weight: 400;
}
.project-link:hover { gap: 10px; color: var(--slate-dark); }

/* ── Service request form ── */
.request-section {
  background: var(--cream-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 96px 80px;
}
.request-left { padding-right: 40px; }
.service-types { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.service-type {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-type:hover {
  border-color: var(--slate);
  box-shadow: 0 4px 16px rgba(91,122,142,0.10);
}
.service-type-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.service-type-desc { font-size: 13px; color: var(--text-mid); line-height: 1.6; font-weight: 300; }
.request-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
}
.form-input {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--slate); background: var(--white); }
textarea.form-input { resize: vertical; min-height: 100px; }
.radio-group { display: flex; gap: 12px; }
.radio-option {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-weight: 400;
}
.radio-option:hover, .radio-option.selected {
  border-color: var(--slate);
  background: var(--slate-pale);
  color: var(--slate-dark);
}
	/*WPForm Custom Styling*/
.wpforms-container {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px !important;
}

.wpforms-container .wpforms-head {
    padding: 0 !important;
    margin-bottom: 28px !important;
}

/* Form Title */
.wpforms-container .wpforms-title {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    color: var(--text-dark) !important;
}

/* Labels: Small, uppercase, tracked out */
.wpforms-container .wpforms-field-label {
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--text-light) !important;
    font-weight: 400 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* Inputs & Textareas */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container textarea {
    background: var(--cream) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    color: var(--text-dark) !important;
    transition: border-color 0.2s, background 0.2s !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
}

/* Focus States */
.wpforms-container input[type="text"]:focus,
.wpforms-container input[type="email"]:focus,
.wpforms-container textarea:focus {
    border-color: var(--slate) !important;
    background: var(--white) !important;
}

/* First & Last Name Row Layout */

.wpforms-container .wpforms-field-name .wpforms-field-row-block {
	padding: 0 !important;
	margin: 0 !important;
}
/* ── Radio Options Transformation ── */
/* Replicates your flexible horizontal row style instead of vertical lists */
.wpforms-container .wpforms-field-radio ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 12px !important;
}

.wpforms-container .wpforms-field-radio li {
    flex: 1 !important;
    margin: 0 !important;
    position: relative;
}

/* Style the label to look like your old .radio-option div */
.wpforms-container .wpforms-field-radio li label {
    display: block !important;
    background: var(--cream) !important;
    border: 1px solid var(--border) !important;	
    border-radius: 6px !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    color: var(--text-mid) !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.2s !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Hide the actual ugly native radio circle input behind it */
.wpforms-container .wpforms-field-radio li input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    clip: rect(0,0,0,0) !important;
}

/* Hover and Checked/Selected styles for the custom radio options */
.wpforms-container .wpforms-field-radio li:hover label,
.wpforms-container .wpforms-field-radio li input[type="radio"]:checked + label {
    border-color: var(--slate) !important;
    background: var(--slate-pale) !important;
    color: var(--slate-dark) !important;
}

/* Submit Button Mapping (Maps to your .btn-primary template button) */
.wpforms-container .wpforms-submit-container {
    padding: 0 !important;
    margin: 0 !important;
}

.wpforms-container button.wpforms-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 24px !important;
    background: var(--slate-dark) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.2s, transform 0.2s !important;
}

.wpforms-container button.wpforms-submit:hover {
    background: var(--slate) !important;
}

/* ── About page ── */
.about-hero {
  padding: 140px 80px 96px;
  display: 
      ;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--slate-dark);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--slate-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(30%);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-bio { font-size: 16px; line-height: 1.75; color: var(--text-mid); font-weight: 300; margin-bottom: 16px; }
.about-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.about-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  background: var(--slate-dark);
  padding: 14px 24px;
  border-radius: 4px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
}
.about-btn:hover { background: var(--text-dark); color: var(--white); }
.about-btn.outline {
  background: transparent;
  color: var(--slate-dark);
  border: 1px solid var(--border-strong);
}
.about-btn.outline:hover { background: var(--slate-pale); color: var(--slate-dark); }

/* ── Strengths section ── */
.strengths-section { background: var(--slate-bg); padding: 80px; }
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.strength-col { background: var(--slate-bg); padding: 36px 32px; }
.strength-col-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 400;
  margin-bottom: 20px;
}
.strength-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.strength-list li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.strength-list li:last-child { border-bottom: none; }

/* ── Projects page — listing ── */
.projects-page-header { padding: 140px 80px 64px; background: var(--cream); }
.projects-listing { padding: 0 80px 80px; }
.projects-listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}
.project-listing-card {
  background: var(--white);
  padding: 48px;
  cursor: pointer;
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
}
.project-listing-card:hover { background: var(--cream); }
.plc-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--slate-pale);
  margin-bottom: 20px;
  line-height: 1;
}
.plc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.plc-sub { font-size: 14px; color: var(--text-mid); font-weight: 300; line-height: 1.55; margin-bottom: 24px; flex: 1; }
.plc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.plc-arrow {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

/* ── Projects page — case study ── */
.project-case {
  display: none;
  padding: 48px 80px 80px;     
}
.project-case.visible { display: block; }

/* Back button */
.case-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 48px;
  transition: color 0.2s;
}
.case-back-btn:hover { color: var(--text-dark); }

/* Case study header */
.case-header {
  padding-bottom: 0;
  margin-bottom: 0;
}
.case-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  color: var(--text-dark);
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.05;
}
.case-subtitle {
  font-size: 18px;
  color: var(--text-mid);
  font-weight: 300;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 0;
}

/* Meta strip */
.case-meta {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0 48px;
  flex-wrap: wrap;
}
.case-meta-item { display: flex; flex-direction: column; gap: 4px; }
.case-meta-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
}
.case-meta-value { font-size: 14px; color: var(--text-dark); font-weight: 400; }

/* Section labels within case study */
.case-section-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 400;
  margin-top: 52px;
  margin-bottom: 18px;
}

/* Body copy */
.case-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 720px;
  margin-bottom: 0;
}

/* Challenge / solution cards */
.case-challenge {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--slate);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.challenge-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
  font-weight: 400;
}
.challenge-text { font-size: 14px; color: var(--text-mid); line-height: 1.6; font-weight: 300; }
.challenge-solution {
  font-size: 14px;
  color: var(--accent);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-weight: 400;
  line-height: 1.6;
}

/* Screenshot gallery */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.screenshot-frame {
  background: var(--slate-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;   
}

.screenshot-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;             
  object-fit: contain;
  object-position: top;
  display: block;
} 

/* Bottom of case study */
.case-actions {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ── Footer ── */
footer {
  background: var(--text-dark);
  padding: 56px 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 300; line-height: 1.6; max-width: 280px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.footer-contact a,
.footer-contact a:link,
.footer-contact a:visited {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
  align-self: flex-start;
}
.footer-contact a:hover { color: var(--white); transform: translateX(3px); }
.footer-right { display: flex; flex-direction: column; gap: 24px; align-items: flex-end; }
.footer-nav { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.footer-nav a,
.footer-nav a:link,
.footer-nav a:visited {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-social { margin-top: 8px; }
.footer-social a,
.footer-social a:link,
.footer-social a:visited {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin-top: 40px;
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ── Mobile / responsive ── */
@media (max-width: 900px) {
  nav#main-nav { padding: 0 24px; }
  section { padding: 60px 24px; }
  .trust-strip { padding: 40px 24px; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-item { border-right: none; padding: 0; }
  footer { padding: 60px 24px 40px; grid-template-columns: 1fr; }
  .footer-right { align-items: flex-start; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 60px 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--border); }

  .projects-grid { grid-template-columns: 1fr; }
  .projects-listing-grid { grid-template-columns: 1fr; }

  .request-section { grid-template-columns: 1fr; padding: 60px 24px; }
  .request-left { padding-right: 0; }

  .about-hero { grid-template-columns: 1fr; padding: 120px 24px 60px; }
  .strengths-section { padding: 60px 24px; }
  .strengths-grid { grid-template-columns: 1fr; }

  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-bb-cta { display: none; }

  .projects-page-header { padding: 120px 24px 48px; }
  .projects-listing { padding: 0 24px 60px; }

  .project-case { padding: 32px 24px 60px; }
  .case-meta { gap: 16px; }

  .mission-section { padding: 80px 24px; }
}

.hero-headline em {
	display: inline-block;
	transition: opacity 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Beachside Breads — tokens ── */
.bb-page {
  --bb-sage: #9CAB94;
  --bb-sage-light: #C3D0BC;
  --bb-sage-pale: #EEF1E9;
  --bb-blush: #E8C4C0;
  --bb-blush-pale: #F6E5E3;
  --bb-cream: #FAF6F0;
  --bb-white: #FFFFFF;
  --bb-brown: #6B5B4F;
  --bb-brown-light: #9C8C7E;
  --bb-ink: #2B2926;
  --bb-ink-soft: #5C5650;
  --bb-border: rgba(43,41,38,0.10);
  --bb-border-strong: rgba(43,41,38,0.18);
  --bb-shadow: 0 12px 32px rgba(43,41,38,0.06);

  background: var(--bb-cream);
  color: var(--bb-ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
/* ── Layout primitives ── */
.bb-section {
  padding: 100px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.bb-section-alt { background: var(--bb-white); max-width: 100%; }
.bb-section-alt > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.bb-section-alt { padding: 100px 0; }
.bb-section-alt .bb-section-head,
.bb-section-alt .bb-gallery-grid { padding: 0 80px; }

.bb-section-head { max-width: 640px; margin-bottom: 56px; }

.bb-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-brown);
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bb-label::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--bb-sage);
}

.bb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--bb-ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.bb-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--bb-ink-soft);
  font-weight: 300;
}

.bb-placeholder-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-brown-light);
  background: rgba(255,255,255,0.7);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--bb-border);
}

/* ── Sunrise mark (footer only) ── */
.bb-mark { width: 64px; color: var(--bb-sage); margin-bottom: 28px; }
.bb-mark-svg { width: 100%; display: block; }
.bb-mark-small { width: 40px; margin-bottom: 14px; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.bb-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 92vh;
  align-items: stretch;
}

/* Left gradient panel */
.bb-hero-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #E8F0E4 0%, #F0DDD9 45%, #F8EDE8 80%, #FBF5F0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  isolation: isolate;
}

/* Dot texture overlay */
.bb-hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(43,41,38,0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* Light bloom top-left */
.bb-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 35% 30%, rgba(255,255,255,0.45), transparent 60%);
  pointer-events: none;
}

.bb-hero-image-placeholder { display: none; }

/* Logo wrap — centers image + stamp, forces background transparency */
.bb-logo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  text-align: center;
  background: transparent !important;
}

/* Logo image — bulletproof white-removal.
   mix-blend-mode handles transparent-PNG cases.
   If the PNG itself has a baked-in white background,
   the blend mode alone won't remove it — see note below. */
.bb-page .bb-hero-image,
.bb-page img.bb-hero-image {
  width: 92% !important;
  max-width: 460px !important;
  height: auto;
  display: block !important;
  margin: 0 auto !important;
  background: transparent !important;
  mix-blend-mode: multiply !important;
  filter: drop-shadow(0 6px 20px rgba(43,41,38,0.06));
}

/* Est. stamp below logo — sized up */
.bb-location-stamp {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #9C8C7E;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}
.bb-location-stamp::before,
.bb-location-stamp::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: rgba(156,140,126,0.45);
}

/* Right white panel */
.bb-hero-content {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bb-white);
}

/* Seasonal badge */
.bb-page .bb-seasonal-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9CAB94;
  background: #EEF1E9;
  border: 1px solid rgba(156,171,148,0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  width: fit-content;
}
.bb-page .bb-seasonal-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9CAB94;
  flex-shrink: 0;
}

.bb-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-brown-light);
  font-weight: 400;
  margin-bottom: 16px;
}

.bb-hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--bb-ink);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.bb-hero-headline em {
  font-style: italic;
  color: var(--bb-brown);
}

.bb-hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--bb-ink-soft);
  font-weight: 300;
  max-width: 400px;
  margin-bottom: 32px;
}

.bb-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Availability note */
.bb-avail-note {
  margin-top: 22px;
  font-size: 11px;
  color: #9C8C7E;
  font-weight: 300;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.bb-avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9CAB94;
  flex-shrink: 0;
  display: inline-block;
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.bb-btn-primary,
.bb-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid transparent;
}
.bb-page .bb-btn-primary,
.bb-page a.bb-btn-primary {
  background: var(--bb-ink) !important;
  color: #FFFFFF !important;
}
.bb-page .bb-btn-primary:hover,
.bb-page a.bb-btn-primary:hover {
  background: var(--bb-brown) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43,41,38,0.18);
}
.bb-page .bb-btn-secondary,
.bb-page a.bb-btn-secondary {
  background: transparent !important;
  color: var(--bb-ink) !important;
  border-color: var(--bb-border-strong) !important;
}
.bb-page .bb-btn-secondary:hover,
.bb-page a.bb-btn-secondary:hover {
  background: var(--bb-sage-pale) !important;
  border-color: var(--bb-sage) !important;
  color: var(--bb-ink) !important;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   THIS WEEK'S MENU
══════════════════════════════════════ */
.bb-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bb-menu-card {
  background: var(--bb-white);
  border: 1px solid var(--bb-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.bb-menu-card:hover { transform: translateY(-4px); box-shadow: var(--bb-shadow); }
.bb-menu-card-photo {
  height: 160px;
  background: linear-gradient(160deg, var(--bb-sage-pale), var(--bb-blush-pale));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-menu-card-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}
.bb-sold-out-tag,
.bb-limited-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.bb-sold-out-tag { background: var(--bb-ink); color: var(--bb-white); }
.bb-limited-tag { background: var(--bb-blush); color: var(--bb-ink); }
.bb-menu-card-body { padding: 22px 24px 26px; }
.bb-menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.bb-menu-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--bb-ink);
  line-height: 1.25;
}
.bb-menu-card-price { font-size: 14px; color: var(--bb-brown); font-weight: 500; white-space: nowrap; }
.bb-menu-card-desc { font-size: 14px; color: var(--bb-ink-soft); font-weight: 300; line-height: 1.55; }
.bb-status-sold-out .bb-menu-card-photo,
.bb-status-sold-out .bb-menu-card-name,
.bb-status-sold-out .bb-menu-card-desc { opacity: 0.55; }

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
.bb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.bb-gallery-card {
  background: var(--bb-cream);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bb-border);
}
.bb-gallery-photo {
  height: 200px;
  background: linear-gradient(150deg, var(--bb-blush-pale), var(--bb-sage-pale));
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.bb-gallery-body { padding: 22px 24px 26px; }
.bb-gallery-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--bb-ink);
  margin-bottom: 8px;
}
.bb-gallery-desc { font-size: 14px; color: var(--bb-ink-soft); font-weight: 300; line-height: 1.55; margin-bottom: 18px; }
.bb-gallery-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bb-gallery-price { font-size: 14px; color: var(--bb-brown); font-weight: 500; }
.bb-gallery-badge {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bb-sage);
  background: var(--bb-sage-pale);
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.bb-gallery-img {
  background: transparent !important;
  mix-blend-mode: normal;
}


/* ══════════════════════════════════════
   CUSTOM ORDERS
══════════════════════════════════════ */
.bb-custom-orders { background: var(--bb-sage-pale); max-width: 100%; padding: 100px 0; }
.bb-custom-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.bb-custom-form-wrap {
  background: var(--bb-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--bb-shadow);
}
.bb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.bb-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.bb-form-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-brown);
  font-weight: 500;
}
.bb-form-input {
  background: var(--bb-cream);
  border: 1px solid var(--bb-border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--bb-ink);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
.bb-form-input:focus { border-color: var(--bb-sage); background: var(--bb-white); }
textarea.bb-form-input { resize: vertical; min-height: 90px; }
.bb-form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.bb-form-note { font-size: 12px; color: var(--bb-brown-light); font-weight: 300; margin-top: 14px; text-align: center; }

/* ══════════════════════════════════════
   SUGGEST A BAKE
══════════════════════════════════════ */
.bb-suggest { max-width: 100%; background: var(--bb-white); }
.bb-suggest-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.bb-suggest-form { display: flex; flex-direction: column; gap: 16px; }
.bb-suggest-form .bb-btn-primary { align-self: center; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.bb-faq-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.bb-faq-item { padding: 22px 0; border-bottom: 1px solid var(--bb-border); }
.bb-faq-item:first-of-type { padding-top: 0; }
.bb-faq-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--bb-ink);
  margin-bottom: 8px;
}
.bb-faq-a { font-size: 14px; color: var(--bb-ink-soft); font-weight: 300; line-height: 1.65; }
.bb-faq-qr {
  background: var(--bb-cream);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  border: 1px solid var(--bb-border);
}
.bb-qr-placeholder {
  width: 140px; height: 140px;
  margin: 0 auto 18px;
  background: var(--bb-white);
  border: 1px solid var(--bb-border-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-qr-caption { font-size: 13px; color: var(--bb-ink-soft); font-weight: 300; line-height: 1.5; }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.bb-about-section { max-width: 100%; background: var(--bb-sage-pale); padding: 100px 0; }
.bb-about-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.bb-about-photo {
  aspect-ratio: 4/5;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--bb-blush-pale), var(--bb-white));
  border: 1px solid var(--bb-border);
  overflow: hidden;
  position: relative;
}
.bb-about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bb-about-body { font-size: 16px; line-height: 1.75; color: var(--bb-ink-soft); font-weight: 300; margin-bottom: 16px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.bb-footer {
  background: var(--bb-ink);
  color: var(--bb-white);
  padding: 72px 80px 32px;
}
.bb-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.bb-footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.bb-footer-tag { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 300; }
.bb-footer-col-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
  font-weight: 500;
}
.bb-footer-line { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 300; margin-bottom: 6px; }
.bb-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.bb-footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.bb-footer-bottom a:hover { color: var(--bb-white); }

/*    BEACHSIDE HEADER */
.bb-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(43,41,38,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(43,41,38,0.02);
}
.bb-header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bb-header-text-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.65rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.bb-word-beach { color: #2D5A43; }
.bb-word-breads { color: #B8897A; }
.bb-header-text-logo:hover .bb-word-beach { color: #3E7A5E; }
.bb-header-text-logo:hover .bb-word-breads { color: #C4A090; }

.bb-header-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.bb-nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #5C5650;
  text-decoration: none;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.18s;
}
.bb-nav-link:hover { color: #2B2926; background: #EEF1E9; }
.bb-nav-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  background: #2B2926;
  color: #FFFFFF !important;
  border: 1px solid #2B2926;
  transition: all 0.2s;
  margin-left: 6px;
}
.bb-nav-btn:hover { background: #6B5B4F; border-color: #6B5B4F; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .bb-hero { grid-template-columns: 1fr; min-height: auto; }
  .bb-hero-media { min-height: 320px; padding: 40px; }
  .bb-hero-image { max-width: 280px; }
  .bb-hero-content { padding: 64px 40px; }
  .bb-section { padding: 72px 40px; }
  .bb-section-alt { padding: 72px 0; }
  .bb-section-alt .bb-section-head,
  .bb-section-alt .bb-gallery-grid { padding: 0 40px; }
  .bb-custom-grid,
  .bb-about-grid { padding: 0 40px; grid-template-columns: 1fr; gap: 40px; }
  .bb-custom-orders,
  .bb-about-section { padding: 72px 0; }
  .bb-faq-grid { grid-template-columns: 1fr; }
  .bb-menu-grid,
  .bb-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .bb-footer { padding: 56px 40px 28px; }
  .bb-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .bb-hero-content { padding: 48px 24px; }
  .bb-section { padding: 56px 24px; }
  .bb-section-alt { padding: 56px 0; }
  .bb-section-alt .bb-section-head,
  .bb-section-alt .bb-gallery-grid { padding: 0 24px; }
  .bb-custom-grid,
  .bb-about-grid { padding: 0 24px; }
  .bb-custom-orders,
  .bb-about-section { padding: 56px 0; }
  .bb-menu-grid,
  .bb-gallery-grid { grid-template-columns: 1fr; }
  .bb-form-row { grid-template-columns: 1fr; }
  .bb-footer { padding: 48px 24px 24px; }
  .bb-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .bb-footer-bottom { flex-direction: column; }
  .bb-hero-headline { font-size: clamp(32px, 8vw, 44px); }
}