/* Design Blox - refinement layer.
   Loaded last on every page. Only adjusts type hierarchy, colour and small details.
   No layout, grid, spacing or image changes. Delete this file (and its <link>) to revert. */

:root{
  --muted:#51554d;          /* was #62665e: stronger contrast for supporting text (about 7:1) */
  --accent:#8a4733;
  --accent-deep:#733a29;    /* hover state for accent */
  --gold:#b78d65;           /* already used in the footer; reused as a quiet highlight */
  --charcoal-deep:#2e2e2c;  /* footer: warm charcoal in the same family as --ink */
}

/* 1. Type hierarchy: body, lead, supporting and caption text no longer read as one level */
body{font-weight:400;text-rendering:optimizeLegibility;font-kerning:normal}
.statement-copy p,.intro-grid p,.studio-feature p:not(.eyebrow),.consultation>div>p:not(.eyebrow),
.approach-grid p,.project-story p,.project-story li,.career-benefits p:not(.eyebrow),.role p:not(.eyebrow){
  font-size:.9375rem;line-height:1.8;color:var(--muted)}
.statement-copy p:first-child,.project-story p:first-of-type{color:var(--ink);font-weight:500}
.hero-aside p{color:var(--ink);font-weight:500}
.service-row p,.person p:not(.eyebrow),.studio-team p:not(.eyebrow){font-size:.9375rem;color:var(--muted)}

/* Labels: slightly larger and a touch bolder; section labels take the accent colour,
   card captions stay quiet so the project title leads */
.eyebrow{font-size:.78rem;font-weight:700;letter-spacing:.14em}
.section-head .eyebrow,.studio-statement>.eyebrow,.closing .eyebrow,.page-intro .eyebrow,
.home-intro>.eyebrow,.dbx-contact-eyebrow,.wd-eyebrow{color:var(--accent)}
.work-caption .eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.1em;color:var(--muted)}
.work-number{font-size:.8125rem;font-weight:600;color:var(--accent);letter-spacing:.06em;font-variant-numeric:tabular-nums}
.caption-divider{color:var(--gold)}

/* Project titles on cards: keep original size, add hover colour */
.work-caption h3{transition:color .25s ease}
.work-card a:hover .work-caption h3{color:var(--accent)}

/* Navigation and links */
.site-nav a{font-weight:600;letter-spacing:.01em;transition:color .2s ease}
.site-nav a:hover,.site-nav a[aria-current=page]{color:var(--accent)}
.text-link{font-weight:700;letter-spacing:.02em;border-bottom-color:currentColor;
  transition:color .2s ease,border-color .2s ease}
.text-link:hover{color:var(--accent);border-bottom-color:var(--accent)}
.text-link>span{transition:transform .25s ease;display:inline-block}
.text-link:hover>span{transform:translate(2px,-2px)}
.nav-enquiry{transition:background-color .25s ease,color .25s ease,border-color .25s ease}
.nav-enquiry:hover{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* 2. Colour: one consistent charcoal family, accent used with intent */
::selection{background:#e2c7b3;color:var(--ink)}
:focus-visible{outline-color:var(--accent)}
.filter-options button:hover{border-color:var(--accent);color:var(--accent)}
.filter-options button[aria-pressed=true]:hover{color:var(--paper)}
.closing-link em{color:var(--accent)}
.closing-link:hover em{color:var(--accent-deep)}
.footer-premium{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.01)),var(--charcoal-deep);
  border-top:1px solid rgba(183,141,101,.28)}
.footer-contact-label{color:rgba(255,255,255,.7);font-size:.74rem}
.footer-premium .footer-text{color:rgba(255,255,255,.82)}
.footer-contact-card:hover{border-color:rgba(183,141,101,.6)}
.footer-bottom,.footer-bottom *{color:rgba(255,255,255,.7)}

