/*
Theme Name: Amadea 2026
Theme URI: https://amadeabailey.com/
Author: BIGPIE
Description: Custom WordPress theme for Amadea.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: brain-wp-starter
*/

:root {
    --content-width: 1200px;
    --gutter: clamp(18px, 3vw, 42px);
    --header-height: clamp(74px, 7vw, 104px);
    --ease-smooth: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
	padding: 20px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: #000;
    background: #fff;
    font-family: "arboria", Helvetica, sans-serif;
    line-height: 1.5;
    font-size: 13px;
	letter-spacing: 1px;
}

/* Global production typography requirement: all readable text is 13px. */
body,
body * {
    font-size: 13px !important;
}

h1,
h2 {
    font-weight: normal;
}

button, input[type="submit"], input[type="button"] {
  -webkit-appearance: none; /* Removes default iOS/Android styling */
  appearance: none;         /* Standard property */
  background-color: transparent; /* Set your own background color */
  border: none;             /* Optional: remove default borders */
}



/* Arrow glyphs are interface icons, not readable text. */
.amadea-single__arrow,
.testimonials__arrow span,
.art-gallery__arrow span {
    font-size: 30px !important;
}

#wpadminbar,
#wpadminbar * {
    font-size: initial !important;
}

body.nav-open {
/*    overflow: hidden;*/
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

.container {
    width: min(calc(100% - (var(--gutter) * 2)), var(--content-width));
    margin-inline: auto;
}

.site-main {
    min-height: 60vh;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 10000;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    color: #000;
    background: #fff;
}

/* Header */
.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #fff;
}

.site-header__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: var(--header-height);
    padding: 20px 0px clamp(16px, 2.25vw, 34px);
    background: rgba(255, 255, 255, .98);
}

.site-brand {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(240px, 42vw);
    color: inherit;
    line-height: 1;
    text-decoration: none;
}

.site-brand__lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.site-brand img.site-brand__logo {
    width: 180px;
    max-width: none;
    height: auto;
}

.site-brand__subtitle {
    display: block;
    margin-top: -12px;
    margin-left: 25px;
    color: #000;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 22px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header__spacer {
    grid-column: 3;
    justify-self: end;
    width: 30px;
}

/* Menu toggle */
.menu-toggle {
    position: relative;
    z-index: 5;
    grid-column: 1;
    justify-self: start;
    width: 30px;
    height: 30px;
    padding: 5px 3px;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle__line {
    position: absolute;
    left: 3px;
    width: 19px;
    height: 1px;
    background: #000000;
    transform-origin: center;
    transition: transform .35s var(--ease-smooth), top .35s var(--ease-smooth), opacity .2s ease;
}

.menu-toggle__line:nth-child(1) { top: 8px; }
.menu-toggle__line:nth-child(2) { top: 14px; }
.menu-toggle__line:nth-child(3) { top: 20px; }

.site-header.menu-open .menu-toggle__line:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.site-header.menu-open .menu-toggle__line:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}

/* Primary navigation */
.menu-panel {
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 10px var(--gutter) 48px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px);
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,.98) 38%, rgba(255,255,255,.86) 66%, rgba(255,255,255,.38) 86%, rgba(255,255,255,0) 100%);
    transition: opacity .35s ease, transform .45s var(--ease-smooth), visibility 0s linear .45s;
}

.site-header.menu-open .menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

.primary-nav {
    width: min(100%, 1180px);
    margin-inline: auto;
}

