/* ==========================================
   DEGOLLADO STUDIOS
   GLOBAL DESIGN SYSTEM
========================================== */

/* Global typography */

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #29252D;
  background-color: #F7F5F0;
}

/* Headings */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
  color: #332348;
  margin-top: 0;
}

h1 {
  font-size: 64px;
  font-weight: 400;
  line-height: 1.15;
}

h2 {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
}

h4 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

/* Paragraphs */

p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
}


/* ==========================================
   HOMEPAGE HERO
========================================== */

.home .hero h1,
.home .hero-title {
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}


/* ==========================================
   HOMEPAGE EXPERIENCE SECTION
========================================== */

/* Light headings on violet background */

body.home section.experience h1,
body.home section.experience h2,
body.home section.experience h3,
body.home section.experience h4 {
  color: #F7F5F0 !important;
}

/* Desktop layout */

@media (min-width: 1024px) {

  body.home section.experience .experience-intro {
    flex: 1.5;
    min-width: 320px;
  }

  body.home section.experience .experience-intro h2 {
    max-width: 290px;
    font-size: 42px;
    line-height: 1.12;
    color: #F7F5F0 !important;
  }

}


/* ==========================================
   ABOUT PAGE
   EXPERTISE COLUMNS
========================================== */

@media (min-width: 1024px) {

  body.page .wp-block-columns.ds-expertise-columns {
    width: 960px !important;
    max-width: calc(100vw - 80px) !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    position: relative;
    left: 0 !important;
    transform: none !important;

    gap: 36px !important;
    align-items: flex-start !important;
  }

  body.page .ds-expertise-columns > .wp-block-column {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  body.page .ds-expertise-columns .wp-block-column p,
  body.page .ds-expertise-columns .wp-block-column h3 {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
  }

}


/* ==========================================
   ABOUT PAGE
   SECTION DIVIDERS
========================================== */

/* Our Expertise */

.ds-our-expertise {
  border-top: 1px solid #B65D42;
  padding-top: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #332348;
}

/* Founder section */

.ds-founder {
  border-top: 1px solid #B65D42;
  padding-top: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #332348;
}

/* Education section */

.ds-founder-education {
  border-top: 1px solid #B65D42;
  padding-top: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #332348;
}


/* ==========================================
   ABOUT PAGE
   FOUNDER LABEL
========================================== */

.ds-founder-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B65D42 !important;
  margin-top: 0;
  margin-bottom: 18px;
}


/* ==========================================
   RESPONSIVE TYPOGRAPHY
========================================== */

@media (max-width: 768px) {

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  body, p {
    font-size: 16px;
  }

}


/* ==========================================
   RESPONSIVE EXPERTISE COLUMNS
========================================== */

@media (max-width: 1023px) {

  .wp-block-columns.ds-expertise-columns {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    gap: 28px;
  }

}
/* DEGOLLADO STUDIOS
   Founder Label Correction */

body.page p.ds-founder-label,
body.page .wp-block-paragraph.ds-founder-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #B65D42 !important;
  margin-bottom: 18px !important;
}
/* DEGOLLADO STUDIOS
   Dark Contact Section Typography */

.contact-band h2,
.contact-band h3,
.contact-band h4 {
  color: #F7F5F0 !important;
}
/* ==========================================
   DEGOLLADO STUDIOS
   TECHNOLOGY & INNOVATION SECTION
========================================== */