/* 3. Small increments in design elements */
.image-arrow{box-shadow:0 .25rem .9rem rgb(40 44 38 / .16);transition:transform .25s ease,background-color .25s ease,color .25s ease}
.work-card a:hover .image-arrow{transform:translate(2px,-2px);background:var(--accent);color:var(--paper)}
.work-image{background:#e6e3d9}
.work-image img{transition:transform .6s cubic-bezier(.2,.6,.2,1)}
.work-card a:hover .work-image img{transform:scale(1.025)}
.work-image{overflow:hidden}
.featured-indicators{backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}

/* Forms: clearer placeholder text, clearer focus */
.form-control::placeholder,.enquiry-form ::placeholder,.dbx-contact ::placeholder{color:#6a6e65;opacity:1}
.form-control:focus,.form-select:focus,.enquiry-form input:focus,.enquiry-form select:focus,
.enquiry-form textarea:focus,.dbx-contact input:focus,.dbx-contact select:focus,.dbx-contact textarea:focus{
  border-color:var(--accent);box-shadow:0 0 0 3px rgb(138 71 51 / .14);outline:0}
.enquiry-form label,.role-filters label{font-weight:600;color:var(--ink)}
.dbx-contact-sub{color:var(--muted)}

@media(max-width:540px){
  .eyebrow{font-size:.7rem;letter-spacing:.11em}
  .work-caption .eyebrow{font-size:.68rem}
}
@media(prefers-reduced-motion:reduce){
  .work-image img,.image-arrow,.text-link>span{transition:none!important}
  .work-card a:hover .work-image img,.text-link:hover>span,.work-card a:hover .image-arrow{transform:none}
}

/* The "Start a project" button is a bordered button, not a text link: it shouldn't get the
   active-page underline (which was drawing a stray line at the far left of the header). */
.site-nav>a.nav-enquiry[aria-current=page]:after{content:none;display:none}
.site-nav>a.nav-enquiry[aria-current=page]{color:inherit}

/* Mobile menu: one hamburger icon (turns into a close mark when open) instead of the
   duplicate "Menu" + "+" pair, the open menu keeps its original look. */
.nav-quick{display:none}
@media(max-width:800px){
  .menu-toggle{width:2.75rem;height:2.75rem;padding:0;justify-content:center;gap:0;margin-right:-.5rem;color:var(--ink)}
  .menu-icon{position:relative;display:block;width:1.375rem;height:1rem}
  .menu-icon i{position:absolute;left:0;width:100%;height:2px;background:currentColor;border-radius:2px;
    transition:transform .28s ease,opacity .2s ease,top .28s ease}
  .menu-icon i:nth-child(1){top:0}.menu-icon i:nth-child(2){top:calc(50% - 1px)}.menu-icon i:nth-child(3){top:calc(100% - 2px)}
  .menu-toggle[aria-expanded=true] .menu-icon i:nth-child(1){top:calc(50% - 1px);transform:rotate(45deg)}
  .menu-toggle[aria-expanded=true] .menu-icon i:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded=true] .menu-icon i:nth-child(3){top:calc(50% - 1px);transform:rotate(-45deg)}
  .menu-toggle:focus{outline:0}
  .menu-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:2px}
}
@media(prefers-reduced-motion:reduce){.menu-icon i{transition:none!important}}

/* ==========================================================================
   About page, phones only (<=640px): studio profile + approach slider redesigned.
   Desktop and tablet are untouched.
   ========================================================================== */
