/* ============================================================
   TAILWIND CSS COMPILED UTILITIES
   Hand-written CSS equivalents for Tailwind utility classes
   used across the Penmark Energy website.
   ============================================================ */

/* ------------------------------------------------------------
   PREFLIGHT / RESET
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  margin: 0;
  line-height: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select {
  text-transform: none;
}

button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::placeholder, textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

button, [role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}


/* ============================================================
   LAYOUT / DISPLAY
   ============================================================ */
.block          { display: block; }
.hidden         { display: none; }
.inline-block   { display: inline-block; }
.inline-flex    { display: inline-flex; }
.flex           { display: flex; }
.grid           { display: grid; }
.relative       { position: relative; }
.absolute       { position: absolute; }


/* ============================================================
   FLEXBOX
   ============================================================ */
.flex-1         { flex: 1 1 0%; }
.flex-col       { flex-direction: column; }
.flex-grow      { flex-grow: 1; }
.flex-shrink-0  { flex-shrink: 0; }
.flex-wrap      { flex-wrap: wrap; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }


/* ============================================================
   GRID
   ============================================================ */
.grid-cols-1    { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3    { grid-template-columns: repeat(3, minmax(0, 1fr)); }


/* ============================================================
   GAP
   ============================================================ */
.gap-0          { gap: 0px; }
.gap-1          { gap: 0.25rem; }
.gap-2          { gap: 0.5rem; }
.gap-3          { gap: 0.75rem; }
.gap-4          { gap: 1rem; }
.gap-5          { gap: 1.25rem; }
.gap-6          { gap: 1.5rem; }
.gap-7          { gap: 1.75rem; }
.gap-8          { gap: 2rem; }
.gap-10         { gap: 2.5rem; }
.gap-12         { gap: 3rem; }
.gap-14         { gap: 3.5rem; }
.gap-16         { gap: 4rem; }


/* ============================================================
   DIVIDE
   ============================================================ */
.divide-x > :not([hidden]) ~ :not([hidden]) {
  border-right-width: 0px;
  border-left-width: 1px;
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top-width: 1px;
  border-bottom-width: 0px;
}

.divide-white\/10 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgba(255, 255, 255, 0.1);
}

.divide-\[\#ede9e3\] > :not([hidden]) ~ :not([hidden]) {
  border-color: #ede9e3;
}


/* ============================================================
   SPACING — PADDING
   ============================================================ */

/* All sides */
.p-1   { padding: 0.25rem; }
.p-4   { padding: 1rem; }
.p-5   { padding: 1.25rem; }
.p-8   { padding: 2rem; }
.p-12  { padding: 3rem; }

