:root {
  --green: #009400;
  --green-dark: #003700;
  --green-deep: #005d08;
  --green-mid: #078f18;
  --green-light: #27b22e;
  --ink: #164b1c;
  --header-height: 112px;
  --content-width: 1280px;
  --site-font: Optima, Candara, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --site-font-weight: 300;
  --site-font-size: 16px;
  --home-wave-green-dark-opacity: .5;
  --home-wave-green-light-opacity: .8;
  --testimonials-wave-green-dark-opacity: 1;
  --testimonials-wave-green-light-opacity: 1;
  --about-wave-green-dark-opacity: .25;
  --about-wave-green-light-opacity: .5;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--site-font);
  font-size: var(--site-font-size);
  font-weight: var(--site-font-weight);
  line-height: 1.32;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: #fff;
  background: linear-gradient(180deg, #00a400 0, #009400 70%, #006c00 70%, #003700 100%);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.38);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 76px; /* top of the dark-green header bar */
  left: 0;
  width: 100%;
  height: 2px;
  background: rgb(255, 255, 255);
  pointer-events: none;
}

.header-top,
.header-bar {
  position: relative;
  width: min(calc(100% - 48px), 1330px);
  margin: 0 auto;
}

.header-top {
  height: 78px; /* ======================= vertical placement of header type and buttons */
}

.brand {
  position: absolute;
  left: 0;
  bottom: -1px;
  color: #fff;
  font-family: var(--site-font);
  font-size: 48px; /* ======================= Donna LePine */
  line-height: 1;
  text-decoration: none;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.75);
}

.header-bar {
  height: 34px;
}

.tagline {
  position: absolute;
  top: 2px; /*  ======================= vertical spot for Graphic Designer...  ======================= */
  left: 30px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #fff;
  font-family: var(--site-font);
  font-size: 30px; /*  ======================= Graphic Designer & ...  ======================= */
  line-height: 34px;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
} 

.tagline img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  position: relative;
  top: 5px;/*  ======================= vertical position for only &  ======================= */
}

.site-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(5, 132px);
  height: 34px;
}

.site-nav a {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(52, 185, 66, 0.3);
  color: rgba(144, 255, 144, 0.62);
  background: rgba(0, 55, 0, 0.76); /* =========== buttons dark ========= */
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease, background 150ms ease;
}

.site-nav a:last-child {
  border-right: 1px solid rgba(52, 185, 66, 0.3);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
  background: rgba(0, 148, 0, 0.9); /* =========== button light (ON) ========= */
}

.nav-toggle {
  display: none;
}

[data-section] {
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) - 250px);;
}

