/* assets/css-test.css */

/* =========================
   Design Tokens
========================= */
:root{
  --sand:#D8D0C8;
  --ivory:#F7F3EC;
  --ink:#1B2424;

  --aqua:#A8C8CC;
  --sea:#78B0C0;
  --palm:#506040;
  --navy:#203040;

  --radius:18px;
  --radiusSm:14px;
  --stroke:rgba(27,36,36,.10);
  --shadow:0 18px 60px rgba(27,36,36,.10);
  --shadow-hover:0 24px 64px rgba(27,36,36,.18);

  --max:1120px;
  --headerH:78px;

  --sectionPadY:56px;
  --sectionPadX:22px;
  --sectionPadYSm:50px;
  --sectionPadXSm:18px;
}

/* =========================
   Base
========================= */
*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:var(--headerH);
}

main section[id]{
  scroll-margin-top:var(--headerH);
}

body{
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--ivory);
  line-height:1.65;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
  transition:color .2s ease;
}

a:focus-visible,
button:focus-visible{
  outline:3px solid rgba(120,176,192,.55);
  outline-offset:3px;
}

.skip{
  position:absolute;
  left:-9999px;
  top:10px;
  background:var(--ivory);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--stroke);
}

.skip:focus{
  left:10px;
  z-index:9999;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:var(--sectionPadY) var(--sectionPadX);
}

/* =========================
   Typography
========================= */
.section-head{
  margin-bottom:18px;
}

.section-head h2{
  font-family:"Fraunces",serif;
  font-weight:600;
  margin:0 0 8px 0;
  font-size:clamp(28px,4vw,44px);
  color:var(--navy);
}

.lead{
  margin:0;
  color:rgba(27,36,36,.72);
  font-size:clamp(15px,1.4vw,18px);
}

h3{
  font-family:"Fraunces",serif;
  font-weight:600;
  margin:0 0 10px 0;
  font-size:22px;
  color:var(--palm);
}

p{
  margin:0 0 12px 0;
}

.muted{
  color:rgba(27,36,36,.70);
  font-size:14px;
}

.tiny{
  font-size:12px;
  margin-top:8px;
}

.fineprint{
  margin-top:20px;
  font-size:13px;
  color:rgba(27,36,36,.68);
  text-align:center;
}

/* =========================
   Sections
========================= */
.section{
  position:relative;
}

.section-sand{
  background:var(--sand);
}

.section-ivory{
  background:var(--ivory);
}

.section-navy{
  background:linear-gradient(135deg,var(--navy),#131c26);
  color:var(--ivory);
}

.section-navy .lead{
  color:rgba(247,243,236,.78);
}

#contact{
  background:linear-gradient(135deg,#6f8692,#566a75);
}

/* =========================
   Top Bar
========================= */
.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:20;
  background:rgba(247,243,236,.85);
  backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid rgba(27,36,36,.08);
  transition:transform .3s ease, background .3s ease;
}

.topbar-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  gap:14px;
  min-height:var(--headerH);
}

.brand{
  display:flex;
  align-items:center;
  gap:16px;
  transition:opacity .2s ease;
}

.brand:hover{
  opacity:.8;
}

.crest{
  height:34px;
  width:auto;
  opacity:.92;
}

.brand-text{
  font-weight:600;
  font-size:14px;
  letter-spacing:.12px;
  color:rgba(27,36,36,.82);
  white-space:nowrap;
}

.nav{
  margin-left:auto;
  display:flex;
  gap:18px;
}

.nav a{
  font-size:13px;
  letter-spacing:.18px;
  color:rgba(27,36,36,.78);
  padding:10px 6px;
  position:relative;
}

.nav a::after{
  content:"";
  position:absolute;
  width:0;
  height:2px;
  bottom:4px;
  left:50%;
  background-color:var(--navy);
  transition:all .3s ease;
  transform:translateX(-50%);
}

.nav a:hover::after,
.nav a.is-active::after{
  width:80%;
}

.nav a:hover{
  color:var(--navy);
}

.nav a.is-active{
  color:var(--navy);
  font-weight:700;
}

.nav-toggle{
  display:none;
  margin-left:auto;
  background:none;
  border:0;
  padding:10px;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:rgba(27,36,36,.75);
  margin:5px 0;
  border-radius:10px;
  transition:all .3s ease;
}

