:root {
  --ink: #2f2a2c;
  --ink-soft: #5f5759;
  --paper: #fdfcf9;
  --wash: #f4f0ea;
  --wash-deep: #ebe4dc;
  --brand: #8c245d;
  --brand-dark: #6e1747;
  --line: #d8d0c8;
  --footer: #2e292b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Gill Sans", sans-serif;
  --content: 76rem;
  --reading: 68ch;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.72; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .35em; }
a:hover { color: var(--brand); }
button, input, textarea { font: inherit; }
button, a, input, summary, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(140, 36, 93, .12); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1.35rem; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h1 { max-width: 19ch; font-size: clamp(2.55rem, 5vw, 4.85rem); }
h2 { max-width: 23ch; font-size: clamp(2.15rem, 3.8vw, 3.65rem); }
h3 { font-size: clamp(1.7rem, 2.6vw, 2.55rem); }
h4, h5, h6 { font-size: clamp(1.3rem, 1.8vw, 1.75rem); }
p { margin: 0 0 1.4rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.35rem; }
main a:not(.button):not(.linkbox_link):not(.gallery-link):not(.more) { text-decoration-color: rgba(140, 36, 93, .45); }
.page-legal main a { overflow-wrap: anywhere; }

.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 50; background: var(--paper); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem 2rem; width: min(100% - 4rem, 80rem); margin: auto; padding-top: 1.5rem; background: var(--paper); }
.header-kicker { margin: 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.45; letter-spacing: .13em; text-transform: uppercase; }
.brand { justify-self: center; }
.brand img { width: 10.6rem; height: 6.7rem; object-fit: contain; }
.header-contact { justify-self: end; text-align: right; color: var(--ink-soft); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.header-contact a { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0; text-decoration: none; text-transform: none; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 1.4rem; height: 1px; background: currentColor; content: ""; }
.menu-toggle i { position: relative; margin-left: .7rem; }
.menu-toggle i::before { position: absolute; top: -.4rem; }
.menu-toggle i::after { position: absolute; top: .4rem; }
#navigation { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2vw, 1.7rem); min-height: 4.4rem; border-top: 1px solid var(--line); }
.nav-item { position: relative; display: flex; align-items: center; gap: .3rem; }
.nav-item > a, .site-search > summary { position: relative; color: var(--ink-soft); font-size: .78rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.nav-item > a::after { position: absolute; right: 0; bottom: -.55rem; left: 0; height: 1px; background: var(--brand); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav-item > a:hover::after, .nav-item > a[aria-current]::after { transform: scaleX(1); }
.nav-item > a[aria-current] { color: var(--brand); }
.nav-contact > a { border: 1px solid var(--brand); padding: .65rem .9rem; color: var(--brand); }
.nav-contact > a::after { display: none; }
.nav-contact > a:hover { background: var(--brand); color: white; }
.nav-item details > summary { display: grid; width: 1.5rem; height: 1.5rem; place-items: center; }
.nav-item details > summary span { width: .42rem; height: .42rem; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-.15rem) rotate(45deg); }
.submenu, .search-panel { position: absolute; z-index: 25; top: calc(100% + 1rem); right: 0; min-width: 15rem; padding: 1.4rem; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 1.3rem 3rem rgba(58, 43, 49, .12); }
.submenu a { display: block; padding: .35rem 0; text-decoration: none; }
.site-search { position: relative; }
.site-search > summary { cursor: pointer; list-style: none; }
.search-panel { width: min(25rem, 88vw); }
.search-panel label { font-size: .8rem; }
.search-panel input { display: block; width: 100%; margin-top: .65rem; padding: .8rem; border: 1px solid var(--line); background: white; color: var(--ink); }
.search-results { max-height: 45vh; overflow: auto; }
.search-results a { display: block; margin-top: .8rem; font-size: .9rem; }

.article { position: relative; padding: clamp(4.4rem, 8vw, 7.8rem) max(1.5rem, calc((100vw - var(--content)) / 2)); }
.article > .container { width: 100%; }
.inside > .article:first-child { padding-top: clamp(3.8rem, 7vw, 6.5rem); }
.article.bg-styles, .article:has(.testimonial), .article:has(.cols_7) { background: var(--wash); }
.article:has(.contact-form) { background: var(--wash-deep); }
.text, .text_extented { max-width: 53rem; margin: 0 0 2.5rem; }
.text p, .text_extented p { max-width: var(--reading); }
.article > .container > .text:only-child, .article > .container > .text_extented:only-child { margin-inline: auto; }
.align-center { text-align: center; }
.align-center h1, .align-center h2, .align-center h3, .align-center h4 { margin-inline: auto; }
.align-center-justify, .align-left-m { text-align: left; }
.color-lightgray { color: var(--ink-soft); }
.font-style-letter-sp5 { color: var(--brand); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.mb-xl { margin-bottom: 3.6rem; }
.headline, .headline_extended { margin-top: 1rem; }
.headline h1, .headline h2, .headline h3, .headline h4 { margin-bottom: 1.2rem; }
.layout-grid, .layout-row { display: grid; gap: clamp(1.5rem, 3vw, 3.2rem); }
.grid_33_33_33, .cols_3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid_50_50 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid_66_33 { grid-template-columns: minmax(0, 1.7fr) minmax(16rem, .7fr); }
.column { min-width: 0; }

.linkbox { position: relative; height: 100%; }
.linkbox_image { position: relative; overflow: hidden; background: var(--wash-deep); }
.linkbox_image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(34, 27, 30, .16)); content: ""; pointer-events: none; }
.linkbox_image img { width: 100%; aspect-ratio: 1.2; object-fit: cover; transition: transform .5s var(--ease); }
.linkbox:hover img { transform: scale(1.035); }
.linkbox_link { position: absolute; inset: 0; z-index: 2; }
.linkbox .content { padding: 1.6rem 0 0; }
.linkbox h4 { margin-bottom: .75rem; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.linkbox .content p { max-width: 34ch; color: var(--ink-soft); font-size: .92rem; }
.grid_33_33_33 > .column:nth-child(2) { transform: translateY(2.5rem); }

.bgimage { position: relative; overflow: hidden; }
.bgimage-image { position: absolute; inset: 0; }
.bgimage-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35, 28, 30, .72) 0%, rgba(35, 28, 30, .28) 60%, rgba(35, 28, 30, .12)); content: ""; }
.bgimage-image img { width: 100%; height: 100%; object-fit: cover; }
.bgimage-outer { position: relative; display: grid; min-height: 28rem; align-items: center; padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem); color: white; }
.bgimage-inside { width: auto; max-width: var(--content); margin: auto; }
.bgimage .text_extented { margin-bottom: 0; }
.bgimage h2 { font-size: clamp(2.5rem, 5vw, 4.9rem); }
#slider > .inside > .article { padding: 0; }
#slider .bgimage-outer { min-height: clamp(35rem, 72svh, 51rem); }
#slider .bgimage-inside { width: auto; }
#slider .leadertext { max-width: 43rem; margin: 0; text-align: left; }
#slider .leadertext h2 { max-width: none; font-size: clamp(2.8rem, 6vw, 5.5rem); }
#slider .subheadline { margin: 1rem 0 1.8rem; font-size: .88rem; letter-spacing: .24em; }
#slider .leadertext p { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); }

