/* ============ Tokens ============ */
:root {
  --ink: #12161a;
  --ink-2: #1b2127;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --amber: #e9a23b;
  --amber-deep: #c8811a;
  --green: #2f7d5b;
  --muted: #6c675d;
  --radius: 18px;
  --serif: 'Fraunces', Georgia, serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
}
.title, .subtitle { color: inherit; }
.title { font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; }

.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40ch; }
.section-head { margin-bottom: 3rem; }
.section-head .lead { margin-top: .75rem; }

/* ============ Buttons ============ */
.button.is-amber {
  background: var(--amber); color: var(--ink); border: 0; font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button.is-amber:hover { background: #f2b458; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(233, 162, 59, .7); color: var(--ink); }
.button.is-ghost-light {
  background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .35); font-weight: 500;
  transition: border-color .2s, background .2s;
}
.button.is-ghost-light:hover { border-color: var(--amber); background: rgba(233, 162, 59, .12); color: #fff; }

/* ============ Navbar ============ */
.cb-nav {
  --bulma-navbar-background-color: transparent;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.cb-nav .navbar-item, .cb-nav .navbar-link { color: #fff; background: transparent !important; }
.cb-nav .navbar-item:hover { color: var(--amber); }
.cb-nav .navbar-burger { color: #fff; }
.cb-nav .navbar-burger:hover { background: transparent; }
.cb-nav.is-scrolled, .cb-nav.menu-open {
  background: rgba(18, 22, 26, .88);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.cb-brand { font-family: var(--serif); font-weight: 800; font-size: 1.1rem; gap: .6rem; }
.cb-brand em { font-style: italic; color: var(--amber); font-weight: 600; }
.cb-brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--amber); color: var(--ink); font-size: .9rem; transform: rotate(-8deg);
}
@media (max-width: 400px) {
  .cb-brand { font-size: .95rem; gap: .45rem; }
  .cb-brand-mark { width: 30px; height: 30px; }
}
@media (max-width: 1023px) {
  .cb-nav .navbar-menu { background: var(--ink); box-shadow: none; padding: .5rem 0 1rem; }
}

/* ============ Hero ============ */
.hero-cb {
  background:
    radial-gradient(900px 500px at 15% 25%, rgba(233, 162, 59, .16), transparent 60%),
    radial-gradient(700px 500px at 90% 80%, rgba(47, 125, 91, .18), transparent 60%),
    var(--ink);
  color: #fff; position: relative; overflow: hidden; isolation: isolate;
}
/* blueprint grid */
.hero-cb::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 15%, transparent 75%);
}
.hero-cb .hero-body { padding-top: 7rem; padding-bottom: clamp(9rem, 20vw, 15rem); z-index: 1; }

.eyebrow {
  display: inline-flex; gap: .5rem; align-items: center;
  font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 1.25rem;
}
/* One line: big name, with the trading name set small and subtle beside it */
.hero-title {
  /* the whole line is ~10.7em wide, so size it to fill the available width */
  font-size: clamp(1.5rem, calc((100vw - 4.5rem) / 10.3), 6.5rem);
  line-height: 1.05; color: #fff; margin-bottom: 1.75rem; white-space: nowrap;
}
@media (min-width: 1024px) and (max-width: 1215px) { .hero-title { font-size: 5.2rem; } }
.hero-title span {
  font-size: .42em; font-style: italic; font-weight: 600; letter-spacing: .01em;
  color: var(--amber); margin-left: .35em;
}

.rotator {
  font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2.6rem); font-weight: 600;
  color: rgba(255, 255, 255, .92); margin-bottom: 2.5rem; line-height: 1.3;
}
/* Frosted pill with a thin timer bar: keeps the rotating word visible without competing with the amber buttons */
.word-stack {
  position: relative; display: inline-grid; justify-items: center; align-items: center;
  margin-left: .1em; padding: .02em .55em .12em; border-radius: .45em;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: #fff; font-style: italic; font-weight: 800;
  overflow: hidden; vertical-align: baseline;
}
.word-stack::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
}
.word-stack.tick::after { animation: wordTimer 1.5s linear forwards; }
@keyframes wordTimer { to { transform: scaleX(1); } }
.word-stack .w {
  grid-area: 1 / 1; opacity: 0; transform: translateY(70%);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.word-stack .w.is-on { opacity: 1; transform: none; }
.word-stack .w.was { transform: translateY(-70%); }

.skyline {
  position: absolute; left: 0; bottom: 0; width: 100%;
  height: clamp(130px, 18vw, 240px); z-index: 0; pointer-events: none;
}
.skyline .lit { fill: #f5c063; animation: glow 5s ease-in-out infinite; }
.skyline .lit2 { animation-delay: -2.5s; }
@keyframes glow { 0%, 100% { opacity: .95; } 50% { opacity: .45; } }

/* ============ Services ============ */
.services { padding: 6rem 1.5rem; }
.service-card {
  position: relative; height: 100%; padding: 2rem 1.75rem 2.25rem;
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid rgba(18, 22, 26, .07);
  box-shadow: 0 1px 0 rgba(18, 22, 26, .04);
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--amber), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(18, 22, 26, .35); }
.service-card:hover::after { transform: scaleX(1); }
.service-card .num {
  position: absolute; top: 1.25rem; right: 1.5rem;
  font-family: var(--serif); font-size: 1.1rem; color: rgba(18, 22, 26, .25); font-weight: 800;
}
.service-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--ink); color: var(--amber); font-size: 1.4rem; margin-bottom: 1.4rem;
  transition: transform .3s;
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); }
.service-card h3 { margin-bottom: .6rem; }
.service-card p { color: var(--muted); }

