/*
Theme Name: D&C Design Native
Description: Giao diện D&C Design độc lập, dùng trình soạn thảo khối WordPress và không cần page builder.
Version: 20261102-r1
Author: D&C Design
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dc-design-native
Requires at least: 6.8
Requires PHP: 8.2
*/
/*
 * D&C Design native frontend.
 * Original implementation; GPL-2.0-or-later.
 * This stylesheet does not include code from the former commercial theme.
 */

:root {
  --dc-ink: #2c2b30;
  --dc-ink-deep: #252429;
  --dc-gold: #f3c12f;
  --dc-paper: #fff;
  --dc-wash: #f7f7f7;
  --dc-text: #25262b;
  --dc-muted: #65666c;
  --dc-line: #e8e8ea;
  --dc-header: 120px;
  --dc-rail: 88px;
  --dc-hero-width: 38vw;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body.dc-site {
  margin: 0;
  padding: var(--dc-header) 0 0 var(--dc-rail);
  background: var(--dc-ink);
  color: var(--dc-text);
  font-family: "DC Barlow", Barlow, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body.dc-site::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: var(--dc-header);
  bottom: 0;
  left: calc(var(--dc-rail) / 2);
  width: 1px;
  background: linear-gradient(transparent, #ffffff12 18%, #ffffff12 82%, transparent);
}
.side-rail {
  position: fixed;
  z-index: 105;
  inset: var(--dc-header) auto 0 0;
  display: flex;
  width: var(--dc-rail);
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 24px;
  padding: 24px 16px;
  color: #aca8b2;
  background: var(--dc-ink);
}
.side-rail .rail-label {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}
[hidden] { display: none !important; }
body.dc-menu-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
summary:focus-visible, select:focus-visible {
  outline: 2px solid var(--dc-gold);
  outline-offset: 4px;
  box-shadow: 0 0 0 5px var(--dc-ink);
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
svg { display: block; width: 24px; height: 24px; flex: 0 0 auto; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; line-height: 1.35; }
h2, h3, h4, h5, h6 { font-weight: 700; }
p { margin: 0 0 24px; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-inline-start: 22px; }
li + li { margin-top: 8px; }
::selection { color: var(--dc-ink-deep); background: var(--dc-gold); }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  transform: translateY(-180%);
  color: var(--dc-ink);
  background: var(--dc-gold);
  font-weight: 700;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 110;
  inset: 0 0 auto 0;
  height: var(--dc-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px 0 var(--dc-rail);
  color: #e8e7e9;
  background: var(--dc-ink);
}
.site-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 30px;
  right: 13%;
  left: 30%;
  bottom: 0;
  background: #ffffff03;
}
.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  align-self: flex-start;
  min-height: 85px;
  margin-top: 60px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.brand img { width: 85px; height: 85px; object-fit: contain; }
.brand-text { font-family: "DC Oswald", Oswald, sans-serif; font-size: 25px; }
.header-contact {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline-start: auto;
  padding-inline: 32px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.header-contact a { text-decoration: none; }
.header-contact a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  margin: 0 12px 3px 0;
  background: var(--dc-gold);
}
.header-contact a:hover { color: var(--dc-gold); }
.header-actions { display: flex; align-items: center; gap: 32px; }
.menu-toggle, .share-toggle {
  display: flex;
  min-width: 48px;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: #d3d1d5;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.menu-toggle svg, .share-toggle svg { color: var(--dc-gold); }
.menu-toggle:hover, .share-toggle:hover { color: #fff; }
.share-toggle { font-size: 10px; }
.share-toggle svg { width: 18px; height: 18px; }
.site-overlay {
  position: fixed;
  z-index: 115;
  inset: var(--dc-header) 0 0;
  background: #101014a6;
  cursor: pointer;
}
.nav-drawer {
  position: fixed;
  z-index: 120;
  top: var(--dc-header);
  right: 0;
  bottom: 0;
  width: min(510px, calc(100vw - 40px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 72px 46px 46px;
  color: #f7f7f7;
  background: var(--dc-ink-deep);
  box-shadow: -20px 0 60px #0003;
}
.nav-drawer > ul, .nav-drawer .menu { padding: 0; margin: 0; list-style: none; }
.nav-drawer li { margin: 0; }
.nav-drawer li a, .nav-drawer > a {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid #ffffff12;
  color: #eeedf0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-drawer a:hover, .nav-drawer .current-menu-item > a,
.nav-drawer a[aria-current="page"] { color: var(--dc-gold); }
.drawer-close, .menu-close, [data-close-menu] {
  position: absolute;
  top: 20px;
  right: 28px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 8px;
  color: #fff;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-drawer form { margin-top: 30px; }
.nav-drawer input[type="search"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #ffffff38;
  border-radius: 0;
  color: #fff;
  background: #ffffff07;
  font-size: 16px;
}
.nav-drawer input::placeholder { color: #b9b7bf; }
.share-panel, #site-share {
  position: fixed;
  z-index: 125;
  top: 104px;
  right: 110px;
  display: flex;
  max-width: calc(100vw - 40px);
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 22px 26px;
  border-top: 2px solid var(--dc-gold);
  color: #fff;
  background: var(--dc-ink-deep);
  box-shadow: 0 14px 36px #0003;
  font-size: 13px;
}
.share-panel a, #site-share a { padding: 4px 0; }
.share-panel button, #site-share button {
  border: 0;
  padding: 4px 0;
  color: var(--dc-gold);
  background: transparent;
}
.share-panel h2, #site-share h2 { flex-basis: 100%; margin: 0 0 6px; font-size: 16px; }
.share-status, [data-share-status] { flex-basis: 100%; margin: 0; font-size: 12px; color: #d9d7dc; }
.share-url { flex-basis: 100%; width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #ffffff40; border-radius: 0; color: #fff; background: #ffffff09; font-size: 14px; }

.page-hero {
  position: fixed;
  z-index: 0;
  top: var(--dc-header);
  right: 0;
  bottom: 0;
  width: var(--dc-hero-width);
  overflow: hidden;
  color: #fff;
  background: #353439;
}
.hero-image, .hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image img { object-fit: cover; object-position: center; }
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, #2423296e 0%, #26252d82 45%, #202027ba 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 70px;
  height: 50px;
  top: 50px;
  right: 50px;
  border-top: 1px solid #ffffff65;
  border-right: 1px solid #ffffff65;
}
.hero-content {
  position: absolute;
  z-index: 3;
  right: 10%;
  left: 10%;
  bottom: 15%;
  text-align: right;
}
.hero-content::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 0 32px auto;
  background: var(--dc-gold);
}
.hero-content h1 {
  max-width: 350px;
  margin-inline-start: auto;
  margin-bottom: 24px;
  color: #fff;
  font-family: "DC Oswald", Oswald, Arial, sans-serif;
  font-size: clamp(38px, 3.8vw, 56px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero-content p { color: #e2e0e0; font-size: 15px; font-weight: 500; line-height: 1.85; }
.hero-content .eyebrow { display: block; margin-bottom: 12px; color: #e7dfc3; font-size: 10px; letter-spacing: 0.14em; }
.page-content {
  position: relative;
  z-index: 1;
  width: calc(100% - var(--dc-hero-width));
  min-height: calc(100vh - var(--dc-header));
  padding: 64px 28px 80px;
  background: var(--dc-paper);
}
.page-content > :first-child { margin-top: 0; }
.dc-portfolio .page-content, .dc-portfolio .site-footer,
.dc-no-hero .page-content, .dc-no-hero .site-footer {
  width: 100%;
}
.dc-portfolio .page-content { padding-top: 42px; }
.page-content h2 { font-size: 26px; line-height: 1.45; letter-spacing: 0.045em; text-transform: uppercase; }
.page-content h3 { font-size: 22px; }
.page-content h4 { font-size: 18px; }
.page-intro { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--dc-line); }
.page-intro h1 { margin-bottom: 0; font-family: "DC Oswald", Oswald, Arial, sans-serif; font-size: clamp(30px, 3vw, 42px); font-weight: 600; text-transform: uppercase; }
.eyebrow { margin-bottom: 12px; color: var(--dc-muted); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.text-link { display: inline-block; padding-block: 8px 5px; border-bottom: 1px solid var(--dc-gold); font-size: 12px; font-weight: 600; letter-spacing: 0.065em; line-height: 1.8; text-decoration: none; text-transform: uppercase; }
.page-content p { color: var(--dc-muted); }
.page-content a:not(.button):not(.project-card a):hover { color: #8c6710; }
.page-content > .wp-block-group + .wp-block-group { margin-top: 64px; }
.page-content .wp-block-image { margin: 28px 0; }
.page-content .wp-block-image img { width: 100%; height: auto; }
.page-content .wp-block-image figcaption, .page-content figcaption {
  margin-top: 10px;
  color: var(--dc-muted);
  font-size: 13px;
  line-height: 1.6;
}
.page-content .wp-block-columns { gap: 32px; }
.page-content .wp-block-quote {
  margin: 32px 0;
  padding: 8px 0 8px 25px;
  border-inline-start: 3px solid var(--dc-gold);
}
.page-content iframe { max-width: 100%; }
.dc-service-section { padding: 0 0 76px; }
.dc-service-section + .dc-service-section { padding-top: 62px; border-top: 1px solid var(--dc-line); }
.dc-service-section h2::before, .section-heading::before,
.contact-grid h2::before, .dc-brief-grid > h2::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--dc-gold);
}
.section-intro {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--dc-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.9;
  text-transform: uppercase;
}
.service-layout { display: flex; flex-direction: column; }
.service-image { margin: 0; }
.service-image img { width: 100%; height: auto; }
.service-copy {
  position: relative;
  margin: -56px 0 0 30%;
  padding: 42px 34px;
  color: #e6e4e8;
  background: var(--dc-ink);
}
.service-copy p { color: #c5c3ca; font-size: 15px; line-height: 1.9; }
.service-copy ul { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: dc-service; }
.service-copy li {
  padding: 0 0 12px;
  color: #eeeaf0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.9;
  text-transform: uppercase;
  counter-increment: dc-service;
}
.service-copy li::before { content: counter(dc-service, decimal-leading-zero) ". "; color: var(--dc-gold); }
.service-copy li + li { margin-top: 0; }
.service-copy a { color: #fff; }
.service-note { margin-top: 24px; font-size: 13px; line-height: 1.8; }
.button, .wp-block-button__link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 21px;
  border: 1px solid var(--dc-gold);
  border-radius: 0;
  color: var(--dc-ink-deep);
  background: var(--dc-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover, .wp-block-button__link:hover { border-color: var(--dc-ink); color: #fff; background: var(--dc-ink); }
.button--outline { border-color: #78757d; color: #fff; background: transparent; }
.button--outline:hover { border-color: var(--dc-gold); color: var(--dc-ink); background: var(--dc-gold); }
.dc-cta, .contact-cta { padding: 42px 32px; background: var(--dc-wash); }
.contact-cta { margin-top: 44px; }
.dc-cta h2, .dc-cta h3, .contact-cta h2 { font-size: 23px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
.project-card { min-width: 0; margin: 0; }
.project-card a { display: block; color: inherit; text-decoration: none; }
.project-image { overflow: hidden; background: #e8e7e6; }
.project-image img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 300ms ease; }
.project-card a:hover .project-image img, .project-card a:focus-visible .project-image img,
.project-card .project-image:hover img, .project-card .project-image:focus-visible img { transform: scale(1.035); }
.project-meta { padding: 17px 0 0; }
.project-meta h2, .project-meta h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.7; letter-spacing: 0.065em; text-transform: uppercase; }
.project-meta p { margin: 0; color: var(--dc-muted); font-size: 13px; line-height: 1.7; }
.portfolio-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.portfolio-filter button { padding: 8px 12px; border: 1px solid var(--dc-line); color: var(--dc-muted); background: #fff; font-size: 12px; }
.portfolio-filter button[aria-pressed="true"] { border-color: var(--dc-gold); color: var(--dc-ink); background: var(--dc-gold); }
.project-gallery { display: grid; gap: 24px; margin: 32px 0; }
.project-gallery img { width: 100%; height: auto; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 28px 0 36px; padding: 24px; background: var(--dc-wash); }
.project-facts dt { color: var(--dc-muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.project-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; }
.project-pagination, .posts-navigation, .pagination { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 42px; }
.project-pagination a, .posts-navigation a, .pagination a, .pagination .current { padding: 8px 12px; border-bottom: 2px solid var(--dc-gold); font-size: 13px; text-decoration: none; }
.blog-list { display: grid; gap: 42px; }
.blog-card { padding-bottom: 36px; border-bottom: 1px solid var(--dc-line); }
.blog-card img { width: 100%; aspect-ratio: 16 / 10; margin-bottom: 24px; object-fit: cover; }
.blog-card h2 { margin-bottom: 14px; font-size: 24px; }
.blog-meta { margin: 0 0 12px; color: var(--dc-muted); font-size: 12px; letter-spacing: 0.05em; }
.blog-card .read-more { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.journal-card { min-width: 0; padding-bottom: 28px; border-bottom: 1px solid var(--dc-line); }
.journal-card > a, .journal-card h2 a { text-decoration: none; }
.journal-card img { width: 100%; aspect-ratio: 16 / 10; margin-bottom: 20px; object-fit: cover; }
.journal-card h2, .journal-card h3 { margin-bottom: 12px; font-size: 21px; line-height: 1.45; letter-spacing: 0.025em; }
.journal-card p { font-size: 15px; }
.journal-card .read-more { font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.entry-content { font-size: 16px; line-height: 1.9; }
.entry-content > * + * { margin-top: 24px; }
.entry-content h2, .entry-content h3 { margin-top: 38px; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content .wp-block-table { max-width: 100%; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content td, .entry-content th { padding: 10px 14px; border: 1px solid var(--dc-line); text-align: start; }
.entry-content pre { max-width: 100%; overflow-x: auto; padding: 20px; background: var(--dc-wash); font-size: 13px; }
.dc-portfolio .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }

.contact-grid { display: grid; gap: 40px; }
.contact-grid h2 { font-size: 25px; }
.contact-grid h3 { font-size: 22px; }
.contact-grid a[href^="tel:"], .contact-grid a[href^="mailto:"] { text-decoration-thickness: 1px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dc-brief-grid { display: grid; gap: 24px; margin-top: 54px; padding-top: 40px; border-top: 1px solid var(--dc-line); }
.dc-brief-grid > h2, .dc-brief-grid > .section-intro { margin: 0; }
.dc-brief-grid h3, .dc-brief-grid h4 { margin-bottom: 12px; font-size: 19px; }
.dc-brief-grid p { font-size: 15px; }
.about-image { margin: 28px 0 34px; }
.about-image img { width: 100%; }
.dc-empty-state, .empty-state { padding: 28px; border: 1px solid var(--dc-line); background: var(--dc-wash); }
.search-form, .site-search { display: flex; gap: 10px; }
.search-form input[type="search"], .site-search input[type="search"] { width: 100%; min-width: 0; padding: 12px; border: 1px solid #d2d0d4; border-radius: 0; background: #fff; }
.search-form button, .site-search button { flex: 0 0 auto; padding: 10px 14px; border: 0; color: var(--dc-ink); background: var(--dc-gold); }

.site-footer {
  position: relative;
  z-index: 1;
  width: calc(100% - var(--dc-hero-width));
  padding: 54px 28px 28px;
  color: #d0cdd3;
  background: var(--dc-ink-deep);
  font-size: 14px;
  line-height: 1.9;
}
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; }
.footer-logo { width: 85px; margin-bottom: 24px; }
.footer-brand { display: inline-block; margin-bottom: 22px; }
.footer-brand img { width: 85px; height: auto; }
.site-footer h2, .site-footer h3 { margin: 0 0 22px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer p { margin-bottom: 18px; color: #b6b3bc; font-size: 13px; }
.site-footer a { color: #e7e5ea; }
.site-footer a:hover { color: var(--dc-gold); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-top: 12px; }
.site-footer .footer-contact-label { display: block; color: #9f9ba5; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.site-copyright { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 35px; padding-top: 24px; border-top: 1px solid #ffffff12; color: #bcb9c2; font-size: 10px; letter-spacing: 0.07em; line-height: 1.9; text-transform: uppercase; }
.site-copyright p { min-width: 0; margin: 0; color: inherit; font-size: inherit; }
.footer-bottom { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 28px; }
.footer-bottom .site-copyright { margin-top: 0; padding-top: 0; border-top: 0; }
.back-to-top { display: inline-flex; min-width: 80px; max-width: 120px; min-height: 44px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 8px 10px; border: 1px solid #ffffff24; color: var(--dc-gold); background: transparent; font-size: 10px; text-align: center; text-decoration: none; }
.back-to-top:hover { color: var(--dc-ink); background: var(--dc-gold); }

/* Navigation remains available when JavaScript is unavailable. */
html:not(.js) .nav-drawer[hidden] {
  position: relative;
  z-index: 1;
  top: auto;
  right: auto;
  bottom: auto;
  display: block !important;
  width: calc(100% - var(--dc-hero-width));
  padding: 30px 28px;
  box-shadow: none;
}
html:not(.js) .menu-toggle, html:not(.js) .drawer-close { display: none; }

@media (min-width: 1500px) {
  .page-content { padding-inline: 48px; }
  .site-footer { padding-inline: 48px; }
  .service-copy { margin-inline-start: 34%; }
}

@media (max-width: 1099px) {
  :root { --dc-rail: 0px; }
  body.dc-site { padding-left: 0; }
  body.dc-site::before { display: none; }
  .side-rail { display: none; }
  .site-header { padding-inline: 30px; }
  .brand { margin-top: 60px; }
  .header-contact { display: none; }
  .header-actions { gap: 28px; }
  .page-hero { position: relative; inset: auto; width: 100%; min-height: 410px; }
  .hero-content { bottom: 58px; left: 32px; right: 32px; max-width: 620px; text-align: left; }
  .hero-content::before { margin-left: 0; margin-right: 0; margin-bottom: 28px; }
  .hero-content h1 { margin-left: 0; font-size: 46px; max-width: 360px; }
  .hero-content p { max-width: 560px; }
  .page-hero::after { top: 50px; right: 50px; }
  .page-content { width: 100%; min-height: 0; padding: 64px 32px 74px; }
  .dc-portfolio .page-content, .dc-portfolio .site-footer,
  .dc-no-hero .page-content, .dc-no-hero .site-footer { width: 100%; }
  .site-footer { width: 100%; padding-inline: 32px; }
  .service-copy { margin-inline-start: 34%; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .dc-brief-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dc-brief-grid > h2, .dc-brief-grid > .section-intro { grid-column: 1 / -1; }
  html:not(.js) .nav-drawer[hidden] { width: 100%; }
}

@media (max-width: 639px) {
  .site-header { padding-inline: 20px; }
  .brand img { width: 82px; height: 82px; }
  .header-actions { gap: 22px; }
  .menu-toggle, .share-toggle { font-size: 10px; }
  .page-hero { min-height: 390px; }
  .page-hero::after { top: 46px; right: 46px; width: 64px; height: 42px; }
  .hero-content { left: 16px; right: 20px; bottom: 55px; }
  .hero-content h1 { max-width: 290px; font-size: 44px; line-height: 1.16; margin-bottom: 20px; }
  .hero-content p { font-size: 14px; line-height: 1.8; }
  .hero-content::before { width: 40px; margin-bottom: 36px; }
  .page-content { padding: 58px 16px 60px; }
  .page-content h2 { font-size: 24px; letter-spacing: 0.02em; line-height: 1.45; }
  .page-content h3 { font-size: 21px; }
  .section-intro { font-size: 12px; margin-bottom: 30px; }
  .dc-service-section { padding-bottom: 52px; }
  .dc-service-section + .dc-service-section { padding-top: 48px; }
  .service-copy { margin: 0; padding: 30px 24px; }
  .service-copy p { font-size: 16px; line-height: 1.8; }
  .service-copy li { font-size: 11px; line-height: 1.9; }
  .portfolio-grid { gap: 30px 14px; }
  .project-meta { padding-top: 12px; }
  .project-meta h2, .project-meta h3 { font-size: 12px; line-height: 1.65; letter-spacing: 0.035em; }
  .project-meta p { font-size: 12px; }
  .project-facts { grid-template-columns: 1fr; padding: 22px; }
  .dc-portfolio .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .journal-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-gallery { gap: 16px; }
  .contact-grid, .dc-brief-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
  .contact-actions .button { max-width: 100%; }
  .dc-cta, .contact-cta { padding: 32px 24px; }
  .dc-cta h2, .dc-cta h3, .contact-cta h2 { font-size: 21px; }
  .site-copyright { gap: 16px; }
  .site-footer { padding: 42px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-end; gap: 16px; }
  .nav-drawer { width: calc(100vw - 24px); padding: 68px 26px 32px; }
  .nav-drawer li a, .nav-drawer > a { font-size: 14px; padding-block: 15px; }
  .share-panel, #site-share { right: 20px; top: 105px; padding: 18px 22px; }
}

@media (max-width: 359px) {
  .site-header { padding-inline: 14px; }
  .header-actions { gap: 14px; }
  .hero-content h1 { font-size: 39px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .dc-portfolio .portfolio-grid { grid-template-columns: 1fr; }
  .service-copy { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Existing service labels already include their numbering. */
.service-copy li::before{content:none;display:none}

/* Website review: clearer home introduction and readable portfolio on phones. */
.page-intro .home-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--dc-muted);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: normal;
  text-transform: none;
}
@media (max-width: 639px) {
  .dc-portfolio .portfolio-grid { grid-template-columns: 1fr; gap: 32px; }
  .dc-portfolio .project-meta h2,
  .dc-portfolio .project-meta h3 { font-size: 16px; line-height: 1.55; letter-spacing: 0.015em; }
  .dc-portfolio .project-meta p { font-size: 14px; line-height: 1.6; }
}