.mobile-nav{
  max-width:var(--max);
  margin:0 auto;
  padding:10px 18px 16px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.mobile-nav[hidden]{
  display:none;
}

.mobile-nav a{
  padding:10px;
  border-radius:12px;
  border:1px solid rgba(27,36,36,.08);
  background:rgba(247,243,236,.70);
  font-weight:500;
  transition:background .2s ease;
}

.mobile-nav a:hover{
  background:rgba(247,243,236,1);
}

.mobile-nav a.is-active{
  border-color:rgba(120,176,192,.45);
  background:rgba(168,200,204,.18);
}

/* =========================
   Hero
========================= */
@keyframes heroFadeUp{
  0%{
    opacity:0;
    transform:translateY(30px);
  }

  100%{
    opacity:1;
    transform:translateY(0);
  }
}

.hero{
  position:relative;
  overflow:hidden;
  height:clamp(520px,72vh,760px);
  min-height:520px;
}

.hero-media{
  position:absolute;
  inset:0;
  overflow:hidden;
  display:block;
}

.hero-media img,
.hero picture.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:10% -8%;
  transform:none;
  animation:none;
  display:block;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 560px at 20% 70%, rgba(247,243,236,.10), transparent 60%),
    radial-gradient(900px 520px at 90% 25%, rgba(120,176,192,.08), transparent 58%),
    linear-gradient(to top, rgba(32,48,64,.06), transparent 65%),
    linear-gradient(to left, rgba(0,0,0,.30), transparent 40%);
}

.hero-text{
  position:absolute;
  top:50%;
  right:0;
  transform:translateY(-50%);
  width:54vw;
  max-width:840px;
  z-index:3;
  padding:26px;
  display:flex;
}

.hero-text-inner{
  width:100%;
  border-radius:22px 0 0 22px;
  background:transparent;
  border:none;
  padding:30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  animation:heroFadeUp 1.2s cubic-bezier(.165,.84,.44,1) forwards;
  opacity:0;
}

.hero-title{
  font-family:"Fraunces",serif;
  font-weight:600;
  font-size:clamp(28px,3.2vw,46px);
  line-height:1.12;
  letter-spacing:.3px;
  color:#E6C47A;
  text-align:center;
  text-shadow:
    0 3px 8px rgba(0,0,0,.65),
    0 12px 34px rgba(0,0,0,.45);
}

.hero-tagline{
  font-size:clamp(17px,1.7vw,22px);
  font-weight:600;
  text-align:center;
  color:#ffffff;
  line-height:1.45;
  letter-spacing:.2px;
  text-shadow:
    0 2px 6px rgba(0,0,0,.55),
    0 8px 22px rgba(0,0,0,.35);
}

.hero-crest{
  width:clamp(80px,12vw,130px);
  height:auto;
  margin-bottom:4px;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.45));
}

.hero-submark{
  width:clamp(140px,26vw,280px);
  height:auto;
  opacity:.9;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.35));
}

/* =========================
   Interactive UI Cards
========================= */
.panel,
.bio-cardbox,
.feature-quote,
.stack-card,
.review-card,
.bio-updates{
  transition:transform .4s cubic-bezier(.165,.84,.44,1), box-shadow .4s ease;
}

.panel:hover,
.bio-cardbox:hover,
.feature-quote:hover,
.stack-card:hover,
.review-card:hover,
.bio-updates:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.panel{
  background:rgba(247,243,236,.72);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
}

.panel-soft{
  background:rgba(255,255,255,.55);
}

/* =========================
   Buttons and Links
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 22px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.14);
  color:rgba(255,255,255,.94);
  font-weight:600;
  letter-spacing:.1px;
  transition:all .3s cubic-bezier(.165,.84,.44,1);
  user-select:none;
  -webkit-tap-highlight-color:transparent;
  box-shadow:0 4px 12px rgba(0,0,0,.1);
}

.btn:hover{
  background:rgba(255,255,255,.25);
  border-color:rgba(255,255,255,.40);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}

.btn:active{
  transform:translateY(0);
}

.linkish{
  color:rgba(27,36,36,.76);
  text-decoration:none;
  font-weight:500;
}

.section-navy .linkish{
  color:rgba(247,243,236,.86);
}

.linkish:hover{
  text-decoration:underline;
  color:var(--navy);
}

/* =========================
   Contact
========================= */
.contact-band .wrap{
  padding:46px var(--sectionPadX);
}

.contact-strip{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:16px;
  align-items:center;
}

.contact-crest{
  display:flex;
  align-items:center;
  justify-content:center;
}

.contact-crest img{
  width:180px;
  max-width:100%;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,.18));
}

.contact-title{
  font-family:"Fraunces",serif;
  font-weight:600;
  margin:0 0 6px 0;
  font-size:34px;
  color:rgba(255,255,255,.96);
}

.contact-sub{
  margin:0 0 12px 0;
  color:rgba(255,255,255,.80);
}

.contact-form{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.contact-row{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:12px;
}

.contact-form input{
  padding:12px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.12);
  color:rgba(255,255,255,.96);
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:15px;
  outline:none;
  transition:all .3s ease;
}

.contact-form input::placeholder{
  color:rgba(255,255,255,.60);
}

.contact-form input:focus{
  border-color:rgba(255,255,255,.8);
  background:rgba(255,255,255,.25);
  box-shadow:0 0 0 4px rgba(255,255,255,.1);
}