.also { margin-top: 2.5rem; text-align: center; color: var(--muted); font-size: 1.05rem; }
.also strong { color: var(--ink); font-weight: 700; }

/* ============ Quote ============ */
.quote-band {
  background: var(--amber); color: var(--ink);
  padding: clamp(5rem, 12vw, 9rem) 1.5rem; position: relative; overflow: hidden;
  text-align: center;
}
.quote-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(18, 22, 26, .06) 0 2px, transparent 2px 22px);
}
.quote-band .container { position: relative; }
.quote-small {
  font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.5rem;
}
.quote {
  font-family: var(--serif); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2.8rem, 9vw, 7.5rem); line-height: 1;
}
.q-mark { color: rgba(18, 22, 26, .3); margin-right: .05em; }
.hl {
  color: var(--ink); font-style: italic; background: transparent; padding: 0 .08em;
  background-image: linear-gradient(var(--paper), var(--paper));
  background-repeat: no-repeat; background-position: 0 92%; background-size: 0 .18em;
  transition: background-size .9s .5s cubic-bezier(.2, .8, .2, 1);
}
.quote.is-visible .hl { background-size: 100% .18em; }

/* ============ Before / after ============ */
.work { background: var(--ink); color: #fff; padding: 6rem 1.5rem; }
.work .kicker { color: var(--amber); }
.work .lead { color: rgba(255, 255, 255, .65); }

.cb-tabs.tabs.is-toggle { margin-bottom: 2rem; }
.cb-tabs.tabs.is-toggle a {
  background: transparent; color: rgba(255, 255, 255, .75); border-color: rgba(255, 255, 255, .18);
}
.cb-tabs.tabs.is-toggle a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.cb-tabs.tabs.is-toggle li.is-active a { background: var(--amber); border-color: var(--amber); color: var(--ink); font-weight: 700; }
.cb-tabs.tabs.is-toggle li:first-child a { border-radius: 999px 0 0 999px; }
.cb-tabs.tabs.is-toggle li:last-child a { border-radius: 0 999px 999px 0; }

.cb-tabs.tabs { overflow: visible; }
@media (max-width: 600px) {
  .cb-tabs.tabs.is-toggle a { padding: .5em .75em; font-size: .9rem; }
  .cb-tabs.tabs.is-toggle .icon { display: none; }
  .cb-tabs .tab-extra { display: none; }
}
@media (max-width: 360px) {
  .cb-tabs.tabs.is-toggle a { padding: .5em .55em; font-size: .82rem; }
}

.ba-stage { max-width: 1000px; margin: 0 auto; }
.ba-panel { display: flex; justify-content: center; }
.ba-panel[hidden] { display: none; }
.ba-panel { animation: panelIn .5s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.ba-frame {
  width: 100%; max-width: 540px; position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
}
img-comparison-slider {
  display: block;
  --divider-width: 3px;
  --divider-color: var(--amber);
  --default-handle-opacity: 1;
}
img-comparison-slider img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-knob {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--amber); color: var(--ink); font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4), 0 0 0 5px rgba(233, 162, 59, .3);
}
.ba-label {
  position: absolute; top: 1rem; z-index: 2; pointer-events: none;
  padding: .3rem .85rem; border-radius: 999px;
  background: rgba(18, 22, 26, .75); backdrop-filter: blur(4px);
  color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.ba-before { left: 1rem; }
.ba-after { right: 1rem; background: var(--amber); color: var(--ink); }
/* small caption tucked into the bottom-right corner of the photo */
.ba-caption {
  position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; pointer-events: none;
  padding: 2.25rem 1rem .8rem; text-align: right;
  background: linear-gradient(transparent, rgba(0, 0, 0, .5));
  color: rgba(255, 255, 255, .85); font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
/* ============ Gallery ============ */
.gallery { background: var(--paper); padding: 6rem 1.5rem; }
/* home-page preview sits between two light sections, so it is dark */
.gallery-teaser { background: var(--ink); color: #fff; }
.gallery-teaser .kicker { color: var(--amber); }
.gallery-teaser .lead { color: rgba(255, 255, 255, .65); }
.g-filters { margin-bottom: 2.5rem; }
.g-filters .button {
  background: transparent; border: 1.5px solid rgba(18, 22, 26, .2); color: var(--ink); font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.g-filters .button[hidden] { display: none; }
.g-filters .button:hover { border-color: var(--ink); color: var(--ink); }
.g-filters .button.is-active { background: var(--ink); border-color: var(--ink); color: var(--amber); font-weight: 700; }
.g-filters .g-count { margin-left: .45em; font-size: .8em; opacity: .55; font-weight: 500; }
.g-more-wrap { margin-top: 2.5rem; }
.g-more-wrap[hidden] { display: none; }
.g-more-wrap .button { background: transparent; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; transition: background .2s, color .2s; }
.g-more-wrap .button:hover { background: var(--ink); color: var(--amber); }

/* home-page teaser strip */
.g-teaser { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 1023px) { .g-teaser { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .g-teaser { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }
.g-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px; background: var(--cream); }
.g-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.g-tile:hover img { transform: scale(1.06); }
.g-cta { margin-top: 2.5rem; }
.gallery-page .g-cta { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(18, 22, 26, .1); }
.gallery-page .g-cta .title { margin-bottom: 1.25rem; }

/* gallery sub-page header */
.page-head { background: var(--ink); color: #fff; padding: 8rem 1.5rem 3.5rem; }
.page-head .lead { color: rgba(255, 255, 255, .7); max-width: 52ch; }
.page-head .title { margin-bottom: .75rem; }
.back-link { display: inline-block; margin-bottom: 1.5rem; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.back-link:hover { color: var(--amber); }
.cb-nav .navbar-item.is-current { color: var(--amber); }

.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1023px) { .g-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .g-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

.g-item {
  position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4;
  border-radius: 14px; background: var(--cream);
  animation: gIn .5s ease both;
}
@media (max-width: 640px) { .g-item { border-radius: 10px; } }
.g-item[hidden] { display: none; }
.g-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(18, 22, 26, .8));
  color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
@keyframes gIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ============ Team ============ */
.team { background: var(--cream); color: var(--ink); padding: 6rem 1.5rem; }
.team .title { margin-bottom: 1.25rem; }

.team-intro { text-align: center; max-width: 860px; margin: 0 auto 3rem; }
.team .lead { max-width: 54ch; margin: 0 auto; }
.team-big {
  font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); margin-bottom: 1.25rem; color: var(--ink);
}
.team-big .hl {
  color: #9c5d0b; font-style: italic;
  background-image: linear-gradient(var(--amber), var(--amber));
}
.team-big .hl-2 { transition-delay: 1.1s; }
.team-big.is-visible .hl { background-size: 100% .1em; }

/* one panel: Christy + every trade, one number */
.trades {
  color: #fff; padding: clamp(1.75rem, 4vw, 3rem); text-align: center;
  background: radial-gradient(600px 300px at 50% 0, rgba(233, 162, 59, .12), transparent 70%), var(--ink-2);
  border-radius: calc(var(--radius) + 6px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
.founder {
  display: flex; gap: 1rem; align-items: flex-start; text-align: left; margin: 0 auto 2.25rem;
  max-width: 640px; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.role-badge {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--amber); color: var(--ink); font-size: 1.15rem; transform: rotate(-6deg); margin-top: .1rem;
}
.roster-name { font-family: var(--serif); font-weight: 800; font-size: 1.35rem; line-height: 1.2; color: #fff; }
.roster-name span {
  display: block; margin-top: .2rem; font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
}
.roster-quote { margin-top: .5rem; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.05rem; line-height: 1.45; color: rgba(255, 255, 255, .8); }

.trades-head .title { margin-bottom: .6rem; }
.trades-head p { max-width: 56ch; margin: 0 auto; color: rgba(255, 255, 255, .7); }
.trade-list {
  list-style: none; margin: 2rem 0 2.25rem; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem;
}
.trade {
  flex: 0 1 200px; display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; text-align: left;
  background: rgba(255, 255, 255, .04); border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  font-weight: 500; line-height: 1.2; transition: transform .25s, background .25s, box-shadow .25s;
}
.trade:hover { transform: translateY(-3px); background: rgba(233, 162, 59, .1); box-shadow: inset 0 0 0 1px rgba(233, 162, 59, .5); }
.trade-icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--amber); color: var(--ink); font-size: .9rem;
}
.trades-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; }
.trades-link { color: rgba(255, 255, 255, .8); font-weight: 500; }
.trades-link:hover { color: var(--amber); }

@media (max-width: 768px) {
  .team-intro { margin-bottom: 2.25rem; }
  .trade { flex: 0 0 calc(50% - .4rem); min-width: 0; flex-direction: column; gap: .5rem; padding: .9rem .5rem; text-align: center; }
}
/* ============ Contact ============ */
.contact { padding: 6rem 1.5rem; }
.contact-list { display: grid; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.5rem;
  background: var(--paper); border-radius: var(--radius); color: var(--ink);
  border: 1px solid rgba(18, 22, 26, .07);
  transition: transform .25s, box-shadow .25s;
}
a.contact-card:hover { transform: translateX(6px); box-shadow: 0 18px 30px -20px rgba(18, 22, 26, .4); color: var(--ink); }
.contact-card small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.contact-card strong { font-family: var(--serif); font-size: clamp(1.1rem, 3vw, 1.5rem); }
.cc-icon {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: var(--ink); color: var(--amber); font-size: 1.15rem;
}

/* ============ Footer ============ */
.cb-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: 2.5rem 1.5rem; }
.cb-footer .container { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.cb-footer .tag { font-family: var(--serif); font-style: italic; color: var(--amber); }

/* ============ Scroll reveal ============ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .columns .column:nth-child(2).reveal { transition-delay: .08s; }
.js .columns .column:nth-child(3).reveal { transition-delay: .16s; }
.js .columns .column:nth-child(4).reveal { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