.green-section {
  color: #fff;
  background: linear-gradient(180deg, #009b00 0, #007600 48%, #004d00 100%);
}

.light-section {
  color: var(--ink);
  background: #fff;
}

.initials {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
}

.wave {
  position: absolute;
  z-index: 3;
  left: -2px;
  width: calc(100% + 4px);
  max-width: none;
  overflow: visible;
  pointer-events: none;
}

.wave-home .wave-green-dark {
  opacity: var(--home-wave-green-dark-opacity);
}

.wave-home .wave-green-light {
  opacity: var(--home-wave-green-light-opacity);
}

.wave-home {
  bottom: 118px; /* vertical position of homepage wave =========== */
  height: 130px;
}

.wave-testimonials {
  bottom: 0px; /* vertical position of testimonials wave =========== */
  height: 130px;
  background: #fff;
}

.wave-testimonials .wave-green-dark {
  opacity: var(--testimonials-wave-green-dark-opacity);
}

.wave-testimonials .wave-green-light {
  opacity: var(--testimonials-wave-green-light-opacity);
}

.wave-about {
  bottom: -1px;
  height: 300px;
  width: calc(100% + 10px);
}

.wave-about .wave-green-dark {
  opacity: var(--about-wave-green-dark-opacity);
}

.wave-about .wave-green-light {
  opacity: var(--about-wave-green-light-opacity);
}

.home-section {
  min-height: max(820px, 100vh);
  padding-top: var(--header-height);
  background: linear-gradient(180deg, #009400 0, #007b00 48%, #004800 100%);
}

.initials-home {
  top: clamp(70px, 8vw, 108px);
  left: clamp(-130px, calc(8vw - 80px), -50px);
  width: clamp(360px, 42vw, 650px);
  height: auto;
  transform: translateX(120px);
}

.home-illustration {
  position: absolute;
  top: clamp(165px, 18vh, 220px);
  left: calc(50% + 30px);
  width: min(43vw, 620px);
  max-height: 560px;
}

.section-footer {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 18px 24px;
  text-align: center;
}

.section-footer p {
  margin: 0;
  letter-spacing: 0.42em;
}

.section-footer p:last-child {
  font-size: 12px;
}

.section-footer a {
  text-decoration: none;
}

.section-footer a:hover,
.section-footer a:focus-visible {
  text-decoration: underline;
}

.section-footer span {
  margin-inline: 18px;
}

.contact-line {
  font-size: 24px;
}

.home-footer,
.light-footer {
  color: rgba(0, 120, 17, 0.58);
  background: #fff;
}

.portfolio-section {
  min-height: 1280px;
  padding: 150px 4vw 110px;
}

.portfolio-grid {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px 12px;
}

.portfolio-item {
  appearance: none;
  min-width: 0;
  height: 190px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease;
}

.portfolio-item:hover,
.portfolio-item:focus-visible {
  transform: translateY(-3px);
  filter: drop-shadow(0 7px 5px rgba(0, 0, 0, 0.18));
  outline: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.testimonials-section {
  min-height: 1150px;
  padding: 180px 24px 275px;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, #fff 0%, #009000 100%);
  pointer-events: none;
}

.testimonials-section .section-footer {
  bottom: 230px; /* =========== vertical position of phone # etc. =========== */
}

.initials-testimonials {
  top: 80px;
  left: 50%;
  width: 740px;
  height: 920px;
  z-index: 10;
  transform: translateX(-42%);
}

.testimonials-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
  margin: 0 auto;
  text-align: center;
  text-shadow: 2px 3px 1px rgba(0, 0, 0, 0.52);
}

.testimonials-content h1 {
  margin: 0 0 38px;
  font-family: var(--site-font);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
}

.testimonial-list {
  display: grid;
  gap: 34px;
}

.testimonial-list blockquote {
  margin: 0;
}

.testimonial-list p {
  margin: 0 auto 6px;
  max-width: 980px;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 100;
  line-height: 1.2;
}

.testimonial-list cite {
  display: block;
  font-size: 18px;
  font-style: normal;
}

.green-footer {
  color: rgba(26, 210, 47, 0.33);
  background: transparent;
}


.about-section {
  min-height: 1130px;
  padding: 200px 24px 280px; /* ======== first number buffers the vertical position of all */
}

.about-section .section-footer {
  bottom: 300px; /* ======== sets vertical position of the footer text ========== */
}

.about-content {
  width: min(100%, 1000px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 440px 1fr;
  align-items: center;
  gap: 90px;
}

.about-copy {
  font-family: var(--site-font);
  font-size: 18px;
}

.about-copy h1 {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0 0 22px;
}

.about-copy ul {
  margin: -14px 0 0;
  padding-left: 34px;
  list-style-type: circle;
}

.about-art {
  position: relative;
  width: 540px;
  height: 500px;
}

.about-tools {
  position: absolute;
  inset: 0;
  width: 540px;
  height: 475px;
  transform: rotate(-20deg);
  transform-origin: 50% 50%;
  transition: transform 4s ease-in-out;
  filter: drop-shadow(5px 7px 1.5px rgba(0, 0, 0, 0.2));
}

.about-section.is-visible .about-tools {
  transform: rotate(-3deg);
}

.about-portrait {
  position: absolute;
  left: 60px;
  top: 116px;
  width: 370px;
  height: 370px;
  filter: drop-shadow(7px 8px 2px rgba(0, 0, 0, 0.25));
}

#contact-me {
  scroll-margin-top: calc(var(--header-height) - 200px);
}

.contact-section {
  min-height: 1130px;
  padding: 100px 24px 145px;
}

.initials-contact {
  top: 78px;
  left: max(45px, calc(50% - 700px));
  width: 690px;
  height: 930px;
}

.contact-content {
  position: relative;
  z-index: 2;
  width: min(100%, 600px);
  margin-left: calc(50% + 40px);
}

.contact-intro {
  width: 450px;
  margin: 0 auto 42px;
}

.contact-intro h1 {
  margin: 0 0 8px;
  font-family: var(--site-font);
  font-size: 29px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.contact-intro p {
  margin: 0;
  font-size: 17px;
}

.contact-form {
  position: relative;
  width: 445px;
  margin: 0 auto;
  display: grid;
}

.contact-form label {
  margin-bottom: 1px;
  font-size: 17px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0 0 7px;
  padding: 6px;
  border: 0;
  border-radius: 0;
  color: #333;
  background: #f0f0f0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.contact-form input {
  height: 33px;
}

.contact-form textarea {
  min-height: 172px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8b8b8b;
  font-style: italic;
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #9bdf9b;
  outline-offset: 1px;
}

.contact-form button[type="submit"] {
  width: 170px;
  height: 31px;
  margin-top: 9px;
  border: 0;
  color: #123e15;
  background: #92df8d;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus-visible {
  background: #beffb8;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.portfolio-dialog {
  width: min(1250px, calc(100vw - 48px));
  height: min(800px, calc(100vh - 48px));
  padding: 0;
  border: 0;
  color: #143e18;
  background: linear-gradient(180deg, rgba(224, 237, 226, 0.98), rgba(101, 169, 107, 0.98));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.46);
}

.portfolio-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, 0.72fr);
  align-items: stretch;
}

