/* =========================================================
   RESET
========================================================= */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #111;
  font-family: 'Jost', Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* ================================
   EDITORIAL LINK BASE
================================ */
a {
    color: #111;
    text-decoration: none;
    font-weight: 450;

    /* subtle editorial underline */
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: 0 95%;

    transition: color 0.2s ease, background-size 0.25s ease, transform 0.1s ease;
}

/* ================================
   VISITED LINKS (subtle tint, not purple)
================================ */
a:visited {
    color: #444;
}

/* ================================
   HOVER (slight emphasis, not flashy)
================================ */
a:hover {
    color: #000;
    background-size: 100% 1px;
}

/* ================================
   ACTIVE (press feel)
================================ */
a:active {
    transform: translateY(1px);
}

/* ================================
   FOCUS (keyboard accessibility)
================================ */
a:focus {
    outline: none;
}

a:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.35);
    outline-offset: 3px;
    border-radius: 2px;
    background-size: 100% 1px;
}

/* ================================
   OPTIONAL: SOFT EMPHASIS FOR LINKS IN BODY TEXT
================================ */
p a,
li a {
    color: #111;
    font-weight: 400;
}

/* ================================
   OPTIONAL: REMOVE UNDERLINE STYLE (for buttons or UI links)
================================ */
a.no-underline {
    background-image: none;
}

/* ================================
   OPTIONAL: EXTERNAL LINK INDICATOR (subtle editorial cue)
================================ */
a[target="_blank"]::after {
    content: "↗";
    font-size: 0.75em;
    margin-left: 3px;
    opacity: 0.5;
}



/* =========================================================
   TOKENS
========================================================= */

:root {
  --space: clamp(1rem, 2vw, 2rem);
  --space-sm: 0.75rem;
  --nav-width: 20%;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  z-index: 1000;
}

/* =========================================================
   NAV TOGGLE (mobile)
========================================================= */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  opacity: 0.6;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 3px;
}

/* =========================================================
   LAYOUT
========================================================= */

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-wrapper__credit {
  margin: 0;
  box-sizing: border-box;
  text-align: left;
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  opacity: 0.55;
  padding: 0.45rem var(--space) calc(0.45rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eee;
}

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

.site-wrapper__credit a:hover {
  opacity: 0.85;
}

/* Gallery artwork: mild friction only (not security; eases casual save-as) */
img.slide__image,
.thumbnail-strip img {
  -webkit-user-drag: none;
  user-select: none;
}

/* .page h1 {
  font-weight: 300;
} */

/* =========================================================
   Site Title
========================================================= */

.site-ttl {
  position: absolute;
  line-height: 1;
  /* letter-spacing: -0.05em; */
  /* font-family: "Birthstone", cursive; */
  font-weight: 400;
  font-style: normal;
}

/* =========================================================
   NAV (mobile default)
========================================================= */

.site-nav {
  display: none;
  padding: var(--space);
  border-bottom: 1px solid #eee;
}

.site-nav.is-open {
  display: block;
}

.site-title {
  display: block;
  text-decoration: none;
  color: inherit!important;
  margin: 0;
  background-image: none;
}

/* lists */

.nav-primary,
.nav-secondary {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-primary:first-of-type {
   counter-reset: item;
  list-style: none; /* optional if you want to hide default numbers */
  padding-left: 0;
}

.nav-primary:first-of-type li {
   counter-increment: item; 
}

.nav-primary:first-of-type li::before {
  content: counter(item) ". ";
  
}
 
.nav-primary li,
.nav-secondary li {
  margin-bottom: 0.7rem;
}

.site-nav a {
  text-decoration: none;
  color: inherit;
  font-size: 1.2rem;
  /* font-size: 0.82rem; */
  background-image: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  opacity: 0.6;
}

/* WordPress marks the active item on <li> — style the link inside */
.site-nav li.current-menu-item > a,
.site-nav li.current_page_item > a {
  background: #ddd;
  padding: 2px 5px;
  border-radius: 3px;
}

.site-nav li.current-menu-item > a:hover,
.site-nav li.current_page_item > a:hover {
  opacity: 0.7;
}

.site-nav li.current-menu-ancestor > a,
.site-nav li.current_page_ancestor > a {
  font-weight: 400;
  opacity: 0.85;
}

/* divider */

.nav-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 1rem 0;
}

/* =========================================================
   MAIN
========================================================= */

.site-main {
  padding: var(--space);
}

.site-main--home-entry {
  padding: 0;
}

.gallery-section__title {
  font-size: 0.85rem;
  font-weight: normal;
  margin: 0;
  opacity: 0.7;
}

.gallery-section__empty {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.65;
}

.home-entry-layout {
  width: 100%;
}

.home-entry-canvas {
  width: 100%;
  min-height: clamp(22rem, 72vh, 56rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
  /* background-color: #efefef; */
  background-image: var(--home-entry-bg-image, url("../images/ah-splash-bg.png"));
  background-position: left -20px;
  background-repeat: no-repeat;
  background-size: 60%;
}

.home-entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid currentColor;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: inherit;
  background: rgba(255, 255, 255, 0.8);
}

.home-entry-btn:hover {
  opacity: 0.7;
}

.home-entry-btn:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 3px;
}

