/*
Theme Name: Award-Winning Digital Design Agency in New York — Blocks
Template: twentytwentyfive
Description: Generated from the site manifest. Do not hand-edit; change tokens and rebuild.
Version: 1.0
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --c-primary:    #f35422;
  --c-secondary:  #ff6900;
  --c-accent:     #f35422;
  --c-accent-ink: #111111;
  --c-ink:        #575757;
  --c-muted:      #666666;
  --c-surface:    #ffffff;
  --c-surface-alt:#eeeeee;
  --c-dark:       #000000;
  --c-inverse:    #ffffff;
  --f-heading: "Manrope", sans-serif;
  --f-body: "Manrope", sans-serif;
  --w-content: 1140px;
  --w-wide: 1340px;
  --btn-radius: 4px;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-ink);
}
h1, h2, h3, h4, h5, h6, .wp-block-heading { font-family: var(--f-heading); }
a { color: var(--c-primary); }

/* Full-bleed bands must butt up against each other. Zeroing margins is not
   enough — the block layout also applies a flex `gap` between children. */
.wp-block-post-content > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }
.wp-block-post-content { gap: 0 !important; }
.wp-site-blocks { gap: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-cover.alignfull, .wp-block-group.alignfull { max-width: none; }
.sec-body p:first-child { margin-top: 0; }
.has-text-align-center .sec-body, .sec-body.has-text-align-center { text-align: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.dbc-topbar { background: var(--c-primary); color: #fff; font-size: 15px; padding: 11px 0; }
.dbc-topbar .dbc-topbar-inner { margin: 0; }
.dbc-topbar a, .dbc-topbar span { color: #fff; text-decoration: none; margin: 0 14px; }
.dbc-topbar a:hover { text-decoration: underline; }
.dbc-header { background: #fff; }
.dbc-header .wp-block-site-logo img { max-width: 215px; height: auto; }
.dbc-nav a { color: var(--c-ink); text-decoration: none; font-family: var(--f-heading); font-size: 17px; }
.dbc-nav a:hover { color: var(--c-primary); }
.dbc-nav .wp-block-navigation__submenu-container a { font-size: 15px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.dbc-gallery.wp-block-gallery { gap: 14px; max-width: 1000px; margin: 30px auto 12px; }
.dbc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
  flex-basis: calc(20% - 12px) !important; margin: 0;
}
.dbc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
  width: 100%; height: 120px; object-fit: contain;
}

.dbc-badges { gap: 32px !important; margin: 26px 0 10px; }
.dbc-badges figure { margin: 0; }
.dbc-badges img { height: 100px; width: auto !important; }

.dbc-cards.wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.dbc-cards .dbc-card {
  flex: none !important; max-width: none !important;
  border: 1px solid #e6e6e6; background: #fff;
  display: flex; flex-direction: column;
}
.dbc-card-media { position: relative; margin: 0; }
.dbc-card-media figure { margin: 0; }
.dbc-card-media img { width: 100%; height: 215px; object-fit: cover; display: block; }
.dbc-chip {
  position: absolute; top: 14px; right: 14px; margin: 0;
  background: rgba(60,60,60,.85); color: #fff;
  font-size: 12px; letter-spacing: .5px; padding: 5px 12px; border-radius: 3px;
}
.dbc-card-title { padding: 20px 22px; margin: 0; flex: 1; }
.dbc-card-title a { color: var(--c-primary); font-size: 16px; line-height: 1.45; text-decoration: none; }
.dbc-card-title a:hover { text-decoration: underline; }
.dbc-card-date { border-top: 1px solid #e6e6e6; margin: 0; padding: 14px 22px; font-size: 15px; color: var(--c-muted); }

.dbc-cta-inner { gap: 30px; align-items: center; }
.dbc-cta-inner h2 { margin: 0; }
.wp-block-button__link { border-radius: var(--btn-radius) !important;
  padding: 15px 30px !important;
  text-transform: none;
  font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
.dbc-footer-top { background-size: cover; background-position: center; }
.dbc-footer-top, .dbc-footer-top p, .dbc-footer-top h3 { color: var(--c-inverse); }
.dbc-footer-top a { color: var(--c-inverse); }
.dbc-subscribe { display: flex; gap: 12px; margin-top: 14px; flex-wrap: nowrap; }
.dbc-subscribe input { flex: 1 1 0; min-width: 0; padding: 14px 16px; border: 0; background: #fff; font-size: 15px; color: #333; }
.dbc-subscribe button { flex: 0 0 auto; padding: 14px 34px; border: 0; background: var(--c-accent); color: var(--c-accent-ink); font-size: 16px; cursor: pointer; }
.dbc-footer-bottom p { color: #b5b5b5; font-size: 15px; }
.dbc-footer-bottom a { color: #fff; }
.dbc-copy { color: #8f8f8f !important; font-size: 14px !important; }
.dbc-footer-links { color: #b5b5b5; }

/* Section types added when the extractor began reading real page structure. */
.dbc-feature { text-align: center; }
.dbc-feature-icon img { max-width: 64px; height: auto; }
.dbc-feature-title { font-size: 20px; margin: 10px 0 6px; }
.dbc-media-text { gap: 40px; }

.dbc-faq { max-width: 820px; margin: 0 auto; }
.dbc-faq-item { border-bottom: 1px solid #dcdcdc; padding: 4px 0; }
.dbc-faq-item summary { cursor: pointer; padding: 15px 0; font-weight: 600;
  list-style: none; position: relative; padding-right: 30px; }
.dbc-faq-item summary::-webkit-details-marker { display: none; }
.dbc-faq-item summary::after { content: "+"; position: absolute; right: 6px;
  font-weight: 400; font-size: 22px; line-height: 1; color: var(--c-primary); }
.dbc-faq-item[open] summary::after { content: "\2013"; }
.dbc-faq-answer { padding: 0 0 16px; color: var(--c-muted, #666); }

.dbc-quote { background: var(--c-surface, #fff); padding: 26px;
  border-radius: var(--btn-radius, 4px); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.dbc-quote-text { font-style: italic; margin: 0 0 12px; }
.dbc-quote-author { font-weight: 600; margin: 0; font-size: 15px; }

/* Scroll-snap instead of a slider library: nothing to load, and it still
   works as an ordinary scrolling row if the CSS is unsupported. */
.dbc-carousel { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.dbc-carousel .dbc-slide { flex: 0 0 auto; width: min(320px, 78vw); margin: 0;
  scroll-snap-align: start; }
.dbc-carousel .dbc-slide img { width: 100%; height: auto; border-radius: var(--btn-radius, 4px); }
.dbc-carousel figcaption { font-size: 14px; margin-top: 8px; color: var(--c-muted, #666); }

.dbc-form { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
.dbc-form label { display: grid; gap: 5px; font-size: 15px; font-weight: 600; }
.dbc-form input, .dbc-form textarea { font: inherit; font-weight: 400; padding: 11px 13px;
  border: 1px solid #ccc; border-radius: var(--btn-radius, 4px); width: 100%; }
.dbc-form button { background: var(--c-accent); color: var(--c-accent-ink, #fff);
  border: 0; padding: 13px 30px; border-radius: var(--btn-radius, 4px);
  font: inherit; font-weight: 600; cursor: pointer; justify-self: start; }
/* Photo credit. Required by the stock licence, so it is quiet but never
   hidden — display:none here would breach the terms the images are used under. */
.rg-photo-credit { margin: 0; padding: 14px 20px; text-align: center;
  font-size: 12px; color: #8a8a8a; background: var(--c-dark, #1a1a1a); }
.rg-photo-credit a { color: #b5b5b5; text-decoration: underline; }
.dbc-search { display: flex; margin: 6px 0 10px; }
.dbc-search input { flex: 1; padding: 12px 14px; border: 0; background: #fff; font-size: 15px; color: #333; }
.dbc-search button { border: 0; background: #3a3a3a; color: #fff; padding: 0 18px; cursor: pointer; }
.dbc-footer-bottom .wp-block-column:last-child .dbc-search { justify-content: flex-end; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .dbc-cards.wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dbc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { flex-basis: calc(33.333% - 10px) !important; }
  .dbc-badges img { height: 76px; }
  .dbc-subscribe { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .dbc-cards.wp-block-columns { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion — always gated on the reduced-motion preference
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Duration is a variable so a single section composed from a livelier
     reference can move at its own speed without a second stylesheet. */
  .sec-reveal { opacity: 0;
    transition: opacity var(--rv-dur, 500ms) var(--rv-ease, cubic-bezier(0.65,0.05,0.36,1)),
                transform var(--rv-dur, 500ms) var(--rv-ease, cubic-bezier(0.65,0.05,0.36,1)),
                clip-path var(--rv-dur, 500ms) var(--rv-ease, cubic-bezier(0.65,0.05,0.36,1));
    transition-delay: var(--rv-delay, 0ms); }
  .sec-reveal[data-reveal="fade"]        { transform: none; }
  .sec-reveal[data-reveal="fade-up"]     { transform: translateY(18px); }
  .sec-reveal[data-reveal="fade-down"]   { transform: translateY(-18px); }
  .sec-reveal[data-reveal="slide-left"]  { transform: translateX(24px); }
  .sec-reveal[data-reveal="slide-right"] { transform: translateX(-24px); }
  .sec-reveal[data-reveal="zoom"]        { transform: scale(.96); }
  .sec-reveal[data-reveal="clip"]        { clip-path: inset(0 0 14% 0); }
  .sec-reveal[data-reveal="none"]        { opacity: 1; transform: none; }
  .sec-reveal.is-visible { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