.primary-nav__menu,
.primary-nav > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px clamp(24px, 4vw, 64px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-nav li {
    padding: 0;
    margin: 0;
}

.primary-nav a {
    position: relative;
    display: inline-block;
    padding: 4px 0;
    color: #999;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 5px;
    text-decoration: none;
    text-transform: uppercase;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s var(--ease-smooth);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Natural-ratio homepage carousel */
.home-carousel {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.home-carousel__slides {
    margin: auto;
    position: relative;
    width: 75%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1800 / 970;
    transition: height .65s var(--ease-smooth);
}

.home-carousel__slides[style] {
    aspect-ratio: auto;
}

.home-carousel__slide {
    position: absolute;
    inset: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .55s ease, visibility 0s linear .55s;
}

.home-carousel__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.home-carousel__slide img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* Homepage content */
.home-intro {
    padding: 30px 0px;
}

.home-intro__inner {
    width: min(88%, 1220px);
    margin-inline: auto;
    color: #000;
    font-size: clamp(15px, .72vw, 15px);
    line-height: 1.65;
    text-align: center;
}
.home-intro__inner > :first-child,
.home-midcopy__inner > :first-child {
    margin-top: 0;
	width: min(calc(100% - (var(--gutter) * 2)), var(--content-width));
  margin-inline: auto;
}

.home-intro__inner > :last-child,
.home-midcopy__inner > :last-child {
    margin-bottom: 0;
}

.home-feature {
    width: 100%;
    overflow: hidden;
    background: #f4f2ed;
}

.home-feature img {
    width: 90%;
    height: auto;
    object-fit: contain;
	margin: auto;
}

.home-midcopy {
    padding: 30px 0px;
	 text-align: center;
}

.home-intro__inner {
     width: min(88%, 1220px);
    margin-inline: auto;
    color: #000;
    font-size: clamp(15px, .72vw, 15px);
    line-height: 1.65;
    text-align: center;
	padding: 0px 30px;
}

/* Footer image strip */
.home-strip,
.home-strip__item {
    width: 100%;
    overflow: hidden;
}

.home-strip__item ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.home-strip__item li {
    min-width: 0;
    padding: 0;
    margin: 0;
}

.home-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-smooth);
    transform: scale(1);
    outline: 5px solid #fff;
}
.home-strip__item img:hover {
    transform: scale(1.025);
	outline: 5px solid #fff;
}

/* Footer */
.site-footer {
    padding: clamp(28px, 3.25vw, 50px) 0 clamp(32px, 4vw, 60px);
    color: #000;
    background: #fff;
    font-size: clamp(17px, .62vw, 17px);
    line-height: 1.65;
	padding: 0px 0px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    width: calc(100% - (var(--gutter) * 2));
    max-width: none;
	padding: 30px 0px;
}

.footer-menu {
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
	padding: 0;
}

.footer-menu li {
    margin: 0 0;
	padding: 0px 0px 7px 0px;
}

.footer-menu a,
.site-footer__contact a {
    display: inline-block;
    color: inherit;
   letter-spacing: 2px;
    text-decoration: none;
}

.site-footer__contact {
    justify-self: end;
    max-width: 320px;
    text-align: right;
	padding: 0;
}

.site-footer__contact p {
    margin: 0 0 3px;
}

.site-footer__contact-title {
	padding: 0;
}

/* Standard WordPress content templates */
.site-main.container {
    padding-top: clamp(30px, 5vw, 72px);
    padding-bottom: clamp(40px, 7vw, 96px);
}

.site-main article + article {
    margin-top: clamp(32px, 5vw, 72px);
}

.site-main h1,
.site-main h2 {
    line-height: 1.15;
}

.site-main article img {
    height: auto;
}


/* Amadea footer contact and Mailchimp newsletter form */

.site-footer {
     padding: 20px 0px;
}
.site-footer__contact {
    justify-self: end;
    width: 100%;
    max-width: 585px;
    color: #000000;
    text-align: right;
    
}

.site-footer__contact-title {
    margin: 0;
    color: #000000;
    font-weight: 400;
    line-height: 1;
	padding: 0px 0px;
}

.newsletter-form {
    position: relative;
    width: 100%;
    color: #000000;
    margin: 0px;
}

.newsletter-form__title {
    padding: 0 0 15px;
    margin: 0;
    border-bottom: 2px solid #222;
    line-height: 1.25;
	letter-spacing: 2px;
}

.newsletter-form__email {
    display: block;
    width: 100%;
    padding: 22px 8px 19px;
    border: 0;
    border-bottom: 2px solid #222;
    border-radius: 0;
    outline: 0;
    color: #000000;
    background: transparent;
    font: inherit;
    text-align: right;
    appearance: none;
	letter-spacing: 2px;
}

.newsletter-form__email::placeholder {
    color: #000000;
    opacity: 1;
}

.newsletter-form__email:focus {
    border-bottom-color: #777;
}

.newsletter-form__submit {
    display: block;
    padding: 18px 0 0 28px;
    margin-left: auto;
    border: 0;
    color: #000000;
    background: transparent;
    font: inherit;
    font-weight: 400;
    cursor: pointer;
	letter-spacing: 2px;
}

.newsletter-form__submit:hover,
.newsletter-form__submit:focus-visible {
    color: #777;
}

.newsletter-form__submit:disabled {
    opacity: .45;
    cursor: wait;
}

.newsletter-form__status {
    min-height: 1.5em;
    margin: 10px 0 0;
    font-size: 10px;
}

.newsletter-form__trap,
.newsletter-form .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-footer__social {
    margin-top: 34px;
    color: #000000;
    font-size: clamp(15px, 1.3vw, 25px);
    line-height: 1.5;
    white-space: nowrap;
}

.site-footer__social a {
    color: inherit;
    text-decoration: none;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
    color: #777;
}

@media (max-width: 767px) {
    .site-footer__contact-title {
        margin-bottom: 28px;
    }
	
	.home-intro__inner {
	padding: 0px 0px; 
}

    .site-footer__social {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .site-footer__contact {
        justify-self: stretch;
        width: 100%;
        max-width: none;
        margin-top: 28px;
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    .newsletter-form__email,
    .newsletter-form__submit,
    .site-footer__social a {
        transition-duration: .01ms !important;
    }
}



@media (max-width: 1024px) {
    .primary-nav__menu,
    .primary-nav > ul {
        gap: 8px 30px;
    }
}

@media (max-width: 767px) {
    :root {
        --gutter: 18px;
        --header-height: 72px;
    }

    .site-header__inner {
        grid-template-columns: 38px 1fr 38px;
        min-height: var(--header-height);
        padding-block: 14px;
    }

    .site-brand {
        width: 100%;
        max-width: none;
    }

    .site-brand img.site-brand__logo {
        width: clamp(98px, 29vw, 122px);
    }

    .site-brand__subtitle {
         letter-spacing: 7px;
        font-size:10px !important;
        margin:0px 0px 0px 0px;
    }

    .menu-panel {
        padding: 24px var(--gutter) 278px;
    }

    .primary-nav__menu,
    .primary-nav > ul {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 4px;
    }

    .primary-nav a {
        padding: 10px 0;
        font-size: 12px;
    }

    .home-intro__inner,
    .home-midcopy__inner {
        width:100%;
    }

    .home-strip__item ul {
        grid-template-columns: 1fr;
    }

    .home-strip__item li {
        aspect-ratio: 1.45 / 1;
    }

    .site-footer__inner {
        gap: 20px;
    }
}

@media (max-width: 460px) {
    .site-footer__inner {
        width: calc(100% - 32px);
    }
	
	.home-carousel__slides {
    margin: auto;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1800 / 970;
    transition: height .65s var(--ease-smooth);
}
	
	.home-feature img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: auto;
}

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