.hyperlink a, .hyperlink-extended a, .button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border: 1px solid var(--brand); background: var(--brand); color: white; cursor: pointer; padding: .8rem 1.25rem; font-size: .82rem; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.hyperlink a:hover, .hyperlink-extended a:hover, .button:hover { border-color: var(--brand-dark); background: var(--brand-dark); color: white; }
.hyperlink a:active, .hyperlink-extended a:active, .button:active { transform: translateY(1px); }

.gallery ul, .gallery .cols_3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.65rem, 1.4vw, 1.2rem); padding: 0; list-style: none; }
.gallery li { margin: 0; }
.gallery .image_container { position: relative; overflow: hidden; background: var(--wash-deep); }
.gallery img { width: 100%; aspect-ratio: 1.28; object-fit: cover; transition: transform .45s var(--ease); }
.gallery .entry:nth-child(3n + 2) img { aspect-ratio: 1 / 1; }
.gallery .entry:hover img { transform: scale(1.025); }
.gallery-link { position: absolute; inset: 0; }
.gallery figcaption { padding: .65rem 0; font-size: .82rem; }
.gallery .capt:empty { display: none; }
.gallery .content { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(46, 41, 43, 0); color: white; transition: background-color .2s var(--ease); }
.gallery .entry:hover .content { background: rgba(46, 41, 43, .18); }
.gallery .content:has(.capt:empty) { background-color: transparent; }
.cols_7 { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; gap: 0 !important; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cols_7 li { display: grid; min-height: 8rem; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); padding: 1.2rem; }
.cols_7 img { width: 100%; max-width: 7.5rem; height: 4.5rem; aspect-ratio: auto; object-fit: contain; filter: grayscale(1); opacity: .76; }
.cols_7 li:hover img { transform: none; filter: grayscale(0); opacity: 1; }