/* Horizontal */
.px-3  { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4  { padding-left: 1rem;    padding-right: 1rem; }
.px-6  { padding-left: 1.5rem;  padding-right: 1.5rem; }
.px-8  { padding-left: 2rem;    padding-right: 2rem; }

/* Vertical */
.py-1  { padding-top: 0.25rem;  padding-bottom: 0.25rem; }
.py-2  { padding-top: 0.5rem;   padding-bottom: 0.5rem; }
.py-3  { padding-top: 0.75rem;  padding-bottom: 0.75rem; }
.py-4  { padding-top: 1rem;     padding-bottom: 1rem; }
.py-5  { padding-top: 1.25rem;  padding-bottom: 1.25rem; }
.py-8  { padding-top: 2rem;     padding-bottom: 2rem; }
.py-12 { padding-top: 3rem;     padding-bottom: 3rem; }
.py-16 { padding-top: 4rem;     padding-bottom: 4rem; }
.py-20 { padding-top: 5rem;     padding-bottom: 5rem; }
.py-24 { padding-top: 6rem;     padding-bottom: 6rem; }

/* Padding-top */
.pt-3  { padding-top: 0.75rem; }
.pt-4  { padding-top: 1rem; }
.pt-5  { padding-top: 1.25rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-8  { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-20 { padding-top: 5rem; }
.pt-32 { padding-top: 8rem; }

/* Padding-bottom */
.pb-2  { padding-bottom: 0.5rem; }
.pb-5  { padding-bottom: 1.25rem; }
.pb-8  { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-14 { padding-bottom: 3.5rem; }
.pb-28 { padding-bottom: 7rem; }
.pb-32 { padding-bottom: 8rem; }


/* ============================================================
   SPACING — MARGIN
   ============================================================ */

/* Margin-top */
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1    { margin-top: 0.25rem; }
.mt-2    { margin-top: 0.5rem; }
.mt-3    { margin-top: 0.75rem; }
.mt-4    { margin-top: 1rem; }
.mt-5    { margin-top: 1.25rem; }
.mt-6    { margin-top: 1.5rem; }
.mt-8    { margin-top: 2rem; }
.mt-10   { margin-top: 2.5rem; }
.mt-12   { margin-top: 3rem; }
.mt-14   { margin-top: 3.5rem; }

/* Margin-bottom */
.mb-0    { margin-bottom: 0px; }
.mb-1    { margin-bottom: 0.25rem; }
.mb-2    { margin-bottom: 0.5rem; }
.mb-3    { margin-bottom: 0.75rem; }
.mb-4    { margin-bottom: 1rem; }
.mb-5    { margin-bottom: 1.25rem; }
.mb-6    { margin-bottom: 1.5rem; }
.mb-7    { margin-bottom: 1.75rem; }
.mb-8    { margin-bottom: 2rem; }
.mb-10   { margin-bottom: 2.5rem; }
.mb-12   { margin-bottom: 3rem; }
.mb-14   { margin-bottom: 3.5rem; }
.mb-16   { margin-bottom: 4rem; }

/* Margin horizontal / auto */
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }


/* ============================================================
   SPACE BETWEEN
   ============================================================ */
.space-x-7 > :not([hidden]) ~ :not([hidden]) {
  margin-left: 1.75rem;
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.25rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.5rem;
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.75rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1rem;
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.25rem;
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.5rem;
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
}

.space-y-10 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2.5rem;
}


/* ============================================================
   SIZING — WIDTH
   ============================================================ */
.w-2    { width: 0.5rem; }
.w-4    { width: 1rem; }
.w-5    { width: 1.25rem; }
.w-6    { width: 1.5rem; }
.w-7    { width: 1.75rem; }
.w-9    { width: 2.25rem; }
.w-12   { width: 3rem; }
.w-14   { width: 3.5rem; }
.w-full { width: 100%; }


/* ============================================================
   SIZING — HEIGHT
   ============================================================ */
.h-2    { height: 0.5rem; }
.h-4    { height: 1rem; }
.h-5    { height: 1.25rem; }
.h-6    { height: 1.5rem; }
.h-7    { height: 1.75rem; }
.h-9    { height: 2.25rem; }
.h-12   { height: 3rem; }
.h-14   { height: 3.5rem; }
.h-20   { height: 5rem; }
.h-full { height: 100%; }


/* ============================================================
   SIZING — MAX-WIDTH
   ============================================================ */
.max-w-md  { max-width: 28rem; }
.max-w-lg  { max-width: 32rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }


/* ============================================================
   SIZING — MIN-HEIGHT / MIN-WIDTH
   ============================================================ */
.min-h-screen       { min-height: 100vh; }
.min-h-\[70vh\]     { min-height: 70vh; }
.min-h-\[80vh\]     { min-height: 80vh; }
.min-w-\[600px\]    { min-width: 600px; }


/* ============================================================
   TYPOGRAPHY — FONT SIZE
   ============================================================ */
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1; }


/* ============================================================
   TYPOGRAPHY — FONT WEIGHT
   ============================================================ */
.font-normal    { font-weight: 400; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }


/* ============================================================
   TYPOGRAPHY — FONT FAMILY
   ============================================================ */
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


/* ============================================================
   TYPOGRAPHY — LINE HEIGHT
   ============================================================ */
.leading-none      { line-height: 1; }
.leading-tight     { line-height: 1.25; }
.leading-relaxed   { line-height: 1.625; }
.leading-\[1\.08\] { line-height: 1.08; }


/* ============================================================
   TYPOGRAPHY — LETTER SPACING
   ============================================================ */
.tracking-tight   { letter-spacing: -0.025em; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-wider   { letter-spacing: 0.05em; }
.tracking-widest  { letter-spacing: 0.1em; }


/* ============================================================
   TYPOGRAPHY — TEXT ALIGNMENT
   ============================================================ */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }


/* ============================================================
   TYPOGRAPHY — TEXT TRANSFORM
   ============================================================ */
.uppercase { text-transform: uppercase; }


/* ============================================================
   TYPOGRAPHY — LIST STYLE
   ============================================================ */
.list-disc   { list-style-type: disc; }
.list-inside { list-style-position: inside; }


/* ============================================================
   COLORS — TEXT
   ============================================================ */
.text-white { color: #ffffff; }

/* text-white with opacity modifiers */
.text-white\/30 { color: rgba(255, 255, 255, 0.3); }
.text-white\/35 { color: rgba(255, 255, 255, 0.35); }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-white\/45 { color: rgba(255, 255, 255, 0.45); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/55 { color: rgba(255, 255, 255, 0.55); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/65 { color: rgba(255, 255, 255, 0.65); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/75 { color: rgba(255, 255, 255, 0.75); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/85 { color: rgba(255, 255, 255, 0.85); }

/* Arbitrary color values */
.text-\[\#1B2A4A\]     { color: #1B2A4A; }
.text-\[\#1B2A4A\]\/75 { color: rgba(27, 42, 74, 0.75); }
.text-\[\#2D2D2A\]     { color: #2D2D2A; }
.text-\[\#6B7B8D\]     { color: #6B7B8D; }
.text-\[\#C8845E\]     { color: #C8845E; }


/* ============================================================
   COLORS — BACKGROUND
   ============================================================ */
.bg-white          { background-color: #ffffff; }
.bg-\[\#1B2A4A\]   { background-color: #1B2A4A; }
.bg-\[\#6B7B8D\]   { background-color: #6B7B8D; }
.bg-\[\#C8845E\]   { background-color: #C8845E; }
.bg-\[\#F7F5F2\]   { background-color: #F7F5F2; }


/* ============================================================
   BORDERS — WIDTH
   ============================================================ */
.border    { border-width: 1px; }
.border-2  { border-width: 2px; }
.border-b  { border-bottom-width: 1px; }
.border-t  { border-top-width: 1px; }


/* ============================================================
   BORDERS — STYLE
   ============================================================ */
.border-dashed { border-style: dashed; }


/* ============================================================
   BORDERS — COLOR
   ============================================================ */
.border-white\/10          { border-color: rgba(255, 255, 255, 0.1); }
.border-\[\#C8845E\]\/40   { border-color: rgba(200, 132, 94, 0.4); }
.border-\[\#F7F5F2\]       { border-color: #F7F5F2; }
.border-\[\#ede9e3\]       { border-color: #ede9e3; }


/* ============================================================
   BORDERS — RADIUS
   ============================================================ */
.rounded-lg   { border-radius: 0.5rem; }
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }


/* ============================================================
   EFFECTS — BOX SHADOW
   ============================================================ */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
              0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}


/* ============================================================
   EFFECTS — OPACITY
   ============================================================ */
.opacity-5 { opacity: 0.05; }


/* ============================================================
   EFFECTS — TRANSITION
   ============================================================ */
.transition {
  transition-property: color, background-color, border-color,
                       text-decoration-color, fill, stroke,
                       opacity, box-shadow, transform, filter,
                       backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}


/* ============================================================
   POSITION
   ============================================================ */
.inset-0  { inset: 0px; }
.top-0    { top: 0px; }
.right-0  { right: 0px; }
.left-1\/2 { left: 50%; }
.top-1\/2  { top: 50%; }
.z-10     { z-index: 10; }

.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-top-3            { top: -0.75rem; }


/* ============================================================
   OVERFLOW
   ============================================================ */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }


/* ============================================================
   OBJECT FIT / ASPECT
   ============================================================ */
.object-cover { object-fit: cover; }
.aspect-auto  { aspect-ratio: auto; }


/* ============================================================
   INTERACTIVITY
   ============================================================ */
.pointer-events-none { pointer-events: none; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }


/* ============================================================
   HOVER STATES
   ============================================================ */
.hover\:bg-white\/5:hover     { background-color: rgba(255, 255, 255, 0.05); }
.hover\:text-\[\#C8845E\]:hover { color: #C8845E; }
.hover\:text-white:hover       { color: #ffffff; }
.hover\:underline:hover        { text-decoration-line: underline; }


/* ============================================================
   RESPONSIVE — sm (min-width: 640px)
   ============================================================ */
@media (min-width: 640px) {
  .sm\:block        { display: block; }
  .sm\:flex-row     { flex-direction: row; }
  .sm\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:px-6         { padding-left: 1.5rem; padding-right: 1.5rem; }
}


/* ============================================================
   RESPONSIVE — md (min-width: 768px)
   ============================================================ */
@media (min-width: 768px) {
  .md\:border-t-0   { border-top-width: 0px; }

  .md\:divide-x > :not([hidden]) ~ :not([hidden]) {
    border-right-width: 0px;
    border-left-width: 1px;
  }

  .md\:flex-row     { flex-direction: row; }
  .md\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-xl      { font-size: 1.25rem;  line-height: 1.75rem; }
  .md\:text-3xl     { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl     { font-size: 2.25rem;  line-height: 2.5rem; }
  .md\:text-5xl     { font-size: 3rem;     line-height: 1; }
  .md\:text-6xl     { font-size: 3.75rem;  line-height: 1; }
}


/* ============================================================
   RESPONSIVE — lg (min-width: 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .lg\:flex         { display: flex; }
  .lg\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:hidden       { display: none; }
  .lg\:inline-flex  { display: inline-flex; }
  .lg\:px-8         { padding-left: 2rem; padding-right: 2rem; }
  .lg\:sticky       { position: sticky; }
  .lg\:text-5xl     { font-size: 3rem;   line-height: 1; }
  .lg\:text-7xl     { font-size: 4.5rem; line-height: 1; }
  .lg\:top-28       { top: 7rem; }
}