.contact-submit{
  display:flex;
  justify-content:flex-start;
  margin-top:4px;
}

.contact-success{
  margin-top:8px;
  font-size:14px;
  color:rgba(255,255,255,.92);
  font-weight:500;
}

.hp{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* =========================
   Bio
========================= */
.bio-card{
  background:rgba(255,255,255,.55);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow);
}

.bio-grid{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:24px;
  align-items:start;
}

.bio-person{
  margin:0;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(27,36,36,.10);
  background:rgba(247,243,236,.65);
  transition:transform .4s cubic-bezier(.165,.84,.44,1), box-shadow .4s ease;
}

.bio-person:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-hover);
}

.bio-person img{
  height:260px;
  width:100%;
  object-fit:cover;
  transition:transform .7s ease;
}

.bio-person:hover img{
  transform:scale(1.04);
}

.bio-person figcaption{
  padding:16px;
}

.bio-name{
  font-weight:700;
  letter-spacing:.06px;
  font-size:16px;
  color:var(--navy);
}

.bio-role{
  font-size:13.5px;
  color:rgba(27,36,36,.75);
  margin-top:4px;
  line-height:1.6;
}

.bio-cardbox{
  border-radius:var(--radius);
  border:1px solid rgba(27,36,36,.10);
  background:rgba(247,243,236,.62);
  padding:16px;
}

.card-rect{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(27,36,36,.10);
  background:rgba(247,243,236,.62);
}

.card-rect img{
  width:100%;
  height:auto;
}

.card-actions{
  margin-top:12px;
  margin-bottom:14px;
  font-size:13px;
  color:rgba(27,36,36,.70);
  display:flex;
  gap:8px;
  justify-content:center;
}

.bio-updates{
  margin-top:16px;
  border-radius:14px;
  border:1px solid rgba(27,36,36,.10);
  background:rgba(255,255,255,.62);
  padding:16px;
}

.bio-updates-title{
  font-family:"Fraunces",serif;
  font-weight:600;
  font-size:18px;
  color:rgba(27,36,36,.86);
  margin:0 0 8px 0;
  letter-spacing:.2px;
}

.bio-updates-text{
  font-size:13.5px;
  color:rgba(27,36,36,.75);
  line-height:1.6;
}

#sales .wrap{
  padding-top:18px;
}

/* =========================
   Split Layout
========================= */
.split{
  padding-top:12px;
}

.split-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:22px;
  align-items:start;
}

.sales-scroller{
  max-height:72vh;
  overflow:auto;
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.62);
  padding:14px;
}

.sales-scroller::-webkit-scrollbar{
  width:8px;
}

.sales-scroller::-webkit-scrollbar-track{
  background:rgba(27,36,36,.04);
  border-radius:8px;
  margin:10px 0;
}

.sales-scroller::-webkit-scrollbar-thumb{
  background:rgba(27,36,36,.15);
  border-radius:8px;
}

.sales-scroller::-webkit-scrollbar-thumb:hover{
  background:rgba(27,36,36,.3);
}

/* =========================
   Table
========================= */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:13.5px;
}

.table thead th{
  position:sticky;
  top:0;
  background:rgba(247,243,236,.95);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:2px solid rgba(27,36,36,.12);
  padding:12px 10px;
  text-align:left;
  font-weight:700;
  color:rgba(27,36,36,.84);
}

.table tbody td{
  padding:12px 10px;
  border-bottom:1px solid rgba(27,36,36,.06);
  color:rgba(27,36,36,.78);
  transition:all .2s ease;
}

.table tbody tr{
  transition:background .2s ease, transform .2s ease;
}

.table tbody tr:hover td{
  color:var(--navy);
  font-weight:600;
  background:rgba(168,200,204,.15);
}

/* =========================
   Quote Box
========================= */
.feature-panel.feature-quote{
  margin-top:22px;
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.70);
  box-shadow:var(--shadow);
  padding:22px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:22px;
  align-items:center;
}

.feature-left{
  min-width:0;
}

.feature-left .quote-mark{
  font-family:"Fraunces",serif;
  font-weight:600;
  font-size:52px;
  line-height:1;
  color:var(--sea);
  opacity:.6;
  margin-bottom:0;
}

.feature-quote-title{
  font-family:"Fraunces",serif;
  font-weight:600;
  font-size:24px;
  line-height:1.25;
  color:rgba(27,36,36,.9);
  margin-bottom:12px;
}

.feature-quote-sub{
  margin:0;
  color:rgba(27,36,36,.74);
  font-size:14.5px;
  line-height:1.6;
}

.feature-right{
  display:flex;
  justify-content:flex-end;
}

.feature-right img{
  width:360px;
  height:320px;
  max-width:100%;
  object-fit:contain;
  border-radius:14px;
}