.ds-technology-section {
    background-color: #332348 !important;
    color: #F7F5F0 !important;

    padding: 48px 40px !important;
    margin-top: 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

/* Headings */

.ds-technology-section h2,
.ds-technology-section h3,
.ds-technology-section h4 {
    color: #F7F5F0 !important;
}

/* Paragraphs and lists */

.ds-technology-section p,
.ds-technology-section li {
    color: #F7F5F0 !important;
}

/* Consistent paragraph spacing */

.ds-technology-section p {
    margin-top: 0;
    margin-bottom: 18px;
}

/* List spacing */

.ds-technology-section ul {
    margin-top: 12px;
    margin-bottom: 28px;
    padding-left: 24px;
}

/* Heading spacing */

.ds-technology-section h2 {
    margin-bottom: 16px;
}

.ds-technology-section h3 {
    margin-top: 24px;
    margin-bottom: 16px;
}

/* Mobile responsiveness */

@media (max-width: 768px) {

    .ds-technology-section {
        padding: 32px 24px !important;
        margin-top: 32px;
        margin-bottom: 32px;
    }

}
/* ==========================================
   DEGOLLADO STUDIOS
   SERVICES PAGE CONSULTATION SECTION
========================================== */

/* Main consultation container */

body.page .ds-services-cta {
    background-color: transparent !important;
    color: #29252D !important;

    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

    border-top: 1px solid #B65D42;

    padding: 28px 0 40px !important;

    margin-top: 64px;
    margin-bottom: 24px;

    text-align: left !important;
}


/* ==========================================
   CONSULTATION CONTENT ALIGNMENT
========================================== */

/* Prevent Gutenberg from centering content */

body.page .ds-services-cta > .wp-block-heading,
body.page .ds-services-cta > p,
body.page .ds-services-cta > .wp-block-paragraph,
body.page .ds-services-cta > .wp-block-buttons {

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;

    text-align: left !important;

}


/* Gutenberg constrained layout correction */

body.page .ds-services-cta.is-layout-constrained > p,
body.page .ds-services-cta.is-layout-constrained > .wp-block-heading,
body.page .ds-services-cta.is-layout-constrained > .wp-block-buttons {

    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;

}


/* ==========================================
   CONSULTATION HEADING
========================================== */

body.page .ds-services-cta h2 {

    font-family: 'Lora', Georgia, serif;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.25;

    color: #332348 !important;

    margin-top: 0;
    margin-bottom: 16px;

    text-align: left !important;

}


/* ==========================================
   CONSULTATION DESCRIPTION
========================================== */

body.page .ds-services-cta p {

    font-family: 'Inter', sans-serif;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;

    color: #29252D !important;

    width: 100%;
    max-width: 620px;

    margin-left: 0 !important;
    margin-right: 0 !important;

    margin-top: 0;
    margin-bottom: 24px;

    padding-left: 0 !important;

    text-align: left !important;
    text-indent: 0 !important;

}


/* ==========================================
   CONSULTATION BUTTON CONTAINER
========================================== */

body.page .ds-services-cta .wp-block-buttons {

    display: flex;

    justify-content: flex-start !important;

    align-items: center;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;

}


/* ==========================================
   CONSULTATION BUTTON
========================================== */

body.page .ds-services-cta .wp-block-button__link {

    background-color: #332348 !important;

    color: #FFFFFF !important;

    border: 1px solid #332348;

    border-radius: 0;

    padding: 14px 24px;

    font-family: 'Inter', sans-serif;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;

}


/* Button hover */

body.page .ds-services-cta .wp-block-button__link:hover {

    background-color: #B65D42 !important;

    border-color: #B65D42 !important;

    color: #FFFFFF !important;

}


/* ==========================================
   TABLET RESPONSIVENESS
========================================== */

@media (max-width: 1023px) {

    body.page .ds-services-cta {

        width: 100%;
        max-width: 100%;

    }

}


/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 768px) {

    body.page .ds-services-cta {

        padding: 24px 0 32px !important;

        margin-top: 32px;

    }

    body.page .ds-services-cta h2 {

        font-size: 28px;

    }

    body.page .ds-services-cta p {

        font-size: 16px;

        max-width: 100%;

    }

    body.page .ds-services-cta .wp-block-buttons {

        justify-content: flex-start !important;

    }

}
/* ==========================================
   DEGOLLADO STUDIOS
   APPROACH PAGE
   FOUR INTERCONNECTED PRINCIPLES
========================================== */

.ds-approach-methodology {
    background-color: #332348 !important;
    color: #F7F5F0 !important;

    padding: 56px 48px !important;

    margin-top: 48px;
    margin-bottom: 56px;

    box-sizing: border-box;
}

/* Section heading */

.ds-approach-methodology h2 {
    font-family: 'Lora', Georgia, serif;
    color: #F7F5F0 !important;

    margin-bottom: 36px;
}

/* Principle headings */

.ds-approach-methodology h3 {
    font-family: 'Lora', Georgia, serif;
    color: #F7F5F0 !important;

    margin-top: 28px;
    margin-bottom: 14px;
}

/* Paragraph text */

.ds-approach-methodology p {
    font-family: 'Inter', sans-serif;
    color: #F7F5F0 !important;

    line-height: 1.7;
    margin-bottom: 24px;
}

/* Copper accents */

.ds-approach-methodology h3::before {
    content: "";
    display: block;

    width: 32px;
    height: 2px;

    background-color: #B65D42;

    margin-bottom: 14px;
}

/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 768px) {

    .ds-approach-methodology {
        padding: 36px 24px !important;
        margin-top: 36px;
        margin-bottom: 40px;
    }

    .ds-approach-methodology h2 {
        font-size: 30px;
        margin-bottom: 28px;
    }

    .ds-approach-methodology h3 {
        font-size: 22px;
    }

    .ds-approach-methodology p {
        font-size: 16px;
    }
}