.portfoliolist, .portfoliolist_v3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2.4vw, 2.2rem); }
.portfoliolist .item, .portfoliolist_v3 .item { min-width: 0; }
.portfoliolist img, .portfoliolist_v3 img { width: 100%; aspect-ratio: 1.25; object-fit: cover; transition: transform .45s var(--ease); }
.portfoliolist .item:nth-child(3n + 2) img, .portfoliolist_v3 .item:nth-child(3n + 2) img { aspect-ratio: 1 / 1.08; }
.portfoliolist .item:hover img, .portfoliolist_v3 .item:hover img { transform: scale(1.02); }
.portfoliolist .content, .portfoliolist_v3 .content { padding: 1.1rem 0 0; }
.portfoliolist h2, .portfoliolist h3, .portfoliolist_v3 .title { margin: 0 0 .4rem; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.portfoliolist_v3 .more { display: block; overflow: hidden; text-decoration: none; }
.portfoliolist_v3 .subline { color: var(--ink-soft); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.portfoliofilter_content { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .6rem; margin-bottom: 2rem; }
.portfoliofilter button { min-height: 2.8rem; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: .55rem 1rem; }
.portfoliofilter button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: white; }
.item[hidden] { display: none; }

.image_extended img { margin: auto; }
.image_extended .content { margin-top: 1rem; }
.section-image { width: 100%; object-fit: cover; }
.headerimage { position: relative; overflow: hidden; }
.headerimage::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(38, 31, 34, .24)); content: ""; pointer-events: none; }
.headerimage img { width: 100%; height: clamp(22rem, 48vw, 42rem); object-fit: cover; }
.testimonial { height: 100%; padding: 0 2rem 1rem; border-left: 2px solid var(--brand); }
.testimonial .text { max-width: 38rem; margin-bottom: 1.3rem; font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; }
.testimonial .name { margin-top: 1.2rem; font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.sliderStart, .swiper-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.swiper-slide { min-width: 0; }
.table { overflow: auto; margin: 1.8rem 0; }
table { width: 100%; border-collapse: collapse; }
td, th { border-bottom: 1px solid var(--line); padding: .75rem; text-align: left; }
th { color: var(--ink-soft); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.native-widget { margin: 2rem 0; padding: clamp(1.6rem, 4vw, 3rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.native-widget h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.native-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.native-content-grid article { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.native-content-grid h3 { font-size: 1.35rem; }
.native-content-grid a { font-size: .82rem; }

.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.contact-form { max-width: 69rem; margin: 2rem 0; }
.contact-form label { display: block; margin-bottom: 1.2rem; font-size: .82rem; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: .5rem; border: 1px solid #aaa09a; border-radius: 0; background: var(--paper); color: var(--ink); padding: .9rem; }
.contact-form input:hover, .contact-form textarea:hover { border-color: var(--ink-soft); }
.contact-form textarea { resize: vertical; }
.form-privacy { max-width: 80ch; color: var(--ink-soft); font-size: .76rem; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1.2rem 0; color: var(--brand); }
.contact-form button[disabled] { cursor: wait; opacity: .65; }

.site-footer { position: relative; overflow: hidden; background: var(--footer); color: white; padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - var(--content)) / 2)) 1.8rem; }
.site-footer::before { position: absolute; top: -11rem; right: -8rem; width: 26rem; height: 26rem; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; content: ""; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.1fr .8fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); }
.site-footer h2 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); }
.footer-grid nav > a { display: block; width: max-content; padding-bottom: .5rem; }
.site-footer p, .site-footer a { font-size: .88rem; }
.site-footer a:hover { color: #e7b7d0; }
.site-footer .button:hover { color: white; }
.awards { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.3rem; }
.awards img { width: auto; height: 4.2rem; background: white; padding: .45rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.3rem; margin-top: 3rem; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.3rem; font-size: .72rem; }
.footer-bottom nav { display: flex; gap: 1.2rem; }
.lightbox { max-width: 94vw; max-height: 94vh; border: 0; background: var(--footer); color: white; padding: 0; }
.lightbox::backdrop { background: rgba(30, 24, 27, .92); }
.lightbox img { max-width: 94vw; max-height: 82vh; margin: auto; object-fit: contain; }
.lightbox-close { display: block; margin-left: auto; border: 0; background: transparent; color: white; cursor: pointer; padding: 1rem; }

.page-local main > #slider + .inside > .article:first-child .container, .page-audience main > #slider + .inside > .article:first-child .container, .page-standard main > #slider + .inside > .article:first-child .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .65fr); align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.page-local main > #slider + .inside > .article:first-child .gallery, .page-audience main > #slider + .inside > .article:first-child .gallery { margin-top: 1.2rem; }
.page-project-detail .portfolioreader > .grid_66_33 { align-items: stretch; gap: 0; background: var(--wash); }
.page-project-detail .portfolioreader > .grid_66_33 > .column:first-child img { width: 100%; height: 100%; min-height: 32rem; object-fit: cover; }
.page-project-detail .portfolioreader > .grid_66_33 > .column:last-child { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.page-project-detail .portfolioreader > .headline_extended { margin-top: clamp(3rem, 7vw, 6rem); }
.page-legal .article { padding-block: clamp(3rem, 6vw, 5rem); }
.page-legal .text { margin-inline: auto; }
.back { margin: 1.5rem 0; }
.video_background video { display: block; width: 100%; max-height: 40rem; background: var(--footer); object-fit: cover; }

@media (max-width: 68rem) {
  .site-header { width: min(100% - 2.5rem, 80rem); }
  #navigation { flex-wrap: wrap; gap: 1rem 1.35rem; padding: 1rem 0; }
  .article { padding-inline: 1.75rem; }
  .footer-grid { gap: 2.5rem; }
  .cols_7 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .page-local main > #slider + .inside > .article:first-child .container, .page-audience main > #slider + .inside > .article:first-child .container, .page-standard main > #slider + .inside > .article:first-child .container { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 48rem) {
  body { font-size: 16px; }
  h1, h2, h3, h4, h5, h6, h1 * { overflow-wrap: anywhere; }
  h1 { font-size: clamp(2.25rem, 11vw, 3.6rem); }
  .site-header { grid-template-columns: 1fr auto 1fr; width: 100%; padding: .7rem 1.2rem; }
  .header-kicker, .header-contact { display: none; }
  .brand { grid-column: 2; }
  .brand img { width: 8.1rem; height: 5.1rem; }
  .menu-toggle { display: inline-flex; grid-column: 3; justify-self: end; align-items: center; padding: .8rem 0 .8rem .8rem; }
  #navigation { display: none; grid-column: 1 / -1; align-items: stretch; justify-content: flex-start; gap: 0; max-height: calc(100dvh - 6rem); overflow-y: auto; border-top: 1px solid var(--line); padding: .7rem 0 1rem; }
  #navigation.is-open { display: flex; flex-direction: column; }
  .nav-item { justify-content: space-between; border-bottom: 1px solid var(--line); padding: .75rem .15rem; }
  .nav-item > a, .site-search > summary { font-size: .95rem; letter-spacing: .04em; text-transform: none; }
  .nav-contact > a { width: 100%; border: 0; padding: 0; color: var(--brand); }
  .submenu, .search-panel { position: static; width: 100%; min-width: 0; border: 0; box-shadow: none; padding: .8rem 0 0 1rem; }
  .site-search { padding: .75rem .15rem; }
  .article { padding: 4.2rem 1.25rem 5rem; }
  .inside > .article:first-child { padding-top: 3.4rem; }
  #slider .bgimage-outer { min-height: 36rem; padding: 3rem 1.25rem; }
  #slider .leadertext { align-self: end; padding-bottom: 2rem; }
  #slider .leadertext h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); white-space: nowrap; }
  .headerimage img { height: 22rem; }
  .layout-grid, .layout-row, .grid_33_33_33, .grid_50_50, .grid_66_33, .form-grid, .footer-grid, .sliderStart, .swiper-wrapper, .native-content-grid { grid-template-columns: 1fr; }
  .grid_33_33_33 > .column:nth-child(2) { transform: none; }
  .grid_33_33_33 { gap: 2.6rem; }
  .gallery ul, .gallery .cols_3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .gallery .entry:nth-child(3n + 2) img { aspect-ratio: 1.28; }
  .portfoliolist, .portfoliolist_v3 { grid-template-columns: 1fr; }
  .portfoliolist .item:nth-child(3n + 2) img, .portfoliolist_v3 .item:nth-child(3n + 2) img { aspect-ratio: 1.25; }
  .cols_7 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .testimonial { padding-inline: 1.2rem 0; }
  .page-project-detail .portfolioreader > .grid_66_33 > .column:first-child img { min-height: 22rem; }
  .page-project-detail .portfolioreader > .grid_66_33 > .column:last-child { padding: 2rem 1.4rem; }
  .site-footer { padding-inline: 1.35rem; }
  .footer-bottom { flex-direction: column; }
  .mb-xl { margin-bottom: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