.slideshow__controls--hidden {
  display: none;
}

/* =========================================================
   SLIDESHOW
========================================================= */

.home-rand-feature {
  width: 100%;
  position: relative;
  min-height: 0;
}

.slideshow {
  width: 100%;
  position: relative;
  min-height: 0;
}

.slideshow__track {
  width: 100%;
  margin: auto;
  position: relative;
}

/* slides */

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* figure */

.slide__figure {
  margin: 0;
  position: relative;
}

/* image */

.slide__image {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnail-strip-wrap {
  margin-top: 0.75rem;
}

.thumb-scroll {
  display: none;
}

.thumbnail-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0;
}

.thumb-btn {
  border: 1px solid #ddd;
  background: #fff;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.thumb-btn.is-active {
  border-color: #111;
}

.thumb-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.thumb-btn img {
  display: block;
}

.slideshow__btn {
  background: none;
  border: none;
  padding: 0;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
}

.slideshow__counter, 
.slideshow__btn {
  font-size: 1.2rem;
}

.slideshow__btn:hover {
  opacity: 0.6;
}

.slideshow__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slideshow__btn:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 3px;
}

/* =========================================================
   CAPTION (mobile: below image)
========================================================= */

.slide__caption {
  margin-top: var(--space-sm);
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 38rem;
}

.slide__title {
  display: block;
  font-weight: normal;
}

.slide__medium,
.slide__dimensions,
.slide__date {
  display: block;
  opacity: 0.65;
}

/* =========================================================
   MOBILE — rail as header band, gallery stack, thumb scroller
   (matches desktop breakpoint at 60rem)
========================================================= */

@media (max-width: 59.99rem) {
  .left-rail {
    width: 100%;
    flex-shrink: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: relative;
    z-index: 5;
  }

  .left-rail__masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title button"
      "tagline button";
    align-items: start;
    /* gap: var(--space-sm); */
    padding: var(--space-sm) var(--space);
    min-height: 3rem;
  }

  .site-ttl {
    grid-area: title;
    position: static;
    min-width: 0;
    margin: 0;
    font-size: clamp(1rem, 5.5vw, 1.35rem);
    line-height: 1.2;
  }

  .tagline {
    grid-area: tagline;
    margin: 0;
    min-width: 0;
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .nav-toggle {
    grid-area: button;
    justify-self: end;
    align-self: center;
    min-height: 2.5rem;
    padding: 0.4rem 0;
    font-size: 1.2rem; /*was 0.8*/
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .gallery-section {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 0;
  }

  .gallery-section__title {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    padding: 0 0 0.35rem;
    border-bottom: 1px solid #eee;
  }

  .slideshow.slideshow--thumbnails {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0.5rem;
  }

  .slideshow .slideshow__track {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    /* height: 65vh; */
    height: 55vh;
  }

  .slideshow .slide__figure {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .slideshow .slide__image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(48vh, 420px);
    object-fit: contain;
    align-self: center;
  }

  .slideshow .slide__caption {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin-top: 0.5rem;
    padding-top: 0.45rem;
    border-top: 1px solid #eee;
    box-sizing: border-box;
  }

  .slideshow .slide__title {
    display: block;
    width: 100%;
    margin: 0 0 0.2rem;
    font-weight: 400;
  }

  .slideshow .slide__medium,
  .slideshow .slide__dimensions,
  .slideshow .slide__date {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.1rem 0;
  }

  .slideshow--thumbnails .thumbnail-strip-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    margin-top: 0.25rem;
    padding: 0.15rem 0;
  }

  .slideshow--thumbnails .thumbnail-strip-wrap .thumb-scroll,
  .slideshow--thumbnails .thumbnail-strip-wrap--scrollable .thumb-scroll {
    display: none;
  }

  .slideshow--thumbnails .thumbnail-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.35rem;
    margin-top: 0;
    padding: 0.2rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .slideshow--thumbnails .thumbnail-strip::-webkit-scrollbar {
    height: 4px;
  }

  .slideshow--thumbnails .thumb-btn {
    flex: 0 0 auto;
  }

  .slideshow--thumbnails .thumb-btn img {
    /* width: 48px;
    height: 48px;  */
    width: 60px;
    height: 60px;
    object-fit: cover;
  }

  .home-entry-canvas {
    background-size: cover;
  }
}

