* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --text: #000000;
  --muted: #e8dddd;
  --hover: #024f6b;
  --border: #eaeaea;
  --bg: #ffffff;

  --header-height: clamp(4rem, 8vw, 5rem);
  --container-pad: clamp(1rem, 4vw, 1.875rem);
  --max-width: 75rem;

  --shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, .06);
  --radius: 0.875rem;
  --mobile-drawer-bg: #fff;
  --mobile-drawer-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, .08);
}

html { font-size: 16px; }

@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Work+Sans:wght@300;400;500;600;700&display=swap');

body {
  font-family: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
/* Headers use Clash Display font */
h1, h2, h3, h4, h5, h6,
header h1, header h2,
.wp-block-heading {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}


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

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




/* Header */
header { position: relative; background: #fff; }

.headercontainer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.headercontent {
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo-link {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  margin-top: 0.3125rem;
}

.logo,
header .custom-logo,
header .custom-logo.logo,
header .logo-link img {
  height: clamp(3.125rem, 12vw, 5rem);
  width: auto;
  display: block;
}

.header-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

/* Navigation */
.menu ul { display: flex; gap: 1.5rem; list-style: none; }

.menu a,
.mobile-drawer a {
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color .2s ease, opacity .2s ease;
}

.menu a:hover,
.mobile-drawer a:hover { color: var(--hover); }

.menu .current-menu-item > a,
.menu .current_page_item > a,
.menu .current-menu-ancestor > a,
.mobile-drawer .current-menu-item > a,
.mobile-drawer .current_page_item > a,
.mobile-drawer .current-menu-ancestor > a,
.menu a[aria-current="page"],
.mobile-drawer a[aria-current="page"] {
  font-weight: 700 !important;
  color: #000 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.625rem;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .15s ease;
}
.hamburger:focus { outline: 0.125rem solid #a3d0ff; outline-offset: 0.125rem; }
.hamburger:active { transform: scale(0.97); }
.hamburger .icon { display: block; }

/* Mobile Drawer */
.mobile-drawer {
  position: absolute;
  top: var(--header-height);
  left: 0; right: 0;
  background: var(--mobile-drawer-bg);
  border-bottom: 0.0625rem solid var(--border);
  box-shadow: var(--mobile-drawer-shadow);
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 10;
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }

.mobile-drawer ul {
  list-style: none;
  padding: 0.875rem var(--container-pad) 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  align-items: flex-end;
  text-align: right;
}


/* Responsive */
@media (max-width: 64rem) {
  .hamburger { display: inline-flex; }
  .menu { display: none; }
}
@media (max-width: 37.5rem) {
  .headercontainer { padding: 0 clamp(0.75rem, 4vw, 1.125rem); }
}

/* Pages */
.homepage {
  min-height: calc(50vh - var(--header-height));
  display: grid;
  align-items: start;
  justify-items: stretch;
  text-align: center;
}

.homepagecontainer {
  max-width: var(--max-width);
  margin: 0 auto; 
}

.homepagetext { 
	font-size: 1rem; 
	color: var(--text); 
	line-height: 1.8; 
}

.aboutcontainer {
  max-width: var(--max-width) !important;
  margin: 0 auto;
  padding: clamp(1.875rem, 8vw, 6.25rem) clamp(1.25rem, 8vw, 6.25rem);
  text-align: left;
  line-height: 1.8;
  position: relative;
}
.aboutcontainer p { margin-bottom: 1.5rem; font-size: 1rem; color: var(--text); }
.aboutcontainer .wp-block-heading { margin: 0 0 1rem; line-height: 1.2; }
.aboutcontainer .wp-block-paragraph { margin-bottom: 1.5rem; }

.contactcontainer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.75rem, 8vw, 6.25rem) clamp(1.25rem, 8vw, 6.25rem);
  text-align: left;
  line-height: 1.8;
  position: relative;
}
.contactcontainer h1 { font-size: clamp(1.75rem, 5vw, 2.625rem); margin-bottom: 1rem; }
.contactcontainer p { font-size: 1rem; margin-bottom: 1.5rem; }
.contact-details a { color: var(--hover); font-weight: 600; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contactcontainer .wp-block-heading { margin: 0 0 1rem; line-height: 1.2; }
.contactcontainer .wp-block-paragraph { margin-bottom: 1.5rem; }
.contactcontainer > *:first-child { margin-top: 0; }
.contactcontainer > *:last-child { margin-bottom: 0; }
/* Subscribe Box */
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
  padding: 0 1rem;
}

.content {
  width: 100%;
  max-width: 22.5rem;
  height: auto;
  border-radius: 3.75rem;
  box-shadow: 0.125rem 0.25rem 0.625rem rgba(0,0,0,.2);
  background: #fff;
  padding: 0.3125rem;
}

.subscription {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap; 
}
.subscription .add-email {
  flex: 1; min-width: 0;
  border: none; outline: none;
  padding: 0 0.9375rem;
  height: 2.5rem; border-radius: 1.25rem;
  font: inherit;
}

/*Submit button: text by default (no icon)  */
.subscription .submit-email {
  border: none;
  border-radius: 1.25rem;
  height: 2.5rem;
  padding: 0 1.25rem;      
  cursor: pointer;
  background-color: transparent;  
  background-image: none;        
  color: inherit;
  font: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease-in-out;
}

/* Make the text spans visible by default */
.subscription .submit-email .before-submit,
.subscription .submit-email .after-submit {
  position: static !important;
  width: auto; height: auto;
  margin: 0; padding: 0;
  overflow: visible; clip: auto;
  white-space: nowrap;
  border: 0;
  display: inline;
}

/* Hover motion (all sizes) */
.subscription .submit-email:hover {
  transform: translateX(0.125rem) ;
}

/* After submit */
.subscription.done .submit-email { transform: none; }
/* === Small screens (≤25rem): icon-only, then show "Thank you!" after click === */
@media (max-width: 25rem) {
  /* Icon-only by default */
  .subscription .submit-email {
    width: 2.5rem;
    padding: 0;
    background-color: #fff;
    background-image: url('https://eyeseeme.nyc/wp-content/uploads/2025/10/arrow-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.25rem 1.25rem;
    color: transparent;
    transition: transform .3s ease-in-out;
  }

  /* Visually hide text (accessible) while in default state */
  .subscription .submit-email .before-submit,
  .subscription .submit-email .after-submit {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
  }

  /* AFTER CLICK: switch to "Thank you!" text (no icon) */
  .subscription.done .submit-email {
    width: auto;
    padding: 0 1.25rem;
    background-color: #fff;
    background-image: none;
    color: var(--text);
    transform: none;
  }

  /* Unhide the Thank You text and hide the Submit text */
  .subscription.done .submit-email .before-submit {
    display: none !important;
  }
  .subscription.done .submit-email .after-submit {
    position: static !important;
    width: auto; height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
    display: inline !important;
  }
	
	
}