/* =========================
   Cards
========================= */
.stack-card{
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.55);
  padding:22px;
  box-shadow:var(--shadow);
}

.stack-card + .stack-card{
  margin-top:14px;
}

.stack-card.is-highlight{
  background:linear-gradient(180deg,rgba(120,176,192,.10),rgba(255,255,255,.60) 55%),rgba(255,255,255,.60);
  border-color:rgba(120,176,192,.30);
}

.card-top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
}

.tag{
  font-size:12px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(120,176,192,.45);
  background:rgba(120,176,192,.15);
  color:var(--navy);
  font-weight:600;
  white-space:nowrap;
}

/* =========================
   Reviews
========================= */
.review-stack{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin-top:16px;
}

.review-card{
  margin:0;
  padding:22px;
  border-radius:14px;
  border:1px solid rgba(27,36,36,.08);
  background:rgba(247,243,236,.80);
}

.review-stars{
  width:90px;
  height:auto;
  margin:0 auto 12px auto;
  display:block;
}

.review-card blockquote{
  margin:0 0 12px 0;
  font-family:"Fraunces",serif;
  font-weight:500;
  font-size:14.5px;
  line-height:1.5;
  letter-spacing:.1px;
  color:rgba(27,36,36,.9);
}

.review-card figcaption{
  font-size:13px;
  color:rgba(27,36,36,.65);
  font-weight:600;
}

/* =========================
   Pills
========================= */
.pill-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:14px;
}

.pill{
  border-radius:999px;
  border:1px solid rgba(27,36,36,.10);
  background:rgba(255,255,255,.60);
  padding:14px 16px;
  font-size:14px;
  font-weight:500;
  color:rgba(27,36,36,.85);
  text-align:center;
  transition:all .3s cubic-bezier(.165,.84,.44,1);
  cursor:default;
}

.pill:hover{
  background:var(--navy);
  color:var(--ivory);
  transform:translateY(-3px);
  box-shadow:0 8px 20px rgba(32,48,64,.18);
  border-color:var(--navy);
}

/* =========================
   Reveal Animation
========================= */
.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .7s cubic-bezier(.165,.84,.44,1), transform .7s cubic-bezier(.165,.84,.44,1);
}

.reveal.is-in{
  opacity:1;
  transform:none;
}

/* =========================
   Responsive
========================= */
@media (max-width:900px){
  .nav{
    display:none;
  }

  .nav-toggle{
    display:block;
  }

  .wrap{
    padding:var(--sectionPadYSm) var(--sectionPadXSm);
  }

  .grid-2,
  .split-grid,
  .bio-grid{
    grid-template-columns:1fr;
  }

  .sales-scroller{
    max-height:none;
  }

  .hero-media img,
  .hero picture.hero-media img{
    object-position:18% 30%;
  }

  .hero-text{
    top:auto;
    bottom:14px;
    left:0;
    right:0;
    transform:none;
    width:auto;
    padding:0 14px;
  }

  .hero-text-inner{
    border-radius:18px;
    background:transparent;
    border:none;
    padding:22px;
    gap:12px;
  }

  .hero-crest{
    width:140px;
  }

  .contact-band .wrap{
    padding:40px var(--sectionPadXSm);
  }

  .contact-strip{
    grid-template-columns:1fr;
  }

  .contact-crest{
    justify-content:flex-start;
  }

  .contact-crest img{
    width:150px;
  }

  .contact-row{
    grid-template-columns:1fr;
  }

  .pill-grid{
    grid-template-columns:1fr 1fr;
  }

  .split{
    padding-top:22px;
  }

  #sales .wrap{
    padding-top:28px;
  }

  .feature-panel.feature-quote{
    grid-template-columns:minmax(0,1fr) 300px;
    gap:14px;
    padding:16px;
  }

  .feature-right img{
    width:300px;
    height:280px;
  }
}

@media (max-width:700px){
  .brand-text{
    display:none;
  }

  .feature-panel.feature-quote{
    grid-template-columns:minmax(0,1fr) 240px;
    gap:12px;
    padding:14px;
  }

  .feature-right img{
    width:240px;
    height:240px;
  }

  .feature-quote-title{
    font-size:20px;
  }
}

@media (max-width:520px){
  .feature-panel.feature-quote{
    grid-template-columns:minmax(0,1fr) 200px;
    gap:10px;
    padding:12px;
  }

  .feature-right img{
    width:200px;
    height:210px;
  }

  .feature-left .quote-mark{
    font-size:38px;
  }

  .feature-quote-title{
    font-size:18px;
  }

  .feature-quote-sub{
    font-size:13px;
  }
}

@media (max-width:430px){
  .hero-media img,
  .hero picture.hero-media img{
    object-position:0% 34%;
  }

  .pill-grid{
    grid-template-columns:1fr;
  }
}