/* =========================================================
   DESKTOP SHIFT
========================================================= */

@media (min-width: 60rem) {

  .site-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .site-wrapper__credit {
    flex: 0 0 100%;
    width: 100%;
  }

  /* NAV → LEFT RAIL (full-height column; inner block sticks on long pages) */

  .left-rail {
    width: var(--nav-width);
    flex-shrink: 0;
    align-self: stretch;
    border-right: 1px solid #eee;
    border-bottom: none;
    box-sizing: border-box;
  }

  .left-rail__masthead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-shrink: 0;
    gap: 0;
    padding: 0;
    min-height: 0;
  }

  .left-rail__inner {
    position: sticky;
    top: 0;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-ttl {
    position: static;
    flex-shrink: 0;
    padding: var(--space) var(--space) 0;
    z-index: 1;
    /* font-size: 3em; */
    font-size: 2.5vw;
    letter-spacing: -0.05em;
    margin: 0;
  }

  .tagline {
    margin:  0;
    padding: 0 var(--space) 2rem;
    font-size: 1.3vw;
    line-height: 1;
    font-weight: 300;
  }

  .site-nav {
    display: block;
    flex: 0 1 auto;
    min-height: 0;
    height: auto;
    border-right: none;
    border-bottom: none;
    padding: 0 var(--space) var(--space);
  }

  .nav-toggle {
    display: none;
  }

  .nav-primary li,
  .nav-secondary li {
    /* margin-bottom: 0.3rem; */
    /* margin-bottom: 0.75rem; */
    padding:  1rem 0;
    margin: 0;
    line-height: 1;
    border-bottom: 1px solid #ccc;
  }

  /* MAIN → CANVAS */

  .site-main {
    width: calc(100% - var(--nav-width));
    padding: var(--space);
    height: 100vh;
    overflow: hidden;
  }

  /* Home canvas entry: no outer padding, fill main column height beside rail */
  .site-main.site-main--home-entry {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .site-main.site-main--home-entry .home-entry-layout {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .site-main.site-main--home-entry .home-entry-canvas {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
  }

  .site-main.site-main--home-entry .home-entry-btn {
    position: absolute;
    left: calc(50% + 4rem);
    top: 61.5%;
    transform: translate(-50%, -50%);
  }

  /* Long-form pages (About): fill the column beside the rail; max-width lives on .about-page */
  .site-main.site-main--about {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
  }

  .gallery-section,
  .gallery-section .slideshow,
  .gallery-section .slideshow__track,
  .gallery-section .slideshow .slide,
  .gallery-section .slideshow .slide.is-active,
  .gallery-section .slideshow .slide__figure,
  .gallery-section .home-rand-feature,
  .gallery-section .home-rand-feature .home-rand-feature__art,
  .gallery-section .home-rand-feature .slide__figure {
    height: 100%;
  }

  .gallery-section__title {
    display: none;
  }

  .slideshow--thumbnails {
    padding-right: 5.25rem;
  }

  .slideshow__track {
    max-width: 95%;
  }

  /* center artwork and maximize canvas while preserving ratio */

  .gallery-section .slideshow .slide__figure,
  .gallery-section .home-rand-feature .slide__figure {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-section .slideshow .slide__image,
  .gallery-section .home-rand-feature .slide__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* =====================================================
     CAPTION OVERLAY (gallery style)
  ===================================================== */

  .gallery-section .slideshow .slide__caption,
  .gallery-section .home-rand-feature .slide__caption {
    position: absolute;
    bottom: var(--space);
    left: var(--space);
    margin: 0;
    background: rgba(255, 255, 255, 0.75);
    padding: 0.5rem 0.75rem;
    max-width: min(28rem, calc(100% - (var(--space) * 2)));
    width: fit-content;
    max-height: min(50vh, 22rem);
    overflow-y: auto;
    color: #111;
    backdrop-filter: blur(2px);
    font-size: 1rem;
  }

  .slideshow__controls {
    position: absolute;
    right: var(--space);
    bottom: var(--space);
    z-index: 3;
    background: rgba(255, 255, 255, 0.75);
    padding:  0.5rem 0.75rem;
  }

  .slideshow--thumbnails .thumbnail-strip-wrap {
    position: absolute;
    top: 45%;
    right: var(--space);
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 65px;
    max-height: calc(100% - (var(--space) * 2));
    margin-top: 0;
  }

  .slideshow--thumbnails .thumbnail-strip-wrap .thumb-scroll {
    display: none;
  }

  .slideshow--thumbnails .thumbnail-strip-wrap--scrollable .thumb-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 65px;
    height: 28px;
    margin: 0;
    padding: 0;
    /* border: 1px solid rgba(0, 0, 0, 0.12); */
    border:  none;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.88);
    color: #111;
    cursor: pointer;
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07); */
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px); */
    font-size: 0.65rem;
    line-height: 1;
  }

  .slideshow--thumbnails .thumbnail-strip-wrap--scrollable .thumb-scroll:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.35);
  }

  .slideshow--thumbnails .thumbnail-strip-wrap--scrollable .thumb-scroll:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
  }

  .slideshow--thumbnails .thumbnail-strip-wrap--scrollable .thumb-scroll:disabled {
    opacity: 0.22;
    cursor: default;
    box-shadow: none;
  }

  .slideshow--thumbnails .thumbnail-strip-wrap--scrollable .thumb-scroll__icon {
    display: block;
    transform: scaleY(0.85);
    opacity: 0.85;
  }

  .slideshow--thumbnails .thumbnail-strip {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .slideshow--thumbnails .thumbnail-strip::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .slideshow--thumbnails .thumb-btn img {
    width: 90%;
    height: 65px;
    margin: auto;
    object-fit: cover;
  }
}