.portfolio-dialog::backdrop {
  background: rgba(0, 35, 0, 0.8);
  backdrop-filter: blur(2px);
}

.dialog-image-wrap {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 42px 20px 42px 58px;
}

.dialog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dialog-details {
  align-self: center;
  padding: 52px 52px 52px 20px;
  font-family: var(--site-font);
}

.dialog-details h2 {
  margin: 0 0 22px;
  font-size: 28px;
  line-height: 1.08;
}

.dialog-details p {
  margin: 0 0 18px;
  font-size: 18px;
}

.dialog-details .dialog-label {
  margin-bottom: 3px;
  font-family: var(--site-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dialog-close,
.dialog-arrow {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #134219;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.dialog-close {
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  font-size: 30px;
  line-height: 30px;
}

.dialog-arrow {
  top: 50%;
  width: 46px;
  height: 72px;
  font-size: 48px;
  line-height: 1;
  transform: translateY(-50%);
}

.dialog-prev {
  left: 0;
}

.dialog-next {
  right: 0;
}

@media (max-width: 1280px) {
  :root {
    --content-width: 1080px;
  }

  .tagline {
    left: 0;
    font-size: 27px;
  }

  .tagline img {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .site-nav {
    grid-template-columns: repeat(5, 112px);
  }

  .portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-content {
    margin-left: auto;
    margin-right: max(30px, calc(50% - 540px));
  }
}

@media (max-width: 1100px) {
  :root {
    --content-width: 1080px;
  }

  .tagline {
    left: 0;
    font-size: 22px;
  }

  .tagline img {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .site-nav {
    grid-template-columns: repeat(5, 112px);
  }

  .portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-content {
    margin-left: auto;
    margin-right: max(30px, calc(50% - 540px));
  }
}

@media (max-width: 1000px) {
  :root {
    --header-height: 90px;
  }

  .site-header {
    height: var(--header-height);
    background: linear-gradient(180deg, #009f00, #006d00);
  }

  .header-top,
  .header-bar {
    width: calc(100% - 32px);
  }

  .header-top {
    height: 53px;
  }

  .brand {
    bottom: 3px;
    font-size: 34px;
  }

  .header-bar {
    height: 37px;
  }

  .tagline {
    top: 1px;
    max-width: calc(100% - 52px);
    gap: 5px;
    font-size: 18px;
    line-height: 30px;
  }

  .tagline img {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .nav-toggle {
    position: absolute;
    top: -43px;
    right: 0;
    width: 42px;
    height: 38px;
    display: block;
    padding: 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(0, 55, 0, 0.4);
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    height: auto;
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    padding: 12px 16px 20px;
    background: rgba(0, 55, 0, 0.98);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 52px;
    border: 0;
    border-bottom: 1px solid rgba(144, 255, 144, 0.2);
    font-size: 16px;
  }

  .wave-testimonials {
    height: 200px;
  }

  .testimonials-section .section-footer {
    bottom: 105px;
  }

  .home-illustration {
    top: 190px;
    left: 38%;
    width: 58vw;
  }

  .initials-home {
    top: 180px;
    left: -110px;
  }

  .portfolio-section {
    padding-top: 130px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-item {
    height: 170px;
  }

  .testimonials-section {
    min-height: 1255px;
    padding: 145px 24px 250px;
  }

  .testimonials-content h1 {
    font-size: 21px;
  }

  .testimonial-list p,
  .testimonial-list cite {
    font-size: 17px;
  }

  .about-section {
    padding-top: 135px;
  }

  .about-content {
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
    gap: 25px;
  }

  .about-art {
    width: 420px;
    height: 410px;
  }

  .about-tools {
    width: 420px;
    height: auto;
  }

  .about-portrait {
    left: 88px;
    top: 92px;
    width: 290px;
    height: 290px;
  }

  .contact-content {
    margin: 0 30px 0 auto;
  }

  .portfolio-dialog[open] {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .dialog-image-wrap {
    padding: 52px 45px 12px;
  }

  .dialog-details {
    padding: 20px 45px 35px;
  }
}

@media (max-width: 680px) {
  .tagline {
    font-size: 15px;
  }

  .tagline img {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .home-section {
    min-height: 760px;
  }

  .home-illustration {
    top: 195px;
    left: 12%;
    width: 82vw;
  }

  .initials-home {
    top: 150px;
    left: -130px;
  }

  .wave-home {
    bottom: 104px;
    height: 90px;
  }

  .wave-about {
    height: 90px;
  }

  .about-section .section-footer {
    bottom: 90px;
  }

  .section-footer {
    height: 105px;
    padding-inline: 12px;
  }

  .section-footer p {
    letter-spacing: 0.17em;
  }

  .contact-line {
    font-size: 15px;
  }

  .section-footer p:last-child {
    font-size: 9px;
  }

  .section-footer span {
    margin-inline: 6px;
  }

  .portfolio-section {
    min-height: 1000px;
    padding: 115px 16px 80px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
  }

  .portfolio-item {
    height: 135px;
  }

  .testimonials-section {
    min-height: 1430px;
    padding: 132px 17px 255px;
  }

  .testimonials-content h1 {
    margin-bottom: 28px;
    font-size: 18px;
  }

  .testimonial-list {
    gap: 26px;
  }

  .testimonial-list p,
  .testimonial-list cite {
    font-size: 15px;
  }

  .about-section {
    min-height: 1165px;
    padding: 110px 20px 230px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy {
    font-size: 16px;
  }

  .about-art {
    width: min(100%, 430px);
    height: 390px;
    margin: 0 auto;
  }

  .about-tools {
    width: 100%;
  }

  .about-portrait {
    left: 21%;
    top: 21%;
    width: 68%;
    height: auto;
  }

  .contact-section {
    min-height: 940px;
    padding: 130px 18px 125px;
  }

  .initials-contact {
    left: -210px;
    width: 570px;
  }

  .contact-content {
    width: 100%;
    margin: 0;
  }

  .contact-intro,
  .contact-form {
    width: 100%;
  }

  .contact-intro {
    margin-bottom: 28px;
  }

  .portfolio-dialog {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
  }

  .dialog-image-wrap {
    padding: 48px 35px 8px;
  }

  .dialog-details {
    max-height: 42vh;
    overflow: auto;
    padding: 14px 35px 26px;
  }

  .dialog-details h2 {
    font-size: 21px;
  }

  .dialog-details p {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .dialog-arrow {
    width: 34px;
    height: 58px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