@media(max-width:640px){
  /* --- Studio profile: full-width photo with caption, then a roomier, readable card --- */
  .about-page .studio-showcase{gap:.875rem;padding-top:.875rem}
  .about-page .studio-showcase-image{position:relative;width:100%;aspect-ratio:1/1.08;border-radius:1.125rem}
  .about-page .studio-showcase-image img{object-position:center 45%}
  .about-page .studio-showcase-image figcaption{display:flex;flex-direction:column;gap:.15rem;position:absolute;left:0;right:0;bottom:0;
    padding:3rem 1.125rem 1rem;color:#fff;font-size:.8125rem;line-height:1.4;font-weight:600;
    background:linear-gradient(180deg,rgb(30 28 26 / 0),rgb(30 28 26 / .72))}
  .about-page .studio-showcase-image figcaption span:last-child{font-weight:500;font-size:.75rem;opacity:.82;letter-spacing:.04em}
  .about-page .studio-showcase-content{padding:1.625rem 1.375rem 1.5rem}
  .about-page .studio-showcase-heading .eyebrow{font-size:.7rem;color:var(--accent);margin-bottom:.5rem}
  body.about-page .studio-showcase-heading h1{font-size:clamp(2rem,9vw,2.4rem);line-height:1.06}
  .about-page .studio-showcase-copy{margin-top:1.125rem}
  .about-page .studio-showcase-copy p,.about-page .studio-showcase-copy p:first-child{font-size:.9375rem;line-height:1.72;margin-bottom:.9rem;color:#3f3c3a}
  .about-page .studio-showcase-copy p:first-child{color:var(--ink);font-weight:500}
  .about-page .studio-showcase-disciplines{display:block;margin:1.25rem 0 0;padding:.9rem 0 0;width:100%;border-top:1px solid var(--line);
    font-size:clamp(.6rem,2.75vw,.7rem);font-weight:700;letter-spacing:.09em;white-space:nowrap;text-transform:uppercase;color:var(--accent)}
  .about-page .studio-showcase-disciplines span{color:var(--gold);margin-inline:.3em}
  .about-page .studio-showcase-footer{margin-top:1.25rem;padding-top:0;gap:1.25rem}
  /* stat: one clean row instead of a box inside a box */
  .about-page .studio-showcase-stat{grid-template-columns:4.5rem minmax(0,1fr);gap:1rem;align-items:start;min-height:0;
    padding:1.25rem 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:none}
  .about-page .studio-showcase-stat>strong{width:4.5rem;height:4.5rem;border-width:2px;border-radius:1.125rem;font-size:2.125rem}
  .about-page .studio-showcase-stat-copy .studio-showcase-stat-label{font-size:.625rem;margin-bottom:.5rem}
  .about-page .studio-showcase-stat h2{font-family:var(--serif);font-size:1.375rem;font-weight:400;line-height:1.18;letter-spacing:-.015em;color:var(--ink);margin:0 0 .4rem}
  .about-page .studio-showcase-stat-copy p{font-size:.875rem;color:var(--muted)}
  .about-page .studio-showcase-link{width:100%;min-height:3.25rem;justify-content:space-between}
}

@media(max-width:768px){
  /* --- Approach: image first with a tab bar along its bottom edge, then compact text --- */
  .dbx-approach{padding-block:2.5rem}
  .dbx-approach-shell{display:flex;flex-direction:column;border-radius:1.125rem}
  .dbx-approach-right{order:-1;min-height:0;aspect-ratio:4/3.3}
  .dbx-approach-vlabels{top:auto;left:0;right:0;bottom:0;width:auto;height:2.75rem;flex-direction:row;
    border-right:0;border-top:1px solid rgb(255 255 255 / .16);background:rgb(40 40 38 / .62)}
  .dbx-approach-vlabels span{writing-mode:horizontal-tb;transform:none;font-size:clamp(.58rem,2.6vw,.6875rem);letter-spacing:.08em;color:rgb(255 254 249 / .72);
    border-bottom:0;border-right:1px solid rgb(255 255 255 / .12);position:relative}
  .dbx-approach-vlabels span:last-child{border-right:0}
  .dbx-approach-vlabels span.vlabel-active{color:#f0cfb2}
  .dbx-approach-vlabels span.vlabel-active:before{content:"";position:absolute;left:18%;right:18%;top:-1px;height:2px;background:#e6c4a6}
  .dbx-slide-counter{top:.875rem;right:.875rem;font-size:.6875rem}
  .dbx-approach-progress{bottom:3.5rem}
  .dbx-approach-left{padding:1.625rem 1.375rem 1.25rem;justify-content:flex-start}
  .dbx-eyebrow{font-size:.7rem;margin-bottom:.75rem}
  .dbx-approach-left h2{font-size:clamp(1.75rem,7.6vw,2.15rem);line-height:1.1;margin-bottom:1rem}
  .dbx-lead{font-size:.9375rem;margin-bottom:1.25rem}
  /* points: icon beside the title, description using the full width below */
  .dbx-points li{display:grid;grid-template-columns:2.75rem minmax(0,1fr);column-gap:.875rem;row-gap:.5rem;align-items:center;padding:1.125rem 0}
  .dbx-points li>div{display:contents}
  .dbx-points img{width:2.75rem;height:2.75rem;grid-column:1;grid-row:1}
  .dbx-points h3{grid-column:2;grid-row:1;margin:0;font-size:1.4375rem;line-height:1.1}
  .dbx-points p{grid-column:1 / -1;grid-row:2;font-size:.9375rem;line-height:1.7}
}