/* =========================================================
   ABOUT / BIO PAGE (page-about.php)
========================================================= */

.site-main--about {
  padding: var(--space);
}

/* Readable measure for bio copy; main stays full-width beside the rail on desktop */
.about-page {
  max-width: 50rem;
}

.about-page__header {
  margin-bottom: var(--space);
}

.about-page__title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

.about-page__body {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space) * 1.25);
}

.about-page__photo {
  margin: 0;
  flex-shrink: 0;
}

.about-page__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Undo classic editor align classes if a stray image remains in content */
.about-page__content .alignleft,
.about-page__content .alignright,
.about-page__content .alignnone {
  float: none;
  margin-left: 0;
  margin-right: 0;
}

.about-page__content > *:first-child {
  margin-top: 0;
}

.about-page__content h2 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  letter-spacing: 0.03em;
}

.about-page__content h2:first-child {
  margin-top: 0;
}

.about-page__content p,
.about-page__content ul {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
}

.about-page__content ul {
  padding-left: 1.2rem;
}

.about-page__content blockquote {
  margin: 1rem 0;
  padding: 0 0 0 1rem;
  border-left: 3px solid #ccc;
  font-style: italic;
}

.about-page__content blockquote p {
  margin-bottom: 0.35rem;
}

.about-page__content blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.85;
}

.about-page .page-links {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

@media (min-width: 48rem) {
  .about-page__body {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }

  .about-page__photo {
    width: min(280px, 34vw);
    max-width: 40%;
    flex-shrink: 0;
  }

  .about-page__content {
    flex: 1;
    min-width: 0;
  }

  #wiki-pic {
    float:  right;
    text-align: center;
    margin-left: 15px;
  }

  #wiki-pic-left {
    float:  left;
    text-align: center;
    margin-right: 15px;
  }
}


/* ================================
   CONTACT FORM 7 — ULTRA MINIMAL
================================ */

.wpcf7-form {
  margin: 0 auto;
  padding: 0;
}

/* Remove CF7 paragraph spacing */
.wpcf7-form p {
  margin: 0 0 12px;
}

/* Labels */
.wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #222;
}

/* Inputs + textarea */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #ddd;
  background: transparent;
  font-size: 15px;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
  border-bottom-color: #111;
}

.wpcf7-form-control.wpcf7-text:focus-visible,
.wpcf7-form-control.wpcf7-email:focus-visible,
.wpcf7-form-control.wpcf7-textarea:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
  border-bottom-color: #111;
}

/* Textarea */
.wpcf7-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Submit button */

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    appearance: none;
    -webkit-appearance: none;

    background: #111;
    color: #fff;

    border: 1px solid #111;
    border-radius: 6px;

    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;
    display: inline-block;

    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    text-transform: none;
}

/* Hover */
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background: #000;
    border-color: #000;
    transform: translateY(-1px);
}

/* Active (click feel) */
input.wpcf7-form-control.wpcf7-submit.has-spinner:active {
    transform: translateY(0px);
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:focus:not(:focus-visible) {
    outline: none;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:focus-visible {
    outline: 2px solid rgba(0,0,0,0.35);
    outline-offset: 3px;
}

/* Response output */
.wpcf7-response-output {
  margin-top: 10px;
  font-size: 13px;
  color: #555;
}