/* ==========================================
   DEGOLLADO STUDIOS
   FOUR INTERCONNECTED PRINCIPLES DIAGRAM
========================================== */

.ds-principles-diagram {
  width: 100%;
  margin: 24px 0 36px;
}

.ds-orbit {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1 / 0.85;
  margin: 0 auto;
}

.ds-orbit-circle {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  border: 1.5px solid rgba(247,245,240,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: clamp(10px, 2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  box-sizing: border-box;
}

.ds-orbit-access {
  top: 2%;
  left: 12%;
  background: rgba(167,139,190,0.32);
}

.ds-orbit-integration {
  top: 2%;
  right: 12%;
  background: rgba(182,93,66,0.30);
}

.ds-orbit-agency {
  bottom: 2%;
  left: 12%;
  background: rgba(125,112,178,0.38);
}

.ds-orbit-renewal {
  bottom: 2%;
  right: 12%;
  background: rgba(125,168,149,0.30);
}

/* Approach diagram refinements */

.ds-orbit-circle {
  font-size: clamp(12px, 2.5vw, 15px);
  font-weight: 600;
}

/* Better spacing below diagram */

.ds-principles-diagram {
  margin-bottom: 44px;
}

/* CENTER APPROACH VIOLET SECTION */

body.page .ds-approach-methodology {
    width: 100% !important;
    max-width: 760px !important;
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Keep headings and text left aligned */

.ds-approach-methodology h2,
.ds-approach-methodology h3,
.ds-approach-methodology p,
.ds-approach-methodology li {
    text-align: left !important;
}

/* Keep radial diagram centered */

.ds-approach-methodology .ds-principles-image {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Tablet and mobile */

@media (max-width: 768px) {
    body.page .ds-approach-methodology {
        max-width: 100% !important;
    }
}

/* ==========================================
   DEGOLLADO STUDIOS
   CONTACT PAGE BUTTON CORRECTION
========================================== */

body.page .ds-contact-button,
body.page .ds-contact-button.wp-block-button__link,
body.page .ds-contact-button .wp-block-button__link,
body.page .wp-block-button.ds-contact-button .wp-block-button__link {
    background-color: #332348 !important;
    color: #FFFFFF !important;
    border-radius: 0 !important;
    border: 1px solid #332348 !important;
    padding: 14px 24px !important;
    box-shadow: none !important;
}

/* Hover */

body.page .ds-contact-button:hover,
body.page .ds-contact-button .wp-block-button__link:hover {
    background-color: #B65D42 !important;
    border-color: #B65D42 !important;
    color: #FFFFFF !important;
}

/* DEGOLLADO STUDIOS - WORK LABEL */

.ds-work-label {
    color: #B65D42;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.5;
    margin: 0 0 20px;
}
/* Degollado Studios â€” Work project title spacing */

body.page .ds-work-title {
    margin-block-start: 16px !important;
    margin-block-end: 8px !important;
}

/* ==========================================
   DEGOLLADO STUDIOS
   CONSISTENT 1PX WORDPRESS SEPARATORS
========================================== */

/* Keep WordPress Separator blocks thin and copper across the site. */
.wp-block-separator,
hr.wp-block-separator {
    border: 0 !important;
    border-top: 1px solid #B65D42 !important;
    background: transparent !important;
    height: 0 !important;
    min-height: 0 !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

/* Preserve the divider's existing width and spacing settings. */

/* ==========================================
   DEGOLLADO STUDIOS
   WORK PAGE INTRODUCTION SPACING
========================================== */

/* Preserve 1px copper divider and add breathing room */

body.page .wp-block-separator.ds-work-intro-divider {
    border: 0 !important;
    border-top: 1px solid #B65D42 !important;
    height: 0 !important;
    background: transparent !important;
    opacity: 1 !important;

    margin-block-end: 48px !important;
}

/* Mobile spacing */

@media (max-width: 768px) {
    body.page .wp-block-separator.ds-work-intro-divider {
        margin-block-end: 32px !important;
    }
}

/* Degollado Studios: WordPress primary navigation */
.nav-links .primary-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links .primary-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links .primary-menu a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-links .primary-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Degollado Studios: Footer navigation spacing */

.site-footer nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.site-footer nav a {
    text-decoration: none;
}

.site-footer nav a:hover {
    text-decoration: underline;
}
/* Degollado Studios: Opt-out preferences page */

body.page-id-3528 .page-hero h1,
body.page-id-3528 .entry-title {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

/* Homepage service photography */

.card .card-visual {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.card .card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive images */
@media (max-width: 768px) {
  .card .card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}